import { a as mt, i as ge, n as Ft, o as Nt, r as yt, t as P } from "./chunks/chunk-Njdj7H0c.js";
import { n as Gg, t as zg } from "./chunks/_stub_typescript-gMx00gpr.js";
import { n as th, t as rh } from "./chunks/p-map-OzxwbPLg.js";
import { createRequire as Wg } from "node:module";
import ze from "path";
import Wr from "fs";
import Zr from "os";
import Vg from "util";
import Qe from "fs/promises";
import Ui from "node:process";
import Oi from "node:os";
import uc from "node:tty";
import { URL as Yg } from "url";
import ot, { dirname as Kg } from "node:path";
import { fileURLToPath as No } from "node:url";
import { promisify as ih, stripVTControlCharacters as Zg } from "node:util";
import Qs, { promises as hc } from "node:fs";
import Jg, { execFile as Xg } from "node:child_process";
import { text as Qg } from "node:stream/consumers";
var Gt = /* @__PURE__ */ P(((e, t) => {
  var r, i, s, h, o = !0;
  typeof process < "u" && ({ FORCE_COLOR: r, NODE_DISABLE_COLORS: i, NO_COLOR: s, TERM: h } = process.env || {}, o = process.stdout && process.stdout.isTTY);
  var n = {
    enabled: !i && s == null && h !== "dumb" && (r != null && r !== "0" || o),
    reset: f(0, 0),
    bold: f(1, 22),
    dim: f(2, 22),
    italic: f(3, 23),
    underline: f(4, 24),
    inverse: f(7, 27),
    hidden: f(8, 28),
    strikethrough: f(9, 29),
    black: f(30, 39),
    red: f(31, 39),
    green: f(32, 39),
    yellow: f(33, 39),
    blue: f(34, 39),
    magenta: f(35, 39),
    cyan: f(36, 39),
    white: f(37, 39),
    gray: f(90, 39),
    grey: f(90, 39),
    bgBlack: f(40, 49),
    bgRed: f(41, 49),
    bgGreen: f(42, 49),
    bgYellow: f(43, 49),
    bgBlue: f(44, 49),
    bgMagenta: f(45, 49),
    bgCyan: f(46, 49),
    bgWhite: f(47, 49)
  };
  function u(a, c) {
    let d = 0, p, m = "", g = "";
    for (; d < a.length; d++)
      p = a[d], m += p.open, g += p.close, ~c.indexOf(p.close) && (c = c.replace(p.rgx, p.close + p.open));
    return m + c + g;
  }
  function l(a, c) {
    let d = {
      has: a,
      keys: c
    };
    return d.reset = n.reset.bind(d), d.bold = n.bold.bind(d), d.dim = n.dim.bind(d), d.italic = n.italic.bind(d), d.underline = n.underline.bind(d), d.inverse = n.inverse.bind(d), d.hidden = n.hidden.bind(d), d.strikethrough = n.strikethrough.bind(d), d.black = n.black.bind(d), d.red = n.red.bind(d), d.green = n.green.bind(d), d.yellow = n.yellow.bind(d), d.blue = n.blue.bind(d), d.magenta = n.magenta.bind(d), d.cyan = n.cyan.bind(d), d.white = n.white.bind(d), d.gray = n.gray.bind(d), d.grey = n.grey.bind(d), d.bgBlack = n.bgBlack.bind(d), d.bgRed = n.bgRed.bind(d), d.bgGreen = n.bgGreen.bind(d), d.bgYellow = n.bgYellow.bind(d), d.bgBlue = n.bgBlue.bind(d), d.bgMagenta = n.bgMagenta.bind(d), d.bgCyan = n.bgCyan.bind(d), d.bgWhite = n.bgWhite.bind(d), d;
  }
  function f(a, c) {
    let d = {
      open: `\x1B[${a}m`,
      close: `\x1B[${c}m`,
      rgx: new RegExp(`\\x1b\\[${c}m`, "g")
    };
    return function(p) {
      return this !== void 0 && this.has !== void 0 ? (~this.has.indexOf(a) || (this.has.push(a), this.keys.push(d)), p === void 0 ? this : n.enabled ? u(this.keys, p + "") : p + "") : p === void 0 ? l([a], [d]) : n.enabled ? u([d], p + "") : p + "";
    };
  }
  t.exports = n;
})), em = /* @__PURE__ */ P(((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;
    }
  };
})), xo = /* @__PURE__ */ P(((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;
  };
})), zt = /* @__PURE__ */ P(((e, t) => {
  var r = "\x1B", i = `${r}[`, s = "\x07", h = {
    to(u, l) {
      return l ? `${i}${l + 1};${u + 1}H` : `${i}${u + 1}G`;
    },
    move(u, l) {
      let f = "";
      return u < 0 ? f += `${i}${-u}D` : u > 0 && (f += `${i}${u}C`), l < 0 ? f += `${i}${-l}A` : l > 0 && (f += `${i}${l}B`), f;
    },
    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`
  }, o = {
    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 l = "";
      for (let f = 0; f < u; f++) l += this.line + (f < u - 1 ? h.up() : "");
      return u && (l += h.left), l;
    }
  };
  t.exports = {
    cursor: h,
    scroll: o,
    erase: n,
    beep: s
  };
})), tm = /* @__PURE__ */ P(((e, t) => {
  var r = xo(), { erase: i, cursor: s } = zt(), h = (o) => [...r(o)].length;
  t.exports = function(o, n) {
    if (!n) return i.line + s.to(0);
    let u = 0;
    const l = o.split(/\r?\n/);
    for (let f of l) u += 1 + Math.floor(Math.max(h(f) - 1, 0) / n);
    return i.lines(u);
  };
})), nh = /* @__PURE__ */ P(((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;
})), rm = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = nh(), s = Object.freeze({
    password: {
      scale: 1,
      render: (f) => "*".repeat(f.length)
    },
    emoji: {
      scale: 2,
      render: (f) => "😃".repeat(f.length)
    },
    invisible: {
      scale: 0,
      render: (f) => ""
    },
    default: {
      scale: 1,
      render: (f) => `${f}`
    }
  }), h = (f) => s[f] || s.default, o = Object.freeze({
    aborted: r.red(i.cross),
    done: r.green(i.tick),
    exited: r.yellow(i.cross),
    default: r.cyan("?")
  }), n = (f, a, c) => a ? o.aborted : c ? o.exited : f ? o.done : o.default, u = (f) => r.gray(f ? i.ellipsis : i.pointerSmall), l = (f, a) => r.gray(f ? a ? i.pointerSmall : "+" : i.line);
  t.exports = {
    styles: s,
    render: h,
    symbols: o,
    symbol: n,
    delimiter: u,
    item: l
  };
})), im = /* @__PURE__ */ P(((e, t) => {
  var r = xo();
  t.exports = function(i, s) {
    let h = String(r(i) || "").split(/\r?\n/);
    return s ? h.map((o) => Math.ceil(o.length / s)).reduce((o, n) => o + n) : h.length;
  };
})), nm = /* @__PURE__ */ P(((e, t) => {
  t.exports = (r, i = {}) => {
    const s = Number.isSafeInteger(parseInt(i.margin)) ? new Array(parseInt(i.margin)).fill(" ").join("") : i.margin || "", h = i.width;
    return (r || "").split(/\r?\n/g).map((o) => o.split(/\s+/g).reduce((n, u) => (u.length + s.length >= h || n[n.length - 1].length + u.length + 1 < h ? n[n.length - 1] += ` ${u}` : n.push(`${s}${u}`), n), [s]).join(`
`)).join(`
`);
  };
})), sm = /* @__PURE__ */ P(((e, t) => {
  t.exports = (r, i, s) => {
    s = s || i;
    let h = Math.min(i - s, r - Math.floor(s / 2));
    h < 0 && (h = 0);
    let o = Math.min(h + s, i);
    return {
      startIndex: h,
      endIndex: o
    };
  };
})), er = /* @__PURE__ */ P(((e, t) => {
  t.exports = {
    action: em(),
    clear: tm(),
    style: rm(),
    strip: xo(),
    figures: nh(),
    lines: im(),
    wrap: nm(),
    entriesToDisplay: sm()
  };
})), fr = /* @__PURE__ */ P(((e, t) => {
  var r = ge("readline"), { action: i } = er(), s = ge("events"), { beep: h, cursor: o } = zt(), n = Gt(), u = class extends s {
    constructor(l = {}) {
      super(), this.firstRender = !0, this.in = l.stdin || process.stdin, this.out = l.stdout || process.stdout, this.onRender = (l.onRender || (() => {
      })).bind(this);
      const f = r.createInterface({
        input: this.in,
        escapeCodeTimeout: 50
      });
      r.emitKeypressEvents(this.in, f), this.in.isTTY && this.in.setRawMode(!0);
      const a = (c, d) => {
        let p = i(d, this.isSelect);
        p === !1 ? this._ && this._(c, d) : typeof this[p] == "function" ? this[p](d) : this.bell();
      };
      this.close = () => {
        this.out.write(o.show), this.in.removeListener("keypress", a), this.in.isTTY && this.in.setRawMode(!1), f.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(h);
    }
    render() {
      this.onRender(n), this.firstRender && (this.firstRender = !1);
    }
  };
  t.exports = u;
})), am = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { erase: s, cursor: h } = zt(), { style: o, clear: n, lines: u, figures: l } = er(), f = class extends i {
    constructor(a = {}) {
      super(a), this.transform = o.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, c) {
      let d = this.value.slice(0, this.cursor), p = this.value.slice(this.cursor);
      this.value = `${d}${a}${p}`, this.red = !1, this.cursor = this.placeholder ? 0 : d.length + 1, this.render();
    }
    delete() {
      if (this.isCursorAtStart()) return this.bell();
      let a = this.value.slice(0, this.cursor - 1), c = this.value.slice(this.cursor);
      this.value = `${a}${c}`, 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), c = this.value.slice(this.cursor + 1);
      this.value = `${a}${c}`, 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(h.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 = [
        o.symbol(this.done, this.aborted),
        r.bold(this.msg),
        o.delimiter(this.done),
        this.red ? r.red(this.rendered) : this.rendered
      ].join(" "), this.error && (this.outputError += this.errorMsg.split(`
`).reduce((a, c, d) => a + `
${d ? " " : l.pointerSmall} ${r.red().italic(c)}`, "")), this.out.write(s.line + h.to(0) + this.outputText + h.save + this.outputError + h.restore + h.move(this.cursorOffset, 0)));
    }
  };
  t.exports = f;
})), om = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { style: s, clear: h, figures: o, wrap: n, entriesToDisplay: u } = er(), { cursor: l } = zt(), f = 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((c, d) => (typeof c == "string" && (c = {
        title: c,
        value: d
      }), {
        title: c && (c.title || c.value || c),
        value: c && (c.value === void 0 ? d : c.value),
        description: c && c.description,
        selected: c && c.selected,
        disabled: c && c.disabled
      })), this.optionsPerPage = a.optionsPerPage || 10, this.value = (this.choices[this.cursor] || {}).value, this.clear = h("", 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, c) {
      if (a === " ") return this.submit();
    }
    get selection() {
      return this.choices[this.cursor];
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(l.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render();
      let { startIndex: a, endIndex: c } = 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 d = a; d < c; d++) {
          let p, m, g = "", v = this.choices[d];
          d === a && a > 0 ? m = o.arrowUp : d === c - 1 && c < this.choices.length ? m = o.arrowDown : m = " ", v.disabled ? (p = this.cursor === d ? r.gray().underline(v.title) : r.strikethrough().gray(v.title), m = (this.cursor === d ? r.bold().gray(o.pointer) + " " : "  ") + m) : (p = this.cursor === d ? r.cyan().underline(v.title) : v.title, m = (this.cursor === d ? r.cyan(o.pointer) + " " : "  ") + m, v.description && this.cursor === d && (g = ` - ${v.description}`, (m.length + p.length + g.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) && (g = `
` + n(v.description, {
            margin: 3,
            width: this.out.columns
          })))), this.outputText += `${m} ${p}${r.gray(g)}
`;
        }
      }
      this.out.write(this.outputText);
    }
  };
  t.exports = f;
})), lm = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { style: s, clear: h } = er(), { cursor: o, erase: n } = zt(), u = class extends i {
    constructor(l = {}) {
      super(l), this.msg = l.message, this.value = !!l.initial, this.active = l.active || "on", this.inactive = l.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();
    }
    _(l, f) {
      if (l === " ") this.value = !this.value;
      else if (l === "1") this.value = !0;
      else if (l === "0") this.value = !1;
      else return this.bell();
      this.render();
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(o.hide) : this.out.write(h(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 + o.to(0) + this.outputText));
    }
  };
  t.exports = u;
})), nr = /* @__PURE__ */ P(((e, t) => {
  var r = class ea {
    constructor({ token: s, date: h, parts: o, locales: n }) {
      this.token = s, this.date = h || /* @__PURE__ */ new Date(), this.parts = o || [this], this.locales = n || {};
    }
    up() {
    }
    down() {
    }
    next() {
      const s = this.parts.indexOf(this);
      return this.parts.find((h, o) => o > s && h instanceof ea);
    }
    setTo(s) {
    }
    prev() {
      let s = [].concat(this.parts).reverse();
      const h = s.indexOf(this);
      return s.find((o, n) => n > h && o instanceof ea);
    }
    toString() {
      return String(this.date);
    }
  };
  t.exports = r;
})), cm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), um = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), i = (h) => (h = h % 10, h === 1 ? "st" : h === 2 ? "nd" : h === 3 ? "rd" : "th"), s = class extends r {
    constructor(h = {}) {
      super(h);
    }
    up() {
      this.date.setDate(this.date.getDate() + 1);
    }
    down() {
      this.date.setDate(this.date.getDate() - 1);
    }
    setTo(h) {
      this.date.setDate(parseInt(h.substr(-2)));
    }
    toString() {
      let h = this.date.getDate(), o = this.date.getDay();
      return this.token === "DD" ? String(h).padStart(2, "0") : this.token === "Do" ? h + i(h) : this.token === "d" ? o + 1 : this.token === "ddd" ? this.locales.weekdaysShort[o] : this.token === "dddd" ? this.locales.weekdays[o] : h;
    }
  };
  t.exports = s;
})), hm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), fm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), dm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), pm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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(), h = this.token.length;
      return h === 2 ? String(s + 1).padStart(2, "0") : h === 3 ? this.locales.monthsShort[s] : h === 4 ? this.locales.months[s] : String(s + 1);
    }
  };
  t.exports = i;
})), gm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), mm = /* @__PURE__ */ P(((e, t) => {
  var r = nr(), 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;
})), vm = /* @__PURE__ */ P(((e, t) => {
  t.exports = {
    DatePart: nr(),
    Meridiem: cm(),
    Day: um(),
    Hours: hm(),
    Milliseconds: fm(),
    Minutes: dm(),
    Month: pm(),
    Seconds: gm(),
    Year: mm()
  };
})), ym = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { style: s, clear: h, figures: o } = er(), { erase: n, cursor: u } = zt(), { DatePart: l, Meridiem: f, Day: a, Hours: c, Milliseconds: d, Minutes: p, Month: m, Seconds: g, Year: v } = vm(), y = /\\(.)|"((?:\\["\\]|[^"])+)"|(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: _ }) => _.replace(/\\(.)/g, "$1"),
    2: (_) => new a(_),
    3: (_) => new m(_),
    4: (_) => new v(_),
    5: (_) => new f(_),
    6: (_) => new c(_),
    7: (_) => new p(_),
    8: (_) => new g(_),
    9: (_) => new d(_)
  }, b = {
    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(_ = {}) {
      super(_), this.msg = _.message, this.cursor = 0, this.typed = "", this.locales = Object.assign(b, _.locales), this._date = _.initial || /* @__PURE__ */ new Date(), this.errorMsg = _.error || "Please Enter A Valid Value", this.validator = _.validate || (() => !0), this.mask = _.mask || "YYYY-MM-DD HH:mm:ss", this.clear = h("", this.out.columns), this.render();
    }
    get value() {
      return this.date;
    }
    get date() {
      return this._date;
    }
    set date(_) {
      _ && this._date.setTime(_.getTime());
    }
    set mask(_) {
      let S;
      for (this.parts = []; S = y.exec(_); ) {
        let D = S.shift(), R = S.findIndex((j) => j != null);
        this.parts.push(R in E ? E[R]({
          token: S[R] || D,
          date: this.date,
          parts: this.parts,
          locales: this.locales
        }) : S[R] || D);
      }
      let T = this.parts.reduce((D, R) => (typeof R == "string" && typeof D[D.length - 1] == "string" ? D[D.length - 1] += R : D.push(R), D), []);
      this.parts.splice(0), this.parts.push(...T), this.reset();
    }
    moveCursor(_) {
      this.typed = "", this.cursor = _, this.fire();
    }
    reset() {
      this.moveCursor(this.parts.findIndex((_) => _ instanceof l)), 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 _ = await this.validator(this.value);
      typeof _ == "string" && (this.errorMsg = _, _ = !1), this.error = !_;
    }
    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 _ = this.parts[this.cursor].prev();
      if (_ == null) return this.bell();
      this.moveCursor(this.parts.indexOf(_)), this.render();
    }
    right() {
      let _ = this.parts[this.cursor].next();
      if (_ == null) return this.bell();
      this.moveCursor(this.parts.indexOf(_)), this.render();
    }
    next() {
      let _ = this.parts[this.cursor].next();
      this.moveCursor(_ ? this.parts.indexOf(_) : this.parts.findIndex((S) => S instanceof l)), this.render();
    }
    _(_) {
      /\d/.test(_) && (this.typed += _, this.parts[this.cursor].setTo(this.typed), this.render());
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(u.hide) : this.out.write(h(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((_, S, T) => _.concat(T === this.cursor && !this.done ? r.cyan().underline(S.toString()) : S), []).join("")
      ].join(" "), this.error && (this.outputText += this.errorMsg.split(`
`).reduce((_, S, T) => _ + `
${T ? " " : o.pointerSmall} ${r.red().italic(S)}`, "")), this.out.write(n.line + u.to(0) + this.outputText));
    }
  };
  t.exports = w;
})), _m = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { cursor: s, erase: h } = zt(), { style: o, figures: n, clear: u, lines: l } = er(), f = /[0-9]/, a = (p) => p !== void 0, c = (p, m) => {
    let g = Math.pow(10, m);
    return Math.round(p * g) / g;
  }, d = class extends i {
    constructor(p = {}) {
      super(p), this.transform = o.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(`${c(p, this.round)}`), this._value = c(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 || f.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, m) {
      if (!this.valid(p)) return this.bell();
      const g = Date.now();
      if (g - this.lastHit > 1e3 && (this.typed = ""), this.typed += p, this.lastHit = g, 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(l(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 = [
        o.symbol(this.done, this.aborted),
        r.bold(this.msg),
        o.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, m, g) => p + `
${g ? " " : n.pointerSmall} ${r.red().italic(m)}`, "")), this.out.write(h.line + s.to(0) + this.outputText + s.save + this.outputError + s.restore));
    }
  };
  t.exports = d;
})), sh = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), { cursor: i } = zt(), s = fr(), { clear: h, figures: o, style: n, wrap: u, entriesToDisplay: l } = er(), f = class extends s {
    constructor(a = {}) {
      super(a), this.isSelect = !0, this.msg = a.message, this.cursorStart = a.choices.findIndex((c) => !c.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((c, d) => (typeof c == "string" && (c = {
        title: c,
        value: d
      }), {
        title: c && (c.title || c.value || c),
        description: c && c.description,
        value: c && (c.value === void 0 ? d : c.value),
        selected: c && c.selected,
        disabled: c && c.disabled,
        heading: c && c.heading
      })), this.clear = h("", 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((c) => c.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((c) => c.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((c) => !c.disabled && !c.heading).forEach((c) => c.selected = a), this.render();
    }
    _(a, c) {
      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:
    ${o.arrowUp}/${o.arrowDown}: Highlight option
    ${o.arrowLeft}/${o.arrowRight}/[space]: Toggle selection
` + (this.maxChoices === void 0 ? `    a: Toggle all
` : "") + "    enter/return: Complete answer" : "";
    }
    renderOption(a, c, d, p) {
      const m = (a === d ? "❯ " : "  ") + (c.selected ? r.green(o.radioOn) : o.radioOff) + " ";
      let g, v;
      if (c.disabled) g = a === d ? r.gray(c.title) : r.strikethrough().gray(c.title);
      else {
        if (c.heading)
          return g = c.title, g + r.gray(v || "");
        g = c.title, a === d && c.description && (v = ` - ${c.description}`, (m.length + g.length + v.length >= this.out.columns || c.description.split(/\r?\n/).length > 1) && (v = `
` + u(c.description, {
          margin: m.length,
          width: this.out.columns
        })));
      }
      return m + g + r.gray(v || "");
    }
    paginateOptions(a) {
      if (a.length === 0) return r.red("No matches for this query.");
      let { startIndex: c, endIndex: d } = l(this.cursor, a.length, this.optionsPerPage), p, m = [];
      for (let g = c; g < d; g++)
        g === c && c > 0 ? p = o.arrowUp : g === d - 1 && d < a.length ? p = o.arrowDown : p = " ", m.push(this.renderOption(this.cursor, a[g], g, p));
      return `
` + m.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 = h(a, this.out.columns);
    }
  };
  t.exports = f;
})), bm = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { erase: s, cursor: h } = zt(), { style: o, clear: n, figures: u, wrap: l, entriesToDisplay: f } = er(), a = (m, g) => m[g] && (m[g].value || m[g].title || m[g]), c = (m, g) => m[g] && (m[g].title || m[g].value || m[g]), d = (m, g) => {
    const v = m.findIndex((y) => y.value === g || y.title === g);
    return v > -1 ? v : void 0;
  }, p = class extends i {
    constructor(m = {}) {
      super(m), this.msg = m.message, this.suggest = m.suggest, this.choices = m.choices, this.initial = typeof m.initial == "number" ? m.initial : d(m.choices, m.initial), this.select = this.initial || m.cursor || 0, this.i18n = { noMatches: m.noMatches || "no matches found" }, this.fallback = m.fallback || this.initial, this.clearFirst = m.clearFirst || !1, this.suggestions = [], this.input = "", this.limit = m.limit || 10, this.cursor = 0, this.transform = o.render(m.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(m) {
      this._fb = Number.isSafeInteger(parseInt(m)) ? parseInt(m) : m;
    }
    get fallback() {
      let m;
      return typeof this._fb == "number" ? m = this.choices[this._fb] : typeof this._fb == "string" && (m = { title: this._fb }), m || this._fb || { title: this.i18n.noMatches };
    }
    moveSelect(m) {
      this.select = m, this.suggestions.length > 0 ? this.value = a(this.suggestions, m) : this.value = this.fallback.value, this.fire();
    }
    async complete(m) {
      const g = this.completing = this.suggest(this.input, this.choices), v = await g;
      if (this.completing !== g) return;
      this.suggestions = v.map((E, b, w) => ({
        title: c(w, b),
        value: a(w, b),
        description: E.description
      })), this.completing = !1;
      const y = Math.max(v.length - 1, 0);
      this.moveSelect(Math.min(y, this.select)), m && m();
    }
    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();
    }
    _(m, g) {
      let v = this.input.slice(0, this.cursor), y = this.input.slice(this.cursor);
      this.input = `${v}${m}${y}`, this.cursor = v.length + 1, this.complete(this.render), this.render();
    }
    delete() {
      if (this.cursor === 0) return this.bell();
      let m = this.input.slice(0, this.cursor - 1), g = this.input.slice(this.cursor);
      this.input = `${m}${g}`, this.complete(this.render), this.cursor = this.cursor - 1, this.render();
    }
    deleteForward() {
      if (this.cursor * this.scale >= this.rendered.length) return this.bell();
      let m = this.input.slice(0, this.cursor), g = this.input.slice(this.cursor + 1);
      this.input = `${m}${g}`, 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(m, g, v, y) {
      let E, b = v ? u.arrowUp : y ? u.arrowDown : " ", w = g ? r.cyan().underline(m.title) : m.title;
      return b = (g ? r.cyan(u.pointer) + " " : "  ") + b, m.description && (E = ` - ${m.description}`, (b.length + w.length + E.length >= this.out.columns || m.description.split(/\r?\n/).length > 1) && (E = `
` + l(m.description, {
        margin: 3,
        width: this.out.columns
      }))), b + " " + w + r.gray(E || "");
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(h.hide) : this.out.write(n(this.outputText, this.out.columns)), super.render();
      let { startIndex: m, endIndex: g } = f(this.select, this.choices.length, this.limit);
      if (this.outputText = [
        o.symbol(this.done, this.aborted, this.exited),
        r.bold(this.msg),
        o.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(m, g).map((y, E) => this.renderOption(y, this.select === E + m, E === 0 && m > 0, E + m === g - 1 && g < this.choices.length)).join(`
`);
        this.outputText += `
` + (v || r.gray(this.fallback.title));
      }
      this.out.write(s.line + h.to(0) + this.outputText);
    }
  };
  t.exports = p;
})), wm = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), { cursor: i } = zt(), s = sh(), { clear: h, style: o, figures: n } = er(), u = class extends s {
    constructor(l = {}) {
      l.overrideRender = !0, super(l), this.inputValue = "", this.clear = h("", 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((l) => l.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 l = 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 f = this.filteredOptions.findIndex((a) => a === l);
      this.cursor = f < 0 ? 0 : f, this.render();
    }
    handleSpaceToggle() {
      const l = this.filteredOptions[this.cursor];
      if (l.selected)
        l.selected = !1, this.render();
      else {
        if (l.disabled || this.value.filter((f) => f.selected).length >= this.maxChoices) return this.bell();
        l.selected = !0, this.render();
      }
    }
    handleInputChange(l) {
      this.inputValue = this.inputValue + l, this.updateFilteredOptions();
    }
    _(l, f) {
      l === " " ? this.handleSpaceToggle() : this.handleInputChange(l);
    }
    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(l, f, a, c) {
      const d = (f.selected ? r.green(n.radioOn) : n.radioOff) + " " + c + " ";
      let p;
      return f.disabled ? p = l === a ? r.gray().underline(f.title) : r.strikethrough().gray(f.title) : p = l === a ? r.cyan().underline(f.title) : f.title, d + p;
    }
    renderDoneOrInstructions() {
      if (this.done) return this.value.filter((f) => f.selected).map((f) => f.title).join(", ");
      const l = [
        r.gray(this.hint),
        this.renderInstructions(),
        this.renderCurrentInput()
      ];
      return this.filteredOptions.length && this.filteredOptions[this.cursor].disabled && l.push(r.yellow(this.warn)), l.join(" ");
    }
    render() {
      if (this.closed) return;
      this.firstRender && this.out.write(i.hide), super.render();
      let l = [
        o.symbol(this.done, this.aborted),
        r.bold(this.msg),
        o.delimiter(!1),
        this.renderDoneOrInstructions()
      ].join(" ");
      this.showMinError && (l += r.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), l += this.renderOptions(this.filteredOptions), this.out.write(this.clear + l), this.clear = h(l, this.out.columns);
    }
  };
  t.exports = u;
})), Em = /* @__PURE__ */ P(((e, t) => {
  var r = Gt(), i = fr(), { style: s, clear: h } = er(), { erase: o, cursor: n } = zt(), u = class extends i {
    constructor(l = {}) {
      super(l), this.msg = l.message, this.value = l.initial, this.initialValue = !!l.initial, this.yesMsg = l.yes || "yes", this.yesOption = l.yesOption || "(Y/n)", this.noMsg = l.no || "no", this.noOption = l.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();
    }
    _(l, f) {
      return l.toLowerCase() === "y" ? (this.value = !0, this.submit()) : l.toLowerCase() === "n" ? (this.value = !1, this.submit()) : this.bell();
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(n.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render();
      const l = this.aborted || this.done && !this.value;
      this.outputText = [
        s.symbol(this.done, l),
        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(o.line + n.to(0) + this.outputText);
    }
  };
  t.exports = u;
})), Sm = /* @__PURE__ */ P(((e, t) => {
  t.exports = {
    TextPrompt: am(),
    SelectPrompt: om(),
    TogglePrompt: lm(),
    DatePrompt: ym(),
    NumberPrompt: _m(),
    MultiselectPrompt: sh(),
    AutocompletePrompt: bm(),
    AutocompleteMultiselectPrompt: wm(),
    ConfirmPrompt: Em()
  };
})), Am = /* @__PURE__ */ P(((e) => {
  var t = e, r = Sm(), i = (o) => o;
  function s(o, n, u = {}) {
    return new Promise((l, f) => {
      const a = new r[o](n), c = u.onAbort || i, d = u.onSubmit || i, p = u.onExit || i;
      a.on("state", n.onState || i), a.on("submit", (m) => l(d(m))), a.on("exit", (m) => l(p(m))), a.on("abort", (m) => f(c(m)));
    });
  }
  t.text = (o) => s("TextPrompt", o), t.password = (o) => (o.style = "password", t.text(o)), t.invisible = (o) => (o.style = "invisible", t.text(o)), t.number = (o) => s("NumberPrompt", o), t.date = (o) => s("DatePrompt", o), t.confirm = (o) => s("ConfirmPrompt", o), t.list = (o) => {
    const n = o.separator || ",";
    return s("TextPrompt", o, { onSubmit: (u) => u.split(n).map((l) => l.trim()) });
  }, t.toggle = (o) => s("TogglePrompt", o), t.select = (o) => s("SelectPrompt", o), t.multiselect = (o) => {
    o.choices = [].concat(o.choices || []);
    const n = (u) => u.filter((l) => l.selected).map((l) => l.value);
    return s("MultiselectPrompt", o, {
      onAbort: n,
      onSubmit: n
    });
  }, t.autocompleteMultiselect = (o) => {
    o.choices = [].concat(o.choices || []);
    const n = (u) => u.filter((l) => l.selected).map((l) => l.value);
    return s("AutocompleteMultiselectPrompt", o, {
      onAbort: n,
      onSubmit: n
    });
  };
  var h = (o, n) => Promise.resolve(n.filter((u) => u.title.slice(0, o.length).toLowerCase() === o.toLowerCase()));
  t.autocomplete = (o) => (o.suggest = o.suggest || h, o.choices = [].concat(o.choices || []), s("AutocompletePrompt", o));
})), Tm = /* @__PURE__ */ P(((e, t) => {
  var r = Am(), i = [
    "suggest",
    "format",
    "onState",
    "validate",
    "onRender",
    "type"
  ], s = () => {
  };
  async function h(l = [], { onSubmit: f = s, onCancel: a = s } = {}) {
    const c = {}, d = h._override || {};
    l = [].concat(l);
    let p, m, g, v, y, E;
    const b = async (w, _, S = !1) => {
      if (!(!S && w.validate && w.validate(_) !== !0))
        return w.format ? await w.format(_, c) : _;
    };
    for (m of l)
      if ({ name: v, type: y } = m, typeof y == "function" && (y = await y(p, { ...c }, m), m.type = y), !!y) {
        for (let w in m) {
          if (i.includes(w)) continue;
          let _ = m[w];
          m[w] = typeof _ == "function" ? await _(p, { ...c }, E) : _;
        }
        if (E = m, typeof m.message != "string") throw new Error("prompt message is required");
        if ({ name: v, type: y } = m, r[y] === void 0) throw new Error(`prompt type (${y}) is not defined`);
        if (d[m.name] !== void 0 && (p = await b(m, d[m.name]), p !== void 0)) {
          c[v] = p;
          continue;
        }
        try {
          p = h._injected ? o(h._injected, m.initial) : await r[y](m), c[v] = p = await b(m, p, !0), g = await f(m, p, c);
        } catch {
          g = !await a(m, c);
        }
        if (g) return c;
      }
    return c;
  }
  function o(l, f) {
    const a = l.shift();
    if (a instanceof Error) throw a;
    return a === void 0 ? f : a;
  }
  function n(l) {
    h._injected = (h._injected || []).concat(l);
  }
  function u(l) {
    h._override = Object.assign({}, l);
  }
  t.exports = Object.assign(h, {
    prompt: h,
    prompts: r,
    inject: n,
    override: u
  });
})), Dm = /* @__PURE__ */ P(((e, t) => {
  t.exports = Tm();
})), bn = /* @__PURE__ */ Nt(Dm(), 1), Rm = "npm-check-updates", Om = "22.0.0", Cm = "Tomas Junnonen <tomas1@gmail.com>", Im = "Apache-2.0", km = ["Raine Revere (https://github.com/raineorshine)", "Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"], Lm = "Find newer versions of dependencies than what your package.json allows", $m = [
  "dependencies",
  "npm",
  "package.json",
  "update",
  "upgrade",
  "versions"
], Nm = {
  node: "^20.19.0 || ^22.12.0 || >=24.0.0",
  npm: ">=10.0.0"
}, xm = "module", Pm = "build/index.cjs", Bm = "build/index.js", Fm = "build/index.d.ts", Mm = {
  "npm-check-updates": "build/cli.js",
  ncu: "build/cli.js"
}, jm = {
  ".": {
    types: "./build/index.d.ts",
    import: "./build/index.js",
    require: "./build/index.cjs"
  },
  "./package.json": "./package.json"
}, Um = {
  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"
}, Hm = {
  type: "git",
  url: "git+https://github.com/raineorshine/npm-check-updates.git"
}, qm = "https://github.com/raineorshine/npm-check-updates", Gm = { url: "https://github.com/raineorshine/npm-check-updates/issues" }, zm = {
  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",
  lodash: ">=4.18.1",
  "serialize-javascript": ">=7.0.3",
  uuid: ">=14.0.0"
}, Wm = {
  "@eslint/compat": "^2.0.5",
  "@eslint/js": "^10.0.1",
  "@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": "^17.24.0",
  "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: "^6.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: "^21.1.2",
  "source-map-support": "^0.5.21",
  "spawn-please": "^3.0.0",
  "ts-json-schema-generator": "^2.9.0",
  tsx: "^4.21.0",
  typescript: "^6.0.3",
  untildify: "^6.0.0",
  "update-notifier": "^7.3.1",
  verdaccio: "^6.5.2",
  vite: "^8.0.8",
  "vite-bundle-analyzer": "^1.3.7",
  "vite-plugin-dts": "^4.5.4",
  yaml: "^2.8.3",
  yarn: "^1.22.22",
  zod: "^4.3.6"
}, Vm = ["build", "!**/test/**"], Ym = {
  "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
}, ta = {
  name: Rm,
  version: Om,
  author: Cm,
  license: Im,
  contributors: km,
  description: Lm,
  keywords: $m,
  engines: Nm,
  type: xm,
  main: Pm,
  module: Bm,
  types: Fm,
  bin: Mm,
  exports: jm,
  scripts: Um,
  repository: Hm,
  homepage: qm,
  bugs: Gm,
  overrides: zm,
  devDependencies: Wm,
  files: Vm,
  "lockfile-lint": {
    "allowed-schemes": ["https:", "git+ssh:"],
    "allowed-hosts": ["npm", "github.com"],
    "empty-hostname": !1,
    type: "npm ",
    path: "package-lock.json"
  },
  mocha: Ym
}, Po = /* @__PURE__ */ P(((e, t) => {
  var r = [], i = 0, s = (h, o) => {
    i >= o && r.push(h);
  };
  s.WARN = 1, s.INFO = 2, s.DEBUG = 3, s.reset = () => {
    r = [];
  }, s.setDebugLevel = (h) => {
    i = h;
  }, s.warn = (h) => s(h, s.WARN), s.info = (h) => s(h, s.INFO), s.debug = (h) => s(h, s.DEBUG), s.debugMessages = () => r, t.exports = s;
})), Km = /* @__PURE__ */ P(((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");
  };
})), Zm = /* @__PURE__ */ P(((e, t) => {
  var r = Km();
  t.exports = (i) => typeof i == "string" ? i.replace(r(), "") : i;
})), Jm = /* @__PURE__ */ P(((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;
})), Xm = /* @__PURE__ */ P(((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;
  };
})), Qm = /* @__PURE__ */ P(((e, t) => {
  var r = Zm(), i = Jm(), s = Xm(), h = (o) => {
    if (typeof o != "string" || o.length === 0 || (o = r(o), o.length === 0)) return 0;
    o = o.replace(s(), "  ");
    let n = 0;
    for (let u = 0; u < o.length; u++) {
      const l = o.codePointAt(u);
      l <= 31 || l >= 127 && l <= 159 || l >= 768 && l <= 879 || (l > 65535 && u++, n += i(l) ? 2 : 1);
    }
    return n;
  };
  t.exports = h, t.exports.default = h;
})), ah = /* @__PURE__ */ P(((e, t) => {
  var r = Qm();
  function i(S) {
    return S ? /\u001b\[((?:\d*;){0,5}\d*)m/g : /\u001b\[(?:\d*;){0,5}\d*m/g;
  }
  function s(S) {
    let T = i();
    return ("" + S).replace(T, "").split(`
`).reduce(function(D, R) {
      return r(R) > D ? r(R) : D;
    }, 0);
  }
  function h(S, T) {
    return Array(T + 1).join(S);
  }
  function o(S, T, D, R) {
    let j = s(S);
    if (T + 1 >= j) {
      let M = T - j;
      switch (R) {
        case "right":
          S = h(D, M) + S;
          break;
        case "center": {
          let G = Math.ceil(M / 2);
          S = h(D, M - G) + S + h(D, G);
          break;
        }
        default:
          S = S + h(D, M);
          break;
      }
    }
    return S;
  }
  var n = {};
  function u(S, T, D) {
    T = "\x1B[" + T + "m", D = "\x1B[" + D + "m", n[T] = {
      set: S,
      to: !0
    }, n[D] = {
      set: S,
      to: !1
    }, n[S] = {
      on: T,
      off: D
    };
  }
  u("bold", 1, 22), u("italics", 3, 23), u("underline", 4, 24), u("inverse", 7, 27), u("strikethrough", 9, 29);
  function l(S, T) {
    let D = T[1] ? parseInt(T[1].split(";")[0]) : 0;
    if (D >= 30 && D <= 39 || D >= 90 && D <= 97) {
      S.lastForegroundAdded = T[0];
      return;
    }
    if (D >= 40 && D <= 49 || D >= 100 && D <= 107) {
      S.lastBackgroundAdded = T[0];
      return;
    }
    if (D === 0) {
      for (let j in S)
        Object.prototype.hasOwnProperty.call(S, j) && delete S[j];
      return;
    }
    let R = n[T[0]];
    R && (S[R.set] = R.to);
  }
  function f(S) {
    let T = i(!0), D = T.exec(S), R = {};
    for (; D !== null; )
      l(R, D), D = T.exec(S);
    return R;
  }
  function a(S, T) {
    let D = S.lastBackgroundAdded, R = S.lastForegroundAdded;
    return delete S.lastBackgroundAdded, delete S.lastForegroundAdded, Object.keys(S).forEach(function(j) {
      S[j] && (T += n[j].off);
    }), D && D != "\x1B[49m" && (T += "\x1B[49m"), R && R != "\x1B[39m" && (T += "\x1B[39m"), T;
  }
  function c(S, T) {
    let D = S.lastBackgroundAdded, R = S.lastForegroundAdded;
    return delete S.lastBackgroundAdded, delete S.lastForegroundAdded, Object.keys(S).forEach(function(j) {
      S[j] && (T = n[j].on + T);
    }), D && D != "\x1B[49m" && (T = D + T), R && R != "\x1B[39m" && (T = R + T), T;
  }
  function d(S, T) {
    if (S.length === s(S)) return S.substr(0, T);
    for (; s(S) > T; ) S = S.slice(0, -1);
    return S;
  }
  function p(S, T) {
    let D = i(!0), R = S.split(i()), j = 0, M = 0, G = "", Y, H = {};
    for (; M < T; ) {
      Y = D.exec(S);
      let I = R[j];
      if (j++, M + s(I) > T && (I = d(I, T - M)), G += I, M += s(I), M < T) {
        if (!Y) break;
        G += Y[0], l(H, Y);
      }
    }
    return a(H, G);
  }
  function m(S, T, D) {
    if (D = D || "…", s(S) <= T) return S;
    T -= s(D);
    let R = p(S, T);
    R += D;
    const j = "\x1B]8;;\x07";
    return S.includes(j) && !R.includes(j) && (R += j), R;
  }
  function g() {
    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(S, T) {
    S = S || {}, T = T || g();
    let D = Object.assign({}, T, S);
    return D.chars = Object.assign({}, T.chars, S.chars), D.style = Object.assign({}, T.style, S.style), D;
  }
  function y(S, T) {
    let D = [], R = T.split(/(\s+)/g), j = [], M = 0, G;
    for (let Y = 0; Y < R.length; Y += 2) {
      let H = R[Y], I = M + s(H);
      M > 0 && G && (I += G.length), I > S ? (M !== 0 && D.push(j.join("")), j = [H], M = s(H)) : (j.push(G || "", H), M = I), G = R[Y + 1];
    }
    return M && D.push(j.join("")), D;
  }
  function E(S, T) {
    let D = [], R = "";
    function j(G, Y) {
      for (R.length && Y && (R += Y), R += G; R.length > S; )
        D.push(R.slice(0, S)), R = R.slice(S);
    }
    let M = T.split(/(\s+)/g);
    for (let G = 0; G < M.length; G += 2) j(M[G], G && M[G - 1]);
    return R.length && D.push(R), D;
  }
  function b(S, T, D = !0) {
    let R = [];
    T = T.split(`
`);
    const j = D ? y : E;
    for (let M = 0; M < T.length; M++) R.push.apply(R, j(S, T[M]));
    return R;
  }
  function w(S) {
    let T = {}, D = [];
    for (let R = 0; R < S.length; R++) {
      let j = c(T, S[R]);
      T = f(j);
      let M = Object.assign({}, T);
      D.push(a(M, j));
    }
    return D;
  }
  function _(S, T) {
    return [
      "\x1B]",
      "8",
      ";",
      ";",
      S || T,
      "\x07",
      T,
      "\x1B]",
      "8",
      ";",
      ";",
      "\x07"
    ].join("");
  }
  t.exports = {
    strlen: s,
    repeat: h,
    pad: o,
    truncate: m,
    mergeOptions: v,
    wordWrap: b,
    colorizeLines: w,
    hyperlink: _
  };
})), ev = /* @__PURE__ */ P(((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 h = i[s], o = r[s] = [];
    o.open = "\x1B[" + h[0] + "m", o.close = "\x1B[" + h[1] + "m";
  });
})), tv = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(r, i) {
    i = i || process.argv;
    var s = i.indexOf("--"), h = /^-{1,2}/.test(r) ? "" : "--", o = i.indexOf(h + r);
    return o !== -1 && (s === -1 ? !0 : o < s);
  };
})), rv = /* @__PURE__ */ P(((e, t) => {
  var r = ge("os"), i = tv(), s = process.env, h = void 0;
  i("no-color") || i("no-colors") || i("color=false") ? h = !1 : (i("color") || i("colors") || i("color=true") || i("color=always")) && (h = !0), "FORCE_COLOR" in s && (h = s.FORCE_COLOR.length === 0 || parseInt(s.FORCE_COLOR, 10) !== 0);
  function o(l) {
    return l === 0 ? !1 : {
      level: l,
      hasBasic: !0,
      has256: l >= 2,
      has16m: l >= 3
    };
  }
  function n(l) {
    if (h === !1) return 0;
    if (i("color=16m") || i("color=full") || i("color=truecolor")) return 3;
    if (i("color=256")) return 2;
    if (l && !l.isTTY && h !== !0) return 0;
    var f = h ? 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(d) {
        return d in s;
      }) || s.CI_NAME === "codeship" ? 1 : f;
    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 c = parseInt((s.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (s.TERM_PROGRAM) {
        case "iTerm.app":
          return c >= 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", f);
  }
  function u(l) {
    return o(n(l));
  }
  t.exports = {
    supportsColor: u,
    stdout: u(process.stdout),
    stderr: u(process.stderr)
  };
})), iv = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(i, s) {
    var h = "";
    i = i || "Run the trap, drop the bass", i = i.split("");
    var o = {
      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 = o[n] || [" "], l = Math.floor(Math.random() * u.length);
      typeof o[n] < "u" ? h += o[n][l] : h += n;
    }), h;
  };
})), nv = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(i, s) {
    i = i || "   he is here   ";
    var h = {
      up: [
        "̍",
        "̎",
        "̄",
        "̅",
        "̿",
        "̑",
        "̆",
        "̐",
        "͒",
        "͗",
        "͑",
        "̇",
        "̈",
        "̊",
        "͂",
        "̓",
        "̈",
        "͊",
        "͋",
        "͌",
        "̃",
        "̂",
        "̌",
        "͐",
        "̀",
        "́",
        "̋",
        "̏",
        "̒",
        "̓",
        "̔",
        "̽",
        "̉",
        "ͣ",
        "ͤ",
        "ͥ",
        "ͦ",
        "ͧ",
        "ͨ",
        "ͩ",
        "ͪ",
        "ͫ",
        "ͬ",
        "ͭ",
        "ͮ",
        "ͯ",
        "̾",
        "͛",
        "͆",
        "̚"
      ],
      down: [
        "̖",
        "̗",
        "̘",
        "̙",
        "̜",
        "̝",
        "̞",
        "̟",
        "̠",
        "̤",
        "̥",
        "̦",
        "̩",
        "̪",
        "̫",
        "̬",
        "̭",
        "̮",
        "̯",
        "̰",
        "̱",
        "̲",
        "̳",
        "̹",
        "̺",
        "̻",
        "̼",
        "ͅ",
        "͇",
        "͈",
        "͉",
        "͍",
        "͎",
        "͓",
        "͔",
        "͕",
        "͖",
        "͙",
        "͚",
        "̣"
      ],
      mid: [
        "̕",
        "̛",
        "̀",
        "́",
        "͘",
        "̡",
        "̢",
        "̧",
        "̨",
        "̴",
        "̵",
        "̶",
        "͜",
        "͝",
        "͞",
        "͟",
        "͠",
        "͢",
        "̸",
        "̷",
        "͡",
        " ҉"
      ]
    }, o = [].concat(h.up, h.down, h.mid);
    function n(f) {
      return Math.floor(Math.random() * f);
    }
    function u(f) {
      var a = !1;
      return o.filter(function(c) {
        a = c === f;
      }), a;
    }
    function l(f, a) {
      var c = "", d, 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", f = f.split("");
      for (p in f)
        if (!u(p)) {
          switch (c = c + f[p], d = {
            up: 0,
            down: 0,
            mid: 0
          }, a.size) {
            case "mini":
              d.up = n(8), d.mid = n(2), d.down = n(8);
              break;
            case "maxi":
              d.up = n(16) + 3, d.mid = n(4) + 1, d.down = n(64) + 3;
              break;
            default:
              d.up = n(8) + 1, d.mid = n(6) / 2, d.down = n(8) + 1;
              break;
          }
          var m = [
            "up",
            "mid",
            "down"
          ];
          for (var g in m)
            for (var v = m[g], y = 0; y <= d[v]; y++) a[v] && (c = c + h[v][n(h[v].length)]);
        }
      return c;
    }
    return l(i, s);
  };
})), sv = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(r) {
    return function(i, s, h) {
      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);
      }
    };
  };
})), av = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(r) {
    return function(i, s, h) {
      return s % 2 === 0 ? i : r.inverse(i);
    };
  };
})), ov = /* @__PURE__ */ P(((e, t) => {
  t.exports = function(r) {
    var i = [
      "red",
      "yellow",
      "green",
      "blue",
      "magenta"
    ];
    return function(s, h, o) {
      return s === " " ? s : r[i[h++ % i.length]](s);
    };
  };
})), lv = /* @__PURE__ */ P(((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, h, o) {
      return s === " " ? s : r[i[Math.round(Math.random() * (i.length - 2))]](s);
    };
  };
})), cv = /* @__PURE__ */ P(((e, t) => {
  var r = {};
  t.exports = r, r.themes = {};
  var i = ge("util"), s = r.styles = ev(), h = Object.defineProperties, o = /* @__PURE__ */ new RegExp(/[\r\n]+/g);
  r.supportsColor = rv().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(g) {
    return ("" + g).replace(/\x1B\[\d+m/g, "");
  }, r.stylize = function(v, y) {
    if (!r.enabled) return v + "";
    var E = s[y];
    return !E && y in r ? r[y](v) : E.open + v + E.close;
  };
  var n = /[|\\{}()[\]^$+*?.]/g, u = function(g) {
    if (typeof g != "string") throw new TypeError("Expected a string");
    return g.replace(n, "\\$&");
  };
  function l(g) {
    var v = function y() {
      return c.apply(y, arguments);
    };
    return v._styles = g, v.__proto__ = a, v;
  }
  var f = (function() {
    var g = {};
    return s.grey = s.gray, Object.keys(s).forEach(function(v) {
      s[v].closeRe = new RegExp(u(s[v].close), "g"), g[v] = { get: function() {
        return l(this._styles.concat(v));
      } };
    }), g;
  })(), a = h(function() {
  }, f);
  function c() {
    var g = Array.prototype.slice.call(arguments).map(function(w) {
      return w != null && w.constructor === String ? w : i.inspect(w);
    }).join(" ");
    if (!r.enabled || !g) return g;
    for (var v = g.indexOf(`
`) != -1, y = this._styles, E = y.length; E--; ) {
      var b = s[y[E]];
      g = b.open + g.replace(b.closeRe, b.open) + b.close, v && (g = g.replace(o, function(w) {
        return b.close + w + b.open;
      }));
    }
    return g;
  }
  r.setTheme = function(g) {
    if (typeof g == "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 g) (function(y) {
      r[y] = function(E) {
        if (typeof g[y] == "object") {
          var b = E;
          for (var w in g[y]) b = r[g[y][w]](b);
          return b;
        }
        return r[g[y]](E);
      };
    })(v);
  };
  function d() {
    var g = {};
    return Object.keys(f).forEach(function(v) {
      g[v] = { get: function() {
        return l([v]);
      } };
    }), g;
  }
  var p = function(v, y) {
    var E = y.split("");
    return E = E.map(v), E.join("");
  };
  r.trap = iv(), r.zalgo = nv(), r.maps = {}, r.maps.america = sv()(r), r.maps.zebra = av()(r), r.maps.rainbow = ov()(r), r.maps.random = lv()(r);
  for (var m in r.maps) (function(g) {
    r[g] = function(v) {
      return p(r.maps[g], v);
    };
  })(m);
  h(r, d());
})), uv = /* @__PURE__ */ P(((e, t) => {
  var r = cv();
  t.exports = r;
})), hv = /* @__PURE__ */ P(((e, t) => {
  var { info: r, debug: i } = Po(), s = ah(), h = class gn {
    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 m = p.content;
      if ([
        "boolean",
        "number",
        "bigint",
        "string"
      ].indexOf(typeof m) !== -1) this.content = String(m);
      else if (!m) this.content = this.options.href || "";
      else throw new Error("Content needs to be a primitive, got: " + typeof m);
      this.colSpan = p.colSpan || 1, this.rowSpan = p.rowSpan || 1, this.options.href && Object.defineProperty(this, "href", { get() {
        return this.options.href;
      } });
    }
    mergeTableOptions(p, m) {
      this.cells = m;
      let g = this.options.chars || {}, v = p.chars, y = this.chars = {};
      c.forEach(function(w) {
        l(g, v, w, y);
      }), this.truncate = this.options.truncate || p.truncate;
      let E = this.options.style = this.options.style || {}, b = p.style;
      l(E, b, "padding-left", this), l(E, b, "padding-right", this), this.head = E.head || b.head, this.border = E.border || b.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 m = p.wordWrap || p.textWrap, { wordWrap: g = m } = this.options;
      if (this.fixedWidth && g) {
        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: y = v } = this.options;
        return this.wrapLines(s.wordWrap(this.fixedWidth, this.content, y));
      }
      return this.wrapLines(this.content.split(`
`));
    }
    wrapLines(p) {
      const m = s.colorizeLines(p);
      return this.href ? m.map((g) => s.hyperlink(this.href, g)) : m;
    }
    init(p) {
      let m = this.x, g = this.y;
      this.widths = p.colWidths.slice(m, m + this.colSpan), this.heights = p.rowHeights.slice(g, g + this.rowSpan), this.width = this.widths.reduce(a, -1), this.height = this.heights.reduce(a, -1), this.hAlign = this.options.hAlign || p.colAligns[m], this.vAlign = this.options.vAlign || p.rowAligns[g], this.drawRight = m + this.colSpan == p.colWidths.length;
    }
    draw(p, m) {
      if (p == "top") return this.drawTop(this.drawRight);
      if (p == "bottom") return this.drawBottom(this.drawRight);
      let g = s.truncate(this.content, 10, this.truncate);
      p || r(`${this.y}-${this.x}: ${this.rowSpan - p}x${this.colSpan} Cell ${g}`);
      let v = Math.max(this.height - this.lines.length, 0), y;
      switch (this.vAlign) {
        case "center":
          y = Math.ceil(v / 2);
          break;
        case "bottom":
          y = v;
          break;
        default:
          y = 0;
      }
      if (p < y || p >= y + this.lines.length) return this.drawEmpty(this.drawRight, m);
      let E = this.lines.length > this.height && p + 1 >= this.height;
      return this.drawLine(p - y, this.drawRight, E, m);
    }
    drawTop(p) {
      let m = [];
      return this.cells ? this.widths.forEach(function(g, v) {
        m.push(this._topLeftChar(v)), m.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], g));
      }, this) : (m.push(this._topLeftChar(0)), m.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], this.width))), p && m.push(this.chars[this.y == 0 ? "topRight" : "rightMid"]), this.wrapWithStyleColors("border", m.join(""));
    }
    _topLeftChar(p) {
      let m = this.x + p, g;
      if (this.y == 0) g = m == 0 ? "topLeft" : p == 0 ? "topMid" : "top";
      else if (m == 0) g = "leftMid";
      else if (g = p == 0 ? "midMid" : "bottomMid", this.cells && (this.cells[this.y - 1][m] instanceof gn.ColSpanCell && (g = p == 0 ? "topMid" : "mid"), p == 0)) {
        let v = 1;
        for (; this.cells[this.y][m - v] instanceof gn.ColSpanCell; ) v++;
        this.cells[this.y][m - v] instanceof gn.RowSpanCell && (g = "leftMid");
      }
      return this.chars[g];
    }
    wrapWithStyleColors(p, m) {
      if (this[p] && this[p].length) try {
        let g = uv();
        for (let v = this[p].length - 1; v >= 0; v--) g = g[this[p][v]];
        return g(m);
      } catch {
        return m;
      }
      else return m;
    }
    drawLine(p, m, g, v) {
      let y = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && v && this.cells) {
        let D = this.cells[this.y + v][this.x - 1];
        for (; D instanceof o; ) D = this.cells[D.y][D.x - 1];
        D instanceof n || (y = this.chars.rightMid);
      }
      let E = s.repeat(" ", this.paddingLeft), b = m ? this.chars.right : "", w = s.repeat(" ", this.paddingRight), _ = this.lines[p], S = this.width - (this.paddingLeft + this.paddingRight);
      g && (_ += this.truncate || "…");
      let T = s.truncate(_, S, this.truncate);
      return T = s.pad(T, S, " ", this.hAlign), T = E + T + w, this.stylizeLine(y, T, b);
    }
    stylizeLine(p, m, g) {
      return p = this.wrapWithStyleColors("border", p), g = this.wrapWithStyleColors("border", g), this.y === 0 && (m = this.wrapWithStyleColors("head", m)), p + m + g;
    }
    drawBottom(p) {
      let m = this.chars[this.x == 0 ? "bottomLeft" : "bottomMid"], g = s.repeat(this.chars.bottom, this.width), v = p ? this.chars.bottomRight : "";
      return this.wrapWithStyleColors("border", m + g + v);
    }
    drawEmpty(p, m) {
      let g = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && m && this.cells) {
        let E = this.cells[this.y + m][this.x - 1];
        for (; E instanceof o; ) E = this.cells[E.y][E.x - 1];
        E instanceof n || (g = this.chars.rightMid);
      }
      let v = p ? this.chars.right : "", y = s.repeat(" ", this.width);
      return this.stylizeLine(g, y, v);
    }
  }, o = class {
    constructor() {
    }
    draw(d) {
      return typeof d == "number" && i(`${this.y}-${this.x}: 1x1 ColSpanCell`), "";
    }
    init() {
    }
    mergeTableOptions() {
    }
  }, n = class {
    constructor(d) {
      this.originalCell = d;
    }
    init(d) {
      let p = this.y, m = this.originalCell.y;
      this.cellOffset = p - m, this.offset = f(d.rowHeights, m, this.cellOffset);
    }
    draw(d) {
      return d == "top" ? this.originalCell.draw(this.offset, this.cellOffset) : d == "bottom" ? this.originalCell.draw("bottom") : (i(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`), this.originalCell.draw(this.offset + 1 + d));
    }
    mergeTableOptions() {
    }
  };
  function u(...d) {
    return d.filter((p) => p != null).shift();
  }
  function l(d, p, m, g) {
    let v = m.split("-");
    v.length > 1 ? (v[1] = v[1].charAt(0).toUpperCase() + v[1].substr(1), v = v.join(""), g[v] = u(d[v], d[m], p[v], p[m])) : g[m] = u(d[m], p[m]);
  }
  function f(d, p, m) {
    let g = d[p];
    for (let v = 1; v < m; v++) g += 1 + d[p + v];
    return g;
  }
  function a(d, p) {
    return d + p + 1;
  }
  var c = [
    "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 = h, t.exports.ColSpanCell = o, t.exports.RowSpanCell = n;
})), fv = /* @__PURE__ */ P(((e, t) => {
  var { warn: r, debug: i } = Po(), s = hv(), { ColSpanCell: h, RowSpanCell: o } = s;
  (function() {
    function u(w, _) {
      return w[_] > 0 ? u(w, _ + 1) : _;
    }
    function l(w) {
      let _ = {};
      w.forEach(function(S, T) {
        let D = 0;
        S.forEach(function(R) {
          R.y = T, R.x = T ? u(_, D) : D;
          const j = R.rowSpan || 1, M = R.colSpan || 1;
          if (j > 1) for (let G = 0; G < M; G++) _[R.x + G] = j;
          D = R.x + M;
        }), Object.keys(_).forEach((R) => {
          _[R]--, _[R] < 1 && delete _[R];
        });
      });
    }
    function f(w) {
      let _ = 0;
      return w.forEach(function(S) {
        S.forEach(function(T) {
          _ = Math.max(_, T.x + (T.colSpan || 1));
        });
      }), _;
    }
    function a(w) {
      return w.length;
    }
    function c(w, _) {
      let S = w.y, T = w.y - 1 + (w.rowSpan || 1), D = _.y, R = !(S > _.y - 1 + (_.rowSpan || 1) || D > T), j = w.x, M = w.x - 1 + (w.colSpan || 1), G = _.x, Y = !(j > _.x - 1 + (_.colSpan || 1) || G > M);
      return R && Y;
    }
    function d(w, _, S) {
      let T = Math.min(w.length - 1, S), D = {
        x: _,
        y: S
      };
      for (let R = 0; R <= T; R++) {
        let j = w[R];
        for (let M = 0; M < j.length; M++) if (c(D, j[M])) return !0;
      }
      return !1;
    }
    function p(w, _, S, T) {
      for (let D = S; D < T; D++) if (d(w, D, _)) return !1;
      return !0;
    }
    function m(w) {
      w.forEach(function(_, S) {
        _.forEach(function(T) {
          for (let D = 1; D < T.rowSpan; D++) {
            let R = new o(T);
            R.x = T.x, R.y = T.y + D, R.colSpan = T.colSpan, v(R, w[S + D]);
          }
        });
      });
    }
    function g(w) {
      for (let _ = w.length - 1; _ >= 0; _--) {
        let S = w[_];
        for (let T = 0; T < S.length; T++) {
          let D = S[T];
          for (let R = 1; R < D.colSpan; R++) {
            let j = new h();
            j.x = D.x + R, j.y = D.y, S.splice(T + 1, 0, j);
          }
        }
      }
    }
    function v(w, _) {
      let S = 0;
      for (; S < _.length && _[S].x < w.x; ) S++;
      _.splice(S, 0, w);
    }
    function y(w) {
      let _ = a(w), S = f(w);
      i(`Max rows: ${_}; Max cols: ${S}`);
      for (let T = 0; T < _; T++) for (let D = 0; D < S; D++) if (!d(w, D, T)) {
        let R = {
          x: D,
          y: T,
          colSpan: 1,
          rowSpan: 1
        };
        for (D++; D < S && !d(w, D, T); )
          R.colSpan++, D++;
        let j = T + 1;
        for (; j < _ && p(w, j, R.x, R.x + R.colSpan); )
          R.rowSpan++, j++;
        let M = new s(R);
        M.x = R.x, M.y = R.y, r(`Missing cell at ${M.y}-${M.x}.`), v(M, w[T]);
      }
    }
    function E(w) {
      return w.map(function(_) {
        if (!Array.isArray(_)) {
          let S = Object.keys(_)[0];
          _ = _[S], Array.isArray(_) ? (_ = _.slice(), _.unshift(S)) : _ = [S, _];
        }
        return _.map(function(S) {
          return new s(S);
        });
      });
    }
    function b(w) {
      let _ = E(w);
      return l(_), y(_), m(_), g(_), _;
    }
    t.exports = {
      makeTableLayout: b,
      layoutTable: l,
      addRowSpanCells: m,
      maxWidth: f,
      fillInTable: y,
      computeWidths: n("colSpan", "desiredWidth", "x", 1),
      computeHeights: n("rowSpan", "desiredHeight", "y", 1)
    };
  })();
  function n(u, l, f, a) {
    return function(c, d) {
      let p = [], m = [], g = {};
      d.forEach(function(v) {
        v.forEach(function(y) {
          (y[u] || 1) > 1 ? m.push(y) : p[y[f]] = Math.max(p[y[f]] || 0, y[l] || 0, a);
        });
      }), c.forEach(function(v, y) {
        typeof v == "number" && (p[y] = v);
      });
      for (let v = m.length - 1; v >= 0; v--) {
        let y = m[v], E = y[u], b = y[f], w = p[b], _ = typeof c[b] == "number" ? 0 : 1;
        if (typeof w == "number") for (let S = 1; S < E; S++)
          w += 1 + p[b + S], typeof c[b + S] != "number" && _++;
        else
          w = l === "desiredWidth" ? y.desiredWidth - 1 : 1, (!g[b] || g[b] < w) && (g[b] = w);
        if (y[l] > w) {
          let S = 0;
          for (; _ > 0 && y[l] > w; ) {
            if (typeof c[b + S] != "number") {
              let T = Math.round((y[l] - w) / _);
              w += T, p[b + S] += T, _--;
            }
            S++;
          }
        }
      }
      Object.assign(c, p, g);
      for (let v = 0; v < c.length; v++) c[v] = Math.max(a, c[v] || 0);
    };
  }
})), dv = /* @__PURE__ */ P(((e, t) => {
  var r = Po(), i = ah(), s = fv(), h = 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 l = s.makeTableLayout(n);
      l.forEach(function(a) {
        a.forEach(function(c) {
          c.mergeTableOptions(this.options, l);
        }, this);
      }, this), s.computeWidths(this.options.colWidths, l), s.computeHeights(this.options.rowHeights, l), l.forEach(function(a) {
        a.forEach(function(c) {
          c.init(this.options);
        }, this);
      }, this);
      let f = [];
      for (let a = 0; a < l.length; a++) {
        let c = l[a], d = this.options.rowHeights[a];
        (a === 0 || !this.options.style.compact || a == 1 && u) && o(c, "top", f);
        for (let p = 0; p < d; p++) o(c, p, f);
        a + 1 == l.length && o(c, "bottom", f);
      }
      return f.join(`
`);
    }
    get width() {
      return this.toString().split(`
`)[0].length;
    }
  };
  h.reset = () => r.reset();
  function o(n, u, l) {
    let f = [];
    n.forEach(function(c) {
      f.push(c.draw(u));
    });
    let a = f.join("");
    a.length && l.push(a);
  }
  t.exports = h;
})), pv = /* @__PURE__ */ P(((e, t) => {
  t.exports = dv();
})), Bo = /* @__PURE__ */ Nt(pv(), 1), $s = 10, fc = (e = 0) => (t) => `\x1B[${t + e}m`, dc = (e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, pc = (e = 0) => (t, r, i) => `\x1B[${38 + e};2;${t};${r};${i}m`, st = {
  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]
  }
}, oL = Object.keys(st.modifier), gv = Object.keys(st.color), mv = Object.keys(st.bgColor), lL = [...gv, ...mv];
function vv() {
  const e = /* @__PURE__ */ new Map();
  for (const [t, r] of Object.entries(st)) {
    for (const [i, s] of Object.entries(r))
      st[i] = {
        open: `\x1B[${s[0]}m`,
        close: `\x1B[${s[1]}m`
      }, r[i] = st[i], e.set(s[0], s[1]);
    Object.defineProperty(st, t, {
      value: r,
      enumerable: !1
    });
  }
  return Object.defineProperty(st, "codes", {
    value: e,
    enumerable: !1
  }), st.color.close = "\x1B[39m", st.bgColor.close = "\x1B[49m", st.color.ansi = fc(), st.color.ansi256 = dc(), st.color.ansi16m = pc(), st.bgColor.ansi = fc($s), st.bgColor.ansi256 = dc($s), st.bgColor.ansi16m = pc($s), Object.defineProperties(st, {
    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((h) => h + h).join(""));
        const s = Number.parseInt(i, 16);
        return [
          s >> 16 & 255,
          s >> 8 & 255,
          s & 255
        ];
      },
      enumerable: !1
    },
    hexToAnsi256: {
      value: (t) => st.rgbToAnsi256(...st.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 h = Math.max(r, i, s) * 2;
        if (h === 0) return 30;
        let o = 30 + (Math.round(s) << 2 | Math.round(i) << 1 | Math.round(r));
        return h === 2 && (o += 60), o;
      },
      enumerable: !1
    },
    rgbToAnsi: {
      value: (t, r, i) => st.ansi256ToAnsi(st.rgbToAnsi256(t, r, i)),
      enumerable: !1
    },
    hexToAnsi: {
      value: (t) => st.ansi256ToAnsi(st.hexToAnsi256(t)),
      enumerable: !1
    }
  }), st;
}
var Jt = vv();
function jt(e, t = globalThis.Deno ? globalThis.Deno.args : Ui.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: at } = Ui, wn;
jt("no-color") || jt("no-colors") || jt("color=false") || jt("color=never") ? wn = 0 : (jt("color") || jt("colors") || jt("color=true") || jt("color=always")) && (wn = 1);
function yv() {
  if ("FORCE_COLOR" in at)
    return at.FORCE_COLOR === "true" ? 1 : at.FORCE_COLOR === "false" ? 0 : at.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(at.FORCE_COLOR, 10), 3);
}
function _v(e) {
  return e === 0 ? !1 : {
    level: e,
    hasBasic: !0,
    has256: e >= 2,
    has16m: e >= 3
  };
}
function bv(e, { streamIsTTY: t, sniffFlags: r = !0 } = {}) {
  const i = yv();
  i !== void 0 && (wn = i);
  const s = r ? wn : i;
  if (s === 0) return 0;
  if (r) {
    if (jt("color=16m") || jt("color=full") || jt("color=truecolor")) return 3;
    if (jt("color=256")) return 2;
  }
  if ("TF_BUILD" in at && "AGENT_NAME" in at) return 1;
  if (e && !t && s === void 0) return 0;
  const h = s || 0;
  if (at.TERM === "dumb") return h;
  if (Ui.platform === "win32") {
    const o = Oi.release().split(".");
    return Number(o[0]) >= 10 && Number(o[2]) >= 10586 ? Number(o[2]) >= 14931 ? 3 : 2 : 1;
  }
  if ("CI" in at)
    return [
      "GITHUB_ACTIONS",
      "GITEA_ACTIONS",
      "CIRCLECI"
    ].some((o) => o in at) ? 3 : [
      "TRAVIS",
      "APPVEYOR",
      "GITLAB_CI",
      "BUILDKITE",
      "DRONE"
    ].some((o) => o in at) || at.CI_NAME === "codeship" ? 1 : h;
  if ("TEAMCITY_VERSION" in at) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(at.TEAMCITY_VERSION) ? 1 : 0;
  if (at.COLORTERM === "truecolor" || at.TERM === "xterm-kitty" || at.TERM === "xterm-ghostty" || at.TERM === "wezterm") return 3;
  if ("TERM_PROGRAM" in at) {
    const o = Number.parseInt((at.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
    switch (at.TERM_PROGRAM) {
      case "iTerm.app":
        return o >= 3 ? 3 : 2;
      case "Apple_Terminal":
        return 2;
    }
  }
  return /-256(color)?$/i.test(at.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(at.TERM) || "COLORTERM" in at ? 1 : h;
}
function gc(e, t = {}) {
  return _v(bv(e, {
    streamIsTTY: e && e.isTTY,
    ...t
  }));
}
var wv = {
  stdout: gc({ isTTY: uc.isatty(1) }),
  stderr: gc({ isTTY: uc.isatty(2) })
};
function Ev(e, t, r) {
  let i = e.indexOf(t);
  if (i === -1) return e;
  const s = t.length;
  let h = 0, o = "";
  do
    o += e.slice(h, i) + t + r, h = i + s, i = e.indexOf(t, h);
  while (i !== -1);
  return o += e.slice(h), o;
}
function Sv(e, t, r, i) {
  let s = 0, h = "";
  do {
    const o = e[i - 1] === "\r";
    h += e.slice(s, o ? i - 1 : i) + t + (o ? `\r
` : `
`) + r, s = i + 1, i = e.indexOf(`
`, s);
  } while (i !== -1);
  return h += e.slice(s), h;
}
var { stdout: mc, stderr: vc } = wv, ra = /* @__PURE__ */ Symbol("GENERATOR"), Jr = /* @__PURE__ */ Symbol("STYLER"), Ci = /* @__PURE__ */ Symbol("IS_EMPTY"), yc = [
  "ansi",
  "ansi",
  "ansi256",
  "ansi16m"
], Xr = /* @__PURE__ */ Object.create(null), Av = (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 = mc ? mc.level : 0;
  e.level = t.level === void 0 ? r : t.level;
}, Tv = class {
  constructor(e) {
    return oh(e);
  }
}, oh = (e) => {
  const t = (...r) => r.join(" ");
  return Av(t, e), Object.setPrototypeOf(t, Hi.prototype), t;
};
function Hi(e) {
  return oh(e);
}
Object.setPrototypeOf(Hi.prototype, Function.prototype);
for (const [e, t] of Object.entries(Jt)) Xr[e] = { get() {
  const r = En(this, na(t.open, t.close, this[Jr]), this[Ci]);
  return Object.defineProperty(this, e, { value: r }), r;
} };
Xr.visible = { get() {
  const e = En(this, this[Jr], !0);
  return Object.defineProperty(this, "visible", { value: e }), e;
} };
var ia = (e, t, r, ...i) => e === "rgb" ? t === "ansi16m" ? Jt[r].ansi16m(...i) : t === "ansi256" ? Jt[r].ansi256(Jt.rgbToAnsi256(...i)) : Jt[r].ansi(Jt.rgbToAnsi(...i)) : e === "hex" ? ia("rgb", t, r, ...Jt.hexToRgb(...i)) : Jt[r][e](...i);
for (const e of [
  "rgb",
  "hex",
  "ansi256"
]) {
  Xr[e] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = na(ia(e, yc[r], "color", ...i), Jt.color.close, this[Jr]);
      return En(this, s, this[Ci]);
    };
  } };
  const t = "bg" + e[0].toUpperCase() + e.slice(1);
  Xr[t] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = na(ia(e, yc[r], "bgColor", ...i), Jt.bgColor.close, this[Jr]);
      return En(this, s, this[Ci]);
    };
  } };
}
var Dv = Object.defineProperties(() => {
}, {
  ...Xr,
  level: {
    enumerable: !0,
    get() {
      return this[ra].level;
    },
    set(e) {
      this[ra].level = e;
    }
  }
}), na = (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
  };
}, En = (e, t, r) => {
  const i = (...s) => Rv(i, s.length === 1 ? "" + s[0] : s.join(" "));
  return Object.setPrototypeOf(i, Dv), i[ra] = e, i[Jr] = t, i[Ci] = r, i;
}, Rv = (e, t) => {
  if (e.level <= 0 || !t) return e[Ci] ? "" : t;
  let r = e[Jr];
  if (r === void 0) return t;
  const { openAll: i, closeAll: s } = r;
  if (t.includes("\x1B")) for (; r !== void 0; )
    t = Ev(t, r.close, r.open), r = r.parent;
  const h = t.indexOf(`
`);
  return h !== -1 && (t = Sv(t, s, i, h)), i + t + s;
};
Object.defineProperties(Hi.prototype, Xr);
var Ov = Hi(), cL = Hi({ level: vc ? vc.level : 0 });
function rt(e, t, r = {}) {
  const i = Array.isArray(e);
  return t = t || ((s) => ({ [s]: !0 })), Object.entries(e || {}).forEach(([s, h], o) => {
    const n = i ? t(h, o, r) : t(s, h, r);
    Object.entries(n || {}).forEach((u) => {
      r[u[0]] = u[1];
    });
  }), r;
}
var lh = {
  blue: !0,
  bold: !0,
  cyan: !0,
  dim: !0,
  gray: !0,
  green: !0,
  magenta: !0,
  red: !0,
  reset: !0,
  underline: !0,
  yellow: !0
}, Cv = rt(lh, (e) => ({ [e]: Object.assign((t) => t.toString(), {
  bold: (t) => t.toString(),
  underline: (t) => t.toString()
}) })), Di, Un = (e) => e === !0 ? new Tv({ level: 1 }) : e === null ? Cv : Ov, ch = (e) => {
  Di = Un(e);
}, Ns = () => {
  if (!Di) throw new Error("Chalk has not been imported yet.");
}, ve = rt(lh, (e) => {
  const t = (r) => (Ns(), Di[e](r));
  return t.bold = (r) => (Ns(), Di[e].bold(r)), t.underline = (r) => (Ns(), Di[e].underline(r)), { [e]: t };
}), br = (e, t) => rt(e, (r, i) => t(r, i) ? { [r]: i } : null), Ii = (e) => Qe.stat(e).then(() => !0, () => !1), Iv = Wg(import.meta.url);
async function Fo(e, { pkgFile: t } = {}) {
  const r = Iv.resolve.paths(e) || [], i = t ? [ze.join(ze.dirname(t), "node_modules")] : [], s = [ze.join(process.cwd(), "node_modules")], h = [
    ...i,
    ...s,
    ...r
  ];
  for (const o of h) {
    const n = ze.join(o, e, "package.json");
    if (await Ii(n)) try {
      return JSON.parse(await Qe.readFile(n, "utf-8"));
    } catch {
    }
  }
  return null;
}
async function kv(e, t, { pkgFile: r } = {}) {
  return t ? t.version : (await Fo(e, { pkgFile: r }))?.version ?? null;
}
var qi = /* @__PURE__ */ P(((e) => {
  var t = (m, g) => () => (g || m((g = { exports: {} }).exports, g), g.exports), r = t((m) => {
    "use strict";
    Object.defineProperty(m, "__esModule", { value: !0 }), m.tracing = m.metrics = void 0;
    var g = ge("node:diagnostics_channel");
    m.metrics = (0, g.channel)("lru-cache:metrics"), m.tracing = (0, g.tracingChannel)("lru-cache");
  });
  Object.defineProperty(e, "__esModule", { value: !0 }), e.LRUCache = void 0;
  var i = r(), s = () => i.metrics.hasSubscribers || i.tracing.hasSubscribers, h = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, o = /* @__PURE__ */ new Set(), n = typeof process == "object" && process ? process : {}, u = (m, g, v, y) => {
    typeof n.emitWarning == "function" ? n.emitWarning(m, g, v, y) : console.error(`[${v}] ${g}: ${m}`);
  }, l = (m) => !o.has(m), f = (m) => !!m && m === Math.floor(m) && m > 0 && isFinite(m), a = (m) => f(m) ? m <= Math.pow(2, 8) ? Uint8Array : m <= Math.pow(2, 16) ? Uint16Array : m <= Math.pow(2, 32) ? Uint32Array : m <= Number.MAX_SAFE_INTEGER ? c : null : null, c = class extends Array {
    constructor(m) {
      super(m), this.fill(0);
    }
  }, d = class wi {
    heap;
    length;
    static #e = !1;
    static create(g) {
      let v = a(g);
      if (!v) return [];
      wi.#e = !0;
      let y = new wi(g, v);
      return wi.#e = !1, y;
    }
    constructor(g, v) {
      if (!wi.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
      this.heap = new v(g), this.length = 0;
    }
    push(g) {
      this.heap[this.length++] = g;
    }
    pop() {
      return this.heap[--this.length];
    }
  }, p = class uh {
    #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;
    #$;
    static unsafeExposeInternals(g) {
      return {
        starts: g.#D,
        ttls: g.#_,
        autopurgeTimers: g.#b,
        sizes: g.#T,
        keyMap: g.#h,
        keyList: g.#l,
        valList: g.#i,
        next: g.#v,
        prev: g.#E,
        get head() {
          return g.#y;
        },
        get tail() {
          return g.#g;
        },
        free: g.#R,
        isBackgroundFetch: (v) => g.#d(v),
        backgroundFetch: (v, y, E, b) => g.#B(v, y, E, b),
        moveToTail: (v) => g.#K(v),
        indexes: (v) => g.#C(v),
        rindexes: (v) => g.#I(v),
        isStale: (v) => g.#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(g) {
      let { max: v = 0, ttl: y, ttlResolution: E = 1, ttlAutopurge: b, updateAgeOnGet: w, updateAgeOnHas: _, allowStale: S, dispose: T, onInsert: D, disposeAfter: R, noDisposeOnSet: j, noUpdateTTL: M, maxSize: G = 0, maxEntrySize: Y = 0, sizeCalculation: H, fetchMethod: I, memoMethod: $, noDeleteOnFetchRejection: q, noDeleteOnStaleGet: z, allowStaleOnFetchRejection: F, allowStaleOnFetchAbort: x, ignoreFetchAbort: L, perf: C } = g;
      if (C !== void 0 && typeof C?.now != "function") throw new TypeError("perf option must have a now() method if specified");
      if (this.#u = C ?? h, v !== 0 && !f(v)) throw new TypeError("max option must be a nonnegative integer");
      let N = v ? a(v) : Array;
      if (!N) throw new Error("invalid max value: " + v);
      if (this.#e = v, this.#t = G, this.maxEntrySize = Y || this.#t, this.sizeCalculation = H, 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 ($ !== void 0 && typeof $ != "function") throw new TypeError("memoMethod must be a function if defined");
      if (this.#f = $, I !== void 0 && typeof I != "function") throw new TypeError("fetchMethod must be a function if specified");
      if (this.#c = I, this.#O = !!I, 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 N(v), this.#E = new N(v), this.#y = 0, this.#g = 0, this.#R = d.create(v), this.#o = 0, this.#p = 0, typeof T == "function" && (this.#r = T), typeof D == "function" && (this.#n = D), typeof R == "function" ? (this.#s = R, this.#m = []) : (this.#s = void 0, this.#m = void 0), this.#A = !!this.#r, this.#$ = !!this.#n, this.#a = !!this.#s, this.noDisposeOnSet = !!j, this.noUpdateTTL = !!M, this.noDeleteOnFetchRejection = !!q, this.allowStaleOnFetchRejection = !!F, this.allowStaleOnFetchAbort = !!x, this.ignoreFetchAbort = !!L, this.maxEntrySize !== 0) {
        if (this.#t !== 0 && !f(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
        if (!f(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
        this.#W();
      }
      if (this.allowStale = !!S, this.noDeleteOnStaleGet = !!z, this.updateAgeOnGet = !!w, this.updateAgeOnHas = !!_, this.ttlResolution = f(E) || E === 0 ? E : 1, this.ttlAutopurge = !!b, this.ttl = y || 0, this.ttl) {
        if (!f(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
        this.#N();
      }
      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 K = "LRU_CACHE_UNBOUNDED";
        l(K) && (o.add(K), u("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", K, uh));
      }
    }
    getRemainingTTL(g) {
      return this.#h.has(g) ? 1 / 0 : 0;
    }
    #N() {
      let g = new c(this.#e), v = new c(this.#e);
      this.#_ = g, this.#D = v;
      let y = this.ttlAutopurge ? Array.from({ length: this.#e }) : void 0;
      this.#b = y, this.#M = (_, S, T = this.#u.now()) => {
        v[_] = S !== 0 ? T : 0, g[_] = S, E(_, S);
      }, this.#k = (_) => {
        v[_] = g[_] !== 0 ? this.#u.now() : 0, E(_, g[_]);
      };
      let E = this.ttlAutopurge ? (_, S) => {
        if (y?.[_] && (clearTimeout(y[_]), y[_] = void 0), S && S !== 0 && y) {
          let T = setTimeout(() => {
            this.#S(_) && this.#z(this.#l[_], "expire");
          }, S + 1);
          T.unref && T.unref(), y[_] = T;
        }
      } : () => {
      };
      this.#L = (_, S) => {
        if (g[S]) {
          let T = g[S], D = v[S];
          if (!T || !D) return;
          _.ttl = T, _.start = D, _.now = b || w(), _.remainingTTL = T - (_.now - D);
        }
      };
      let b = 0, w = () => {
        let _ = this.#u.now();
        if (this.ttlResolution > 0) {
          b = _;
          let S = setTimeout(() => b = 0, this.ttlResolution);
          S.unref && S.unref();
        }
        return _;
      };
      this.getRemainingTTL = (_) => {
        let S = this.#h.get(_);
        if (S === void 0) return 0;
        let T = g[S], D = v[S];
        return !T || !D ? 1 / 0 : T - ((b || w()) - D);
      }, this.#S = (_) => {
        let S = v[_], T = g[_];
        return !!T && !!S && (b || w()) - S > T;
      };
    }
    #k = () => {
    };
    #L = () => {
    };
    #M = () => {
    };
    #S = () => !1;
    #W() {
      let g = new c(this.#e);
      this.#p = 0, this.#T = g, this.#x = (v) => {
        this.#p -= g[v], g[v] = 0;
      }, this.#j = (v, y, E, b) => {
        if (this.#d(y)) return 0;
        if (!f(E)) if (b) {
          if (typeof b != "function") throw new TypeError("sizeCalculation must be a function");
          if (E = b(y, v), !f(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, y, E) => {
        if (g[v] = y, this.#t) {
          let b = this.#t - g[v];
          for (; this.#p > b; ) this.#H(!0);
        }
        this.#p += g[v], E && (E.entrySize = y, E.totalCalculatedSize = this.#p);
      };
    }
    #x = (g) => {
    };
    #P = (g, v, y) => {
    };
    #j = (g, v, y, E) => {
      if (y || E) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
      return 0;
    };
    *#C({ allowStale: g = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#g; this.#U(v) && ((g || !this.#S(v)) && (yield v), v !== this.#y); ) v = this.#E[v];
    }
    *#I({ allowStale: g = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#y; this.#U(v) && ((g || !this.#S(v)) && (yield v), v !== this.#g); ) v = this.#v[v];
    }
    #U(g) {
      return g !== void 0 && this.#h.get(this.#l[g]) === g;
    }
    *entries() {
      for (let g of this.#C()) this.#i[g] !== void 0 && this.#l[g] !== void 0 && !this.#d(this.#i[g]) && (yield [this.#l[g], this.#i[g]]);
    }
    *rentries() {
      for (let g of this.#I()) this.#i[g] !== void 0 && this.#l[g] !== void 0 && !this.#d(this.#i[g]) && (yield [this.#l[g], this.#i[g]]);
    }
    *keys() {
      for (let g of this.#C()) {
        let v = this.#l[g];
        v !== void 0 && !this.#d(this.#i[g]) && (yield v);
      }
    }
    *rkeys() {
      for (let g of this.#I()) {
        let v = this.#l[g];
        v !== void 0 && !this.#d(this.#i[g]) && (yield v);
      }
    }
    *values() {
      for (let g of this.#C()) this.#i[g] !== void 0 && !this.#d(this.#i[g]) && (yield this.#i[g]);
    }
    *rvalues() {
      for (let g of this.#I()) this.#i[g] !== void 0 && !this.#d(this.#i[g]) && (yield this.#i[g]);
    }
    [Symbol.iterator]() {
      return this.entries();
    }
    [Symbol.toStringTag] = "LRUCache";
    find(g, v = {}) {
      for (let y of this.#C()) {
        let E = this.#i[y], b = this.#d(E) ? E.__staleWhileFetching : E;
        if (b !== void 0 && g(b, this.#l[y], this)) return this.#Y(this.#l[y], v);
      }
    }
    forEach(g, v = this) {
      for (let y of this.#C()) {
        let E = this.#i[y], b = this.#d(E) ? E.__staleWhileFetching : E;
        b !== void 0 && g.call(v, b, this.#l[y], this);
      }
    }
    rforEach(g, v = this) {
      for (let y of this.#I()) {
        let E = this.#i[y], b = this.#d(E) ? E.__staleWhileFetching : E;
        b !== void 0 && g.call(v, b, this.#l[y], this);
      }
    }
    purgeStale() {
      let g = !1;
      for (let v of this.#I({ allowStale: !0 })) this.#S(v) && (this.#z(this.#l[v], "expire"), g = !0);
      return g;
    }
    info(g) {
      let v = this.#h.get(g);
      if (v === void 0) return;
      let y = this.#i[v], E = this.#d(y) ? y.__staleWhileFetching : y;
      if (E === void 0) return;
      let b = { value: E };
      if (this.#_ && this.#D) {
        let w = this.#_[v], _ = this.#D[v];
        w && _ && (b.ttl = w - (this.#u.now() - _), b.start = Date.now());
      }
      return this.#T && (b.size = this.#T[v]), b;
    }
    dump() {
      let g = [];
      for (let v of this.#C({ allowStale: !0 })) {
        let y = this.#l[v], E = this.#i[v], b = this.#d(E) ? E.__staleWhileFetching : E;
        if (b === void 0 || y === void 0) continue;
        let w = { value: b };
        if (this.#_ && this.#D) {
          w.ttl = this.#_[v];
          let _ = this.#u.now() - this.#D[v];
          w.start = Math.floor(Date.now() - _);
        }
        this.#T && (w.size = this.#T[v]), g.unshift([y, w]);
      }
      return g;
    }
    load(g) {
      this.clear();
      for (let [v, y] of g) {
        if (y.start) {
          let E = Date.now() - y.start;
          y.start = this.#u.now() - E;
        }
        this.#F(v, y.value, y);
      }
    }
    set(g, v, y = {}) {
      let { status: E = i.metrics.hasSubscribers ? {} : void 0 } = y;
      y.status = E, E && (E.op = "set", E.key = g, v !== void 0 && (E.value = v));
      let b = this.#F(g, v, y);
      return E && i.metrics.hasSubscribers && i.metrics.publish(E), b;
    }
    #F(g, v, y = {}) {
      let { ttl: E = this.ttl, start: b, noDisposeOnSet: w = this.noDisposeOnSet, sizeCalculation: _ = this.sizeCalculation, status: S } = y;
      if (v === void 0) return S && (S.set = "deleted"), this.delete(g), this;
      let { noUpdateTTL: T = this.noUpdateTTL } = y;
      S && !this.#d(v) && (S.value = v);
      let D = this.#j(g, v, y.size || 0, _, S);
      if (this.maxEntrySize && D > this.maxEntrySize) return this.#z(g, "set"), S && (S.set = "miss", S.maxEntrySizeExceeded = !0), this;
      let R = this.#o === 0 ? void 0 : this.#h.get(g);
      if (R === void 0) R = this.#o === 0 ? this.#g : this.#R.length !== 0 ? this.#R.pop() : this.#o === this.#e ? this.#H(!1) : this.#o, this.#l[R] = g, this.#i[R] = v, this.#h.set(g, R), this.#v[this.#g] = R, this.#E[R] = this.#g, this.#g = R, this.#o++, this.#P(R, D, S), S && (S.set = "add"), T = !1, this.#$ && this.#n?.(v, g, "add");
      else {
        this.#K(R);
        let j = this.#i[R];
        if (v !== j) {
          if (this.#O && this.#d(j)) {
            j.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
            let { __staleWhileFetching: M } = j;
            M !== void 0 && !w && (this.#A && this.#r?.(M, g, "set"), this.#a && this.#m?.push([
              M,
              g,
              "set"
            ]));
          } else w || (this.#A && this.#r?.(j, g, "set"), this.#a && this.#m?.push([
            j,
            g,
            "set"
          ]));
          if (this.#x(R), this.#P(R, D, S), this.#i[R] = v, S) {
            S.set = "replace";
            let M = j && this.#d(j) ? j.__staleWhileFetching : j;
            M !== void 0 && (S.oldValue = M);
          }
        } else S && (S.set = "update");
        this.#$ && this.onInsert?.(v, g, v === j ? "update" : "replace");
      }
      if (E !== 0 && !this.#_ && this.#N(), this.#_ && (T || this.#M(R, E, b), S && this.#L(S, R)), !w && this.#a && this.#m) {
        let j = this.#m, M;
        for (; M = j?.shift(); ) this.#s?.(...M);
      }
      return this;
    }
    pop() {
      try {
        for (; this.#o; ) {
          let g = this.#i[this.#y];
          if (this.#H(!0), this.#d(g)) {
            if (g.__staleWhileFetching) return g.__staleWhileFetching;
          } else if (g !== void 0) return g;
        }
      } finally {
        if (this.#a && this.#m) {
          let g = this.#m, v;
          for (; v = g?.shift(); ) this.#s?.(...v);
        }
      }
    }
    #H(g) {
      let v = this.#y, 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, y, "evict"), this.#a && this.#m?.push([
        E,
        y,
        "evict"
      ])), this.#x(v), this.#b?.[v] && (clearTimeout(this.#b[v]), this.#b[v] = void 0), g && (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(y), this.#o--, v;
    }
    has(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "has", y.key = g);
      let E = this.#w(g, v);
      return i.metrics.hasSubscribers && i.metrics.publish(y), E;
    }
    #w(g, v = {}) {
      let { updateAgeOnHas: y = this.updateAgeOnHas, status: E } = v, b = this.#h.get(g);
      if (b !== void 0) {
        let w = this.#i[b];
        if (this.#d(w) && w.__staleWhileFetching === void 0) return !1;
        if (this.#S(b)) E && (E.has = "stale", this.#L(E, b));
        else return y && this.#k(b), E && (E.has = "hit", this.#L(E, b)), !0;
      } else E && (E.has = "miss");
      return !1;
    }
    peek(g, v = {}) {
      let { status: y = s() ? {} : void 0 } = v;
      y && (y.op = "peek", y.key = g), v.status = y;
      let E = this.#q(g, v);
      return i.metrics.hasSubscribers && i.metrics.publish(y), E;
    }
    #q(g, v) {
      let { status: y, allowStale: E = this.allowStale } = v, b = this.#h.get(g);
      if (b === void 0 || !E && this.#S(b)) {
        y && (y.peek = b === void 0 ? "miss" : "stale");
        return;
      }
      let w = this.#i[b], _ = this.#d(w) ? w.__staleWhileFetching : w;
      return y && (_ !== void 0 ? (y.peek = "hit", y.value = _) : y.peek = "miss"), _;
    }
    #B(g, v, y, E) {
      let b = v === void 0 ? void 0 : this.#i[v];
      if (this.#d(b)) return b;
      let w = new AbortController(), { signal: _ } = y;
      _?.addEventListener("abort", () => w.abort(_.reason), { signal: w.signal });
      let S = {
        signal: w.signal,
        options: y,
        context: E
      }, T = (Y, H = !1) => {
        let { aborted: I } = w.signal, $ = y.ignoreFetchAbort && Y !== void 0, q = y.ignoreFetchAbort || !!(y.allowStaleOnFetchAbort && Y !== void 0);
        if (y.status && (I && !H ? (y.status.fetchAborted = !0, y.status.fetchError = w.signal.reason, $ && (y.status.fetchAbortIgnored = !0)) : y.status.fetchResolved = !0), I && !$ && !H) return R(w.signal.reason, q);
        let z = M, F = this.#i[v];
        return (F === M || F === void 0 && $ && H) && (Y === void 0 ? z.__staleWhileFetching !== void 0 ? this.#i[v] = z.__staleWhileFetching : this.#z(g, "fetch") : (y.status && (y.status.fetchUpdated = !0), this.#F(g, Y, S.options))), Y;
      }, D = (Y) => (y.status && (y.status.fetchRejected = !0, y.status.fetchError = Y), R(Y, !1)), R = (Y, H) => {
        let { aborted: I } = w.signal, $ = I && y.allowStaleOnFetchAbort, q = $ || y.allowStaleOnFetchRejection, z = q || y.noDeleteOnFetchRejection, F = M;
        if (this.#i[v] === M && (!z || !H && F.__staleWhileFetching === void 0 ? this.#z(g, "fetch") : $ || (this.#i[v] = F.__staleWhileFetching)), q) return y.status && F.__staleWhileFetching !== void 0 && (y.status.returnedStale = !0), F.__staleWhileFetching;
        if (F.__returned === F) throw Y;
      }, j = (Y, H) => {
        let I = this.#c?.(g, b, S);
        I && I instanceof Promise && I.then(($) => Y($ === void 0 ? void 0 : $), H), w.signal.addEventListener("abort", () => {
          (!y.ignoreFetchAbort || y.allowStaleOnFetchAbort) && (Y(void 0), y.allowStaleOnFetchAbort && (Y = ($) => T($, !0)));
        });
      };
      y.status && (y.status.fetchDispatched = !0);
      let M = new Promise(j).then(T, D), G = Object.assign(M, {
        __abortController: w,
        __staleWhileFetching: b,
        __returned: void 0
      });
      return v === void 0 ? (this.#F(g, G, {
        ...S.options,
        status: void 0
      }), v = this.#h.get(g)) : this.#i[v] = G, G;
    }
    #d(g) {
      if (!this.#O) return !1;
      let v = g;
      return !!v && v instanceof Promise && v.hasOwnProperty("__staleWhileFetching") && v.__abortController instanceof AbortController;
    }
    fetch(g, v = {}) {
      let y = i.tracing.hasSubscribers, { status: E = s() ? {} : void 0 } = v;
      v.status = E, E && v.context && (E.context = v.context);
      let b = this.#G(g, v);
      return E && s() && y && (E.trace = !0, i.tracing.tracePromise(() => b, E).catch(() => {
      })), b;
    }
    async #G(g, v = {}) {
      let { allowStale: y = this.allowStale, updateAgeOnGet: E = this.updateAgeOnGet, noDeleteOnStaleGet: b = this.noDeleteOnStaleGet, ttl: w = this.ttl, noDisposeOnSet: _ = this.noDisposeOnSet, size: S = 0, sizeCalculation: T = this.sizeCalculation, noUpdateTTL: D = this.noUpdateTTL, noDeleteOnFetchRejection: R = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: j = this.allowStaleOnFetchRejection, ignoreFetchAbort: M = this.ignoreFetchAbort, allowStaleOnFetchAbort: G = this.allowStaleOnFetchAbort, context: Y, forceRefresh: H = !1, status: I, signal: $ } = v;
      if (I && (I.op = "fetch", I.key = g, H && (I.forceRefresh = !0)), !this.#O) return I && (I.fetch = "get"), this.#Y(g, {
        allowStale: y,
        updateAgeOnGet: E,
        noDeleteOnStaleGet: b,
        status: I
      });
      let q = {
        allowStale: y,
        updateAgeOnGet: E,
        noDeleteOnStaleGet: b,
        ttl: w,
        noDisposeOnSet: _,
        size: S,
        sizeCalculation: T,
        noUpdateTTL: D,
        noDeleteOnFetchRejection: R,
        allowStaleOnFetchRejection: j,
        allowStaleOnFetchAbort: G,
        ignoreFetchAbort: M,
        status: I,
        signal: $
      }, z = this.#h.get(g);
      if (z === void 0) {
        I && (I.fetch = "miss");
        let F = this.#B(g, z, q, Y);
        return F.__returned = F;
      } else {
        let F = this.#i[z];
        if (this.#d(F)) {
          let N = y && F.__staleWhileFetching !== void 0;
          return I && (I.fetch = "inflight", N && (I.returnedStale = !0)), N ? F.__staleWhileFetching : F.__returned = F;
        }
        let x = this.#S(z);
        if (!H && !x) return I && (I.fetch = "hit"), this.#K(z), E && this.#k(z), I && this.#L(I, z), F;
        let L = this.#B(g, z, q, Y), C = L.__staleWhileFetching !== void 0 && y;
        return I && (I.fetch = x ? "stale" : "refresh", C && x && (I.returnedStale = !0)), C ? L.__staleWhileFetching : L.__returned = L;
      }
    }
    forceFetch(g, v = {}) {
      let y = i.tracing.hasSubscribers, { status: E = s() ? {} : void 0 } = v;
      v.status = E, E && v.context && (E.context = v.context);
      let b = this.#V(g, v);
      return E && s() && y && (E.trace = !0, i.tracing.tracePromise(() => b, E).catch(() => {
      })), b;
    }
    async #V(g, v = {}) {
      let y = await this.#G(g, v);
      if (y === void 0) throw new Error("fetch() returned undefined");
      return y;
    }
    memo(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "memo", y.key = g, v.context && (y.context = v.context));
      let E = this.#X(g, v);
      return y && (y.value = E), i.metrics.hasSubscribers && i.metrics.publish(y), E;
    }
    #X(g, v = {}) {
      let y = this.#f;
      if (!y) throw new Error("no memoMethod provided to constructor");
      let { context: E, status: b, forceRefresh: w, ..._ } = v;
      b && w && (b.forceRefresh = !0);
      let S = this.#Y(g, _), T = w || S === void 0;
      if (b && (b.memo = T ? "miss" : "hit", T || (b.value = S)), !T) return S;
      let D = y(g, S, {
        options: _,
        context: E
      });
      return b && (b.value = D), this.#F(g, D, _), D;
    }
    get(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "get", y.key = g);
      let E = this.#Y(g, v);
      return y && (E !== void 0 && (y.value = E), i.metrics.hasSubscribers && i.metrics.publish(y)), E;
    }
    #Y(g, v = {}) {
      let { allowStale: y = this.allowStale, updateAgeOnGet: E = this.updateAgeOnGet, noDeleteOnStaleGet: b = this.noDeleteOnStaleGet, status: w } = v, _ = this.#h.get(g);
      if (_ === void 0) {
        w && (w.get = "miss");
        return;
      }
      let S = this.#i[_], T = this.#d(S);
      return w && this.#L(w, _), this.#S(_) ? T ? (w && (w.get = "stale-fetching"), y && S.__staleWhileFetching !== void 0 ? (w && (w.returnedStale = !0), S.__staleWhileFetching) : void 0) : (b || this.#z(g, "expire"), w && (w.get = "stale"), y ? (w && (w.returnedStale = !0), S) : void 0) : (w && (w.get = T ? "fetching" : "hit"), this.#K(_), E && this.#k(_), T ? S.__staleWhileFetching : S);
    }
    #Z(g, v) {
      this.#E[v] = g, this.#v[g] = v;
    }
    #K(g) {
      g !== this.#g && (g === this.#y ? this.#y = this.#v[g] : this.#Z(this.#E[g], this.#v[g]), this.#Z(this.#g, g), this.#g = g);
    }
    delete(g) {
      return this.#z(g, "delete");
    }
    #z(g, v) {
      i.metrics.hasSubscribers && i.metrics.publish({
        op: "delete",
        delete: v,
        key: g
      });
      let y = !1;
      if (this.#o !== 0) {
        let E = this.#h.get(g);
        if (E !== void 0) if (this.#b?.[E] && (clearTimeout(this.#b?.[E]), this.#b[E] = void 0), y = !0, this.#o === 1) this.#J(v);
        else {
          this.#x(E);
          let b = this.#i[E];
          if (this.#d(b) ? b.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#a) && (this.#A && this.#r?.(b, g, v), this.#a && this.#m?.push([
            b,
            g,
            v
          ])), this.#h.delete(g), 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 _ = this.#v[E];
            this.#E[_] = this.#E[E];
          }
          this.#o--, this.#R.push(E);
        }
      }
      if (this.#a && this.#m?.length) {
        let E = this.#m, b;
        for (; b = E?.shift(); ) this.#s?.(...b);
      }
      return y;
    }
    clear() {
      return this.#J("delete");
    }
    #J(g) {
      for (let v of this.#I({ allowStale: !0 })) {
        let y = this.#i[v];
        if (this.#d(y)) y.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
        else {
          let E = this.#l[v];
          this.#A && this.#r?.(y, E, g), this.#a && this.#m?.push([
            y,
            E,
            g
          ]);
        }
      }
      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, y;
        for (; y = v?.shift(); ) this.#s?.(...y);
      }
    }
  };
  e.LRUCache = p;
})), Lv = /* @__PURE__ */ P(((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, "-"), h = {
    sshtemplate: ({ domain: n, user: u, project: l, committish: f }) => `git@${n}:${u}/${l}.git${r("#", f)}`,
    sshurltemplate: ({ domain: n, user: u, project: l, committish: f }) => `git+ssh://git@${n}/${u}/${l}.git${r("#", f)}`,
    edittemplate: ({ domain: n, user: u, project: l, committish: f, editpath: a, path: c }) => `https://${n}/${u}/${l}${r("/", a, "/", i(f || "HEAD"), "/", c)}`,
    browsetemplate: ({ domain: n, user: u, project: l, committish: f, treepath: a }) => `https://${n}/${u}/${l}${r("/", a, "/", i(f))}`,
    browsetreetemplate: ({ domain: n, user: u, project: l, committish: f, treepath: a, path: c, fragment: d, hashformat: p }) => `https://${n}/${u}/${l}/${a}/${i(f || "HEAD")}/${c}${r("#", p(d || ""))}`,
    browseblobtemplate: ({ domain: n, user: u, project: l, committish: f, blobpath: a, path: c, fragment: d, hashformat: p }) => `https://${n}/${u}/${l}/${a}/${i(f || "HEAD")}/${c}${r("#", p(d || ""))}`,
    docstemplate: ({ domain: n, user: u, project: l, treepath: f, committish: a }) => `https://${n}/${u}/${l}${r("/", f, "/", i(a))}#readme`,
    httpstemplate: ({ auth: n, domain: u, user: l, project: f, committish: a }) => `git+https://${r(n, "@")}${u}/${l}/${f}.git${r("#", a)}`,
    filetemplate: ({ domain: n, user: u, project: l, committish: f, path: a }) => `https://${n}/${u}/${l}/raw/${i(f || "HEAD")}/${a}`,
    shortcuttemplate: ({ type: n, user: u, project: l, committish: f }) => `${n}:${u}/${l}${r("#", f)}`,
    pathtemplate: ({ user: n, project: u, committish: l }) => `${n}/${u}${r("#", l)}`,
    bugstemplate: ({ domain: n, user: u, project: l }) => `https://${n}/${u}/${l}/issues`,
    hashformat: s
  }, o = {};
  o.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: l, committish: f, path: a }) => `https://${r(n, "@")}raw.githubusercontent.com/${u}/${l}/${i(f || "HEAD")}/${a}`,
    gittemplate: ({ auth: n, domain: u, user: l, project: f, committish: a }) => `git://${r(n, "@")}${u}/${l}/${f}.git${r("#", a)}`,
    tarballtemplate: ({ domain: n, user: u, project: l, committish: f }) => `https://codeload.${n}/${u}/${l}/tar.gz/${i(f || "HEAD")}`,
    extract: (n) => {
      let [, u, l, f, a] = n.pathname.split("/", 5);
      if (!(f && f !== "tree") && (f || (a = n.hash.slice(1)), l && l.endsWith(".git") && (l = l.slice(0, -4)), !(!u || !l)))
        return {
          user: u,
          project: l,
          committish: a
        };
    }
  }, o.bitbucket = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "bitbucket.org",
    treepath: "src",
    blobpath: "src",
    editpath: "?mode=edit",
    edittemplate: ({ domain: n, user: u, project: l, committish: f, treepath: a, path: c, editpath: d }) => `https://${n}/${u}/${l}${r("/", a, "/", i(f || "HEAD"), "/", c, d)}`,
    tarballtemplate: ({ domain: n, user: u, project: l, committish: f }) => `https://${n}/${u}/${l}/get/${i(f || "HEAD")}.tar.gz`,
    extract: (n) => {
      let [, u, l, f] = n.pathname.split("/", 4);
      if (!["get"].includes(f) && (l && l.endsWith(".git") && (l = l.slice(0, -4)), !(!u || !l)))
        return {
          user: u,
          project: l,
          committish: n.hash.slice(1)
        };
    }
  }, o.gitlab = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gitlab.com",
    treepath: "tree",
    blobpath: "tree",
    editpath: "-/edit",
    tarballtemplate: ({ domain: n, user: u, project: l, committish: f }) => `https://${n}/${u}/${l}/repository/archive.tar.gz?ref=${i(f || "HEAD")}`,
    extract: (n) => {
      const u = n.pathname.slice(1);
      if (u.includes("/-/") || u.includes("/archive.tar.gz")) return;
      const l = u.split("/");
      let f = l.pop();
      f.endsWith(".git") && (f = f.slice(0, -4));
      const a = l.join("/");
      if (!(!a || !f))
        return {
          user: a,
          project: f,
          committish: n.hash.slice(1)
        };
    }
  }, o.gist = {
    protocols: [
      "git:",
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gist.github.com",
    editpath: "edit",
    sshtemplate: ({ domain: n, project: u, committish: l }) => `git@${n}:${u}.git${r("#", l)}`,
    sshurltemplate: ({ domain: n, project: u, committish: l }) => `git+ssh://git@${n}/${u}.git${r("#", l)}`,
    edittemplate: ({ domain: n, user: u, project: l, committish: f, editpath: a }) => `https://${n}/${u}/${l}${r("/", i(f))}/${a}`,
    browsetemplate: ({ domain: n, project: u, committish: l }) => `https://${n}/${u}${r("/", i(l))}`,
    browsetreetemplate: ({ domain: n, project: u, committish: l, path: f, hashformat: a }) => `https://${n}/${u}${r("/", i(l))}${r("#", a(f))}`,
    browseblobtemplate: ({ domain: n, project: u, committish: l, path: f, hashformat: a }) => `https://${n}/${u}${r("/", i(l))}${r("#", a(f))}`,
    docstemplate: ({ domain: n, project: u, committish: l }) => `https://${n}/${u}${r("/", i(l))}`,
    httpstemplate: ({ domain: n, project: u, committish: l }) => `git+https://${n}/${u}.git${r("#", l)}`,
    filetemplate: ({ user: n, project: u, committish: l, path: f }) => `https://gist.githubusercontent.com/${n}/${u}/raw${r("/", i(l))}/${f}`,
    shortcuttemplate: ({ type: n, project: u, committish: l }) => `${n}:${u}${r("#", l)}`,
    pathtemplate: ({ project: n, committish: u }) => `${n}${r("#", u)}`,
    bugstemplate: ({ domain: n, project: u }) => `https://${n}/${u}`,
    gittemplate: ({ domain: n, project: u, committish: l }) => `git://${n}/${u}.git${r("#", l)}`,
    tarballtemplate: ({ project: n, committish: u }) => `https://codeload.github.com/gist/${n}/tar.gz/${i(u || "HEAD")}`,
    extract: (n) => {
      let [, u, l, f] = n.pathname.split("/", 4);
      if (f !== "raw") {
        if (!l) {
          if (!u) return;
          l = u, u = null;
        }
        return l.endsWith(".git") && (l = l.slice(0, -4)), {
          user: u,
          project: l,
          committish: n.hash.slice(1)
        };
      }
    },
    hashformat: function(n) {
      return n && "file-" + s(n);
    }
  }, o.sourcehut = {
    protocols: ["git+ssh:", "https:"],
    domain: "git.sr.ht",
    treepath: "tree",
    blobpath: "tree",
    filetemplate: ({ domain: n, user: u, project: l, committish: f, path: a }) => `https://${n}/${u}/${l}/blob/${i(f) || "HEAD"}/${a}`,
    httpstemplate: ({ domain: n, user: u, project: l, committish: f }) => `https://${n}/${u}/${l}.git${r("#", f)}`,
    tarballtemplate: ({ domain: n, user: u, project: l, committish: f }) => `https://${n}/${u}/${l}/archive/${i(f) || "HEAD"}.tar.gz`,
    bugstemplate: () => null,
    extract: (n) => {
      let [, u, l, f] = n.pathname.split("/", 4);
      if (!["archive"].includes(f) && (l && l.endsWith(".git") && (l = l.slice(0, -4)), !(!u || !l)))
        return {
          user: u,
          project: l,
          committish: n.hash.slice(1)
        };
    }
  };
  for (const [n, u] of Object.entries(o)) o[n] = Object.assign({}, h, u);
  t.exports = o;
})), hh = /* @__PURE__ */ P(((e, t) => {
  var r = ge("url"), i = (n, u, l) => {
    const f = n.indexOf(l);
    return n.lastIndexOf(u, f > -1 ? f : 1 / 0);
  }, s = (n) => {
    try {
      return new r.URL(n);
    } catch {
    }
  }, h = (n, u) => {
    const l = n.indexOf(":"), f = n.slice(0, l + 1);
    if (Object.prototype.hasOwnProperty.call(u, f) || n.substr(l, 3) === "://") return n;
    const a = n.indexOf("@");
    return a > -1 ? a > l ? `git+ssh://${n}` : n : `${n.slice(0, l + 1)}//${n.slice(l + 1)}`;
  }, o = (n) => {
    const u = i(n, "@", "#"), l = i(n, ":", "#");
    return l > u && (n = n.slice(0, l) + "/" + n.slice(l + 1)), i(n, ":", "#") === -1 && n.indexOf("//") === -1 && (n = `git+ssh://${n}`), n;
  };
  t.exports = (n, u) => {
    const l = u ? h(n, u) : n;
    return s(l) || s(o(l));
  };
})), $v = /* @__PURE__ */ P(((e, t) => {
  var r = hh(), i = (s) => {
    const h = s.indexOf("#"), o = s.indexOf("/"), n = s.indexOf("/", o + 1), u = s.indexOf(":"), l = /\s/.exec(s), f = s.indexOf("@"), a = !l || h > -1 && l.index > h, c = f === -1 || h > -1 && f > h, d = u === -1 || h > -1 && u > h, p = n === -1 || h > -1 && n > h, m = o > 0, g = h > -1 ? s[h - 1] !== "/" : !s.endsWith("/"), v = !s.startsWith(".");
    return a && m && g && v && c && d && p;
  };
  t.exports = (s, h, { gitHosts: o, protocols: n }) => {
    if (!s) return;
    const u = r(i(s) ? `github:${s}` : s, n);
    if (!u) return;
    const l = o.byShortcut[u.protocol], f = o.byDomain[u.hostname.startsWith("www.") ? u.hostname.slice(4) : u.hostname], a = l || f;
    if (!a) return;
    const c = o[l || f];
    let d = null;
    n[u.protocol]?.auth && (u.username || u.password) && (d = `${u.username}${u.password ? ":" + u.password : ""}`);
    let p = null, m = null, g = null, v = null;
    try {
      if (l) {
        let y = u.pathname.startsWith("/") ? u.pathname.slice(1) : u.pathname;
        const E = y.indexOf("@");
        E > -1 && (y = y.slice(E + 1));
        const b = y.lastIndexOf("/");
        b > -1 ? (m = decodeURIComponent(y.slice(0, b)), m || (m = null), g = decodeURIComponent(y.slice(b + 1))) : g = decodeURIComponent(y), g.endsWith(".git") && (g = g.slice(0, -4)), u.hash && (p = decodeURIComponent(u.hash.slice(1))), v = "shortcut";
      } else {
        if (!c.protocols.includes(u.protocol)) return;
        const y = c.extract(u);
        if (!y) return;
        m = y.user && decodeURIComponent(y.user), g = decodeURIComponent(y.project), p = decodeURIComponent(y.committish), v = n[u.protocol]?.name || u.protocol.slice(0, -1);
      }
    } catch (y) {
      if (y instanceof URIError) return;
      throw y;
    }
    return [
      a,
      m,
      d,
      g,
      p,
      v,
      h
    ];
  };
})), fh = /* @__PURE__ */ P(((e, t) => {
  var { LRUCache: r } = qi(), i = Lv(), s = $v(), h = hh(), o = new r({ max: 1e3 });
  function n(l) {
    try {
      const { protocol: f, hostname: a, pathname: c } = new URL(l);
      return a ? `${/(?:git\+)http:$/.test(f) ? "http:" : "https:"}//${a}${c.replace(/\.git$/, "")}` : null;
    } catch {
      return null;
    }
  }
  var u = class qt {
    constructor(f, a, c, d, p, m, g = {}) {
      Object.assign(this, qt.#e[f], {
        type: f,
        user: a,
        auth: c,
        project: d,
        committish: p,
        default: m,
        opts: g
      });
    }
    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(f, a) {
      qt.#e[f] = a, qt.#e.byDomain[a.domain] = f, qt.#e.byShortcut[`${f}:`] = f, qt.#t[`${f}:`] = { name: f };
    }
    static fromUrl(f, a) {
      if (typeof f != "string") return;
      const c = f + JSON.stringify(a || {});
      if (!o.has(c)) {
        const d = s(f, a, {
          gitHosts: qt.#e,
          protocols: qt.#t
        });
        o.set(c, d ? new qt(...d) : void 0);
      }
      return o.get(c);
    }
    static fromManifest(f, a = {}) {
      if (!f || typeof f != "object") return;
      const c = f.repository, d = c && (typeof c == "string" ? c : typeof c == "object" && typeof c.url == "string" ? c.url : null);
      if (!d) throw new Error("no repository");
      const p = d && qt.fromUrl(d.replace(/^git\+/, ""), a) || null;
      if (p) return p;
      const m = n(d);
      return qt.fromUrl(m, a) || m;
    }
    static parseUrl(f) {
      return h(f);
    }
    #r(f, a) {
      if (typeof f != "function") return null;
      const c = {
        ...this,
        ...this.opts,
        ...a
      };
      c.path || (c.path = ""), c.path.startsWith("/") && (c.path = c.path.slice(1)), c.noCommittish && (c.committish = null);
      const d = f(c);
      return c.noGitPlus && d.startsWith("git+") ? d.slice(4) : d;
    }
    hash() {
      return this.committish ? `#${this.committish}` : "";
    }
    ssh(f) {
      return this.#r(this.sshtemplate, f);
    }
    sshurl(f) {
      return this.#r(this.sshurltemplate, f);
    }
    browse(f, ...a) {
      return typeof f != "string" ? this.#r(this.browsetemplate, f) : typeof a[0] != "string" ? this.#r(this.browsetreetemplate, {
        ...a[0],
        path: f
      }) : this.#r(this.browsetreetemplate, {
        ...a[1],
        fragment: a[0],
        path: f
      });
    }
    browseFile(f, ...a) {
      return typeof a[0] != "string" ? this.#r(this.browseblobtemplate, {
        ...a[0],
        path: f
      }) : this.#r(this.browseblobtemplate, {
        ...a[1],
        fragment: a[0],
        path: f
      });
    }
    docs(f) {
      return this.#r(this.docstemplate, f);
    }
    bugs(f) {
      return this.#r(this.bugstemplate, f);
    }
    https(f) {
      return this.#r(this.httpstemplate, f);
    }
    git(f) {
      return this.#r(this.gittemplate, f);
    }
    shortcut(f) {
      return this.#r(this.shortcuttemplate, f);
    }
    path(f) {
      return this.#r(this.pathtemplate, f);
    }
    tarball(f) {
      return this.#r(this.tarballtemplate, {
        ...f,
        noCommittish: !1
      });
    }
    file(f, a) {
      return this.#r(this.filetemplate, {
        ...a,
        path: f
      });
    }
    edit(f, a) {
      return this.#r(this.edittemplate, {
        ...a,
        path: f
      });
    }
    getDefaultRepresentation() {
      return this.default;
    }
    toString(f) {
      return this.default && typeof this[this.default] == "function" ? this[this.default](f) : this.sshurl(f);
    }
  };
  for (const [l, f] of Object.entries(i)) u.addHost(l, f);
  t.exports = u;
})), Nv = /* @__PURE__ */ Nt(fh(), 1);
async function xv(e, { pkgFile: t } = {}) {
  return (await Fo(e, { pkgFile: t }))?.repository ?? null;
}
async function Pv(e, t, { pkgFile: r } = {}) {
  const i = t ? t.repository ? t.repository : null : await xv(e, { pkgFile: r });
  if (!i) return null;
  let s, h = "";
  if (typeof i == "string") {
    s = i;
    try {
      const o = new Yg(s);
      if (o.protocol === "https:" || o.protocol === "http:") return s;
    } catch {
    }
  } else typeof i.url == "string" && (s = i.url, typeof i.directory == "string" && (h = i.directory));
  if (typeof s == "string" && typeof h == "string") {
    const o = Nv.default.fromUrl(s)?.browse(h);
    return o !== void 0 ? o.replace(/\/$/, "").replace(/\/tree\/HEAD$/, "") : s;
  }
  return null;
}
var Bv = typeof global == "object" && global && global.Object === Object && global, Fv = typeof self == "object" && self && self.Object === Object && self, dr = Bv || Fv || Function("return this")(), or = dr.Symbol, dh = Object.prototype, Mv = dh.hasOwnProperty, jv = dh.toString, pi = or ? or.toStringTag : void 0;
function Uv(e) {
  var t = Mv.call(e, pi), r = e[pi];
  try {
    e[pi] = void 0;
    var i = !0;
  } catch {
  }
  var s = jv.call(e);
  return i && (t ? e[pi] = r : delete e[pi]), s;
}
var Hv = Object.prototype.toString;
function qv(e) {
  return Hv.call(e);
}
var Gv = "[object Null]", zv = "[object Undefined]", _c = or ? or.toStringTag : void 0;
function Mo(e) {
  return e == null ? e === void 0 ? zv : Gv : _c && _c in Object(e) ? Uv(e) : qv(e);
}
function Hn(e) {
  return e != null && typeof e == "object";
}
var Wv = "[object Symbol]";
function qn(e) {
  return typeof e == "symbol" || Hn(e) && Mo(e) == Wv;
}
function Vv(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 si = Array.isArray, Yv = 1 / 0, bc = or ? or.prototype : void 0, wc = bc ? bc.toString : void 0;
function ph(e) {
  if (typeof e == "string") return e;
  if (si(e)) return Vv(e, ph) + "";
  if (qn(e)) return wc ? wc.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -Yv ? "-0" : t;
}
var Kv = /\s/;
function Zv(e) {
  for (var t = e.length; t-- && Kv.test(e.charAt(t)); ) ;
  return t;
}
var Jv = /^\s+/;
function Xv(e) {
  return e && e.slice(0, Zv(e) + 1).replace(Jv, "");
}
function Qr(e) {
  var t = typeof e;
  return e != null && (t == "object" || t == "function");
}
var Ec = NaN, Qv = /^[-+]0x[0-9a-f]+$/i, ey = /^0b[01]+$/i, ty = /^0o[0-7]+$/i, ry = parseInt;
function iy(e) {
  if (typeof e == "number") return e;
  if (qn(e)) return Ec;
  if (Qr(e)) {
    var t = typeof e.valueOf == "function" ? e.valueOf() : e;
    e = Qr(t) ? t + "" : t;
  }
  if (typeof e != "string") return e === 0 ? e : +e;
  e = Xv(e);
  var r = ey.test(e);
  return r || ty.test(e) ? ry(e.slice(2), r ? 2 : 8) : Qv.test(e) ? Ec : +e;
}
var Sc = 1 / 0, ny = 17976931348623157e292;
function sy(e) {
  return e ? (e = iy(e), e === Sc || e === -Sc ? (e < 0 ? -1 : 1) * ny : e === e ? e : 0) : e === 0 ? e : 0;
}
function Ac(e) {
  var t = sy(e), r = t % 1;
  return t === t ? r ? t - r : t : 0;
}
function jo(e) {
  return e;
}
var ay = "[object AsyncFunction]", oy = "[object Function]", ly = "[object GeneratorFunction]", cy = "[object Proxy]";
function uy(e) {
  if (!Qr(e)) return !1;
  var t = Mo(e);
  return t == oy || t == ly || t == ay || t == cy;
}
var xs = dr["__core-js_shared__"], Tc = (function() {
  var e = /[^.]+$/.exec(xs && xs.keys && xs.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
})();
function hy(e) {
  return !!Tc && Tc in e;
}
var fy = Function.prototype.toString;
function dy(e) {
  if (e != null) {
    try {
      return fy.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
var py = /[\\^$.*+?()[\]{}|]/g, gy = /^\[object .+?Constructor\]$/, my = Function.prototype, vy = Object.prototype, yy = my.toString, _y = vy.hasOwnProperty, by = RegExp("^" + yy.call(_y).replace(py, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
function wy(e) {
  return !Qr(e) || hy(e) ? !1 : (uy(e) ? by : gy).test(dy(e));
}
function Ey(e, t) {
  return e?.[t];
}
function Gn(e, t) {
  var r = Ey(e, t);
  return wy(r) ? r : void 0;
}
var Dc = Gn(dr, "WeakMap"), Sn = Dc && new Dc(), gh = Sn ? function(e, t) {
  return Sn.set(e, t), e;
} : jo, Rc = Object.create, Uo = /* @__PURE__ */ (function() {
  function e() {
  }
  return function(t) {
    if (!Qr(t)) return {};
    if (Rc) return Rc(t);
    e.prototype = t;
    var r = new e();
    return e.prototype = void 0, r;
  };
})();
function ki(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 = Uo(e.prototype), i = e.apply(r, t);
    return Qr(i) ? i : r;
  };
}
var Sy = 1;
function Ay(e, t, r) {
  var i = t & Sy, s = ki(e);
  function h() {
    return (this && this !== dr && this instanceof h ? s : e).apply(i ? r : this, arguments);
  }
  return h;
}
function Ho(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 Ty = Math.max;
function mh(e, t, r, i) {
  for (var s = -1, h = e.length, o = r.length, n = -1, u = t.length, l = Ty(h - o, 0), f = Array(u + l), a = !i; ++n < u; ) f[n] = t[n];
  for (; ++s < o; ) (a || s < h) && (f[r[s]] = e[s]);
  for (; l--; ) f[n++] = e[s++];
  return f;
}
var Dy = Math.max;
function vh(e, t, r, i) {
  for (var s = -1, h = e.length, o = -1, n = r.length, u = -1, l = t.length, f = Dy(h - n, 0), a = Array(f + l), c = !i; ++s < f; ) a[s] = e[s];
  for (var d = s; ++u < l; ) a[d + u] = t[u];
  for (; ++o < n; ) (c || s < h) && (a[d + r[o]] = e[s++]);
  return a;
}
function Ry(e, t) {
  for (var r = e.length, i = 0; r--; ) e[r] === t && ++i;
  return i;
}
function qo() {
}
var Oy = 4294967295;
function ei(e) {
  this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = Oy, this.__views__ = [];
}
ei.prototype = Uo(qo.prototype);
ei.prototype.constructor = ei;
function Cy() {
}
var Go = Sn ? function(e) {
  return Sn.get(e);
} : Cy, Oc = {}, Iy = Object.prototype.hasOwnProperty;
function mn(e) {
  for (var t = e.name + "", r = Oc[t], i = Iy.call(Oc, t) ? r.length : 0; i--; ) {
    var s = r[i], h = s.func;
    if (h == null || h == e) return s.name;
  }
  return t;
}
function lr(e, t) {
  this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = void 0;
}
lr.prototype = Uo(qo.prototype);
lr.prototype.constructor = lr;
function yh(e, t) {
  var r = -1, i = e.length;
  for (t || (t = Array(i)); ++r < i; ) t[r] = e[r];
  return t;
}
function ky(e) {
  if (e instanceof ei) return e.clone();
  var t = new lr(e.__wrapped__, e.__chain__);
  return t.__actions__ = yh(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
}
var Ly = Object.prototype.hasOwnProperty;
function An(e) {
  if (Hn(e) && !si(e) && !(e instanceof ei)) {
    if (e instanceof lr) return e;
    if (Ly.call(e, "__wrapped__")) return ky(e);
  }
  return new lr(e);
}
An.prototype = qo.prototype;
An.prototype.constructor = An;
function sa(e) {
  var t = mn(e), r = An[t];
  if (typeof r != "function" || !(t in ei.prototype)) return !1;
  if (e === r) return !0;
  var i = Go(r);
  return !!i && e === i[0];
}
var $y = 800, Ny = 16, xy = Date.now;
function _h(e) {
  var t = 0, r = 0;
  return function() {
    var i = xy(), s = Ny - (i - r);
    if (r = i, s > 0) {
      if (++t >= $y) return arguments[0];
    } else t = 0;
    return e.apply(void 0, arguments);
  };
}
var bh = _h(gh), Py = /\{\n\/\* \[wrapped with (.+)\] \*/, By = /,? & /;
function Fy(e) {
  var t = e.match(Py);
  return t ? t[1].split(By) : [];
}
var My = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;
function jy(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(My, `{
/* [wrapped with ` + t + `] */
`);
}
function Uy(e) {
  return function() {
    return e;
  };
}
var Cc = (function() {
  try {
    var e = Gn(Object, "defineProperty");
    return e({}, "", {}), e;
  } catch {
  }
})(), Hy = Cc ? function(e, t) {
  return Cc(e, "toString", {
    configurable: !0,
    enumerable: !1,
    value: Uy(t),
    writable: !0
  });
} : jo, wh = _h(Hy);
function qy(e, t) {
  for (var r = -1, i = e == null ? 0 : e.length; ++r < i && t(e[r], r, e) !== !1; ) ;
  return e;
}
function Gy(e, t, r, i) {
  for (var s = e.length, h = r + (i ? 1 : -1); i ? h-- : ++h < s; ) if (t(e[h], h, e)) return h;
  return -1;
}
function zy(e) {
  return e !== e;
}
function Wy(e, t, r) {
  for (var i = r - 1, s = e.length; ++i < s; ) if (e[i] === t) return i;
  return -1;
}
function Vy(e, t, r) {
  return t === t ? Wy(e, t, r) : Gy(e, zy, r);
}
function Yy(e, t) {
  return !!(e != null && e.length) && Vy(e, t, 0) > -1;
}
var Ky = [
  ["ary", 128],
  ["bind", 1],
  ["bindKey", 2],
  ["curry", 8],
  ["curryRight", 16],
  ["flip", 512],
  ["partial", 32],
  ["partialRight", 64],
  ["rearg", 256]
];
function Zy(e, t) {
  return qy(Ky, function(r) {
    var i = "_." + r[0];
    t & r[1] && !Yy(e, i) && e.push(i);
  }), e.sort();
}
function Eh(e, t, r) {
  var i = t + "";
  return wh(e, jy(i, Zy(Fy(i), r)));
}
var Jy = 1, Xy = 2, Qy = 4, e0 = 8, Ic = 32, kc = 64;
function Sh(e, t, r, i, s, h, o, n, u, l) {
  var f = t & e0, a = f ? o : void 0, c = f ? void 0 : o, d = f ? h : void 0, p = f ? void 0 : h;
  t |= f ? Ic : kc, t &= ~(f ? kc : Ic), t & Qy || (t &= ~(Jy | Xy));
  var m = [
    e,
    t,
    s,
    d,
    a,
    p,
    c,
    n,
    u,
    l
  ], g = r.apply(void 0, m);
  return sa(e) && bh(g, m), g.placeholder = i, Eh(g, e, t);
}
function Ah(e) {
  return e.placeholder;
}
var t0 = 9007199254740991, r0 = /^(?:0|[1-9]\d*)$/;
function i0(e, t) {
  var r = typeof e;
  return t = t ?? t0, !!t && (r == "number" || r != "symbol" && r0.test(e)) && e > -1 && e % 1 == 0 && e < t;
}
var n0 = Math.min;
function s0(e, t) {
  for (var r = e.length, i = n0(t.length, r), s = yh(e); i--; ) {
    var h = t[i];
    e[i] = i0(h, r) ? s[h] : void 0;
  }
  return e;
}
var Lc = "__lodash_placeholder__";
function Tn(e, t) {
  for (var r = -1, i = e.length, s = 0, h = []; ++r < i; ) {
    var o = e[r];
    (o === t || o === Lc) && (e[r] = Lc, h[s++] = r);
  }
  return h;
}
var a0 = 1, o0 = 2, l0 = 8, c0 = 16, u0 = 128, h0 = 512;
function zo(e, t, r, i, s, h, o, n, u, l) {
  var f = t & u0, a = t & a0, c = t & o0, d = t & (l0 | c0), p = t & h0, m = c ? void 0 : ki(e);
  function g() {
    for (var v = arguments.length, y = Array(v), E = v; E--; ) y[E] = arguments[E];
    if (d) var b = Ah(g), w = Ry(y, b);
    if (i && (y = mh(y, i, s, d)), h && (y = vh(y, h, o, d)), v -= w, d && v < l) {
      var _ = Tn(y, b);
      return Sh(e, t, zo, g.placeholder, r, y, _, n, u, l - v);
    }
    var S = a ? r : this, T = c ? S[e] : e;
    return v = y.length, n ? y = s0(y, n) : p && v > 1 && y.reverse(), f && u < v && (y.length = u), this && this !== dr && this instanceof g && (T = m || ki(T)), T.apply(S, y);
  }
  return g;
}
function f0(e, t, r) {
  var i = ki(e);
  function s() {
    for (var h = arguments.length, o = Array(h), n = h, u = Ah(s); n--; ) o[n] = arguments[n];
    var l = h < 3 && o[0] !== u && o[h - 1] !== u ? [] : Tn(o, u);
    return h -= l.length, h < r ? Sh(e, t, zo, s.placeholder, void 0, o, l, void 0, void 0, r - h) : Ho(this && this !== dr && this instanceof s ? i : e, this, o);
  }
  return s;
}
var d0 = 1;
function p0(e, t, r, i) {
  var s = t & d0, h = ki(e);
  function o() {
    for (var n = -1, u = arguments.length, l = -1, f = i.length, a = Array(f + u), c = this && this !== dr && this instanceof o ? h : e; ++l < f; ) a[l] = i[l];
    for (; u--; ) a[l++] = arguments[++n];
    return Ho(c, s ? r : this, a);
  }
  return o;
}
var $c = "__lodash_placeholder__", Ps = 1, g0 = 2, m0 = 4, Nc = 8, gi = 128, xc = 256, v0 = Math.min;
function y0(e, t) {
  var r = e[1], i = t[1], s = r | i, h = s < (Ps | g0 | gi), o = i == gi && r == Nc || i == gi && r == xc && e[7].length <= t[8] || i == (gi | xc) && t[7].length <= t[8] && r == Nc;
  if (!(h || o)) return e;
  i & Ps && (e[2] = t[2], s |= r & Ps ? 0 : m0);
  var n = t[3];
  if (n) {
    var u = e[3];
    e[3] = u ? mh(u, n, t[4]) : n, e[4] = u ? Tn(e[3], $c) : t[4];
  }
  return n = t[5], n && (u = e[5], e[5] = u ? vh(u, n, t[6]) : n, e[6] = u ? Tn(e[5], $c) : t[6]), n = t[7], n && (e[7] = n), i & gi && (e[8] = e[8] == null ? t[8] : v0(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = s, e;
}
var _0 = "Expected a function", Pc = 1, b0 = 2, Bs = 8, Fs = 16, Ms = 32, Bc = 64, Fc = Math.max;
function w0(e, t, r, i, s, h, o, n) {
  var u = t & b0;
  if (!u && typeof e != "function") throw new TypeError(_0);
  var l = i ? i.length : 0;
  if (l || (t &= ~(Ms | Bc), i = s = void 0), o = o === void 0 ? o : Fc(Ac(o), 0), n = n === void 0 ? n : Ac(n), l -= s ? s.length : 0, t & Bc) {
    var f = i, a = s;
    i = s = void 0;
  }
  var c = u ? void 0 : Go(e), d = [
    e,
    t,
    r,
    i,
    s,
    f,
    a,
    h,
    o,
    n
  ];
  if (c && y0(d, c), e = d[0], t = d[1], r = d[2], i = d[3], s = d[4], n = d[9] = d[9] === void 0 ? u ? 0 : e.length : Fc(d[9] - l, 0), !n && t & (Bs | Fs) && (t &= ~(Bs | Fs)), !t || t == Pc) var p = Ay(e, t, r);
  else t == Bs || t == Fs ? p = f0(e, t, n) : (t == Ms || t == (Pc | Ms)) && !s.length ? p = p0(e, t, r, i) : p = zo.apply(void 0, d);
  return Eh((c ? gh : bh)(p, d), e, t);
}
function E0(e, t) {
  return e === t || e !== e && t !== t;
}
var Mc = Math.max;
function S0(e, t, r) {
  return t = Mc(t === void 0 ? e.length - 1 : t, 0), function() {
    for (var i = arguments, s = -1, h = Mc(i.length - t, 0), o = Array(h); ++s < h; ) o[s] = i[t + s];
    s = -1;
    for (var n = Array(t + 1); ++s < t; ) n[s] = i[s];
    return n[t] = r(o), Ho(e, this, n);
  };
}
var A0 = "[object Arguments]";
function jc(e) {
  return Hn(e) && Mo(e) == A0;
}
var Th = Object.prototype, T0 = Th.hasOwnProperty, D0 = Th.propertyIsEnumerable, R0 = jc(/* @__PURE__ */ (function() {
  return arguments;
})()) ? jc : function(e) {
  return Hn(e) && T0.call(e, "callee") && !D0.call(e, "callee");
}, O0 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, C0 = /^\w*$/;
function I0(e, t) {
  if (si(e)) return !1;
  var r = typeof e;
  return r == "number" || r == "symbol" || r == "boolean" || e == null || qn(e) ? !0 : C0.test(e) || !O0.test(e) || t != null && e in Object(t);
}
var Li = Gn(Object, "create");
function k0() {
  this.__data__ = Li ? Li(null) : {}, this.size = 0;
}
function L0(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
var $0 = "__lodash_hash_undefined__", N0 = Object.prototype.hasOwnProperty;
function x0(e) {
  var t = this.__data__;
  if (Li) {
    var r = t[e];
    return r === $0 ? void 0 : r;
  }
  return N0.call(t, e) ? t[e] : void 0;
}
var P0 = Object.prototype.hasOwnProperty;
function B0(e) {
  var t = this.__data__;
  return Li ? t[e] !== void 0 : P0.call(t, e);
}
var F0 = "__lodash_hash_undefined__";
function M0(e, t) {
  var r = this.__data__;
  return this.size += this.has(e) ? 0 : 1, r[e] = Li && t === void 0 ? F0 : t, this;
}
function Tr(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]);
  }
}
Tr.prototype.clear = k0;
Tr.prototype.delete = L0;
Tr.prototype.get = x0;
Tr.prototype.has = B0;
Tr.prototype.set = M0;
function j0() {
  this.__data__ = [], this.size = 0;
}
function zn(e, t) {
  for (var r = e.length; r--; ) if (E0(e[r][0], t)) return r;
  return -1;
}
var U0 = Array.prototype.splice;
function H0(e) {
  var t = this.__data__, r = zn(t, e);
  return r < 0 ? !1 : (r == t.length - 1 ? t.pop() : U0.call(t, r, 1), --this.size, !0);
}
function q0(e) {
  var t = this.__data__, r = zn(t, e);
  return r < 0 ? void 0 : t[r][1];
}
function G0(e) {
  return zn(this.__data__, e) > -1;
}
function z0(e, t) {
  var r = this.__data__, i = zn(r, e);
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
}
function ai(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]);
  }
}
ai.prototype.clear = j0;
ai.prototype.delete = H0;
ai.prototype.get = q0;
ai.prototype.has = G0;
ai.prototype.set = z0;
var W0 = Gn(dr, "Map");
function V0() {
  this.size = 0, this.__data__ = {
    hash: new Tr(),
    map: new (W0 || ai)(),
    string: new Tr()
  };
}
function Y0(e) {
  var t = typeof e;
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
function Wn(e, t) {
  var r = e.__data__;
  return Y0(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
function K0(e) {
  var t = Wn(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
function Z0(e) {
  return Wn(this, e).get(e);
}
function J0(e) {
  return Wn(this, e).has(e);
}
function X0(e, t) {
  var r = Wn(this, e), i = r.size;
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
}
function Dr(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]);
  }
}
Dr.prototype.clear = V0;
Dr.prototype.delete = K0;
Dr.prototype.get = Z0;
Dr.prototype.has = J0;
Dr.prototype.set = X0;
var Q0 = "Expected a function";
function Wo(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function") throw new TypeError(Q0);
  var r = function() {
    var i = arguments, s = t ? t.apply(this, i) : i[0], h = r.cache;
    if (h.has(s)) return h.get(s);
    var o = e.apply(this, i);
    return r.cache = h.set(s, o) || h, o;
  };
  return r.cache = new (Wo.Cache || Dr)(), r;
}
Wo.Cache = Dr;
var e_ = 500;
function t_(e) {
  var t = Wo(e, function(i) {
    return r.size === e_ && r.clear(), i;
  }), r = t.cache;
  return t;
}
var r_ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, i_ = /\\(\\)?/g, n_ = t_(function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(r_, function(r, i, s, h) {
    t.push(s ? h.replace(i_, "$1") : i || r);
  }), t;
});
function Dh(e) {
  return e == null ? "" : ph(e);
}
function s_(e, t) {
  return si(e) ? e : I0(e, t) ? [e] : n_(Dh(e));
}
var a_ = 1 / 0;
function o_(e) {
  if (typeof e == "string" || qn(e)) return e;
  var t = e + "";
  return t == "0" && 1 / e == -a_ ? "-0" : t;
}
function l_(e, t) {
  t = s_(t, e);
  for (var r = 0, i = t.length; e != null && r < i; ) e = e[o_(t[r++])];
  return r && r == i ? e : void 0;
}
function c_(e, t) {
  for (var r = -1, i = t.length, s = e.length; ++r < i; ) e[s + r] = t[r];
  return e;
}
var Uc = or ? or.isConcatSpreadable : void 0;
function u_(e) {
  return si(e) || R0(e) || !!(Uc && e && e[Uc]);
}
function Rh(e, t, r, i, s) {
  var h = -1, o = e.length;
  for (r || (r = u_), s || (s = []); ++h < o; ) {
    var n = e[h];
    t > 0 && r(n) ? t > 1 ? Rh(n, t - 1, r, i, s) : c_(s, n) : i || (s[s.length] = n);
  }
  return s;
}
function h_(e) {
  return e != null && e.length ? Rh(e, 1) : [];
}
function f_(e) {
  return wh(S0(e, void 0, h_), e + "");
}
var d_ = 8;
function Vo(e, t, r) {
  t = r ? void 0 : t;
  var i = w0(e, d_, void 0, void 0, void 0, void 0, void 0, t);
  return i.placeholder = Vo.placeholder, i;
}
Vo.placeholder = {};
var Oh = /[\\^$.*+?()[\]{}|]/g, p_ = RegExp(Oh.source);
function g_(e) {
  return e = Dh(e), e && p_.test(e) ? e.replace(Oh, "\\$&") : e;
}
var m_ = "Expected a function", v_ = 8, y_ = 32, __ = 128, b_ = 256;
function w_(e) {
  return f_(function(t) {
    var r = t.length, i = r, s = lr.prototype.thru;
    for (e && t.reverse(); i--; ) {
      var h = t[i];
      if (typeof h != "function") throw new TypeError(m_);
      if (s && !o && mn(h) == "wrapper") var o = new lr([], !0);
    }
    for (i = o ? i : r; ++i < r; ) {
      h = t[i];
      var n = mn(h), u = n == "wrapper" ? Go(h) : void 0;
      u && sa(u[0]) && u[1] == (__ | v_ | y_ | b_) && !u[4].length && u[9] == 1 ? o = o[mn(u[0])].apply(o, u[3]) : o = h.length == 1 && sa(h) ? o[n]() : o.thru(h);
    }
    return function() {
      var l = arguments, f = l[0];
      if (o && l.length == 1 && si(f)) return o.plant(f).value();
      for (var a = 0, c = r ? t[a].apply(this, l) : f; ++a < r; ) c = t[a].call(this, c);
      return c;
    };
  });
}
var E_ = w_();
function Ch(e) {
  return function(t) {
    return e == null ? void 0 : l_(e, t);
  };
}
var S_ = /* @__PURE__ */ P(((e, t) => {
  var r = ge("url"), i = typeof URL > "u" ? r.URL || null : URL, s = i ? null : r.parse;
  function h(o) {
    try {
      var n = new i(o), u = null;
      n.username && (u = n.password ? n.username + ":" + n.password : n.username);
      var l = n.host || null, f = n.hostname || null, a = n.pathname || null, c = n.pathname + (n.search || "") || null;
      if (!l && a && o.indexOf("//") === -1) {
        var d = a.indexOf("/");
        d === -1 ? (l = a, f = a, a = null, c = null) : (l = a.slice(0, d), f = l, a = a.slice(d), c = a + (n.search || ""));
      }
      return {
        auth: u,
        hash: n.hash || null,
        host: l,
        hostname: f,
        href: n.href,
        path: c,
        pathname: a,
        port: n.port || null,
        protocol: n.protocol || null,
        query: n.search ? n.search.slice(1) : null,
        search: n.search || null,
        slashes: o.indexOf("//") === -1 ? null : !0
      };
    } catch {
      var p = o.indexOf("#"), m = p === -1 ? null : o.slice(p), g = p === -1 ? o : o.slice(0, p), v = g.indexOf("?"), y = v === -1 ? null : g.slice(v), E = v === -1 ? g : g.slice(0, v);
      return {
        auth: null,
        hash: m,
        host: null,
        hostname: null,
        href: o,
        path: g || null,
        pathname: E || null,
        port: null,
        protocol: null,
        query: y ? y.slice(1) : null,
        search: y,
        slashes: null
      };
    }
  }
  t.exports = i ? h : s;
})), A_ = /* @__PURE__ */ P(((e, t) => {
  var r = S_(), i = { __proto__: null };
  function s(a) {
    return /^[a-f0-9]{40}$/i.test(a);
  }
  function h(a, c) {
    var d = a.split("#"), p;
    return d.length > 1 && (p = d[d.length - 1]), !p && c.hash && c.hash.charAt(0) === "#" && (p = c.hash.slice(1)), p || "master";
  }
  function o(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 c = a.indexOf(":");
    return c > -1 ? a.slice(c + 1) : a;
  }
  function l(a) {
    return r("http://" + a.replace(/git@([^:]+):/, "$1/")).host || null;
  }
  function f(a) {
    if (typeof a != "string" || !a.length || a.indexOf("git@gist") !== -1 || a.indexOf("//gist") !== -1) return null;
    var c = r(a);
    if (typeof c.path != "string" || !c.path.length || typeof c.pathname != "string" || !c.pathname.length) return null;
    !c.host && /^git@/.test(a) === !0 && (c.host = l(a)), c.path = o(c.path), c.pathname = o(c.pathname), c.filepath = null, c.path.indexOf("repos") === 0 && (c.path = c.path.slice(6));
    var d = c.path.split("/").filter(Boolean), p = d[2] === "blob";
    p && !s(d[3]) && (c.branch = d[3], d.length > 4 && (c.filepath = d.slice(4).join("/")));
    var m = a.indexOf("blob");
    p && m !== -1 && (c.blob = a.slice(m + 5));
    var g = d[2] === "tree", v = a.indexOf("tree");
    if (g && v !== -1) {
      var y = v + 5, E = a.slice(y), b = E.indexOf("/");
      b !== -1 && (E = E.slice(0, b)), c.branch = E;
    }
    if (c.owner = u(d[0]), c.name = n(d[1]), d.length > 1 && c.owner && c.name) c.repo = c.owner + "/" + c.name;
    else {
      var w = c.href.split(":");
      if (w.length === 2 && c.href.indexOf("//") === -1) {
        c.repo = c.repo || w[w.length - 1];
        var _ = c.repo.split("/");
        c.owner = _[0], c.name = _[1];
      } else {
        var S = c.href.match(/\/([^/]*)$/);
        c.owner = S ? S[1] : null, c.repo = null;
      }
      if (c.repo && (!c.owner || !c.name)) {
        var T = c.repo.split("/");
        T.length === 2 && (c.owner = T[0], c.name = T[1]);
      }
    }
    return c.branch || (c.branch = d[2] || h(c.path, c), d.length > 3 && (c.filepath = d.slice(3).join("/"))), c.host = c.host || "github.com", c.owner = c.owner || null, c.name = c.name || null, c.repository = c.repo, c;
  }
  t.exports = function(c) {
    return i[c] || (i[c] = f(c)), i[c];
  };
})), Vn = /* @__PURE__ */ P(((e, t) => {
  var r = "2.0.0", i = 256, s = Number.MAX_SAFE_INTEGER || 9007199254740991, h = 16, o = i - 6, n = [
    "major",
    "premajor",
    "minor",
    "preminor",
    "patch",
    "prepatch",
    "prerelease"
  ];
  t.exports = {
    MAX_LENGTH: i,
    MAX_SAFE_COMPONENT_LENGTH: h,
    MAX_SAFE_BUILD_LENGTH: o,
    MAX_SAFE_INTEGER: s,
    RELEASE_TYPES: n,
    SEMVER_SPEC_VERSION: r,
    FLAG_INCLUDE_PRERELEASE: 1,
    FLAG_LOOSE: 2
  };
})), Yn = /* @__PURE__ */ P(((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;
})), Gi = /* @__PURE__ */ P(((e, t) => {
  var { MAX_SAFE_COMPONENT_LENGTH: r, MAX_SAFE_BUILD_LENGTH: i, MAX_LENGTH: s } = Vn(), h = Yn();
  e = t.exports = {};
  var o = e.re = [], n = e.safeRe = [], u = e.src = [], l = e.safeSrc = [], f = e.t = {}, a = 0, c = "[a-zA-Z0-9-]", d = [
    ["\\s", 1],
    ["\\d", s],
    [c, i]
  ], p = (g) => {
    for (const [v, y] of d) g = g.split(`${v}*`).join(`${v}{0,${y}}`).split(`${v}+`).join(`${v}{1,${y}}`);
    return g;
  }, m = (g, v, y) => {
    const E = p(v), b = a++;
    h(g, b, v), f[g] = b, u[b] = v, l[b] = E, o[b] = new RegExp(v, y ? "g" : void 0), n[b] = new RegExp(E, y ? "g" : void 0);
  };
  m("NUMERICIDENTIFIER", "0|[1-9]\\d*"), m("NUMERICIDENTIFIERLOOSE", "\\d+"), m("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${c}*`), m("MAINVERSION", `(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})`), m("MAINVERSIONLOOSE", `(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASEIDENTIFIER", `(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIER]})`), m("PRERELEASEIDENTIFIERLOOSE", `(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASE", `(?:-(${u[f.PRERELEASEIDENTIFIER]}(?:\\.${u[f.PRERELEASEIDENTIFIER]})*))`), m("PRERELEASELOOSE", `(?:-?(${u[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[f.PRERELEASEIDENTIFIERLOOSE]})*))`), m("BUILDIDENTIFIER", `${c}+`), m("BUILD", `(?:\\+(${u[f.BUILDIDENTIFIER]}(?:\\.${u[f.BUILDIDENTIFIER]})*))`), m("FULLPLAIN", `v?${u[f.MAINVERSION]}${u[f.PRERELEASE]}?${u[f.BUILD]}?`), m("FULL", `^${u[f.FULLPLAIN]}$`), m("LOOSEPLAIN", `[v=\\s]*${u[f.MAINVERSIONLOOSE]}${u[f.PRERELEASELOOSE]}?${u[f.BUILD]}?`), m("LOOSE", `^${u[f.LOOSEPLAIN]}$`), m("GTLT", "((?:<|>)?=?)"), m("XRANGEIDENTIFIERLOOSE", `${u[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), m("XRANGEIDENTIFIER", `${u[f.NUMERICIDENTIFIER]}|x|X|\\*`), m("XRANGEPLAIN", `[v=\\s]*(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:${u[f.PRERELEASE]})?${u[f.BUILD]}?)?)?`), m("XRANGEPLAINLOOSE", `[v=\\s]*(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:${u[f.PRERELEASELOOSE]})?${u[f.BUILD]}?)?)?`), m("XRANGE", `^${u[f.GTLT]}\\s*${u[f.XRANGEPLAIN]}$`), m("XRANGELOOSE", `^${u[f.GTLT]}\\s*${u[f.XRANGEPLAINLOOSE]}$`), m("COERCEPLAIN", `(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`), m("COERCE", `${u[f.COERCEPLAIN]}(?:$|[^\\d])`), m("COERCEFULL", u[f.COERCEPLAIN] + `(?:${u[f.PRERELEASE]})?(?:${u[f.BUILD]})?(?:$|[^\\d])`), m("COERCERTL", u[f.COERCE], !0), m("COERCERTLFULL", u[f.COERCEFULL], !0), m("LONETILDE", "(?:~>?)"), m("TILDETRIM", `(\\s*)${u[f.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", m("TILDE", `^${u[f.LONETILDE]}${u[f.XRANGEPLAIN]}$`), m("TILDELOOSE", `^${u[f.LONETILDE]}${u[f.XRANGEPLAINLOOSE]}$`), m("LONECARET", "(?:\\^)"), m("CARETTRIM", `(\\s*)${u[f.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", m("CARET", `^${u[f.LONECARET]}${u[f.XRANGEPLAIN]}$`), m("CARETLOOSE", `^${u[f.LONECARET]}${u[f.XRANGEPLAINLOOSE]}$`), m("COMPARATORLOOSE", `^${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]})$|^$`), m("COMPARATOR", `^${u[f.GTLT]}\\s*(${u[f.FULLPLAIN]})$|^$`), m("COMPARATORTRIM", `(\\s*)${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]}|${u[f.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", m("HYPHENRANGE", `^\\s*(${u[f.XRANGEPLAIN]})\\s+-\\s+(${u[f.XRANGEPLAIN]})\\s*$`), m("HYPHENRANGELOOSE", `^\\s*(${u[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[f.XRANGEPLAINLOOSE]})\\s*$`), m("STAR", "(<|>)?=?\\s*\\*"), m("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), m("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
})), Yo = /* @__PURE__ */ P(((e, t) => {
  var r = Object.freeze({ loose: !0 }), i = Object.freeze({}), s = (h) => h ? typeof h != "object" ? r : h : i;
  t.exports = s;
})), Ih = /* @__PURE__ */ P(((e, t) => {
  var r = /^[0-9]+$/, i = (h, o) => {
    if (typeof h == "number" && typeof o == "number") return h === o ? 0 : h < o ? -1 : 1;
    const n = r.test(h), u = r.test(o);
    return n && u && (h = +h, o = +o), h === o ? 0 : n && !u ? -1 : u && !n ? 1 : h < o ? -1 : 1;
  }, s = (h, o) => i(o, h);
  t.exports = {
    compareIdentifiers: i,
    rcompareIdentifiers: s
  };
})), It = /* @__PURE__ */ P(((e, t) => {
  var r = Yn(), { MAX_LENGTH: i, MAX_SAFE_INTEGER: s } = Vn(), { safeRe: h, t: o } = Gi(), n = Yo(), { compareIdentifiers: u } = Ih(), l = class Zt {
    constructor(a, c) {
      if (c = n(c), a instanceof Zt) {
        if (a.loose === !!c.loose && a.includePrerelease === !!c.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, c), this.options = c, this.loose = !!c.loose, this.includePrerelease = !!c.includePrerelease;
      const d = a.trim().match(c.loose ? h[o.LOOSE] : h[o.FULL]);
      if (!d) throw new TypeError(`Invalid Version: ${a}`);
      if (this.raw = a, this.major = +d[1], this.minor = +d[2], this.patch = +d[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");
      d[4] ? this.prerelease = d[4].split(".").map((p) => {
        if (/^[0-9]+$/.test(p)) {
          const m = +p;
          if (m >= 0 && m < s) return m;
        }
        return p;
      }) : this.prerelease = [], this.build = d[5] ? d[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 c = 0;
      do {
        const d = this.prerelease[c], p = a.prerelease[c];
        if (r("prerelease compare", c, d, p), d === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (d === void 0) return -1;
        if (d === p) continue;
        return u(d, p);
      } while (++c);
    }
    compareBuild(a) {
      a instanceof Zt || (a = new Zt(a, this.options));
      let c = 0;
      do {
        const d = this.build[c], p = a.build[c];
        if (r("build compare", c, d, p), d === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (d === void 0) return -1;
        if (d === p) continue;
        return u(d, p);
      } while (++c);
    }
    inc(a, c, d) {
      if (a.startsWith("pre")) {
        if (!c && d === !1) throw new Error("invalid increment argument: identifier is empty");
        if (c) {
          const p = `-${c}`.match(this.options.loose ? h[o.PRERELEASELOOSE] : h[o.PRERELEASE]);
          if (!p || p[1] !== c) throw new Error(`invalid identifier: ${c}`);
        }
      }
      switch (a) {
        case "premajor":
          this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", c, d);
          break;
        case "preminor":
          this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", c, d);
          break;
        case "prepatch":
          this.prerelease.length = 0, this.inc("patch", c, d), this.inc("pre", c, d);
          break;
        case "prerelease":
          this.prerelease.length === 0 && this.inc("patch", c, d), this.inc("pre", c, d);
          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(d) ? 1 : 0;
          if (this.prerelease.length === 0) this.prerelease = [p];
          else {
            let m = this.prerelease.length;
            for (; --m >= 0; ) typeof this.prerelease[m] == "number" && (this.prerelease[m]++, m = -2);
            if (m === -1) {
              if (c === this.prerelease.join(".") && d === !1) throw new Error("invalid increment argument: identifier already exists");
              this.prerelease.push(p);
            }
          }
          if (c) {
            let m = [c, p];
            d === !1 && (m = [c]), u(this.prerelease[0], c) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = m) : this.prerelease = m;
          }
          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 = l;
})), oi = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h, o = !1) => {
    if (s instanceof r) return s;
    try {
      return new r(s, h);
    } catch (n) {
      if (!o) return null;
      throw n;
    }
  };
  t.exports = i;
})), T_ = /* @__PURE__ */ P(((e, t) => {
  var r = oi(), i = (s, h) => {
    const o = r(s, h);
    return o ? o.version : null;
  };
  t.exports = i;
})), D_ = /* @__PURE__ */ P(((e, t) => {
  var r = oi(), i = (s, h) => {
    const o = r(s.trim().replace(/^[=v]+/, ""), h);
    return o ? o.version : null;
  };
  t.exports = i;
})), R_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h, o, n, u) => {
    typeof o == "string" && (u = n, n = o, o = void 0);
    try {
      return new r(s instanceof r ? s.version : s, o).inc(h, n, u).version;
    } catch {
      return null;
    }
  };
  t.exports = i;
})), O_ = /* @__PURE__ */ P(((e, t) => {
  var r = oi(), i = (s, h) => {
    const o = r(s, null, !0), n = r(h, null, !0), u = o.compare(n);
    if (u === 0) return null;
    const l = u > 0, f = l ? o : n, a = l ? n : o, c = !!f.prerelease.length;
    if (a.prerelease.length && !c) {
      if (!a.patch && !a.minor) return "major";
      if (a.compareMain(f) === 0)
        return a.minor && !a.patch ? "minor" : "patch";
    }
    const d = c ? "pre" : "";
    return o.major !== n.major ? d + "major" : o.minor !== n.minor ? d + "minor" : o.patch !== n.patch ? d + "patch" : "prerelease";
  };
  t.exports = i;
})), C_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h) => new r(s, h).major;
  t.exports = i;
})), I_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h) => new r(s, h).minor;
  t.exports = i;
})), k_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h) => new r(s, h).patch;
  t.exports = i;
})), L_ = /* @__PURE__ */ P(((e, t) => {
  var r = oi(), i = (s, h) => {
    const o = r(s, h);
    return o && o.prerelease.length ? o.prerelease : null;
  };
  t.exports = i;
})), Wt = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h, o) => new r(s, o).compare(new r(h, o));
  t.exports = i;
})), $_ = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(h, s, o);
  t.exports = i;
})), N_ = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h) => r(s, h, !0);
  t.exports = i;
})), Ko = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = (s, h, o) => {
    const n = new r(s, o), u = new r(h, o);
    return n.compare(u) || n.compareBuild(u);
  };
  t.exports = i;
})), x_ = /* @__PURE__ */ P(((e, t) => {
  var r = Ko(), i = (s, h) => s.sort((o, n) => r(o, n, h));
  t.exports = i;
})), P_ = /* @__PURE__ */ P(((e, t) => {
  var r = Ko(), i = (s, h) => s.sort((o, n) => r(n, o, h));
  t.exports = i;
})), Kn = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) > 0;
  t.exports = i;
})), Zo = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) < 0;
  t.exports = i;
})), kh = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) === 0;
  t.exports = i;
})), Lh = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) !== 0;
  t.exports = i;
})), Jo = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) >= 0;
  t.exports = i;
})), Xo = /* @__PURE__ */ P(((e, t) => {
  var r = Wt(), i = (s, h, o) => r(s, h, o) <= 0;
  t.exports = i;
})), $h = /* @__PURE__ */ P(((e, t) => {
  var r = kh(), i = Lh(), s = Kn(), h = Jo(), o = Zo(), n = Xo(), u = (l, f, a, c) => {
    switch (f) {
      case "===":
        return typeof l == "object" && (l = l.version), typeof a == "object" && (a = a.version), l === a;
      case "!==":
        return typeof l == "object" && (l = l.version), typeof a == "object" && (a = a.version), l !== a;
      case "":
      case "=":
      case "==":
        return r(l, a, c);
      case "!=":
        return i(l, a, c);
      case ">":
        return s(l, a, c);
      case ">=":
        return h(l, a, c);
      case "<":
        return o(l, a, c);
      case "<=":
        return n(l, a, c);
      default:
        throw new TypeError(`Invalid operator: ${f}`);
    }
  };
  t.exports = u;
})), B_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = oi(), { safeRe: s, t: h } = Gi(), o = (n, u) => {
    if (n instanceof r) return n;
    if (typeof n == "number" && (n = String(n)), typeof n != "string") return null;
    u = u || {};
    let l = null;
    if (!u.rtl) l = n.match(u.includePrerelease ? s[h.COERCEFULL] : s[h.COERCE]);
    else {
      const a = u.includePrerelease ? s[h.COERCERTLFULL] : s[h.COERCERTL];
      let c;
      for (; (c = a.exec(n)) && (!l || l.index + l[0].length !== n.length); )
        (!l || c.index + c[0].length !== l.index + l[0].length) && (l = c), a.lastIndex = c.index + c[1].length + c[2].length;
      a.lastIndex = -1;
    }
    if (l === null) return null;
    const f = l[2];
    return i(`${f}.${l[3] || "0"}.${l[4] || "0"}${u.includePrerelease && l[5] ? `-${l[5]}` : ""}${u.includePrerelease && l[6] ? `+${l[6]}` : ""}`, u);
  };
  t.exports = o;
})), F_ = /* @__PURE__ */ P(((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 h = this.map.keys().next().value;
          this.delete(h);
        }
        this.map.set(i, s);
      }
      return this;
    }
  };
  t.exports = r;
})), Vt = /* @__PURE__ */ P(((e, t) => {
  var r = /\s+/g, i = class vn {
    constructor(I, $) {
      if ($ = h($), I instanceof vn) return I.loose === !!$.loose && I.includePrerelease === !!$.includePrerelease ? I : new vn(I.raw, $);
      if (I instanceof o)
        return this.raw = I.value, this.set = [[I]], this.formatted = void 0, this;
      if (this.options = $, this.loose = !!$.loose, this.includePrerelease = !!$.includePrerelease, this.raw = I.trim().replace(r, " "), this.set = this.raw.split("||").map((q) => this.parseRange(q.trim())).filter((q) => q.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
      if (this.set.length > 1) {
        const q = this.set[0];
        if (this.set = this.set.filter((z) => !g(z[0])), this.set.length === 0) this.set = [q];
        else if (this.set.length > 1) {
          for (const z of this.set) if (z.length === 1 && v(z[0])) {
            this.set = [z];
            break;
          }
        }
      }
      this.formatted = void 0;
    }
    get range() {
      if (this.formatted === void 0) {
        this.formatted = "";
        for (let I = 0; I < this.set.length; I++) {
          I > 0 && (this.formatted += "||");
          const $ = this.set[I];
          for (let q = 0; q < $.length; q++)
            q > 0 && (this.formatted += " "), this.formatted += $[q].toString().trim();
        }
      }
      return this.formatted;
    }
    format() {
      return this.range;
    }
    toString() {
      return this.range;
    }
    parseRange(I) {
      const $ = ((this.options.includePrerelease && p) | (this.options.loose && m)) + ":" + I, q = s.get($);
      if (q) return q;
      const z = this.options.loose, F = z ? l[f.HYPHENRANGELOOSE] : l[f.HYPHENRANGE];
      I = I.replace(F, G(this.options.includePrerelease)), n("hyphen replace", I), I = I.replace(l[f.COMPARATORTRIM], a), n("comparator trim", I), I = I.replace(l[f.TILDETRIM], c), n("tilde trim", I), I = I.replace(l[f.CARETTRIM], d), n("caret trim", I);
      let x = I.split(" ").map((K) => E(K, this.options)).join(" ").split(/\s+/).map((K) => M(K, this.options));
      z && (x = x.filter((K) => (n("loose invalid filter", K, this.options), !!K.match(l[f.COMPARATORLOOSE])))), n("range list", x);
      const L = /* @__PURE__ */ new Map(), C = x.map((K) => new o(K, this.options));
      for (const K of C) {
        if (g(K)) return [K];
        L.set(K.value, K);
      }
      L.size > 1 && L.has("") && L.delete("");
      const N = [...L.values()];
      return s.set($, N), N;
    }
    intersects(I, $) {
      if (!(I instanceof vn)) throw new TypeError("a Range is required");
      return this.set.some((q) => y(q, $) && I.set.some((z) => y(z, $) && q.every((F) => z.every((x) => F.intersects(x, $)))));
    }
    test(I) {
      if (!I) return !1;
      if (typeof I == "string") try {
        I = new u(I, this.options);
      } catch {
        return !1;
      }
      for (let $ = 0; $ < this.set.length; $++) if (Y(this.set[$], I, this.options)) return !0;
      return !1;
    }
  };
  t.exports = i;
  var s = new (F_())(), h = Yo(), o = Zn(), n = Yn(), u = It(), { safeRe: l, t: f, comparatorTrimReplace: a, tildeTrimReplace: c, caretTrimReplace: d } = Gi(), { FLAG_INCLUDE_PRERELEASE: p, FLAG_LOOSE: m } = Vn(), g = (H) => H.value === "<0.0.0-0", v = (H) => H.value === "", y = (H, I) => {
    let $ = !0;
    const q = H.slice();
    let z = q.pop();
    for (; $ && q.length; )
      $ = q.every((F) => z.intersects(F, I)), z = q.pop();
    return $;
  }, E = (H, I) => (H = H.replace(l[f.BUILD], ""), n("comp", H, I), H = S(H, I), n("caret", H), H = w(H, I), n("tildes", H), H = D(H, I), n("xrange", H), H = j(H, I), n("stars", H), H), b = (H) => !H || H.toLowerCase() === "x" || H === "*", w = (H, I) => H.trim().split(/\s+/).map(($) => _($, I)).join(" "), _ = (H, I) => {
    const $ = I.loose ? l[f.TILDELOOSE] : l[f.TILDE];
    return H.replace($, (q, z, F, x, L) => {
      n("tilde", H, q, z, F, x, L);
      let C;
      return b(z) ? C = "" : b(F) ? C = `>=${z}.0.0 <${+z + 1}.0.0-0` : b(x) ? C = `>=${z}.${F}.0 <${z}.${+F + 1}.0-0` : L ? (n("replaceTilde pr", L), C = `>=${z}.${F}.${x}-${L} <${z}.${+F + 1}.0-0`) : C = `>=${z}.${F}.${x} <${z}.${+F + 1}.0-0`, n("tilde return", C), C;
    });
  }, S = (H, I) => H.trim().split(/\s+/).map(($) => T($, I)).join(" "), T = (H, I) => {
    n("caret", H, I);
    const $ = I.loose ? l[f.CARETLOOSE] : l[f.CARET], q = I.includePrerelease ? "-0" : "";
    return H.replace($, (z, F, x, L, C) => {
      n("caret", H, z, F, x, L, C);
      let N;
      return b(F) ? N = "" : b(x) ? N = `>=${F}.0.0${q} <${+F + 1}.0.0-0` : b(L) ? F === "0" ? N = `>=${F}.${x}.0${q} <${F}.${+x + 1}.0-0` : N = `>=${F}.${x}.0${q} <${+F + 1}.0.0-0` : C ? (n("replaceCaret pr", C), F === "0" ? x === "0" ? N = `>=${F}.${x}.${L}-${C} <${F}.${x}.${+L + 1}-0` : N = `>=${F}.${x}.${L}-${C} <${F}.${+x + 1}.0-0` : N = `>=${F}.${x}.${L}-${C} <${+F + 1}.0.0-0`) : (n("no pr"), F === "0" ? x === "0" ? N = `>=${F}.${x}.${L}${q} <${F}.${x}.${+L + 1}-0` : N = `>=${F}.${x}.${L}${q} <${F}.${+x + 1}.0-0` : N = `>=${F}.${x}.${L} <${+F + 1}.0.0-0`), n("caret return", N), N;
    });
  }, D = (H, I) => (n("replaceXRanges", H, I), H.split(/\s+/).map(($) => R($, I)).join(" ")), R = (H, I) => {
    H = H.trim();
    const $ = I.loose ? l[f.XRANGELOOSE] : l[f.XRANGE];
    return H.replace($, (q, z, F, x, L, C) => {
      n("xRange", H, q, z, F, x, L, C);
      const N = b(F), K = N || b(x), oe = K || b(L), pe = oe;
      return z === "=" && pe && (z = ""), C = I.includePrerelease ? "-0" : "", N ? z === ">" || z === "<" ? q = "<0.0.0-0" : q = "*" : z && pe ? (K && (x = 0), L = 0, z === ">" ? (z = ">=", K ? (F = +F + 1, x = 0, L = 0) : (x = +x + 1, L = 0)) : z === "<=" && (z = "<", K ? F = +F + 1 : x = +x + 1), z === "<" && (C = "-0"), q = `${z + F}.${x}.${L}${C}`) : K ? q = `>=${F}.0.0${C} <${+F + 1}.0.0-0` : oe && (q = `>=${F}.${x}.0${C} <${F}.${+x + 1}.0-0`), n("xRange return", q), q;
    });
  }, j = (H, I) => (n("replaceStars", H, I), H.trim().replace(l[f.STAR], "")), M = (H, I) => (n("replaceGTE0", H, I), H.trim().replace(l[I.includePrerelease ? f.GTE0PRE : f.GTE0], "")), G = (H) => (I, $, q, z, F, x, L, C, N, K, oe, pe) => (b(q) ? $ = "" : b(z) ? $ = `>=${q}.0.0${H ? "-0" : ""}` : b(F) ? $ = `>=${q}.${z}.0${H ? "-0" : ""}` : x ? $ = `>=${$}` : $ = `>=${$}${H ? "-0" : ""}`, b(N) ? C = "" : b(K) ? C = `<${+N + 1}.0.0-0` : b(oe) ? C = `<${N}.${+K + 1}.0-0` : pe ? C = `<=${N}.${K}.${oe}-${pe}` : H ? C = `<${N}.${K}.${+oe + 1}-0` : C = `<=${C}`, `${$} ${C}`.trim()), Y = (H, I, $) => {
    for (let q = 0; q < H.length; q++) if (!H[q].test(I)) return !1;
    if (I.prerelease.length && !$.includePrerelease) {
      for (let q = 0; q < H.length; q++)
        if (n(H[q].semver), H[q].semver !== o.ANY && H[q].semver.prerelease.length > 0) {
          const z = H[q].semver;
          if (z.major === I.major && z.minor === I.minor && z.patch === I.patch) return !0;
        }
      return !1;
    }
    return !0;
  };
})), Zn = /* @__PURE__ */ P(((e, t) => {
  var r = /* @__PURE__ */ Symbol("SemVer ANY"), i = class aa {
    static get ANY() {
      return r;
    }
    constructor(c, d) {
      if (d = s(d), c instanceof aa) {
        if (c.loose === !!d.loose) return c;
        c = c.value;
      }
      c = c.trim().split(/\s+/).join(" "), u("comparator", c, d), this.options = d, this.loose = !!d.loose, this.parse(c), this.semver === r ? this.value = "" : this.value = this.operator + this.semver.version, u("comp", this);
    }
    parse(c) {
      const d = this.options.loose ? h[o.COMPARATORLOOSE] : h[o.COMPARATOR], p = c.match(d);
      if (!p) throw new TypeError(`Invalid comparator: ${c}`);
      this.operator = p[1] !== void 0 ? p[1] : "", this.operator === "=" && (this.operator = ""), p[2] ? this.semver = new l(p[2], this.options.loose) : this.semver = r;
    }
    toString() {
      return this.value;
    }
    test(c) {
      if (u("Comparator.test", c, this.options.loose), this.semver === r || c === r) return !0;
      if (typeof c == "string") try {
        c = new l(c, this.options);
      } catch {
        return !1;
      }
      return n(c, this.operator, this.semver, this.options);
    }
    intersects(c, d) {
      if (!(c instanceof aa)) throw new TypeError("a Comparator is required");
      return this.operator === "" ? this.value === "" ? !0 : new f(c.value, d).test(this.value) : c.operator === "" ? c.value === "" ? !0 : new f(this.value, d).test(c.semver) : (d = s(d), d.includePrerelease && (this.value === "<0.0.0-0" || c.value === "<0.0.0-0") || !d.includePrerelease && (this.value.startsWith("<0.0.0") || c.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && c.operator.startsWith(">") || this.operator.startsWith("<") && c.operator.startsWith("<") || this.semver.version === c.semver.version && this.operator.includes("=") && c.operator.includes("=") || n(this.semver, "<", c.semver, d) && this.operator.startsWith(">") && c.operator.startsWith("<") || n(this.semver, ">", c.semver, d) && this.operator.startsWith("<") && c.operator.startsWith(">")));
    }
  };
  t.exports = i;
  var s = Yo(), { safeRe: h, t: o } = Gi(), n = $h(), u = Yn(), l = It(), f = Vt();
})), Jn = /* @__PURE__ */ P(((e, t) => {
  var r = Vt(), i = (s, h, o) => {
    try {
      h = new r(h, o);
    } catch {
      return !1;
    }
    return h.test(s);
  };
  t.exports = i;
})), M_ = /* @__PURE__ */ P(((e, t) => {
  var r = Vt(), i = (s, h) => new r(s, h).set.map((o) => o.map((n) => n.value).join(" ").trim().split(" "));
  t.exports = i;
})), j_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = Vt(), s = (h, o, n) => {
    let u = null, l = null, f = null;
    try {
      f = new i(o, n);
    } catch {
      return null;
    }
    return h.forEach((a) => {
      f.test(a) && (!u || l.compare(a) === -1) && (u = a, l = new r(u, n));
    }), u;
  };
  t.exports = s;
})), U_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = Vt(), s = (h, o, n) => {
    let u = null, l = null, f = null;
    try {
      f = new i(o, n);
    } catch {
      return null;
    }
    return h.forEach((a) => {
      f.test(a) && (!u || l.compare(a) === 1) && (u = a, l = new r(u, n));
    }), u;
  };
  t.exports = s;
})), H_ = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = Vt(), s = Kn(), h = (o, n) => {
    o = new i(o, n);
    let u = new r("0.0.0");
    if (o.test(u) || (u = new r("0.0.0-0"), o.test(u))) return u;
    u = null;
    for (let l = 0; l < o.set.length; ++l) {
      const f = o.set[l];
      let a = null;
      f.forEach((c) => {
        const d = new r(c.semver.version);
        switch (c.operator) {
          case ">":
            d.prerelease.length === 0 ? d.patch++ : d.prerelease.push(0), d.raw = d.format();
          case "":
          case ">=":
            (!a || s(d, a)) && (a = d);
            break;
          case "<":
          case "<=":
            break;
          /* istanbul ignore next */
          default:
            throw new Error(`Unexpected operation: ${c.operator}`);
        }
      }), a && (!u || s(u, a)) && (u = a);
    }
    return u && o.test(u) ? u : null;
  };
  t.exports = h;
})), q_ = /* @__PURE__ */ P(((e, t) => {
  var r = Vt(), i = (s, h) => {
    try {
      return new r(s, h).range || "*";
    } catch {
      return null;
    }
  };
  t.exports = i;
})), Qo = /* @__PURE__ */ P(((e, t) => {
  var r = It(), i = Zn(), { ANY: s } = i, h = Vt(), o = Jn(), n = Kn(), u = Zo(), l = Xo(), f = Jo(), a = (c, d, p, m) => {
    c = new r(c, m), d = new h(d, m);
    let g, v, y, E, b;
    switch (p) {
      case ">":
        g = n, v = l, y = u, E = ">", b = ">=";
        break;
      case "<":
        g = u, v = f, y = n, E = "<", b = "<=";
        break;
      default:
        throw new TypeError('Must provide a hilo val of "<" or ">"');
    }
    if (o(c, d, m)) return !1;
    for (let w = 0; w < d.set.length; ++w) {
      const _ = d.set[w];
      let S = null, T = null;
      if (_.forEach((D) => {
        D.semver === s && (D = new i(">=0.0.0")), S = S || D, T = T || D, g(D.semver, S.semver, m) ? S = D : y(D.semver, T.semver, m) && (T = D);
      }), S.operator === E || S.operator === b || (!T.operator || T.operator === E) && v(c, T.semver)) return !1;
      if (T.operator === b && y(c, T.semver)) return !1;
    }
    return !0;
  };
  t.exports = a;
})), G_ = /* @__PURE__ */ P(((e, t) => {
  var r = Qo(), i = (s, h, o) => r(s, h, ">", o);
  t.exports = i;
})), z_ = /* @__PURE__ */ P(((e, t) => {
  var r = Qo(), i = (s, h, o) => r(s, h, "<", o);
  t.exports = i;
})), W_ = /* @__PURE__ */ P(((e, t) => {
  var r = Vt(), i = (s, h, o) => (s = new r(s, o), h = new r(h, o), s.intersects(h, o));
  t.exports = i;
})), V_ = /* @__PURE__ */ P(((e, t) => {
  var r = Jn(), i = Wt();
  t.exports = (s, h, o) => {
    const n = [];
    let u = null, l = null;
    const f = s.sort((p, m) => i(p, m, o));
    for (const p of f) r(p, h, o) ? (l = p, u || (u = p)) : (l && n.push([u, l]), l = null, u = null);
    u && n.push([u, null]);
    const a = [];
    for (const [p, m] of n) p === m ? a.push(p) : !m && p === f[0] ? a.push("*") : m ? p === f[0] ? a.push(`<=${m}`) : a.push(`${p} - ${m}`) : a.push(`>=${p}`);
    const c = a.join(" || "), d = typeof h.raw == "string" ? h.raw : String(h);
    return c.length < d.length ? c : h;
  };
})), Y_ = /* @__PURE__ */ P(((e, t) => {
  var r = Vt(), i = Zn(), { ANY: s } = i, h = Jn(), o = Wt(), n = (d, p, m = {}) => {
    if (d === p) return !0;
    d = new r(d, m), p = new r(p, m);
    let g = !1;
    e: for (const v of d.set) {
      for (const y of p.set) {
        const E = f(v, y, m);
        if (g = g || E !== null, E) continue e;
      }
      if (g) return !1;
    }
    return !0;
  }, u = [new i(">=0.0.0-0")], l = [new i(">=0.0.0")], f = (d, p, m) => {
    if (d === p) return !0;
    if (d.length === 1 && d[0].semver === s) {
      if (p.length === 1 && p[0].semver === s) return !0;
      m.includePrerelease ? d = u : d = l;
    }
    if (p.length === 1 && p[0].semver === s) {
      if (m.includePrerelease) return !0;
      p = l;
    }
    const g = /* @__PURE__ */ new Set();
    let v, y;
    for (const R of d) R.operator === ">" || R.operator === ">=" ? v = a(v, R, m) : R.operator === "<" || R.operator === "<=" ? y = c(y, R, m) : g.add(R.semver);
    if (g.size > 1) return null;
    let E;
    if (v && y) {
      if (E = o(v.semver, y.semver, m), E > 0) return null;
      if (E === 0 && (v.operator !== ">=" || y.operator !== "<=")) return null;
    }
    for (const R of g) {
      if (v && !h(R, String(v), m) || y && !h(R, String(y), m)) return null;
      for (const j of p) if (!h(R, String(j), m)) return !1;
      return !0;
    }
    let b, w, _, S, T = y && !m.includePrerelease && y.semver.prerelease.length ? y.semver : !1, D = v && !m.includePrerelease && v.semver.prerelease.length ? v.semver : !1;
    T && T.prerelease.length === 1 && y.operator === "<" && T.prerelease[0] === 0 && (T = !1);
    for (const R of p) {
      if (S = S || R.operator === ">" || R.operator === ">=", _ = _ || R.operator === "<" || R.operator === "<=", v) {
        if (D && R.semver.prerelease && R.semver.prerelease.length && R.semver.major === D.major && R.semver.minor === D.minor && R.semver.patch === D.patch && (D = !1), R.operator === ">" || R.operator === ">=") {
          if (b = a(v, R, m), b === R && b !== v) return !1;
        } else if (v.operator === ">=" && !h(v.semver, String(R), m)) return !1;
      }
      if (y) {
        if (T && R.semver.prerelease && R.semver.prerelease.length && R.semver.major === T.major && R.semver.minor === T.minor && R.semver.patch === T.patch && (T = !1), R.operator === "<" || R.operator === "<=") {
          if (w = c(y, R, m), w === R && w !== y) return !1;
        } else if (y.operator === "<=" && !h(y.semver, String(R), m)) return !1;
      }
      if (!R.operator && (y || v) && E !== 0) return !1;
    }
    return !(v && _ && !y && E !== 0 || y && S && !v && E !== 0 || D || T);
  }, a = (d, p, m) => {
    if (!d) return p;
    const g = o(d.semver, p.semver, m);
    return g > 0 ? d : g < 0 || p.operator === ">" && d.operator === ">=" ? p : d;
  }, c = (d, p, m) => {
    if (!d) return p;
    const g = o(d.semver, p.semver, m);
    return g < 0 ? d : g > 0 || p.operator === "<" && d.operator === "<=" ? p : d;
  };
  t.exports = n;
})), el = /* @__PURE__ */ P(((e, t) => {
  var r = Gi(), i = Vn(), s = It(), h = Ih(), o = oi(), n = T_(), u = D_(), l = R_(), f = O_(), a = C_(), c = I_(), d = k_(), p = L_(), m = Wt(), g = $_(), v = N_(), y = Ko(), E = x_(), b = P_(), w = Kn(), _ = Zo(), S = kh(), T = Lh(), D = Jo(), R = Xo(), j = $h(), M = B_(), G = Zn(), Y = Vt(), H = Jn(), I = M_(), $ = j_(), q = U_(), z = H_(), F = q_(), x = Qo(), L = G_(), C = z_(), N = W_(), K = V_(), oe = Y_();
  t.exports = {
    parse: o,
    valid: n,
    clean: u,
    inc: l,
    diff: f,
    major: a,
    minor: c,
    patch: d,
    prerelease: p,
    compare: m,
    rcompare: g,
    compareLoose: v,
    compareBuild: y,
    sort: E,
    rsort: b,
    gt: w,
    lt: _,
    eq: S,
    neq: T,
    gte: D,
    lte: R,
    cmp: j,
    coerce: M,
    Comparator: G,
    Range: Y,
    satisfies: H,
    toComparators: I,
    maxSatisfying: $,
    minSatisfying: q,
    minVersion: z,
    validRange: F,
    outside: x,
    gtr: L,
    ltr: C,
    intersects: N,
    simplifyRange: K,
    subset: oe,
    SemVer: s,
    re: r.re,
    src: r.src,
    tokens: r.t,
    SEMVER_SPEC_VERSION: i.SEMVER_SPEC_VERSION,
    RELEASE_TYPES: i.RELEASE_TYPES,
    compareIdentifiers: h.compareIdentifiers,
    rcompareIdentifiers: h.rcompareIdentifiers
  };
})), K_ = /* @__PURE__ */ P(((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(f) {
      var a = {};
      for (var c in f) typeof f[c] < "u" && (a[c] = f[c]);
      return a;
    }
    function h(f) {
      var a = "";
      return a += f.major || "0", a += ".", a += f.minor || "0", a += ".", a += f.patch || "0", f.release && (a += "-" + f.release), f.build && (a += "+" + f.build), a;
    }
    function o(f) {
      var a = "";
      function c(d) {
        d.operator && (a += d.operator + " "), d.major && (a += d.toString() + " ");
      }
      return f.forEach(c), a.trim();
    }
    function n(f) {
      if (f) {
        var a = this;
        Object.keys(f).forEach(function(c) {
          a[c] = f[c];
        });
      }
    }
    n.prototype.toString = function() {
      return h(this);
    };
    function u(f) {
      var a = r.exec(f) || [], c = 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 && (c = null), c;
    }
    function l(f) {
      for (var a, c = [], d; a = i.exec(f); )
        d = {
          semver: a[3],
          operator: a[4] || a[2],
          major: a[6],
          minor: a[8],
          patch: a[10]
        }, a[12] === "+" && (d.build = a[13]), a[12] === "-" && (d.release = a[13]), c.push(new n(s(d)));
      return c;
    }
    t.exports.parse = u, t.exports.stringify = h, t.exports.parseRange = l, t.exports.stringifyRange = o;
  })();
})), zi = /* @__PURE__ */ Nt(A_(), 1), We = /* @__PURE__ */ Nt(el(), 1), Et = /* @__PURE__ */ Nt(K_(), 1);
function Xn(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 tl = [
  "major",
  "minor",
  "patch"
], Nh = ["release", "build"], Vr = [...tl, ...Nh], Z_ = {
  major: "",
  minor: ".",
  patch: ".",
  release: "-",
  build: "+"
};
var xh = [
  "^",
  "~",
  ".*",
  ".x"
], J_ = new RegExp(`^(${[
  "^",
  "~",
  "^*",
  "*",
  "x",
  "x.x",
  "x.x.x"
].map(g_).join("|")})$`), Ph = /^npm:(.*)@(.*)/;
function X_(e) {
  const [t] = Et.default.parseRange(e);
  if (!t) throw new Error(Vg.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 Vr.reduce((r, i) => t[i] ? r + 1 : r, 0);
}
function ti(e, t) {
  return (t ? Vr.slice(0, Vr.indexOf(t) + 1) : Vr).filter((r) => t && tl.includes(t) || e[r]).map((r) => Z_[r] + (e[r] || "0")).join("");
}
function Q_(e) {
  const [t] = Et.default.parseRange(e);
  return Vr.slice().reverse().find(Ch(t));
}
function eb(e, t) {
  const [r] = Et.default.parseRange(e);
  return ti(r, t);
}
function tb(e, t) {
  return t === "^" || t === "~" ? t + e : eb(e, "major") + t;
}
function rl(e) {
  return J_.test(e);
}
function Bh(e) {
  return e === "*" || e === "x";
}
function rb(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((h, o) => h !== i[o]);
  return s = s >= 0 ? s : r.length, r[0] === "0" ? "majorVersionZero" : s === 0 ? "major" : s === 1 ? "minor" : "patch";
}
function Fh(e, t, r) {
  const i = rt(e, (h, o, n) => {
    const u = t[h], l = rb(u, o), f = r.groupFunction?.(h, l, (0, Et.parseRange)(u), (0, Et.parseRange)(o), (0, Et.parse)(e[h])) ?? l;
    return f === "none" ? n : {
      ...n,
      [f]: {
        ...n[f],
        [h]: o
      }
    };
  }), s = {
    patch: ve.green(ve.bold("Patch") + "   Backwards-compatible bug fixes"),
    minor: ve.cyan(ve.bold("Minor") + "   Backwards-compatible features"),
    major: ve.red(ve.bold("Major") + "   Potentially breaking API changes"),
    majorVersionZero: ve.magenta(ve.bold("Major version zero") + "   Anything may change")
  };
  return Array.from(/* @__PURE__ */ new Set([
    "patch",
    "minor",
    "major",
    "majorVersionZero",
    ...Object.keys(i).sort()
  ])).filter((h) => h in i).map((h) => ({
    groupName: h,
    heading: h in s ? s[h] : h,
    packages: i[h]
  }));
}
function il(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 h = i.findIndex((u, l) => u !== s[l]);
  h = h >= 0 ? h : i.length;
  const o = h === 0 || i[0] === "0" ? "red" : h === 1 ? "cyan" : "green", n = h > 0 && h < i.length ? "." : "";
  return r + i.slice(0, h).join(".") + n + ve[o](i.slice(h).join("."));
}
var Hc = (e) => {
  const t = We.default.prerelease(e);
  return t && t.slice(0, -1).join(".");
};
function ib(e, t) {
  const r = Hc(e), i = Hc(t);
  return typeof r != "string" || typeof i != "string" || r === i;
}
function nl(e, t) {
  return (We.default.valid(e) && We.default.valid(t) ? We.default.gt(e, t) : e > t) ? 1 : e === t ? 0 : -1;
}
function sl(e, t, r) {
  if (!We.default.validRange(t)) return null;
  const i = We.default.minVersion(t);
  return [...e].sort(nl).filter((s) => {
    const h = We.default.parse(s);
    return h && (r === "major" || h.major === i?.major) && (r === "major" || r === "minor" || h.minor === i?.minor);
  }).at(-1) || null;
}
function Wi(e) {
  return Q_(e) === "release";
}
var Mh = (e) => /^[vV]?\d+$/.test(e), jh = (e) => /^[vV]?\d+\.\d+$/.test(e), nb = (e) => e.replace(/^[vV]/, ""), sb = (e) => Mh(e) ? e + ".0.0" : e, ab = (e) => jh(e) ? e + ".0" : e, al = (e) => ab(sb(nb(e)));
function Uh(e) {
  return e && (e[0] === "v" || e[1] === "v") ? "v" : "";
}
var Hh = (e, t) => `npm:${e}@${t}`, $i = (e) => {
  const t = e && e.match && e.match(Ph);
  return t && t.slice(1);
}, yn = (e) => e && !!e.match(Ph), ob = (e, t) => {
  const r = $i(e);
  return r ? Hh(r[0], t) : null;
}, Ri = (e) => {
  if (!e) return !1;
  let t = null;
  try {
    t = (0, zi.default)(e);
  } catch {
  }
  if (!t || !t.branch) return !1;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return !!We.default.validRange(r);
}, oa = (e) => {
  if (!e) return null;
  const t = (0, zi.default)(e);
  if (!t || !t.branch) return null;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return t && t.branch && We.default.validRange(r) ? r : null;
};
function qh(e, t, r = {}) {
  if (r.wildcard = r.wildcard || "^", !t) return e;
  const [i] = Et.default.parseRange(t);
  if (!i) return e;
  if (r.removeRange) return t;
  if (rl(e)) return e;
  const s = Xn(Et.default.parseRange(e).filter((m) => m.operator !== "||" && m.operator !== "-"), (m) => X_(ti(m))), [h] = s;
  function o(m) {
    return (Bh(h[m]) ? h[m] : tl.includes(m) && h[m] || Nh.includes(m) ? i[m] : null) || null;
  }
  const n = ti(rt(Vr, (m) => ({ [m]: o(m) }))), u = Uh(h.semver) + n, l = Array.from(new Set(s.map((m) => m.operator))), f = l[0] || "", a = xh.some((m) => n.includes(m)), c = l[0] === "<" || l[0] === "<=", d = l[0] === ">", p = l.length > 1;
  return !a && (c || p) ? tb(u, r.wildcard) : (d ? ">=" : f) + u;
}
var lb = (e, t) => {
  const r = Uh(e);
  let i = r ? r + t : t;
  return i = Mh(e) ? i.slice(0, i.length - 4) : i, i = jh(e) ? i.slice(0, i.length - 2) : i, i;
}, Qn = (e, t) => {
  const r = al(t), i = (0, zi.default)(e);
  if (!i) return e;
  const s = decodeURIComponent(i.branch).replace(/^semver:/, "");
  return e.replace(s, qh(s, lb(s, r)));
}, qc = {
  silent: 0,
  error: 1,
  minimal: 2,
  warn: 3,
  info: 4,
  verbose: 5,
  silly: 6
}, cb = (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 || qc[e.loglevel ?? "warn"] >= qc[r]) && console[i](t);
}
function ol(e, t) {
  e.loglevel !== "silent" && console.log(JSON.stringify(t, null, 2));
}
function ub(e, t) {
  console.log(Object.keys(e).map((r) => r + "@" + e[r]).join(t));
}
function sr(e, t, r) {
  Fe(e, Object.keys(t).sort().reduce((i, s) => (i[s] = t[s], i), {}), r);
}
function ll(e) {
  const t = new Bo.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 Gc(e) {
  return Ri(e) ? oa(e) : yn(e) ? $i(e)[1] : e;
}
async function la({ from: e, to: t, format: r, ownersChangedDeps: i, pkgFile: s, time: h }) {
  const o = r?.includes("dep") && s ? JSON.parse(await Qe.readFile(s, "utf-8")) : null;
  return ll(await Promise.all(Object.keys(t).sort().map(async (n) => {
    const u = (r?.includes("installedVersion") ? await kv(n, void 0, { pkgFile: s }) : e[n]) || "", l = n in (o?.devDependencies ?? {}) ? "dev" : n in (o?.peerDependencies ?? {}) ? "peer" : n in (o?.optionalDependencies ?? {}) ? "optional" : "", f = Gc(t[n] || ""), a = i ? n in i ? i[n] ? "*owner changed*" : "" : "*unknown*" : "", c = il(Gc(u), f), d = r?.includes("homepage") && (await Fo(n, { pkgFile: s }))?.homepage || "", p = r?.includes("repo") && await Pv(n, void 0, { pkgFile: s }) || "", m = r?.includes("diff") ? `${process.env.NCU_DIFF || "https://npmdiff.dev"}/${encodeURIComponent(n)}/${u.replace(/^\W+/, "")}/${f.replace(/^\W+/, "")}` : "", g = r?.includes("time") && h?.[n] ? h[n] : "";
    return [
      n,
      ...r?.includes("dep") ? [l ? ve.gray(l) : ""] : [],
      u,
      "→",
      c,
      a,
      ...[
        d,
        p,
        m,
        g
      ].filter((v) => v)
    ];
  })));
}
async function hb({ current: e, upgraded: t, ownersChangedDeps: r, pkgFile: i, time: s }, h) {
  if (h.format?.includes("group")) {
    const o = Fh(t, e, h);
    for (const { heading: n, packages: u } of o)
      Fe(h, `
` + n), Fe(h, await la({
        from: e,
        to: u,
        format: h.format,
        ownersChangedDeps: r,
        pkgFile: i,
        time: s
      }));
  } else h.format?.includes("lines") ? ub(t, `
`) : Fe(h, await la({
    from: e,
    to: t,
    format: h.format,
    ownersChangedDeps: r,
    pkgFile: i,
    time: s
  }));
}
function fb(e, t) {
  if (t && Object.keys(t).length > 0) {
    const r = new Bo.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, ve.yellow(s)])), Fe(e, `
` + r.toString());
  }
}
async function cl(e, { current: t, latest: r, upgraded: i, total: s, numCooldown: h, ownersChangedDeps: o, pkgFile: n, time: u, errors: l }) {
  e.format?.includes("group") || Fe(e, "");
  const f = ve.green.bold(":)"), a = Object.keys(l || {}).length, c = typeof e.target == "string" ? e.target : "target", d = Object.keys(i).length;
  d === 0 && s === 0 && a === 0 ? Object.keys(t).length === 0 ? Fe(e, "No dependencies.") : r && Object.keys(r).length === 0 && !h && Object.values(br(t, (p, m) => cb(m))).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 ${ve.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 ${h ? "not in cooldown " : ""}match the ${c} package versions ${f}`) : d === 0 && s > 0 ? Fe(e, `No dependencies upgraded ${f}`) : d > 0 && await hb({
    current: t,
    upgraded: i,
    ownersChangedDeps: o,
    pkgFile: n,
    time: u
  }, e), fb(e, l);
}
function db(e, t) {
  Fe(e, `
Ignored incompatible updates (peer dependencies):
`), Fe(e, ll(Object.entries(t).map(([r, { from: i, to: s, reason: h }]) => {
    const o = "reason: " + Object.entries(h).map(([n, u]) => n + " requires " + u).join(", ");
    return [
      r,
      i,
      "→",
      il(i, s),
      o
    ];
  })));
}
function pb(e, t) {
  Fe(e, `
Ignored incompatible updates (engines node):
`), Fe(e, ll(Object.entries(t).map(([r, { from: i, to: s, enginesNode: h }]) => [
    r,
    i,
    "→",
    il(i, s),
    `reason: requires node ${h}`
  ])));
}
function gb(e, t = 10) {
  return typeof e.timestamp != "number" ? !1 : e.timestamp + t * (60 * 1e3) < Date.now();
}
var Gh = ".ncu-cache.json", ca = `~/${Gh}`, mb = ze.join(Zr.homedir(), Gh);
function zh(e) {
  return e === ca ? mb : e;
}
async function vb(e) {
  e.cacheFile && await Wr.promises.rm(zh(e.cacheFile), { force: !0 });
}
async function yb(e) {
  if (!e.cache || !e.cacheFile) return;
  const t = zh(e.cacheFile);
  let r = {};
  const i = /* @__PURE__ */ new Set();
  try {
    r = JSON.parse(await Wr.promises.readFile(t, "utf-8")), gb(r, e.cacheExpiration) && (Wr.promises.rm(t, { force: !0 }), r = {});
  } catch {
  }
  return typeof r.timestamp != "number" && (r.timestamp = Date.now()), r.packages || (r.packages = {}), r.peers || (r.peers = {}), {
    get: (s, h) => {
      if (!r.packages) return;
      const o = `${s}___${h}`, n = r.packages[o];
      return n && !o.includes(n) && i.add(s), n;
    },
    set: (s, h, o) => {
      if (!r.packages) return;
      const n = `${s}___${h}`;
      r.packages[n] = o;
    },
    getPeers: (s, h) => {
      if (!r.peers) return;
      const o = `${s}___${h}`, n = r.peers[o];
      return n && i.add(s), n;
    },
    setPeers: (s, h, o) => {
      const n = `${s}___${h}`;
      r.peers && (r.peers[n] = o);
    },
    save: async () => {
      await Wr.promises.writeFile(t, JSON.stringify(r));
    },
    log: (s) => {
      const h = i.size;
      h !== 0 && (Fe(e, `
Using ${h} cached package ${s ? "peer" : "version"}${h > 1 ? "s" : ""}`, "warn"), Fe(e, i, "verbose"), i.clear());
    }
  };
}
function Dn(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 _b = (e, t = 92) => {
  const r = e.split(`
`), i = [];
  return r.forEach((s) => {
    let h = 0;
    if (s.length === 0) {
      i.push("");
      return;
    }
    for (; h < s.length; ) {
      const o = s.slice(h, h + t + 1), n = o.trimEnd();
      if (n.length <= t) {
        i.push(n);
        break;
      }
      const u = o.split("").reverse().join("").match(/[ -][^\W]/)?.index || 0, l = o.slice(0, o.length - u);
      if (l.length === 0) break;
      i.push(l.trimEnd()), h += l.length;
    }
  }), i.join(`
`).trim();
}, bb = (e) => e.map(([t, r]) => [t, _b(r)]), wb = (e) => `
  <tr>` + e.map((t) => `<td>${t}</td>`).join("") + "</tr>", li = ({ colAligns: e, markdown: t, rows: r }) => {
  if (t) return `<table>${r.map(wb).join("")}
</table>`;
  {
    const i = new Bo.default({ ...e ? { colAligns: e } : null });
    return i.push(...t ? r : bb(r)), i.toString();
  }
}, Eb = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
], ci = (e, t) => e.split(`
`).map((r) => `${"".padStart(t, " ")}${r}`).join(`
`), Bt = (e, { markdown: t } = {}) => `${t ? "```js\n" : ""}${ci(e, t ? 0 : 4)}${t ? "\n```" : ""}`, zc = (e) => e.replace(/`/g, ""), mi = (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`);
}, uL = (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 }) : zc(e.help({ markdown: t })) : e.help;
    r += `
${i.trim()}

`;
  } else if (e.description) {
    const i = t ? e.description : zc(e.description);
    r += `
${i.replace(/`/g, "")}
`;
  }
  return r.trim();
}, Sb = ({ 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.

${ve.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:

${li({
  markdown: e,
  rows: [[ve.cyan("--doctorInstall"), "specify a custom install script (default: `npm install` or `yarn`)"], [ve.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
`, Ab = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("filterResults")}: (packageName, { current, currentVersionSemver, upgraded, upgradedVersionSemver }) ${ve.cyan("=>")} {
  ${ve.cyan("const")} currentMajor ${ve.red("=")} parseInt(currentVersionSemver[${ve.cyan("0")}]?.major, ${ve.cyan("10")})
  ${ve.cyan("const")} upgradedMajor ${ve.red("=")} parseInt(upgradedVersionSemver?.major, ${ve.cyan("10")})
  ${ve.red("if")} (currentMajor ${ve.red("&&")} upgradedMajor) {
    ${ve.red("return")} currentMajor ${ve.red(">=")} upgradedMajor
  }
  ${ve.red("return")} ${ve.cyan("true")}
}`, { markdown: e })}

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

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

${ci(li({
  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."]
  ]
}), e ? 0 : 4)}
`, Db = ({ markdown: e }) => `Control the auto-install behavior.

${ci(li({
  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)}
`, Rb = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("filter")}: (name, semver) ${ve.cyan("=>")} {
  ${ve.red("if")} (name.startsWith(${ve.yellow("'@myorg/'")})) {
    ${ve.red("return")} ${ve.cyan("false")}
  }
  ${ve.red("return")} ${ve.cyan("true")}
}`, { markdown: e })}

`;
}, Ob = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("filterVersion")}: (name, semver) ${ve.cyan("=>")} {
  ${ve.red("if")} (name.startsWith(${ve.yellow("'@myorg/'")}) ${ve.red("&&")} parseInt(semver[0]?.major) ${ve.cyan(">")} ${ve.cyan("5")}) {
    ${ve.red("return")} ${ve.cyan("false")}
  }
  ${ve.red("return")} ${ve.cyan("true")}
}`, { markdown: e })}

`;
}, Cb = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("reject")}: (name, semver) ${ve.cyan("=>")} {
  ${ve.red("if")} (name.startsWith(${ve.yellow("'@myorg/'")})) {
    ${ve.red("return")} ${ve.cyan("true")}
  }
  ${ve.red("return")} ${ve.cyan("false")}
}`, { markdown: e })}

`;
}, Ib = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("rejectVersion")}: (name, semver) ${ve.cyan("=>")} {
  ${ve.red("if")} (name.startsWith(${ve.yellow("'@myorg/'")}) ${ve.red("&&")} parseInt(semver[0]?.major) ${ve.cyan(">")} ${ve.cyan("5")}) {
    ${ve.red("return")} ${ve.cyan("true")}
  }
  ${ve.red("return")} ${ve.cyan("false")}
}`, { markdown: e })}

`;
}, kb = ({ 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.

${Bt(`${ve.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.
*/`)}
${ve.green("groupFunction")}: (name, defaultGroup, currentSpec, upgradedSpec, upgradedVersion) ${ve.cyan("=>")} {
  ${ve.red("if")} (name ${ve.red("===")} ${ve.yellow("'typescript'")} ${ve.red("&&")} defaultGroup ${ve.red("===")} ${ve.yellow("'minor'")}) {
    ${ve.red("return")} ${ve.yellow("'major'")}
  }
  ${ve.red("if")} (name.startsWith(${ve.yellow("'@myorg/'")})) {
    ${ve.red("return")} ${ve.yellow("'My Org'")}
  }
  ${ve.red("return")} defaultGroup
}`, { markdown: e })}

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

${ci(li({
  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.

${Bt("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.

${Bt(`${ve.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).
*/`)}
${ve.green("target")}: (name, semver) ${ve.cyan("=>")} {
  ${ve.red("if")} (parseInt(semver[0]?.major) ${ve.red("===")} ${ve.yellow("'0'")}) ${ve.red("return")} ${ve.yellow("'minor'")}
  ${ve.red("return")} ${ve.yellow("'latest'")}
}`, { markdown: e })}
`, $b = ({ markdown: e }) => `Specifies the package manager to use when looking up versions.

${ci(li({
  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)}
`, Nb = ({ markdown: e }) => `${`Specify whether ${((r) => e ? `\`${r}\`` : r)("--registry")} refers to a full npm registry or a simple JSON file.`}

${ci(li({
  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 ${ve.cyan("`--registry`")} option.

Example:

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

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

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

registry.json:

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

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

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

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

The package ${ve.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"

${ve.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.${ve.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  1.${ve.cyan("1.0")}

${ve.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.${ve.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  ${ve.red("2.0.0")}
`;
}, Pb = ({ 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"\`.

${ve.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]

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

${Bt(`${ve.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

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

${Bt(`${ve.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

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

${Bt(`${ve.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

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

${Bt(`${ve.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.

${Bt(`${ve.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.
*/`)}
${ve.green("cooldown")}: packageName ${ve.cyan("=>")} (packageName.startsWith(${ve.yellow("'@my-company'")}) ? ${ve.cyan("0")} : ${ve.cyan("3")})`, { markdown: e })}
`, Wh = [
  {
    long: "cache",
    description: `Cache versions to a local cache file. Default \`--cacheFile\` is ${ca} 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: mi("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 ze.isAbsolute(e) ? e : ze.join(process.cwd(), e);
    },
    default: ca,
    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: mi("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) => e && typeof e == "string" ? e.split(",") : 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: Sb
  },
  {
    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: mi("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: Rb
  },
  {
    long: "filterResults",
    arg: "fn",
    cli: !1,
    description: "Filters results based on a user provided predicate function after fetching new versions.",
    type: "FilterResultsFunction",
    help: Ab
  },
  {
    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: Ob
  },
  {
    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.",
    parse: (e) => typeof e == "string" ? e.split(",") : e,
    default: [],
    type: "readonly string[]",
    choices: [
      "dep",
      "group",
      "homepage",
      "ownerChanged",
      "repo",
      "diff",
      "time",
      "lines",
      "installedVersion"
    ],
    help: Tb
  },
  {
    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: kb
  },
  {
    long: "install",
    arg: "value",
    description: "Control the auto-install behavior: always, never, prompt.",
    help: Db,
    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: $b,
    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: xb
  },
  {
    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: Nb,
    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: Cb
  },
  {
    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: Ib
  },
  {
    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: mi("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: Lb,
    type: `${Eb.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: mi("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: Pb,
    parse: (e) => {
      if (typeof e == "number" || typeof e == "function") return e;
      if (typeof e == "string") {
        const t = Dn(e);
        return t !== null ? t : parseInt(e, 10);
      } else throw new Error("cooldown must be a number, string, or function");
    }
  }
], wr = Wh.reduce((e, t) => ({
  ...e,
  ...t.short ? { [t.short]: t } : null,
  ...t.long ? { [t.long]: t } : null
}), {}), js = Xn(Wh, (e) => e.long), Bb = [
  "package-lock.json",
  "yarn.lock",
  "pnpm-lock.yaml",
  "deno.json",
  "deno.jsonc",
  "bun.lock",
  "bun.lockb"
];
async function Vh(e, t = Qe.readdir) {
  try {
    const r = Zr.homedir(), i = Zr.tmpdir();
    let s = e.cwd ? e.cwd : e.packageFile ? ze.dirname(e.packageFile) : ".";
    for (s = ze.resolve(s); ; ) {
      const h = await t(s);
      for (const n of Bb) if (h.includes(n)) return {
        directoryPath: s,
        filename: n
      };
      const o = ze.resolve(s, "..");
      if (o === s || o === r || o === i) break;
      s = o;
    }
  } catch {
  }
  return null;
}
var xr = Kg(No(import.meta.url)), Fb = {
  "package-lock": "npm",
  yarn: "yarn",
  "pnpm-lock": "pnpm",
  deno: "deno",
  bun: "bun"
}, Mb = () => {
  const e = process.env.npm_config_user_agent ?? "", t = process.env.npm_execpath ?? "";
  return e.startsWith("yarn/") || t.includes("yarn") || xr.includes("/yarn/") || xr.includes("\\Yarn\\") ? "yarn" : e.startsWith("pnpm/") || t.includes("pnpm") || xr.includes("/pnpm/") || xr.includes("\\pnpm\\") ? "pnpm" : e.startsWith("bun/") || typeof Bun < "u" || process.versions.bun || xr.includes("/.bun/") || xr.includes("\\.bun\\") ? "bun" : "npm";
}, ua = async (e, t = Qe.readdir) => {
  if (e.packageManager) return e.packageManager;
  if (e.global) return Mb();
  const r = (await Vh(e, t))?.filename;
  return r ? Fb[r.split(".")[0]] : "npm";
}, jb = /* @__PURE__ */ P(((e, t) => {
  t.exports = h, h.sync = o;
  var r = ge("fs");
  function i(n, u) {
    var l = u.pathExt !== void 0 ? u.pathExt : process.env.PATHEXT;
    if (!l || (l = l.split(";"), l.indexOf("") !== -1)) return !0;
    for (var f = 0; f < l.length; f++) {
      var a = l[f].toLowerCase();
      if (a && n.substr(-a.length).toLowerCase() === a) return !0;
    }
    return !1;
  }
  function s(n, u, l) {
    return !n.isSymbolicLink() && !n.isFile() ? !1 : i(u, l);
  }
  function h(n, u, l) {
    r.stat(n, function(f, a) {
      l(f, f ? !1 : s(a, n, u));
    });
  }
  function o(n, u) {
    return s(r.statSync(n), n, u);
  }
})), Ub = /* @__PURE__ */ P(((e, t) => {
  t.exports = i, i.sync = s;
  var r = ge("fs");
  function i(n, u, l) {
    r.stat(n, function(f, a) {
      l(f, f ? !1 : h(a, u));
    });
  }
  function s(n, u) {
    return h(r.statSync(n), u);
  }
  function h(n, u) {
    return n.isFile() && o(n, u);
  }
  function o(n, u) {
    var l = n.mode, f = n.uid, a = n.gid, c = u.uid !== void 0 ? u.uid : process.getuid && process.getuid(), d = u.gid !== void 0 ? u.gid : process.getgid && process.getgid(), p = parseInt("100", 8), m = parseInt("010", 8), g = parseInt("001", 8), v = p | m;
    return l & g || l & m && a === d || l & p && f === c || l & v && c === 0;
  }
})), Hb = /* @__PURE__ */ P(((e, t) => {
  ge("fs");
  var r;
  process.platform === "win32" || global.TESTING_WINDOWS ? r = jb() : r = Ub(), t.exports = i, i.sync = s;
  function i(h, o, n) {
    if (typeof o == "function" && (n = o, o = {}), !n) {
      if (typeof Promise != "function") throw new TypeError("callback not provided");
      return new Promise(function(u, l) {
        i(h, o || {}, function(f, a) {
          f ? l(f) : u(a);
        });
      });
    }
    r(h, o || {}, function(u, l) {
      u && (u.code === "EACCES" || o && o.ignoreErrors) && (u = null, l = !1), n(u, l);
    });
  }
  function s(h, o) {
    try {
      return r.sync(h, o || {});
    } catch (n) {
      if (o && o.ignoreErrors || n.code === "EACCES") return !1;
      throw n;
    }
  }
})), qb = /* @__PURE__ */ P(((e, t) => {
  var r = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", i = ge("path"), s = r ? ";" : ":", h = Hb(), o = (f) => Object.assign(/* @__PURE__ */ new Error(`not found: ${f}`), { code: "ENOENT" }), n = (f, a) => {
    const c = a.colon || s, d = f.match(/\//) || r && f.match(/\\/) ? [""] : [...r ? [process.cwd()] : [], ...(a.path || process.env.PATH || "").split(c)], p = r ? a.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", m = r ? p.split(c) : [""];
    return r && f.indexOf(".") !== -1 && m[0] !== "" && m.unshift(""), {
      pathEnv: d,
      pathExt: m,
      pathExtExe: p
    };
  }, u = (f, a, c) => {
    typeof a == "function" && (c = a, a = {}), a || (a = {});
    const { pathEnv: d, pathExt: p, pathExtExe: m } = n(f, a), g = [], v = (E) => new Promise((b, w) => {
      if (E === d.length) return a.all && g.length ? b(g) : w(o(f));
      const _ = d[E], S = /^".*"$/.test(_) ? _.slice(1, -1) : _, T = i.join(S, f);
      b(y(!S && /^\.[\\\/]/.test(f) ? f.slice(0, 2) + T : T, E, 0));
    }), y = (E, b, w) => new Promise((_, S) => {
      if (w === p.length) return _(v(b + 1));
      const T = p[w];
      h(E + T, { pathExt: m }, (D, R) => {
        if (!D && R) if (a.all) g.push(E + T);
        else return _(E + T);
        return _(y(E, b, w + 1));
      });
    });
    return c ? v(0).then((E) => c(null, E), c) : v(0);
  }, l = (f, a) => {
    a = a || {};
    const { pathEnv: c, pathExt: d, pathExtExe: p } = n(f, a), m = [];
    for (let g = 0; g < c.length; g++) {
      const v = c[g], y = /^".*"$/.test(v) ? v.slice(1, -1) : v, E = i.join(y, f), b = !y && /^\.[\\\/]/.test(f) ? f.slice(0, 2) + E : E;
      for (let w = 0; w < d.length; w++) {
        const _ = b + d[w];
        try {
          if (h.sync(_, { pathExt: p })) if (a.all) m.push(_);
          else return _;
        } catch {
        }
      }
    }
    if (a.all && m.length) return m;
    if (a.nothrow) return null;
    throw o(f);
  };
  t.exports = u, u.sync = l;
})), Gb = /* @__PURE__ */ P(((e, t) => {
  var r = (i = {}) => {
    const s = i.env || process.env;
    return (i.platform || process.platform) !== "win32" ? "PATH" : Object.keys(s).reverse().find((h) => h.toUpperCase() === "PATH") || "Path";
  };
  t.exports = r, t.exports.default = r;
})), zb = /* @__PURE__ */ P(((e, t) => {
  var r = ge("path"), i = qb(), s = Gb();
  function h(n, u) {
    const l = n.options.env || process.env, f = process.cwd(), a = n.options.cwd != null, c = a && process.chdir !== void 0 && !process.chdir.disabled;
    if (c) try {
      process.chdir(n.options.cwd);
    } catch {
    }
    let d;
    try {
      d = i.sync(n.command, {
        path: l[s({ env: l })],
        pathExt: u ? r.delimiter : void 0
      });
    } catch {
    } finally {
      c && process.chdir(f);
    }
    return d && (d = r.resolve(a ? n.options.cwd : "", d)), d;
  }
  function o(n) {
    return h(n) || h(n, !0);
  }
  t.exports = o;
})), Wb = /* @__PURE__ */ P(((e, t) => {
  var r = /([()\][%!^"`<>&|;, *?])/g;
  function i(h) {
    return h = h.replace(r, "^$1"), h;
  }
  function s(h, o) {
    return h = `${h}`, h = h.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), h = h.replace(/(?=(\\+?)?)\1$/, "$1$1"), h = `"${h}"`, h = h.replace(r, "^$1"), o && (h = h.replace(r, "^$1")), h;
  }
  t.exports.command = i, t.exports.argument = s;
})), Vb = /* @__PURE__ */ P(((e, t) => {
  t.exports = /^#!(.*)/;
})), Yb = /* @__PURE__ */ P(((e, t) => {
  var r = Vb();
  t.exports = (i = "") => {
    const s = i.match(r);
    if (!s) return null;
    const [h, o] = s[0].replace(/#! ?/, "").split(" "), n = h.split("/").pop();
    return n === "env" ? o : o ? `${n} ${o}` : n;
  };
})), Kb = /* @__PURE__ */ P(((e, t) => {
  var r = ge("fs"), i = Yb();
  function s(h) {
    const n = Buffer.alloc(150);
    let u;
    try {
      u = r.openSync(h, "r"), r.readSync(u, n, 0, 150, 0), r.closeSync(u);
    } catch {
    }
    return i(n.toString());
  }
  t.exports = s;
})), Zb = /* @__PURE__ */ P(((e, t) => {
  var r = ge("path"), i = zb(), s = Wb(), h = Kb(), o = process.platform === "win32", n = /\.(?:com|exe)$/i, u = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
  function l(c) {
    c.file = i(c);
    const d = c.file && h(c.file);
    return d ? (c.args.unshift(c.file), c.command = d, i(c)) : c.file;
  }
  function f(c) {
    if (!o) return c;
    const d = l(c), p = !n.test(d);
    if (c.options.forceShell || p) {
      const m = u.test(d);
      c.command = r.normalize(c.command), c.command = s.command(c.command), c.args = c.args.map((g) => s.argument(g, m)), c.args = [
        "/d",
        "/s",
        "/c",
        `"${[c.command].concat(c.args).join(" ")}"`
      ], c.command = process.env.comspec || "cmd.exe", c.options.windowsVerbatimArguments = !0;
    }
    return c;
  }
  function a(c, d, p) {
    d && !Array.isArray(d) && (p = d, d = null), d = d ? d.slice(0) : [], p = Object.assign({}, p);
    const m = {
      command: c,
      args: d,
      options: p,
      file: void 0,
      original: {
        command: c,
        args: d
      }
    };
    return p.shell ? m : f(m);
  }
  t.exports = a;
})), Jb = /* @__PURE__ */ P(((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 l = n.emit;
    n.emit = function(f, a) {
      if (f === "exit") {
        const c = h(a, u);
        if (c) return l.call(n, "error", c);
      }
      return l.apply(n, arguments);
    };
  }
  function h(n, u) {
    return r && n === 1 && !u.file ? i(u.original, "spawn") : null;
  }
  function o(n, u) {
    return r && n === 1 && !u.file ? i(u.original, "spawnSync") : null;
  }
  t.exports = {
    hookChildProcess: s,
    verifyENOENT: h,
    verifyENOENTSync: o,
    notFoundError: i
  };
})), Xb = /* @__PURE__ */ P(((e, t) => {
  var r = ge("child_process"), i = Zb(), s = Jb();
  function h(n, u, l) {
    const f = i(n, u, l), a = r.spawn(f.command, f.args, f.options);
    return s.hookChildProcess(a, f), a;
  }
  function o(n, u, l) {
    const f = i(n, u, l), a = r.spawnSync(f.command, f.args, f.options);
    return a.error = a.error || s.verifyENOENTSync(a.status, f), a;
  }
  t.exports = h, t.exports.spawn = h, t.exports.sync = o, t.exports._parse = i, t.exports._enoent = s;
})), Qb = /* @__PURE__ */ P(((e, t) => {
  var r = Xb(), i = (s, h, o = {}, n = {}) => {
    o.rejectOnError === void 0 && (o.rejectOnError = !0);
    let u = "", l = "";
    const f = r(s, h, n);
    return new Promise((a, c) => {
      o.stdin !== void 0 && o.stdin != null && f.stdin.write(o.stdin), f.stdin.end(), f.stdout.on("data", (d) => {
        u += d, o.stdout && o.stdout(d);
      }), f.stderr.on("data", (d) => {
        l += d, o.stderr && o.stderr(d);
      }), o.rejectOnError && f.addListener("error", c), f.on("close", (d) => {
        d !== 0 && o.rejectOnError ? c(l) : a({
          stdout: u,
          stderr: l
        });
      });
    });
  };
  t.exports = i;
})), Er = /* @__PURE__ */ Nt(Qb(), 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 e1 = {
  [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("");
  }
}, Vc = 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;
  }
}, ha;
(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";
})(ha || (ha = {}));
var Ye = ha, Ie;
(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";
})(Ie || (Ie = {}));
function Yc(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 t1 = {
  stringBufferSize: 0,
  numberBufferSize: 0,
  separator: void 0,
  emitPartialTokens: !1
}, Us = class Yh extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, Yh.prototype);
  }
}, r1 = class {
  constructor(e) {
    this.state = Ie.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({}, t1), e), this.emitPartialTokens = e.emitPartialTokens === !0, this.bufferedString = e.stringBufferSize && e.stringBufferSize > 4 ? new Vc(e.stringBufferSize) : new Wc(), this.bufferedNumber = e.numberBufferSize && e.numberBufferSize > 0 ? new Vc(e.numberBufferSize) : new Wc(), this.separator = e.separator, this.separatorBytes = e.separator ? this.encoder.encode(e.separator) : void 0;
  }
  get isEnded() {
    return this.state === Ie.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 Ie.BOM_OR_START:
            if (e instanceof Uint8Array && i === 239) {
              this.bom = [
                239,
                187,
                191
              ], this.bomIndex += 1, this.state = Ie.BOM;
              continue;
            }
            if (e instanceof Uint16Array) {
              if (i === 254) {
                this.bom = [254, 255], this.bomIndex += 1, this.state = Ie.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [255, 254], this.bomIndex += 1, this.state = Ie.BOM;
                continue;
              }
            }
            if (e instanceof Uint32Array) {
              if (i === 0) {
                this.bom = [
                  0,
                  0,
                  254,
                  255
                ], this.bomIndex += 1, this.state = Ie.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [
                  255,
                  254,
                  0,
                  0
                ], this.bomIndex += 1, this.state = Ie.BOM;
                continue;
              }
            }
          case Ie.START:
            if (this.offset += 1, this.separatorBytes && i === this.separatorBytes[0]) {
              if (this.separatorBytes.length === 1) {
                this.state = Ie.START, this.onToken({
                  token: Ye.SEPARATOR,
                  value: this.separator,
                  offset: this.offset + this.separatorBytes.length - 1
                });
                continue;
              }
              this.state = Ie.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: Ye.LEFT_BRACE,
                value: "{",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.RIGHT_CURLY_BRACKET) {
              this.onToken({
                token: Ye.RIGHT_BRACE,
                value: "}",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.LEFT_SQUARE_BRACKET) {
              this.onToken({
                token: Ye.LEFT_BRACKET,
                value: "[",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.RIGHT_SQUARE_BRACKET) {
              this.onToken({
                token: Ye.RIGHT_BRACKET,
                value: "]",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.COLON) {
              this.onToken({
                token: Ye.COLON,
                value: ":",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.COMMA) {
              this.onToken({
                token: Ye.COMMA,
                value: ",",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_T) {
              this.state = Ie.TRUE1;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_F) {
              this.state = Ie.FALSE1;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_N) {
              this.state = Ie.NULL1;
              continue;
            }
            if (i === Be.QUOTATION_MARK) {
              this.bufferedString.reset(), this.escapedCharsByteLength = 0, this.state = Ie.STRING_DEFAULT;
              continue;
            }
            if (i >= Be.DIGIT_ONE && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            if (i === Be.DIGIT_ZERO) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i === Be.HYPHEN_MINUS) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_INITIAL_MINUS;
              continue;
            }
            break;
          case Ie.STRING_DEFAULT:
            if (i === Be.QUOTATION_MARK) {
              const h = this.bufferedString.toString();
              this.state = Ie.START, this.onToken({
                token: Ye.STRING,
                value: h,
                offset: this.offset
              }), this.offset += this.escapedCharsByteLength + this.bufferedString.byteLength + 1;
              continue;
            }
            if (i === Be.REVERSE_SOLIDUS) {
              this.state = Ie.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 = Ie.STRING_INCOMPLETE_CHAR;
              continue;
            }
            if (i >= Be.SPACE) {
              this.bufferedString.appendChar(i);
              continue;
            }
            break;
          case Ie.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 = Ie.STRING_DEFAULT;
            continue;
          case Ie.STRING_AFTER_BACKSLASH:
            const s = e1[i];
            if (s) {
              this.bufferedString.appendChar(s), this.escapedCharsByteLength += 1, this.state = Ie.STRING_DEFAULT;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.unicode = "", this.state = Ie.STRING_UNICODE_DIGIT_1;
              continue;
            }
            break;
          case Ie.STRING_UNICODE_DIGIT_1:
          case Ie.STRING_UNICODE_DIGIT_2:
          case Ie.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 Ie.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 h = parseInt(this.unicode + String.fromCharCode(i), 16);
              let o;
              if (this.highSurrogate === void 0) if (h >= 55296 && h <= 56319) {
                this.highSurrogate = h, this.state = Ie.STRING_DEFAULT;
                continue;
              } else o = String.fromCharCode(h);
              else
                h >= 56320 && h <= 57343 ? o = String.fromCharCode(this.highSurrogate, h) : o = String.fromCharCode(this.highSurrogate), this.highSurrogate = void 0;
              const n = this.encoder.encode(o);
              this.bufferedString.appendBuf(n), this.escapedCharsByteLength += 6 - n.byteLength, this.state = Ie.STRING_DEFAULT;
              continue;
            }
            break;
          case Ie.NUMBER_AFTER_INITIAL_MINUS:
            if (i === Be.DIGIT_ZERO) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i >= Be.DIGIT_ONE && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            break;
          case Ie.NUMBER_AFTER_INITIAL_ZERO:
            if (i === Be.FULL_STOP) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_E || i === Be.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = Ie.START, this.emitNumber();
            continue;
          case Ie.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 = Ie.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_E || i === Be.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = Ie.START, this.emitNumber();
            continue;
          case Ie.NUMBER_AFTER_FULL_STOP:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_DECIMAL;
              continue;
            }
            break;
          case Ie.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 = Ie.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = Ie.START, this.emitNumber();
            continue;
          case Ie.NUMBER_AFTER_E:
            if (i === Be.PLUS_SIGN || i === Be.HYPHEN_MINUS) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_E_AND_SIGN;
              continue;
            }
          case Ie.NUMBER_AFTER_E_AND_SIGN:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = Ie.NUMBER_AFTER_E_AND_DIGIT;
              continue;
            }
            break;
          case Ie.NUMBER_AFTER_E_AND_DIGIT:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            r -= 1, this.state = Ie.START, this.emitNumber();
            continue;
          case Ie.TRUE1:
            if (i === Be.LATIN_SMALL_LETTER_R) {
              this.state = Ie.TRUE2;
              continue;
            }
            break;
          case Ie.TRUE2:
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.state = Ie.TRUE3;
              continue;
            }
            break;
          case Ie.TRUE3:
            if (i === Be.LATIN_SMALL_LETTER_E) {
              this.state = Ie.START, this.onToken({
                token: Ye.TRUE,
                value: !0,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case Ie.FALSE1:
            if (i === Be.LATIN_SMALL_LETTER_A) {
              this.state = Ie.FALSE2;
              continue;
            }
            break;
          case Ie.FALSE2:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = Ie.FALSE3;
              continue;
            }
            break;
          case Ie.FALSE3:
            if (i === Be.LATIN_SMALL_LETTER_S) {
              this.state = Ie.FALSE4;
              continue;
            }
            break;
          case Ie.FALSE4:
            if (i === Be.LATIN_SMALL_LETTER_E) {
              this.state = Ie.START, this.onToken({
                token: Ye.FALSE,
                value: !1,
                offset: this.offset
              }), this.offset += 4;
              continue;
            }
            break;
          case Ie.NULL1:
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.state = Ie.NULL2;
              continue;
            }
            break;
          case Ie.NULL2:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = Ie.NULL3;
              continue;
            }
            break;
          case Ie.NULL3:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = Ie.START, this.onToken({
                token: Ye.NULL,
                value: null,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case Ie.SEPARATOR:
            if (this.separatorIndex += 1, !this.separatorBytes || i !== this.separatorBytes[this.separatorIndex]) break;
            this.separatorIndex === this.separatorBytes.length - 1 && (this.state = Ie.START, this.onToken({
              token: Ye.SEPARATOR,
              value: this.separator,
              offset: this.offset + this.separatorIndex
            }), this.separatorIndex = 0);
            continue;
          case Ie.BOM:
            if (i === this.bom[this.bomIndex]) {
              if (this.bomIndex === this.bom.length - 1) {
                this.state = Ie.START, this.bom = void 0, this.bomIndex = 0;
                continue;
              }
              this.bomIndex += 1;
              continue;
            }
            break;
          case Ie.ENDED:
            if (i === Be.SPACE || i === Be.NEWLINE || i === Be.CARRIAGE_RETURN || i === Be.TAB) continue;
        }
        throw new Us(`Unexpected "${String.fromCharCode(i)}" at position "${r}" in state ${Yc(this.state)}`);
      }
      if (this.emitPartialTokens) switch (this.state) {
        case Ie.TRUE1:
        case Ie.TRUE2:
        case Ie.TRUE3:
          this.onToken({
            token: Ye.TRUE,
            value: !0,
            offset: this.offset,
            partial: !0
          });
          break;
        case Ie.FALSE1:
        case Ie.FALSE2:
        case Ie.FALSE3:
        case Ie.FALSE4:
          this.onToken({
            token: Ye.FALSE,
            value: !1,
            offset: this.offset,
            partial: !0
          });
          break;
        case Ie.NULL1:
        case Ie.NULL2:
        case Ie.NULL3:
          this.onToken({
            token: Ye.NULL,
            value: null,
            offset: this.offset,
            partial: !0
          });
          break;
        case Ie.STRING_DEFAULT: {
          const r = this.bufferedString.toString();
          this.onToken({
            token: Ye.STRING,
            value: r,
            offset: this.offset,
            partial: !0
          });
          break;
        }
        case Ie.NUMBER_AFTER_INITIAL_ZERO:
        case Ie.NUMBER_AFTER_INITIAL_NON_ZERO:
        case Ie.NUMBER_AFTER_DECIMAL:
        case Ie.NUMBER_AFTER_E_AND_DIGIT:
          try {
            this.onToken({
              token: Ye.NUMBER,
              value: this.parseNumber(this.bufferedNumber.toString()),
              offset: this.offset,
              partial: !0
            });
          } catch {
          }
      }
    } catch (t) {
      this.error(t);
    }
  }
  emitNumber() {
    this.onToken({
      token: Ye.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 !== Ie.ENDED && (this.state = Ie.ERROR), this.onError(e);
  }
  end() {
    switch (this.state) {
      case Ie.NUMBER_AFTER_INITIAL_ZERO:
      case Ie.NUMBER_AFTER_INITIAL_NON_ZERO:
      case Ie.NUMBER_AFTER_DECIMAL:
      case Ie.NUMBER_AFTER_E_AND_DIGIT:
        this.state = Ie.ENDED, this.emitNumber(), this.onEnd();
        break;
      case Ie.BOM_OR_START:
      case Ie.START:
      case Ie.ERROR:
      case Ie.SEPARATOR:
        this.state = Ie.ENDED, this.onEnd();
        break;
      default:
        this.error(new Us(`Tokenizer ended in the middle of a token (state: ${Yc(this.state)}). Either not all the data was received or the data was invalid.`));
    }
  }
  onToken(e) {
    throw new Us(`Can't emit tokens before the "onToken" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, Rt;
(function(e) {
  e[e.OBJECT = 0] = "OBJECT", e[e.ARRAY = 1] = "ARRAY";
})(Rt || (Rt = {}));
var tt;
(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";
})(tt || (tt = {}));
function Kc(e) {
  return [
    "VALUE",
    "KEY",
    "COLON",
    "COMMA",
    "ENDED",
    "ERROR",
    "SEPARATOR"
  ][e];
}
var i1 = {
  paths: void 0,
  keepStack: !0,
  separator: void 0,
  emitPartialValues: !1
}, cn = class Kh extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, Kh.prototype);
  }
}, n1 = class {
  constructor(e) {
    this.state = tt.VALUE, this.mode = void 0, this.key = void 0, this.value = void 0, this.stack = [], e = Object.assign(Object.assign({}, i1), e), e.paths && (this.paths = e.paths.map((t) => {
      if (t === void 0 || t === "$*") return;
      if (!t.startsWith("$")) throw new cn(`Invalid selector "${t}". Should start with "$".`);
      const r = t.split(".").slice(1);
      if (r.includes("")) throw new cn(`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], h = this.stack[i + 1].key;
        if (s !== "*" && s !== h?.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 ? tt.COMMA : tt.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 = tt.SEPARATOR : this.separator === void 0 && this.end());
  }
  emitPartial(e) {
    if (this.shouldEmit()) {
      if (this.state === tt.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 === tt.ENDED;
  }
  write({ token: e, value: t, partial: r }) {
    try {
      if (r) {
        this.emitPartial(t);
        return;
      }
      if (this.state === tt.VALUE) {
        if (e === Ye.STRING || e === Ye.NUMBER || e === Ye.TRUE || e === Ye.FALSE || e === Ye.NULL) {
          this.mode === Rt.OBJECT ? (this.value[this.key] = t, this.state = tt.COMMA) : this.mode === Rt.ARRAY && (this.value.push(t), this.state = tt.COMMA), this.emit(t, this.shouldEmit());
          return;
        }
        if (e === Ye.LEFT_BRACE) {
          if (this.push(), this.mode === Rt.OBJECT) this.value = this.value[this.key] = {};
          else if (this.mode === Rt.ARRAY) {
            const i = {};
            this.value.push(i), this.value = i;
          } else this.value = {};
          this.mode = Rt.OBJECT, this.state = tt.KEY, this.key = void 0, this.emitPartial();
          return;
        }
        if (e === Ye.LEFT_BRACKET) {
          if (this.push(), this.mode === Rt.OBJECT) this.value = this.value[this.key] = [];
          else if (this.mode === Rt.ARRAY) {
            const i = [];
            this.value.push(i), this.value = i;
          } else this.value = [];
          this.mode = Rt.ARRAY, this.state = tt.VALUE, this.key = 0, this.emitPartial();
          return;
        }
        if (this.mode === Rt.ARRAY && e === Ye.RIGHT_BRACKET && this.value.length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === tt.KEY) {
        if (e === Ye.STRING) {
          this.key = t, this.state = tt.COLON, this.emitPartial();
          return;
        }
        if (e === Ye.RIGHT_BRACE && Object.keys(this.value).length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === tt.COLON && e === Ye.COLON) {
        this.state = tt.VALUE;
        return;
      }
      if (this.state === tt.COMMA) {
        if (e === Ye.COMMA) {
          if (this.mode === Rt.ARRAY) {
            this.state = tt.VALUE, this.key += 1;
            return;
          }
          if (this.mode === Rt.OBJECT) {
            this.state = tt.KEY;
            return;
          }
        }
        if (e === Ye.RIGHT_BRACE && this.mode === Rt.OBJECT || e === Ye.RIGHT_BRACKET && this.mode === Rt.ARRAY) {
          this.pop();
          return;
        }
      }
      if (this.state === tt.SEPARATOR && e === Ye.SEPARATOR && t === this.separator) {
        this.state = tt.VALUE;
        return;
      }
      if (e === Ye.SEPARATOR && this.state !== tt.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 cn(`Unexpected ${Ye[e]} (${JSON.stringify(t)}) in state ${Kc(this.state)}`);
    } catch (i) {
      this.error(i);
    }
  }
  error(e) {
    this.state !== tt.ENDED && (this.state = tt.ERROR), this.onError(e);
  }
  end() {
    this.state !== tt.VALUE && this.state !== tt.SEPARATOR || this.stack.length > 0 ? this.error(/* @__PURE__ */ new Error(`Parser ended in mid-parsing (state: ${Kc(this.state)}). Either not all the data was received or the data was invalid.`)) : (this.state = tt.ENDED, this.onEnd());
  }
  onValue(e) {
    throw new cn(`Can't emit data before the "onValue" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, s1 = class {
  constructor(e = {}) {
    this.tokenizer = new r1(e), this.tokenParser = new n1(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);
    };
  }
}, fa = /[\p{Lu}]/u, a1 = /[\p{Ll}]/u, o1 = /^[\p{Lu}](?![\p{Lu}])/u, Vi = /[_.\- ]+/, Zh = /([\p{Alpha}\p{N}_]|$)/u, l1 = new RegExp("^" + Vi.source), c1 = new RegExp(Vi.source + Zh.source, "gu"), u1 = new RegExp(String.raw`\d+` + Zh.source, "gu"), h1 = (e, t, r, i) => {
  let s = !1, h = !1, o = !1, n = !1;
  for (let u = 0; u < e.length; u++) {
    const l = e[u];
    n = u > 2 ? e[u - 3] === "-" : !0, s && fa.test(l) ? (e = e.slice(0, u) + "-" + e.slice(u), s = !1, o = h, h = !0, u++) : h && o && a1.test(l) && (!n || i) ? (e = e.slice(0, u - 1) + "-" + e.slice(u - 1), o = h, h = !1, s = !0) : (s = t(l) === l && r(l) !== l, o = h, h = r(l) === l && t(l) !== l);
  }
  return e;
}, f1 = (e, t) => e.replace(o1, (r) => t(r)), d1 = (e, t, r) => {
  let i = "", s = !1, h = !1;
  const o = [...e];
  for (let n = 0; n < o.length; n++) {
    const u = o[n], l = fa.test(u), f = n + 1 < o.length && fa.test(o[n + 1]);
    s && /[\p{Alpha}]/u.test(u) ? (i += u, s = !1, h = l) : r && l && (h || f) ? (i += u, h = !0) : /\d/.test(u) ? (i += u, s = !0, h = !1) : Vi.test(u) ? (i += u, h = !1) : (i += t(u), s = !1, h = !1);
  }
  return i;
}, p1 = (e, t, { capitalizeAfterNumber: r }) => {
  const i = r ? (s, h, o, n) => {
    const u = n.charAt(o + s.length);
    return Vi.test(u) ? s : h ? s.slice(0, -h.length) + t(h) : s;
  } : (s) => s;
  return e.replaceAll(u1, i).replaceAll(c1, (s, h) => t(h));
};
function g1(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((h) => h.trim()).filter((h) => h.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 ? (h) => h.toLowerCase() : (h) => h.toLocaleLowerCase(t.locale), s = t.locale === !1 ? (h) => h.toUpperCase() : (h) => h.toLocaleUpperCase(t.locale);
  return e.length === 1 ? Vi.test(e) ? r : r + (t.pascalCase ? s(e) : i(e)) : (e !== i(e) && (e = h1(e, i, s, t.preserveConsecutiveUppercase)), e = e.replace(l1, ""), t.capitalizeAfterNumber ? e = t.preserveConsecutiveUppercase ? f1(e, i) : i(e) : e = d1(e, i, t.preserveConsecutiveUppercase), t.pascalCase && e.length > 0 && (e = s(e[0]) + e.slice(1)), r + p1(e, s, t));
}
var m1 = /* @__PURE__ */ P(((e, t) => {
  function r(d, p) {
    var m = p && p.cache ? p.cache : c, g = p && p.serializer ? p.serializer : f;
    return (p && p.strategy ? p.strategy : n)(d, {
      cache: m,
      serializer: g
    });
  }
  function i(d) {
    return d == null || typeof d == "number" || typeof d == "boolean";
  }
  function s(d, p, m, g) {
    var v = i(g) ? g : m(g), y = p.get(v);
    return typeof y > "u" && (y = d.call(this, g), p.set(v, y)), y;
  }
  function h(d, p, m) {
    var g = Array.prototype.slice.call(arguments, 3), v = m(g), y = p.get(v);
    return typeof y > "u" && (y = d.apply(this, g), p.set(v, y)), y;
  }
  function o(d, p, m, g, v) {
    return m.bind(p, d, g, v);
  }
  function n(d, p) {
    var m = d.length === 1 ? s : h;
    return o(d, this, m, p.cache.create(), p.serializer);
  }
  function u(d, p) {
    var m = h;
    return o(d, this, m, p.cache.create(), p.serializer);
  }
  function l(d, p) {
    var m = s;
    return o(d, this, m, p.cache.create(), p.serializer);
  }
  function f() {
    return JSON.stringify(arguments);
  }
  function a() {
    this.cache = /* @__PURE__ */ Object.create(null);
  }
  a.prototype.has = function(d) {
    return d in this.cache;
  }, a.prototype.get = function(d) {
    return this.cache[d];
  }, a.prototype.set = function(d, p) {
    this.cache[d] = p;
  };
  var c = { create: function() {
    return new a();
  } };
  t.exports = r, t.exports.strategies = {
    variadic: u,
    monadic: l
  };
})), v1 = /* @__PURE__ */ P(((e, t) => {
  var { hasOwnProperty: r } = Object.prototype, i = (l, f = {}) => {
    typeof f == "string" && (f = { section: f }), f.align = f.align === !0, f.newline = f.newline === !0, f.sort = f.sort === !0, f.whitespace = f.whitespace === !0 || f.align === !0, f.platform = f.platform || typeof process < "u" && process.platform, f.bracketedArray = f.bracketedArray !== !1;
    const a = f.platform === "win32" ? `\r
` : `
`, c = f.whitespace ? " = " : "=", d = [], p = f.sort ? Object.keys(l).sort() : Object.keys(l);
    let m = 0;
    f.align && (m = n(p.filter((y) => l[y] === null || Array.isArray(l[y]) || typeof l[y] != "object").map((y) => Array.isArray(l[y]) ? `${y}[]` : y).concat([""]).reduce((y, E) => n(y).length >= n(E).length ? y : E)).length);
    let g = "";
    const v = f.bracketedArray ? "[]" : "";
    for (const y of p) {
      const E = l[y];
      if (E && Array.isArray(E)) for (const b of E) g += n(`${y}${v}`).padEnd(m, " ") + c + n(b) + a;
      else E && typeof E == "object" ? d.push(y) : g += n(y).padEnd(m, " ") + c + n(E) + a;
    }
    f.section && g.length && (g = "[" + n(f.section) + "]" + (f.newline ? a + a : a) + g);
    for (const y of d) {
      const E = s(y, ".").join("\\."), b = (f.section ? f.section + "." : "") + E, w = i(l[y], {
        ...f,
        section: b
      });
      g.length && w.length && (g += a), g += w;
    }
    return g;
  };
  function s(l, f) {
    var a = 0, c = 0, d = 0, p = [];
    do
      if (d = l.indexOf(f, a), d !== -1) {
        if (a = d + f.length, d > 0 && l[d - 1] === "\\") continue;
        p.push(l.slice(c, d)), c = d + f.length;
      }
    while (d !== -1);
    return p.push(l.slice(c)), p;
  }
  var h = (l, f = {}) => {
    f.bracketedArray = f.bracketedArray !== !1;
    const a = /* @__PURE__ */ Object.create(null);
    let c = a, d = null;
    const p = /^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i, m = l.split(/[\r\n]+/g), g = {};
    for (const y of m) {
      if (!y || y.match(/^\s*[;#]/) || y.match(/^\s*$/)) continue;
      const E = y.match(p);
      if (!E) continue;
      if (E[1] !== void 0) {
        if (d = u(E[1]), d === "__proto__") {
          c = /* @__PURE__ */ Object.create(null);
          continue;
        }
        c = a[d] = a[d] || /* @__PURE__ */ Object.create(null);
        continue;
      }
      const b = u(E[2]);
      let w;
      f.bracketedArray ? w = b.length > 2 && b.slice(-2) === "[]" : (g[b] = (g?.[b] || 0) + 1, w = g[b] > 1);
      const _ = w && b.endsWith("[]") ? b.slice(0, -2) : b;
      if (_ === "__proto__") continue;
      const S = E[3] ? u(E[4]) : !0, T = S === "true" || S === "false" || S === "null" ? JSON.parse(S) : S;
      w && (r.call(c, _) ? Array.isArray(c[_]) || (c[_] = [c[_]]) : c[_] = []), Array.isArray(c[_]) ? c[_].push(T) : c[_] = T;
    }
    const v = [];
    for (const y of Object.keys(a)) {
      if (!r.call(a, y) || typeof a[y] != "object" || Array.isArray(a[y])) continue;
      const E = s(y, ".");
      c = a;
      const b = E.pop(), w = b.replace(/\\\./g, ".");
      for (const _ of E)
        _ !== "__proto__" && ((!r.call(c, _) || typeof c[_] != "object") && (c[_] = /* @__PURE__ */ Object.create(null)), c = c[_]);
      c === a && w === b || (c[w] = a[y], v.push(y));
    }
    for (const y of v) delete a[y];
    return a;
  }, o = (l) => l.startsWith('"') && l.endsWith('"') || l.startsWith("'") && l.endsWith("'"), n = (l) => typeof l != "string" || l.match(/[=\r\n]/) || l.match(/^\[/) || l.length > 1 && o(l) || l !== l.trim() ? JSON.stringify(l) : l.split(";").join("\\;").split("#").join("\\#"), u = (l) => {
    if (l = (l || "").trim(), o(l)) {
      l.charAt(0) === "'" && (l = l.slice(1, -1));
      try {
        l = JSON.parse(l);
      } catch {
      }
    } else {
      let f = !1, a = "";
      for (let c = 0, d = l.length; c < d; c++) {
        const p = l.charAt(c);
        if (f)
          "\\;#".indexOf(p) !== -1 ? a += p : a += "\\" + p, f = !1;
        else {
          if (";#".indexOf(p) !== -1) break;
          p === "\\" ? f = !0 : a += p;
        }
      }
      return f && (a += "\\"), a.trim();
    }
    return l;
  };
  t.exports = {
    parse: h,
    decode: h,
    stringify: i,
    encode: i,
    safe: n,
    unsafe: u
  };
})), Jh = /* @__PURE__ */ P(((e, t) => {
  var { URL: r } = ge("node:url");
  function i(l) {
    try {
      let a = new r(l).pathname.slice(1);
      if (!a.match(/^-/)) {
        a = a.split("/");
        var f = a.indexOf("_rewrite");
        return f === -1 ? f = a.length - 1 : f++, decodeURIComponent(a[f]);
      }
    } catch {
    }
  }
  var s = class extends Error {
    constructor(l, f, a, c) {
      super(), this.name = this.constructor.name, this.headers = typeof f.headers?.raw == "function" ? f.headers.raw() : f.headers, this.statusCode = f.status, this.code = `E${f.status}`, this.method = l, this.uri = f.url, this.body = a, this.pkgid = c ? c.toString() : i(f.url), Error.captureStackTrace(this, this.constructor);
    }
  }, h = class extends s {
    constructor(l, f, a, c) {
      super(l, f, a, c), this.message = `${f.status} ${f.statusText} - ${this.method.toUpperCase()} ${this.spec || this.uri}${a && a.error ? " - " + a.error : ""}`;
    }
  }, o = class extends s {
    constructor(l, f, a, c) {
      super(l, f, a, c), this.message = "OTP required for authentication", this.code = "EOTP";
    }
  }, n = class extends s {
    constructor(l, f, a, c) {
      super(l, f, a, c), this.message = "Login is not allowed from your IP address", this.code = "EAUTHIP";
    }
  }, u = class extends s {
    constructor(l, f, a, c) {
      super(l, f, a, c), this.message = "Unable to authenticate, need: " + f.headers.get("www-authenticate");
    }
  };
  t.exports = {
    HttpErrorBase: s,
    HttpErrorGeneral: h,
    HttpErrorAuthOTP: o,
    HttpErrorAuthIPAddress: n,
    HttpErrorAuthUnknown: u
  };
})), At = /* @__PURE__ */ P(((e) => {
  var t = e && e.__importDefault || function(k) {
    return k && k.__esModule ? k : { default: k };
  };
  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 = ge("node:events"), s = t(ge("node:stream")), h = ge("node:string_decoder"), o = (k) => !!k && typeof k == "object" && (k instanceof ne || k instanceof s.default || (0, e.isReadable)(k) || (0, e.isWritable)(k));
  e.isStream = o;
  var n = (k) => !!k && typeof k == "object" && k instanceof i.EventEmitter && typeof k.pipe == "function" && k.pipe !== s.default.Writable.prototype.pipe;
  e.isReadable = n;
  var u = (k) => !!k && typeof k == "object" && k instanceof i.EventEmitter && typeof k.write == "function" && typeof k.end == "function";
  e.isWritable = u;
  var l = /* @__PURE__ */ Symbol("EOF"), f = /* @__PURE__ */ Symbol("maybeEmitEnd"), a = /* @__PURE__ */ Symbol("emittedEnd"), c = /* @__PURE__ */ Symbol("emittingEnd"), d = /* @__PURE__ */ Symbol("emittedError"), p = /* @__PURE__ */ Symbol("closed"), m = /* @__PURE__ */ Symbol("read"), g = /* @__PURE__ */ Symbol("flush"), v = /* @__PURE__ */ Symbol("flushChunk"), y = /* @__PURE__ */ Symbol("encoding"), E = /* @__PURE__ */ Symbol("decoder"), b = /* @__PURE__ */ Symbol("flowing"), w = /* @__PURE__ */ Symbol("paused"), _ = /* @__PURE__ */ Symbol("resume"), S = /* @__PURE__ */ Symbol("buffer"), T = /* @__PURE__ */ Symbol("pipes"), D = /* @__PURE__ */ Symbol("bufferLength"), R = /* @__PURE__ */ Symbol("bufferPush"), j = /* @__PURE__ */ Symbol("bufferShift"), M = /* @__PURE__ */ Symbol("objectMode"), G = /* @__PURE__ */ Symbol("destroyed"), Y = /* @__PURE__ */ Symbol("error"), H = /* @__PURE__ */ Symbol("emitData"), I = /* @__PURE__ */ Symbol("emitEnd"), $ = /* @__PURE__ */ Symbol("emitEnd2"), q = /* @__PURE__ */ Symbol("async"), z = /* @__PURE__ */ Symbol("abort"), F = /* @__PURE__ */ Symbol("aborted"), x = /* @__PURE__ */ Symbol("signal"), L = /* @__PURE__ */ Symbol("dataListeners"), C = /* @__PURE__ */ Symbol("discarded"), N = (k) => Promise.resolve().then(k), K = (k) => k(), oe = (k) => k === "end" || k === "finish" || k === "prefinish", pe = (k) => k instanceof ArrayBuffer || !!k && typeof k == "object" && k.constructor && k.constructor.name === "ArrayBuffer" && k.byteLength >= 0, _e = (k) => !Buffer.isBuffer(k) && ArrayBuffer.isView(k), V = class {
    src;
    dest;
    opts;
    ondrain;
    constructor(k, U, ee) {
      this.src = k, this.dest = U, this.opts = ee, this.ondrain = () => k[_](), this.dest.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    /* c8 ignore start */
    proxyErrors(k) {
    }
    /* c8 ignore stop */
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, B = class extends V {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(k, U, ee) {
      super(k, U, ee), this.proxyErrors = (Ae) => this.dest.emit("error", Ae), k.on("error", this.proxyErrors);
    }
  }, W = (k) => !!k.objectMode, X = (k) => !k.objectMode && !!k.encoding && k.encoding !== "buffer", ne = class extends i.EventEmitter {
    [b] = !1;
    [w] = !1;
    [T] = [];
    [S] = [];
    [M];
    [y];
    [q];
    [E];
    [l] = !1;
    [a] = !1;
    [c] = !1;
    [p] = !1;
    [d] = null;
    [D] = 0;
    [G] = !1;
    [x];
    [F] = !1;
    [L] = 0;
    [C] = !1;
    writable = !0;
    readable = !0;
    constructor(...k) {
      const U = k[0] || {};
      if (super(), U.objectMode && typeof U.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
      W(U) ? (this[M] = !0, this[y] = null) : X(U) ? (this[y] = U.encoding, this[M] = !1) : (this[M] = !1, this[y] = null), this[q] = !!U.async, this[E] = this[y] ? new h.StringDecoder(this[y]) : null, U && U.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[S] }), U && U.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[T] });
      const { signal: ee } = U;
      ee && (this[x] = ee, ee.aborted ? this[z]() : ee.addEventListener("abort", () => this[z]()));
    }
    get bufferLength() {
      return this[D];
    }
    get encoding() {
      return this[y];
    }
    set encoding(k) {
      throw new Error("Encoding must be set at instantiation time");
    }
    setEncoding(k) {
      throw new Error("Encoding must be set at instantiation time");
    }
    get objectMode() {
      return this[M];
    }
    set objectMode(k) {
      throw new Error("objectMode must be set at instantiation time");
    }
    get async() {
      return this[q];
    }
    set async(k) {
      this[q] = this[q] || !!k;
    }
    [z]() {
      this[F] = !0, this.emit("abort", this[x]?.reason), this.destroy(this[x]?.reason);
    }
    get aborted() {
      return this[F];
    }
    set aborted(k) {
    }
    write(k, U, ee) {
      if (this[F]) return !1;
      if (this[l]) throw new Error("write after end");
      if (this[G])
        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" && (ee = U, U = "utf8"), U || (U = "utf8");
      const Ae = this[q] ? N : K;
      if (!this[M] && !Buffer.isBuffer(k)) {
        if (_e(k)) k = Buffer.from(k.buffer, k.byteOffset, k.byteLength);
        else if (pe(k)) k = Buffer.from(k);
        else if (typeof k != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
      }
      return this[M] ? (this[b] && this[D] !== 0 && this[g](!0), this[b] ? this.emit("data", k) : this[R](k), this[D] !== 0 && this.emit("readable"), ee && Ae(ee), this[b]) : k.length ? (typeof k == "string" && !(U === this[y] && !this[E]?.lastNeed) && (k = Buffer.from(k, U)), Buffer.isBuffer(k) && this[y] && (k = this[E].write(k)), this[b] && this[D] !== 0 && this[g](!0), this[b] ? this.emit("data", k) : this[R](k), this[D] !== 0 && this.emit("readable"), ee && Ae(ee), this[b]) : (this[D] !== 0 && this.emit("readable"), ee && Ae(ee), this[b]);
    }
    read(k) {
      if (this[G]) return null;
      if (this[C] = !1, this[D] === 0 || k === 0 || k && k > this[D])
        return this[f](), null;
      this[M] && (k = null), this[S].length > 1 && !this[M] && (this[S] = [this[y] ? this[S].join("") : Buffer.concat(this[S], this[D])]);
      const U = this[m](k || null, this[S][0]);
      return this[f](), U;
    }
    [m](k, U) {
      if (this[M]) this[j]();
      else {
        const ee = U;
        k === ee.length || k === null ? this[j]() : typeof ee == "string" ? (this[S][0] = ee.slice(k), U = ee.slice(0, k), this[D] -= k) : (this[S][0] = ee.subarray(k), U = ee.subarray(0, k), this[D] -= k);
      }
      return this.emit("data", U), !this[S].length && !this[l] && this.emit("drain"), U;
    }
    end(k, U, ee) {
      return typeof k == "function" && (ee = k, k = void 0), typeof U == "function" && (ee = U, U = "utf8"), k !== void 0 && this.write(k, U), ee && this.once("end", ee), this[l] = !0, this.writable = !1, (this[b] || !this[w]) && this[f](), this;
    }
    [_]() {
      this[G] || (!this[L] && !this[T].length && (this[C] = !0), this[w] = !1, this[b] = !0, this.emit("resume"), this[S].length ? this[g]() : this[l] ? this[f]() : this.emit("drain"));
    }
    resume() {
      return this[_]();
    }
    pause() {
      this[b] = !1, this[w] = !0, this[C] = !1;
    }
    get destroyed() {
      return this[G];
    }
    get flowing() {
      return this[b];
    }
    get paused() {
      return this[w];
    }
    [R](k) {
      this[M] ? this[D] += 1 : this[D] += k.length, this[S].push(k);
    }
    [j]() {
      return this[M] ? this[D] -= 1 : this[D] -= this[S][0].length, this[S].shift();
    }
    [g](k = !1) {
      do
        ;
      while (this[v](this[j]()) && this[S].length);
      !k && !this[S].length && !this[l] && this.emit("drain");
    }
    [v](k) {
      return this.emit("data", k), this[b];
    }
    pipe(k, U) {
      if (this[G]) return k;
      this[C] = !1;
      const ee = this[a];
      return U = U || {}, k === r.stdout || k === r.stderr ? U.end = !1 : U.end = U.end !== !1, U.proxyErrors = !!U.proxyErrors, ee ? U.end && k.end() : (this[T].push(U.proxyErrors ? new B(this, k, U) : new V(this, k, U)), this[q] ? N(() => this[_]()) : this[_]()), k;
    }
    unpipe(k) {
      const U = this[T].find((ee) => ee.dest === k);
      U && (this[T].length === 1 ? (this[b] && this[L] === 0 && (this[b] = !1), this[T] = []) : this[T].splice(this[T].indexOf(U), 1), U.unpipe());
    }
    addListener(k, U) {
      return this.on(k, U);
    }
    on(k, U) {
      const ee = super.on(k, U);
      if (k === "data")
        this[C] = !1, this[L]++, !this[T].length && !this[b] && this[_]();
      else if (k === "readable" && this[D] !== 0) super.emit("readable");
      else if (oe(k) && this[a])
        super.emit(k), this.removeAllListeners(k);
      else if (k === "error" && this[d]) {
        const Ae = U;
        this[q] ? N(() => Ae.call(this, this[d])) : Ae.call(this, this[d]);
      }
      return ee;
    }
    removeListener(k, U) {
      return this.off(k, U);
    }
    off(k, U) {
      const ee = super.off(k, U);
      return k === "data" && (this[L] = this.listeners("data").length, this[L] === 0 && !this[C] && !this[T].length && (this[b] = !1)), ee;
    }
    removeAllListeners(k) {
      const U = super.removeAllListeners(k);
      return (k === "data" || k === void 0) && (this[L] = 0, !this[C] && !this[T].length && (this[b] = !1)), U;
    }
    get emittedEnd() {
      return this[a];
    }
    [f]() {
      !this[c] && !this[a] && !this[G] && this[S].length === 0 && this[l] && (this[c] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[p] && this.emit("close"), this[c] = !1);
    }
    emit(k, ...U) {
      const ee = U[0];
      if (k !== "error" && k !== "close" && k !== G && this[G]) return !1;
      if (k === "data") return !this[M] && !ee ? !1 : this[q] ? (N(() => this[H](ee)), !0) : this[H](ee);
      if (k === "end") return this[I]();
      if (k === "close") {
        if (this[p] = !0, !this[a] && !this[G]) return !1;
        const Te = super.emit("close");
        return this.removeAllListeners("close"), Te;
      } else if (k === "error") {
        this[d] = ee, super.emit(Y, ee);
        const Te = !this[x] || this.listeners("error").length ? super.emit("error", ee) : !1;
        return this[f](), Te;
      } else if (k === "resume") {
        const Te = super.emit("resume");
        return this[f](), Te;
      } else if (k === "finish" || k === "prefinish") {
        const Te = super.emit(k);
        return this.removeAllListeners(k), Te;
      }
      const Ae = super.emit(k, ...U);
      return this[f](), Ae;
    }
    [H](k) {
      for (const ee of this[T]) ee.dest.write(k) === !1 && this.pause();
      const U = this[C] ? !1 : super.emit("data", k);
      return this[f](), U;
    }
    [I]() {
      return this[a] ? !1 : (this[a] = !0, this.readable = !1, this[q] ? (N(() => this[$]()), !0) : this[$]());
    }
    [$]() {
      if (this[E]) {
        const U = this[E].end();
        if (U) {
          for (const ee of this[T]) ee.dest.write(U);
          this[C] || super.emit("data", U);
        }
      }
      for (const U of this[T]) U.end();
      const k = super.emit("end");
      return this.removeAllListeners("end"), k;
    }
    async collect() {
      const k = Object.assign([], { dataLength: 0 });
      this[M] || (k.dataLength = 0);
      const U = this.promise();
      return this.on("data", (ee) => {
        k.push(ee), this[M] || (k.dataLength += ee.length);
      }), await U, k;
    }
    async concat() {
      if (this[M]) throw new Error("cannot concat in objectMode");
      const k = await this.collect();
      return this[y] ? k.join("") : Buffer.concat(k, k.dataLength);
    }
    async promise() {
      return new Promise((k, U) => {
        this.on(G, () => U(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (ee) => U(ee)), this.on("end", () => k());
      });
    }
    [Symbol.asyncIterator]() {
      this[C] = !1;
      let k = !1;
      const U = async () => (this.pause(), k = !0, {
        value: void 0,
        done: !0
      });
      return {
        next: () => {
          if (k) return U();
          const Ae = this.read();
          if (Ae !== null) return Promise.resolve({
            done: !1,
            value: Ae
          });
          if (this[l]) return U();
          let Te, ye;
          const Pe = (A) => {
            this.off("data", xe), this.off("end", Me), this.off(G, Ce), U(), ye(A);
          }, xe = (A) => {
            this.off("error", Pe), this.off("end", Me), this.off(G, Ce), this.pause(), Te({
              value: A,
              done: !!this[l]
            });
          }, Me = () => {
            this.off("error", Pe), this.off("data", xe), this.off(G, Ce), U(), Te({
              done: !0,
              value: void 0
            });
          }, Ce = () => Pe(/* @__PURE__ */ new Error("stream destroyed"));
          return new Promise((A, se) => {
            ye = se, Te = A, this.once(G, Ce), this.once("error", Pe), this.once("end", Me), this.once("data", xe);
          });
        },
        throw: U,
        return: U,
        [Symbol.asyncIterator]() {
          return this;
        },
        [Symbol.asyncDispose]: async () => {
        }
      };
    }
    [Symbol.iterator]() {
      this[C] = !1;
      let k = !1;
      const U = () => (this.pause(), this.off(Y, U), this.off(G, U), this.off("end", U), k = !0, {
        done: !0,
        value: void 0
      }), ee = () => {
        if (k) return U();
        const Ae = this.read();
        return Ae === null ? U() : {
          done: !1,
          value: Ae
        };
      };
      return this.once("end", U), this.once(Y, U), this.once(G, U), {
        next: ee,
        throw: U,
        return: U,
        [Symbol.iterator]() {
          return this;
        },
        [Symbol.dispose]: () => {
        }
      };
    }
    destroy(k) {
      if (this[G])
        return k ? this.emit("error", k) : this.emit(G), this;
      this[G] = !0, this[C] = !0, this[S].length = 0, this[D] = 0;
      const U = this;
      return typeof U.close == "function" && !this[p] && U.close(), k ? this.emit("error", k) : this.emit(G), this;
    }
    static get isStream() {
      return e.isStream;
    }
  };
  e.Minipass = ne;
})), Zc = /* @__PURE__ */ P(((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(ge("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));
})), Xh = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function($, q, z, F) {
    F === void 0 && (F = z);
    var x = Object.getOwnPropertyDescriptor(q, z);
    (!x || ("get" in x ? !q.__esModule : x.writable || x.configurable)) && (x = {
      enumerable: !0,
      get: function() {
        return q[z];
      }
    }), Object.defineProperty($, F, x);
  }) : (function($, q, z, F) {
    F === void 0 && (F = z), $[F] = q[z];
  })), r = e && e.__setModuleDefault || (Object.create ? (function($, q) {
    Object.defineProperty($, "default", {
      enumerable: !0,
      value: q
    });
  }) : function($, q) {
    $.default = q;
  }), i = e && e.__importStar || /* @__PURE__ */ (function() {
    var $ = function(q) {
      return $ = Object.getOwnPropertyNames || function(z) {
        var F = [];
        for (var x in z) Object.prototype.hasOwnProperty.call(z, x) && (F[F.length] = x);
        return F;
      }, $(q);
    };
    return function(q) {
      if (q && q.__esModule) return q;
      var z = {};
      if (q != null)
        for (var F = $(q), x = 0; x < F.length; x++) F[x] !== "default" && t(z, q, F[x]);
      return r(z, q), z;
    };
  })(), s = e && e.__importDefault || function($) {
    return $ && $.__esModule ? $ : { default: $ };
  };
  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 h = s(ge("assert")), o = ge("buffer"), n = At(), u = i(ge("zlib")), l = Zc(), f = Zc();
  Object.defineProperty(e, "constants", {
    enumerable: !0,
    get: function() {
      return f.constants;
    }
  });
  var a = o.Buffer.concat, c = Object.getOwnPropertyDescriptor(o.Buffer, "concat"), d = ($) => $, p = c?.writable === !0 || c?.set !== void 0 ? ($) => {
    o.Buffer.concat = $ ? d : a;
  } : ($) => {
  }, m = /* @__PURE__ */ Symbol("_superWrite"), g = class extends Error {
    code;
    errno;
    constructor($, q) {
      super("zlib: " + $.message, { cause: $ }), this.code = $.code, this.errno = $.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + $.message, Error.captureStackTrace(this, q ?? this.constructor);
    }
    get name() {
      return "ZlibError";
    }
  };
  e.ZlibError = g;
  var v = /* @__PURE__ */ Symbol("flushFlag"), y = 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($, q) {
      if (!$ || typeof $ != "object") throw new TypeError("invalid options for ZlibBase constructor");
      if (super($), this.#r = $.flush ?? 0, this.#n = $.finishFlush ?? 0, this.#s = $.fullFlushFlag ?? 0, typeof u[q] != "function") throw new TypeError("Compression method not supported: " + q);
      try {
        this.#c = new u[q]($);
      } catch (z) {
        throw new g(z, this.constructor);
      }
      this.#f = (z) => {
        this.#e || (this.#e = !0, this.close(), this.emit("error", z));
      }, this.#c?.on("error", (z) => this.#f(new g(z))), this.once("end", () => this.close);
    }
    close() {
      this.#c && (this.#c.close(), this.#c = void 0, this.emit("close"));
    }
    reset() {
      if (!this.#e)
        return (0, h.default)(this.#c, "zlib binding closed"), this.#c.reset?.();
    }
    flush($) {
      this.ended || (typeof $ != "number" && ($ = this.#s), this.write(Object.assign(o.Buffer.alloc(0), { [v]: $ })));
    }
    end($, q, z) {
      return typeof $ == "function" && (z = $, q = void 0, $ = void 0), typeof q == "function" && (z = q, q = void 0), $ && (q ? this.write($, q) : this.write($)), this.flush(this.#n), this.#t = !0, super.end(z);
    }
    get ended() {
      return this.#t;
    }
    [m]($) {
      return super.write($);
    }
    write($, q, z) {
      if (typeof q == "function" && (z = q, q = "utf8"), typeof $ == "string" && ($ = o.Buffer.from($, q)), this.#e) return;
      (0, h.default)(this.#c, "zlib binding closed");
      const F = this.#c._handle, x = F.close;
      F.close = () => {
      };
      const L = this.#c.close;
      this.#c.close = () => {
      }, p(!0);
      let C;
      try {
        const K = typeof $[v] == "number" ? $[v] : this.#r;
        C = this.#c._processChunk($, K), p(!1);
      } catch (K) {
        p(!1), this.#f(new g(K, this.write));
      } finally {
        this.#c && (this.#c._handle = F, F.close = x, this.#c.close = L, this.#c.removeAllListeners("error"));
      }
      this.#c && this.#c.on("error", (K) => this.#f(new g(K, this.write)));
      let N;
      if (C) if (Array.isArray(C) && C.length > 0) {
        const K = C[0];
        N = this[m](o.Buffer.from(K));
        for (let oe = 1; oe < C.length; oe++) N = this[m](C[oe]);
      } else N = this[m](o.Buffer.from(C));
      return z && z(), N;
    }
  }, E = class extends y {
    #e;
    #t;
    constructor($, q) {
      $ = $ || {}, $.flush = $.flush || l.constants.Z_NO_FLUSH, $.finishFlush = $.finishFlush || l.constants.Z_FINISH, $.fullFlushFlag = l.constants.Z_FULL_FLUSH, super($, q), this.#e = $.level, this.#t = $.strategy;
    }
    params($, q) {
      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 !== $ || this.#t !== q) {
          this.flush(l.constants.Z_SYNC_FLUSH), (0, h.default)(this.handle, "zlib binding closed");
          const z = this.handle.flush;
          this.handle.flush = (F, x) => {
            typeof F == "function" && (x = F, F = this.flushFlag), this.flush(F), x?.();
          };
          try {
            this.handle.params($, q);
          } finally {
            this.handle.flush = z;
          }
          this.handle && (this.#e = $, this.#t = q);
        }
      }
    }
  };
  e.Zlib = E;
  var b = class extends E {
    constructor($) {
      super($, "Deflate");
    }
  };
  e.Deflate = b;
  var w = class extends E {
    constructor($) {
      super($, "Inflate");
    }
  };
  e.Inflate = w;
  var _ = class extends E {
    #e;
    constructor($) {
      super($, "Gzip"), this.#e = $ && !!$.portable;
    }
    [m]($) {
      return this.#e ? (this.#e = !1, $[9] = 255, super[m]($)) : super[m]($);
    }
  };
  e.Gzip = _;
  var S = class extends E {
    constructor($) {
      super($, "Gunzip");
    }
  };
  e.Gunzip = S;
  var T = class extends E {
    constructor($) {
      super($, "DeflateRaw");
    }
  };
  e.DeflateRaw = T;
  var D = class extends E {
    constructor($) {
      super($, "InflateRaw");
    }
  };
  e.InflateRaw = D;
  var R = class extends E {
    constructor($) {
      super($, "Unzip");
    }
  };
  e.Unzip = R;
  var j = class extends y {
    constructor($, q) {
      $ = $ || {}, $.flush = $.flush || l.constants.BROTLI_OPERATION_PROCESS, $.finishFlush = $.finishFlush || l.constants.BROTLI_OPERATION_FINISH, $.fullFlushFlag = l.constants.BROTLI_OPERATION_FLUSH, super($, q);
    }
  }, M = class extends j {
    constructor($) {
      super($, "BrotliCompress");
    }
  };
  e.BrotliCompress = M;
  var G = class extends j {
    constructor($) {
      super($, "BrotliDecompress");
    }
  };
  e.BrotliDecompress = G;
  var Y = class extends y {
    constructor($, q) {
      $ = $ || {}, $.flush = $.flush || l.constants.ZSTD_e_continue, $.finishFlush = $.finishFlush || l.constants.ZSTD_e_end, $.fullFlushFlag = l.constants.ZSTD_e_flush, super($, q);
    }
  }, H = class extends Y {
    constructor($) {
      super($, "ZstdCompress");
    }
  };
  e.ZstdCompress = H;
  var I = class extends Y {
    constructor($) {
      super($, "ZstdDecompress");
    }
  };
  e.ZstdDecompress = I;
})), y1 = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MinipassSized = e.SizeError = void 0;
  var t = At(), r = (h) => typeof h == "string", i = class extends Error {
    expect;
    found;
    code = "EBADSIZE";
    constructor(h, o, n) {
      super(`Bad data size: expected ${o} bytes, but got ${h}`), this.expect = o, this.found = h, Error.captureStackTrace(this, n ?? this.constructor);
    }
    get name() {
      return "SizeError";
    }
  };
  e.SizeError = i;
  var s = class extends t.Minipass {
    found = 0;
    expect;
    constructor(h) {
      const o = h?.size;
      if (typeof o != "number" || o > Number.MAX_SAFE_INTEGER || isNaN(o) || o < 0 || !isFinite(o) || o !== Math.floor(o)) throw new Error("invalid expected size: " + o);
      if (super(h), h.objectMode) throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`);
      this.expect = o;
    }
    write(h, o, n) {
      const u = Buffer.isBuffer(h) ? h : typeof h == "string" ? Buffer.from(h, r(o) ? o : "utf8") : h;
      return typeof o == "function" && (n = o, o = null), Buffer.isBuffer(u) ? (this.found += u.length, this.found > this.expect && this.emit("error", new i(this.found, this.expect)), super.write(h, o, n)) : (this.emit("error", /* @__PURE__ */ new TypeError(`${this.constructor.name} streams only work with string and buffer data`)), !1);
    }
    emit(h, ...o) {
      return h === "end" && this.found !== this.expect && this.emit("error", new i(this.found, this.expect, this.emit)), super.emit(h, ...o);
    }
  };
  e.MinipassSized = s;
})), _1 = /* @__PURE__ */ P(((e, t) => {
  var { Minipass: r } = At(), i = /* @__PURE__ */ Symbol("type"), s = /* @__PURE__ */ Symbol("buffer"), h = class da {
    constructor(n, u) {
      this[i] = "";
      const l = [];
      let f = 0;
      if (n) {
        const c = n, d = Number(c.length);
        for (let p = 0; p < d; p++) {
          const m = c[p], g = m instanceof Buffer ? m : ArrayBuffer.isView(m) ? Buffer.from(m.buffer, m.byteOffset, m.byteLength) : m instanceof ArrayBuffer ? Buffer.from(m) : m instanceof da ? m[s] : typeof m == "string" ? Buffer.from(m) : Buffer.from(String(m));
          f += g.length, l.push(g);
        }
      }
      this[s] = Buffer.concat(l, f);
      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, l = n.byteLength, f = n.buffer.slice(u, u + l);
      return Promise.resolve(f);
    }
    stream() {
      return new r().end(this[s]);
    }
    slice(n, u, l) {
      const f = this.size, a = n === void 0 ? 0 : n < 0 ? Math.max(f + n, 0) : Math.min(n, f), c = u === void 0 ? f : u < 0 ? Math.max(f + u, 0) : Math.min(u, f), d = Math.max(c - a, 0), p = this[s].slice(a, a + d), m = new da([], { type: l });
      return m[s] = p, m;
    }
    get [Symbol.toStringTag]() {
      return "Blob";
    }
    static get BUFFER() {
      return s;
    }
  };
  Object.defineProperties(h.prototype, {
    size: { enumerable: !0 },
    type: { enumerable: !0 }
  }), t.exports = h;
})), Qh = /* @__PURE__ */ P(((e, t) => {
  var r = class extends Error {
    constructor(i, s, h) {
      super(i), this.code = "FETCH_ERROR", h && Object.assign(this, h), 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;
})), pr = /* @__PURE__ */ P(((e, t) => {
  var r = ge("buffer"), i = r.Buffer, s = {}, h;
  for (h in r)
    r.hasOwnProperty(h) && (h === "SlowBuffer" || h === "Buffer" || (s[h] = r[h]));
  var o = s.Buffer = {};
  for (h in i)
    i.hasOwnProperty(h) && (h === "allocUnsafe" || h === "allocUnsafeSlow" || (o[h] = i[h]));
  if (s.Buffer.prototype = i.prototype, (!o.from || o.from === Uint8Array.from) && (o.from = function(n, u, l) {
    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, l);
  }), o.alloc || (o.alloc = function(n, u, l) {
    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 f = i(n);
    return !u || u.length === 0 ? f.fill(0) : typeof l == "string" ? f.fill(u, l) : f.fill(u), f;
  }), !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;
})), b1 = /* @__PURE__ */ P(((e) => {
  var t = "\uFEFF";
  e.PrependBOM = r;
  function r(s, h) {
    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, h) {
    this.decoder = s, this.pass = !1, this.options = h || {};
  }
  i.prototype.write = function(s) {
    var h = this.decoder.write(s);
    return this.pass || !h || (h[0] === t && (h = h.slice(1), typeof this.options.stripBOM == "function" && this.options.stripBOM()), this.pass = !0), h;
  }, i.prototype.end = function() {
    return this.decoder.end();
  };
})), ef = /* @__PURE__ */ P(((e, t) => {
  var r = typeof Object.hasOwn > "u" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
  function i(s, h) {
    for (var o in h) r(h, o) && (s[o] = h[o]);
  }
  t.exports = i;
})), w1 = /* @__PURE__ */ P(((e, t) => {
  var r = pr().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, c) {
    this.enc = a.encodingName, this.bomAware = a.bomAware, this.enc === "base64" ? this.encoder = n : this.enc === "utf8" ? this.encoder = f : this.enc === "cesu8" && (this.enc = "utf8", this.encoder = u, r.from("eda0bdedb2a9", "hex").toString() !== "💩" && (this.decoder = l, this.defaultCharUnicode = c.defaultCharUnicode));
  }
  i.prototype.encoder = o, i.prototype.decoder = h;
  var s = ge("string_decoder").StringDecoder;
  function h(a, c) {
    this.decoder = new s(c.enc);
  }
  h.prototype.write = function(a) {
    return r.isBuffer(a) || (a = r.from(a)), this.decoder.write(a);
  }, h.prototype.end = function() {
    return this.decoder.end();
  };
  function o(a, c) {
    this.enc = c.enc;
  }
  o.prototype.write = function(a) {
    return r.from(a, this.enc);
  }, o.prototype.end = function() {
  };
  function n(a, c) {
    this.prevStr = "";
  }
  n.prototype.write = function(a) {
    a = this.prevStr + a;
    var c = a.length - a.length % 4;
    return this.prevStr = a.slice(c), a = a.slice(0, c), r.from(a, "base64");
  }, n.prototype.end = function() {
    return r.from(this.prevStr, "base64");
  };
  function u(a, c) {
  }
  u.prototype.write = function(a) {
    for (var c = r.alloc(a.length * 3), d = 0, p = 0; p < a.length; p++) {
      var m = a.charCodeAt(p);
      m < 128 ? c[d++] = m : m < 2048 ? (c[d++] = 192 + (m >>> 6), c[d++] = 128 + (m & 63)) : (c[d++] = 224 + (m >>> 12), c[d++] = 128 + (m >>> 6 & 63), c[d++] = 128 + (m & 63));
    }
    return c.slice(0, d);
  }, u.prototype.end = function() {
  };
  function l(a, c) {
    this.acc = 0, this.contBytes = 0, this.accBytes = 0, this.defaultCharUnicode = c.defaultCharUnicode;
  }
  l.prototype.write = function(a) {
    for (var c = this.acc, d = this.contBytes, p = this.accBytes, m = "", g = 0; g < a.length; g++) {
      var v = a[g];
      (v & 192) !== 128 ? (d > 0 && (m += this.defaultCharUnicode, d = 0), v < 128 ? m += String.fromCharCode(v) : v < 224 ? (c = v & 31, d = 1, p = 1) : v < 240 ? (c = v & 15, d = 2, p = 1) : m += this.defaultCharUnicode) : d > 0 ? (c = c << 6 | v & 63, d--, p++, d === 0 && (p === 2 && c < 128 && c > 0 ? m += this.defaultCharUnicode : p === 3 && c < 2048 ? m += this.defaultCharUnicode : m += String.fromCharCode(c))) : m += this.defaultCharUnicode;
    }
    return this.acc = c, this.contBytes = d, this.accBytes = p, m;
  }, l.prototype.end = function() {
    var a = 0;
    return this.contBytes > 0 && (a += this.defaultCharUnicode), a;
  };
  function f(a, c) {
    this.highSurrogate = "";
  }
  f.prototype.write = function(a) {
    if (this.highSurrogate && (a = this.highSurrogate + a, this.highSurrogate = ""), a.length > 0) {
      var c = a.charCodeAt(a.length - 1);
      c >= 55296 && c < 56320 && (this.highSurrogate = a[a.length - 1], a = a.slice(0, a.length - 1));
    }
    return r.from(a, this.enc);
  }, f.prototype.end = function() {
    if (this.highSurrogate) {
      var a = this.highSurrogate;
      return this.highSurrogate = "", r.from(a, this.enc);
    }
  };
})), E1 = /* @__PURE__ */ P(((e) => {
  var t = pr().Buffer;
  e._utf32 = r;
  function r(f, a) {
    this.iconv = a, this.bomAware = !0, this.isLE = f.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(f, a) {
    this.isLE = a.isLE, this.highSurrogate = 0;
  }
  i.prototype.write = function(f) {
    for (var a = t.from(f, "ucs2"), c = t.alloc(a.length * 2), d = this.isLE ? c.writeUInt32LE : c.writeUInt32BE, p = 0, m = 0; m < a.length; m += 2) {
      var g = a.readUInt16LE(m), v = g >= 55296 && g < 56320, y = g >= 56320 && g < 57344;
      if (this.highSurrogate) if (v || !y)
        d.call(c, this.highSurrogate, p), p += 4;
      else {
        var E = (this.highSurrogate - 55296 << 10 | g - 56320) + 65536;
        d.call(c, E, p), p += 4, this.highSurrogate = 0;
        continue;
      }
      v ? this.highSurrogate = g : (d.call(c, g, p), p += 4, this.highSurrogate = 0);
    }
    return p < c.length && (c = c.slice(0, p)), c;
  }, i.prototype.end = function() {
    if (this.highSurrogate) {
      var f = t.alloc(4);
      return this.isLE ? f.writeUInt32LE(this.highSurrogate, 0) : f.writeUInt32BE(this.highSurrogate, 0), this.highSurrogate = 0, f;
    }
  };
  function s(f, a) {
    this.isLE = a.isLE, this.badChar = a.iconv.defaultCharUnicode.charCodeAt(0), this.overflow = [];
  }
  s.prototype.write = function(f) {
    if (f.length === 0) return "";
    var a = 0, c = 0, d = t.alloc(f.length + 4), p = 0, m = this.isLE, g = this.overflow, v = this.badChar;
    if (g.length > 0) {
      for (; a < f.length && g.length < 4; a++) g.push(f[a]);
      g.length === 4 && (m ? c = g[a] | g[a + 1] << 8 | g[a + 2] << 16 | g[a + 3] << 24 : c = g[a + 3] | g[a + 2] << 8 | g[a + 1] << 16 | g[a] << 24, g.length = 0, p = h(d, p, c, v));
    }
    for (; a < f.length - 3; a += 4)
      m ? c = f[a] | f[a + 1] << 8 | f[a + 2] << 16 | f[a + 3] << 24 : c = f[a + 3] | f[a + 2] << 8 | f[a + 1] << 16 | f[a] << 24, p = h(d, p, c, v);
    for (; a < f.length; a++) g.push(f[a]);
    return d.slice(0, p).toString("ucs2");
  };
  function h(f, a, c, d) {
    if ((c < 0 || c > 1114111) && (c = d), c >= 65536) {
      c -= 65536;
      var p = 55296 | c >> 10;
      f[a++] = p & 255, f[a++] = p >> 8;
      var c = 56320 | c & 1023;
    }
    return f[a++] = c & 255, f[a++] = c >> 8, a;
  }
  s.prototype.end = function() {
    this.overflow.length = 0;
  }, e.utf32 = o, e.ucs4 = "utf32";
  function o(f, a) {
    this.iconv = a;
  }
  o.prototype.encoder = n, o.prototype.decoder = u;
  function n(f, a) {
    f = f || {}, f.addBOM === void 0 && (f.addBOM = !0), this.encoder = a.iconv.getEncoder(f.defaultEncoding || "utf-32le", f);
  }
  n.prototype.write = function(f) {
    return this.encoder.write(f);
  }, n.prototype.end = function() {
    return this.encoder.end();
  };
  function u(f, a) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = f || {}, this.iconv = a.iconv;
  }
  u.prototype.write = function(f) {
    if (!this.decoder) {
      if (this.initialBufs.push(f), this.initialBufsLen += f.length, this.initialBufsLen < 32) return "";
      var a = l(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(a, this.options);
      for (var c = "", d = 0; d < this.initialBufs.length; d++) c += this.decoder.write(this.initialBufs[d]);
      return this.initialBufs.length = this.initialBufsLen = 0, c;
    }
    return this.decoder.write(f);
  }, u.prototype.end = function() {
    if (!this.decoder) {
      var f = l(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(f, this.options);
      for (var a = "", c = 0; c < this.initialBufs.length; c++) a += this.decoder.write(this.initialBufs[c]);
      var d = this.decoder.end();
      return d && (a += d), this.initialBufs.length = this.initialBufsLen = 0, a;
    }
    return this.decoder.end();
  };
  function l(f, a) {
    var c = [], d = 0, p = 0, m = 0, g = 0, v = 0;
    e: for (var y = 0; y < f.length; y++)
      for (var E = f[y], b = 0; b < E.length; b++)
        if (c.push(E[b]), c.length === 4) {
          if (d === 0) {
            if (c[0] === 255 && c[1] === 254 && c[2] === 0 && c[3] === 0) return "utf-32le";
            if (c[0] === 0 && c[1] === 0 && c[2] === 254 && c[3] === 255) return "utf-32be";
          }
          if ((c[0] !== 0 || c[1] > 16) && m++, (c[3] !== 0 || c[2] > 16) && p++, c[0] === 0 && c[1] === 0 && (c[2] !== 0 || c[3] !== 0) && v++, (c[0] !== 0 || c[1] !== 0) && c[2] === 0 && c[3] === 0 && g++, c.length = 0, d++, d >= 100) break e;
        }
    return v - m > g - p ? "utf-32be" : v - m < g - p ? "utf-32le" : a || "utf-32le";
  }
})), S1 = /* @__PURE__ */ P(((e) => {
  var t = pr().Buffer;
  e.utf16be = r;
  function r() {
  }
  r.prototype.encoder = i, r.prototype.decoder = s, r.prototype.bomAware = !0;
  function i() {
  }
  i.prototype.write = function(l) {
    for (var f = t.from(l, "ucs2"), a = 0; a < f.length; a += 2) {
      var c = f[a];
      f[a] = f[a + 1], f[a + 1] = c;
    }
    return f;
  }, i.prototype.end = function() {
  };
  function s() {
    this.overflowByte = -1;
  }
  s.prototype.write = function(l) {
    if (l.length == 0) return "";
    var f = t.alloc(l.length + 1), a = 0, c = 0;
    for (this.overflowByte !== -1 && (f[0] = l[0], f[1] = this.overflowByte, a = 1, c = 2); a < l.length - 1; a += 2, c += 2)
      f[c] = l[a + 1], f[c + 1] = l[a];
    return this.overflowByte = a == l.length - 1 ? l[l.length - 1] : -1, f.slice(0, c).toString("ucs2");
  }, s.prototype.end = function() {
    this.overflowByte = -1;
  }, e.utf16 = h;
  function h(l, f) {
    this.iconv = f;
  }
  h.prototype.encoder = o, h.prototype.decoder = n;
  function o(l, f) {
    l = l || {}, l.addBOM === void 0 && (l.addBOM = !0), this.encoder = f.iconv.getEncoder("utf-16le", l);
  }
  o.prototype.write = function(l) {
    return this.encoder.write(l);
  }, o.prototype.end = function() {
    return this.encoder.end();
  };
  function n(l, f) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = l || {}, this.iconv = f.iconv;
  }
  n.prototype.write = function(l) {
    if (!this.decoder) {
      if (this.initialBufs.push(l), this.initialBufsLen += l.length, this.initialBufsLen < 16) return "";
      var f = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(f, this.options);
      for (var a = "", c = 0; c < this.initialBufs.length; c++) a += this.decoder.write(this.initialBufs[c]);
      return this.initialBufs.length = this.initialBufsLen = 0, a;
    }
    return this.decoder.write(l);
  }, n.prototype.end = function() {
    if (!this.decoder) {
      var l = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(l, this.options);
      for (var f = "", a = 0; a < this.initialBufs.length; a++) f += this.decoder.write(this.initialBufs[a]);
      var c = this.decoder.end();
      return c && (f += c), this.initialBufs.length = this.initialBufsLen = 0, f;
    }
    return this.decoder.end();
  };
  function u(l, f) {
    var a = [], c = 0, d = 0, p = 0;
    e: for (var m = 0; m < l.length; m++)
      for (var g = l[m], v = 0; v < g.length; v++)
        if (a.push(g[v]), a.length === 2) {
          if (c === 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 && d++, a.length = 0, c++, c >= 100) break e;
        }
    return p > d ? "utf-16be" : p < d ? "utf-16le" : f || "utf-16le";
  }
})), A1 = /* @__PURE__ */ P(((e) => {
  var t = pr().Buffer;
  e.utf7 = r, e.unicode11utf7 = "utf7";
  function r(g, v) {
    this.iconv = v;
  }
  r.prototype.encoder = s, r.prototype.decoder = h, r.prototype.bomAware = !0;
  var i = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
  function s(g, v) {
    this.iconv = v.iconv;
  }
  s.prototype.write = function(g) {
    return t.from(g.replace(i, function(v) {
      return "+" + (v === "+" ? "" : this.iconv.encode(v, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
    }.bind(this)));
  }, s.prototype.end = function() {
  };
  function h(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  for (var o = /[A-Za-z0-9\/+]/, n = [], u = 0; u < 256; u++) n[u] = o.test(String.fromCharCode(u));
  var l = 43, f = 45, a = 38;
  h.prototype.write = function(g) {
    for (var v = "", y = 0, E = this.inBase64, b = this.base64Accum, w = 0; w < g.length; w++) if (!E)
      g[w] == l && (v += this.iconv.decode(g.slice(y, w), "ascii"), y = w + 1, E = !0);
    else if (!n[g[w]]) {
      if (w == y && g[w] == f) v += "+";
      else {
        var _ = b + this.iconv.decode(g.slice(y, w), "ascii");
        v += this.iconv.decode(t.from(_, "base64"), "utf16-be");
      }
      g[w] != f && w--, y = w + 1, E = !1, b = "";
    }
    if (!E) v += this.iconv.decode(g.slice(y), "ascii");
    else {
      var _ = b + this.iconv.decode(g.slice(y), "ascii"), S = _.length - _.length % 8;
      b = _.slice(S), _ = _.slice(0, S), v += this.iconv.decode(t.from(_, "base64"), "utf16-be");
    }
    return this.inBase64 = E, this.base64Accum = b, v;
  }, h.prototype.end = function() {
    var g = "";
    return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
  }, e.utf7imap = c;
  function c(g, v) {
    this.iconv = v;
  }
  c.prototype.encoder = d, c.prototype.decoder = p, c.prototype.bomAware = !0;
  function d(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = t.alloc(6), this.base64AccumIdx = 0;
  }
  d.prototype.write = function(g) {
    for (var v = this.inBase64, y = this.base64Accum, E = this.base64AccumIdx, b = t.alloc(g.length * 5 + 10), w = 0, _ = 0; _ < g.length; _++) {
      var S = g.charCodeAt(_);
      S >= 32 && S <= 126 ? (v && (E > 0 && (w += b.write(y.slice(0, E).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), w), E = 0), b[w++] = f, v = !1), v || (b[w++] = S, S === a && (b[w++] = f))) : (v || (b[w++] = a, v = !0), v && (y[E++] = S >> 8, y[E++] = S & 255, E == y.length && (w += b.write(y.toString("base64").replace(/\//g, ","), w), E = 0)));
    }
    return this.inBase64 = v, this.base64AccumIdx = E, b.slice(0, w);
  }, d.prototype.end = function() {
    var g = t.alloc(10), v = 0;
    return this.inBase64 && (this.base64AccumIdx > 0 && (v += g.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), v), this.base64AccumIdx = 0), g[v++] = f, this.inBase64 = !1), g.slice(0, v);
  };
  function p(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  var m = n.slice();
  m[44] = !0, p.prototype.write = function(g) {
    for (var v = "", y = 0, E = this.inBase64, b = this.base64Accum, w = 0; w < g.length; w++) if (!E)
      g[w] == a && (v += this.iconv.decode(g.slice(y, w), "ascii"), y = w + 1, E = !0);
    else if (!m[g[w]]) {
      if (w == y && g[w] == f) v += "&";
      else {
        var _ = b + this.iconv.decode(g.slice(y, w), "ascii").replace(/,/g, "/");
        v += this.iconv.decode(t.from(_, "base64"), "utf16-be");
      }
      g[w] != f && w--, y = w + 1, E = !1, b = "";
    }
    if (!E) v += this.iconv.decode(g.slice(y), "ascii");
    else {
      var _ = b + this.iconv.decode(g.slice(y), "ascii").replace(/,/g, "/"), S = _.length - _.length % 8;
      b = _.slice(S), _ = _.slice(0, S), v += this.iconv.decode(t.from(_, "base64"), "utf16-be");
    }
    return this.inBase64 = E, this.base64Accum = b, v;
  }, p.prototype.end = function() {
    var g = "";
    return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
  };
})), T1 = /* @__PURE__ */ P(((e) => {
  var t = pr().Buffer;
  e._sbcs = r;
  function r(h, o) {
    if (!h) throw new Error("SBCS codec is called without the data.");
    if (!h.chars || h.chars.length !== 128 && h.chars.length !== 256) throw new Error("Encoding '" + h.type + "' has incorrect 'chars' (must be of len 128 or 256)");
    if (h.chars.length === 128) {
      for (var n = "", u = 0; u < 128; u++) n += String.fromCharCode(u);
      h.chars = n + h.chars;
    }
    this.decodeBuf = t.from(h.chars, "ucs2");
    for (var l = t.alloc(65536, o.defaultCharSingleByte.charCodeAt(0)), u = 0; u < h.chars.length; u++) l[h.chars.charCodeAt(u)] = u;
    this.encodeBuf = l;
  }
  r.prototype.encoder = i, r.prototype.decoder = s;
  function i(h, o) {
    this.encodeBuf = o.encodeBuf;
  }
  i.prototype.write = function(h) {
    for (var o = t.alloc(h.length), n = 0; n < h.length; n++) o[n] = this.encodeBuf[h.charCodeAt(n)];
    return o;
  }, i.prototype.end = function() {
  };
  function s(h, o) {
    this.decodeBuf = o.decodeBuf;
  }
  s.prototype.write = function(h) {
    for (var o = this.decodeBuf, n = t.alloc(h.length * 2), u = 0, l = 0, f = 0; f < h.length; f++)
      u = h[f] * 2, l = f * 2, n[l] = o[u], n[l + 1] = o[u + 1];
    return n.toString("ucs2");
  }, s.prototype.end = function() {
  };
})), D1 = /* @__PURE__ */ P(((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"
  };
})), R1 = /* @__PURE__ */ P(((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: "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    }
  };
})), O1 = /* @__PURE__ */ P(((e) => {
  var t = pr().Buffer;
  e._dbcs = l;
  for (var r = -1, i = -2, s = -10, h = -1e3, o = new Array(256), n = -1, u = 0; u < 256; u++) o[u] = r;
  function l(d, p) {
    if (this.encodingName = d.encodingName, !d) throw new Error("DBCS codec is called without the data.");
    if (!d.table) throw new Error("Encoding '" + this.encodingName + "' has no data.");
    var m = d.table();
    this.decodeTables = [], this.decodeTables[0] = o.slice(0), this.decodeTableSeq = [];
    for (var g = 0; g < m.length; g++) this._addDecodeChunk(m[g]);
    if (typeof d.gb18030 == "function") {
      this.gb18030 = d.gb18030();
      var v = this.decodeTables.length;
      this.decodeTables.push(o.slice(0));
      var y = this.decodeTables.length;
      this.decodeTables.push(o.slice(0));
      for (var E = this.decodeTables[0], g = 129; g <= 254; g++)
        for (var b = this.decodeTables[h - E[g]], w = 48; w <= 57; w++) {
          if (b[w] === r) b[w] = h - v;
          else if (b[w] > h) throw new Error("gb18030 decode tables conflict at byte 2");
          for (var _ = this.decodeTables[h - b[w]], S = 129; S <= 254; S++) {
            if (_[S] === r) _[S] = h - y;
            else {
              if (_[S] === h - y) continue;
              if (_[S] > h) throw new Error("gb18030 decode tables conflict at byte 3");
            }
            for (var T = this.decodeTables[h - _[S]], D = 48; D <= 57; D++) T[D] === r && (T[D] = i);
          }
        }
    }
    this.defaultCharUnicode = p.defaultCharUnicode, this.encodeTable = [], this.encodeTableSeq = [];
    var R = {};
    if (d.encodeSkipVals) for (var g = 0; g < d.encodeSkipVals.length; g++) {
      var j = d.encodeSkipVals[g];
      if (typeof j == "number") R[j] = !0;
      else for (var w = j.from; w <= j.to; w++) R[w] = !0;
    }
    if (this._fillEncodeTable(0, 0, R), d.encodeAdd)
      for (var M in d.encodeAdd) Object.prototype.hasOwnProperty.call(d.encodeAdd, M) && this._setEncodeChar(M.charCodeAt(0), d.encodeAdd[M]);
    this.defCharSB = this.encodeTable[0][p.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === r && (this.defCharSB = this.encodeTable[0]["?"]), this.defCharSB === r && (this.defCharSB = 63);
  }
  l.prototype.encoder = f, l.prototype.decoder = a, l.prototype._getDecodeTrieNode = function(d) {
    for (var p = []; d > 0; d >>>= 8) p.push(d & 255);
    p.length == 0 && p.push(0);
    for (var m = this.decodeTables[0], g = p.length - 1; g > 0; g--) {
      var v = m[p[g]];
      if (v == r)
        m[p[g]] = h - this.decodeTables.length, this.decodeTables.push(m = o.slice(0));
      else if (v <= h) m = this.decodeTables[h - v];
      else throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + d.toString(16));
    }
    return m;
  }, l.prototype._addDecodeChunk = function(d) {
    var p = parseInt(d[0], 16), m = this._getDecodeTrieNode(p);
    p = p & 255;
    for (var g = 1; g < d.length; g++) {
      var v = d[g];
      if (typeof v == "string") for (var y = 0; y < v.length; ) {
        var E = v.charCodeAt(y++);
        if (E >= 55296 && E < 56320) {
          var b = v.charCodeAt(y++);
          if (b >= 56320 && b < 57344) m[p++] = 65536 + (E - 55296) * 1024 + (b - 56320);
          else throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + d[0]);
        } else if (E > 4080 && E <= 4095) {
          for (var w = 4095 - E + 2, _ = [], S = 0; S < w; S++) _.push(v.charCodeAt(y++));
          m[p++] = s - this.decodeTableSeq.length, this.decodeTableSeq.push(_);
        } else m[p++] = E;
      }
      else if (typeof v == "number")
        for (var T = m[p - 1] + 1, y = 0; y < v; y++) m[p++] = T++;
      else throw new Error("Incorrect type '" + typeof v + "' given in " + this.encodingName + " at chunk " + d[0]);
    }
    if (p > 255) throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + d[0] + ": too long" + p);
  }, l.prototype._getEncodeBucket = function(d) {
    var p = d >> 8;
    return this.encodeTable[p] === void 0 && (this.encodeTable[p] = o.slice(0)), this.encodeTable[p];
  }, l.prototype._setEncodeChar = function(d, p) {
    var m = this._getEncodeBucket(d), g = d & 255;
    m[g] <= s ? this.encodeTableSeq[s - m[g]][n] = p : m[g] == r && (m[g] = p);
  }, l.prototype._setEncodeSequence = function(d, p) {
    var m = d[0], g = this._getEncodeBucket(m), v = m & 255, y;
    g[v] <= s ? y = this.encodeTableSeq[s - g[v]] : (y = {}, g[v] !== r && (y[n] = g[v]), g[v] = s - this.encodeTableSeq.length, this.encodeTableSeq.push(y));
    for (var E = 1; E < d.length - 1; E++) {
      var b = y[m];
      typeof b == "object" ? y = b : (y = y[m] = {}, b !== void 0 && (y[n] = b));
    }
    m = d[d.length - 1], y[m] = p;
  }, l.prototype._fillEncodeTable = function(d, p, m) {
    for (var g = this.decodeTables[d], v = !1, y = {}, E = 0; E < 256; E++) {
      var b = g[E], w = p + E;
      if (!m[w])
        if (b >= 0)
          this._setEncodeChar(b, w), v = !0;
        else if (b <= h) {
          var _ = h - b;
          if (!y[_]) {
            var S = w << 8 >>> 0;
            this._fillEncodeTable(_, S, m) ? v = !0 : y[_] = !0;
          }
        } else b <= s && (this._setEncodeSequence(this.decodeTableSeq[s - b], w), v = !0);
    }
    return v;
  };
  function f(d, p) {
    this.leadSurrogate = -1, this.seqObj = void 0, this.encodeTable = p.encodeTable, this.encodeTableSeq = p.encodeTableSeq, this.defaultCharSingleByte = p.defCharSB, this.gb18030 = p.gb18030;
  }
  f.prototype.write = function(d) {
    for (var p = t.alloc(d.length * (this.gb18030 ? 4 : 3)), m = this.leadSurrogate, g = this.seqObj, v = -1, y = 0, E = 0; ; ) {
      if (v === -1) {
        if (y == d.length) break;
        var b = d.charCodeAt(y++);
      } else {
        var b = v;
        v = -1;
      }
      if (b >= 55296 && b < 57344) if (b < 56320) if (m === -1) {
        m = b;
        continue;
      } else
        m = b, b = r;
      else m !== -1 ? (b = 65536 + (m - 55296) * 1024 + (b - 56320), m = -1) : b = r;
      else m !== -1 && (v = b, b = r, m = -1);
      var w = r;
      if (g !== void 0 && b != r) {
        var _ = g[b];
        if (typeof _ == "object") {
          g = _;
          continue;
        } else typeof _ == "number" ? w = _ : _ == null && (_ = g[n], _ !== void 0 && (w = _, v = b));
        g = void 0;
      } else if (b >= 0) {
        var S = this.encodeTable[b >> 8];
        if (S !== void 0 && (w = S[b & 255]), w <= s) {
          g = this.encodeTableSeq[s - w];
          continue;
        }
        if (w == r && this.gb18030) {
          var T = c(this.gb18030.uChars, b);
          if (T != -1) {
            var w = this.gb18030.gbChars[T] + (b - this.gb18030.uChars[T]);
            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 = g, this.leadSurrogate = m, p.slice(0, E);
  }, f.prototype.end = function() {
    if (!(this.leadSurrogate === -1 && this.seqObj === void 0)) {
      var d = t.alloc(10), p = 0;
      if (this.seqObj) {
        var m = this.seqObj[n];
        m !== void 0 && (m < 256 ? d[p++] = m : (d[p++] = m >> 8, d[p++] = m & 255)), this.seqObj = void 0;
      }
      return this.leadSurrogate !== -1 && (d[p++] = this.defaultCharSingleByte, this.leadSurrogate = -1), d.slice(0, p);
    }
  }, f.prototype.findIdx = c;
  function a(d, 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(d) {
    for (var p = t.alloc(d.length * 2), m = this.nodeIdx, g = this.prevBytes, v = this.prevBytes.length, y = -this.prevBytes.length, E, b = 0, w = 0; b < d.length; b++) {
      var _ = b >= 0 ? d[b] : g[b + v], E = this.decodeTables[m][_];
      if (!(E >= 0))
        if (E === r)
          E = this.defaultCharUnicode.charCodeAt(0), b = y;
        else if (E === i) {
          if (b >= 3) var S = (d[b - 3] - 129) * 12600 + (d[b - 2] - 48) * 1260 + (d[b - 1] - 129) * 10 + (_ - 48);
          else var S = (g[b - 3 + v] - 129) * 12600 + ((b - 2 >= 0 ? d[b - 2] : g[b - 2 + v]) - 48) * 1260 + ((b - 1 >= 0 ? d[b - 1] : g[b - 1 + v]) - 129) * 10 + (_ - 48);
          var T = c(this.gb18030.gbChars, S);
          E = this.gb18030.uChars[T] + S - this.gb18030.gbChars[T];
        } else if (E <= h) {
          m = h - E;
          continue;
        } else if (E <= s) {
          for (var D = this.decodeTableSeq[s - E], R = 0; R < D.length - 1; R++)
            E = D[R], p[w++] = E & 255, p[w++] = E >> 8;
          E = D[D.length - 1];
        } else throw new Error("iconv-lite internal error: invalid decoding table value " + E + " at " + m + "/" + _);
      if (E >= 65536) {
        E -= 65536;
        var j = 55296 | E >> 10;
        p[w++] = j & 255, p[w++] = j >> 8, E = 56320 | E & 1023;
      }
      p[w++] = E & 255, p[w++] = E >> 8, m = 0, y = b + 1;
    }
    return this.nodeIdx = m, this.prevBytes = y >= 0 ? Array.prototype.slice.call(d, y) : g.slice(y + v).concat(Array.prototype.slice.call(d)), p.slice(0, w).toString("ucs2");
  }, a.prototype.end = function() {
    for (var d = ""; this.prevBytes.length > 0; ) {
      d += this.defaultCharUnicode;
      var p = this.prevBytes.slice(1);
      this.prevBytes = [], this.nodeIdx = 0, p.length > 0 && (d += this.write(p));
    }
    return this.prevBytes = [], this.nodeIdx = 0, d;
  };
  function c(d, p) {
    if (d[0] > p) return -1;
    for (var m = 0, g = d.length; m < g - 1; ) {
      var v = m + (g - m + 1 >> 1);
      d[v] <= p ? m = v : g = v;
    }
    return m;
  }
})), C1 = /* @__PURE__ */ yt({ default: () => tf }), tf, I1 = Ft((() => {
  tf = /* @__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","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]');
})), k1 = /* @__PURE__ */ yt({ default: () => rf }), rf, L1 = Ft((() => {
  rf = /* @__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,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]');
})), Hs = /* @__PURE__ */ yt({ default: () => nf }), nf, qs = Ft((() => {
  nf = /* @__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","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]');
})), Jc = /* @__PURE__ */ yt({ default: () => sf }), sf, Xc = Ft((() => {
  sf = [
    [
      "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", ""]
  ];
})), $1 = /* @__PURE__ */ yt({
  default: () => af,
  gbChars: () => ga,
  uChars: () => pa
}), pa, ga, af, N1 = Ft((() => {
  pa = [
    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
  ], ga = [
    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
  ], af = {
    uChars: pa,
    gbChars: ga
  };
})), x1 = /* @__PURE__ */ yt({ default: () => of }), of, P1 = Ft((() => {
  of = /* @__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","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]');
})), Qc = /* @__PURE__ */ yt({ default: () => lf }), lf, eu = Ft((() => {
  lf = /* @__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","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]');
})), B1 = /* @__PURE__ */ yt({ default: () => cf }), cf, F1 = Ft((() => {
  cf = /* @__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","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]');
})), M1 = /* @__PURE__ */ P(((e, t) => {
  t.exports = {
    shiftjis: {
      type: "_dbcs",
      table: function() {
        return I1(), mt(C1).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 L1(), mt(k1).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 qs(), mt(Hs).default;
      }
    },
    gbk: {
      type: "_dbcs",
      table: function() {
        return (qs(), mt(Hs).default).concat((Xc(), mt(Jc).default));
      }
    },
    xgbk: "gbk",
    isoir58: "gbk",
    gb18030: {
      type: "_dbcs",
      table: function() {
        return (qs(), mt(Hs).default).concat((Xc(), mt(Jc).default));
      },
      gb18030: function() {
        return N1(), mt($1).default;
      },
      encodeSkipVals: [128],
      encodeAdd: { "€": 41699 }
    },
    chinese: "gb18030",
    windows949: "cp949",
    ms949: "cp949",
    949: "cp949",
    cp949: {
      type: "_dbcs",
      table: function() {
        return P1(), mt(x1).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 eu(), mt(Qc).default;
      }
    },
    big5: "big5hkscs",
    big5hkscs: {
      type: "_dbcs",
      table: function() {
        return (eu(), mt(Qc).default).concat((F1(), mt(B1).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"
  };
})), j1 = /* @__PURE__ */ P(((e) => {
  for (var t = ef(), r = [
    w1(),
    E1(),
    S1(),
    A1(),
    T1(),
    D1(),
    R1(),
    O1(),
    M1()
  ], i = 0; i < r.length; i++) {
    var s = r[i];
    t(e, s);
  }
})), U1 = /* @__PURE__ */ P(((e, t) => {
  var r = pr().Buffer;
  t.exports = function(i) {
    var s = i.Transform;
    function h(n, u) {
      this.conv = n, u = u || {}, u.decodeStrings = !1, s.call(this, u);
    }
    h.prototype = Object.create(s.prototype, { constructor: { value: h } }), h.prototype._transform = function(n, u, l) {
      if (typeof n != "string") return l(/* @__PURE__ */ new Error("Iconv encoding stream needs strings as its input."));
      try {
        var f = this.conv.write(n);
        f && f.length && this.push(f), l();
      } catch (a) {
        l(a);
      }
    }, h.prototype._flush = function(n) {
      try {
        var u = this.conv.end();
        u && u.length && this.push(u), n();
      } catch (l) {
        n(l);
      }
    }, h.prototype.collect = function(n) {
      var u = [];
      return this.on("error", n), this.on("data", function(l) {
        u.push(l);
      }), this.on("end", function() {
        n(null, r.concat(u));
      }), this;
    };
    function o(n, u) {
      this.conv = n, u = u || {}, u.encoding = this.encoding = "utf8", s.call(this, u);
    }
    return o.prototype = Object.create(s.prototype, { constructor: { value: o } }), o.prototype._transform = function(n, u, l) {
      if (!r.isBuffer(n) && !(n instanceof Uint8Array)) return l(/* @__PURE__ */ new Error("Iconv decoding stream needs buffers as its input."));
      try {
        var f = this.conv.write(n);
        f && f.length && this.push(f, this.encoding), l();
      } catch (a) {
        l(a);
      }
    }, o.prototype._flush = function(n) {
      try {
        var u = this.conv.end();
        u && u.length && this.push(u, this.encoding), n();
      } catch (l) {
        n(l);
      }
    }, o.prototype.collect = function(n) {
      var u = "";
      return this.on("error", n), this.on("data", function(l) {
        u += l;
      }), this.on("end", function() {
        n(null, u);
      }), this;
    }, {
      IconvLiteEncoderStream: h,
      IconvLiteDecoderStream: o
    };
  };
})), H1 = /* @__PURE__ */ P(((e, t) => {
  var r = pr().Buffer, i = b1(), s = ef();
  t.exports.encodings = null, t.exports.defaultCharUnicode = "�", t.exports.defaultCharSingleByte = "?", t.exports.encode = function(n, u, l) {
    n = "" + (n || "");
    var f = t.exports.getEncoder(u, l), a = f.write(n), c = f.end();
    return c && c.length > 0 ? r.concat([a, c]) : a;
  }, t.exports.decode = function(n, u, l) {
    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 f = t.exports.getDecoder(u, l), a = f.write(n), c = f.end();
    return c ? a + c : 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 = j1();
      t.exports.encodings = { __proto__: null }, s(t.exports.encodings, u);
    }
    for (var l = t.exports._canonicalizeEncoding(n), f = {}; ; ) {
      var a = t.exports._codecDataCache[l];
      if (a) return a;
      var c = t.exports.encodings[l];
      switch (typeof c) {
        case "string":
          l = c;
          break;
        case "object":
          for (var d in c) f[d] = c[d];
          f.encodingName || (f.encodingName = l), l = c.type;
          break;
        case "function":
          return f.encodingName || (f.encodingName = l), a = new c(f, t.exports), t.exports._codecDataCache[f.encodingName] = a, a;
        default:
          throw new Error("Encoding not recognized: '" + n + "' (searched as: '" + l + "')");
      }
    }
  }, t.exports._canonicalizeEncoding = function(o) {
    return ("" + o).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
  }, t.exports.getEncoder = function(n, u) {
    var l = t.exports.getCodec(n), f = new l.encoder(u, l);
    return l.bomAware && u && u.addBOM && (f = new i.PrependBOM(f, u)), f;
  }, t.exports.getDecoder = function(n, u) {
    var l = t.exports.getCodec(n), f = new l.decoder(u, l);
    return l.bomAware && !(u && u.stripBOM === !1) && (f = new i.StripBOM(f, u)), f;
  }, t.exports.enableStreamingAPI = function(n) {
    if (!t.exports.supportsStreams) {
      var u = U1()(n);
      t.exports.IconvLiteEncoderStream = u.IconvLiteEncoderStream, t.exports.IconvLiteDecoderStream = u.IconvLiteDecoderStream, t.exports.encodeStream = function(f, a) {
        return new t.exports.IconvLiteEncoderStream(t.exports.getEncoder(f, a), a);
      }, t.exports.decodeStream = function(f, a) {
        return new t.exports.IconvLiteDecoderStream(t.exports.getDecoder(f, a), a);
      }, t.exports.supportsStreams = !0;
    }
  };
  var h;
  try {
    h = ge("stream");
  } catch {
  }
  h && h.Transform ? t.exports.enableStreamingAPI(h) : 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.");
  };
})), ul = /* @__PURE__ */ P(((e, t) => {
  var { Minipass: r } = At(), { MinipassSized: i } = y1(), s = _1(), { BUFFER: h } = s, o = Qh(), n;
  try {
    n = H1().decode;
  } catch {
  }
  var u = /* @__PURE__ */ Symbol("Body internals"), l = /* @__PURE__ */ Symbol("consumeBody"), f = class {
    constructor(p, m = {}) {
      const { size: g = 0, timeout: v = 0 } = m, y = p == null ? null : a(p) ? Buffer.from(p.toString()) : c(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: y,
        disturbed: !1,
        error: null
      }, this.size = g, this.timeout = v, r.isStream(y) && y.on("error", (E) => {
        const b = E.name === "AbortError" ? E : new o(`Invalid response while trying to fetch ${this.url}: ${E.message}`, "system", E);
        this[u].error = b;
      });
    }
    get body() {
      return this[u].body;
    }
    get bodyUsed() {
      return this[u].disturbed;
    }
    arrayBuffer() {
      return this[l]().then((p) => p.buffer.slice(p.byteOffset, p.byteOffset + p.byteLength));
    }
    blob() {
      const p = this.headers && this.headers.get("content-type") || "";
      return this[l]().then((m) => Object.assign(new s([], { type: p.toLowerCase() }), { [h]: m }));
    }
    async json() {
      const p = await this[l]();
      try {
        return JSON.parse(p.toString());
      } catch (m) {
        throw new o(`invalid json response body at ${this.url} reason: ${m.message}`, "invalid-json");
      }
    }
    text() {
      return this[l]().then((p) => p.toString());
    }
    buffer() {
      return this[l]();
    }
    textConverted() {
      if (typeof n != "function") throw new Error("The package `iconv-lite` must be installed to use the textConverted() function");
      return this[l]().then((p) => d(p, this.headers));
    }
    [l]() {
      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 = c(this.body) ? this.body.stream() : this.body;
      if (!r.isStream(p)) return Promise.resolve(Buffer.alloc(0));
      const m = this.size && p instanceof i || !this.size && p instanceof r && !(p instanceof i) ? p : this.size ? new i({ size: this.size }) : new r(), g = this.timeout && m.writable ? setTimeout(() => {
        m.emit("error", new o(`Response timeout while trying to fetch ${this.url} (over ${this.timeout}ms)`, "body-timeout"));
      }, this.timeout) : null;
      return g && g.unref && g.unref(), new Promise((v) => {
        m !== p && (p.on("error", (y) => m.emit("error", y)), p.pipe(m)), v();
      }).then(() => m.concat()).then((v) => (clearTimeout(g), v)).catch((v) => {
        throw clearTimeout(g), v.name === "AbortError" || v.name === "FetchError" ? v : v.name === "RangeError" ? new o(`Could not create Buffer from response body for ${this.url}: ${v.message}`, "system", v) : new o(`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 m = p.body;
      if (r.isStream(m) && typeof m.getBoundary != "function") {
        const g = new r(), v = new r(), y = new r();
        return g.on("error", (E) => {
          v.emit("error", E), y.emit("error", E);
        }), m.on("error", (E) => g.emit("error", E)), g.pipe(v), g.pipe(y), m.pipe(g), p[u].body = v, y;
      } 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" : c(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: m } = p;
      return m == null ? 0 : c(m) ? m.size : Buffer.isBuffer(m) ? m.length : m && typeof m.getLengthSync == "function" && (m._lengthRetrievers && m._lengthRetrievers.length === 0 || m.hasKnownLength && m.hasKnownLength()) ? m.getLengthSync() : null;
    }
    static writeToStream(p, m) {
      const { body: g } = m;
      return g == null ? p.end() : Buffer.isBuffer(g) || typeof g == "string" ? p.end(g) : (c(g) ? g.stream() : g).on("error", (v) => p.emit("error", v)).pipe(p), p;
    }
  };
  Object.defineProperties(f.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", c = (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]), d = (p, m) => {
    const g = m && m.get("content-type");
    let v = "utf-8", y;
    g && (y = /charset=([^;]*)/i.exec(g));
    const E = p.slice(0, 1024).toString();
    if (!y && E && (y = /<meta.+?charset=(['"])(.+?)\1/i.exec(E)), !y && E && (y = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(E), y || (y = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(E), y && y.pop()), y && (y = /charset=(.*)/i.exec(y.pop()))), !y && E && (y = /<\?xml.+?encoding=(['"])(.+?)\1/i.exec(E)), y && (v = y.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 = f;
})), hl = /* @__PURE__ */ P(((e, t) => {
  var r = /[^^_`a-zA-Z\-0-9!#$%&'*+.|~]/, i = /[^\t\x20-\x7e\x80-\xff]/, s = (c) => {
    if (c = `${c}`, r.test(c) || c === "") throw new TypeError(`${c} is not a legal HTTP header name`);
  }, h = (c) => {
    if (c = `${c}`, i.test(c)) throw new TypeError(`${c} is not a legal HTTP header value`);
  }, o = (c, d) => {
    d = d.toLowerCase();
    for (const p in c) if (p.toLowerCase() === d) return p;
  }, n = /* @__PURE__ */ Symbol("map"), u = class ma {
    constructor(d = void 0) {
      if (this[n] = /* @__PURE__ */ Object.create(null), d instanceof ma) {
        const p = d.raw(), m = Object.keys(p);
        for (const g of m) for (const v of p[g]) this.append(g, v);
        return;
      }
      if (d != null)
        if (typeof d == "object") {
          const p = d[Symbol.iterator];
          if (p != null) {
            if (typeof p != "function") throw new TypeError("Header pairs must be iterable");
            const m = [];
            for (const g of d) {
              if (typeof g != "object" || typeof g[Symbol.iterator] != "function") throw new TypeError("Each header pair must be iterable");
              const v = Array.from(g);
              if (v.length !== 2) throw new TypeError("Each header pair must be a name/value tuple");
              m.push(v);
            }
            for (const g of m) this.append(g[0], g[1]);
          } else for (const m of Object.keys(d)) this.append(m, d[m]);
        } else throw new TypeError("Provided initializer must be an object");
    }
    get(d) {
      d = `${d}`, s(d);
      const p = o(this[n], d);
      return p === void 0 ? null : this[n][p].join(", ");
    }
    forEach(d, p = void 0) {
      let m = l(this);
      for (let g = 0; g < m.length; g++) {
        const [v, y] = m[g];
        d.call(p, y, v, this), m = l(this);
      }
    }
    set(d, p) {
      d = `${d}`, p = `${p}`, s(d), h(p);
      const m = o(this[n], d);
      this[n][m !== void 0 ? m : d] = [p];
    }
    append(d, p) {
      d = `${d}`, p = `${p}`, s(d), h(p);
      const m = o(this[n], d);
      m !== void 0 ? this[n][m].push(p) : this[n][d] = [p];
    }
    has(d) {
      return d = `${d}`, s(d), o(this[n], d) !== void 0;
    }
    delete(d) {
      d = `${d}`, s(d);
      const p = o(this[n], d);
      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(d) {
      const p = Object.assign(/* @__PURE__ */ Object.create(null), d[n]), m = o(d[n], "Host");
      return m !== void 0 && (p[m] = p[m][0]), p;
    }
    static createHeadersLenient(d) {
      const p = new ma();
      for (const m of Object.keys(d))
        if (!r.test(m))
          if (Array.isArray(d[m])) for (const g of d[m])
            i.test(g) || (p[n][m] === void 0 ? p[n][m] = [g] : p[n][m].push(g));
          else i.test(d[m]) || (p[n][m] = [d[m]]);
      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 l = (c, d = "key+value") => Object.keys(c[n]).sort().map(d === "key" ? (p) => p.toLowerCase() : d === "value" ? (p) => c[n][p].join(", ") : (p) => [p.toLowerCase(), c[n][p].join(", ")]), f = /* @__PURE__ */ Symbol("internal"), a = class uf {
    constructor(d, p) {
      this[f] = {
        target: d,
        kind: p,
        index: 0
      };
    }
    get [Symbol.toStringTag]() {
      return "HeadersIterator";
    }
    next() {
      if (!this || Object.getPrototypeOf(this) !== uf.prototype) throw new TypeError("Value of `this` is not a HeadersIterator");
      const { target: d, kind: p, index: m } = this[f], g = l(d, p);
      return m >= g.length ? {
        value: void 0,
        done: !0
      } : (this[f].index++, {
        value: g[m],
        done: !1
      });
    }
  };
  Object.setPrototypeOf(a.prototype, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))), t.exports = u;
})), q1 = /* @__PURE__ */ P(((e, t) => {
  var { STATUS_CODES: r } = ge("http"), i = hl(), s = ul(), { clone: h, extractContentType: o } = s, n = /* @__PURE__ */ Symbol("Response internals"), u = class hf extends s {
    constructor(f = null, a = {}) {
      super(f, a);
      const c = a.status || 200, d = new i(a.headers);
      if (f != null && !d.has("Content-Type")) {
        const p = o(f);
        p && d.append("Content-Type", p);
      }
      this[n] = {
        url: a.url,
        status: c,
        statusText: a.statusText || r[c],
        headers: d,
        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 hf(h(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 }
  });
})), G1 = /* @__PURE__ */ yt({
  author: () => Ia,
  default: () => ff,
  dependencies: () => Aa,
  description: () => _a,
  devDependencies: () => Sa,
  engines: () => Ca,
  files: () => Oa,
  keywords: () => Ra,
  license: () => "MIT",
  main: () => ba,
  name: () => va,
  optionalDependencies: () => Ta,
  repository: () => Da,
  scripts: () => wa,
  tap: () => Ea,
  templateOSS: () => ka,
  version: () => ya
}), va, ya, _a, z1, ba, wa, Ea, Sa, Aa, Ta, Da, Ra, Oa, Ca, Ia, ka, ff, W1 = Ft((() => {
  va = "minipass-fetch", ya = "5.0.2", _a = "An implementation of window.fetch in Node.js using Minipass streams", z1 = "MIT", ba = "lib/index.js", wa = {
    "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}"'
  }, Ea = {
    "coverage-map": "map.js",
    "check-coverage": !0,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, Sa = {
    "@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"
  }, Aa = {
    minipass: "^7.0.3",
    "minipass-sized": "^2.0.0",
    minizlib: "^3.0.1"
  }, Ta = { "iconv-lite": "^0.7.2" }, Da = {
    type: "git",
    url: "git+https://github.com/npm/minipass-fetch.git"
  }, Ra = [
    "fetch",
    "minipass",
    "node-fetch",
    "window.fetch"
  ], Oa = ["bin/", "lib/"], Ca = { node: "^20.17.0 || >=22.9.0" }, Ia = "GitHub Inc.", ka = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.27.1",
    publish: "true"
  }, ff = {
    name: va,
    version: ya,
    description: _a,
    license: "MIT",
    main: ba,
    scripts: wa,
    tap: Ea,
    devDependencies: Sa,
    dependencies: Aa,
    optionalDependencies: Ta,
    repository: Da,
    keywords: Ra,
    files: Oa,
    engines: Ca,
    author: Ia,
    templateOSS: ka
  };
})), V1 = /* @__PURE__ */ P(((e, t) => {
  var { URL: r } = ge("url"), { Minipass: i } = At(), s = hl(), { exportNodeCompatibleHeaders: h } = s, o = ul(), { clone: n, extractContentType: u, getTotalBytes: l } = o, f = `minipass-fetch/${(W1(), mt(G1).default).version} (+https://github.com/isaacs/minipass-fetch)`, a = /* @__PURE__ */ Symbol("Request internals"), c = (m) => typeof m == "object" && typeof m[a] == "object", d = (m) => {
    const g = m && typeof m == "object" && Object.getPrototypeOf(m);
    return !!(g && g.constructor.name === "AbortSignal");
  }, p = class df extends o {
    constructor(g, v = {}) {
      const y = c(g) ? new r(g.url) : g && g.href ? new r(g.href) : new r(`${g}`);
      c(g) ? v = {
        ...g[a],
        ...v
      } : (!g || typeof g == "string") && (g = {});
      const E = (v.method || g.method || "GET").toUpperCase(), b = E === "GET" || E === "HEAD";
      if ((v.body !== null && v.body !== void 0 || c(g) && g.body !== null) && b) throw new TypeError("Request with GET/HEAD method cannot have body");
      const w = v.body !== null && v.body !== void 0 ? v.body : c(g) && g.body !== null ? n(g) : null;
      super(w, {
        timeout: v.timeout || g.timeout || 0,
        size: v.size || g.size || 0
      });
      const _ = new s(v.headers || g.headers || {});
      if (w != null && !_.has("Content-Type")) {
        const K = u(w);
        K && _.append("Content-Type", K);
      }
      const S = "signal" in v ? v.signal : null;
      if (S != null && !d(S)) throw new TypeError("Expected signal must be an instanceof AbortSignal");
      const { ca: T, cert: D, ciphers: R, clientCertEngine: j, crl: M, dhparam: G, ecdhCurve: Y, family: H, honorCipherOrder: I, key: $, passphrase: q, pfx: z, rejectUnauthorized: F = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0", secureOptions: x, secureProtocol: L, servername: C, sessionIdContext: N } = v;
      this[a] = {
        method: E,
        redirect: v.redirect || g.redirect || "follow",
        headers: _,
        parsedURL: y,
        signal: S,
        ca: T,
        cert: D,
        ciphers: R,
        clientCertEngine: j,
        crl: M,
        dhparam: G,
        ecdhCurve: Y,
        family: H,
        honorCipherOrder: I,
        key: $,
        passphrase: q,
        pfx: z,
        rejectUnauthorized: F,
        secureOptions: x,
        secureProtocol: L,
        servername: C,
        sessionIdContext: N
      }, this.follow = v.follow !== void 0 ? v.follow : g.follow !== void 0 ? g.follow : 20, this.compress = v.compress !== void 0 ? v.compress : g.compress !== void 0 ? g.compress : !0, this.counter = v.counter || g.counter || 0, this.agent = v.agent || g.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 df(this);
    }
    get [Symbol.toStringTag]() {
      return "Request";
    }
    static getNodeRequestOptions(g) {
      const v = g[a].parsedURL, y = new s(g[a].headers);
      if (y.has("Accept") || y.set("Accept", "*/*"), !/^https?:$/.test(v.protocol)) throw new TypeError("Only HTTP(S) protocols are supported");
      if (g.signal && i.isStream(g.body) && typeof g.body.destroy != "function") throw new Error("Cancellation of streamed requests with AbortSignal is not supported");
      const E = (g.body === null || g.body === void 0) && /^(POST|PUT)$/i.test(g.method) ? "0" : g.body !== null && g.body !== void 0 ? l(g) : null;
      E && y.set("Content-Length", E + ""), y.has("User-Agent") || y.set("User-Agent", f), g.compress && !y.has("Accept-Encoding") && y.set("Accept-Encoding", "gzip,deflate");
      const b = typeof g.agent == "function" ? g.agent(v) : g.agent;
      !y.has("Connection") && !b && y.set("Connection", "close");
      const { ca: w, cert: _, ciphers: S, clientCertEngine: T, crl: D, dhparam: R, ecdhCurve: j, family: M, honorCipherOrder: G, key: Y, passphrase: H, pfx: I, rejectUnauthorized: $, secureOptions: q, secureProtocol: z, servername: F, sessionIdContext: x } = g[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: g.method,
        headers: h(y),
        agent: b,
        ca: w,
        cert: _,
        ciphers: S,
        clientCertEngine: T,
        crl: D,
        dhparam: R,
        ecdhCurve: j,
        family: M,
        honorCipherOrder: G,
        key: Y,
        passphrase: H,
        pfx: I,
        rejectUnauthorized: $,
        secureOptions: q,
        secureProtocol: z,
        servername: F,
        sessionIdContext: x,
        timeout: g.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 }
  });
})), Y1 = /* @__PURE__ */ P(((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;
})), Yi = /* @__PURE__ */ P(((e, t) => {
  var { URL: r } = ge("url"), i = ge("http"), s = ge("https"), h = Xh(), { Minipass: o } = At(), { writeToStream: n, getTotalBytes: u } = ul(), l = q1(), f = hl(), { createHeadersLenient: a } = f, c = V1(), { getNodeRequestOptions: d } = c, p = Qh(), m = Y1(), g = async (v, y) => {
    if (/^data:/.test(v)) {
      const E = new c(v, y);
      return Promise.resolve().then(() => new Promise((b, w) => {
        let _, S;
        try {
          const { pathname: R, search: j } = new r(v), M = R.split(",");
          if (M.length < 2) throw new Error("invalid data: URI");
          const G = M.shift(), Y = /;base64$/.test(G);
          _ = Y ? G.slice(0, -7) : G;
          const H = decodeURIComponent(M.join(",") + j);
          S = Y ? Buffer.from(H, "base64") : Buffer.from(H);
        } catch (R) {
          return w(new p(`[${E.method}] ${E.url} invalid URL, ${R.message}`, "system", R));
        }
        const { signal: T } = E;
        if (T && T.aborted) return w(new m("The user aborted a request."));
        const D = { "Content-Length": S.length };
        return _ && (D["Content-Type"] = _), b(new l(S, { headers: D }));
      }));
    }
    return new Promise((E, b) => {
      const w = new c(v, y);
      let _;
      try {
        _ = d(w);
      } catch (H) {
        return b(H);
      }
      const S = (_.protocol === "https:" ? s : i).request, { signal: T } = w;
      let D = null;
      const R = () => {
        const H = new m("The user aborted a request.");
        b(H), o.isStream(w.body) && typeof w.body.destroy == "function" && w.body.destroy(H), D && D.body && D.body.emit("error", H);
      };
      if (T && T.aborted) return R();
      const j = () => {
        R(), M();
      }, M = () => {
        G.abort(), T && T.removeEventListener("abort", j), clearTimeout(Y);
      }, G = S(_);
      T && T.addEventListener("abort", j);
      let Y = null;
      w.timeout && G.once("socket", () => {
        Y = setTimeout(() => {
          b(new p(`network timeout at: ${w.url}`, "request-timeout")), M();
        }, w.timeout);
      }), G.on("error", (H) => {
        G.res && G.res.emit("error", H), b(new p(`request to ${w.url} failed, reason: ${H.message}`, "system", H)), M();
      }), G.on("response", (H) => {
        clearTimeout(Y);
        const I = a(H.headers);
        if (g.isRedirect(H.statusCode)) {
          const L = I.get("Location");
          let C = null;
          try {
            C = L === null ? null : new r(L, w.url).toString();
          } catch {
            if (w.redirect !== "manual") {
              b(new p(`uri requested responds with an invalid redirect URL: ${L}`, "invalid-redirect")), M();
              return;
            }
          }
          if (w.redirect === "error") {
            b(new p(`uri requested responds with a redirect, redirect mode is set to error: ${w.url}`, "no-redirect")), M();
            return;
          } else if (w.redirect === "manual") {
            if (C !== null) try {
              I.set("Location", C);
            } catch (N) {
              b(N);
            }
          } else if (w.redirect === "follow" && C !== null) {
            if (w.counter >= w.follow) {
              b(new p(`maximum redirect reached at: ${w.url}`, "max-redirect")), M();
              return;
            }
            if (H.statusCode !== 303 && w.body && u(w) === null) {
              b(new p("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), M();
              return;
            }
            w.headers.set("host", new r(C).host);
            const N = {
              headers: new f(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
            }, K = new r(w.url), oe = new r(C);
            K.hostname !== oe.hostname && (N.headers.delete("authorization"), N.headers.delete("cookie")), (H.statusCode === 303 || (H.statusCode === 301 || H.statusCode === 302) && w.method === "POST") && (N.method = "GET", N.body = void 0, N.headers.delete("content-length")), E(g(new c(C, N))), M();
            return;
          }
        }
        H.once("end", () => T && T.removeEventListener("abort", j));
        const $ = new o();
        $.on("error", M), H.on(
          "error",
          /* istanbul ignore next */
          (L) => $.emit("error", L)
        ), H.on("data", (L) => $.write(L)), H.on("end", () => $.end());
        const q = {
          url: w.url,
          status: H.statusCode,
          statusText: H.statusMessage,
          headers: I,
          size: w.size,
          timeout: w.timeout,
          counter: w.counter,
          trailer: new Promise((L) => H.on("end", () => L(a(H.trailers))))
        }, z = I.get("Content-Encoding");
        if (!w.compress || w.method === "HEAD" || z === null || H.statusCode === 204 || H.statusCode === 304) {
          D = new l($, q), E(D);
          return;
        }
        const F = {
          flush: h.constants.Z_SYNC_FLUSH,
          finishFlush: h.constants.Z_SYNC_FLUSH
        };
        if (z === "gzip" || z === "x-gzip") {
          const L = new h.Gunzip(F);
          D = new l($.on(
            "error",
            /* istanbul ignore next */
            (C) => L.emit("error", C)
          ).pipe(L), q), E(D);
          return;
        }
        if (z === "deflate" || z === "x-deflate") {
          H.once("data", (L) => {
            const C = (L[0] & 15) === 8 ? new h.Inflate() : new h.InflateRaw();
            $.on(
              "error",
              /* istanbul ignore next */
              (N) => C.emit("error", N)
            ).pipe(C), D = new l(C, q), E(D);
          });
          return;
        }
        if (z === "br") {
          try {
            var x = new h.BrotliDecompress();
          } catch (L) {
            b(L), M();
            return;
          }
          $.on(
            "error",
            /* istanbul ignore next */
            (L) => x.emit("error", L)
          ).pipe(x), D = new l(x, q), E(D);
          return;
        }
        D = new l($, q), E(D);
      }), n(G, w);
    });
  };
  t.exports = g, g.isRedirect = (v) => v === 301 || v === 302 || v === 303 || v === 307 || v === 308, g.Headers = f, g.Request = c, g.Response = l, g.FetchError = p, g.AbortError = m;
})), K1 = /* @__PURE__ */ yt({
  author: () => Ma,
  default: () => pf,
  dependencies: () => ja,
  description: () => Na,
  devDependencies: () => Ua,
  engines: () => qa,
  files: () => xa,
  keywords: () => Fa,
  license: () => "ISC",
  main: () => "lib",
  name: () => La,
  repository: () => Ba,
  scripts: () => Pa,
  tap: () => Ha,
  templateOSS: () => Ga,
  version: () => $a
}), La, $a, Na, Z1, xa, Pa, Ba, Fa, Ma, J1, ja, Ua, Ha, qa, Ga, pf, X1 = Ft((() => {
  La = "npm-registry-fetch", $a = "19.1.1", Na = "Fetch-based http client for use with npm registry APIs", Z1 = "lib", xa = ["bin/", "lib/"], Pa = {
    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"
  }, Ba = {
    type: "git",
    url: "git+https://github.com/npm/npm-registry-fetch.git"
  }, Fa = [
    "npm",
    "registry",
    "fetch"
  ], Ma = "GitHub Inc.", J1 = "ISC", ja = {
    "@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"
  }, Ua = {
    "@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"
  }, Ha = {
    "check-coverage": !0,
    "test-ignore": "test[\\\\/](util|cache)[\\\\/]",
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, qa = { node: "^20.17.0 || >=22.9.0" }, Ga = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.28.0",
    publish: "true"
  }, pf = {
    name: La,
    version: $a,
    description: Na,
    main: "lib",
    files: xa,
    scripts: Pa,
    repository: Ba,
    keywords: Fa,
    author: Ma,
    license: "ISC",
    dependencies: ja,
    devDependencies: Ua,
    tap: Ha,
    engines: qa,
    templateOSS: Ga
  };
})), gf = /* @__PURE__ */ P(((e, t) => {
  var r = (X1(), mt(K1).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})`
  };
})), fl = /* @__PURE__ */ P(((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 h() {
          return process.emit("time", "end", i);
        }
        if (typeof s == "function") {
          const o = s();
          return o && o.finally ? o.finally(h) : (h(), o);
        }
        return h;
      },
      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 h() {
          return process.emit("input", "end", ...i);
        }
        if (typeof s == "function") {
          const o = s();
          return o && o.finally ? o.finally(h) : (h(), o);
        }
        return h;
      },
      end: function(...i) {
        return process.emit("input", "end", ...i);
      },
      read: function(...i) {
        let s, h;
        const o = new Promise((n, u) => {
          s = n, h = u;
        });
        return process.emit("input", "read", s, h, ...i), o;
      }
    }
  };
})), mf = /* @__PURE__ */ P(((e, t) => {
  var r = "regex", i = "url", s = "path", h = {
    type: r,
    pattern: /\b(npms?_)[a-zA-Z0-9]{36,48}\b/gi,
    replacement: "[REDACTED_NPM_SECRET]"
  }, o = {
    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]"
  }, l = {
    type: r,
    pattern: /(?:https?|ftp):\/\/[^\s/"$.?#].[^\s"]*/gi,
    replacement: "[REDACTED_URL]"
  }, f = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.authorization"),
    replacement: "[REDACTED_HEADER_AUTHORIZATION]"
  }, a = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.set-cookie"),
    replacement: "[REDACTED_HEADER_SET_COOKIE]"
  }, c = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.cookie"),
    replacement: "[REDACTED_HEADER_COOKIE]"
  }, d = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".request"),
    replacement: (m) => ({
      method: m?.method,
      path: m?.path,
      headers: m?.headers,
      url: m?.url
    })
  }, p = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".response"),
    replacement: (m) => ({
      data: m?.data,
      status: m?.status,
      headers: m?.headers
    })
  };
  t.exports = {
    TYPE_REGEX: r,
    TYPE_URL: i,
    TYPE_PATH: s,
    NPM_SECRET: h,
    AUTH_HEADER: o,
    JSON_WEB_TOKEN: n,
    UUID: u,
    URL_MATCHER: l,
    DEEP_HEADER_AUTHORIZATION: f,
    DEEP_HEADER_SET_COOKIE: a,
    DEEP_HEADER_COOKIE: c,
    REWRITE_REQUEST: d,
    REWRITE_RESPONSE: p
  };
})), Q1 = /* @__PURE__ */ P(((e, t) => {
  var { URL_MATCHER: r, TYPE_URL: i, TYPE_REGEX: s, TYPE_PATH: h } = mf(), o = (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("|"), l = (w, ..._) => {
    let S = "";
    for (let T = 0; T < _.length; T++) S += w[T] + `(${u(_[T])})`;
    return S += w[w.length - 1], new RegExp(S);
  }, f = ({ hostname: w, replacement: _ } = {}) => ({
    type: i,
    predicate: ({ url: S }) => S.hostname === w,
    pattern: ({ url: S }) => l`(^${S.protocol}//${S.username}:.+@)?${S.hostname}`,
    replacement: `$1${_ || o()}`
  }), a = ({ param: w, replacement: _ } = {}) => ({
    type: i,
    predicate: ({ url: S }) => S.searchParams.has(w),
    pattern: ({ url: S }) => l`(${w}=)${S.searchParams.get(w)}`,
    replacement: `$1${_ || o()}`
  }), c = ({ replacement: w } = {}) => ({
    type: i,
    predicate: ({ url: _ }) => _.password,
    pattern: ({ url: _ }) => l`(^${_.protocol}//${_.username}:)${_.password}`,
    replacement: `$1${w || o()}`
  }), d = (...w) => (_) => {
    try {
      const S = new URL(_);
      return v(...w)(_, { url: S });
    } catch {
      return _;
    }
  }, p = (...w) => ({
    ...r,
    replacement: d(...w)
  }), m = {
    [s]: (w) => (_) => (typeof _ == "string" && (_ = _.replace(w.pattern, w.replacement)), _),
    [i]: (w) => (_, S) => {
      if (typeof _ == "string") try {
        const T = S?.url || new URL(_), { predicate: D, pattern: R } = w;
        D({ url: T }) && (_ = _.replace(R({ url: T }), w.replacement));
      } catch {
        return _;
      }
      return _;
    },
    [h]: (w) => (_, S) => {
      const T = S?.path, D = T.join(".").toLowerCase(), { predicate: R, replacement: j } = w, M = typeof j == "function" ? j : () => j;
      return R({
        rawPath: T,
        path: D
      }) && (_ = M(_, {
        rawPath: T,
        path: D
      })), _;
    }
  }, g = (w) => m[w.type](w), v = (...w) => (_, S) => w.flat().reduce((T, D) => (typeof D == "function" ? D : g(D))(T, S), _), y = () => (w, _) => typeof _ == "number" ? o(w) : _ + o(w.substring(_.length).length), E = (w) => (_, S) => typeof S == "number" ? o(w) : S + o(w), b = (w, _) => v(c({ replacement: _ }))(w);
  t.exports = {
    asterisk: o,
    escapeRegExp: n,
    urlEncodeRegexGroup: u,
    urlEncodeRegexTag: l,
    redactUrlHostnameMatcher: f,
    redactUrlSearchParamsMatcher: a,
    redactUrlPasswordMatcher: c,
    redactUrlMatcher: p,
    redactUrlReplacement: d,
    redactDynamicReplacement: y,
    redactFixedReplacement: E,
    redactMatchers: v,
    redactUrlPassword: b
  };
})), vf = /* @__PURE__ */ P(((e, t) => {
  var r = mf(), { redactUrlPassword: i } = Q1(), s = "***", h = (u) => typeof u != "string" || !u ? u : i(u, s).replace(r.NPM_SECRET.pattern, `npm_${s}`).replace(r.UUID.pattern, s), o = (u) => {
    const l = /[\s=]/g;
    let f = null, a = "", c = 0;
    for (; f = l.exec(u); )
      a += h(u.slice(c, f.index)) + f[0], c = l.lastIndex;
    return a + h(u.slice(c));
  }, n = (u) => typeof u == "string" ? o(u) : Array.isArray(u) ? u.map((l) => typeof l == "string" ? o(l) : l) : u;
  t.exports = {
    redact: h,
    redactLog: n
  };
})), ew = /* @__PURE__ */ P(((e, t) => {
  var r = Jh(), { Response: i } = Yi(), s = gf(), { log: h } = fl(), { redact: o } = vf(), n = "https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry", u = async ({ method: a, uri: c, res: d, startTime: p, auth: m, opts: g }) => (g = {
    ...s,
    ...g
  }, d.headers.has("npm-notice") && !d.headers.has("x-local-cache") && h.notice("", d.headers.get("npm-notice")), d.status >= 400 ? (l(a, d, p), m && m.scopeAuthKey && !m.token && !m.auth && h.warn("registry", `No auth for URI, but auth present for scoped registry.

URI: ${c}
Scoped Registry Key: ${m.scopeAuthKey}

More info here: ${n}`), f(a, d, p, g)) : (d.body.on("end", () => l(a, d, p, g)), g.ignoreBody ? (d.body.resume(), new i(null, d)) : d));
  t.exports = u;
  function l(a, c, d) {
    const p = Date.now() - d, m = c.headers.get("x-fetch-attempts"), g = m && m > 1 ? ` attempt #${m}` : "", v = c.headers.get("x-local-cache-status"), y = v ? ` (cache ${v})` : "", E = o(c.url);
    v === "hit" ? h.http("cache", `${E} ${p}ms${g}${y}`) : h.http("fetch", `${a.toUpperCase()} ${c.status} ${E} ${p}ms${g}${y}`);
  }
  function f(a, c, d, p) {
    return c.buffer().catch(() => null).then((m) => {
      let g = m;
      try {
        g = JSON.parse(m.toString("utf8"));
      } catch {
      }
      if (c.status === 401 && c.headers.get("www-authenticate")) {
        const v = c.headers.get("www-authenticate").split(/,\s*/).map((y) => y.toLowerCase());
        throw v.indexOf("ipaddress") !== -1 ? new r.HttpErrorAuthIPAddress(a, c, g, p.spec) : v.indexOf("otp") !== -1 ? new r.HttpErrorAuthOTP(a, c, g, p.spec) : new r.HttpErrorAuthUnknown(a, c, g, p.spec);
      } else throw c.status === 401 && m != null && /one-time pass/.test(m.toString("utf8")) ? new r.HttpErrorAuthOTP(a, c, g, p.spec) : new r.HttpErrorGeneral(a, c, g, p.spec);
    });
  }
})), tw = /* @__PURE__ */ yt({ default: () => yf }), yf, rw = Ft((() => {
  yf = [
    "_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"
  ];
})), iw = /* @__PURE__ */ P(((e, t) => {
  var r = (rw(), mt(tw).default), i = /* @__PURE__ */ new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"), s = ["node_modules", "favicon.ico"];
  function h(n) {
    var u = [], l = [];
    if (n === null)
      return l.push("name cannot be null"), o(u, l);
    if (n === void 0)
      return l.push("name cannot be undefined"), o(u, l);
    if (typeof n != "string")
      return l.push("name must be a string"), o(u, l);
    if (n.length || l.push("name length must be greater than zero"), n.startsWith(".") && l.push("name cannot start with a period"), n.startsWith("-") && l.push("name cannot start with a hyphen"), n.match(/^_/) && l.push("name cannot start with an underscore"), n.trim() !== n && l.push("name cannot contain leading or trailing spaces"), s.forEach(function(d) {
      n.toLowerCase() === d && l.push(d + " 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 f = n.match(i);
      if (f) {
        var a = f[1], c = f[2];
        if (c.startsWith(".") && l.push("name cannot start with a period"), encodeURIComponent(a) === a && encodeURIComponent(c) === c) return o(u, l);
      }
      l.push("name can only contain URL-friendly characters");
    }
    return o(u, l);
  }
  var o = function(n, u) {
    var l = {
      validForNewPackages: u.length === 0 && n.length === 0,
      validForOldPackages: u.length === 0,
      warnings: n,
      errors: u
    };
    return l.warnings.length || delete l.warnings, l.errors.length || delete l.errors, l;
  };
  t.exports = h;
})), _f = /* @__PURE__ */ P(((e, t) => {
  var r = process.platform === "win32", { URL: i } = ge("node:url"), s = r ? ge("node:path/win32") : ge("node:path"), { homedir: h } = ge("node:os"), o = fh(), n = el(), u = iw(), { log: l } = fl(), f = r ? /\\|[/]/ : /[/]/, a = /^(?:git[+])?[a-z]+:/i, c = /^[^@]+@[^:.]+\.[^:]+:.+$/i, d = /[.](?:tgz|tar\.gz|tar)$/i, p = /:[0-9]+(\/|$)/i, m = /^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/, g = /^(?:[.]|~[/]|[/]|[a-zA-Z]:)/, v = "https://registry.npmjs.org";
  function y(F, x) {
    let L, C;
    if (typeof F == "object") return F instanceof R && (!x || x === F.where) ? F : F.name && F.rawSpec ? y.resolve(F.name, F.rawSpec, x || F.where) : y(F.raw, x || F.where);
    const N = F.indexOf("@", 1), K = N > 0 ? F.slice(0, N) : F;
    return a.test(F) ? C = F : c.test(F) ? C = `git+ssh://${F}` : !K.startsWith("@") && (f.test(K) || d.test(K)) ? C = F : N > 0 ? (L = K, C = F.slice(N + 1) || "*") : u(F).validForOldPackages ? (L = F, C = "*") : C = F, w(L, C, x, F);
  }
  function E(F) {
    return F ? F.toLowerCase().startsWith("file:") ? !0 : r ? m.test(F) : g.test(F) : !1;
  }
  function b(F) {
    return F ? F.toLowerCase().startsWith("npm:") : !1;
  }
  function w(F, x, L, C) {
    const N = new R({
      raw: C,
      name: F,
      rawSpec: x,
      fromArgument: C != null
    });
    if (F && (N.name = F), L || (L = process.cwd()), E(x)) return Y(N, L);
    if (b(x)) return q(N, L);
    const K = o.fromUrl(x, {
      noGitPlus: !0,
      noCommittish: !0
    });
    return K ? H(N, K) : x && a.test(x) ? $(N) : x && (f.test(x) || d.test(x)) ? Y(N, L) : z(N);
  }
  function _(F, x = v) {
    const L = y(F);
    if (L.type !== "version") throw D(L.type, L.raw);
    let C = "pkg:npm/" + L.name.replace(/^@/, "%40") + "@" + L.rawSpec;
    return x !== v && (C += "?repository_url=" + x), C;
  }
  function S(F, x, L) {
    const C = /* @__PURE__ */ new Error(`Invalid package name "${F}" of package "${L}": ${x.errors.join("; ")}.`);
    return C.code = "EINVALIDPACKAGENAME", C;
  }
  function T(F, x) {
    const L = /* @__PURE__ */ new Error(`Invalid tag name "${F}" of package "${x}": Tags may not have any characters that encodeURIComponent encodes.`);
    return L.code = "EINVALIDTAGNAME", L;
  }
  function D(F, x) {
    const L = /* @__PURE__ */ new Error(`Invalid type "${F}" of package "${x}": Purl can only be generated for "version" types.`);
    return L.code = "EINVALIDPURLTYPE", L;
  }
  var R = class {
    constructor(F) {
      this.type = F.type, this.registry = F.registry, this.where = F.where, F.raw == null ? this.raw = F.name ? `${F.name}@${F.rawSpec}` : F.rawSpec : this.raw = F.raw, this.name = void 0, this.escapedName = void 0, this.scope = void 0, this.rawSpec = F.rawSpec || "", this.saveSpec = F.saveSpec, this.fetchSpec = F.fetchSpec, F.name && this.setName(F.name), this.gitRange = F.gitRange, this.gitCommittish = F.gitCommittish, this.gitSubdir = F.gitSubdir, this.hosted = F.hosted;
    }
    setName(F) {
      const x = u(F);
      if (!x.validForOldPackages) throw S(F, x, this.raw);
      return this.name = F, this.scope = F[0] === "@" ? F.slice(0, F.indexOf("/")) : void 0, this.escapedName = F.replace("/", "%2f"), this;
    }
    toString() {
      const F = [];
      this.name != null && this.name !== "" && F.push(this.name);
      const x = this.saveSpec || this.fetchSpec || this.rawSpec;
      return x != null && x !== "" && F.push(x), F.length ? F.join("@") : this.raw;
    }
    toJSON() {
      const F = Object.assign({}, this);
      return delete F.hosted, F;
    }
  };
  function j(F, x) {
    if (!x) {
      F.gitCommittish = null;
      return;
    }
    for (const L of x.split("::")) {
      if (!L.includes(":")) {
        if (F.gitRange) throw new Error("cannot override existing semver range with a committish");
        if (F.gitCommittish) throw new Error("cannot override existing committish with a second committish");
        F.gitCommittish = L;
        continue;
      }
      const [C, N] = L.split(":");
      if (C === "semver") {
        if (F.gitCommittish) throw new Error("cannot override existing committish with a semver range");
        if (F.gitRange) throw new Error("cannot override existing semver range with a second semver range");
        F.gitRange = decodeURIComponent(N);
        continue;
      }
      if (C === "path") {
        if (F.gitSubdir) throw new Error("cannot override existing path with a second path");
        F.gitSubdir = `/${N}`;
        continue;
      }
      l.warn("npm-package-arg", `ignoring unknown key "${C}"`);
    }
  }
  var M = /* @__PURE__ */ new Map([
    ["\0", "%00"],
    ["	", "%09"],
    [`
`, "%0A"],
    ["\r", "%0D"],
    [" ", "%20"],
    ['"', "%22"],
    ["#", "%23"],
    ["%", "%25"],
    ["?", "%3F"],
    ["[", "%5B"],
    ["\\", r ? "/" : "%5C"],
    ["]", "%5D"],
    ["^", "%5E"],
    ["|", "%7C"],
    ["~", "%7E"]
  ]);
  function G(F) {
    let x = "";
    for (let L = 0; L < F.length; L++) x = `${x}${M.get(F[L]) ?? F[L]}`;
    return x.startsWith("file:") ? x : `file:${x}`;
  }
  function Y(F, x) {
    F.type = d.test(F.rawSpec) ? "file" : "directory", F.where = x;
    let L = G(F.rawSpec);
    L.startsWith("file:/") && (/^file:\/\/[^/]/.test(L) && (L = `file:/${L.slice(5)}`), /^\/{1,3}\.\.?(\/|$)/.test(L.slice(5)) && (L = L.replace(/^file:\/{1,3}/, "file:")));
    let C, N;
    try {
      C = new i(L, `${G(s.resolve(x))}/`), N = new i(L);
    } catch (pe) {
      throw Object.assign(/* @__PURE__ */ new Error("Invalid file: URL, must comply with RFC 8089"), {
        raw: F.rawSpec,
        spec: F,
        where: x,
        originalError: pe
      });
    }
    let K = decodeURIComponent(N.pathname), oe = decodeURIComponent(C.pathname);
    return r && (K = K.replace(/^\/+([a-z]:\/)/i, "$1"), oe = oe.replace(/^\/+([a-z]:\/)/i, "$1")), /^\/~(\/|$)/.test(K) ? (F.saveSpec = `file:${K.substr(1)}`, oe = s.resolve(h(), K.substr(3))) : s.isAbsolute(L.slice(5)) ? F.saveSpec = `file:${s.resolve(oe)}` : F.saveSpec = `file:${s.relative(x, oe)}`, F.fetchSpec = s.resolve(x, oe), F.saveSpec = F.saveSpec.split("\\").join("/"), F.saveSpec.startsWith("file://") && (F.saveSpec = `file:/${F.saveSpec.slice(7)}`), F;
  }
  function H(F, x) {
    return F.type = "git", F.hosted = x, F.saveSpec = x.toString({
      noGitPlus: !1,
      noCommittish: !1
    }), F.fetchSpec = x.getDefaultRepresentation() === "shortcut" ? null : x.toString(), j(F, x.committish), F;
  }
  function I(F, x) {
    const L = /* @__PURE__ */ new Error(`Unsupported URL Type "${F}": ${x}`);
    return L.code = "EUNSUPPORTEDPROTOCOL", L;
  }
  function $(F) {
    let x = F.rawSpec;
    if (F.saveSpec = x, x.startsWith("git+ssh:")) {
      const C = x.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);
      if (C && !C[1].match(p))
        return F.type = "git", j(F, C[2]), F.fetchSpec = C[1], F;
    } else x.startsWith("git+file://") && (x = x.replace(/\\/g, "/"));
    const L = new i(x);
    switch (L.protocol) {
      case "git:":
      case "git+http:":
      case "git+https:":
      case "git+rsync:":
      case "git+ftp:":
      case "git+file:":
      case "git+ssh:":
        F.type = "git", j(F, L.hash.slice(1)), L.protocol === "git+file:" && /^git\+file:\/\/[a-z]:/i.test(x) ? F.fetchSpec = `git+file://${L.host.toLowerCase()}:${L.pathname}` : (L.hash = "", F.fetchSpec = L.toString()), F.fetchSpec.startsWith("git+") && (F.fetchSpec = F.fetchSpec.slice(4));
        break;
      case "http:":
      case "https:":
        F.type = "remote", F.fetchSpec = F.saveSpec;
        break;
      default:
        throw I(L.protocol, x);
    }
    return F;
  }
  function q(F, x) {
    const L = y(F.rawSpec.substr(4), x);
    if (L.type === "alias") throw new Error("nested aliases not supported");
    if (!L.registry) throw new Error("aliases only work for registry deps");
    if (!L.name) throw new Error("aliases must have a name");
    return F.subSpec = L, F.registry = !0, F.type = "alias", F.saveSpec = null, F.fetchSpec = null, F;
  }
  function z(F) {
    F.registry = !0;
    const x = F.rawSpec.trim();
    F.saveSpec = null, F.fetchSpec = x;
    const L = n.valid(x, !0), C = n.validRange(x, !0);
    if (L) F.type = "version";
    else if (C) F.type = "range";
    else {
      if (encodeURIComponent(x) !== x) throw T(x, F.raw);
      F.type = "tag";
    }
    return F;
  }
  t.exports = y, t.exports.resolve = w, t.exports.toPurl = _, t.exports.Result = R;
})), nw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("fs"), i = _f(), { URL: s } = ge("url"), h = (c, d) => {
    const p = new s(c);
    let m = `//${p.host}${p.pathname}`;
    for (; m.length > 2; ) {
      const g = o(m, d);
      if (g) return {
        regKey: m,
        authKey: g
      };
      m = m.replace(/([^/]+|\/)$/, "");
    }
    return {
      regKey: !1,
      authKey: null
    };
  }, o = (c, d) => d[`${c}:_authToken`] ? "_authToken" : d[`${c}:_auth`] ? "_auth" : d[`${c}:username`] && d[`${c}:_password`] ? "username" : d[`${c}:certfile`] && d[`${c}:keyfile`] ? "certfile" : !1, n = (c, d) => {
    const p = new s(c), m = new s(d);
    return p.host === m.host;
  }, u = (c) => {
    const { spec: d } = c, { scope: p, subSpec: m } = d ? i(d) : {}, g = m && m.scope, v = m ? g : p;
    return v && c[`${v}:registry`] || c.registry;
  }, l = (c) => {
    try {
      return r.readFileSync(c, "utf8");
    } catch (d) {
      if (d.code !== "ENOENT") throw d;
      return null;
    }
  }, f = (c, d = {}) => {
    const { forceAuth: p } = d;
    if (!c) throw new Error("URI is required");
    const { regKey: m, authKey: g } = h(c, p || d);
    if (p && !m) 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 (!m) {
      const S = u(d);
      if (S && c !== S && n(c, S)) return f(S, d);
      if (S !== d.registry) {
        const { regKey: T, authKey: D } = h(S, d);
        return new a({
          scopeAuthKey: T,
          regKey: T,
          authKey: D
        });
      }
    }
    const { [`${m}:_authToken`]: v, [`${m}:username`]: y, [`${m}:_password`]: E, [`${m}:_auth`]: b, [`${m}:certfile`]: w, [`${m}:keyfile`]: _ } = d;
    return new a({
      scopeAuthKey: null,
      regKey: m,
      authKey: g,
      token: v,
      auth: b,
      username: y,
      password: E,
      certfile: w,
      keyfile: _
    });
  }, a = class {
    constructor({ token: c, auth: d, username: p, password: m, scopeAuthKey: g, certfile: v, keyfile: y, regKey: E, authKey: b }) {
      if (this.scopeAuthKey = g, this.regKey = E, this.authKey = b, this.token = null, this.auth = null, this.isBasicAuth = !1, this.cert = null, this.key = null, c) this.token = c;
      else if (d) this.auth = d;
      else if (p && m) {
        const w = Buffer.from(m, "base64").toString("utf8");
        this.auth = Buffer.from(`${p}:${w}`, "utf8").toString("base64"), this.isBasicAuth = !0;
      }
      if (v && y) {
        const w = l(v, "utf-8"), _ = l(y, "utf-8");
        w && _ && (this.cert = w, this.key = _);
      }
    }
  };
  t.exports = f;
})), sw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("dns"), i = [
    "if-modified-since",
    "if-none-match",
    "if-unmodified-since",
    "if-match",
    "if-range"
  ], s = (h) => {
    const { strictSSL: o, ...n } = { ...h };
    if (n.method = n.method ? n.method.toUpperCase() : "GET", o == null ? n.rejectUnauthorized = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0" : n.rejectUnauthorized = o !== !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;
})), aw = /* @__PURE__ */ P(((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
  ]), h = {
    date: !0,
    connection: !0,
    "keep-alive": !0,
    "proxy-authenticate": !0,
    "proxy-authorization": !0,
    te: !0,
    trailer: !0,
    "transfer-encoding": !0,
    upgrade: !0
  }, o = {
    "content-length": !0,
    "content-encoding": !0,
    "transfer-encoding": !0,
    "content-range": !0
  };
  function n(a) {
    const c = parseInt(a, 10);
    return isFinite(c) ? c : 0;
  }
  function u(a) {
    return a ? s.has(a.status) : !0;
  }
  function l(a) {
    const c = {};
    if (!a) return c;
    const d = a.trim().split(/,/);
    for (const p of d) {
      const [m, g] = p.split(/=/, 2);
      c[m.trim()] = g === void 0 ? !0 : g.trim().replace(/^"|"$/g, "");
    }
    return c;
  }
  function f(a) {
    let c = [];
    for (const d in a) {
      const p = a[d];
      c.push(p === !0 ? d : d + "=" + p);
    }
    if (c.length)
      return c.join(", ");
  }
  t.exports = class {
    constructor(c, d, { shared: p, cacheHeuristic: m, immutableMinTimeToLive: g, ignoreCargoCult: v, _fromObject: y } = {}) {
      if (y) {
        this._fromObject(y);
        return;
      }
      if (!d || !d.headers) throw Error("Response headers missing");
      this._assertRequestHasHeaders(c), this._responseTime = this.now(), this._isShared = p !== !1, this._ignoreCargoCult = !!v, this._cacheHeuristic = m !== void 0 ? m : 0.1, this._immutableMinTtl = g !== void 0 ? g : 24 * 3600 * 1e3, this._status = "status" in d ? d.status : 200, this._resHeaders = d.headers, this._rescc = l(d.headers["cache-control"]), this._method = "method" in c ? c.method : "GET", this._url = c.url, this._host = c.headers.host, this._noAuthorization = !c.headers.authorization, this._reqHeaders = d.headers.vary ? c.headers : null, this._reqcc = l(c.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": f(this._rescc) }), delete this._resHeaders.expires, delete this._resHeaders.pragma), d.headers["cache-control"] == null && /no-cache/.test(d.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(c) {
      if (!c || !c.headers) throw Error("Request headers missing");
    }
    satisfiesWithoutRevalidation(c) {
      return !this.evaluateRequest(c).revalidation;
    }
    _evaluateRequestHitResult(c) {
      return {
        response: { headers: this.responseHeaders() },
        revalidation: c
      };
    }
    _evaluateRequestRevalidation(c, d) {
      return {
        synchronous: d,
        headers: this.revalidationHeaders(c)
      };
    }
    _evaluateRequestMissResult(c) {
      return {
        response: void 0,
        revalidation: this._evaluateRequestRevalidation(c, !0)
      };
    }
    evaluateRequest(c) {
      if (this._assertRequestHasHeaders(c), this._rescc["must-revalidate"]) return this._evaluateRequestMissResult(c);
      if (!this._requestMatches(c, !1)) return this._evaluateRequestMissResult(c);
      const d = l(c.headers["cache-control"]);
      return d["no-cache"] || /no-cache/.test(c.headers.pragma) ? this._evaluateRequestMissResult(c) : d["max-age"] && this.age() > n(d["max-age"]) ? this._evaluateRequestMissResult(c) : d["min-fresh"] && this.maxAge() - this.age() < n(d["min-fresh"]) ? this._evaluateRequestMissResult(c) : this.stale() ? "max-stale" in d && (d["max-stale"] === !0 || d["max-stale"] > this.age() - this.maxAge()) ? this._evaluateRequestHitResult(void 0) : this.useStaleWhileRevalidate() ? this._evaluateRequestHitResult(this._evaluateRequestRevalidation(c, !1)) : this._evaluateRequestMissResult(c) : this._evaluateRequestHitResult(void 0);
    }
    _requestMatches(c, d) {
      return !!((!this._url || this._url === c.url) && this._host === c.headers.host && (!c.method || this._method === c.method || d && c.method === "HEAD") && this._varyMatches(c));
    }
    _allowsStoringAuthenticated() {
      return !!(this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"]);
    }
    _varyMatches(c) {
      if (!this._resHeaders.vary) return !0;
      if (this._resHeaders.vary === "*") return !1;
      const d = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
      for (const p of d) if (c.headers[p] !== this._reqHeaders[p]) return !1;
      return !0;
    }
    _copyWithoutHopByHopHeaders(c) {
      const d = {};
      for (const p in c)
        h[p] || (d[p] = c[p]);
      if (c.connection) {
        const p = c.connection.trim().split(/\s*,\s*/);
        for (const m of p) delete d[m];
      }
      if (d.warning) {
        const p = d.warning.split(/,/).filter((m) => !/^\s*1[0-9][0-9]/.test(m));
        p.length ? d.warning = p.join(",").trim() : delete d.warning;
      }
      return d;
    }
    responseHeaders() {
      const c = this._copyWithoutHopByHopHeaders(this._resHeaders), d = this.age();
      return d > 3600 * 24 && !this._hasExplicitExpiration() && this.maxAge() > 3600 * 24 && (c.warning = (c.warning ? `${c.warning}, ` : "") + '113 - "rfc7234 5.5.4"'), c.age = `${Math.round(d)}`, c.date = new Date(this.now()).toUTCString(), c;
    }
    date() {
      const c = Date.parse(this._resHeaders.date);
      return isFinite(c) ? c : 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 c = this._rescc.immutable ? this._immutableMinTtl : 0, d = this.date();
      if (this._resHeaders.expires) {
        const p = Date.parse(this._resHeaders.expires);
        return Number.isNaN(p) || p < d ? 0 : Math.max(c, (p - d) / 1e3);
      }
      if (this._resHeaders["last-modified"]) {
        const p = Date.parse(this._resHeaders["last-modified"]);
        if (isFinite(p) && d > p) return Math.max(c, (d - p) / 1e3 * this._cacheHeuristic);
      }
      return c;
    }
    timeToLive() {
      const c = this.maxAge() - this.age(), d = c + n(this._rescc["stale-if-error"]), p = c + n(this._rescc["stale-while-revalidate"]);
      return Math.round(Math.max(0, c, d, p) * 1e3);
    }
    stale() {
      return this.maxAge() <= this.age();
    }
    _useStaleIfError() {
      return this.maxAge() + n(this._rescc["stale-if-error"]) > this.age();
    }
    useStaleWhileRevalidate() {
      const c = n(this._rescc["stale-while-revalidate"]);
      return c > 0 && this.maxAge() + c > this.age();
    }
    static fromObject(c) {
      return new this(void 0, void 0, { _fromObject: c });
    }
    _fromObject(c) {
      if (this._responseTime) throw Error("Reinitialized");
      if (!c || c.v !== 1) throw Error("Invalid serialization");
      this._responseTime = c.t, this._isShared = c.sh, this._cacheHeuristic = c.ch, this._immutableMinTtl = c.imm !== void 0 ? c.imm : 24 * 3600 * 1e3, this._ignoreCargoCult = !!c.icc, this._status = c.st, this._resHeaders = c.resh, this._rescc = c.rescc, this._method = c.m, this._url = c.u, this._host = c.h, this._noAuthorization = c.a, this._reqHeaders = c.reqh, this._reqcc = c.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(c) {
      this._assertRequestHasHeaders(c);
      const d = this._copyWithoutHopByHopHeaders(c.headers);
      if (delete d["if-range"], !this._requestMatches(c, !0) || !this.storable())
        return delete d["if-none-match"], delete d["if-modified-since"], d;
      if (this._resHeaders.etag && (d["if-none-match"] = d["if-none-match"] ? `${d["if-none-match"]}, ${this._resHeaders.etag}` : this._resHeaders.etag), d["accept-ranges"] || d["if-match"] || d["if-unmodified-since"] || this._method && this._method != "GET") {
        if (delete d["if-modified-since"], d["if-none-match"]) {
          const p = d["if-none-match"].split(/,/).filter((m) => !/^\s*W\//.test(m));
          p.length ? d["if-none-match"] = p.join(",").trim() : delete d["if-none-match"];
        }
      } else this._resHeaders["last-modified"] && !d["if-modified-since"] && (d["if-modified-since"] = this._resHeaders["last-modified"]);
      return d;
    }
    revalidatedPolicy(c, d) {
      if (this._assertRequestHasHeaders(c), this._useStaleIfError() && u(d)) return {
        policy: this,
        modified: !1,
        matches: !0
      };
      if (!d || !d.headers) throw Error("Response headers missing");
      let p = !1;
      d.status !== void 0 && d.status != 304 ? p = !1 : d.headers.etag && !/^\s*W\//.test(d.headers.etag) ? p = this._resHeaders.etag && this._resHeaders.etag.replace(/^\s*W\//, "") === d.headers.etag : this._resHeaders.etag && d.headers.etag ? p = this._resHeaders.etag.replace(/^\s*W\//, "") === d.headers.etag.replace(/^\s*W\//, "") : this._resHeaders["last-modified"] ? p = this._resHeaders["last-modified"] === d.headers["last-modified"] : !this._resHeaders.etag && !this._resHeaders["last-modified"] && !d.headers.etag && !d.headers["last-modified"] && (p = !0);
      const m = {
        shared: this._isShared,
        cacheHeuristic: this._cacheHeuristic,
        immutableMinTimeToLive: this._immutableMinTtl,
        ignoreCargoCult: this._ignoreCargoCult
      };
      if (!p) return {
        policy: new this.constructor(c, d, m),
        modified: d.status != 304,
        matches: !1
      };
      const g = {};
      for (const y in this._resHeaders) g[y] = y in d.headers && !o[y] ? d.headers[y] : this._resHeaders[y];
      const v = Object.assign({}, d, {
        status: this._status,
        method: this._method,
        headers: g
      });
      return {
        policy: new this.constructor(c, v, m),
        modified: !1,
        matches: !0
      };
    }
  };
})), ow = /* @__PURE__ */ P(((e, t) => {
  t.exports = n, t.exports.preferredCharsets = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(a) {
    for (var c = a.split(","), d = 0, p = 0; d < c.length; d++) {
      var m = s(c[d].trim(), d);
      m && (c[p++] = m);
    }
    return c.length = p, c;
  }
  function s(a, c) {
    var d = r.exec(a);
    if (!d) return null;
    var p = d[1], m = 1;
    if (d[2])
      for (var g = d[2].split(";"), v = 0; v < g.length; v++) {
        var y = g[v].trim().split("=");
        if (y[0] === "q") {
          m = parseFloat(y[1]);
          break;
        }
      }
    return {
      charset: p,
      q: m,
      i: c
    };
  }
  function h(a, c, d) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = o(a, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function o(a, c, d) {
    var p = 0;
    if (c.charset.toLowerCase() === a.toLowerCase()) p |= 1;
    else if (c.charset !== "*") return null;
    return {
      i: d,
      o: c.i,
      q: c.q,
      s: p
    };
  }
  function n(a, c) {
    var d = i(a === void 0 ? "*" : a || "");
    if (!c) return d.filter(f).sort(u).map(l);
    var p = c.map(function(g, v) {
      return h(g, d, v);
    });
    return p.filter(f).sort(u).map(function(g) {
      return c[p.indexOf(g)];
    });
  }
  function u(a, c) {
    return c.q - a.q || c.s - a.s || a.o - c.o || a.i - c.i || 0;
  }
  function l(a) {
    return a.charset;
  }
  function f(a) {
    return a.q > 0;
  }
})), lw = /* @__PURE__ */ P(((e, t) => {
  t.exports = n, t.exports.preferredEncodings = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(a) {
    for (var c = a.split(","), d = !1, p = 1, m = 0, g = 0; m < c.length; m++) {
      var v = s(c[m].trim(), m);
      v && (c[g++] = v, d = d || o("identity", v), p = Math.min(p, v.q || 1));
    }
    return d || (c[g++] = {
      encoding: "identity",
      q: p,
      i: m
    }), c.length = g, c;
  }
  function s(a, c) {
    var d = r.exec(a);
    if (!d) return null;
    var p = d[1], m = 1;
    if (d[2])
      for (var g = d[2].split(";"), v = 0; v < g.length; v++) {
        var y = g[v].trim().split("=");
        if (y[0] === "q") {
          m = parseFloat(y[1]);
          break;
        }
      }
    return {
      encoding: p,
      q: m,
      i: c
    };
  }
  function h(a, c, d) {
    for (var p = {
      encoding: a,
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = o(a, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function o(a, c, d) {
    var p = 0;
    if (c.encoding.toLowerCase() === a.toLowerCase()) p |= 1;
    else if (c.encoding !== "*") return null;
    return {
      encoding: a,
      i: d,
      o: c.i,
      q: c.q,
      s: p
    };
  }
  function n(a, c, d) {
    var p = i(a || ""), m = d ? function(y, E) {
      if (y.q !== E.q) return E.q - y.q;
      var b = d.indexOf(y.encoding), w = d.indexOf(E.encoding);
      return b === -1 && w === -1 ? E.s - y.s || y.o - E.o || y.i - E.i : b !== -1 && w !== -1 ? b - w : b === -1 ? 1 : -1;
    } : u;
    if (!c) return p.filter(f).sort(m).map(l);
    var g = c.map(function(y, E) {
      return h(y, p, E);
    });
    return g.filter(f).sort(m).map(function(y) {
      return c[g.indexOf(y)];
    });
  }
  function u(a, c) {
    return c.q - a.q || c.s - a.s || a.o - c.o || a.i - c.i;
  }
  function l(a) {
    return a.encoding;
  }
  function f(a) {
    return a.q > 0;
  }
})), cw = /* @__PURE__ */ P(((e, t) => {
  t.exports = n, t.exports.preferredLanguages = n;
  var r = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;
  function i(a) {
    for (var c = a.split(","), d = 0, p = 0; d < c.length; d++) {
      var m = s(c[d].trim(), d);
      m && (c[p++] = m);
    }
    return c.length = p, c;
  }
  function s(a, c) {
    var d = r.exec(a);
    if (!d) return null;
    var p = d[1], m = d[2], g = p;
    m && (g += "-" + m);
    var v = 1;
    if (d[3])
      for (var y = d[3].split(";"), E = 0; E < y.length; E++) {
        var b = y[E].split("=");
        b[0] === "q" && (v = parseFloat(b[1]));
      }
    return {
      prefix: p,
      suffix: m,
      q: v,
      i: c,
      full: g
    };
  }
  function h(a, c, d) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = o(a, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function o(a, c, d) {
    var p = s(a);
    if (!p) return null;
    var m = 0;
    if (c.full.toLowerCase() === p.full.toLowerCase()) m |= 4;
    else if (c.prefix.toLowerCase() === p.full.toLowerCase()) m |= 2;
    else if (c.full.toLowerCase() === p.prefix.toLowerCase()) m |= 1;
    else if (c.full !== "*") return null;
    return {
      i: d,
      o: c.i,
      q: c.q,
      s: m
    };
  }
  function n(a, c) {
    var d = i(a === void 0 ? "*" : a || "");
    if (!c) return d.filter(f).sort(u).map(l);
    var p = c.map(function(g, v) {
      return h(g, d, v);
    });
    return p.filter(f).sort(u).map(function(g) {
      return c[p.indexOf(g)];
    });
  }
  function u(a, c) {
    return c.q - a.q || c.s - a.s || a.o - c.o || a.i - c.i || 0;
  }
  function l(a) {
    return a.full;
  }
  function f(a) {
    return a.q > 0;
  }
})), uw = /* @__PURE__ */ P(((e, t) => {
  t.exports = n, t.exports.preferredMediaTypes = n;
  var r = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;
  function i(m) {
    for (var g = d(m), v = 0, y = 0; v < g.length; v++) {
      var E = s(g[v].trim(), v);
      E && (g[y++] = E);
    }
    return g.length = y, g;
  }
  function s(m, g) {
    var v = r.exec(m);
    if (!v) return null;
    var y = /* @__PURE__ */ Object.create(null), E = 1, b = v[2], w = v[1];
    if (v[3])
      for (var _ = p(v[3]).map(c), S = 0; S < _.length; S++) {
        var T = _[S], D = T[0].toLowerCase(), R = T[1], j = R && R[0] === '"' && R[R.length - 1] === '"' ? R.slice(1, -1) : R;
        if (D === "q") {
          E = parseFloat(j);
          break;
        }
        y[D] = j;
      }
    return {
      type: w,
      subtype: b,
      params: y,
      q: E,
      i: g
    };
  }
  function h(m, g, v) {
    for (var y = {
      o: -1,
      q: 0,
      s: 0
    }, E = 0; E < g.length; E++) {
      var b = o(m, g[E], v);
      b && (y.s - b.s || y.q - b.q || y.o - b.o) < 0 && (y = b);
    }
    return y;
  }
  function o(m, g, v) {
    var y = s(m), E = 0;
    if (!y) return null;
    if (g.type.toLowerCase() == y.type.toLowerCase()) E |= 4;
    else if (g.type != "*") return null;
    if (g.subtype.toLowerCase() == y.subtype.toLowerCase()) E |= 2;
    else if (g.subtype != "*") return null;
    var b = Object.keys(g.params);
    if (b.length > 0) if (b.every(function(w) {
      return g.params[w] == "*" || (g.params[w] || "").toLowerCase() == (y.params[w] || "").toLowerCase();
    })) E |= 1;
    else return null;
    return {
      i: v,
      o: g.i,
      q: g.q,
      s: E
    };
  }
  function n(m, g) {
    var v = i(m === void 0 ? "*/*" : m || "");
    if (!g) return v.filter(f).sort(u).map(l);
    var y = g.map(function(b, w) {
      return h(b, v, w);
    });
    return y.filter(f).sort(u).map(function(b) {
      return g[y.indexOf(b)];
    });
  }
  function u(m, g) {
    return g.q - m.q || g.s - m.s || m.o - g.o || m.i - g.i || 0;
  }
  function l(m) {
    return m.type + "/" + m.subtype;
  }
  function f(m) {
    return m.q > 0;
  }
  function a(m) {
    for (var g = 0, v = 0; (v = m.indexOf('"', v)) !== -1; )
      g++, v++;
    return g;
  }
  function c(m) {
    var g = m.indexOf("="), v, y;
    return g === -1 ? v = m : (v = m.slice(0, g), y = m.slice(g + 1)), [v, y];
  }
  function d(m) {
    for (var g = m.split(","), v = 1, y = 0; v < g.length; v++) a(g[y]) % 2 == 0 ? g[++y] = g[v] : g[y] += "," + g[v];
    return g.length = y + 1, g;
  }
  function p(m) {
    for (var g = m.split(";"), v = 1, y = 0; v < g.length; v++) a(g[y]) % 2 == 0 ? g[++y] = g[v] : g[y] += ";" + g[v];
    g.length = y + 1;
    for (var v = 0; v < g.length; v++) g[v] = g[v].trim();
    return g;
  }
})), hw = /* @__PURE__ */ P(((e, t) => {
  var r = ow(), i = lw(), s = cw(), h = uw();
  t.exports = o, t.exports.Negotiator = o;
  function o(n) {
    if (!(this instanceof o)) return new o(n);
    this.request = n;
  }
  o.prototype.charset = function(u) {
    var l = this.charsets(u);
    return l && l[0];
  }, o.prototype.charsets = function(u) {
    return r(this.request.headers["accept-charset"], u);
  }, o.prototype.encoding = function(u, l) {
    var f = this.encodings(u, l);
    return f && f[0];
  }, o.prototype.encodings = function(u, l) {
    var f = l || {};
    return i(this.request.headers["accept-encoding"], u, f.preferred);
  }, o.prototype.language = function(u) {
    var l = this.languages(u);
    return l && l[0];
  }, o.prototype.languages = function(u) {
    return s(this.request.headers["accept-language"], u);
  }, o.prototype.mediaType = function(u) {
    var l = this.mediaTypes(u);
    return l && l[0];
  }, o.prototype.mediaTypes = function(u) {
    return h(this.request.headers.accept, u);
  }, o.prototype.preferredCharset = o.prototype.charset, o.prototype.preferredCharsets = o.prototype.charsets, o.prototype.preferredEncoding = o.prototype.encoding, o.prototype.preferredEncodings = o.prototype.encodings, o.prototype.preferredLanguage = o.prototype.language, o.prototype.preferredLanguages = o.prototype.languages, o.prototype.preferredMediaType = o.prototype.mediaType, o.prototype.preferredMediaTypes = o.prototype.mediaTypes;
})), Rr = /* @__PURE__ */ P(((e, t) => {
  var r = ge("crypto"), { Minipass: i } = At(), s = [
    "sha512",
    "sha384",
    "sha256"
  ], h = ["sha512"], o = r.getHashes(), n = /^[a-z0-9+/]+(?:=?=?)$/i, u = /^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/, l = /^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/, f = /^[\x21-\x7E]+$/, a = [
    "md5",
    "whirlpool",
    "sha1",
    "sha224",
    "sha256",
    "sha384",
    "sha512",
    "sha3",
    "sha3-256",
    "sha3-384",
    "sha3-512",
    "sha3_256",
    "sha3_384",
    "sha3_512"
  ].filter((M) => o.includes(M)), c = (M) => M?.length ? `?${M.join("?")}` : "", d = class extends i {
    #e;
    #t;
    #r;
    constructor(M) {
      super(), this.size = 0, this.opts = M, this.#n(), M?.algorithms ? this.algorithms = [...M.algorithms] : this.algorithms = [...h], 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 = c(this.opts?.options);
    }
    on(M, G) {
      return M === "size" && this.#t ? G(this.#t) : M === "integrity" && this.#e ? G(this.#e) : M === "verified" && this.#r ? G(this.#r) : super.on(M, G);
    }
    emit(M, G) {
      return M === "end" && this.#s(), super.emit(M, G);
    }
    write(M) {
      return this.size += M.length, this.hashes.forEach((G) => G.update(M)), super.write(M);
    }
    #s() {
      this.goodSri || this.#n();
      const M = v(this.hashes.map((Y, H) => `${this.algorithms[H]}-${Y.digest("base64")}${this.optString}`).join(" "), this.opts), G = this.goodSri && M.match(this.sri, this.opts);
      if (typeof this.expectedSize == "number" && this.size !== this.expectedSize) {
        const Y = /* @__PURE__ */ new Error(`stream size mismatch when checking ${this.sri}.
  Wanted: ${this.expectedSize}
  Found: ${this.size}`);
        Y.code = "EBADSIZE", Y.found = this.size, Y.expected = this.expectedSize, Y.sri = this.sri, this.emit("error", Y);
      } else if (this.sri && !G) {
        const Y = /* @__PURE__ */ new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${M}. (${this.size} bytes)`);
        Y.code = "EINTEGRITY", Y.found = M, Y.expected = this.digests, Y.algorithm = this.algorithm, Y.sri = this.sri, this.emit("error", Y);
      } else
        this.#t = this.size, this.emit("size", this.size), this.#e = M, this.emit("integrity", M), G && (this.#r = G, this.emit("verified", G));
    }
  }, p = class {
    get isHash() {
      return !0;
    }
    constructor(M, G) {
      const Y = G?.strict;
      this.source = M.trim(), this.digest = "", this.algorithm = "", this.options = [];
      const H = this.source.match(Y ? l : u);
      if (!H || Y && !s.includes(H[1]) || !o.includes(H[1])) return;
      this.algorithm = H[1], this.digest = H[2];
      const I = H[3];
      I && (this.options = I.slice(1).split("?"));
    }
    hexDigest() {
      return this.digest && Buffer.from(this.digest, "base64").toString("hex");
    }
    toJSON() {
      return this.toString();
    }
    match(M, G) {
      const Y = v(M, G);
      if (!Y) return !1;
      if (Y.isIntegrity) {
        const H = Y.pickAlgorithm(G, [this.algorithm]);
        if (!H) return !1;
        const I = Y[H].find(($) => $.digest === this.digest);
        return I || !1;
      }
      return Y.digest === this.digest ? Y : !1;
    }
    toString(M) {
      return M?.strict && !(s.includes(this.algorithm) && this.digest.match(n) && this.options.every((G) => G.match(f))) ? "" : `${this.algorithm}-${this.digest}${c(this.options)}`;
    }
  };
  function m(M, G, Y, H) {
    const I = M !== "";
    let $ = !1, q = "";
    const z = H.length - 1;
    for (let x = 0; x < z; x++) {
      const L = p.prototype.toString.call(H[x], Y);
      L && ($ = !0, q += L, q += G);
    }
    const F = p.prototype.toString.call(H[z], Y);
    return F && ($ = !0, q += F), I && $ ? M + G + q : M + q;
  }
  var g = class {
    get isIntegrity() {
      return !0;
    }
    toJSON() {
      return this.toString();
    }
    isEmpty() {
      return Object.keys(this).length === 0;
    }
    toString(M) {
      let G = M?.sep || " ", Y = "";
      if (M?.strict) {
        G = G.replace(/\S+/g, " ");
        for (const H of s) this[H] && (Y = m(Y, G, M, this[H]));
      } else for (const H of Object.keys(this)) Y = m(Y, G, M, this[H]);
      return Y;
    }
    concat(M, G) {
      const Y = typeof M == "string" ? M : E(M, G);
      return v(`${this.toString(G)} ${Y}`, G);
    }
    hexDigest() {
      return v(this, { single: !0 }).hexDigest();
    }
    merge(M, G) {
      const Y = v(M, G);
      for (const H in Y) if (this[H]) {
        if (!this[H].find((I) => Y[H].find(($) => I.digest === $.digest))) throw new Error("hashes do not match, cannot update integrity");
      } else this[H] = Y[H];
    }
    match(M, G) {
      const Y = v(M, G);
      if (!Y) return !1;
      const H = Y.pickAlgorithm(G, Object.keys(this));
      return !!H && this[H].find((I) => Y[H].find(($) => I.digest === $.digest)) || !1;
    }
    pickAlgorithm(M, G) {
      const Y = M?.pickAlgorithm || j;
      let H = Object.keys(this);
      return G?.length && (H = H.filter((I) => G.includes(I))), H.length ? H.reduce((I, $) => Y(I, $) || I) : null;
    }
  };
  t.exports.parse = v;
  function v(M, G) {
    if (!M) return null;
    if (typeof M == "string") return y(M, G);
    if (M.algorithm && M.digest) {
      const Y = new g();
      return Y[M.algorithm] = [M], y(E(Y, G), G);
    } else return y(E(M, G), G);
  }
  function y(M, G) {
    if (G?.single) return new p(M, G);
    const Y = M.trim().split(/\s+/).reduce((H, I) => {
      const $ = new p(I, G);
      if ($.algorithm && $.digest) {
        const q = $.algorithm;
        Object.keys(H).includes(q) || (H[q] = []), H[q].push($);
      }
      return H;
    }, new g());
    return Y.isEmpty() ? null : Y;
  }
  t.exports.stringify = E;
  function E(M, G) {
    return M.algorithm && M.digest ? p.prototype.toString.call(M, G) : typeof M == "string" ? E(v(M, G), G) : g.prototype.toString.call(M, G);
  }
  t.exports.fromHex = b;
  function b(M, G, Y) {
    const H = c(Y?.options);
    return v(`${G}-${Buffer.from(M, "hex").toString("base64")}${H}`, Y);
  }
  t.exports.fromData = w;
  function w(M, G) {
    const Y = G?.algorithms || [...h], H = c(G?.options);
    return Y.reduce((I, $) => {
      const q = new p(`${$}-${r.createHash($).update(M).digest("base64")}${H}`, G);
      if (q.algorithm && q.digest) {
        const z = q.algorithm;
        I[z] || (I[z] = []), I[z].push(q);
      }
      return I;
    }, new g());
  }
  t.exports.fromStream = _;
  function _(M, G) {
    const Y = D(G);
    return new Promise((H, I) => {
      M.pipe(Y), M.on("error", I), Y.on("error", I);
      let $;
      Y.on("integrity", (q) => {
        $ = q;
      }), Y.on("end", () => H($)), Y.resume();
    });
  }
  t.exports.checkData = S;
  function S(M, G, Y) {
    if (G = v(G, Y), !G || !Object.keys(G).length) {
      if (Y?.error) throw Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" });
      return !1;
    }
    const H = G.pickAlgorithm(Y), I = v({
      algorithm: H,
      digest: r.createHash(H).update(M).digest("base64")
    }), $ = I.match(G, Y);
    if (Y = Y || {}, $ || !Y.error) return $;
    if (typeof Y.size == "number" && M.length !== Y.size) {
      const q = /* @__PURE__ */ new Error(`data size mismatch when checking ${G}.
  Wanted: ${Y.size}
  Found: ${M.length}`);
      throw q.code = "EBADSIZE", q.found = M.length, q.expected = Y.size, q.sri = G, q;
    } else {
      const q = /* @__PURE__ */ new Error(`Integrity checksum failed when using ${H}: Wanted ${G}, but got ${I}. (${M.length} bytes)`);
      throw q.code = "EINTEGRITY", q.found = I, q.expected = G, q.algorithm = H, q.sri = G, q;
    }
  }
  t.exports.checkStream = T;
  function T(M, G, Y) {
    if (Y = Y || /* @__PURE__ */ Object.create(null), Y.integrity = G, G = v(G, Y), !G || !Object.keys(G).length) return Promise.reject(Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" }));
    const H = D(Y);
    return new Promise((I, $) => {
      M.pipe(H), M.on("error", $), H.on("error", $);
      let q;
      H.on("verified", (z) => {
        q = z;
      }), H.on("end", () => I(q)), H.resume();
    });
  }
  t.exports.integrityStream = D;
  function D(M = /* @__PURE__ */ Object.create(null)) {
    return new d(M);
  }
  t.exports.create = R;
  function R(M) {
    const G = M?.algorithms || [...h], Y = c(M?.options), H = G.map(r.createHash);
    return {
      update: function(I, $) {
        return H.forEach((q) => q.update(I, $)), this;
      },
      digest: function() {
        return G.reduce((I, $) => {
          const q = new p(`${$}-${H.shift().digest("base64")}${Y}`, M);
          return I[q.algorithm] || (I[q.algorithm] = []), I[q.algorithm].push(q), I;
        }, new g());
      }
    };
  }
  function j(M, G) {
    return a.indexOf(M.toLowerCase()) >= a.indexOf(G.toLowerCase()) ? M : G;
  }
})), bf = /* @__PURE__ */ P(((e, t) => {
  var r = aw(), i = hw(), s = Rr(), h = {
    shared: !1,
    ignoreCargoCult: !0
  }, o = {
    status: 200,
    headers: {}
  }, n = (f) => {
    const a = {
      method: f.method,
      url: f.url,
      headers: {},
      compress: f.compress
    };
    return f.headers.forEach((c, d) => {
      a.headers[d] = c;
    }), a;
  }, u = (f) => {
    const a = {
      status: f.status,
      headers: {}
    };
    return f.headers.forEach((c, d) => {
      a.headers[d] = c;
    }), a;
  }, l = class {
    constructor({ entry: f, request: a, response: c, options: d }) {
      this.entry = f, this.request = n(a), this.response = u(c), this.options = d, this.policy = new r(this.request, this.response, h), this.entry && (this.policy._responseTime = this.entry.metadata.time);
    }
    static storable(f, a) {
      return !a.cachePath || a.cache === "no-store" || !["GET", "HEAD"].includes(f.method) ? !1 : new r(n(f), o, h).storable();
    }
    satisfies(f) {
      const a = n(f);
      if (this.request.headers.host !== a.headers.host || this.request.compress !== a.compress) return !1;
      const c = new i(this.request), d = new i(a);
      return JSON.stringify(c.mediaTypes()) !== JSON.stringify(d.mediaTypes()) || JSON.stringify(c.languages()) !== JSON.stringify(d.languages()) || JSON.stringify(c.encodings()) !== JSON.stringify(d.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(f) {
      const a = n(f);
      return a.method = "GET", !this.policy.satisfiesWithoutRevalidation(a);
    }
    responseHeaders() {
      return this.policy.responseHeaders();
    }
    revalidationHeaders(f) {
      const a = n(f);
      return this.policy.revalidationHeaders(a);
    }
    revalidated(f, a) {
      const c = n(f), d = u(a);
      return !this.policy.revalidatedPolicy(c, d).modified;
    }
  };
  t.exports = l;
})), fw = /* @__PURE__ */ P(((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 };
})), dw = /* @__PURE__ */ P(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = ge("events"), s = ge("stream"), h = ge("string_decoder").StringDecoder, o = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), u = /* @__PURE__ */ Symbol("emittedEnd"), l = /* @__PURE__ */ Symbol("emittingEnd"), f = /* @__PURE__ */ Symbol("emittedError"), a = /* @__PURE__ */ Symbol("closed"), c = /* @__PURE__ */ Symbol("read"), d = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), m = /* @__PURE__ */ Symbol("encoding"), g = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), y = /* @__PURE__ */ Symbol("paused"), E = /* @__PURE__ */ Symbol("resume"), b = /* @__PURE__ */ Symbol("bufferLength"), w = /* @__PURE__ */ Symbol("bufferPush"), _ = /* @__PURE__ */ Symbol("bufferShift"), S = /* @__PURE__ */ Symbol("objectMode"), T = /* @__PURE__ */ Symbol("destroyed"), D = /* @__PURE__ */ Symbol("emitData"), R = /* @__PURE__ */ Symbol("emitEnd"), j = /* @__PURE__ */ Symbol("emitEnd2"), M = /* @__PURE__ */ Symbol("async"), G = (L) => Promise.resolve().then(L), Y = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", H = Y && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), I = Y && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), $ = (L) => L === "end" || L === "finish" || L === "prefinish", q = (L) => L instanceof ArrayBuffer || typeof L == "object" && L.constructor && L.constructor.name === "ArrayBuffer" && L.byteLength >= 0, z = (L) => !Buffer.isBuffer(L) && ArrayBuffer.isView(L), F = class {
    constructor(L, C, N) {
      this.src = L, this.dest = C, this.opts = N, this.ondrain = () => L[E](), C.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();
    }
  }, x = class extends F {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(L, C, N) {
      super(L, C, N), this.proxyErrors = (K) => C.emit("error", K), L.on("error", this.proxyErrors);
    }
  };
  t.exports = class wf extends s {
    constructor(C) {
      super(), this[v] = !1, this[y] = !1, this.pipes = [], this.buffer = [], this[S] = C && C.objectMode || !1, this[S] ? this[m] = null : this[m] = C && C.encoding || null, this[m] === "buffer" && (this[m] = null), this[M] = C && !!C.async || !1, this[g] = this[m] ? new h(this[m]) : null, this[o] = !1, this[u] = !1, this[l] = !1, this[a] = !1, this[f] = null, this.writable = !0, this.readable = !0, this[b] = 0, this[T] = !1;
    }
    get bufferLength() {
      return this[b];
    }
    get encoding() {
      return this[m];
    }
    set encoding(C) {
      if (this[S]) throw new Error("cannot set encoding in objectMode");
      if (this[m] && C !== this[m] && (this[g] && this[g].lastNeed || this[b])) throw new Error("cannot change encoding");
      this[m] !== C && (this[g] = C ? new h(C) : null, this.buffer.length && (this.buffer = this.buffer.map((N) => this[g].write(N)))), this[m] = C;
    }
    setEncoding(C) {
      this.encoding = C;
    }
    get objectMode() {
      return this[S];
    }
    set objectMode(C) {
      this[S] = this[S] || !!C;
    }
    get async() {
      return this[M];
    }
    set async(C) {
      this[M] = this[M] || !!C;
    }
    write(C, N, K) {
      if (this[o]) throw new Error("write after end");
      if (this[T])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof N == "function" && (K = N, N = "utf8"), N || (N = "utf8");
      const oe = this[M] ? G : (pe) => pe();
      return !this[S] && !Buffer.isBuffer(C) && (z(C) ? C = Buffer.from(C.buffer, C.byteOffset, C.byteLength) : q(C) ? C = Buffer.from(C) : typeof C != "string" && (this.objectMode = !0)), this[S] ? (this.flowing && this[b] !== 0 && this[d](!0), this.flowing ? this.emit("data", C) : this[w](C), this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : C.length ? (typeof C == "string" && !(N === this[m] && !this[g].lastNeed) && (C = Buffer.from(C, N)), Buffer.isBuffer(C) && this[m] && (C = this[g].write(C)), this.flowing && this[b] !== 0 && this[d](!0), this.flowing ? this.emit("data", C) : this[w](C), this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : (this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing);
    }
    read(C) {
      if (this[T]) return null;
      if (this[b] === 0 || C === 0 || C > this[b])
        return this[n](), null;
      this[S] && (C = null), this.buffer.length > 1 && !this[S] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[b])]);
      const N = this[c](C || null, this.buffer[0]);
      return this[n](), N;
    }
    [c](C, N) {
      return C === N.length || C === null ? this[_]() : (this.buffer[0] = N.slice(C), N = N.slice(0, C), this[b] -= C), this.emit("data", N), !this.buffer.length && !this[o] && this.emit("drain"), N;
    }
    end(C, N, K) {
      return typeof C == "function" && (K = C, C = null), typeof N == "function" && (K = N, N = "utf8"), C && this.write(C, N), K && this.once("end", K), this[o] = !0, this.writable = !1, (this.flowing || !this[y]) && this[n](), this;
    }
    [E]() {
      this[T] || (this[y] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[d]() : this[o] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[E]();
    }
    pause() {
      this[v] = !1, this[y] = !0;
    }
    get destroyed() {
      return this[T];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[y];
    }
    [w](C) {
      this[S] ? this[b] += 1 : this[b] += C.length, this.buffer.push(C);
    }
    [_]() {
      return this.buffer.length && (this[S] ? this[b] -= 1 : this[b] -= this.buffer[0].length), this.buffer.shift();
    }
    [d](C) {
      do
        ;
      while (this[p](this[_]()));
      !C && !this.buffer.length && !this[o] && this.emit("drain");
    }
    [p](C) {
      return C ? (this.emit("data", C), this.flowing) : !1;
    }
    pipe(C, N) {
      if (this[T]) return;
      const K = this[u];
      return N = N || {}, C === r.stdout || C === r.stderr ? N.end = !1 : N.end = N.end !== !1, N.proxyErrors = !!N.proxyErrors, K ? N.end && C.end() : (this.pipes.push(N.proxyErrors ? new x(this, C, N) : new F(this, C, N)), this[M] ? G(() => this[E]()) : this[E]()), C;
    }
    unpipe(C) {
      const N = this.pipes.find((K) => K.dest === C);
      N && (this.pipes.splice(this.pipes.indexOf(N), 1), N.unpipe());
    }
    addListener(C, N) {
      return this.on(C, N);
    }
    on(C, N) {
      const K = super.on(C, N);
      return C === "data" && !this.pipes.length && !this.flowing ? this[E]() : C === "readable" && this[b] !== 0 ? super.emit("readable") : $(C) && this[u] ? (super.emit(C), this.removeAllListeners(C)) : C === "error" && this[f] && (this[M] ? G(() => N.call(this, this[f])) : N.call(this, this[f])), K;
    }
    get emittedEnd() {
      return this[u];
    }
    [n]() {
      !this[l] && !this[u] && !this[T] && this.buffer.length === 0 && this[o] && (this[l] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[a] && this.emit("close"), this[l] = !1);
    }
    emit(C, N, ...K) {
      if (C !== "error" && C !== "close" && C !== T && this[T]) return;
      if (C === "data") return N ? this[M] ? G(() => this[D](N)) : this[D](N) : !1;
      if (C === "end") return this[R]();
      if (C === "close") {
        if (this[a] = !0, !this[u] && !this[T]) return;
        const pe = super.emit("close");
        return this.removeAllListeners("close"), pe;
      } else if (C === "error") {
        this[f] = N;
        const pe = super.emit("error", N);
        return this[n](), pe;
      } else if (C === "resume") {
        const pe = super.emit("resume");
        return this[n](), pe;
      } else if (C === "finish" || C === "prefinish") {
        const pe = super.emit(C);
        return this.removeAllListeners(C), pe;
      }
      const oe = super.emit(C, N, ...K);
      return this[n](), oe;
    }
    [D](C) {
      for (const K of this.pipes) K.dest.write(C) === !1 && this.pause();
      const N = super.emit("data", C);
      return this[n](), N;
    }
    [R]() {
      this[u] || (this[u] = !0, this.readable = !1, this[M] ? G(() => this[j]()) : this[j]());
    }
    [j]() {
      if (this[g]) {
        const N = this[g].end();
        if (N) {
          for (const K of this.pipes) K.dest.write(N);
          super.emit("data", N);
        }
      }
      for (const N of this.pipes) N.end();
      const C = super.emit("end");
      return this.removeAllListeners("end"), C;
    }
    collect() {
      const C = [];
      this[S] || (C.dataLength = 0);
      const N = this.promise();
      return this.on("data", (K) => {
        C.push(K), this[S] || (C.dataLength += K.length);
      }), N.then(() => C);
    }
    concat() {
      return this[S] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((C) => this[S] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[m] ? C.join("") : Buffer.concat(C, C.dataLength));
    }
    promise() {
      return new Promise((C, N) => {
        this.on(T, () => N(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (K) => N(K)), this.on("end", () => C());
      });
    }
    [H]() {
      return { next: () => {
        const N = this.read();
        if (N !== null) return Promise.resolve({
          done: !1,
          value: N
        });
        if (this[o]) return Promise.resolve({ done: !0 });
        let K = null, oe = null;
        const pe = (W) => {
          this.removeListener("data", _e), this.removeListener("end", V), oe(W);
        }, _e = (W) => {
          this.removeListener("error", pe), this.removeListener("end", V), this.pause(), K({
            value: W,
            done: !!this[o]
          });
        }, V = () => {
          this.removeListener("error", pe), this.removeListener("data", _e), K({ done: !0 });
        }, B = () => pe(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((W, X) => {
          oe = X, K = W, this.once(T, B), this.once("error", pe), this.once("end", V), this.once("data", _e);
        });
      } };
    }
    [I]() {
      return { next: () => {
        const N = this.read();
        return {
          value: N,
          done: N === null
        };
      } };
    }
    destroy(C) {
      return this[T] ? (C ? this.emit("error", C) : this.emit(T), this) : (this[T] = !0, this.buffer.length = 0, this[b] = 0, typeof this.close == "function" && !this[a] && this.close(), C ? this.emit("error", C) : this.emit(T), this);
    }
    static isStream(C) {
      return !!C && (C instanceof wf || C instanceof s || C instanceof i && (typeof C.pipe == "function" || typeof C.write == "function" && typeof C.end == "function"));
    }
  };
})), dl = /* @__PURE__ */ P(((e, t) => {
  var r = dw(), i = /* @__PURE__ */ Symbol("_flush"), s = /* @__PURE__ */ Symbol("_flushed"), h = /* @__PURE__ */ Symbol("_flushing"), o = 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[h]) return;
      this[h] = !0;
      const l = (a) => {
        this[s] = !0, a ? super.emit("error", a) : super.emit("end");
      }, f = this[i](l);
      f && f.then && f.then(() => l(), (a) => l(a));
    }
  };
  t.exports = o;
})), Ef = /* @__PURE__ */ P(((e, t) => {
  var { Minipass: r } = At(), i = /* @__PURE__ */ Symbol("_data"), s = /* @__PURE__ */ Symbol("_length"), h = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, u, l) {
      typeof u == "function" && (l = u, u = "utf8"), u || (u = "utf8");
      const f = Buffer.isBuffer(n) ? n : Buffer.from(n, u);
      return this[i].push(f), this[s] += f.length, l && l(), !0;
    }
    end(n, u, l) {
      typeof n == "function" && (l = n, n = null), typeof u == "function" && (l = u, u = "utf8"), n && this.write(n, u);
      const f = Buffer.concat(this[i], this[s]);
      return super.write(f), super.end(l);
    }
  };
  t.exports = h;
  var o = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, u, l) {
      typeof u == "function" && (l = u, u = "utf8"), u || (u = "utf8");
      const f = Buffer.isBuffer(n) ? n : Buffer.from(n, u);
      return this[i].push(f), this[s] += f.length, super.write(n, u, l);
    }
    end(n, u, l) {
      typeof n == "function" && (l = n, n = null), typeof u == "function" && (l = u, u = "utf8"), n && this.write(n, u);
      const f = Buffer.concat(this[i], this[s]);
      return this.emit("collect", f), super.end(l);
    }
  };
  t.exports.PassThrough = o;
})), pw = /* @__PURE__ */ P(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = ge("events"), s = ge("stream"), h = ge("string_decoder").StringDecoder, o = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), u = /* @__PURE__ */ Symbol("emittedEnd"), l = /* @__PURE__ */ Symbol("emittingEnd"), f = /* @__PURE__ */ Symbol("emittedError"), a = /* @__PURE__ */ Symbol("closed"), c = /* @__PURE__ */ Symbol("read"), d = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), m = /* @__PURE__ */ Symbol("encoding"), g = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), y = /* @__PURE__ */ Symbol("paused"), E = /* @__PURE__ */ Symbol("resume"), b = /* @__PURE__ */ Symbol("bufferLength"), w = /* @__PURE__ */ Symbol("bufferPush"), _ = /* @__PURE__ */ Symbol("bufferShift"), S = /* @__PURE__ */ Symbol("objectMode"), T = /* @__PURE__ */ Symbol("destroyed"), D = /* @__PURE__ */ Symbol("emitData"), R = /* @__PURE__ */ Symbol("emitEnd"), j = /* @__PURE__ */ Symbol("emitEnd2"), M = /* @__PURE__ */ Symbol("async"), G = (L) => Promise.resolve().then(L), Y = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", H = Y && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), I = Y && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), $ = (L) => L === "end" || L === "finish" || L === "prefinish", q = (L) => L instanceof ArrayBuffer || typeof L == "object" && L.constructor && L.constructor.name === "ArrayBuffer" && L.byteLength >= 0, z = (L) => !Buffer.isBuffer(L) && ArrayBuffer.isView(L), F = class {
    constructor(L, C, N) {
      this.src = L, this.dest = C, this.opts = N, this.ondrain = () => L[E](), C.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();
    }
  }, x = class extends F {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(L, C, N) {
      super(L, C, N), this.proxyErrors = (K) => C.emit("error", K), L.on("error", this.proxyErrors);
    }
  };
  t.exports = class Sf extends s {
    constructor(C) {
      super(), this[v] = !1, this[y] = !1, this.pipes = [], this.buffer = [], this[S] = C && C.objectMode || !1, this[S] ? this[m] = null : this[m] = C && C.encoding || null, this[m] === "buffer" && (this[m] = null), this[M] = C && !!C.async || !1, this[g] = this[m] ? new h(this[m]) : null, this[o] = !1, this[u] = !1, this[l] = !1, this[a] = !1, this[f] = null, this.writable = !0, this.readable = !0, this[b] = 0, this[T] = !1;
    }
    get bufferLength() {
      return this[b];
    }
    get encoding() {
      return this[m];
    }
    set encoding(C) {
      if (this[S]) throw new Error("cannot set encoding in objectMode");
      if (this[m] && C !== this[m] && (this[g] && this[g].lastNeed || this[b])) throw new Error("cannot change encoding");
      this[m] !== C && (this[g] = C ? new h(C) : null, this.buffer.length && (this.buffer = this.buffer.map((N) => this[g].write(N)))), this[m] = C;
    }
    setEncoding(C) {
      this.encoding = C;
    }
    get objectMode() {
      return this[S];
    }
    set objectMode(C) {
      this[S] = this[S] || !!C;
    }
    get async() {
      return this[M];
    }
    set async(C) {
      this[M] = this[M] || !!C;
    }
    write(C, N, K) {
      if (this[o]) throw new Error("write after end");
      if (this[T])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof N == "function" && (K = N, N = "utf8"), N || (N = "utf8");
      const oe = this[M] ? G : (pe) => pe();
      return !this[S] && !Buffer.isBuffer(C) && (z(C) ? C = Buffer.from(C.buffer, C.byteOffset, C.byteLength) : q(C) ? C = Buffer.from(C) : typeof C != "string" && (this.objectMode = !0)), this[S] ? (this.flowing && this[b] !== 0 && this[d](!0), this.flowing ? this.emit("data", C) : this[w](C), this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : C.length ? (typeof C == "string" && !(N === this[m] && !this[g].lastNeed) && (C = Buffer.from(C, N)), Buffer.isBuffer(C) && this[m] && (C = this[g].write(C)), this.flowing && this[b] !== 0 && this[d](!0), this.flowing ? this.emit("data", C) : this[w](C), this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : (this[b] !== 0 && this.emit("readable"), K && oe(K), this.flowing);
    }
    read(C) {
      if (this[T]) return null;
      if (this[b] === 0 || C === 0 || C > this[b])
        return this[n](), null;
      this[S] && (C = null), this.buffer.length > 1 && !this[S] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[b])]);
      const N = this[c](C || null, this.buffer[0]);
      return this[n](), N;
    }
    [c](C, N) {
      return C === N.length || C === null ? this[_]() : (this.buffer[0] = N.slice(C), N = N.slice(0, C), this[b] -= C), this.emit("data", N), !this.buffer.length && !this[o] && this.emit("drain"), N;
    }
    end(C, N, K) {
      return typeof C == "function" && (K = C, C = null), typeof N == "function" && (K = N, N = "utf8"), C && this.write(C, N), K && this.once("end", K), this[o] = !0, this.writable = !1, (this.flowing || !this[y]) && this[n](), this;
    }
    [E]() {
      this[T] || (this[y] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[d]() : this[o] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[E]();
    }
    pause() {
      this[v] = !1, this[y] = !0;
    }
    get destroyed() {
      return this[T];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[y];
    }
    [w](C) {
      this[S] ? this[b] += 1 : this[b] += C.length, this.buffer.push(C);
    }
    [_]() {
      return this.buffer.length && (this[S] ? this[b] -= 1 : this[b] -= this.buffer[0].length), this.buffer.shift();
    }
    [d](C) {
      do
        ;
      while (this[p](this[_]()));
      !C && !this.buffer.length && !this[o] && this.emit("drain");
    }
    [p](C) {
      return C ? (this.emit("data", C), this.flowing) : !1;
    }
    pipe(C, N) {
      if (this[T]) return;
      const K = this[u];
      return N = N || {}, C === r.stdout || C === r.stderr ? N.end = !1 : N.end = N.end !== !1, N.proxyErrors = !!N.proxyErrors, K ? N.end && C.end() : (this.pipes.push(N.proxyErrors ? new x(this, C, N) : new F(this, C, N)), this[M] ? G(() => this[E]()) : this[E]()), C;
    }
    unpipe(C) {
      const N = this.pipes.find((K) => K.dest === C);
      N && (this.pipes.splice(this.pipes.indexOf(N), 1), N.unpipe());
    }
    addListener(C, N) {
      return this.on(C, N);
    }
    on(C, N) {
      const K = super.on(C, N);
      return C === "data" && !this.pipes.length && !this.flowing ? this[E]() : C === "readable" && this[b] !== 0 ? super.emit("readable") : $(C) && this[u] ? (super.emit(C), this.removeAllListeners(C)) : C === "error" && this[f] && (this[M] ? G(() => N.call(this, this[f])) : N.call(this, this[f])), K;
    }
    get emittedEnd() {
      return this[u];
    }
    [n]() {
      !this[l] && !this[u] && !this[T] && this.buffer.length === 0 && this[o] && (this[l] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[a] && this.emit("close"), this[l] = !1);
    }
    emit(C, N, ...K) {
      if (C !== "error" && C !== "close" && C !== T && this[T]) return;
      if (C === "data") return N ? this[M] ? G(() => this[D](N)) : this[D](N) : !1;
      if (C === "end") return this[R]();
      if (C === "close") {
        if (this[a] = !0, !this[u] && !this[T]) return;
        const pe = super.emit("close");
        return this.removeAllListeners("close"), pe;
      } else if (C === "error") {
        this[f] = N;
        const pe = super.emit("error", N);
        return this[n](), pe;
      } else if (C === "resume") {
        const pe = super.emit("resume");
        return this[n](), pe;
      } else if (C === "finish" || C === "prefinish") {
        const pe = super.emit(C);
        return this.removeAllListeners(C), pe;
      }
      const oe = super.emit(C, N, ...K);
      return this[n](), oe;
    }
    [D](C) {
      for (const K of this.pipes) K.dest.write(C) === !1 && this.pause();
      const N = super.emit("data", C);
      return this[n](), N;
    }
    [R]() {
      this[u] || (this[u] = !0, this.readable = !1, this[M] ? G(() => this[j]()) : this[j]());
    }
    [j]() {
      if (this[g]) {
        const N = this[g].end();
        if (N) {
          for (const K of this.pipes) K.dest.write(N);
          super.emit("data", N);
        }
      }
      for (const N of this.pipes) N.end();
      const C = super.emit("end");
      return this.removeAllListeners("end"), C;
    }
    collect() {
      const C = [];
      this[S] || (C.dataLength = 0);
      const N = this.promise();
      return this.on("data", (K) => {
        C.push(K), this[S] || (C.dataLength += K.length);
      }), N.then(() => C);
    }
    concat() {
      return this[S] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((C) => this[S] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[m] ? C.join("") : Buffer.concat(C, C.dataLength));
    }
    promise() {
      return new Promise((C, N) => {
        this.on(T, () => N(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (K) => N(K)), this.on("end", () => C());
      });
    }
    [H]() {
      return { next: () => {
        const N = this.read();
        if (N !== null) return Promise.resolve({
          done: !1,
          value: N
        });
        if (this[o]) return Promise.resolve({ done: !0 });
        let K = null, oe = null;
        const pe = (W) => {
          this.removeListener("data", _e), this.removeListener("end", V), oe(W);
        }, _e = (W) => {
          this.removeListener("error", pe), this.removeListener("end", V), this.pause(), K({
            value: W,
            done: !!this[o]
          });
        }, V = () => {
          this.removeListener("error", pe), this.removeListener("data", _e), K({ done: !0 });
        }, B = () => pe(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((W, X) => {
          oe = X, K = W, this.once(T, B), this.once("error", pe), this.once("end", V), this.once("data", _e);
        });
      } };
    }
    [I]() {
      return { next: () => {
        const N = this.read();
        return {
          value: N,
          done: N === null
        };
      } };
    }
    destroy(C) {
      return this[T] ? (C ? this.emit("error", C) : this.emit(T), this) : (this[T] = !0, this.buffer.length = 0, this[b] = 0, typeof this.close == "function" && !this[a] && this.close(), C ? this.emit("error", C) : this.emit(T), this);
    }
    static isStream(C) {
      return !!C && (C instanceof Sf || C instanceof s || C instanceof i && (typeof C.pipe == "function" || typeof C.write == "function" && typeof C.end == "function"));
    }
  };
})), Ki = /* @__PURE__ */ P(((e, t) => {
  var r = pw(), i = ge("events"), s = (g) => g && g instanceof i && (typeof g.pipe == "function" || typeof g.write == "function" && typeof g.end == "function"), h = /* @__PURE__ */ Symbol("_head"), o = /* @__PURE__ */ Symbol("_tail"), n = /* @__PURE__ */ Symbol("_linkStreams"), u = /* @__PURE__ */ Symbol("_setHead"), l = /* @__PURE__ */ Symbol("_setTail"), f = /* @__PURE__ */ Symbol("_onError"), a = /* @__PURE__ */ Symbol("_onData"), c = /* @__PURE__ */ Symbol("_onEnd"), d = /* @__PURE__ */ Symbol("_onDrain"), p = /* @__PURE__ */ Symbol("_streams"), m = class extends r {
    constructor(g, ...v) {
      s(g) && (v.unshift(g), g = {}), super(g), this[p] = [], v.length && this.push(...v);
    }
    [n](g) {
      return g.reduce((v, y) => (v.on("error", (E) => y.emit("error", E)), v.pipe(y), y));
    }
    push(...g) {
      this[p].push(...g), this[o] && g.unshift(this[o]);
      const v = this[n](g);
      this[l](v), this[h] || this[u](g[0]);
    }
    unshift(...g) {
      this[p].unshift(...g), this[h] && g.push(this[h]);
      const v = this[n](g);
      this[u](g[0]), this[o] || this[l](v);
    }
    destroy(g) {
      return this[p].forEach((v) => typeof v.destroy == "function" && v.destroy()), super.destroy(g);
    }
    [l](g) {
      this[o] = g, g.on("error", (v) => this[f](g, v)), g.on("data", (v) => this[a](g, v)), g.on("end", () => this[c](g)), g.on("finish", () => this[c](g));
    }
    [f](g, v) {
      g === this[o] && this.emit("error", v);
    }
    [a](g, v) {
      g === this[o] && super.write(v);
    }
    [c](g) {
      g === this[o] && super.end();
    }
    pause() {
      return super.pause(), this[o] && this[o].pause && this[o].pause();
    }
    emit(g, ...v) {
      return g === "resume" && this[o] && this[o].resume && this[o].resume(), super.emit(g, ...v);
    }
    [u](g) {
      this[h] = g, g.on("drain", () => this[d](g));
    }
    [d](g) {
      g === this[h] && this.emit("drain");
    }
    write(g, v, y) {
      return this[h].write(g, v, y) && (this.flowing || this.buffer.length === 0);
    }
    end(g, v, y) {
      return this[h].end(g, v, y), this;
    }
  };
  t.exports = m;
})), Af = /* @__PURE__ */ P(((e, t) => {
  var r = (i, { copy: s, wrap: h }) => {
    const o = {};
    if (i && typeof i == "object")
      for (const n of s) i[n] !== void 0 && (o[n] = i[n]);
    else o[h] = i;
    return o;
  };
  t.exports = r;
})), gw = /* @__PURE__ */ P(((e, t) => {
  var r = el(), i = (s) => r.satisfies(process.version, s, { includePrerelease: !0 });
  t.exports = { satisfies: i };
})), mw = /* @__PURE__ */ P(((e, t) => {
  var { inspect: r } = ge("util"), i = class {
    constructor(h, o, n) {
      let u = `${o}: ${n.syscall} returned ${n.code} (${n.message})`;
      n.path !== void 0 && (u += ` ${n.path}`), n.dest !== void 0 && (u += ` => ${n.dest}`), this.code = h, 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(l) {
            n.errno = l;
          },
          enumerable: !0,
          configurable: !0
        },
        syscall: {
          get() {
            return n.syscall;
          },
          set(l) {
            n.syscall = l;
          },
          enumerable: !0,
          configurable: !0
        }
      }), n.path !== void 0 && Object.defineProperty(this, "path", {
        get() {
          return n.path;
        },
        set(l) {
          n.path = l;
        },
        enumerable: !0,
        configurable: !0
      }), n.dest !== void 0 && Object.defineProperty(this, "dest", {
        get() {
          return n.dest;
        },
        set(l) {
          n.dest = l;
        },
        enumerable: !0,
        configurable: !0
      });
    }
    toString() {
      return `${this.name} [${this.code}]: ${this.message}`;
    }
    [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](h, o) {
      return r(this, {
        ...o,
        getters: !0,
        customInspect: !1
      });
    }
  };
  function s(h, o) {
    t.exports[h] = class extends i {
      constructor(u) {
        super(h, o, 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(o, n, u) {
      super(), this.code = "ERR_INVALID_ARG_TYPE", this.message = `The ${o} argument must be ${n}. Received ${typeof u}`;
    }
  };
})), vw = /* @__PURE__ */ P(((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: h, ERR_FS_CP_NON_DIR_TO_DIR: o, ERR_FS_CP_SOCKET: n, ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY: u, ERR_FS_CP_UNKNOWN: l, ERR_FS_EISDIR: f, ERR_INVALID_ARG_TYPE: a } = mw(), { constants: { errno: { EEXIST: c, EISDIR: d, EINVAL: p, ENOTDIR: m } } } = ge("os"), { chmod: g, copyFile: v, lstat: y, mkdir: E, readdir: b, readlink: w, stat: _, symlink: S, unlink: T, utimes: D } = ge("fs/promises"), { dirname: R, isAbsolute: j, join: M, parse: G, resolve: Y, sep: H, toNamespacedPath: I } = ge("path"), { fileURLToPath: $ } = ge("url"), q = {
    dereference: !1,
    errorOnExist: !1,
    filter: void 0,
    force: !0,
    preserveTimestamps: !1,
    recursive: !1
  };
  async function z(de, re, Q) {
    if (Q != null && typeof Q != "object") throw new a("options", ["Object"], Q);
    return x(I(F(de)), I(F(re)), {
      ...q,
      ...Q
    });
  }
  function F(de) {
    return de != null && de.href && de.origin ? $(de) : de;
  }
  async function x(de, re, Q) {
    Q.preserveTimestamps && process.arch === "ia32" && process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended", "TimestampPrecisionWarning");
    const { srcStat: ie, destStat: ae } = await L(de, re, Q);
    return await pe(de, ie, re), Q.filter ? B(K, ae, de, re, Q) : K(ae, de, re, Q);
  }
  async function L(de, re, Q) {
    const { 0: ie, 1: ae } = await N(de, re, Q);
    if (ae) {
      if (C(ie, ae)) throw new s({
        message: "src and dest cannot be the same",
        path: re,
        syscall: "cp",
        errno: p
      });
      if (ie.isDirectory() && !ae.isDirectory()) throw new r({
        message: `cannot overwrite directory ${de} with non-directory ${re}`,
        path: re,
        syscall: "cp",
        errno: d
      });
      if (!ie.isDirectory() && ae.isDirectory()) throw new o({
        message: `cannot overwrite non-directory ${de} with directory ${re}`,
        path: re,
        syscall: "cp",
        errno: m
      });
    }
    if (ie.isDirectory() && V(de, re)) throw new s({
      message: `cannot copy ${de} to a subdirectory of self ${re}`,
      path: re,
      syscall: "cp",
      errno: p
    });
    return {
      srcStat: ie,
      destStat: ae
    };
  }
  function C(de, re) {
    return re.ino && re.dev && re.ino === de.ino && re.dev === de.dev;
  }
  function N(de, re, Q) {
    const ie = Q.dereference ? (ae) => _(ae, { bigint: !0 }) : (ae) => y(ae, { bigint: !0 });
    return Promise.all([ie(de), ie(re).catch((ae) => {
      if (ae.code === "ENOENT") return null;
      throw ae;
    })]);
  }
  async function K(de, re, Q, ie) {
    const ae = R(Q);
    return await oe(ae) || await E(ae, { recursive: !0 }), X(de, re, Q, ie);
  }
  function oe(de) {
    return _(de).then(
      () => !0,
      // istanbul ignore next: not sure when this would occur
      (re) => re.code === "ENOENT" ? !1 : Promise.reject(re)
    );
  }
  async function pe(de, re, Q) {
    const ie = Y(R(de)), ae = Y(R(Q));
    if (ae === ie || ae === G(ae).root) return;
    let be;
    try {
      be = await _(ae, { bigint: !0 });
    } catch (Le) {
      if (Le.code === "ENOENT") return;
      throw Le;
    }
    if (C(re, be)) throw new s({
      message: `cannot copy ${de} to a subdirectory of self ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    return pe(de, re, ae);
  }
  var _e = (de) => Y(de).split(H).filter(Boolean);
  function V(de, re) {
    const Q = _e(de), ie = _e(re);
    return Q.every((ae, be) => ie[be] === ae);
  }
  async function B(de, re, Q, ie, ae, be) {
    if (await ae.filter(Q, ie)) return de(re, Q, ie, ae, be);
  }
  function W(de, re, Q, ie) {
    return ie.filter ? B(X, de, re, Q, ie) : X(de, re, Q, ie);
  }
  async function X(de, re, Q, ie) {
    const ae = await (ie.dereference ? _ : y)(re);
    if (ae.isDirectory() && ie.recursive) return Me(ae, de, re, Q, ie);
    if (ae.isDirectory()) throw new f({
      message: `${re} is a directory (not copied)`,
      path: re,
      syscall: "cp",
      errno: p
    });
    if (ae.isFile() || ae.isCharacterDevice() || ae.isBlockDevice()) return ne(ae, de, re, Q, ie);
    if (ae.isSymbolicLink()) return se(de, re, Q);
    throw ae.isSocket() ? new n({
      message: `cannot copy a socket file: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    }) : ae.isFIFO() ? new h({
      message: `cannot copy a FIFO pipe: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    }) : new l({
      message: `cannot copy an unknown file type: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
  }
  function ne(de, re, Q, ie, ae) {
    return re ? k(de, Q, ie, ae) : U(de, Q, ie, ae);
  }
  async function k(de, re, Q, ie) {
    if (ie.force)
      return await T(Q), U(de, re, Q, ie);
    if (ie.errorOnExist) throw new i({
      message: `${Q} already exists`,
      path: Q,
      syscall: "cp",
      errno: c
    });
  }
  async function U(de, re, Q, ie) {
    return await v(re, Q), ie.preserveTimestamps ? ee(de.mode, re, Q) : Pe(Q, de.mode);
  }
  async function ee(de, re, Q) {
    return Ae(de) && await Te(Q, de), ye(de, re, Q);
  }
  function Ae(de) {
    return (de & 128) === 0;
  }
  function Te(de, re) {
    return Pe(de, re | 128);
  }
  async function ye(de, re, Q) {
    return await xe(re, Q), Pe(Q, de);
  }
  function Pe(de, re) {
    return g(de, re);
  }
  async function xe(de, re) {
    const Q = await _(de);
    return D(re, Q.atime, Q.mtime);
  }
  function Me(de, re, Q, ie, ae) {
    return re ? A(Q, ie, ae) : Ce(de.mode, Q, ie, ae);
  }
  async function Ce(de, re, Q, ie) {
    return await E(Q), await A(re, Q, ie), Pe(Q, de);
  }
  async function A(de, re, Q) {
    const ie = await b(de);
    for (let ae = 0; ae < ie.length; ae++) {
      const be = ie[ae], Le = M(de, be), De = M(re, be), { destStat: Oe } = await L(Le, De, Q);
      await W(Oe, Le, De, Q);
    }
  }
  async function se(de, re, Q) {
    let ie = await w(re);
    if (j(ie) || (ie = Y(R(re), ie)), !de) return S(ie, Q);
    let ae;
    try {
      ae = await w(Q);
    } catch (be) {
      if (be.code === "EINVAL" || be.code === "UNKNOWN") return S(ie, Q);
      throw be;
    }
    if (j(ae) || (ae = Y(R(Q), ae)), V(ie, ae)) throw new s({
      message: `cannot copy ${ie} to a subdirectory of self ${ae}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    if ((await _(re)).isDirectory() && V(ae, ie)) throw new u({
      message: `cannot overwrite ${ae} with ${ie}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    return he(ie, Q);
  }
  async function he(de, re) {
    return await T(re), S(de, re);
  }
  t.exports = z;
})), yw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("fs/promises"), i = Af(), s = gw(), h = vw(), o = s.satisfies(">=16.7.0"), n = async (u, l, f) => {
    const a = i(f, { copy: [
      "dereference",
      "errorOnExist",
      "filter",
      "force",
      "preserveTimestamps",
      "recursive"
    ] });
    return o ? r.cp(u, l, a) : h(u, l, a);
  };
  t.exports = n;
})), _w = /* @__PURE__ */ P(((e, t) => {
  var { join: r, sep: i } = ge("path"), s = Af(), { mkdir: h, mkdtemp: o, rm: n } = ge("fs/promises"), u = async (l, f, a) => {
    const c = s(a, { copy: ["tmpPrefix"] });
    await h(l, { recursive: !0 });
    const d = await o(r(`${l}${i}`, c.tmpPrefix || ""));
    let p, m;
    try {
      m = await f(d);
    } catch (g) {
      p = g;
    }
    try {
      await n(d, {
        force: !0,
        recursive: !0
      });
    } catch {
    }
    if (p) throw p;
    return m;
  };
  t.exports = u;
})), bw = /* @__PURE__ */ P(((e, t) => {
  var { readdir: r } = ge("fs/promises"), { join: i } = ge("path"), s = async (h) => {
    const o = [];
    for (const n of await r(h)) if (n.startsWith("@")) for (const u of await r(i(h, n))) o.push(i(n, u));
    else o.push(n);
    return o;
  };
  t.exports = s;
})), ww = /* @__PURE__ */ P(((e, t) => {
  var { dirname: r, join: i, resolve: s, relative: h, isAbsolute: o } = ge("path"), n = ge("fs/promises"), u = async (f) => {
    try {
      return await n.access(f), !0;
    } catch (a) {
      return a.code !== "ENOENT";
    }
  }, l = async (f, a, c = {}, d = !0, p = []) => {
    if (!f || !a) throw new TypeError("`source` and `destination` file required");
    if (c = {
      overwrite: !0,
      ...c
    }, !c.overwrite && await u(a)) throw new Error(`The destination file exists: ${a}`);
    await n.mkdir(r(a), { recursive: !0 });
    try {
      await n.rename(f, a);
    } catch (m) {
      if (m.code === "EXDEV" || m.code === "EPERM") {
        const g = await n.lstat(f);
        if (g.isDirectory()) {
          const v = await n.readdir(f);
          await Promise.all(v.map((y) => l(i(f, y), i(a, y), c, !1, p)));
        } else g.isSymbolicLink() ? p.push({
          source: f,
          destination: a
        }) : await n.copyFile(f, a);
      } else throw m;
    }
    d && (await Promise.all(p.map(async ({ source: m, destination: g }) => {
      let v = await n.readlink(m);
      o(v) && (v = s(g, h(m, v)));
      let y = "file";
      try {
        y = await n.stat(s(r(m), v)), y.isDirectory() && (y = "junction");
      } catch {
      }
      await n.symlink(v, g, y);
    })), await n.rm(f, {
      recursive: !0,
      force: !0
    }));
  };
  t.exports = l;
})), pl = /* @__PURE__ */ P(((e, t) => {
  var r = yw(), i = _w(), s = bw(), h = ww();
  t.exports = {
    cp: r,
    withTempDir: i,
    readdirScoped: s,
    moveFile: h
  };
})), gl = /* @__PURE__ */ P(((e, t) => {
  var r = ge("crypto"), { withTempDir: i } = pl(), s = ge("fs/promises"), h = ge("path");
  t.exports.mkdir = o, t.exports.tmpName = function(l, f) {
    const a = r.randomUUID();
    return h.join(l, "tmp", f ? `${f}-${a}` : a);
  };
  async function o(u, l = {}) {
    const { tmpPrefix: f } = l, a = h.join(u, "tmp");
    await s.mkdir(a, {
      recursive: !0,
      owner: "inherit"
    });
    const c = `${a}${h.sep}${f || ""}`;
    return s.mkdtemp(c, { owner: "inherit" });
  }
  t.exports.withTmp = n;
  function n(u, l, f) {
    return f || (f = l, l = {}), i(h.join(u, "tmp"), f, l);
  }
})), Tf = /* @__PURE__ */ yt({
  author: () => io,
  default: () => Df,
  dependencies: () => Qa,
  description: () => Va,
  devDependencies: () => eo,
  engines: () => to,
  files: () => Ka,
  keywords: () => Xa,
  license: () => "ISC",
  main: () => Ya,
  name: () => za,
  repository: () => Ja,
  scripts: () => Za,
  tap: () => no,
  templateOSS: () => ro,
  version: () => Wa
}), za, Wa, Va, Ya, Ka, Za, Ja, Xa, Ew, Qa, eo, to, ro, io, no, Df, Rf = Ft((() => {
  za = "cacache", Wa = "20.0.4", Va = "Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.", Ya = "lib/index.js", Ka = ["bin/", "lib/"], Za = {
    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}"'
  }, Ja = {
    type: "git",
    url: "git+https://github.com/npm/cacache.git"
  }, Xa = [
    "cache",
    "caching",
    "content-addressable",
    "sri",
    "sri hash",
    "subresource integrity",
    "cache",
    "storage",
    "store",
    "file store",
    "filesystem",
    "disk cache",
    "disk storage"
  ], Ew = "ISC", Qa = {
    "@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"
  }, eo = {
    "@npmcli/eslint-config": "^6.0.1",
    "@npmcli/template-oss": "4.29.0",
    tap: "^16.0.0"
  }, to = { node: "^20.17.0 || >=22.9.0" }, ro = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    windowsCI: !1,
    version: "4.29.0",
    publish: "true"
  }, io = "GitHub Inc.", no = { "nyc-arg": ["--exclude", "tap-snapshots/**"] }, Df = {
    name: za,
    version: Wa,
    "cache-version": {
      content: "2",
      index: "5"
    },
    description: Va,
    main: Ya,
    files: Ka,
    scripts: Za,
    repository: Ja,
    keywords: Xa,
    license: "ISC",
    dependencies: Qa,
    devDependencies: eo,
    engines: to,
    templateOSS: ro,
    author: io,
    tap: no
  };
})), Of = /* @__PURE__ */ P(((e, t) => {
  t.exports = r;
  function r(i) {
    return [
      i.slice(0, 2),
      i.slice(2, 4),
      i.slice(4)
    ];
  }
})), Zi = /* @__PURE__ */ P(((e, t) => {
  var r = (Rf(), mt(Tf).default)["cache-version"].content, i = Of(), s = ge("path"), h = Rr();
  t.exports = o;
  function o(u, l) {
    const f = h.parse(l, { single: !0 });
    return s.join(n(u), f.algorithm, ...i(f.hexDigest()));
  }
  t.exports.contentDir = n;
  function n(u) {
    return s.join(u, `content-v${r}`);
  }
})), Ji = /* @__PURE__ */ P(((e, t) => {
  var r = ge("crypto"), { appendFile: i, mkdir: s, readFile: h, readdir: o, rm: n, writeFile: u } = ge("fs/promises"), { Minipass: l } = At(), f = ge("path"), a = Rr(), { tmpName: c } = gl(), d = Zi(), p = Of(), m = (Rf(), mt(Tf).default)["cache-version"].index, { moveFile: g } = pl(), v = 5;
  t.exports.NotFoundError = class extends Error {
    constructor(q, z) {
      super(`No cache entry for ${z} found in ${q}`), this.code = "ENOENT", this.cache = q, this.key = z;
    }
  }, t.exports.compact = y;
  async function y($, q, z, F = {}) {
    const x = j($, q), L = await T(x), C = [];
    for (let V = L.length - 1; V >= 0; --V) {
      const B = L[V];
      if (B.integrity === null && !F.validateEntry) break;
      (!F.validateEntry || F.validateEntry(B) === !0) && (C.length === 0 || !C.find((W) => z(W, B))) && C.unshift(B);
    }
    const N = `
` + C.map((V) => {
      const B = JSON.stringify(V);
      return `${G(B)}	${B}`;
    }).join(`
`), K = async () => {
      const V = c($, F.tmpPrefix);
      return await s(f.dirname(V), { recursive: !0 }), {
        target: V,
        moved: !1
      };
    }, oe = async (V) => {
      if (!V.moved) return n(V.target, {
        recursive: !0,
        force: !0
      });
    }, pe = async (V) => {
      await u(V.target, N, { flag: "wx" }), await s(f.dirname(x), { recursive: !0 }), await g(V.target, x), V.moved = !0;
    }, _e = await K();
    try {
      await pe(_e);
    } finally {
      await oe(_e);
    }
    return C.reverse().map((V) => H($, V, !0));
  }
  t.exports.insert = E;
  async function E($, q, z, F = {}) {
    const { metadata: x, size: L, time: C } = F, N = j($, q), K = {
      key: q,
      integrity: z && a.stringify(z),
      time: C || Date.now(),
      size: L,
      metadata: x
    };
    try {
      await s(f.dirname(N), { recursive: !0 });
      const oe = JSON.stringify(K);
      await i(N, `
${G(oe)}	${oe}`);
    } catch (oe) {
      if (oe.code === "ENOENT") return;
      throw oe;
    }
    return H($, K);
  }
  t.exports.find = b;
  async function b($, q) {
    const z = j($, q);
    try {
      return (await T(z)).reduce((F, x) => x && x.key === q ? H($, x) : F, null);
    } catch (F) {
      if (F.code === "ENOENT") return null;
      throw F;
    }
  }
  t.exports.delete = w;
  function w($, q, z = {}) {
    return z.removeFully ? n(j($, q), {
      recursive: !0,
      force: !0
    }) : E($, q, null, z);
  }
  t.exports.lsStream = _;
  function _($) {
    const q = R($), z = new l({ objectMode: !0 });
    return Promise.resolve().then(async () => {
      const { default: F } = await import("./chunks/p-map-OzxwbPLg.js").then((x) => (x.t(), x.r));
      return await F(await I(q), async (x) => {
        const L = f.join(q, x);
        await F(await I(L), async (C) => {
          const N = f.join(L, C);
          await F(await I(N), async (K) => {
            const oe = f.join(N, K);
            try {
              const pe = (await T(oe)).reduce((_e, V) => (_e.set(V.key, V), _e), /* @__PURE__ */ new Map());
              for (const _e of pe.values()) {
                const V = H($, _e);
                V && z.write(V);
              }
            } catch (pe) {
              if (pe.code === "ENOENT") return;
              throw pe;
            }
          }, { concurrency: v });
        }, { concurrency: v });
      }, { concurrency: v }), z.end(), z;
    }).catch((F) => z.emit("error", F)), z;
  }
  t.exports.ls = S;
  async function S($) {
    return (await _($).collect()).reduce((q, z) => (q[z.key] = z, q), {});
  }
  t.exports.bucketEntries = T;
  async function T($, q) {
    return D(await h($, "utf8"), q);
  }
  function D($) {
    const q = [];
    return $.split(`
`).forEach((z) => {
      if (!z) return;
      const F = z.split("	");
      if (!F[1] || G(F[1]) !== F[0]) return;
      let x;
      try {
        x = JSON.parse(F[1]);
      } catch {
      }
      x && q.push(x);
    }), q;
  }
  t.exports.bucketDir = R;
  function R($) {
    return f.join($, `index-v${m}`);
  }
  t.exports.bucketPath = j;
  function j($, q) {
    const z = M(q);
    return f.join.apply(f, [R($)].concat(p(z)));
  }
  t.exports.hashKey = M;
  function M($) {
    return Y($, "sha256");
  }
  t.exports.hashEntry = G;
  function G($) {
    return Y($, "sha1");
  }
  function Y($, q) {
    return r.createHash(q).update($).digest("hex");
  }
  function H($, q, z) {
    return !q.integrity && !z ? null : {
      key: q.key,
      integrity: q.integrity,
      path: q.integrity ? d($, q.integrity) : void 0,
      size: q.size,
      time: q.time,
      metadata: q.metadata
    };
  }
  function I($) {
    return o($).catch((q) => {
      if (q.code === "ENOENT" || q.code === "ENOTDIR") return [];
      throw q;
    });
  }
})), es = /* @__PURE__ */ P(((e, t) => {
  var { LRUCache: r } = qi(), i = new r({
    max: 500,
    maxSize: 50 * 1024 * 1024,
    ttl: 180 * 1e3,
    sizeCalculation: (a, c) => c.startsWith("key:") ? a.data.length : a.length
  });
  t.exports.clearMemoized = s;
  function s() {
    const a = {};
    return i.forEach((c, d) => {
      a[d] = c;
    }), i.clear(), a;
  }
  t.exports.put = h;
  function h(a, c, d, p) {
    f(p).set(`key:${a}:${c.key}`, {
      entry: c,
      data: d
    }), o(a, c.integrity, d, p);
  }
  t.exports.put.byDigest = o;
  function o(a, c, d, p) {
    f(p).set(`digest:${a}:${c}`, d);
  }
  t.exports.get = n;
  function n(a, c, d) {
    return f(d).get(`key:${a}:${c}`);
  }
  t.exports.get.byDigest = u;
  function u(a, c, d) {
    return f(d).get(`digest:${a}:${c}`);
  }
  var l = class {
    constructor(a) {
      this.obj = a;
    }
    get(a) {
      return this.obj[a];
    }
    set(a, c) {
      this.obj[a] = c;
    }
  };
  function f(a) {
    return !a || !a.memoize ? i : a.memoize.get && a.memoize.set ? a.memoize : typeof a.memoize == "object" ? new l(a.memoize) : i;
  }
})), ml = /* @__PURE__ */ P(((e) => {
  var { Minipass: t } = At(), r = ge("events").EventEmitter, i = ge("fs"), s = i.writev, h = /* @__PURE__ */ Symbol("_autoClose"), o = /* @__PURE__ */ Symbol("_close"), n = /* @__PURE__ */ Symbol("_ended"), u = /* @__PURE__ */ Symbol("_fd"), l = /* @__PURE__ */ Symbol("_finished"), f = /* @__PURE__ */ Symbol("_flags"), a = /* @__PURE__ */ Symbol("_flush"), c = /* @__PURE__ */ Symbol("_handleChunk"), d = /* @__PURE__ */ Symbol("_makeBuf"), p = /* @__PURE__ */ Symbol("_mode"), m = /* @__PURE__ */ Symbol("_needDrain"), g = /* @__PURE__ */ Symbol("_onerror"), v = /* @__PURE__ */ Symbol("_onopen"), y = /* @__PURE__ */ Symbol("_onread"), E = /* @__PURE__ */ Symbol("_onwrite"), b = /* @__PURE__ */ Symbol("_open"), w = /* @__PURE__ */ Symbol("_path"), _ = /* @__PURE__ */ Symbol("_pos"), S = /* @__PURE__ */ Symbol("_queue"), T = /* @__PURE__ */ Symbol("_read"), D = /* @__PURE__ */ Symbol("_readSize"), R = /* @__PURE__ */ Symbol("_reading"), j = /* @__PURE__ */ Symbol("_remain"), M = /* @__PURE__ */ Symbol("_size"), G = /* @__PURE__ */ Symbol("_write"), Y = /* @__PURE__ */ Symbol("_writing"), H = /* @__PURE__ */ Symbol("_defaultFlag"), I = /* @__PURE__ */ Symbol("_errored"), $ = class extends t {
    constructor(x, L) {
      if (L = L || {}, super(L), this.readable = !0, this.writable = !1, typeof x != "string") throw new TypeError("path must be a string");
      this[I] = !1, this[u] = typeof L.fd == "number" ? L.fd : null, this[w] = x, this[D] = L.readSize || 16 * 1024 * 1024, this[R] = !1, this[M] = typeof L.size == "number" ? L.size : 1 / 0, this[j] = this[M], this[h] = typeof L.autoClose == "boolean" ? L.autoClose : !0, typeof this[u] == "number" ? this[T]() : this[b]();
    }
    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");
    }
    [b]() {
      i.open(this[w], "r", (x, L) => this[v](x, L));
    }
    [v](x, L) {
      x ? this[g](x) : (this[u] = L, this.emit("open", L), this[T]());
    }
    [d]() {
      return Buffer.allocUnsafe(Math.min(this[D], this[j]));
    }
    [T]() {
      if (!this[R]) {
        this[R] = !0;
        const x = this[d]();
        if (x.length === 0) return process.nextTick(() => this[y](null, 0, x));
        i.read(this[u], x, 0, x.length, null, (L, C, N) => this[y](L, C, N));
      }
    }
    [y](x, L, C) {
      this[R] = !1, x ? this[g](x) : this[c](L, C) && this[T]();
    }
    [o]() {
      if (this[h] && typeof this[u] == "number") {
        const x = this[u];
        this[u] = null, i.close(x, (L) => L ? this.emit("error", L) : this.emit("close"));
      }
    }
    [g](x) {
      this[R] = !0, this[o](), this.emit("error", x);
    }
    [c](x, L) {
      let C = !1;
      return this[j] -= x, x > 0 && (C = super.write(x < L.length ? L.slice(0, x) : L)), (x === 0 || this[j] <= 0) && (C = !1, this[o](), super.end()), C;
    }
    emit(x, L) {
      switch (x) {
        case "prefinish":
        case "finish":
          break;
        case "drain":
          typeof this[u] == "number" && this[T]();
          break;
        case "error":
          return this[I] ? void 0 : (this[I] = !0, super.emit(x, L));
        default:
          return super.emit(x, L);
      }
    }
  }, q = class extends $ {
    [b]() {
      let x = !0;
      try {
        this[v](null, i.openSync(this[w], "r")), x = !1;
      } finally {
        x && this[o]();
      }
    }
    [T]() {
      let x = !0;
      try {
        if (!this[R]) {
          this[R] = !0;
          do {
            const L = this[d](), C = L.length === 0 ? 0 : i.readSync(this[u], L, 0, L.length, null);
            if (!this[c](C, L)) break;
          } while (!0);
          this[R] = !1;
        }
        x = !1;
      } finally {
        x && this[o]();
      }
    }
    [o]() {
      if (this[h] && typeof this[u] == "number") {
        const x = this[u];
        this[u] = null, i.closeSync(x), this.emit("close");
      }
    }
  }, z = class extends r {
    constructor(x, L) {
      L = L || {}, super(L), this.readable = !1, this.writable = !0, this[I] = !1, this[Y] = !1, this[n] = !1, this[m] = !1, this[S] = [], this[w] = x, this[u] = typeof L.fd == "number" ? L.fd : null, this[p] = L.mode === void 0 ? 438 : L.mode, this[_] = typeof L.start == "number" ? L.start : null, this[h] = typeof L.autoClose == "boolean" ? L.autoClose : !0;
      const C = this[_] !== null ? "r+" : "w";
      this[H] = L.flags === void 0, this[f] = this[H] ? C : L.flags, this[u] === null && this[b]();
    }
    emit(x, L) {
      if (x === "error") {
        if (this[I]) return;
        this[I] = !0;
      }
      return super.emit(x, L);
    }
    get fd() {
      return this[u];
    }
    get path() {
      return this[w];
    }
    [g](x) {
      this[o](), this[Y] = !0, this.emit("error", x);
    }
    [b]() {
      i.open(this[w], this[f], this[p], (x, L) => this[v](x, L));
    }
    [v](x, L) {
      this[H] && this[f] === "r+" && x && x.code === "ENOENT" ? (this[f] = "w", this[b]()) : x ? this[g](x) : (this[u] = L, this.emit("open", L), this[Y] || this[a]());
    }
    end(x, L) {
      return x && this.write(x, L), this[n] = !0, !this[Y] && !this[S].length && typeof this[u] == "number" && this[E](null, 0), this;
    }
    write(x, L) {
      return typeof x == "string" && (x = Buffer.from(x, L)), this[n] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), !1) : this[u] === null || this[Y] || this[S].length ? (this[S].push(x), this[m] = !0, !1) : (this[Y] = !0, this[G](x), !0);
    }
    [G](x) {
      i.write(this[u], x, 0, x.length, this[_], (L, C) => this[E](L, C));
    }
    [E](x, L) {
      x ? this[g](x) : (this[_] !== null && (this[_] += L), this[S].length ? this[a]() : (this[Y] = !1, this[n] && !this[l] ? (this[l] = !0, this[o](), this.emit("finish")) : this[m] && (this[m] = !1, this.emit("drain"))));
    }
    [a]() {
      if (this[S].length === 0)
        this[n] && this[E](null, 0);
      else if (this[S].length === 1) this[G](this[S].pop());
      else {
        const x = this[S];
        this[S] = [], s(this[u], x, this[_], (L, C) => this[E](L, C));
      }
    }
    [o]() {
      if (this[h] && typeof this[u] == "number") {
        const x = this[u];
        this[u] = null, i.close(x, (L) => L ? this.emit("error", L) : this.emit("close"));
      }
    }
  }, F = class extends z {
    [b]() {
      let x;
      if (this[H] && this[f] === "r+") try {
        x = i.openSync(this[w], this[f], this[p]);
      } catch (L) {
        if (L.code === "ENOENT")
          return this[f] = "w", this[b]();
        throw L;
      }
      else x = i.openSync(this[w], this[f], this[p]);
      this[v](null, x);
    }
    [o]() {
      if (this[h] && typeof this[u] == "number") {
        const x = this[u];
        this[u] = null, i.closeSync(x), this.emit("close");
      }
    }
    [G](x) {
      let L = !0;
      try {
        this[E](null, i.writeSync(this[u], x, 0, x.length, this[_])), L = !1;
      } finally {
        if (L) try {
          this[o]();
        } catch {
        }
      }
    }
  };
  e.ReadStream = $, e.ReadStreamSync = q, e.WriteStream = z, e.WriteStreamSync = F;
})), Cf = /* @__PURE__ */ P(((e, t) => {
  var r = ge("fs/promises"), i = ml(), s = Rr(), h = Zi(), o = Ki();
  t.exports = u;
  var n = 64 * 1024 * 1024;
  async function u(g, v, y = {}) {
    const { size: E } = y, { stat: b, cpath: w, sri: _ } = await d(g, v, async (T, D) => ({
      stat: E ? { size: E } : await r.stat(T),
      cpath: T,
      sri: D
    }));
    if (b.size > n) return l(w, b.size, _, new o()).concat();
    const S = await r.readFile(w, { encoding: null });
    if (b.size !== S.length) throw p(b.size, S.length);
    if (!s.checkData(S, _)) throw m(_, w);
    return S;
  }
  var l = (g, v, y, E) => (E.push(new i.ReadStream(g, {
    size: v,
    readSize: n
  }), s.integrityStream({
    integrity: y,
    size: v
  })), E);
  t.exports.stream = f, t.exports.readStream = f;
  function f(g, v, y = {}) {
    const { size: E } = y, b = new o();
    return Promise.resolve().then(async () => {
      const { stat: w, cpath: _, sri: S } = await d(g, v, async (T, D) => ({
        stat: E ? { size: E } : await r.stat(T),
        cpath: T,
        sri: D
      }));
      return l(_, w.size, S, b);
    }).catch((w) => b.emit("error", w)), b;
  }
  t.exports.copy = a;
  function a(g, v, y) {
    return d(g, v, (E) => r.copyFile(E, y));
  }
  t.exports.hasContent = c;
  async function c(g, v) {
    if (!v) return !1;
    try {
      return await d(g, v, async (y, E) => {
        const b = await r.stat(y);
        return {
          size: b.size,
          sri: E,
          stat: b
        };
      });
    } catch (y) {
      if (y.code === "ENOENT") return !1;
      if (y.code === "EPERM") {
        if (process.platform !== "win32") throw y;
        return !1;
      }
    }
  }
  async function d(g, v, y) {
    const E = s.parse(v), b = E[E.pickAlgorithm()];
    if (b.length <= 1) return y(h(g, b[0]), b[0]);
    {
      const w = await Promise.all(b.map(async (T) => {
        try {
          return await d(g, T, y);
        } catch (D) {
          return D.code === "ENOENT" ? Object.assign(/* @__PURE__ */ new Error("No matching content found for " + E.toString()), { code: "ENOENT" }) : D;
        }
      })), _ = w.find((T) => !(T instanceof Error));
      if (_) return _;
      const S = w.find((T) => T.code === "ENOENT");
      throw S || w.find((T) => T instanceof Error);
    }
  }
  function p(g, v) {
    const y = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${g} bytes, but got ${v} instead`);
    return y.expected = g, y.found = v, y.code = "EBADSIZE", y;
  }
  function m(g, v) {
    const y = /* @__PURE__ */ new Error(`Integrity verification failed for ${g} (${v})`);
    return y.code = "EINTEGRITY", y.sri = g, y.path = v, y;
  }
})), Sw = /* @__PURE__ */ P(((e, t) => {
  var r = Ef(), { Minipass: i } = At(), s = Ki(), h = Ji(), o = es(), n = Cf();
  async function u(g, v, y = {}) {
    const { integrity: E, memoize: b, size: w } = y, _ = o.get(g, v, y);
    if (_ && b !== !1) return {
      metadata: _.entry.metadata,
      data: _.data,
      integrity: _.entry.integrity,
      size: _.entry.size
    };
    const S = await h.find(g, v, y);
    if (!S) throw new h.NotFoundError(g, v);
    const T = await n(g, S.integrity, {
      integrity: E,
      size: w
    });
    return b && o.put(g, S, T, y), {
      data: T,
      metadata: S.metadata,
      size: S.size,
      integrity: S.integrity
    };
  }
  t.exports = u;
  async function l(g, v, y = {}) {
    const { integrity: E, memoize: b, size: w } = y, _ = o.get.byDigest(g, v, y);
    if (_ && b !== !1) return _;
    const S = await n(g, v, {
      integrity: E,
      size: w
    });
    return b && o.put.byDigest(g, v, S, y), S;
  }
  t.exports.byDigest = l;
  var f = (g) => {
    const v = new i();
    return v.on("newListener", function(y, E) {
      y === "metadata" && E(g.entry.metadata), y === "integrity" && E(g.entry.integrity), y === "size" && E(g.entry.size);
    }), v.end(g.data), v;
  };
  function a(g, v, y = {}) {
    const { memoize: E, size: b } = y, w = o.get(g, v, y);
    if (w && E !== !1) return f(w);
    const _ = new s();
    return Promise.resolve().then(async () => {
      const S = await h.find(g, v);
      if (!S) throw new h.NotFoundError(g, v);
      _.emit("metadata", S.metadata), _.emit("integrity", S.integrity), _.emit("size", S.size), _.on("newListener", function(D, R) {
        D === "metadata" && R(S.metadata), D === "integrity" && R(S.integrity), D === "size" && R(S.size);
      });
      const T = n.readStream(g, S.integrity, {
        ...y,
        size: typeof b != "number" ? S.size : b
      });
      if (E) {
        const D = new r.PassThrough();
        D.on("collect", (R) => o.put(g, S, R, y)), _.unshift(D);
      }
      return _.unshift(T), _;
    }).catch((S) => _.emit("error", S)), _;
  }
  t.exports.stream = a;
  function c(g, v, y = {}) {
    const { memoize: E } = y, b = o.get.byDigest(g, v, y);
    if (b && E !== !1) {
      const w = new i();
      return w.end(b), w;
    } else {
      const w = n.readStream(g, v, y);
      if (!E) return w;
      const _ = new r.PassThrough();
      return _.on("collect", (S) => o.put.byDigest(g, v, S, y)), new s(w, _);
    }
  }
  t.exports.stream.byDigest = c;
  function d(g, v, y = {}) {
    const { memoize: E } = y, b = o.get(g, v, y);
    return b && E !== !1 ? Promise.resolve(b.entry) : h.find(g, v);
  }
  t.exports.info = d;
  async function p(g, v, y, E = {}) {
    const b = await h.find(g, v, E);
    if (!b) throw new h.NotFoundError(g, v);
    return await n.copy(g, b.integrity, y, E), {
      metadata: b.metadata,
      size: b.size,
      integrity: b.integrity
    };
  }
  t.exports.copy = p;
  async function m(g, v, y, E = {}) {
    return await n.copy(g, v, y, E), v;
  }
  t.exports.copy.byDigest = m, t.exports.hasContent = n.hasContent;
})), Aw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("events"), i = Zi(), s = ge("fs/promises"), { moveFile: h } = pl(), { Minipass: o } = At(), n = Ki(), u = dl(), l = ge("path"), f = Rr(), { tmpName: a } = gl(), c = ml();
  t.exports = p;
  var d = /* @__PURE__ */ new Map();
  async function p(S, T, D = {}) {
    const { algorithms: R, size: j, integrity: M } = D;
    if (typeof j == "number" && T.length !== j) throw w(j, T.length);
    const G = f.fromData(T, R ? { algorithms: R } : {});
    if (M && !f.checkData(T, M, D)) throw _(M, G);
    for (const Y in G) {
      const H = await E(S, D), I = G[Y].toString();
      try {
        await s.writeFile(H.target, T, { flag: "wx" }), await b(H, S, I, D);
      } finally {
        H.moved || await s.rm(H.target, {
          recursive: !0,
          force: !0
        });
      }
    }
    return {
      integrity: G,
      size: T.length
    };
  }
  t.exports.stream = g;
  var m = class extends u {
    constructor(S, T) {
      super(), this.opts = T, this.cache = S, this.inputStream = new o(), this.inputStream.on("error", (D) => this.emit("error", D)), this.inputStream.on("drain", () => this.emit("drain")), this.handleContentP = null;
    }
    write(S, T, D) {
      return this.handleContentP || (this.handleContentP = v(this.inputStream, this.cache, this.opts), this.handleContentP.catch((R) => this.emit("error", R))), this.inputStream.write(S, T, D);
    }
    flush(S) {
      this.inputStream.end(() => {
        if (!this.handleContentP) {
          const T = /* @__PURE__ */ new Error("Cache input stream was empty");
          return T.code = "ENODATA", Promise.reject(T).catch(S);
        }
        this.handleContentP.then((T) => {
          T.integrity && this.emit("integrity", T.integrity), T.size !== null && this.emit("size", T.size), S();
        }, (T) => S(T));
      });
    }
  };
  function g(S, T = {}) {
    return new m(S, T);
  }
  async function v(S, T, D) {
    const R = await E(T, D);
    try {
      const j = await y(S, T, R.target, D);
      return await b(R, T, j.integrity, D), j;
    } finally {
      R.moved || await s.rm(R.target, {
        recursive: !0,
        force: !0
      });
    }
  }
  async function y(S, T, D, R) {
    const j = new c.WriteStream(D, { flags: "wx" });
    if (R.integrityEmitter) {
      const [H, I] = await Promise.all([
        r.once(R.integrityEmitter, "integrity").then(($) => $[0]),
        r.once(R.integrityEmitter, "size").then(($) => $[0]),
        new n(S, j).promise()
      ]);
      return {
        integrity: H,
        size: I
      };
    }
    let M, G;
    const Y = f.integrityStream({
      integrity: R.integrity,
      algorithms: R.algorithms,
      size: R.size
    });
    return Y.on("integrity", (H) => {
      M = H;
    }), Y.on("size", (H) => {
      G = H;
    }), await new n(S, Y, j).promise(), {
      integrity: M,
      size: G
    };
  }
  async function E(S, T) {
    const D = a(S, T.tmpPrefix);
    return await s.mkdir(l.dirname(D), { recursive: !0 }), {
      target: D,
      moved: !1
    };
  }
  async function b(S, T, D) {
    const R = i(T, D), j = l.dirname(R);
    return d.has(R) || d.set(R, s.mkdir(j, { recursive: !0 }).then(async () => (await h(S.target, R, { overwrite: !1 }), S.moved = !0, S.moved)).catch((M) => {
      if (!M.message.startsWith("The destination file exists")) throw Object.assign(M, { code: "EEXIST" });
    }).finally(() => {
      d.delete(R);
    })), d.get(R);
  }
  function w(S, T) {
    const D = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${S} bytes, but got ${T} instead`);
    return D.expected = S, D.found = T, D.code = "EBADSIZE", D;
  }
  function _(S, T) {
    const D = /* @__PURE__ */ new Error(`Integrity check failed:
  Wanted: ${S}
   Found: ${T}`);
    return D.code = "EINTEGRITY", D.expected = S, D.found = T, D;
  }
})), Tw = /* @__PURE__ */ P(((e, t) => {
  var r = Ji(), i = es(), s = Aw(), h = dl(), { PassThrough: o } = Ef(), n = Ki(), u = (a) => ({
    algorithms: ["sha512"],
    ...a
  });
  t.exports = l;
  async function l(a, c, d, p = {}) {
    const { memoize: m } = p;
    p = u(p);
    const g = await s(a, d, p), v = await r.insert(a, c, g.integrity, {
      ...p,
      size: g.size
    });
    return m && i.put(a, v, d, p), g.integrity;
  }
  t.exports.stream = f;
  function f(a, c, d = {}) {
    const { memoize: p } = d;
    d = u(d);
    let m, g, v, y;
    const E = new n();
    if (p) {
      const w = new o().on("collect", (_) => {
        y = _;
      });
      E.push(w);
    }
    const b = s.stream(a, d).on("integrity", (w) => {
      m = w;
    }).on("size", (w) => {
      g = w;
    }).on("error", (w) => {
      v = w;
    });
    return E.push(b), E.push(new h({ async flush() {
      if (!v) {
        const w = await r.insert(a, c, m, {
          ...d,
          size: g
        });
        p && y && i.put(a, w, y, d), E.emit("integrity", m), E.emit("size", g);
      }
    } })), E;
  }
})), Dw = /* @__PURE__ */ P(((e) => {
  var t = (I, $) => () => ($ || I(($ = { exports: {} }).exports, $), $.exports), r = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.range = I.balanced = void 0;
    var $ = (F, x, L) => {
      let C = F instanceof RegExp ? q(F, L) : F, N = x instanceof RegExp ? q(x, L) : x, K = C !== null && N != null && (0, I.range)(C, N, L);
      return K && {
        start: K[0],
        end: K[1],
        pre: L.slice(0, K[0]),
        body: L.slice(K[0] + C.length, K[1]),
        post: L.slice(K[1] + N.length)
      };
    };
    I.balanced = $;
    var q = (F, x) => {
      let L = x.match(F);
      return L ? L[0] : null;
    }, z = (F, x, L) => {
      let C, N, K, oe, pe, _e = L.indexOf(F), V = L.indexOf(x, _e + 1), B = _e;
      if (_e >= 0 && V > 0) {
        if (F === x) return [_e, V];
        for (C = [], K = L.length; B >= 0 && !pe; ) {
          if (B === _e) C.push(B), _e = L.indexOf(F, B + 1);
          else if (C.length === 1) {
            let W = C.pop();
            W !== void 0 && (pe = [W, V]);
          } else N = C.pop(), N !== void 0 && N < K && (K = N, oe = V), V = L.indexOf(x, B + 1);
          B = _e < V && _e >= 0 ? _e : V;
        }
        C.length && oe !== void 0 && (pe = [K, oe]);
      }
      return pe;
    };
    I.range = z;
  }), i = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.EXPANSION_MAX = void 0, I.expand = Ae;
    var $ = r(), q = "\0SLASH" + Math.random() + "\0", z = "\0OPEN" + Math.random() + "\0", F = "\0CLOSE" + Math.random() + "\0", x = "\0COMMA" + Math.random() + "\0", L = "\0PERIOD" + Math.random() + "\0", C = new RegExp(q, "g"), N = new RegExp(z, "g"), K = new RegExp(F, "g"), oe = new RegExp(x, "g"), pe = new RegExp(L, "g"), _e = /\\\\/g, V = /\\{/g, B = /\\}/g, W = /\\,/g, X = /\\./g;
    I.EXPANSION_MAX = 1e5;
    function ne(Ce) {
      return isNaN(Ce) ? Ce.charCodeAt(0) : parseInt(Ce, 10);
    }
    function k(Ce) {
      return Ce.replace(_e, q).replace(V, z).replace(B, F).replace(W, x).replace(X, L);
    }
    function U(Ce) {
      return Ce.replace(C, "\\").replace(N, "{").replace(K, "}").replace(oe, ",").replace(pe, ".");
    }
    function ee(Ce) {
      if (!Ce) return [""];
      let A = [], se = (0, $.balanced)("{", "}", Ce);
      if (!se) return Ce.split(",");
      let { pre: he, body: de, post: re } = se, Q = he.split(",");
      Q[Q.length - 1] += "{" + de + "}";
      let ie = ee(re);
      return re.length && (Q[Q.length - 1] += ie.shift(), Q.push.apply(Q, ie)), A.push.apply(A, Q), A;
    }
    function Ae(Ce, A = {}) {
      if (!Ce) return [];
      let { max: se = I.EXPANSION_MAX } = A;
      return Ce.slice(0, 2) === "{}" && (Ce = "\\{\\}" + Ce.slice(2)), Me(k(Ce), se, !0).map(U);
    }
    function Te(Ce) {
      return "{" + Ce + "}";
    }
    function ye(Ce) {
      return /^-?0\d/.test(Ce);
    }
    function Pe(Ce, A) {
      return Ce <= A;
    }
    function xe(Ce, A) {
      return Ce >= A;
    }
    function Me(Ce, A, se) {
      let he = [], de = (0, $.balanced)("{", "}", Ce);
      if (!de) return [Ce];
      let re = de.pre, Q = de.post.length ? Me(de.post, A, !1) : [""];
      if (/\$$/.test(de.pre)) for (let ie = 0; ie < Q.length && ie < A; ie++) {
        let ae = re + "{" + de.body + "}" + Q[ie];
        he.push(ae);
      }
      else {
        let ie = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(de.body), ae = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(de.body), be = ie || ae, Le = de.body.indexOf(",") >= 0;
        if (!be && !Le) return de.post.match(/,(?!,).*\}/) ? (Ce = de.pre + "{" + de.body + F + de.post, Me(Ce, A, !0)) : [Ce];
        let De;
        if (be) De = de.body.split(/\.\./);
        else if (De = ee(de.body), De.length === 1 && De[0] !== void 0 && (De = Me(De[0], A, !1).map(Te), De.length === 1)) return Q.map((Z) => de.pre + De[0] + Z);
        let Oe;
        if (be && De[0] !== void 0 && De[1] !== void 0) {
          let Z = ne(De[0]), me = ne(De[1]), Re = Math.max(De[0].length, De[1].length), Se = De.length === 3 && De[2] !== void 0 ? Math.abs(ne(De[2])) : 1, te = Pe;
          me < Z && (Se *= -1, te = xe);
          let ce = De.some(ye);
          Oe = [];
          for (let ue = Z; te(ue, me); ue += Se) {
            let fe;
            if (ae) fe = String.fromCharCode(ue), fe === "\\" && (fe = "");
            else if (fe = String(ue), ce) {
              let we = Re - fe.length;
              if (we > 0) {
                let Ne = new Array(we + 1).join("0");
                ue < 0 ? fe = "-" + Ne + fe.slice(1) : fe = Ne + fe;
              }
            }
            Oe.push(fe);
          }
        } else {
          Oe = [];
          for (let Z = 0; Z < De.length; Z++) Oe.push.apply(Oe, Me(De[Z], A, !1));
        }
        for (let Z = 0; Z < Oe.length; Z++) for (let me = 0; me < Q.length && he.length < A; me++) {
          let Re = re + Oe[Z] + Q[me];
          (!se || be || Re) && he.push(Re);
        }
      }
      return he;
    }
  }), s = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.assertValidPattern = void 0;
    var $ = 1024 * 64, q = (z) => {
      if (typeof z != "string") throw new TypeError("invalid pattern");
      if (z.length > $) throw new TypeError("pattern is too long");
    };
    I.assertValidPattern = q;
  }), h = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.parseClass = void 0;
    var $ = {
      "[: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]
    }, q = (L) => L.replace(/[[\]\\-]/g, "\\$&"), z = (L) => L.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), F = (L) => L.join(""), x = (L, C) => {
      let N = C;
      if (L.charAt(N) !== "[") throw new Error("not in a brace expression");
      let K = [], oe = [], pe = N + 1, _e = !1, V = !1, B = !1, W = !1, X = N, ne = "";
      e: for (; pe < L.length; ) {
        let ee = L.charAt(pe);
        if ((ee === "!" || ee === "^") && pe === N + 1) {
          W = !0, pe++;
          continue;
        }
        if (ee === "]" && _e && !B) {
          X = pe + 1;
          break;
        }
        if (_e = !0, ee === "\\" && !B) {
          B = !0, pe++;
          continue;
        }
        if (ee === "[" && !B) {
          for (let [Ae, [Te, ye, Pe]] of Object.entries($)) if (L.startsWith(Ae, pe)) {
            if (ne) return [
              "$.",
              !1,
              L.length - N,
              !0
            ];
            pe += Ae.length, Pe ? oe.push(Te) : K.push(Te), V = V || ye;
            continue e;
          }
        }
        if (B = !1, ne) {
          ee > ne ? K.push(q(ne) + "-" + q(ee)) : ee === ne && K.push(q(ee)), ne = "", pe++;
          continue;
        }
        if (L.startsWith("-]", pe + 1)) {
          K.push(q(ee + "-")), pe += 2;
          continue;
        }
        if (L.startsWith("-", pe + 1)) {
          ne = ee, pe += 2;
          continue;
        }
        K.push(q(ee)), pe++;
      }
      if (X < pe) return [
        "",
        !1,
        0,
        !1
      ];
      if (!K.length && !oe.length) return [
        "$.",
        !1,
        L.length - N,
        !0
      ];
      if (oe.length === 0 && K.length === 1 && /^\\?.$/.test(K[0]) && !W) return [
        z(K[0].length === 2 ? K[0].slice(-1) : K[0]),
        !1,
        X - N,
        !1
      ];
      let k = "[" + (W ? "^" : "") + F(K) + "]", U = "[" + (W ? "" : "^") + F(oe) + "]";
      return [
        K.length && oe.length ? "(" + k + "|" + U + ")" : K.length ? k : U,
        V,
        X - N,
        !0
      ];
    };
    I.parseClass = x;
  }), o = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.unescape = void 0;
    var $ = (q, { windowsPathsNoEscape: z = !1, magicalBraces: F = !0 } = {}) => F ? z ? q.replace(/\[([^\/\\])\]/g, "$1") : q.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1") : z ? q.replace(/\[([^\/\\{}])\]/g, "$1") : q.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
    I.unescape = $;
  }), n = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.AST = void 0;
    var $ = h(), q = o(), z = /* @__PURE__ */ new Set([
      "!",
      "?",
      "+",
      "*",
      "@"
    ]), F = (B) => z.has(B), x = "(?!(?:^|/)\\.\\.?(?:$|/))", L = "(?!\\.)", C = /* @__PURE__ */ new Set(["[", "."]), N = /* @__PURE__ */ new Set(["..", "."]), K = /* @__PURE__ */ new Set("().*{}+?[]^$\\!"), oe = (B) => B.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), pe = "[^/]", _e = pe + "*?", V = pe + "+?";
    I.AST = class Pt {
      type;
      #e;
      #t;
      #r = !1;
      #n = [];
      #s;
      #c;
      #f;
      #u = !1;
      #o;
      #p;
      #h = !1;
      constructor(W, X, ne = {}) {
        this.type = W, W && (this.#t = !0), this.#s = X, this.#e = this.#s ? this.#s.#e : this, this.#o = this.#e === this ? ne : this.#e.#o, this.#f = this.#e === this ? [] : this.#e.#f, W === "!" && !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 W of this.#n) if (typeof W != "string" && (W.type || W.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((W) => String(W)).join("|") + ")" : this.#p = this.#n.map((W) => String(W)).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 W;
        for (; W = this.#f.pop(); ) {
          if (W.type !== "!") continue;
          let X = W, ne = X.#s;
          for (; ne; ) {
            for (let k = X.#c + 1; !ne.type && k < ne.#n.length; k++) for (let U of W.#n) {
              if (typeof U == "string") throw new Error("string part in extglob AST??");
              U.copyIn(ne.#n[k]);
            }
            X = ne, ne = X.#s;
          }
        }
        return this;
      }
      push(...W) {
        for (let X of W) if (X !== "") {
          if (typeof X != "string" && !(X instanceof Pt && X.#s === this)) throw new Error("invalid part: " + X);
          this.#n.push(X);
        }
      }
      toJSON() {
        let W = this.type === null ? this.#n.slice().map((X) => typeof X == "string" ? X : X.toJSON()) : [this.type, ...this.#n.map((X) => X.toJSON())];
        return this.isStart() && !this.type && W.unshift([]), this.isEnd() && (this === this.#e || this.#e.#u && this.#s?.type === "!") && W.push({}), W;
      }
      isStart() {
        if (this.#e === this) return !0;
        if (!this.#s?.isStart()) return !1;
        if (this.#c === 0) return !0;
        let W = this.#s;
        for (let X = 0; X < this.#c; X++) {
          let ne = W.#n[X];
          if (!(ne instanceof Pt && ne.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 W = this.#s ? this.#s.#n.length : 0;
        return this.#c === W - 1;
      }
      copyIn(W) {
        typeof W == "string" ? this.push(W) : this.push(W.clone(this));
      }
      clone(W) {
        let X = new Pt(this.type, W);
        for (let ne of this.#n) X.copyIn(ne);
        return X;
      }
      static #i(W, X, ne, k) {
        let U = !1, ee = !1, Ae = -1, Te = !1;
        if (X.type === null) {
          let Ce = ne, A = "";
          for (; Ce < W.length; ) {
            let se = W.charAt(Ce++);
            if (U || se === "\\") {
              U = !U, A += se;
              continue;
            }
            if (ee) {
              Ce === Ae + 1 ? (se === "^" || se === "!") && (Te = !0) : se === "]" && !(Ce === Ae + 2 && Te) && (ee = !1), A += se;
              continue;
            } else if (se === "[") {
              ee = !0, Ae = Ce, Te = !1, A += se;
              continue;
            }
            if (!k.noext && F(se) && W.charAt(Ce) === "(") {
              X.push(A), A = "";
              let he = new Pt(se, X);
              Ce = Pt.#i(W, he, Ce, k), X.push(he);
              continue;
            }
            A += se;
          }
          return X.push(A), Ce;
        }
        let ye = ne + 1, Pe = new Pt(null, X), xe = [], Me = "";
        for (; ye < W.length; ) {
          let Ce = W.charAt(ye++);
          if (U || Ce === "\\") {
            U = !U, Me += Ce;
            continue;
          }
          if (ee) {
            ye === Ae + 1 ? (Ce === "^" || Ce === "!") && (Te = !0) : Ce === "]" && !(ye === Ae + 2 && Te) && (ee = !1), Me += Ce;
            continue;
          } else if (Ce === "[") {
            ee = !0, Ae = ye, Te = !1, Me += Ce;
            continue;
          }
          if (F(Ce) && W.charAt(ye) === "(") {
            Pe.push(Me), Me = "";
            let A = new Pt(Ce, Pe);
            Pe.push(A), ye = Pt.#i(W, A, ye, k);
            continue;
          }
          if (Ce === "|") {
            Pe.push(Me), Me = "", xe.push(Pe), Pe = new Pt(null, X);
            continue;
          }
          if (Ce === ")") return Me === "" && X.#n.length === 0 && (X.#h = !0), Pe.push(Me), Me = "", X.push(...xe, Pe), ye;
          Me += Ce;
        }
        return X.type = null, X.#t = void 0, X.#n = [W.substring(ne - 1)], ye;
      }
      static fromGlob(W, X = {}) {
        let ne = new Pt(null, void 0, X);
        return Pt.#i(W, ne, 0, X), ne;
      }
      toMMPattern() {
        if (this !== this.#e) return this.#e.toMMPattern();
        let W = this.toString(), [X, ne, k, U] = this.toRegExpSource();
        if (!(k || this.#t || this.#o.nocase && !this.#o.nocaseMagicOnly && W.toUpperCase() !== W.toLowerCase())) return ne;
        let ee = (this.#o.nocase ? "i" : "") + (U ? "u" : "");
        return Object.assign(new RegExp(`^${X}$`, ee), {
          _src: X,
          _glob: W
        });
      }
      get options() {
        return this.#o;
      }
      toRegExpSource(W) {
        let X = W ?? !!this.#o.dot;
        if (this.#e === this && this.#l(), !this.type) {
          let Te = this.isStart() && this.isEnd() && !this.#n.some((Me) => typeof Me != "string"), ye = this.#n.map((Me) => {
            let [Ce, A, se, he] = typeof Me == "string" ? Pt.#E(Me, this.#t, Te) : Me.toRegExpSource(W);
            return this.#t = this.#t || se, this.#r = this.#r || he, Ce;
          }).join(""), Pe = "";
          if (this.isStart() && typeof this.#n[0] == "string" && !(this.#n.length === 1 && N.has(this.#n[0]))) {
            let Me = C, Ce = X && Me.has(ye.charAt(0)) || ye.startsWith("\\.") && Me.has(ye.charAt(2)) || ye.startsWith("\\.\\.") && Me.has(ye.charAt(4)), A = !X && !W && Me.has(ye.charAt(0));
            Pe = Ce ? x : A ? L : "";
          }
          let xe = "";
          return this.isEnd() && this.#e.#u && this.#s?.type === "!" && (xe = "(?:$|\\/)"), [
            Pe + ye + xe,
            (0, q.unescape)(ye),
            this.#t = !!this.#t,
            this.#r
          ];
        }
        let ne = this.type === "*" || this.type === "+", k = this.type === "!" ? "(?:(?!(?:" : "(?:", U = this.#v(X);
        if (this.isStart() && this.isEnd() && !U && this.type !== "!") {
          let Te = this.toString();
          return this.#n = [Te], this.type = null, this.#t = void 0, [
            Te,
            (0, q.unescape)(this.toString()),
            !1,
            !1
          ];
        }
        let ee = !ne || W || X || !L ? "" : this.#v(!0);
        ee === U && (ee = ""), ee && (U = `(?:${U})(?:${ee})*?`);
        let Ae = "";
        if (this.type === "!" && this.#h) Ae = (this.isStart() && !X ? L : "") + V;
        else {
          let Te = this.type === "!" ? "))" + (this.isStart() && !X && !W ? L : "") + _e + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && ee ? ")" : this.type === "*" && ee ? ")?" : `)${this.type}`;
          Ae = k + U + Te;
        }
        return [
          Ae,
          (0, q.unescape)(U),
          this.#t = !!this.#t,
          this.#r
        ];
      }
      #v(W) {
        return this.#n.map((X) => {
          if (typeof X == "string") throw new Error("string type in extglob ast??");
          let [ne, k, U, ee] = X.toRegExpSource(W);
          return this.#r = this.#r || ee, ne;
        }).filter((X) => !(this.isStart() && this.isEnd()) || !!X).join("|");
      }
      static #E(W, X, ne = !1) {
        let k = !1, U = "", ee = !1, Ae = !1;
        for (let Te = 0; Te < W.length; Te++) {
          let ye = W.charAt(Te);
          if (k) {
            k = !1, U += (K.has(ye) ? "\\" : "") + ye;
            continue;
          }
          if (ye === "*") {
            if (Ae) continue;
            Ae = !0, U += ne && /^[*]+$/.test(W) ? V : _e, X = !0;
            continue;
          } else Ae = !1;
          if (ye === "\\") {
            Te === W.length - 1 ? U += "\\\\" : k = !0;
            continue;
          }
          if (ye === "[") {
            let [Pe, xe, Me, Ce] = (0, $.parseClass)(W, Te);
            if (Me) {
              U += Pe, ee = ee || xe, Te += Me - 1, X = X || Ce;
              continue;
            }
          }
          if (ye === "?") {
            U += pe, X = !0;
            continue;
          }
          U += oe(ye);
        }
        return [
          U,
          (0, q.unescape)(W),
          !!X,
          ee
        ];
      }
    };
  }), u = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.escape = void 0;
    var $ = (q, { windowsPathsNoEscape: z = !1, magicalBraces: F = !1 } = {}) => F ? z ? q.replace(/[?*()[\]{}]/g, "[$&]") : q.replace(/[?*()[\]\\{}]/g, "\\$&") : z ? q.replace(/[?*()[\]]/g, "[$&]") : q.replace(/[?*()[\]\\]/g, "\\$&");
    I.escape = $;
  }), l = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.unescape = I.escape = I.AST = I.Minimatch = I.match = I.makeRe = I.braceExpand = I.defaults = I.filter = I.GLOBSTAR = I.sep = I.minimatch = void 0;
    var $ = i(), q = s(), z = n(), F = u(), x = o(), L = (te, ce, ue = {}) => ((0, q.assertValidPattern)(ce), !ue.nocomment && ce.charAt(0) === "#" ? !1 : new Z(ce, ue).match(te));
    I.minimatch = L;
    var C = /^\*+([^+@!?\*\[\(]*)$/, N = (te) => (ce) => !ce.startsWith(".") && ce.endsWith(te), K = (te) => (ce) => ce.endsWith(te), oe = (te) => (te = te.toLowerCase(), (ce) => !ce.startsWith(".") && ce.toLowerCase().endsWith(te)), pe = (te) => (te = te.toLowerCase(), (ce) => ce.toLowerCase().endsWith(te)), _e = /^\*+\.\*+$/, V = (te) => !te.startsWith(".") && te.includes("."), B = (te) => te !== "." && te !== ".." && te.includes("."), W = /^\.\*+$/, X = (te) => te !== "." && te !== ".." && te.startsWith("."), ne = /^\*+$/, k = (te) => te.length !== 0 && !te.startsWith("."), U = (te) => te.length !== 0 && te !== "." && te !== "..", ee = /^\?+([^+@!?\*\[\(]*)?$/, Ae = ([te, ce = ""]) => {
      let ue = xe([te]);
      return ce ? (ce = ce.toLowerCase(), (fe) => ue(fe) && fe.toLowerCase().endsWith(ce)) : ue;
    }, Te = ([te, ce = ""]) => {
      let ue = Me([te]);
      return ce ? (ce = ce.toLowerCase(), (fe) => ue(fe) && fe.toLowerCase().endsWith(ce)) : ue;
    }, ye = ([te, ce = ""]) => {
      let ue = Me([te]);
      return ce ? (fe) => ue(fe) && fe.endsWith(ce) : ue;
    }, Pe = ([te, ce = ""]) => {
      let ue = xe([te]);
      return ce ? (fe) => ue(fe) && fe.endsWith(ce) : ue;
    }, xe = ([te]) => {
      let ce = te.length;
      return (ue) => ue.length === ce && !ue.startsWith(".");
    }, Me = ([te]) => {
      let ce = te.length;
      return (ue) => ue.length === ce && ue !== "." && ue !== "..";
    }, Ce = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix", A = {
      win32: { sep: "\\" },
      posix: { sep: "/" }
    };
    I.sep = Ce === "win32" ? A.win32.sep : A.posix.sep, I.minimatch.sep = I.sep, I.GLOBSTAR = /* @__PURE__ */ Symbol("globstar **"), I.minimatch.GLOBSTAR = I.GLOBSTAR;
    var se = "[^/]*?", he = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", de = "(?:(?!(?:\\/|^)\\.).)*?", re = (te, ce = {}) => (ue) => (0, I.minimatch)(ue, te, ce);
    I.filter = re, I.minimatch.filter = I.filter;
    var Q = (te, ce = {}) => Object.assign({}, te, ce), ie = (te) => {
      if (!te || typeof te != "object" || !Object.keys(te).length) return I.minimatch;
      let ce = I.minimatch;
      return Object.assign((ue, fe, we = {}) => ce(ue, fe, Q(te, we)), {
        Minimatch: class extends ce.Minimatch {
          constructor(ue, fe = {}) {
            super(ue, Q(te, fe));
          }
          static defaults(ue) {
            return ce.defaults(Q(te, ue)).Minimatch;
          }
        },
        AST: class extends ce.AST {
          constructor(ue, fe, we = {}) {
            super(ue, fe, Q(te, we));
          }
          static fromGlob(ue, fe = {}) {
            return ce.AST.fromGlob(ue, Q(te, fe));
          }
        },
        unescape: (ue, fe = {}) => ce.unescape(ue, Q(te, fe)),
        escape: (ue, fe = {}) => ce.escape(ue, Q(te, fe)),
        filter: (ue, fe = {}) => ce.filter(ue, Q(te, fe)),
        defaults: (ue) => ce.defaults(Q(te, ue)),
        makeRe: (ue, fe = {}) => ce.makeRe(ue, Q(te, fe)),
        braceExpand: (ue, fe = {}) => ce.braceExpand(ue, Q(te, fe)),
        match: (ue, fe, we = {}) => ce.match(ue, fe, Q(te, we)),
        sep: ce.sep,
        GLOBSTAR: I.GLOBSTAR
      });
    };
    I.defaults = ie, I.minimatch.defaults = I.defaults;
    var ae = (te, ce = {}) => ((0, q.assertValidPattern)(te), ce.nobrace || !/\{(?:(?!\{).)*\}/.test(te) ? [te] : (0, $.expand)(te, { max: ce.braceExpandMax }));
    I.braceExpand = ae, I.minimatch.braceExpand = I.braceExpand;
    var be = (te, ce = {}) => new Z(te, ce).makeRe();
    I.makeRe = be, I.minimatch.makeRe = I.makeRe;
    var Le = (te, ce, ue = {}) => {
      let fe = new Z(ce, ue);
      return te = te.filter((we) => fe.match(we)), fe.options.nonull && !te.length && te.push(ce), te;
    };
    I.match = Le, I.minimatch.match = I.match;
    var De = /[?*]|[+@!]\(.*?\)|\[|\]/, Oe = (te) => te.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), Z = class {
      options;
      set;
      pattern;
      windowsPathsNoEscape;
      nonegate;
      negate;
      comment;
      empty;
      preserveMultipleSlashes;
      partial;
      globSet;
      globParts;
      nocase;
      isWindows;
      platform;
      windowsNoMagicRoot;
      regexp;
      constructor(te, ce = {}) {
        (0, q.assertValidPattern)(te), ce = ce || {}, this.options = ce, this.pattern = te, this.platform = ce.platform || Ce, this.isWindows = this.platform === "win32";
        let ue = "allowWindowsEscape";
        this.windowsPathsNoEscape = !!ce.windowsPathsNoEscape || ce[ue] === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!ce.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!ce.nonegate, this.comment = !1, this.empty = !1, this.partial = !!ce.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = ce.windowsNoMagicRoot !== void 0 ? ce.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 te of this.set) for (let ce of te) if (typeof ce != "string") return !0;
        return !1;
      }
      debug(...te) {
      }
      make() {
        let te = this.pattern, ce = this.options;
        if (!ce.nocomment && te.charAt(0) === "#") {
          this.comment = !0;
          return;
        }
        if (!te) {
          this.empty = !0;
          return;
        }
        this.parseNegate(), this.globSet = [...new Set(this.braceExpand())], ce.debug && (this.debug = (...we) => console.error(...we)), this.debug(this.pattern, this.globSet);
        let ue = this.globSet.map((we) => this.slashSplit(we));
        this.globParts = this.preprocess(ue), this.debug(this.pattern, this.globParts);
        let fe = this.globParts.map((we, Ne, O) => {
          if (this.isWindows && this.windowsNoMagicRoot) {
            let J = we[0] === "" && we[1] === "" && (we[2] === "?" || !De.test(we[2])) && !De.test(we[3]), le = /^[a-z]:/i.test(we[0]);
            if (J) return [...we.slice(0, 4), ...we.slice(4).map((Ee) => this.parse(Ee))];
            if (le) return [we[0], ...we.slice(1).map((Ee) => this.parse(Ee))];
          }
          return we.map((J) => this.parse(J));
        });
        if (this.debug(this.pattern, fe), this.set = fe.filter((we) => we.indexOf(!1) === -1), this.isWindows) for (let we = 0; we < this.set.length; we++) {
          let Ne = this.set[we];
          Ne[0] === "" && Ne[1] === "" && this.globParts[we][2] === "?" && typeof Ne[3] == "string" && /^[a-z]:$/i.test(Ne[3]) && (Ne[2] = "?");
        }
        this.debug(this.pattern, this.set);
      }
      preprocess(te) {
        if (this.options.noglobstar) for (let ue = 0; ue < te.length; ue++) for (let fe = 0; fe < te[ue].length; fe++) te[ue][fe] === "**" && (te[ue][fe] = "*");
        let { optimizationLevel: ce = 1 } = this.options;
        return ce >= 2 ? (te = this.firstPhasePreProcess(te), te = this.secondPhasePreProcess(te)) : ce >= 1 ? te = this.levelOneOptimize(te) : te = this.adjascentGlobstarOptimize(te), te;
      }
      adjascentGlobstarOptimize(te) {
        return te.map((ce) => {
          let ue = -1;
          for (; (ue = ce.indexOf("**", ue + 1)) !== -1; ) {
            let fe = ue;
            for (; ce[fe + 1] === "**"; ) fe++;
            fe !== ue && ce.splice(ue, fe - ue);
          }
          return ce;
        });
      }
      levelOneOptimize(te) {
        return te.map((ce) => (ce = ce.reduce((ue, fe) => {
          let we = ue[ue.length - 1];
          return fe === "**" && we === "**" ? ue : fe === ".." && we && we !== ".." && we !== "." && we !== "**" ? (ue.pop(), ue) : (ue.push(fe), ue);
        }, []), ce.length === 0 ? [""] : ce));
      }
      levelTwoFileOptimize(te) {
        Array.isArray(te) || (te = this.slashSplit(te));
        let ce = !1;
        do {
          if (ce = !1, !this.preserveMultipleSlashes) {
            for (let fe = 1; fe < te.length - 1; fe++) {
              let we = te[fe];
              fe === 1 && we === "" && te[0] === "" || (we === "." || we === "") && (ce = !0, te.splice(fe, 1), fe--);
            }
            te[0] === "." && te.length === 2 && (te[1] === "." || te[1] === "") && (ce = !0, te.pop());
          }
          let ue = 0;
          for (; (ue = te.indexOf("..", ue + 1)) !== -1; ) {
            let fe = te[ue - 1];
            fe && fe !== "." && fe !== ".." && fe !== "**" && (ce = !0, te.splice(ue - 1, 2), ue -= 2);
          }
        } while (ce);
        return te.length === 0 ? [""] : te;
      }
      firstPhasePreProcess(te) {
        let ce = !1;
        do {
          ce = !1;
          for (let ue of te) {
            let fe = -1;
            for (; (fe = ue.indexOf("**", fe + 1)) !== -1; ) {
              let Ne = fe;
              for (; ue[Ne + 1] === "**"; ) Ne++;
              Ne > fe && ue.splice(fe + 1, Ne - fe);
              let O = ue[fe + 1], J = ue[fe + 2], le = ue[fe + 3];
              if (O !== ".." || !J || J === "." || J === ".." || !le || le === "." || le === "..") continue;
              ce = !0, ue.splice(fe, 1);
              let Ee = ue.slice(0);
              Ee[fe] = "**", te.push(Ee), fe--;
            }
            if (!this.preserveMultipleSlashes) {
              for (let Ne = 1; Ne < ue.length - 1; Ne++) {
                let O = ue[Ne];
                Ne === 1 && O === "" && ue[0] === "" || (O === "." || O === "") && (ce = !0, ue.splice(Ne, 1), Ne--);
              }
              ue[0] === "." && ue.length === 2 && (ue[1] === "." || ue[1] === "") && (ce = !0, ue.pop());
            }
            let we = 0;
            for (; (we = ue.indexOf("..", we + 1)) !== -1; ) {
              let Ne = ue[we - 1];
              if (Ne && Ne !== "." && Ne !== ".." && Ne !== "**") {
                ce = !0;
                let O = we === 1 && ue[we + 1] === "**" ? ["."] : [];
                ue.splice(we - 1, 2, ...O), ue.length === 0 && ue.push(""), we -= 2;
              }
            }
          }
        } while (ce);
        return te;
      }
      secondPhasePreProcess(te) {
        for (let ce = 0; ce < te.length - 1; ce++) for (let ue = ce + 1; ue < te.length; ue++) {
          let fe = this.partsMatch(te[ce], te[ue], !this.preserveMultipleSlashes);
          if (fe) {
            te[ce] = [], te[ue] = fe;
            break;
          }
        }
        return te.filter((ce) => ce.length);
      }
      partsMatch(te, ce, ue = !1) {
        let fe = 0, we = 0, Ne = [], O = "";
        for (; fe < te.length && we < ce.length; ) if (te[fe] === ce[we]) Ne.push(O === "b" ? ce[we] : te[fe]), fe++, we++;
        else if (ue && te[fe] === "**" && ce[we] === te[fe + 1]) Ne.push(te[fe]), fe++;
        else if (ue && ce[we] === "**" && te[fe] === ce[we + 1]) Ne.push(ce[we]), we++;
        else if (te[fe] === "*" && ce[we] && (this.options.dot || !ce[we].startsWith(".")) && ce[we] !== "**") {
          if (O === "b") return !1;
          O = "a", Ne.push(te[fe]), fe++, we++;
        } else if (ce[we] === "*" && te[fe] && (this.options.dot || !te[fe].startsWith(".")) && te[fe] !== "**") {
          if (O === "a") return !1;
          O = "b", Ne.push(ce[we]), fe++, we++;
        } else return !1;
        return te.length === ce.length && Ne;
      }
      parseNegate() {
        if (this.nonegate) return;
        let te = this.pattern, ce = !1, ue = 0;
        for (let fe = 0; fe < te.length && te.charAt(fe) === "!"; fe++) ce = !ce, ue++;
        ue && (this.pattern = te.slice(ue)), this.negate = ce;
      }
      matchOne(te, ce, ue = !1) {
        let fe = this.options;
        if (this.isWindows) {
          let Ze = typeof te[0] == "string" && /^[a-z]:$/i.test(te[0]), Xe = !Ze && te[0] === "" && te[1] === "" && te[2] === "?" && /^[a-z]:$/i.test(te[3]), Ke = typeof ce[0] == "string" && /^[a-z]:$/i.test(ce[0]), it = !Ke && ce[0] === "" && ce[1] === "" && ce[2] === "?" && typeof ce[3] == "string" && /^[a-z]:$/i.test(ce[3]), nt = Xe ? 3 : Ze ? 0 : void 0, ht = it ? 3 : Ke ? 0 : void 0;
          if (typeof nt == "number" && typeof ht == "number") {
            let [ut, bt] = [te[nt], ce[ht]];
            ut.toLowerCase() === bt.toLowerCase() && (ce[ht] = ut, ht > nt ? ce = ce.slice(ht) : nt > ht && (te = te.slice(nt)));
          }
        }
        let { optimizationLevel: we = 1 } = this.options;
        we >= 2 && (te = this.levelTwoFileOptimize(te)), this.debug("matchOne", this, {
          file: te,
          pattern: ce
        }), this.debug("matchOne", te.length, ce.length);
        for (var Ne = 0, O = 0, J = te.length, le = ce.length; Ne < J && O < le; Ne++, O++) {
          this.debug("matchOne loop");
          var Ee = ce[O], $e = te[Ne];
          if (this.debug(ce, Ee, $e), Ee === !1) return !1;
          if (Ee === I.GLOBSTAR) {
            this.debug("GLOBSTAR", [
              ce,
              Ee,
              $e
            ]);
            var je = Ne, Ue = O + 1;
            if (Ue === le) {
              for (this.debug("** at the end"); Ne < J; Ne++) if (te[Ne] === "." || te[Ne] === ".." || !fe.dot && te[Ne].charAt(0) === ".") return !1;
              return !0;
            }
            for (; je < J; ) {
              var Ge = te[je];
              if (this.debug(`
globstar while`, te, je, ce, Ue, Ge), this.matchOne(te.slice(je), ce.slice(Ue), ue)) return this.debug("globstar found match!", je, J, Ge), !0;
              if (Ge === "." || Ge === ".." || !fe.dot && Ge.charAt(0) === ".") {
                this.debug("dot detected!", te, je, ce, Ue);
                break;
              }
              this.debug("globstar swallow a segment, and continue"), je++;
            }
            return !!(ue && (this.debug(`
>>> no match, partial?`, te, je, ce, Ue), je === J));
          }
          let Ze;
          if (typeof Ee == "string" ? (Ze = $e === Ee, this.debug("string match", Ee, $e, Ze)) : (Ze = Ee.test($e), this.debug("pattern match", Ee, $e, Ze)), !Ze) return !1;
        }
        if (Ne === J && O === le) return !0;
        if (Ne === J) return ue;
        if (O === le) return Ne === J - 1 && te[Ne] === "";
        throw new Error("wtf?");
      }
      braceExpand() {
        return (0, I.braceExpand)(this.pattern, this.options);
      }
      parse(te) {
        (0, q.assertValidPattern)(te);
        let ce = this.options;
        if (te === "**") return I.GLOBSTAR;
        if (te === "") return "";
        let ue, fe = null;
        (ue = te.match(ne)) ? fe = ce.dot ? U : k : (ue = te.match(C)) ? fe = (ce.nocase ? ce.dot ? pe : oe : ce.dot ? K : N)(ue[1]) : (ue = te.match(ee)) ? fe = (ce.nocase ? ce.dot ? Te : Ae : ce.dot ? ye : Pe)(ue) : (ue = te.match(_e)) ? fe = ce.dot ? B : V : (ue = te.match(W)) && (fe = X);
        let we = z.AST.fromGlob(te, this.options).toMMPattern();
        return fe && typeof we == "object" && Reflect.defineProperty(we, "test", { value: fe }), we;
      }
      makeRe() {
        if (this.regexp || this.regexp === !1) return this.regexp;
        let te = this.set;
        if (!te.length) return this.regexp = !1, this.regexp;
        let ce = this.options, ue = ce.noglobstar ? se : ce.dot ? he : de, fe = new Set(ce.nocase ? ["i"] : []), we = te.map((J) => {
          let le = J.map(($e) => {
            if ($e instanceof RegExp) for (let je of $e.flags.split("")) fe.add(je);
            return typeof $e == "string" ? Oe($e) : $e === I.GLOBSTAR ? I.GLOBSTAR : $e._src;
          });
          le.forEach(($e, je) => {
            let Ue = le[je + 1], Ge = le[je - 1];
            $e !== I.GLOBSTAR || Ge === I.GLOBSTAR || (Ge === void 0 ? Ue !== void 0 && Ue !== I.GLOBSTAR ? le[je + 1] = "(?:\\/|" + ue + "\\/)?" + Ue : le[je] = ue : Ue === void 0 ? le[je - 1] = Ge + "(?:\\/|\\/" + ue + ")?" : Ue !== I.GLOBSTAR && (le[je - 1] = Ge + "(?:\\/|\\/" + ue + "\\/)" + Ue, le[je + 1] = I.GLOBSTAR));
          });
          let Ee = le.filter(($e) => $e !== I.GLOBSTAR);
          if (this.partial && Ee.length >= 1) {
            let $e = [];
            for (let je = 1; je <= Ee.length; je++) $e.push(Ee.slice(0, je).join("/"));
            return "(?:" + $e.join("|") + ")";
          }
          return Ee.join("/");
        }).join("|"), [Ne, O] = te.length > 1 ? ["(?:", ")"] : ["", ""];
        we = "^" + Ne + we + O + "$", this.partial && (we = "^(?:\\/|" + Ne + we.slice(1, -1) + O + ")$"), this.negate && (we = "^(?!" + we + ").+$");
        try {
          this.regexp = new RegExp(we, [...fe].join(""));
        } catch {
          this.regexp = !1;
        }
        return this.regexp;
      }
      slashSplit(te) {
        return this.preserveMultipleSlashes ? te.split("/") : this.isWindows && /^\/\/[^\/]+/.test(te) ? ["", ...te.split(/\/+/)] : te.split(/\/+/);
      }
      match(te, ce = this.partial) {
        if (this.debug("match", te, this.pattern), this.comment) return !1;
        if (this.empty) return te === "";
        if (te === "/" && ce) return !0;
        let ue = this.options;
        this.isWindows && (te = te.split("\\").join("/"));
        let fe = this.slashSplit(te);
        this.debug(this.pattern, "split", fe);
        let we = this.set;
        this.debug(this.pattern, "set", we);
        let Ne = fe[fe.length - 1];
        if (!Ne) for (let O = fe.length - 2; !Ne && O >= 0; O--) Ne = fe[O];
        for (let O = 0; O < we.length; O++) {
          let J = we[O], le = fe;
          if (ue.matchBase && J.length === 1 && (le = [Ne]), this.matchOne(le, J, ce)) return ue.flipNegate ? !0 : !this.negate;
        }
        return ue.flipNegate ? !1 : this.negate;
      }
      static defaults(te) {
        return I.minimatch.defaults(te).Minimatch;
      }
    };
    I.Minimatch = Z;
    var me = n();
    Object.defineProperty(I, "AST", {
      enumerable: !0,
      get: function() {
        return me.AST;
      }
    });
    var Re = u();
    Object.defineProperty(I, "escape", {
      enumerable: !0,
      get: function() {
        return Re.escape;
      }
    });
    var Se = o();
    Object.defineProperty(I, "unescape", {
      enumerable: !0,
      get: function() {
        return Se.unescape;
      }
    }), I.minimatch.AST = z.AST, I.minimatch.Minimatch = Z, I.minimatch.escape = F.escape, I.minimatch.unescape = x.unescape;
  }), f = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.LRUCache = void 0;
    var $ = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, q = /* @__PURE__ */ new Set(), z = typeof process == "object" && process ? process : {}, F = (_e, V, B, W) => {
      typeof z.emitWarning == "function" ? z.emitWarning(_e, V, B, W) : console.error(`[${B}] ${V}: ${_e}`);
    }, x = globalThis.AbortController, L = globalThis.AbortSignal;
    if (typeof x > "u") {
      L = class {
        onabort;
        _onabort = [];
        reason;
        aborted = !1;
        addEventListener(B, W) {
          this._onabort.push(W);
        }
      }, x = class {
        constructor() {
          V();
        }
        signal = new L();
        abort(B) {
          if (!this.signal.aborted) {
            this.signal.reason = B, this.signal.aborted = !0;
            for (let W of this.signal._onabort) W(B);
            this.signal.onabort?.(B);
          }
        }
      };
      let _e = z.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", V = () => {
        _e && (_e = !1, F("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", V));
      };
    }
    var C = (_e) => !q.has(_e), N = (_e) => _e && _e === Math.floor(_e) && _e > 0 && isFinite(_e), K = (_e) => N(_e) ? _e <= Math.pow(2, 8) ? Uint8Array : _e <= Math.pow(2, 16) ? Uint16Array : _e <= Math.pow(2, 32) ? Uint32Array : _e <= Number.MAX_SAFE_INTEGER ? oe : null : null, oe = class extends Array {
      constructor(_e) {
        super(_e), this.fill(0);
      }
    }, pe = class Ei {
      heap;
      length;
      static #e = !1;
      static create(V) {
        let B = K(V);
        if (!B) return [];
        Ei.#e = !0;
        let W = new Ei(V, B);
        return Ei.#e = !1, W;
      }
      constructor(V, B) {
        if (!Ei.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
        this.heap = new B(V), this.length = 0;
      }
      push(V) {
        this.heap[this.length++] = V;
      }
      pop() {
        return this.heap[--this.length];
      }
    };
    I.LRUCache = class If {
      #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;
      #$;
      static unsafeExposeInternals(V) {
        return {
          starts: V.#D,
          ttls: V.#_,
          autopurgeTimers: V.#b,
          sizes: V.#T,
          keyMap: V.#h,
          keyList: V.#l,
          valList: V.#i,
          next: V.#v,
          prev: V.#E,
          get head() {
            return V.#y;
          },
          get tail() {
            return V.#g;
          },
          free: V.#R,
          isBackgroundFetch: (B) => V.#w(B),
          backgroundFetch: (B, W, X, ne) => V.#H(B, W, X, ne),
          moveToTail: (B) => V.#B(B),
          indexes: (B) => V.#C(B),
          rindexes: (B) => V.#I(B),
          isStale: (B) => V.#S(B)
        };
      }
      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(V) {
        let { max: B = 0, ttl: W, ttlResolution: X = 1, ttlAutopurge: ne, updateAgeOnGet: k, updateAgeOnHas: U, allowStale: ee, dispose: Ae, onInsert: Te, disposeAfter: ye, noDisposeOnSet: Pe, noUpdateTTL: xe, maxSize: Me = 0, maxEntrySize: Ce = 0, sizeCalculation: A, fetchMethod: se, memoMethod: he, noDeleteOnFetchRejection: de, noDeleteOnStaleGet: re, allowStaleOnFetchRejection: Q, allowStaleOnFetchAbort: ie, ignoreFetchAbort: ae, perf: be } = V;
        if (be !== void 0 && typeof be?.now != "function") throw new TypeError("perf option must have a now() method if specified");
        if (this.#u = be ?? $, B !== 0 && !N(B)) throw new TypeError("max option must be a nonnegative integer");
        let Le = B ? K(B) : Array;
        if (!Le) throw new Error("invalid max value: " + B);
        if (this.#e = B, this.#t = Me, this.maxEntrySize = Ce || this.#t, this.sizeCalculation = A, 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 (he !== void 0 && typeof he != "function") throw new TypeError("memoMethod must be a function if defined");
        if (this.#f = he, se !== void 0 && typeof se != "function") throw new TypeError("fetchMethod must be a function if specified");
        if (this.#c = se, this.#O = !!se, this.#h = /* @__PURE__ */ new Map(), this.#l = new Array(B).fill(void 0), this.#i = new Array(B).fill(void 0), this.#v = new Le(B), this.#E = new Le(B), this.#y = 0, this.#g = 0, this.#R = pe.create(B), this.#o = 0, this.#p = 0, typeof Ae == "function" && (this.#r = Ae), typeof Te == "function" && (this.#n = Te), typeof ye == "function" ? (this.#s = ye, this.#m = []) : (this.#s = void 0, this.#m = void 0), this.#A = !!this.#r, this.#$ = !!this.#n, this.#a = !!this.#s, this.noDisposeOnSet = !!Pe, this.noUpdateTTL = !!xe, this.noDeleteOnFetchRejection = !!de, this.allowStaleOnFetchRejection = !!Q, this.allowStaleOnFetchAbort = !!ie, this.ignoreFetchAbort = !!ae, this.maxEntrySize !== 0) {
          if (this.#t !== 0 && !N(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
          if (!N(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
          this.#W();
        }
        if (this.allowStale = !!ee, this.noDeleteOnStaleGet = !!re, this.updateAgeOnGet = !!k, this.updateAgeOnHas = !!U, this.ttlResolution = N(X) || X === 0 ? X : 1, this.ttlAutopurge = !!ne, this.ttl = W || 0, this.ttl) {
          if (!N(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
          this.#N();
        }
        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 De = "LRU_CACHE_UNBOUNDED";
          C(De) && (q.add(De), F("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", De, If));
        }
      }
      getRemainingTTL(V) {
        return this.#h.has(V) ? 1 / 0 : 0;
      }
      #N() {
        let V = new oe(this.#e), B = new oe(this.#e);
        this.#_ = V, this.#D = B;
        let W = this.ttlAutopurge ? new Array(this.#e) : void 0;
        this.#b = W, this.#M = (k, U, ee = this.#u.now()) => {
          if (B[k] = U !== 0 ? ee : 0, V[k] = U, W?.[k] && (clearTimeout(W[k]), W[k] = void 0), U !== 0 && W) {
            let Ae = setTimeout(() => {
              this.#S(k) && this.#d(this.#l[k], "expire");
            }, U + 1);
            Ae.unref && Ae.unref(), W[k] = Ae;
          }
        }, this.#k = (k) => {
          B[k] = V[k] !== 0 ? this.#u.now() : 0;
        }, this.#L = (k, U) => {
          if (V[U]) {
            let ee = V[U], Ae = B[U];
            if (!ee || !Ae) return;
            k.ttl = ee, k.start = Ae, k.now = X || ne(), k.remainingTTL = ee - (k.now - Ae);
          }
        };
        let X = 0, ne = () => {
          let k = this.#u.now();
          if (this.ttlResolution > 0) {
            X = k;
            let U = setTimeout(() => X = 0, this.ttlResolution);
            U.unref && U.unref();
          }
          return k;
        };
        this.getRemainingTTL = (k) => {
          let U = this.#h.get(k);
          if (U === void 0) return 0;
          let ee = V[U], Ae = B[U];
          return !ee || !Ae ? 1 / 0 : ee - ((X || ne()) - Ae);
        }, this.#S = (k) => {
          let U = B[k], ee = V[k];
          return !!ee && !!U && (X || ne()) - U > ee;
        };
      }
      #k = () => {
      };
      #L = () => {
      };
      #M = () => {
      };
      #S = () => !1;
      #W() {
        let V = new oe(this.#e);
        this.#p = 0, this.#T = V, this.#x = (B) => {
          this.#p -= V[B], V[B] = 0;
        }, this.#j = (B, W, X, ne) => {
          if (this.#w(W)) return 0;
          if (!N(X)) if (ne) {
            if (typeof ne != "function") throw new TypeError("sizeCalculation must be a function");
            if (X = ne(W, B), !N(X)) 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 X;
        }, this.#P = (B, W, X) => {
          if (V[B] = W, this.#t) {
            let ne = this.#t - V[B];
            for (; this.#p > ne; ) this.#F(!0);
          }
          this.#p += V[B], X && (X.entrySize = W, X.totalCalculatedSize = this.#p);
        };
      }
      #x = (V) => {
      };
      #P = (V, B, W) => {
      };
      #j = (V, B, W, X) => {
        if (W || X) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
        return 0;
      };
      *#C({ allowStale: V = this.allowStale } = {}) {
        if (this.#o) for (let B = this.#g; !(!this.#U(B) || ((V || !this.#S(B)) && (yield B), B === this.#y)); ) B = this.#E[B];
      }
      *#I({ allowStale: V = this.allowStale } = {}) {
        if (this.#o) for (let B = this.#y; !(!this.#U(B) || ((V || !this.#S(B)) && (yield B), B === this.#g)); ) B = this.#v[B];
      }
      #U(V) {
        return V !== void 0 && this.#h.get(this.#l[V]) === V;
      }
      *entries() {
        for (let V of this.#C()) this.#i[V] !== void 0 && this.#l[V] !== void 0 && !this.#w(this.#i[V]) && (yield [this.#l[V], this.#i[V]]);
      }
      *rentries() {
        for (let V of this.#I()) this.#i[V] !== void 0 && this.#l[V] !== void 0 && !this.#w(this.#i[V]) && (yield [this.#l[V], this.#i[V]]);
      }
      *keys() {
        for (let V of this.#C()) {
          let B = this.#l[V];
          B !== void 0 && !this.#w(this.#i[V]) && (yield B);
        }
      }
      *rkeys() {
        for (let V of this.#I()) {
          let B = this.#l[V];
          B !== void 0 && !this.#w(this.#i[V]) && (yield B);
        }
      }
      *values() {
        for (let V of this.#C()) this.#i[V] !== void 0 && !this.#w(this.#i[V]) && (yield this.#i[V]);
      }
      *rvalues() {
        for (let V of this.#I()) this.#i[V] !== void 0 && !this.#w(this.#i[V]) && (yield this.#i[V]);
      }
      [Symbol.iterator]() {
        return this.entries();
      }
      [Symbol.toStringTag] = "LRUCache";
      find(V, B = {}) {
        for (let W of this.#C()) {
          let X = this.#i[W], ne = this.#w(X) ? X.__staleWhileFetching : X;
          if (ne !== void 0 && V(ne, this.#l[W], this)) return this.get(this.#l[W], B);
        }
      }
      forEach(V, B = this) {
        for (let W of this.#C()) {
          let X = this.#i[W], ne = this.#w(X) ? X.__staleWhileFetching : X;
          ne !== void 0 && V.call(B, ne, this.#l[W], this);
        }
      }
      rforEach(V, B = this) {
        for (let W of this.#I()) {
          let X = this.#i[W], ne = this.#w(X) ? X.__staleWhileFetching : X;
          ne !== void 0 && V.call(B, ne, this.#l[W], this);
        }
      }
      purgeStale() {
        let V = !1;
        for (let B of this.#I({ allowStale: !0 })) this.#S(B) && (this.#d(this.#l[B], "expire"), V = !0);
        return V;
      }
      info(V) {
        let B = this.#h.get(V);
        if (B === void 0) return;
        let W = this.#i[B], X = this.#w(W) ? W.__staleWhileFetching : W;
        if (X === void 0) return;
        let ne = { value: X };
        if (this.#_ && this.#D) {
          let k = this.#_[B], U = this.#D[B];
          k && U && (ne.ttl = k - (this.#u.now() - U), ne.start = Date.now());
        }
        return this.#T && (ne.size = this.#T[B]), ne;
      }
      dump() {
        let V = [];
        for (let B of this.#C({ allowStale: !0 })) {
          let W = this.#l[B], X = this.#i[B], ne = this.#w(X) ? X.__staleWhileFetching : X;
          if (ne === void 0 || W === void 0) continue;
          let k = { value: ne };
          if (this.#_ && this.#D) {
            k.ttl = this.#_[B];
            let U = this.#u.now() - this.#D[B];
            k.start = Math.floor(Date.now() - U);
          }
          this.#T && (k.size = this.#T[B]), V.unshift([W, k]);
        }
        return V;
      }
      load(V) {
        this.clear();
        for (let [B, W] of V) {
          if (W.start) {
            let X = Date.now() - W.start;
            W.start = this.#u.now() - X;
          }
          this.set(B, W.value, W);
        }
      }
      set(V, B, W = {}) {
        if (B === void 0) return this.delete(V), this;
        let { ttl: X = this.ttl, start: ne, noDisposeOnSet: k = this.noDisposeOnSet, sizeCalculation: U = this.sizeCalculation, status: ee } = W, { noUpdateTTL: Ae = this.noUpdateTTL } = W, Te = this.#j(V, B, W.size || 0, U);
        if (this.maxEntrySize && Te > this.maxEntrySize) return ee && (ee.set = "miss", ee.maxEntrySizeExceeded = !0), this.#d(V, "set"), this;
        let ye = this.#o === 0 ? void 0 : this.#h.get(V);
        if (ye === void 0) ye = this.#o === 0 ? this.#g : this.#R.length !== 0 ? this.#R.pop() : this.#o === this.#e ? this.#F(!1) : this.#o, this.#l[ye] = V, this.#i[ye] = B, this.#h.set(V, ye), this.#v[this.#g] = ye, this.#E[ye] = this.#g, this.#g = ye, this.#o++, this.#P(ye, Te, ee), ee && (ee.set = "add"), Ae = !1, this.#$ && this.#n?.(B, V, "add");
        else {
          this.#B(ye);
          let Pe = this.#i[ye];
          if (B !== Pe) {
            if (this.#O && this.#w(Pe)) {
              Pe.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
              let { __staleWhileFetching: xe } = Pe;
              xe !== void 0 && !k && (this.#A && this.#r?.(xe, V, "set"), this.#a && this.#m?.push([
                xe,
                V,
                "set"
              ]));
            } else k || (this.#A && this.#r?.(Pe, V, "set"), this.#a && this.#m?.push([
              Pe,
              V,
              "set"
            ]));
            if (this.#x(ye), this.#P(ye, Te, ee), this.#i[ye] = B, ee) {
              ee.set = "replace";
              let xe = Pe && this.#w(Pe) ? Pe.__staleWhileFetching : Pe;
              xe !== void 0 && (ee.oldValue = xe);
            }
          } else ee && (ee.set = "update");
          this.#$ && this.onInsert?.(B, V, B === Pe ? "update" : "replace");
        }
        if (X !== 0 && !this.#_ && this.#N(), this.#_ && (Ae || this.#M(ye, X, ne), ee && this.#L(ee, ye)), !k && this.#a && this.#m) {
          let Pe = this.#m, xe;
          for (; xe = Pe?.shift(); ) this.#s?.(...xe);
        }
        return this;
      }
      pop() {
        try {
          for (; this.#o; ) {
            let V = this.#i[this.#y];
            if (this.#F(!0), this.#w(V)) {
              if (V.__staleWhileFetching) return V.__staleWhileFetching;
            } else if (V !== void 0) return V;
          }
        } finally {
          if (this.#a && this.#m) {
            let V = this.#m, B;
            for (; B = V?.shift(); ) this.#s?.(...B);
          }
        }
      }
      #F(V) {
        let B = this.#y, W = this.#l[B], X = this.#i[B];
        return this.#O && this.#w(X) ? X.__abortController.abort(/* @__PURE__ */ new Error("evicted")) : (this.#A || this.#a) && (this.#A && this.#r?.(X, W, "evict"), this.#a && this.#m?.push([
          X,
          W,
          "evict"
        ])), this.#x(B), this.#b?.[B] && (clearTimeout(this.#b[B]), this.#b[B] = void 0), V && (this.#l[B] = void 0, this.#i[B] = void 0, this.#R.push(B)), this.#o === 1 ? (this.#y = this.#g = 0, this.#R.length = 0) : this.#y = this.#v[B], this.#h.delete(W), this.#o--, B;
      }
      has(V, B = {}) {
        let { updateAgeOnHas: W = this.updateAgeOnHas, status: X } = B, ne = this.#h.get(V);
        if (ne !== void 0) {
          let k = this.#i[ne];
          if (this.#w(k) && k.__staleWhileFetching === void 0) return !1;
          if (this.#S(ne)) X && (X.has = "stale", this.#L(X, ne));
          else return W && this.#k(ne), X && (X.has = "hit", this.#L(X, ne)), !0;
        } else X && (X.has = "miss");
        return !1;
      }
      peek(V, B = {}) {
        let { allowStale: W = this.allowStale } = B, X = this.#h.get(V);
        if (X === void 0 || !W && this.#S(X)) return;
        let ne = this.#i[X];
        return this.#w(ne) ? ne.__staleWhileFetching : ne;
      }
      #H(V, B, W, X) {
        let ne = B === void 0 ? void 0 : this.#i[B];
        if (this.#w(ne)) return ne;
        let k = new x(), { signal: U } = W;
        U?.addEventListener("abort", () => k.abort(U.reason), { signal: k.signal });
        let ee = {
          signal: k.signal,
          options: W,
          context: X
        }, Ae = (Ce, A = !1) => {
          let { aborted: se } = k.signal, he = W.ignoreFetchAbort && Ce !== void 0, de = W.ignoreFetchAbort || !!(W.allowStaleOnFetchAbort && Ce !== void 0);
          if (W.status && (se && !A ? (W.status.fetchAborted = !0, W.status.fetchError = k.signal.reason, he && (W.status.fetchAbortIgnored = !0)) : W.status.fetchResolved = !0), se && !he && !A) return ye(k.signal.reason, de);
          let re = xe, Q = this.#i[B];
          return (Q === xe || he && A && Q === void 0) && (Ce === void 0 ? re.__staleWhileFetching !== void 0 ? this.#i[B] = re.__staleWhileFetching : this.#d(V, "fetch") : (W.status && (W.status.fetchUpdated = !0), this.set(V, Ce, ee.options))), Ce;
        }, Te = (Ce) => (W.status && (W.status.fetchRejected = !0, W.status.fetchError = Ce), ye(Ce, !1)), ye = (Ce, A) => {
          let { aborted: se } = k.signal, he = se && W.allowStaleOnFetchAbort, de = he || W.allowStaleOnFetchRejection, re = de || W.noDeleteOnFetchRejection, Q = xe;
          if (this.#i[B] === xe && (!re || !A && Q.__staleWhileFetching === void 0 ? this.#d(V, "fetch") : he || (this.#i[B] = Q.__staleWhileFetching)), de) return W.status && Q.__staleWhileFetching !== void 0 && (W.status.returnedStale = !0), Q.__staleWhileFetching;
          if (Q.__returned === Q) throw Ce;
        }, Pe = (Ce, A) => {
          let se = this.#c?.(V, ne, ee);
          se && se instanceof Promise && se.then((he) => Ce(he === void 0 ? void 0 : he), A), k.signal.addEventListener("abort", () => {
            (!W.ignoreFetchAbort || W.allowStaleOnFetchAbort) && (Ce(void 0), W.allowStaleOnFetchAbort && (Ce = (he) => Ae(he, !0)));
          });
        };
        W.status && (W.status.fetchDispatched = !0);
        let xe = new Promise(Pe).then(Ae, Te), Me = Object.assign(xe, {
          __abortController: k,
          __staleWhileFetching: ne,
          __returned: void 0
        });
        return B === void 0 ? (this.set(V, Me, {
          ...ee.options,
          status: void 0
        }), B = this.#h.get(V)) : this.#i[B] = Me, Me;
      }
      #w(V) {
        if (!this.#O) return !1;
        let B = V;
        return !!B && B instanceof Promise && B.hasOwnProperty("__staleWhileFetching") && B.__abortController instanceof x;
      }
      async fetch(V, B = {}) {
        let { allowStale: W = this.allowStale, updateAgeOnGet: X = this.updateAgeOnGet, noDeleteOnStaleGet: ne = this.noDeleteOnStaleGet, ttl: k = this.ttl, noDisposeOnSet: U = this.noDisposeOnSet, size: ee = 0, sizeCalculation: Ae = this.sizeCalculation, noUpdateTTL: Te = this.noUpdateTTL, noDeleteOnFetchRejection: ye = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: Pe = this.allowStaleOnFetchRejection, ignoreFetchAbort: xe = this.ignoreFetchAbort, allowStaleOnFetchAbort: Me = this.allowStaleOnFetchAbort, context: Ce, forceRefresh: A = !1, status: se, signal: he } = B;
        if (!this.#O) return se && (se.fetch = "get"), this.get(V, {
          allowStale: W,
          updateAgeOnGet: X,
          noDeleteOnStaleGet: ne,
          status: se
        });
        let de = {
          allowStale: W,
          updateAgeOnGet: X,
          noDeleteOnStaleGet: ne,
          ttl: k,
          noDisposeOnSet: U,
          size: ee,
          sizeCalculation: Ae,
          noUpdateTTL: Te,
          noDeleteOnFetchRejection: ye,
          allowStaleOnFetchRejection: Pe,
          allowStaleOnFetchAbort: Me,
          ignoreFetchAbort: xe,
          status: se,
          signal: he
        }, re = this.#h.get(V);
        if (re === void 0) {
          se && (se.fetch = "miss");
          let Q = this.#H(V, re, de, Ce);
          return Q.__returned = Q;
        } else {
          let Q = this.#i[re];
          if (this.#w(Q)) {
            let Le = W && Q.__staleWhileFetching !== void 0;
            return se && (se.fetch = "inflight", Le && (se.returnedStale = !0)), Le ? Q.__staleWhileFetching : Q.__returned = Q;
          }
          let ie = this.#S(re);
          if (!A && !ie) return se && (se.fetch = "hit"), this.#B(re), X && this.#k(re), se && this.#L(se, re), Q;
          let ae = this.#H(V, re, de, Ce), be = ae.__staleWhileFetching !== void 0 && W;
          return se && (se.fetch = ie ? "stale" : "refresh", be && ie && (se.returnedStale = !0)), be ? ae.__staleWhileFetching : ae.__returned = ae;
        }
      }
      async forceFetch(V, B = {}) {
        let W = await this.fetch(V, B);
        if (W === void 0) throw new Error("fetch() returned undefined");
        return W;
      }
      memo(V, B = {}) {
        let W = this.#f;
        if (!W) throw new Error("no memoMethod provided to constructor");
        let { context: X, forceRefresh: ne, ...k } = B, U = this.get(V, k);
        if (!ne && U !== void 0) return U;
        let ee = W(V, U, {
          options: k,
          context: X
        });
        return this.set(V, ee, k), ee;
      }
      get(V, B = {}) {
        let { allowStale: W = this.allowStale, updateAgeOnGet: X = this.updateAgeOnGet, noDeleteOnStaleGet: ne = this.noDeleteOnStaleGet, status: k } = B, U = this.#h.get(V);
        if (U !== void 0) {
          let ee = this.#i[U], Ae = this.#w(ee);
          return k && this.#L(k, U), this.#S(U) ? (k && (k.get = "stale"), Ae ? (k && W && ee.__staleWhileFetching !== void 0 && (k.returnedStale = !0), W ? ee.__staleWhileFetching : void 0) : (ne || this.#d(V, "expire"), k && W && (k.returnedStale = !0), W ? ee : void 0)) : (k && (k.get = "hit"), Ae ? ee.__staleWhileFetching : (this.#B(U), X && this.#k(U), ee));
        } else k && (k.get = "miss");
      }
      #q(V, B) {
        this.#E[B] = V, this.#v[V] = B;
      }
      #B(V) {
        V !== this.#g && (V === this.#y ? this.#y = this.#v[V] : this.#q(this.#E[V], this.#v[V]), this.#q(this.#g, V), this.#g = V);
      }
      delete(V) {
        return this.#d(V, "delete");
      }
      #d(V, B) {
        let W = !1;
        if (this.#o !== 0) {
          let X = this.#h.get(V);
          if (X !== void 0) if (this.#b?.[X] && (clearTimeout(this.#b?.[X]), this.#b[X] = void 0), W = !0, this.#o === 1) this.#G(B);
          else {
            this.#x(X);
            let ne = this.#i[X];
            if (this.#w(ne) ? ne.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#a) && (this.#A && this.#r?.(ne, V, B), this.#a && this.#m?.push([
              ne,
              V,
              B
            ])), this.#h.delete(V), this.#l[X] = void 0, this.#i[X] = void 0, X === this.#g) this.#g = this.#E[X];
            else if (X === this.#y) this.#y = this.#v[X];
            else {
              let k = this.#E[X];
              this.#v[k] = this.#v[X];
              let U = this.#v[X];
              this.#E[U] = this.#E[X];
            }
            this.#o--, this.#R.push(X);
          }
        }
        if (this.#a && this.#m?.length) {
          let X = this.#m, ne;
          for (; ne = X?.shift(); ) this.#s?.(...ne);
        }
        return W;
      }
      clear() {
        return this.#G("delete");
      }
      #G(V) {
        for (let B of this.#I({ allowStale: !0 })) {
          let W = this.#i[B];
          if (this.#w(W)) W.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
          else {
            let X = this.#l[B];
            this.#A && this.#r?.(W, X, V), this.#a && this.#m?.push([
              W,
              X,
              V
            ]);
          }
        }
        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 B of this.#b ?? []) B !== void 0 && clearTimeout(B);
          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 B = this.#m, W;
          for (; W = B?.shift(); ) this.#s?.(...W);
        }
      }
    };
  }), a = t((I) => {
    "use strict";
    var $ = I && I.__importDefault || function(O) {
      return O && O.__esModule ? O : { default: O };
    };
    Object.defineProperty(I, "__esModule", { value: !0 }), I.Minipass = I.isWritable = I.isReadable = I.isStream = void 0;
    var q = typeof process == "object" && process ? process : {
      stdout: null,
      stderr: null
    }, z = ge("node:events"), F = $(ge("node:stream")), x = ge("node:string_decoder"), L = (O) => !!O && typeof O == "object" && (O instanceof Ne || O instanceof F.default || (0, I.isReadable)(O) || (0, I.isWritable)(O));
    I.isStream = L;
    var C = (O) => !!O && typeof O == "object" && O instanceof z.EventEmitter && typeof O.pipe == "function" && O.pipe !== F.default.Writable.prototype.pipe;
    I.isReadable = C;
    var N = (O) => !!O && typeof O == "object" && O instanceof z.EventEmitter && typeof O.write == "function" && typeof O.end == "function";
    I.isWritable = N;
    var K = /* @__PURE__ */ Symbol("EOF"), oe = /* @__PURE__ */ Symbol("maybeEmitEnd"), pe = /* @__PURE__ */ Symbol("emittedEnd"), _e = /* @__PURE__ */ Symbol("emittingEnd"), V = /* @__PURE__ */ Symbol("emittedError"), B = /* @__PURE__ */ Symbol("closed"), W = /* @__PURE__ */ Symbol("read"), X = /* @__PURE__ */ Symbol("flush"), ne = /* @__PURE__ */ Symbol("flushChunk"), k = /* @__PURE__ */ Symbol("encoding"), U = /* @__PURE__ */ Symbol("decoder"), ee = /* @__PURE__ */ Symbol("flowing"), Ae = /* @__PURE__ */ Symbol("paused"), Te = /* @__PURE__ */ Symbol("resume"), ye = /* @__PURE__ */ Symbol("buffer"), Pe = /* @__PURE__ */ Symbol("pipes"), xe = /* @__PURE__ */ Symbol("bufferLength"), Me = /* @__PURE__ */ Symbol("bufferPush"), Ce = /* @__PURE__ */ Symbol("bufferShift"), A = /* @__PURE__ */ Symbol("objectMode"), se = /* @__PURE__ */ Symbol("destroyed"), he = /* @__PURE__ */ Symbol("error"), de = /* @__PURE__ */ Symbol("emitData"), re = /* @__PURE__ */ Symbol("emitEnd"), Q = /* @__PURE__ */ Symbol("emitEnd2"), ie = /* @__PURE__ */ Symbol("async"), ae = /* @__PURE__ */ Symbol("abort"), be = /* @__PURE__ */ Symbol("aborted"), Le = /* @__PURE__ */ Symbol("signal"), De = /* @__PURE__ */ Symbol("dataListeners"), Oe = /* @__PURE__ */ Symbol("discarded"), Z = (O) => Promise.resolve().then(O), me = (O) => O(), Re = (O) => O === "end" || O === "finish" || O === "prefinish", Se = (O) => O instanceof ArrayBuffer || !!O && typeof O == "object" && O.constructor && O.constructor.name === "ArrayBuffer" && O.byteLength >= 0, te = (O) => !Buffer.isBuffer(O) && ArrayBuffer.isView(O), ce = class {
      src;
      dest;
      opts;
      ondrain;
      constructor(O, J, le) {
        this.src = O, this.dest = J, this.opts = le, this.ondrain = () => O[Te](), this.dest.on("drain", this.ondrain);
      }
      unpipe() {
        this.dest.removeListener("drain", this.ondrain);
      }
      proxyErrors(O) {
      }
      end() {
        this.unpipe(), this.opts.end && this.dest.end();
      }
    }, ue = class extends ce {
      unpipe() {
        this.src.removeListener("error", this.proxyErrors), super.unpipe();
      }
      constructor(O, J, le) {
        super(O, J, le), this.proxyErrors = (Ee) => this.dest.emit("error", Ee), O.on("error", this.proxyErrors);
      }
    }, fe = (O) => !!O.objectMode, we = (O) => !O.objectMode && !!O.encoding && O.encoding !== "buffer", Ne = class extends z.EventEmitter {
      [ee] = !1;
      [Ae] = !1;
      [Pe] = [];
      [ye] = [];
      [A];
      [k];
      [ie];
      [U];
      [K] = !1;
      [pe] = !1;
      [_e] = !1;
      [B] = !1;
      [V] = null;
      [xe] = 0;
      [se] = !1;
      [Le];
      [be] = !1;
      [De] = 0;
      [Oe] = !1;
      writable = !0;
      readable = !0;
      constructor(...O) {
        let J = O[0] || {};
        if (super(), J.objectMode && typeof J.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
        fe(J) ? (this[A] = !0, this[k] = null) : we(J) ? (this[k] = J.encoding, this[A] = !1) : (this[A] = !1, this[k] = null), this[ie] = !!J.async, this[U] = this[k] ? new x.StringDecoder(this[k]) : null, J && J.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[ye] }), J && J.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[Pe] });
        let { signal: le } = J;
        le && (this[Le] = le, le.aborted ? this[ae]() : le.addEventListener("abort", () => this[ae]()));
      }
      get bufferLength() {
        return this[xe];
      }
      get encoding() {
        return this[k];
      }
      set encoding(O) {
        throw new Error("Encoding must be set at instantiation time");
      }
      setEncoding(O) {
        throw new Error("Encoding must be set at instantiation time");
      }
      get objectMode() {
        return this[A];
      }
      set objectMode(O) {
        throw new Error("objectMode must be set at instantiation time");
      }
      get async() {
        return this[ie];
      }
      set async(O) {
        this[ie] = this[ie] || !!O;
      }
      [ae]() {
        this[be] = !0, this.emit("abort", this[Le]?.reason), this.destroy(this[Le]?.reason);
      }
      get aborted() {
        return this[be];
      }
      set aborted(O) {
      }
      write(O, J, le) {
        if (this[be]) return !1;
        if (this[K]) throw new Error("write after end");
        if (this[se]) 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" && (le = J, J = "utf8"), J || (J = "utf8");
        let Ee = this[ie] ? Z : me;
        if (!this[A] && !Buffer.isBuffer(O)) {
          if (te(O)) O = Buffer.from(O.buffer, O.byteOffset, O.byteLength);
          else if (Se(O)) O = Buffer.from(O);
          else if (typeof O != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
        }
        return this[A] ? (this[ee] && this[xe] !== 0 && this[X](!0), this[ee] ? this.emit("data", O) : this[Me](O), this[xe] !== 0 && this.emit("readable"), le && Ee(le), this[ee]) : O.length ? (typeof O == "string" && !(J === this[k] && !this[U]?.lastNeed) && (O = Buffer.from(O, J)), Buffer.isBuffer(O) && this[k] && (O = this[U].write(O)), this[ee] && this[xe] !== 0 && this[X](!0), this[ee] ? this.emit("data", O) : this[Me](O), this[xe] !== 0 && this.emit("readable"), le && Ee(le), this[ee]) : (this[xe] !== 0 && this.emit("readable"), le && Ee(le), this[ee]);
      }
      read(O) {
        if (this[se]) return null;
        if (this[Oe] = !1, this[xe] === 0 || O === 0 || O && O > this[xe]) return this[oe](), null;
        this[A] && (O = null), this[ye].length > 1 && !this[A] && (this[ye] = [this[k] ? this[ye].join("") : Buffer.concat(this[ye], this[xe])]);
        let J = this[W](O || null, this[ye][0]);
        return this[oe](), J;
      }
      [W](O, J) {
        if (this[A]) this[Ce]();
        else {
          let le = J;
          O === le.length || O === null ? this[Ce]() : typeof le == "string" ? (this[ye][0] = le.slice(O), J = le.slice(0, O), this[xe] -= O) : (this[ye][0] = le.subarray(O), J = le.subarray(0, O), this[xe] -= O);
        }
        return this.emit("data", J), !this[ye].length && !this[K] && this.emit("drain"), J;
      }
      end(O, J, le) {
        return typeof O == "function" && (le = O, O = void 0), typeof J == "function" && (le = J, J = "utf8"), O !== void 0 && this.write(O, J), le && this.once("end", le), this[K] = !0, this.writable = !1, (this[ee] || !this[Ae]) && this[oe](), this;
      }
      [Te]() {
        this[se] || (!this[De] && !this[Pe].length && (this[Oe] = !0), this[Ae] = !1, this[ee] = !0, this.emit("resume"), this[ye].length ? this[X]() : this[K] ? this[oe]() : this.emit("drain"));
      }
      resume() {
        return this[Te]();
      }
      pause() {
        this[ee] = !1, this[Ae] = !0, this[Oe] = !1;
      }
      get destroyed() {
        return this[se];
      }
      get flowing() {
        return this[ee];
      }
      get paused() {
        return this[Ae];
      }
      [Me](O) {
        this[A] ? this[xe] += 1 : this[xe] += O.length, this[ye].push(O);
      }
      [Ce]() {
        return this[A] ? this[xe] -= 1 : this[xe] -= this[ye][0].length, this[ye].shift();
      }
      [X](O = !1) {
        do
          ;
        while (this[ne](this[Ce]()) && this[ye].length);
        !O && !this[ye].length && !this[K] && this.emit("drain");
      }
      [ne](O) {
        return this.emit("data", O), this[ee];
      }
      pipe(O, J) {
        if (this[se]) return O;
        this[Oe] = !1;
        let le = this[pe];
        return J = J || {}, O === q.stdout || O === q.stderr ? J.end = !1 : J.end = J.end !== !1, J.proxyErrors = !!J.proxyErrors, le ? J.end && O.end() : (this[Pe].push(J.proxyErrors ? new ue(this, O, J) : new ce(this, O, J)), this[ie] ? Z(() => this[Te]()) : this[Te]()), O;
      }
      unpipe(O) {
        let J = this[Pe].find((le) => le.dest === O);
        J && (this[Pe].length === 1 ? (this[ee] && this[De] === 0 && (this[ee] = !1), this[Pe] = []) : this[Pe].splice(this[Pe].indexOf(J), 1), J.unpipe());
      }
      addListener(O, J) {
        return this.on(O, J);
      }
      on(O, J) {
        let le = super.on(O, J);
        if (O === "data") this[Oe] = !1, this[De]++, !this[Pe].length && !this[ee] && this[Te]();
        else if (O === "readable" && this[xe] !== 0) super.emit("readable");
        else if (Re(O) && this[pe]) super.emit(O), this.removeAllListeners(O);
        else if (O === "error" && this[V]) {
          let Ee = J;
          this[ie] ? Z(() => Ee.call(this, this[V])) : Ee.call(this, this[V]);
        }
        return le;
      }
      removeListener(O, J) {
        return this.off(O, J);
      }
      off(O, J) {
        let le = super.off(O, J);
        return O === "data" && (this[De] = this.listeners("data").length, this[De] === 0 && !this[Oe] && !this[Pe].length && (this[ee] = !1)), le;
      }
      removeAllListeners(O) {
        let J = super.removeAllListeners(O);
        return (O === "data" || O === void 0) && (this[De] = 0, !this[Oe] && !this[Pe].length && (this[ee] = !1)), J;
      }
      get emittedEnd() {
        return this[pe];
      }
      [oe]() {
        !this[_e] && !this[pe] && !this[se] && this[ye].length === 0 && this[K] && (this[_e] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[B] && this.emit("close"), this[_e] = !1);
      }
      emit(O, ...J) {
        let le = J[0];
        if (O !== "error" && O !== "close" && O !== se && this[se]) return !1;
        if (O === "data") return !this[A] && !le ? !1 : this[ie] ? (Z(() => this[de](le)), !0) : this[de](le);
        if (O === "end") return this[re]();
        if (O === "close") {
          if (this[B] = !0, !this[pe] && !this[se]) return !1;
          let $e = super.emit("close");
          return this.removeAllListeners("close"), $e;
        } else if (O === "error") {
          this[V] = le, super.emit(he, le);
          let $e = !this[Le] || this.listeners("error").length ? super.emit("error", le) : !1;
          return this[oe](), $e;
        } else if (O === "resume") {
          let $e = super.emit("resume");
          return this[oe](), $e;
        } else if (O === "finish" || O === "prefinish") {
          let $e = super.emit(O);
          return this.removeAllListeners(O), $e;
        }
        let Ee = super.emit(O, ...J);
        return this[oe](), Ee;
      }
      [de](O) {
        for (let le of this[Pe]) le.dest.write(O) === !1 && this.pause();
        let J = this[Oe] ? !1 : super.emit("data", O);
        return this[oe](), J;
      }
      [re]() {
        return this[pe] ? !1 : (this[pe] = !0, this.readable = !1, this[ie] ? (Z(() => this[Q]()), !0) : this[Q]());
      }
      [Q]() {
        if (this[U]) {
          let J = this[U].end();
          if (J) {
            for (let le of this[Pe]) le.dest.write(J);
            this[Oe] || super.emit("data", J);
          }
        }
        for (let J of this[Pe]) J.end();
        let O = super.emit("end");
        return this.removeAllListeners("end"), O;
      }
      async collect() {
        let O = Object.assign([], { dataLength: 0 });
        this[A] || (O.dataLength = 0);
        let J = this.promise();
        return this.on("data", (le) => {
          O.push(le), this[A] || (O.dataLength += le.length);
        }), await J, O;
      }
      async concat() {
        if (this[A]) throw new Error("cannot concat in objectMode");
        let O = await this.collect();
        return this[k] ? O.join("") : Buffer.concat(O, O.dataLength);
      }
      async promise() {
        return new Promise((O, J) => {
          this.on(se, () => J(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (le) => J(le)), this.on("end", () => O());
        });
      }
      [Symbol.asyncIterator]() {
        this[Oe] = !1;
        let O = !1, J = async () => (this.pause(), O = !0, {
          value: void 0,
          done: !0
        });
        return {
          next: () => {
            if (O) return J();
            let le = this.read();
            if (le !== null) return Promise.resolve({
              done: !1,
              value: le
            });
            if (this[K]) return J();
            let Ee, $e, je = (Xe) => {
              this.off("data", Ue), this.off("end", Ge), this.off(se, Ze), J(), $e(Xe);
            }, Ue = (Xe) => {
              this.off("error", je), this.off("end", Ge), this.off(se, Ze), this.pause(), Ee({
                value: Xe,
                done: !!this[K]
              });
            }, Ge = () => {
              this.off("error", je), this.off("data", Ue), this.off(se, Ze), J(), Ee({
                done: !0,
                value: void 0
              });
            }, Ze = () => je(/* @__PURE__ */ new Error("stream destroyed"));
            return new Promise((Xe, Ke) => {
              $e = Ke, Ee = Xe, this.once(se, Ze), this.once("error", je), this.once("end", Ge), this.once("data", Ue);
            });
          },
          throw: J,
          return: J,
          [Symbol.asyncIterator]() {
            return this;
          },
          [Symbol.asyncDispose]: async () => {
          }
        };
      }
      [Symbol.iterator]() {
        this[Oe] = !1;
        let O = !1, J = () => (this.pause(), this.off(he, J), this.off(se, J), this.off("end", J), O = !0, {
          done: !0,
          value: void 0
        }), le = () => {
          if (O) return J();
          let Ee = this.read();
          return Ee === null ? J() : {
            done: !1,
            value: Ee
          };
        };
        return this.once("end", J), this.once(he, J), this.once(se, J), {
          next: le,
          throw: J,
          return: J,
          [Symbol.iterator]() {
            return this;
          },
          [Symbol.dispose]: () => {
          }
        };
      }
      destroy(O) {
        if (this[se]) return O ? this.emit("error", O) : this.emit(se), this;
        this[se] = !0, this[Oe] = !0, this[ye].length = 0, this[xe] = 0;
        let J = this;
        return typeof J.close == "function" && !this[B] && J.close(), O ? this.emit("error", O) : this.emit(se), this;
      }
      static get isStream() {
        return I.isStream;
      }
    };
    I.Minipass = Ne;
  }), c = t((I) => {
    "use strict";
    var $ = I && I.__createBinding || (Object.create ? (function(O, J, le, Ee) {
      Ee === void 0 && (Ee = le);
      var $e = Object.getOwnPropertyDescriptor(J, le);
      (!$e || ("get" in $e ? !J.__esModule : $e.writable || $e.configurable)) && ($e = {
        enumerable: !0,
        get: function() {
          return J[le];
        }
      }), Object.defineProperty(O, Ee, $e);
    }) : (function(O, J, le, Ee) {
      Ee === void 0 && (Ee = le), O[Ee] = J[le];
    })), q = I && I.__setModuleDefault || (Object.create ? (function(O, J) {
      Object.defineProperty(O, "default", {
        enumerable: !0,
        value: J
      });
    }) : function(O, J) {
      O.default = J;
    }), z = I && I.__importStar || function(O) {
      if (O && O.__esModule) return O;
      var J = {};
      if (O != null) for (var le in O) le !== "default" && Object.prototype.hasOwnProperty.call(O, le) && $(J, O, le);
      return q(J, O), J;
    };
    Object.defineProperty(I, "__esModule", { value: !0 }), I.PathScurry = I.Path = I.PathScurryDarwin = I.PathScurryPosix = I.PathScurryWin32 = I.PathScurryBase = I.PathPosix = I.PathWin32 = I.PathBase = I.ChildrenCache = I.ResolveCache = void 0;
    var F = f(), x = ge("node:path"), L = ge("node:url"), C = ge("fs"), N = z(ge("node:fs")), K = C.realpathSync.native, oe = ge("node:fs/promises"), pe = a(), _e = {
      lstatSync: C.lstatSync,
      readdir: C.readdir,
      readdirSync: C.readdirSync,
      readlinkSync: C.readlinkSync,
      realpathSync: K,
      promises: {
        lstat: oe.lstat,
        readdir: oe.readdir,
        readlink: oe.readlink,
        realpath: oe.realpath
      }
    }, V = (O) => !O || O === _e || O === N ? _e : {
      ..._e,
      ...O,
      promises: {
        ..._e.promises,
        ...O.promises || {}
      }
    }, B = /^\\\\\?\\([a-z]:)\\?$/i, W = (O) => O.replace(/\//g, "\\").replace(B, "$1\\"), X = /[\\\/]/, ne = 0, k = 1, U = 2, ee = 4, Ae = 6, Te = 8, ye = 10, Pe = 12, xe = 15, Me = ~xe, Ce = 16, A = 32, se = 64, he = 128, de = 256, re = 512, Q = se | he | re, ie = 1023, ae = (O) => O.isFile() ? Te : O.isDirectory() ? ee : O.isSymbolicLink() ? ye : O.isCharacterDevice() ? U : O.isBlockDevice() ? Ae : O.isSocket() ? Pe : O.isFIFO() ? k : ne, be = new F.LRUCache({ max: 2 ** 12 }), Le = (O) => {
      let J = be.get(O);
      if (J) return J;
      let le = O.normalize("NFKD");
      return be.set(O, le), le;
    }, De = new F.LRUCache({ max: 2 ** 12 }), Oe = (O) => {
      let J = De.get(O);
      if (J) return J;
      let le = Le(O.toLowerCase());
      return De.set(O, le), le;
    }, Z = class extends F.LRUCache {
      constructor() {
        super({ max: 256 });
      }
    };
    I.ResolveCache = Z;
    var me = class extends F.LRUCache {
      constructor(O = 16 * 1024) {
        super({
          maxSize: O,
          sizeCalculation: (J) => J.length + 1
        });
      }
    };
    I.ChildrenCache = me;
    var Re = /* @__PURE__ */ Symbol("PathScurry setAsCwd"), Se = 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;
      #$;
      #N;
      #k;
      get parentPath() {
        return (this.parent || this).fullpath();
      }
      get path() {
        return this.parentPath;
      }
      constructor(O, J = ne, le, Ee, $e, je, Ue) {
        this.name = O, this.#T = $e ? Oe(O) : Le(O), this.#a = J & ie, this.nocase = $e, this.roots = Ee, this.root = le || this, this.#$ = 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 = V(Ue.fs);
      }
      depth() {
        return this.#D !== void 0 ? this.#D : this.parent ? this.#D = this.parent.depth() + 1 : this.#D = 0;
      }
      childrenCache() {
        return this.#$;
      }
      resolve(O) {
        if (!O) return this;
        let J = this.getRootString(O), le = O.substring(J.length).split(this.splitSep);
        return J ? this.getRoot(J).#L(le) : this.#L(le);
      }
      #L(O) {
        let J = this;
        for (let le of O) J = J.child(le);
        return J;
      }
      children() {
        let O = this.#$.get(this);
        if (O) return O;
        let J = Object.assign([], { provisional: 0 });
        return this.#$.set(this, J), this.#a &= ~Ce, J;
      }
      child(O, J) {
        if (O === "" || O === ".") return this;
        if (O === "..") return this.parent || this;
        let le = this.children(), Ee = this.nocase ? Oe(O) : Le(O);
        for (let Ge of le) if (Ge.#T === Ee) return Ge;
        let $e = this.parent ? this.sep : "", je = this.#_ ? this.#_ + $e + O : void 0, Ue = this.newChild(O, ne, {
          ...J,
          parent: this,
          fullpath: je
        });
        return this.canReaddir() || (Ue.#a |= he), le.push(Ue), Ue;
      }
      relative() {
        if (this.isCWD) return "";
        if (this.#A !== void 0) return this.#A;
        let O = this.name, J = this.parent;
        if (!J) return this.#A = this.name;
        let le = J.relative();
        return le + (!le || !J.parent ? "" : this.sep) + O;
      }
      relativePosix() {
        if (this.sep === "/") return this.relative();
        if (this.isCWD) return "";
        if (this.#O !== void 0) return this.#O;
        let O = this.name, J = this.parent;
        if (!J) return this.#O = this.fullpathPosix();
        let le = J.relativePosix();
        return le + (!le || !J.parent ? "" : "/") + O;
      }
      fullpath() {
        if (this.#_ !== void 0) return this.#_;
        let O = this.name, J = this.parent;
        if (!J) return this.#_ = this.name;
        let le = J.fullpath() + (J.parent ? this.sep : "") + O;
        return this.#_ = le;
      }
      fullpathPosix() {
        if (this.#b !== void 0) return this.#b;
        if (this.sep === "/") return this.#b = this.fullpath();
        if (!this.parent) {
          let Ee = this.fullpath().replace(/\\/g, "/");
          return /^[a-z]:\//i.test(Ee) ? this.#b = `//?/${Ee}` : this.#b = Ee;
        }
        let O = this.parent, J = O.fullpathPosix(), le = J + (!J || !O.parent ? "" : "/") + this.name;
        return this.#b = le;
      }
      isUnknown() {
        return (this.#a & xe) === ne;
      }
      isType(O) {
        return this[`is${O}`]();
      }
      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 & xe) === Te;
      }
      isDirectory() {
        return (this.#a & xe) === ee;
      }
      isCharacterDevice() {
        return (this.#a & xe) === U;
      }
      isBlockDevice() {
        return (this.#a & xe) === Ae;
      }
      isFIFO() {
        return (this.#a & xe) === k;
      }
      isSocket() {
        return (this.#a & xe) === Pe;
      }
      isSymbolicLink() {
        return (this.#a & ye) === ye;
      }
      lstatCached() {
        return this.#a & A ? this : void 0;
      }
      readlinkCached() {
        return this.#N;
      }
      realpathCached() {
        return this.#k;
      }
      readdirCached() {
        let O = this.children();
        return O.slice(0, O.provisional);
      }
      canReadlink() {
        if (this.#N) return !0;
        if (!this.parent) return !1;
        let O = this.#a & xe;
        return !(O !== ne && O !== ye || this.#a & de || this.#a & he);
      }
      calledReaddir() {
        return !!(this.#a & Ce);
      }
      isENOENT() {
        return !!(this.#a & he);
      }
      isNamed(O) {
        return this.nocase ? this.#T === Oe(O) : this.#T === Le(O);
      }
      async readlink() {
        let O = this.#N;
        if (O) return O;
        if (this.canReadlink() && this.parent) try {
          let J = await this.#e.promises.readlink(this.fullpath()), le = (await this.parent.realpath())?.resolve(J);
          if (le) return this.#N = le;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      readlinkSync() {
        let O = this.#N;
        if (O) return O;
        if (this.canReadlink() && this.parent) try {
          let J = this.#e.readlinkSync(this.fullpath()), le = this.parent.realpathSync()?.resolve(J);
          if (le) return this.#N = le;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      #M(O) {
        this.#a |= Ce;
        for (let J = O.provisional; J < O.length; J++) {
          let le = O[J];
          le && le.#S();
        }
      }
      #S() {
        this.#a & he || (this.#a = (this.#a | he) & Me, this.#W());
      }
      #W() {
        let O = this.children();
        O.provisional = 0;
        for (let J of O) J.#S();
      }
      #x() {
        this.#a |= re, this.#P();
      }
      #P() {
        if (this.#a & se) return;
        let O = this.#a;
        (O & xe) === ee && (O &= Me), this.#a = O | se, this.#W();
      }
      #j(O = "") {
        O === "ENOTDIR" || O === "EPERM" ? this.#P() : O === "ENOENT" ? this.#S() : this.children().provisional = 0;
      }
      #C(O = "") {
        O === "ENOTDIR" ? this.parent.#P() : O === "ENOENT" && this.#S();
      }
      #I(O = "") {
        let J = this.#a;
        J |= de, O === "ENOENT" && (J |= he), (O === "EINVAL" || O === "UNKNOWN") && (J &= Me), this.#a = J, O === "ENOTDIR" && this.parent && this.parent.#P();
      }
      #U(O, J) {
        return this.#H(O, J) || this.#F(O, J);
      }
      #F(O, J) {
        let le = ae(O), Ee = this.newChild(O.name, le, { parent: this }), $e = Ee.#a & xe;
        return $e !== ee && $e !== ye && $e !== ne && (Ee.#a |= se), J.unshift(Ee), J.provisional++, Ee;
      }
      #H(O, J) {
        for (let le = J.provisional; le < J.length; le++) {
          let Ee = J[le];
          if ((this.nocase ? Oe(O.name) : Le(O.name)) === Ee.#T) return this.#w(O, Ee, le, J);
        }
      }
      #w(O, J, le, Ee) {
        let $e = J.name;
        return J.#a = J.#a & Me | ae(O), $e !== O.name && (J.name = O.name), le !== Ee.provisional && (le === Ee.length - 1 ? Ee.pop() : Ee.splice(le, 1), Ee.unshift(J)), Ee.provisional++, J;
      }
      async lstat() {
        if ((this.#a & he) === 0) try {
          return this.#q(await this.#e.promises.lstat(this.fullpath())), this;
        } catch (O) {
          this.#C(O.code);
        }
      }
      lstatSync() {
        if ((this.#a & he) === 0) try {
          return this.#q(this.#e.lstatSync(this.fullpath())), this;
        } catch (O) {
          this.#C(O.code);
        }
      }
      #q(O) {
        let { atime: J, atimeMs: le, birthtime: Ee, birthtimeMs: $e, blksize: je, blocks: Ue, ctime: Ge, ctimeMs: Ze, dev: Xe, gid: Ke, ino: it, mode: nt, mtime: ht, mtimeMs: ut, nlink: bt, rdev: Lt, size: Yt, uid: xt } = O;
        this.#y = J, this.#l = le, this.#m = Ee, this.#E = $e, this.#u = je, this.#h = Ue, this.#R = Ge, this.#v = Ze, this.#t = Xe, this.#c = Ke, this.#o = it, this.#r = nt, this.#g = ht, this.#i = ut, this.#n = bt, this.#f = Lt, this.#p = Yt, this.#s = xt;
        let Kt = ae(O);
        this.#a = this.#a & Me | Kt | A, Kt !== ne && Kt !== ee && Kt !== ye && (this.#a |= se);
      }
      #B = [];
      #d = !1;
      #G(O) {
        this.#d = !1;
        let J = this.#B.slice();
        this.#B.length = 0, J.forEach((le) => le(null, O));
      }
      readdirCB(O, J = !1) {
        if (!this.canReaddir()) {
          J ? O(null, []) : queueMicrotask(() => O(null, []));
          return;
        }
        let le = this.children();
        if (this.calledReaddir()) {
          let $e = le.slice(0, le.provisional);
          J ? O(null, $e) : queueMicrotask(() => O(null, $e));
          return;
        }
        if (this.#B.push(O), this.#d) return;
        this.#d = !0;
        let Ee = this.fullpath();
        this.#e.readdir(Ee, { withFileTypes: !0 }, ($e, je) => {
          if ($e) this.#j($e.code), le.provisional = 0;
          else {
            for (let Ue of je) this.#U(Ue, le);
            this.#M(le);
          }
          this.#G(le.slice(0, le.provisional));
        });
      }
      #V;
      async readdir() {
        if (!this.canReaddir()) return [];
        let O = this.children();
        if (this.calledReaddir()) return O.slice(0, O.provisional);
        let J = this.fullpath();
        if (this.#V) await this.#V;
        else {
          let le = () => {
          };
          this.#V = new Promise((Ee) => le = Ee);
          try {
            for (let Ee of await this.#e.promises.readdir(J, { withFileTypes: !0 })) this.#U(Ee, O);
            this.#M(O);
          } catch (Ee) {
            this.#j(Ee.code), O.provisional = 0;
          }
          this.#V = void 0, le();
        }
        return O.slice(0, O.provisional);
      }
      readdirSync() {
        if (!this.canReaddir()) return [];
        let O = this.children();
        if (this.calledReaddir()) return O.slice(0, O.provisional);
        let J = this.fullpath();
        try {
          for (let le of this.#e.readdirSync(J, { withFileTypes: !0 })) this.#U(le, O);
          this.#M(O);
        } catch (le) {
          this.#j(le.code), O.provisional = 0;
        }
        return O.slice(0, O.provisional);
      }
      canReaddir() {
        if (this.#a & Q) return !1;
        let O = xe & this.#a;
        return O === ne || O === ee || O === ye;
      }
      shouldWalk(O, J) {
        return (this.#a & ee) === ee && !(this.#a & Q) && !O.has(this) && (!J || J(this));
      }
      async realpath() {
        if (this.#k) return this.#k;
        if (!((re | de | he) & this.#a)) try {
          let O = await this.#e.promises.realpath(this.fullpath());
          return this.#k = this.resolve(O);
        } catch {
          this.#x();
        }
      }
      realpathSync() {
        if (this.#k) return this.#k;
        if (!((re | de | he) & this.#a)) try {
          let O = this.#e.realpathSync(this.fullpath());
          return this.#k = this.resolve(O);
        } catch {
          this.#x();
        }
      }
      [Re](O) {
        if (O === this) return;
        O.isCWD = !1, this.isCWD = !0;
        let J = /* @__PURE__ */ new Set([]), le = [], Ee = this;
        for (; Ee && Ee.parent; ) J.add(Ee), Ee.#A = le.join(this.sep), Ee.#O = le.join("/"), Ee = Ee.parent, le.push("..");
        for (Ee = O; Ee && Ee.parent && !J.has(Ee); ) Ee.#A = void 0, Ee.#O = void 0, Ee = Ee.parent;
      }
    };
    I.PathBase = Se;
    var te = class kf extends Se {
      sep = "\\";
      splitSep = X;
      constructor(J, le = ne, Ee, $e, je, Ue, Ge) {
        super(J, le, Ee, $e, je, Ue, Ge);
      }
      newChild(J, le = ne, Ee = {}) {
        return new kf(J, le, this.root, this.roots, this.nocase, this.childrenCache(), Ee);
      }
      getRootString(J) {
        return x.win32.parse(J).root;
      }
      getRoot(J) {
        if (J = W(J.toUpperCase()), J === this.root.name) return this.root;
        for (let [le, Ee] of Object.entries(this.roots)) if (this.sameRoot(J, le)) return this.roots[J] = Ee;
        return this.roots[J] = new fe(J, this).root;
      }
      sameRoot(J, le = this.root.name) {
        return J = J.toUpperCase().replace(/\//g, "\\").replace(B, "$1\\"), J === le;
      }
    };
    I.PathWin32 = te;
    var ce = class Lf extends Se {
      splitSep = "/";
      sep = "/";
      constructor(J, le = ne, Ee, $e, je, Ue, Ge) {
        super(J, le, Ee, $e, je, Ue, Ge);
      }
      getRootString(J) {
        return J.startsWith("/") ? "/" : "";
      }
      getRoot(J) {
        return this.root;
      }
      newChild(J, le = ne, Ee = {}) {
        return new Lf(J, le, this.root, this.roots, this.nocase, this.childrenCache(), Ee);
      }
    };
    I.PathPosix = ce;
    var ue = class {
      root;
      rootPath;
      roots;
      cwd;
      #e;
      #t;
      #r;
      nocase;
      #n;
      constructor(O = process.cwd(), J, le, { nocase: Ee, childrenCacheSize: $e = 16 * 1024, fs: je = _e } = {}) {
        this.#n = V(je), (O instanceof URL || O.startsWith("file://")) && (O = (0, L.fileURLToPath)(O));
        let Ue = J.resolve(O);
        this.roots = /* @__PURE__ */ Object.create(null), this.rootPath = this.parseRootPath(Ue), this.#e = new Z(), this.#t = new Z(), this.#r = new me($e);
        let Ge = Ue.substring(this.rootPath.length).split(le);
        if (Ge.length === 1 && !Ge[0] && Ge.pop(), Ee === void 0) throw new TypeError("must provide nocase setting to PathScurryBase ctor");
        this.nocase = Ee, this.root = this.newRoot(this.#n), this.roots[this.rootPath] = this.root;
        let Ze = this.root, Xe = Ge.length - 1, Ke = J.sep, it = this.rootPath, nt = !1;
        for (let ht of Ge) {
          let ut = Xe--;
          Ze = Ze.child(ht, {
            relative: new Array(ut).fill("..").join(Ke),
            relativePosix: new Array(ut).fill("..").join("/"),
            fullpath: it += (nt ? "" : Ke) + ht
          }), nt = !0;
        }
        this.cwd = Ze;
      }
      depth(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.depth();
      }
      childrenCache() {
        return this.#r;
      }
      resolve(...O) {
        let J = "";
        for (let $e = O.length - 1; $e >= 0; $e--) {
          let je = O[$e];
          if (!(!je || je === ".") && (J = J ? `${je}/${J}` : je, this.isAbsolute(je))) break;
        }
        let le = this.#e.get(J);
        if (le !== void 0) return le;
        let Ee = this.cwd.resolve(J).fullpath();
        return this.#e.set(J, Ee), Ee;
      }
      resolvePosix(...O) {
        let J = "";
        for (let $e = O.length - 1; $e >= 0; $e--) {
          let je = O[$e];
          if (!(!je || je === ".") && (J = J ? `${je}/${J}` : je, this.isAbsolute(je))) break;
        }
        let le = this.#t.get(J);
        if (le !== void 0) return le;
        let Ee = this.cwd.resolve(J).fullpathPosix();
        return this.#t.set(J, Ee), Ee;
      }
      relative(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.relative();
      }
      relativePosix(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.relativePosix();
      }
      basename(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.name;
      }
      dirname(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), (O.parent || O).fullpath();
      }
      async readdir(O = this.cwd, J = { withFileTypes: !0 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le } = J;
        if (O.canReaddir()) {
          let Ee = await O.readdir();
          return le ? Ee : Ee.map(($e) => $e.name);
        } else return [];
      }
      readdirSync(O = this.cwd, J = { withFileTypes: !0 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0 } = J;
        return O.canReaddir() ? le ? O.readdirSync() : O.readdirSync().map((Ee) => Ee.name) : [];
      }
      async lstat(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.lstat();
      }
      lstatSync(O = this.cwd) {
        return typeof O == "string" && (O = this.cwd.resolve(O)), O.lstatSync();
      }
      async readlink(O = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O.withFileTypes, O = this.cwd);
        let le = await O.readlink();
        return J ? le : le?.fullpath();
      }
      readlinkSync(O = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O.withFileTypes, O = this.cwd);
        let le = O.readlinkSync();
        return J ? le : le?.fullpath();
      }
      async realpath(O = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O.withFileTypes, O = this.cwd);
        let le = await O.realpath();
        return J ? le : le?.fullpath();
      }
      realpathSync(O = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O.withFileTypes, O = this.cwd);
        let le = O.realpathSync();
        return J ? le : le?.fullpath();
      }
      async walk(O = this.cwd, J = {}) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0, follow: Ee = !1, filter: $e, walkFilter: je } = J, Ue = [];
        (!$e || $e(O)) && Ue.push(le ? O : O.fullpath());
        let Ge = /* @__PURE__ */ new Set(), Ze = (Ke, it) => {
          Ge.add(Ke), Ke.readdirCB((nt, ht) => {
            if (nt) return it(nt);
            let ut = ht.length;
            if (!ut) return it();
            let bt = () => {
              --ut === 0 && it();
            };
            for (let Lt of ht) (!$e || $e(Lt)) && Ue.push(le ? Lt : Lt.fullpath()), Ee && Lt.isSymbolicLink() ? Lt.realpath().then((Yt) => Yt?.isUnknown() ? Yt.lstat() : Yt).then((Yt) => Yt?.shouldWalk(Ge, je) ? Ze(Yt, bt) : bt()) : Lt.shouldWalk(Ge, je) ? Ze(Lt, bt) : bt();
          }, !0);
        }, Xe = O;
        return new Promise((Ke, it) => {
          Ze(Xe, (nt) => {
            if (nt) return it(nt);
            Ke(Ue);
          });
        });
      }
      walkSync(O = this.cwd, J = {}) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0, follow: Ee = !1, filter: $e, walkFilter: je } = J, Ue = [];
        (!$e || $e(O)) && Ue.push(le ? O : O.fullpath());
        let Ge = /* @__PURE__ */ new Set([O]);
        for (let Ze of Ge) {
          let Xe = Ze.readdirSync();
          for (let Ke of Xe) {
            (!$e || $e(Ke)) && Ue.push(le ? Ke : Ke.fullpath());
            let it = Ke;
            if (Ke.isSymbolicLink()) {
              if (!(Ee && (it = Ke.realpathSync()))) continue;
              it.isUnknown() && it.lstatSync();
            }
            it.shouldWalk(Ge, je) && Ge.add(it);
          }
        }
        return Ue;
      }
      [Symbol.asyncIterator]() {
        return this.iterate();
      }
      iterate(O = this.cwd, J = {}) {
        return typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd), this.stream(O, J)[Symbol.asyncIterator]();
      }
      [Symbol.iterator]() {
        return this.iterateSync();
      }
      *iterateSync(O = this.cwd, J = {}) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0, follow: Ee = !1, filter: $e, walkFilter: je } = J;
        (!$e || $e(O)) && (yield le ? O : O.fullpath());
        let Ue = /* @__PURE__ */ new Set([O]);
        for (let Ge of Ue) {
          let Ze = Ge.readdirSync();
          for (let Xe of Ze) {
            (!$e || $e(Xe)) && (yield le ? Xe : Xe.fullpath());
            let Ke = Xe;
            if (Xe.isSymbolicLink()) {
              if (!(Ee && (Ke = Xe.realpathSync()))) continue;
              Ke.isUnknown() && Ke.lstatSync();
            }
            Ke.shouldWalk(Ue, je) && Ue.add(Ke);
          }
        }
      }
      stream(O = this.cwd, J = {}) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0, follow: Ee = !1, filter: $e, walkFilter: je } = J, Ue = new pe.Minipass({ objectMode: !0 });
        (!$e || $e(O)) && Ue.write(le ? O : O.fullpath());
        let Ge = /* @__PURE__ */ new Set(), Ze = [O], Xe = 0, Ke = () => {
          let it = !1;
          for (; !it; ) {
            let nt = Ze.shift();
            if (!nt) {
              Xe === 0 && Ue.end();
              return;
            }
            Xe++, Ge.add(nt);
            let ht = (bt, Lt, Yt = !1) => {
              if (bt) return Ue.emit("error", bt);
              if (Ee && !Yt) {
                let xt = [];
                for (let Kt of Lt) Kt.isSymbolicLink() && xt.push(Kt.realpath().then((Ls) => Ls?.isUnknown() ? Ls.lstat() : Ls));
                if (xt.length) {
                  Promise.all(xt).then(() => ht(null, Lt, !0));
                  return;
                }
              }
              for (let xt of Lt) xt && (!$e || $e(xt)) && (Ue.write(le ? xt : xt.fullpath()) || (it = !0));
              Xe--;
              for (let xt of Lt) {
                let Kt = xt.realpathCached() || xt;
                Kt.shouldWalk(Ge, je) && Ze.push(Kt);
              }
              it && !Ue.flowing ? Ue.once("drain", Ke) : ut || Ke();
            }, ut = !0;
            nt.readdirCB(ht, !0), ut = !1;
          }
        };
        return Ke(), Ue;
      }
      streamSync(O = this.cwd, J = {}) {
        typeof O == "string" ? O = this.cwd.resolve(O) : O instanceof Se || (J = O, O = this.cwd);
        let { withFileTypes: le = !0, follow: Ee = !1, filter: $e, walkFilter: je } = J, Ue = new pe.Minipass({ objectMode: !0 }), Ge = /* @__PURE__ */ new Set();
        (!$e || $e(O)) && Ue.write(le ? O : O.fullpath());
        let Ze = [O], Xe = 0, Ke = () => {
          let it = !1;
          for (; !it; ) {
            let nt = Ze.shift();
            if (!nt) {
              Xe === 0 && Ue.end();
              return;
            }
            Xe++, Ge.add(nt);
            let ht = nt.readdirSync();
            for (let ut of ht) (!$e || $e(ut)) && (Ue.write(le ? ut : ut.fullpath()) || (it = !0));
            Xe--;
            for (let ut of ht) {
              let bt = ut;
              if (ut.isSymbolicLink()) {
                if (!(Ee && (bt = ut.realpathSync()))) continue;
                bt.isUnknown() && bt.lstatSync();
              }
              bt.shouldWalk(Ge, je) && Ze.push(bt);
            }
          }
          it && !Ue.flowing && Ue.once("drain", Ke);
        };
        return Ke(), Ue;
      }
      chdir(O = this.cwd) {
        let J = this.cwd;
        this.cwd = typeof O == "string" ? this.cwd.resolve(O) : O, this.cwd[Re](J);
      }
    };
    I.PathScurryBase = ue;
    var fe = class extends ue {
      sep = "\\";
      constructor(O = process.cwd(), J = {}) {
        let { nocase: le = !0 } = J;
        super(O, x.win32, "\\", {
          ...J,
          nocase: le
        }), this.nocase = le;
        for (let Ee = this.cwd; Ee; Ee = Ee.parent) Ee.nocase = this.nocase;
      }
      parseRootPath(O) {
        return x.win32.parse(O).root.toUpperCase();
      }
      newRoot(O) {
        return new te(this.rootPath, ee, void 0, this.roots, this.nocase, this.childrenCache(), { fs: O });
      }
      isAbsolute(O) {
        return O.startsWith("/") || O.startsWith("\\") || /^[a-z]:(\/|\\)/i.test(O);
      }
    };
    I.PathScurryWin32 = fe;
    var we = class extends ue {
      sep = "/";
      constructor(O = process.cwd(), J = {}) {
        let { nocase: le = !1 } = J;
        super(O, x.posix, "/", {
          ...J,
          nocase: le
        }), this.nocase = le;
      }
      parseRootPath(O) {
        return "/";
      }
      newRoot(O) {
        return new ce(this.rootPath, ee, void 0, this.roots, this.nocase, this.childrenCache(), { fs: O });
      }
      isAbsolute(O) {
        return O.startsWith("/");
      }
    };
    I.PathScurryPosix = we;
    var Ne = class extends we {
      constructor(O = process.cwd(), J = {}) {
        let { nocase: le = !0 } = J;
        super(O, {
          ...J,
          nocase: le
        });
      }
    };
    I.PathScurryDarwin = Ne, I.Path = process.platform === "win32" ? te : ce, I.PathScurry = process.platform === "win32" ? fe : process.platform === "darwin" ? Ne : we;
  }), d = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.Pattern = void 0;
    var $ = l(), q = (x) => x.length >= 1, z = (x) => x.length >= 1, F = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
    I.Pattern = class $f {
      #e;
      #t;
      #r;
      length;
      #n;
      #s;
      #c;
      #f;
      #u;
      #o;
      #p = !0;
      constructor(L, C, N, K) {
        if (!q(L)) throw new TypeError("empty pattern list");
        if (!z(C)) throw new TypeError("empty glob list");
        if (C.length !== L.length) throw new TypeError("mismatched pattern list and glob list lengths");
        if (this.length = L.length, N < 0 || N >= this.length) throw new TypeError("index out of range");
        if (this.#e = L, this.#t = C, this.#r = N, this.#n = K, this.#r === 0) {
          if (this.isUNC()) {
            let [oe, pe, _e, V, ...B] = this.#e, [W, X, ne, k, ...U] = this.#t;
            B[0] === "" && (B.shift(), U.shift());
            let ee = [
              oe,
              pe,
              _e,
              V,
              ""
            ].join("/"), Ae = [
              W,
              X,
              ne,
              k,
              ""
            ].join("/");
            this.#e = [ee, ...B], this.#t = [Ae, ...U], this.length = this.#e.length;
          } else if (this.isDrive() || this.isAbsolute()) {
            let [oe, ...pe] = this.#e, [_e, ...V] = this.#t;
            pe[0] === "" && (pe.shift(), V.shift());
            let B = oe + "/", W = _e + "/";
            this.#e = [B, ...pe], this.#t = [W, ...V], this.length = this.#e.length;
          }
        }
      }
      [F]() {
        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] === $.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 $f(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 L = this.#e;
        return this.#u !== void 0 ? this.#u : this.#u = this.#n === "win32" && this.#r === 0 && L[0] === "" && L[1] === "" && typeof L[2] == "string" && !!L[2] && typeof L[3] == "string" && !!L[3];
      }
      isDrive() {
        let L = this.#e;
        return this.#f !== void 0 ? this.#f : this.#f = this.#n === "win32" && this.#r === 0 && this.length > 1 && typeof L[0] == "string" && /^[a-z]:$/i.test(L[0]);
      }
      isAbsolute() {
        let L = this.#e;
        return this.#o !== void 0 ? this.#o : this.#o = L[0] === "" && L.length > 1 || this.isDrive() || this.isUNC();
      }
      root() {
        let L = this.#e[0];
        return typeof L == "string" && this.isAbsolute() && this.#r === 0 ? L : "";
      }
      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((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.Ignore = void 0;
    var $ = l(), q = d(), z = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", F = class {
      relative;
      relativeChildren;
      absolute;
      absoluteChildren;
      platform;
      mmopts;
      constructor(x, { nobrace: L, nocase: C, noext: N, noglobstar: K, platform: oe = z }) {
        this.relative = [], this.absolute = [], this.relativeChildren = [], this.absoluteChildren = [], this.platform = oe, this.mmopts = {
          dot: !0,
          nobrace: L,
          nocase: C,
          noext: N,
          noglobstar: K,
          optimizationLevel: 2,
          platform: oe,
          nocomment: !0,
          nonegate: !0
        };
        for (let pe of x) this.add(pe);
      }
      add(x) {
        let L = new $.Minimatch(x, this.mmopts);
        for (let C = 0; C < L.set.length; C++) {
          let N = L.set[C], K = L.globParts[C];
          if (!N || !K) throw new Error("invalid pattern object");
          for (; N[0] === "." && K[0] === "."; ) N.shift(), K.shift();
          let oe = new q.Pattern(N, K, 0, this.platform), pe = new $.Minimatch(oe.globString(), this.mmopts), _e = K[K.length - 1] === "**", V = oe.isAbsolute();
          V ? this.absolute.push(pe) : this.relative.push(pe), _e && (V ? this.absoluteChildren.push(pe) : this.relativeChildren.push(pe));
        }
      }
      ignored(x) {
        let L = x.fullpath(), C = `${L}/`, N = x.relative() || ".", K = `${N}/`;
        for (let oe of this.relative) if (oe.match(N) || oe.match(K)) return !0;
        for (let oe of this.absolute) if (oe.match(L) || oe.match(C)) return !0;
        return !1;
      }
      childrenIgnored(x) {
        let L = x.fullpath() + "/", C = (x.relative() || ".") + "/";
        for (let N of this.relativeChildren) if (N.match(C)) return !0;
        for (let N of this.absoluteChildren) if (N.match(L)) return !0;
        return !1;
      }
    };
    I.Ignore = F;
  }), m = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.Processor = I.SubWalks = I.MatchRecord = I.HasWalkedCache = void 0;
    var $ = l(), q = class Nf {
      store;
      constructor(L = /* @__PURE__ */ new Map()) {
        this.store = L;
      }
      copy() {
        return new Nf(new Map(this.store));
      }
      hasWalked(L, C) {
        return this.store.get(L.fullpath())?.has(C.globString());
      }
      storeWalked(L, C) {
        let N = L.fullpath(), K = this.store.get(N);
        K ? K.add(C.globString()) : this.store.set(N, /* @__PURE__ */ new Set([C.globString()]));
      }
    };
    I.HasWalkedCache = q;
    var z = class {
      store = /* @__PURE__ */ new Map();
      add(x, L, C) {
        let N = (L ? 2 : 0) | (C ? 1 : 0), K = this.store.get(x);
        this.store.set(x, K === void 0 ? N : N & K);
      }
      entries() {
        return [...this.store.entries()].map(([x, L]) => [
          x,
          !!(L & 2),
          !!(L & 1)
        ]);
      }
    };
    I.MatchRecord = z;
    var F = class {
      store = /* @__PURE__ */ new Map();
      add(x, L) {
        if (!x.canReaddir()) return;
        let C = this.store.get(x);
        C ? C.find((N) => N.globString() === L.globString()) || C.push(L) : this.store.set(x, [L]);
      }
      get(x) {
        let L = this.store.get(x);
        if (!L) throw new Error("attempting to walk unknown path");
        return L;
      }
      entries() {
        return this.keys().map((x) => [x, this.store.get(x)]);
      }
      keys() {
        return [...this.store.keys()].filter((x) => x.canReaddir());
      }
    };
    I.SubWalks = F, I.Processor = class xf {
      hasWalkedCache;
      matches = new z();
      subwalks = new F();
      patterns;
      follow;
      dot;
      opts;
      constructor(L, C) {
        this.opts = L, this.follow = !!L.follow, this.dot = !!L.dot, this.hasWalkedCache = C ? C.copy() : new q();
      }
      processPatterns(L, C) {
        this.patterns = C;
        let N = C.map((K) => [L, K]);
        for (let [K, oe] of N) {
          this.hasWalkedCache.storeWalked(K, oe);
          let pe = oe.root(), _e = oe.isAbsolute() && this.opts.absolute !== !1;
          if (pe) {
            K = K.resolve(pe === "/" && this.opts.root !== void 0 ? this.opts.root : pe);
            let X = oe.rest();
            if (X) oe = X;
            else {
              this.matches.add(K, !0, !1);
              continue;
            }
          }
          if (K.isENOENT()) continue;
          let V, B, W = !1;
          for (; typeof (V = oe.pattern()) == "string" && (B = oe.rest()); ) K = K.resolve(V), oe = B, W = !0;
          if (V = oe.pattern(), B = oe.rest(), W) {
            if (this.hasWalkedCache.hasWalked(K, oe)) continue;
            this.hasWalkedCache.storeWalked(K, oe);
          }
          if (typeof V == "string") {
            let X = V === ".." || V === "" || V === ".";
            this.matches.add(K.resolve(V), _e, X);
            continue;
          } else if (V === $.GLOBSTAR) {
            (!K.isSymbolicLink() || this.follow || oe.checkFollowGlobstar()) && this.subwalks.add(K, oe);
            let X = B?.pattern(), ne = B?.rest();
            if (!B || (X === "" || X === ".") && !ne) this.matches.add(K, _e, X === "" || X === ".");
            else if (X === "..") {
              let k = K.parent || K;
              ne ? this.hasWalkedCache.hasWalked(k, ne) || this.subwalks.add(k, ne) : this.matches.add(k, _e, !0);
            }
          } else V instanceof RegExp && this.subwalks.add(K, oe);
        }
        return this;
      }
      subwalkTargets() {
        return this.subwalks.keys();
      }
      child() {
        return new xf(this.opts, this.hasWalkedCache);
      }
      filterEntries(L, C) {
        let N = this.subwalks.get(L), K = this.child();
        for (let oe of C) for (let pe of N) {
          let _e = pe.isAbsolute(), V = pe.pattern(), B = pe.rest();
          V === $.GLOBSTAR ? K.testGlobstar(oe, pe, B, _e) : V instanceof RegExp ? K.testRegExp(oe, V, B, _e) : K.testString(oe, V, B, _e);
        }
        return K;
      }
      testGlobstar(L, C, N, K) {
        if ((this.dot || !L.name.startsWith(".")) && (C.hasMore() || this.matches.add(L, K, !1), L.canReaddir() && (this.follow || !L.isSymbolicLink() ? this.subwalks.add(L, C) : L.isSymbolicLink() && (N && C.checkFollowGlobstar() ? this.subwalks.add(L, N) : C.markFollowGlobstar() && this.subwalks.add(L, C)))), N) {
          let oe = N.pattern();
          if (typeof oe == "string" && oe !== ".." && oe !== "" && oe !== ".") this.testString(L, oe, N.rest(), K);
          else if (oe === "..") {
            let pe = L.parent || L;
            this.subwalks.add(pe, N);
          } else oe instanceof RegExp && this.testRegExp(L, oe, N.rest(), K);
        }
      }
      testRegExp(L, C, N, K) {
        C.test(L.name) && (N ? this.subwalks.add(L, N) : this.matches.add(L, K, !1));
      }
      testString(L, C, N, K) {
        L.isNamed(C) && (N ? this.subwalks.add(L, N) : this.matches.add(L, K, !1));
      }
    };
  }), g = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.GlobStream = I.GlobWalker = I.GlobUtil = void 0;
    var $ = a(), q = p(), z = m(), F = (N, K) => typeof N == "string" ? new q.Ignore([N], K) : Array.isArray(N) ? new q.Ignore(N, K) : N, x = class {
      path;
      patterns;
      opts;
      seen = /* @__PURE__ */ new Set();
      paused = !1;
      aborted = !1;
      #e = [];
      #t;
      #r;
      signal;
      maxDepth;
      includeChildMatches;
      constructor(N, K, oe) {
        if (this.patterns = N, this.path = K, this.opts = oe, this.#r = !oe.posix && oe.platform === "win32" ? "\\" : "/", this.includeChildMatches = oe.includeChildMatches !== !1, (oe.ignore || !this.includeChildMatches) && (this.#t = F(oe.ignore ?? [], oe), !this.includeChildMatches && typeof this.#t.add != "function")) throw new Error("cannot ignore child matches, ignore lacks add() method.");
        this.maxDepth = oe.maxDepth || 1 / 0, oe.signal && (this.signal = oe.signal, this.signal.addEventListener("abort", () => {
          this.#e.length = 0;
        }));
      }
      #n(N) {
        return this.seen.has(N) || !!this.#t?.ignored?.(N);
      }
      #s(N) {
        return !!this.#t?.childrenIgnored?.(N);
      }
      pause() {
        this.paused = !0;
      }
      resume() {
        if (this.signal?.aborted) return;
        this.paused = !1;
        let N;
        for (; !this.paused && (N = this.#e.shift()); ) N();
      }
      onResume(N) {
        this.signal?.aborted || (this.paused ? this.#e.push(N) : N());
      }
      async matchCheck(N, K) {
        if (K && this.opts.nodir) return;
        let oe;
        if (this.opts.realpath) {
          if (oe = N.realpathCached() || await N.realpath(), !oe) return;
          N = oe;
        }
        let pe = N.isUnknown() || this.opts.stat ? await N.lstat() : N;
        if (this.opts.follow && this.opts.nodir && pe?.isSymbolicLink()) {
          let _e = await pe.realpath();
          _e && (_e.isUnknown() || this.opts.stat) && await _e.lstat();
        }
        return this.matchCheckTest(pe, K);
      }
      matchCheckTest(N, K) {
        return N && (this.maxDepth === 1 / 0 || N.depth() <= this.maxDepth) && (!K || N.canReaddir()) && (!this.opts.nodir || !N.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !N.isSymbolicLink() || !N.realpathCached()?.isDirectory()) && !this.#n(N) ? N : void 0;
      }
      matchCheckSync(N, K) {
        if (K && this.opts.nodir) return;
        let oe;
        if (this.opts.realpath) {
          if (oe = N.realpathCached() || N.realpathSync(), !oe) return;
          N = oe;
        }
        let pe = N.isUnknown() || this.opts.stat ? N.lstatSync() : N;
        if (this.opts.follow && this.opts.nodir && pe?.isSymbolicLink()) {
          let _e = pe.realpathSync();
          _e && (_e?.isUnknown() || this.opts.stat) && _e.lstatSync();
        }
        return this.matchCheckTest(pe, K);
      }
      matchFinish(N, K) {
        if (this.#n(N)) return;
        if (!this.includeChildMatches && this.#t?.add) {
          let _e = `${N.relativePosix()}/**`;
          this.#t.add(_e);
        }
        let oe = this.opts.absolute === void 0 ? K : this.opts.absolute;
        this.seen.add(N);
        let pe = this.opts.mark && N.isDirectory() ? this.#r : "";
        if (this.opts.withFileTypes) this.matchEmit(N);
        else if (oe) {
          let _e = this.opts.posix ? N.fullpathPosix() : N.fullpath();
          this.matchEmit(_e + pe);
        } else {
          let _e = this.opts.posix ? N.relativePosix() : N.relative(), V = this.opts.dotRelative && !_e.startsWith(".." + this.#r) ? "." + this.#r : "";
          this.matchEmit(_e ? V + _e + pe : "." + pe);
        }
      }
      async match(N, K, oe) {
        let pe = await this.matchCheck(N, oe);
        pe && this.matchFinish(pe, K);
      }
      matchSync(N, K, oe) {
        let pe = this.matchCheckSync(N, oe);
        pe && this.matchFinish(pe, K);
      }
      walkCB(N, K, oe) {
        this.signal?.aborted && oe(), this.walkCB2(N, K, new z.Processor(this.opts), oe);
      }
      walkCB2(N, K, oe, pe) {
        if (this.#s(N)) return pe();
        if (this.signal?.aborted && pe(), this.paused) {
          this.onResume(() => this.walkCB2(N, K, oe, pe));
          return;
        }
        oe.processPatterns(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, W, X] of oe.matches.entries()) this.#n(B) || (_e++, this.match(B, W, X).then(() => V()));
        for (let B of oe.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && B.depth() >= this.maxDepth) continue;
          _e++;
          let W = B.readdirCached();
          B.calledReaddir() ? this.walkCB3(B, W, oe, V) : B.readdirCB((X, ne) => this.walkCB3(B, ne, oe, V), !0);
        }
        V();
      }
      walkCB3(N, K, oe, pe) {
        oe = oe.filterEntries(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, W, X] of oe.matches.entries()) this.#n(B) || (_e++, this.match(B, W, X).then(() => V()));
        for (let [B, W] of oe.subwalks.entries()) _e++, this.walkCB2(B, W, oe.child(), V);
        V();
      }
      walkCBSync(N, K, oe) {
        this.signal?.aborted && oe(), this.walkCB2Sync(N, K, new z.Processor(this.opts), oe);
      }
      walkCB2Sync(N, K, oe, pe) {
        if (this.#s(N)) return pe();
        if (this.signal?.aborted && pe(), this.paused) {
          this.onResume(() => this.walkCB2Sync(N, K, oe, pe));
          return;
        }
        oe.processPatterns(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, W, X] of oe.matches.entries()) this.#n(B) || this.matchSync(B, W, X);
        for (let B of oe.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && B.depth() >= this.maxDepth) continue;
          _e++;
          let W = B.readdirSync();
          this.walkCB3Sync(B, W, oe, V);
        }
        V();
      }
      walkCB3Sync(N, K, oe, pe) {
        oe = oe.filterEntries(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, W, X] of oe.matches.entries()) this.#n(B) || this.matchSync(B, W, X);
        for (let [B, W] of oe.subwalks.entries()) _e++, this.walkCB2Sync(B, W, oe.child(), V);
        V();
      }
    };
    I.GlobUtil = x;
    var L = class extends x {
      matches = /* @__PURE__ */ new Set();
      constructor(N, K, oe) {
        super(N, K, oe);
      }
      matchEmit(N) {
        this.matches.add(N);
      }
      async walk() {
        if (this.signal?.aborted) throw this.signal.reason;
        return this.path.isUnknown() && await this.path.lstat(), await new Promise((N, K) => {
          this.walkCB(this.path, this.patterns, () => {
            this.signal?.aborted ? K(this.signal.reason) : N(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;
      }
    };
    I.GlobWalker = L;
    var C = class extends x {
      results;
      constructor(N, K, oe) {
        super(N, K, oe), this.results = new $.Minipass({
          signal: this.signal,
          objectMode: !0
        }), this.results.on("drain", () => this.resume()), this.results.on("resume", () => this.resume());
      }
      matchEmit(N) {
        this.results.write(N), this.results.flowing || this.pause();
      }
      stream() {
        let N = this.path;
        return N.isUnknown() ? N.lstat().then(() => {
          this.walkCB(N, this.patterns, () => this.results.end());
        }) : this.walkCB(N, 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;
      }
    };
    I.GlobStream = C;
  }), v = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.Glob = void 0;
    var $ = l(), q = ge("node:url"), z = c(), F = d(), x = g(), L = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", C = 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(N, K) {
        if (!K) throw new TypeError("glob options required");
        if (this.withFileTypes = !!K.withFileTypes, this.signal = K.signal, this.follow = !!K.follow, this.dot = !!K.dot, this.dotRelative = !!K.dotRelative, this.nodir = !!K.nodir, this.mark = !!K.mark, K.cwd ? (K.cwd instanceof URL || K.cwd.startsWith("file://")) && (K.cwd = (0, q.fileURLToPath)(K.cwd)) : this.cwd = "", this.cwd = K.cwd || "", this.root = K.root, this.magicalBraces = !!K.magicalBraces, this.nobrace = !!K.nobrace, this.noext = !!K.noext, this.realpath = !!K.realpath, this.absolute = K.absolute, this.includeChildMatches = K.includeChildMatches !== !1, this.noglobstar = !!K.noglobstar, this.matchBase = !!K.matchBase, this.maxDepth = typeof K.maxDepth == "number" ? K.maxDepth : 1 / 0, this.stat = !!K.stat, this.ignore = K.ignore, this.withFileTypes && this.absolute !== void 0) throw new Error("cannot set absolute and withFileTypes:true");
        if (typeof N == "string" && (N = [N]), this.windowsPathsNoEscape = !!K.windowsPathsNoEscape || K.allowWindowsEscape === !1, this.windowsPathsNoEscape && (N = N.map((B) => B.replace(/\\/g, "/"))), this.matchBase) {
          if (K.noglobstar) throw new TypeError("base matching requires globstar");
          N = N.map((B) => B.includes("/") ? B : `./**/${B}`);
        }
        if (this.pattern = N, this.platform = K.platform || L, this.opts = {
          ...K,
          platform: this.platform
        }, K.scurry) {
          if (this.scurry = K.scurry, K.nocase !== void 0 && K.nocase !== K.scurry.nocase) throw new Error("nocase option contradicts provided scurry option");
        } else {
          let B = K.platform === "win32" ? z.PathScurryWin32 : K.platform === "darwin" ? z.PathScurryDarwin : K.platform ? z.PathScurryPosix : z.PathScurry;
          this.scurry = new B(this.cwd, {
            nocase: K.nocase,
            fs: K.fs
          });
        }
        this.nocase = this.scurry.nocase;
        let oe = this.platform === "darwin" || this.platform === "win32", pe = {
          braceExpandMax: 1e4,
          ...K,
          dot: this.dot,
          matchBase: this.matchBase,
          nobrace: this.nobrace,
          nocase: this.nocase,
          nocaseMagicOnly: oe,
          nocomment: !0,
          noext: this.noext,
          nonegate: !0,
          optimizationLevel: 2,
          platform: this.platform,
          windowsPathsNoEscape: this.windowsPathsNoEscape,
          debug: !!this.opts.debug
        }, [_e, V] = this.pattern.map((B) => new $.Minimatch(B, pe)).reduce((B, W) => (B[0].push(...W.set), B[1].push(...W.globParts), B), [[], []]);
        this.patterns = _e.map((B, W) => {
          let X = V[W];
          if (!X) throw new Error("invalid pattern object");
          return new F.Pattern(B, X, 0, this.platform);
        });
      }
      async walk() {
        return [...await new x.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 x.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 x.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 x.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();
      }
    };
    I.Glob = C;
  }), y = t((I) => {
    "use strict";
    Object.defineProperty(I, "__esModule", { value: !0 }), I.hasMagic = void 0;
    var $ = l(), q = (z, F = {}) => {
      Array.isArray(z) || (z = [z]);
      for (let x of z) if (new $.Minimatch(x, F).hasMagic()) return !0;
      return !1;
    };
    I.hasMagic = q;
  });
  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 = R, e.globStream = j, e.globSync = M, e.globIterateSync = Y, e.globIterate = H;
  var E = l(), b = v(), w = y(), _ = l();
  Object.defineProperty(e, "escape", {
    enumerable: !0,
    get: function() {
      return _.escape;
    }
  }), Object.defineProperty(e, "unescape", {
    enumerable: !0,
    get: function() {
      return _.unescape;
    }
  });
  var S = v();
  Object.defineProperty(e, "Glob", {
    enumerable: !0,
    get: function() {
      return S.Glob;
    }
  });
  var T = y();
  Object.defineProperty(e, "hasMagic", {
    enumerable: !0,
    get: function() {
      return T.hasMagic;
    }
  });
  var D = p();
  Object.defineProperty(e, "Ignore", {
    enumerable: !0,
    get: function() {
      return D.Ignore;
    }
  });
  function R(I, $ = {}) {
    return new b.Glob(I, $).streamSync();
  }
  function j(I, $ = {}) {
    return new b.Glob(I, $).stream();
  }
  function M(I, $ = {}) {
    return new b.Glob(I, $).walkSync();
  }
  async function G(I, $ = {}) {
    return new b.Glob(I, $).walk();
  }
  function Y(I, $ = {}) {
    return new b.Glob(I, $).iterateSync();
  }
  function H(I, $ = {}) {
    return new b.Glob(I, $).iterate();
  }
  e.streamSync = R, e.stream = Object.assign(j, { sync: R }), e.iterateSync = Y, e.iterate = Object.assign(H, { sync: Y }), e.sync = Object.assign(M, {
    stream: R,
    iterate: Y
  }), e.glob = Object.assign(G, {
    glob: G,
    globSync: M,
    sync: e.sync,
    globStream: j,
    stream: e.stream,
    globStreamSync: R,
    streamSync: e.streamSync,
    globIterate: H,
    iterate: e.iterate,
    globIterateSync: Y,
    iterateSync: e.iterateSync,
    Glob: b.Glob,
    hasMagic: w.hasMagic,
    escape: E.escape,
    unescape: E.unescape
  }), e.glob.glob = e.glob;
})), Pf = /* @__PURE__ */ P(((e, t) => {
  var { glob: r } = Dw(), i = ge("path"), s = (h) => h.split(i.win32.sep).join(i.posix.sep);
  t.exports = (h, o) => r(s(h), o);
})), Rw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("fs/promises"), i = Zi(), { hasContent: s } = Cf();
  t.exports = h;
  async function h(o, n) {
    const u = await s(o, n);
    return u && u.sri ? (await r.rm(i(o, u.sri), {
      recursive: !0,
      force: !0
    }), !0) : !1;
  }
})), Ow = /* @__PURE__ */ P(((e, t) => {
  var { rm: r } = ge("fs/promises"), i = Pf(), s = Ji(), h = es(), o = ge("path"), n = Rw();
  t.exports = u, t.exports.entry = u;
  function u(a, c, d) {
    return h.clearMemoized(), s.delete(a, c, d);
  }
  t.exports.content = l;
  function l(a, c) {
    return h.clearMemoized(), n(a, c);
  }
  t.exports.all = f;
  async function f(a) {
    h.clearMemoized();
    const c = await i(o.join(a, "*(content-*|index-*)"), {
      silent: !0,
      nosort: !0
    });
    return Promise.all(c.map((d) => r(d, {
      recursive: !0,
      force: !0
    })));
  }
})), Cw = /* @__PURE__ */ P(((e, t) => {
  var { mkdir: r, readFile: i, rm: s, stat: h, truncate: o, writeFile: n } = ge("fs/promises"), u = Zi(), l = ml(), f = Pf(), a = Ji(), c = ge("path"), d = Rr(), p = (j, M) => Object.prototype.hasOwnProperty.call(j, M), m = (j) => ({
    concurrency: 20,
    log: { silly() {
    } },
    ...j
  });
  t.exports = g;
  async function g(j, M) {
    M = m(M), M.log.silly("verify", "verifying cache at", j);
    const G = [
      v,
      E,
      b,
      _,
      T,
      D,
      y
    ], Y = {};
    for (const H of G) {
      const I = H.name, $ = /* @__PURE__ */ new Date(), q = await H(j, M);
      q && Object.keys(q).forEach((F) => {
        Y[F] = q[F];
      });
      const z = /* @__PURE__ */ new Date();
      Y.runTime || (Y.runTime = {}), Y.runTime[I] = z - $;
    }
    return Y.runTime.total = Y.endTime - Y.startTime, M.log.silly("verify", "verification finished for", j, "in", `${Y.runTime.total}ms`), Y;
  }
  async function v() {
    return { startTime: /* @__PURE__ */ new Date() };
  }
  async function y() {
    return { endTime: /* @__PURE__ */ new Date() };
  }
  async function E(j, M) {
    return M.log.silly("verify", "fixing cache permissions"), await r(j, { recursive: !0 }), null;
  }
  async function b(j, M) {
    M.log.silly("verify", "garbage collecting content");
    const { default: G } = await import("./chunks/p-map-OzxwbPLg.js").then((z) => (z.t(), z.r)), Y = a.lsStream(j), H = /* @__PURE__ */ new Set();
    Y.on("data", (z) => {
      if (M.filter && !M.filter(z)) return;
      const F = d.parse(z.integrity);
      for (const x in F) H.add(F[x].toString());
    }), await new Promise((z, F) => {
      Y.on("end", z).on("error", F);
    });
    const I = u.contentDir(j), $ = await f(c.join(I, "**"), {
      follow: !1,
      nodir: !0,
      nosort: !0
    }), q = {
      verifiedContent: 0,
      reclaimedCount: 0,
      reclaimedSize: 0,
      badContentCount: 0,
      keptSize: 0
    };
    return await G($, async (z) => {
      const F = z.split(/[/\\]/), x = F.slice(F.length - 3).join(""), L = F[F.length - 4], C = d.fromHex(x, L);
      if (H.has(C.toString())) {
        const N = await w(z, C);
        N.valid ? (q.verifiedContent++, q.keptSize += N.size) : (q.reclaimedCount++, q.badContentCount++, q.reclaimedSize += N.size);
      } else {
        q.reclaimedCount++;
        const N = await h(z);
        await s(z, {
          recursive: !0,
          force: !0
        }), q.reclaimedSize += N.size;
      }
      return q;
    }, { concurrency: M.concurrency }), q;
  }
  async function w(j, M) {
    const G = {};
    try {
      const { size: Y } = await h(j);
      G.size = Y, G.valid = !0, await d.checkStream(new l.ReadStream(j), M);
    } catch (Y) {
      if (Y.code === "ENOENT") return {
        size: 0,
        valid: !1
      };
      if (Y.code !== "EINTEGRITY") throw Y;
      await s(j, {
        recursive: !0,
        force: !0
      }), G.valid = !1;
    }
    return G;
  }
  async function _(j, M) {
    M.log.silly("verify", "rebuilding index");
    const { default: G } = await import("./chunks/p-map-OzxwbPLg.js").then(($) => ($.t(), $.r)), Y = await a.ls(j), H = {
      missingContent: 0,
      rejectedEntries: 0,
      totalEntries: 0
    }, I = {};
    for (const $ in Y)
      if (p(Y, $)) {
        const q = a.hashKey($), z = Y[$], F = M.filter && !M.filter(z);
        F && H.rejectedEntries++, I[q] && !F ? I[q].push(z) : I[q] && F || (F ? (I[q] = [], I[q]._path = a.bucketPath(j, $)) : (I[q] = [z], I[q]._path = a.bucketPath(j, $)));
      }
    return await G(Object.keys(I), ($) => S(j, I[$], H, M), { concurrency: M.concurrency }), H;
  }
  async function S(j, M, G) {
    await o(M._path);
    for (const Y of M) {
      const H = u(j, Y.integrity);
      try {
        await h(H), await a.insert(j, Y.key, Y.integrity, {
          metadata: Y.metadata,
          size: Y.size,
          time: Y.time
        }), G.totalEntries++;
      } catch (I) {
        if (I.code === "ENOENT")
          G.rejectedEntries++, G.missingContent++;
        else throw I;
      }
    }
  }
  function T(j, M) {
    return M.log.silly("verify", "cleaning tmp directory"), s(c.join(j, "tmp"), {
      recursive: !0,
      force: !0
    });
  }
  async function D(j, M) {
    const G = c.join(j, "_lastverified");
    return M.log.silly("verify", "writing verifile to " + G), n(G, `${Date.now()}`);
  }
  t.exports.lastRun = R;
  async function R(j) {
    const M = await i(c.join(j, "_lastverified"), { encoding: "utf8" });
    return /* @__PURE__ */ new Date(+M);
  }
})), Iw = /* @__PURE__ */ P(((e, t) => {
  var r = Sw(), i = Tw(), s = Ow(), h = Cw(), { clearMemoized: o } = es(), n = gl(), u = Ji();
  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 = o, t.exports.tmp = {}, t.exports.tmp.mkdir = n.mkdir, t.exports.tmp.withTmp = n.withTmp, t.exports.verify = h, t.exports.verify.lastRun = h.lastRun;
})), Bf = /* @__PURE__ */ P(((e, t) => {
  var r = Ki(), i = class extends r {
    #e = [];
    #t = /* @__PURE__ */ new Map();
    constructor(s, ...h) {
      super(), this.#e = s.events, h.length && this.push(...h);
    }
    on(s, h) {
      return this.#e.includes(s) && this.#t.has(s) ? h(...this.#t.get(s)) : super.on(s, h);
    }
    emit(s, ...h) {
      return this.#e.includes(s) && this.#t.set(s, h), super.emit(s, ...h);
    }
  };
  t.exports = i;
})), kw = /* @__PURE__ */ P(((e, t) => {
  var { URL: r, format: i } = ge("url"), s = {
    auth: !1,
    fragment: !1,
    search: !0,
    unicode: !1
  }, h = (o) => `make-fetch-happen:request-cache:${i(new r(o.url), s)}`;
  t.exports = h;
})), Lw = /* @__PURE__ */ P(((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 h = {};
        for (let o = 0; o < this.#r.length; o++) {
          const n = this.#r[o], { message: u } = n;
          h[u] || (h[u] = 0), h[u]++, h[u] >= s && (i = n, s = h[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 };
})), $w = /* @__PURE__ */ P(((e, t) => {
  var { RetryOperation: r } = Lw(), i = (o, n) => Math.min(Math.round((1 + (n.randomize ? Math.random() : 0)) * Math.max(n.minTimeout, 1) * Math.pow(n.factor, o)), n.maxTimeout), s = (o) => o?.code === "EPROMISERETRY" && Object.hasOwn(o, "retried"), h = async (o, n = {}) => {
    let u = [];
    if (n instanceof Array) u = [...n];
    else {
      n.retries === 1 / 0 && (n.forever = !0, delete n.retries);
      const f = {
        retries: 10,
        factor: 2,
        minTimeout: 1 * 1e3,
        maxTimeout: 1 / 0,
        randomize: !1,
        ...n
      };
      if (f.minTimeout > f.maxTimeout) throw new Error("minTimeout is greater than maxTimeout");
      if (f.retries) {
        for (let a = 0; a < f.retries; a++) u.push(i(a, f));
        u.sort((a, c) => a - c);
      } else n.forever && u.push(i(0, f));
    }
    const l = new r(u, {
      forever: n.forever,
      unref: n.unref,
      maxRetryTime: n.maxRetryTime
    });
    return new Promise(function(f, a) {
      l.attempt(async (c) => {
        try {
          return f(await o((d) => {
            throw Object.assign(/* @__PURE__ */ new Error("Retrying"), {
              code: "EPROMISERETRY",
              retried: d
            });
          }, c, l));
        } catch (d) {
          if (!s(d)) return a(d);
          if (!l.retry(d.retried || /* @__PURE__ */ new Error())) return a(d.retried);
        }
      });
    });
  };
  t.exports = { promiseRetry: h };
})), Ff = /* @__PURE__ */ P(((e, t) => {
  var { LRUCache: r } = qi(), i = ge("dns"), s = new r({ max: 50 }), h = ({ family: o = 0, hints: n = i.ADDRCONFIG, all: u = !1, verbatim: l = void 0, ttl: f = 300 * 1e3, lookup: a = i.lookup }) => ({
    hints: n,
    lookup: (c, ...d) => {
      const p = d.pop(), m = d[0] ?? {}, g = {
        family: o,
        hints: n,
        all: u,
        verbatim: l,
        ...typeof m == "number" ? { family: m } : m
      }, v = JSON.stringify({
        hostname: c,
        ...g
      });
      if (s.has(v)) {
        const y = s.get(v);
        return process.nextTick(p, null, ...y);
      }
      a(c, g, (y, ...E) => y ? p(y) : (s.set(v, E, { ttl: f }), p(null, ...E)));
    }
  });
  t.exports = {
    cache: s,
    getOptions: h
  };
})), Mf = /* @__PURE__ */ P(((e, t) => {
  var r = Ff(), i = (o) => {
    const n = parseInt(o.family ?? "0", 10), u = o.keepAlive ?? !0, l = {
      keepAliveMsecs: u ? 1e3 : void 0,
      maxSockets: o.maxSockets ?? 15,
      maxTotalSockets: 1 / 0,
      maxFreeSockets: u ? 256 : void 0,
      scheduling: "fifo",
      ...o,
      family: n,
      keepAlive: u,
      timeouts: {
        idle: o.timeout ?? 0,
        connection: 0,
        response: 0,
        transfer: 0,
        ...o.timeouts
      },
      ...r.getOptions({
        family: n,
        ...o.dns
      })
    };
    return delete l.timeout, l;
  }, s = (o) => {
    let n = "";
    const u = Object.entries(o).sort((l, f) => l[0] - f[0]);
    for (let [l, f] of u)
      f == null ? f = "null" : f instanceof URL ? f = f.toString() : typeof f == "object" && (f = s(f)), n += `${l}:${f}:`;
    return n;
  }, h = ({ secureEndpoint: o, ...n }) => s({
    secureEndpoint: !!o,
    family: n.family,
    hints: n.hints,
    localAddress: n.localAddress,
    strictSsl: o ? !!n.rejectUnauthorized : !1,
    ca: o ? n.ca : null,
    cert: o ? n.cert : null,
    key: o ? 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: h
  };
})), Nw = /* @__PURE__ */ P(((e, t) => {
  var r = 1e3, i = r * 60, s = i * 60, h = s * 24, o = h * 7, n = h * 365.25;
  t.exports = function(c, d) {
    d = d || {};
    var p = typeof c;
    if (p === "string" && c.length > 0) return u(c);
    if (p === "number" && isFinite(c)) return d.long ? f(c) : l(c);
    throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(c));
  };
  function u(c) {
    if (c = String(c), !(c.length > 100)) {
      var d = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);
      if (d) {
        var p = parseFloat(d[1]);
        switch ((d[2] || "ms").toLowerCase()) {
          case "years":
          case "year":
          case "yrs":
          case "yr":
          case "y":
            return p * n;
          case "weeks":
          case "week":
          case "w":
            return p * o;
          case "days":
          case "day":
          case "d":
            return p * h;
          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 l(c) {
    var d = Math.abs(c);
    return d >= h ? Math.round(c / h) + "d" : d >= s ? Math.round(c / s) + "h" : d >= i ? Math.round(c / i) + "m" : d >= r ? Math.round(c / r) + "s" : c + "ms";
  }
  function f(c) {
    var d = Math.abs(c);
    return d >= h ? a(c, d, h, "day") : d >= s ? a(c, d, s, "hour") : d >= i ? a(c, d, i, "minute") : d >= r ? a(c, d, r, "second") : c + " ms";
  }
  function a(c, d, p, m) {
    var g = d >= p * 1.5;
    return Math.round(c / p) + " " + m + (g ? "s" : "");
  }
})), jf = /* @__PURE__ */ P(((e, t) => {
  function r(i) {
    h.debug = h, h.default = h, h.coerce = a, h.disable = l, h.enable = n, h.enabled = f, h.humanize = Nw(), h.destroy = c, Object.keys(i).forEach((d) => {
      h[d] = i[d];
    }), h.names = [], h.skips = [], h.formatters = {};
    function s(d) {
      let p = 0;
      for (let m = 0; m < d.length; m++)
        p = (p << 5) - p + d.charCodeAt(m), p |= 0;
      return h.colors[Math.abs(p) % h.colors.length];
    }
    h.selectColor = s;
    function h(d) {
      let p, m = null, g, v;
      function y(...E) {
        if (!y.enabled) return;
        const b = y, w = Number(/* @__PURE__ */ new Date());
        b.diff = w - (p || w), b.prev = p, b.curr = w, p = w, E[0] = h.coerce(E[0]), typeof E[0] != "string" && E.unshift("%O");
        let _ = 0;
        E[0] = E[0].replace(/%([a-zA-Z%])/g, (S, T) => {
          if (S === "%%") return "%";
          _++;
          const D = h.formatters[T];
          if (typeof D == "function") {
            const R = E[_];
            S = D.call(b, R), E.splice(_, 1), _--;
          }
          return S;
        }), h.formatArgs.call(b, E), (b.log || h.log).apply(b, E);
      }
      return y.namespace = d, y.useColors = h.useColors(), y.color = h.selectColor(d), y.extend = o, y.destroy = h.destroy, Object.defineProperty(y, "enabled", {
        enumerable: !0,
        configurable: !1,
        get: () => m !== null ? m : (g !== h.namespaces && (g = h.namespaces, v = h.enabled(d)), v),
        set: (E) => {
          m = E;
        }
      }), typeof h.init == "function" && h.init(y), y;
    }
    function o(d, p) {
      const m = h(this.namespace + (typeof p > "u" ? ":" : p) + d);
      return m.log = this.log, m;
    }
    function n(d) {
      h.save(d), h.namespaces = d, h.names = [], h.skips = [];
      const p = (typeof d == "string" ? d : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
      for (const m of p) m[0] === "-" ? h.skips.push(m.slice(1)) : h.names.push(m);
    }
    function u(d, p) {
      let m = 0, g = 0, v = -1, y = 0;
      for (; m < d.length; ) if (g < p.length && (p[g] === d[m] || p[g] === "*")) p[g] === "*" ? (v = g, y = m, g++) : (m++, g++);
      else if (v !== -1)
        g = v + 1, y++, m = y;
      else return !1;
      for (; g < p.length && p[g] === "*"; ) g++;
      return g === p.length;
    }
    function l() {
      const d = [...h.names, ...h.skips.map((p) => "-" + p)].join(",");
      return h.enable(""), d;
    }
    function f(d) {
      for (const p of h.skips) if (u(d, p)) return !1;
      for (const p of h.names) if (u(d, p)) return !0;
      return !1;
    }
    function a(d) {
      return d instanceof Error ? d.stack || d.message : d;
    }
    function c() {
      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 h.enable(h.load()), h;
  }
  t.exports = r;
})), xw = /* @__PURE__ */ P(((e, t) => {
  e.formatArgs = i, e.save = s, e.load = h, e.useColors = r, e.storage = o(), 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 l = "color: " + this.color;
    u.splice(1, 0, l, "color: inherit");
    let f = 0, a = 0;
    u[0].replace(/%[a-zA-Z%]/g, (c) => {
      c !== "%%" && (f++, c === "%c" && (a = f));
    }), u.splice(a, 0, l);
  }
  e.log = console.debug || console.log || (() => {
  });
  function s(u) {
    try {
      u ? e.storage.setItem("debug", u) : e.storage.removeItem("debug");
    } catch {
    }
  }
  function h() {
    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 o() {
    try {
      return localStorage;
    } catch {
    }
  }
  t.exports = jf()(e);
  var { formatters: n } = t.exports;
  n.j = function(u) {
    try {
      return JSON.stringify(u);
    } catch (l) {
      return "[UnexpectedJSONParseError]: " + l.message;
    }
  };
})), Pw = /* @__PURE__ */ P(((e, t) => {
  t.exports = (r, i = process.argv) => {
    const s = r.startsWith("-") ? "" : r.length === 1 ? "-" : "--", h = i.indexOf(s + r), o = i.indexOf("--");
    return h !== -1 && (o === -1 || h < o);
  };
})), Bw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("os"), i = ge("tty"), s = Pw(), { env: h } = process, o;
  s("no-color") || s("no-colors") || s("color=false") || s("color=never") ? o = 0 : (s("color") || s("colors") || s("color=true") || s("color=always")) && (o = 1);
  function n() {
    if ("FORCE_COLOR" in h)
      return h.FORCE_COLOR === "true" ? 1 : h.FORCE_COLOR === "false" ? 0 : h.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(h.FORCE_COLOR, 10), 3);
  }
  function u(a) {
    return a === 0 ? !1 : {
      level: a,
      hasBasic: !0,
      has256: a >= 2,
      has16m: a >= 3
    };
  }
  function l(a, { streamIsTTY: c, sniffFlags: d = !0 } = {}) {
    const p = n();
    p !== void 0 && (o = p);
    const m = d ? o : p;
    if (m === 0) return 0;
    if (d) {
      if (s("color=16m") || s("color=full") || s("color=truecolor")) return 3;
      if (s("color=256")) return 2;
    }
    if (a && !c && m === void 0) return 0;
    const g = m || 0;
    if (h.TERM === "dumb") return g;
    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 h)
      return [
        "TRAVIS",
        "CIRCLECI",
        "APPVEYOR",
        "GITLAB_CI",
        "GITHUB_ACTIONS",
        "BUILDKITE",
        "DRONE"
      ].some((v) => v in h) || h.CI_NAME === "codeship" ? 1 : g;
    if ("TEAMCITY_VERSION" in h) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION) ? 1 : 0;
    if (h.COLORTERM === "truecolor") return 3;
    if ("TERM_PROGRAM" in h) {
      const v = Number.parseInt((h.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (h.TERM_PROGRAM) {
        case "iTerm.app":
          return v >= 3 ? 3 : 2;
        case "Apple_Terminal":
          return 2;
      }
    }
    return /-256(color)?$/i.test(h.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM) || "COLORTERM" in h ? 1 : g;
  }
  function f(a, c = {}) {
    return u(l(a, {
      streamIsTTY: a && a.isTTY,
      ...c
    }));
  }
  t.exports = {
    supportsColor: f,
    stdout: f({ isTTY: i.isatty(1) }),
    stderr: f({ isTTY: i.isatty(2) })
  };
})), Fw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("tty"), i = ge("util");
  e.init = f, e.log = n, e.formatArgs = h, e.save = u, e.load = l, 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 c = Bw();
    c && (c.stderr || c).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((c) => /^debug_/i.test(c)).reduce((c, d) => {
    const p = d.substring(6).toLowerCase().replace(/_([a-z])/g, (g, v) => v.toUpperCase());
    let m = process.env[d];
    return /^(yes|on|true|enabled)$/i.test(m) ? m = !0 : /^(no|off|false|disabled)$/i.test(m) ? m = !1 : m === "null" ? m = null : m = Number(m), c[p] = m, c;
  }, {});
  function s() {
    return "colors" in e.inspectOpts ? !!e.inspectOpts.colors : r.isatty(process.stderr.fd);
  }
  function h(c) {
    const { namespace: d, useColors: p } = this;
    if (p) {
      const m = this.color, g = "\x1B[3" + (m < 8 ? m : "8;5;" + m), v = `  ${g};1m${d} \x1B[0m`;
      c[0] = v + c[0].split(`
`).join(`
` + v), c.push(g + "m+" + t.exports.humanize(this.diff) + "\x1B[0m");
    } else c[0] = o() + d + " " + c[0];
  }
  function o() {
    return e.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " ";
  }
  function n(...c) {
    return process.stderr.write(i.formatWithOptions(e.inspectOpts, ...c) + `
`);
  }
  function u(c) {
    c ? process.env.DEBUG = c : delete process.env.DEBUG;
  }
  function l() {
    return process.env.DEBUG;
  }
  function f(c) {
    c.inspectOpts = {};
    const d = Object.keys(e.inspectOpts);
    for (let p = 0; p < d.length; p++) c.inspectOpts[d[p]] = e.inspectOpts[d[p]];
  }
  t.exports = jf()(e);
  var { formatters: a } = t.exports;
  a.o = function(c) {
    return this.inspectOpts.colors = this.useColors, i.inspect(c, this.inspectOpts).split(`
`).map((d) => d.trim()).join(" ");
  }, a.O = function(c) {
    return this.inspectOpts.colors = this.useColors, i.inspect(c, this.inspectOpts);
  };
})), ts = /* @__PURE__ */ P(((e, t) => {
  typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? t.exports = xw() : t.exports = Fw();
})), Mw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(l, f, a, c) {
    c === void 0 && (c = a);
    var d = Object.getOwnPropertyDescriptor(f, a);
    (!d || ("get" in d ? !f.__esModule : d.writable || d.configurable)) && (d = {
      enumerable: !0,
      get: function() {
        return f[a];
      }
    }), Object.defineProperty(l, c, d);
  }) : (function(l, f, a, c) {
    c === void 0 && (c = a), l[c] = f[a];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(l, f) {
    Object.defineProperty(l, "default", {
      enumerable: !0,
      value: f
    });
  }) : function(l, f) {
    l.default = f;
  }), i = e && e.__importStar || function(l) {
    if (l && l.__esModule) return l;
    var f = {};
    if (l != null)
      for (var a in l) a !== "default" && Object.prototype.hasOwnProperty.call(l, a) && t(f, l, a);
    return r(f, l), f;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.req = e.json = e.toBuffer = void 0;
  var s = i(ge("http")), h = i(ge("https"));
  async function o(l) {
    let f = 0;
    const a = [];
    for await (const c of l)
      f += c.length, a.push(c);
    return Buffer.concat(a, f);
  }
  e.toBuffer = o;
  async function n(l) {
    const f = (await o(l)).toString("utf8");
    try {
      return JSON.parse(f);
    } catch (a) {
      const c = a;
      throw c.message += ` (input: ${f})`, c;
    }
  }
  e.json = n;
  function u(l, f = {}) {
    const a = ((typeof l == "string" ? l : l.href).startsWith("https:") ? h : s).request(l, f), c = new Promise((d, p) => {
      a.once("response", d).once("error", p).end();
    });
    return a.then = c.then.bind(c), a;
  }
  e.req = u;
})), rs = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(f, a, c, d) {
    d === void 0 && (d = c);
    var p = Object.getOwnPropertyDescriptor(a, c);
    (!p || ("get" in p ? !a.__esModule : p.writable || p.configurable)) && (p = {
      enumerable: !0,
      get: function() {
        return a[c];
      }
    }), Object.defineProperty(f, d, p);
  }) : (function(f, a, c, d) {
    d === void 0 && (d = c), f[d] = a[c];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(f, a) {
    Object.defineProperty(f, "default", {
      enumerable: !0,
      value: a
    });
  }) : function(f, a) {
    f.default = a;
  }), i = e && e.__importStar || function(f) {
    if (f && f.__esModule) return f;
    var a = {};
    if (f != null)
      for (var c in f) c !== "default" && Object.prototype.hasOwnProperty.call(f, c) && t(a, f, c);
    return r(a, f), a;
  }, s = e && e.__exportStar || function(f, a) {
    for (var c in f) c !== "default" && !Object.prototype.hasOwnProperty.call(a, c) && t(a, f, c);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Agent = void 0;
  var h = i(ge("net")), o = i(ge("http")), n = ge("https");
  s(Mw(), e);
  var u = /* @__PURE__ */ Symbol("AgentBaseInternalState"), l = class extends o.Agent {
    constructor(f) {
      super(f), this[u] = {};
    }
    isSecureEndpoint(f) {
      if (f) {
        if (typeof f.secureEndpoint == "boolean") return f.secureEndpoint;
        if (typeof f.protocol == "string") return f.protocol === "https:";
      }
      const { stack: a } = /* @__PURE__ */ new Error();
      return typeof a != "string" ? !1 : a.split(`
`).some((c) => c.indexOf("(https.js:") !== -1 || c.indexOf("node:https:") !== -1);
    }
    incrementSockets(f) {
      if (this.maxSockets === 1 / 0 && this.maxTotalSockets === 1 / 0) return null;
      this.sockets[f] || (this.sockets[f] = []);
      const a = new h.Socket({ writable: !1 });
      return this.sockets[f].push(a), this.totalSocketCount++, a;
    }
    decrementSockets(f, a) {
      if (!this.sockets[f] || a === null) return;
      const c = this.sockets[f], d = c.indexOf(a);
      d !== -1 && (c.splice(d, 1), this.totalSocketCount--, c.length === 0 && delete this.sockets[f]);
    }
    getName(f) {
      return this.isSecureEndpoint(f) ? n.Agent.prototype.getName.call(this, f) : super.getName(f);
    }
    createSocket(f, a, c) {
      const d = {
        ...a,
        secureEndpoint: this.isSecureEndpoint(a)
      }, p = this.getName(d), m = this.incrementSockets(p);
      Promise.resolve().then(() => this.connect(f, d)).then((g) => {
        if (this.decrementSockets(p, m), g instanceof o.Agent) try {
          return g.addRequest(f, d);
        } catch (v) {
          return c(v);
        }
        this[u].currentSocket = g, super.createSocket(f, a, c);
      }, (g) => {
        this.decrementSockets(p, m), c(g);
      });
    }
    createConnection() {
      const f = this[u].currentSocket;
      if (this[u].currentSocket = void 0, !f) throw new Error("No socket was returned in the `connect()` function");
      return f;
    }
    get defaultPort() {
      return this[u].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
    }
    set defaultPort(f) {
      this[u] && (this[u].defaultPort = f);
    }
    get protocol() {
      return this[u].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
    }
    set protocol(f) {
      this[u] && (this[u].protocol = f);
    }
  };
  e.Agent = l;
})), jw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(p, m, g, v) {
    v === void 0 && (v = g);
    var y = Object.getOwnPropertyDescriptor(m, g);
    (!y || ("get" in y ? !m.__esModule : y.writable || y.configurable)) && (y = {
      enumerable: !0,
      get: function() {
        return m[g];
      }
    }), Object.defineProperty(p, v, y);
  }) : (function(p, m, g, v) {
    v === void 0 && (v = g), p[v] = m[g];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(p, m) {
    Object.defineProperty(p, "default", {
      enumerable: !0,
      value: m
    });
  }) : function(p, m) {
    p.default = m;
  }), i = e && e.__importStar || function(p) {
    if (p && p.__esModule) return p;
    var m = {};
    if (p != null)
      for (var g in p) g !== "default" && Object.prototype.hasOwnProperty.call(p, g) && t(m, p, g);
    return r(m, p), m;
  }, s = e && e.__importDefault || function(p) {
    return p && p.__esModule ? p : { default: p };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpProxyAgent = void 0;
  var h = i(ge("net")), o = i(ge("tls")), n = s(ts()), u = ge("events"), l = rs(), f = ge("url"), a = (0, n.default)("http-proxy-agent"), c = class extends l.Agent {
    constructor(p, m) {
      super(m), this.proxy = typeof p == "string" ? new f.URL(p) : p, this.proxyHeaders = m?.headers ?? {}, a("Creating new HttpProxyAgent instance: %o", this.proxy.href);
      const g = (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 = {
        ...m ? d(m, "headers") : null,
        host: g,
        port: v
      };
    }
    addRequest(p, m) {
      p._header = null, this.setRequestProps(p, m), super.addRequest(p, m);
    }
    setRequestProps(p, m) {
      const { proxy: g } = this, v = `${m.secureEndpoint ? "https:" : "http:"}//${p.getHeader("host") || "localhost"}`, y = new f.URL(p.path, v);
      m.port !== 80 && (y.port = String(m.port)), p.path = String(y);
      const E = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
      if (g.username || g.password) {
        const b = `${decodeURIComponent(g.username)}:${decodeURIComponent(g.password)}`;
        E["Proxy-Authorization"] = `Basic ${Buffer.from(b).toString("base64")}`;
      }
      E["Proxy-Connection"] || (E["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const b of Object.keys(E)) {
        const w = E[b];
        w && p.setHeader(b, w);
      }
    }
    async connect(p, m) {
      p._header = null, p.path.includes("://") || this.setRequestProps(p, m);
      let g, 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"), g = p.outputData[0].data, v = g.indexOf(`\r
\r
`) + 4, p.outputData[0].data = p._header + g.substring(v), a("Output buffer: %o", p.outputData[0].data));
      let y;
      return this.proxy.protocol === "https:" ? (a("Creating `tls.Socket`: %o", this.connectOpts), y = o.connect(this.connectOpts)) : (a("Creating `net.Socket`: %o", this.connectOpts), y = h.connect(this.connectOpts)), await (0, u.once)(y, "connect"), y;
    }
  };
  c.protocols = ["http", "https"], e.HttpProxyAgent = c;
  function d(p, ...m) {
    const g = {};
    let v;
    for (v in p) m.includes(v) || (g[v] = p[v]);
    return g;
  }
})), Uw = /* @__PURE__ */ P(((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(ts()).default)("https-proxy-agent:parse-proxy-response");
  function i(s) {
    return new Promise((h, o) => {
      let n = 0;
      const u = [];
      function l() {
        const p = s.read();
        p ? d(p) : s.once("readable", l);
      }
      function f() {
        s.removeListener("end", a), s.removeListener("error", c), s.removeListener("readable", l);
      }
      function a() {
        f(), r("onend"), o(/* @__PURE__ */ new Error("Proxy connection ended before receiving CONNECT response"));
      }
      function c(p) {
        f(), r("onerror %o", p), o(p);
      }
      function d(p) {
        u.push(p), n += p.length;
        const m = Buffer.concat(u, n), g = m.indexOf(`\r
\r
`);
        if (g === -1) {
          r("have not received end of HTTP headers yet..."), l();
          return;
        }
        const v = m.slice(0, g).toString("ascii").split(`\r
`), y = v.shift();
        if (!y)
          return s.destroy(), o(/* @__PURE__ */ new Error("No header received from proxy CONNECT response"));
        const E = y.split(" "), b = +E[1], w = E.slice(2).join(" "), _ = {};
        for (const S of v) {
          if (!S) continue;
          const T = S.indexOf(":");
          if (T === -1)
            return s.destroy(), o(/* @__PURE__ */ new Error(`Invalid header from proxy CONNECT response: "${S}"`));
          const D = S.slice(0, T).toLowerCase(), R = S.slice(T + 1).trimStart(), j = _[D];
          typeof j == "string" ? _[D] = [j, R] : Array.isArray(j) ? j.push(R) : _[D] = R;
        }
        r("got proxy server response: %o %o", y, _), f(), h({
          connect: {
            statusCode: b,
            statusText: w,
            headers: _
          },
          buffered: m
        });
      }
      s.on("error", c), s.on("end", a), l();
    });
  }
  e.parseProxyResponse = i;
})), Hw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, y, E, b) {
    b === void 0 && (b = E);
    var w = Object.getOwnPropertyDescriptor(y, E);
    (!w || ("get" in w ? !y.__esModule : w.writable || w.configurable)) && (w = {
      enumerable: !0,
      get: function() {
        return y[E];
      }
    }), Object.defineProperty(v, b, w);
  }) : (function(v, y, E, b) {
    b === void 0 && (b = E), v[b] = y[E];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, y) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: y
    });
  }) : function(v, y) {
    v.default = y;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var y = {};
    if (v != null)
      for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && t(y, v, E);
    return r(y, v), y;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpsProxyAgent = void 0;
  var h = i(ge("net")), o = i(ge("tls")), n = s(ge("assert")), u = s(ts()), l = rs(), f = ge("url"), a = Uw(), c = (0, u.default)("https-proxy-agent"), d = (v) => v.servername === void 0 && v.host && !h.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v, p = class extends l.Agent {
    constructor(v, y) {
      super(y), this.options = { path: void 0 }, this.proxy = typeof v == "string" ? new f.URL(v) : v, this.proxyHeaders = y?.headers ?? {}, c("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
      const E = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), b = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
      this.connectOpts = {
        ALPNProtocols: ["http/1.1"],
        ...y ? g(y, "headers") : null,
        host: E,
        port: b
      };
    }
    async connect(v, y) {
      const { proxy: E } = this;
      if (!y.host) throw new TypeError('No "host" provided');
      let b;
      E.protocol === "https:" ? (c("Creating `tls.Socket`: %o", this.connectOpts), b = o.connect(d(this.connectOpts))) : (c("Creating `net.Socket`: %o", this.connectOpts), b = h.connect(this.connectOpts));
      const w = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders }, _ = h.isIPv6(y.host) ? `[${y.host}]` : y.host;
      let S = `CONNECT ${_}:${y.port} HTTP/1.1\r
`;
      if (E.username || E.password) {
        const M = `${decodeURIComponent(E.username)}:${decodeURIComponent(E.password)}`;
        w["Proxy-Authorization"] = `Basic ${Buffer.from(M).toString("base64")}`;
      }
      w.Host = `${_}:${y.port}`, w["Proxy-Connection"] || (w["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const M of Object.keys(w)) S += `${M}: ${w[M]}\r
`;
      const T = (0, a.parseProxyResponse)(b);
      b.write(`${S}\r
`);
      const { connect: D, buffered: R } = await T;
      if (v.emit("proxyConnect", D), this.emit("proxyConnect", D, v), D.statusCode === 200)
        return v.once("socket", m), y.secureEndpoint ? (c("Upgrading socket connection to TLS"), o.connect({
          ...g(d(y), "host", "path", "port"),
          socket: b
        })) : b;
      b.destroy();
      const j = new h.Socket({ writable: !1 });
      return j.readable = !0, v.once("socket", (M) => {
        c("Replaying proxy buffer for failed request"), (0, n.default)(M.listenerCount("data") > 0), M.push(R), M.push(null);
      }), j;
    }
  };
  p.protocols = ["http", "https"], e.HttpsProxyAgent = p;
  function m(v) {
    v.resume();
  }
  function g(v, ...y) {
    const E = {};
    let b;
    for (b in v) y.includes(b) || (E[b] = v[b]);
    return E;
  }
})), qw = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ge("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) && l(a);
  }
  e.isFiniteInteger = s;
  function h(a, c) {
    if (typeof a == "number") {
      if (!s(a) || a < 0) throw new Error(c ? r.INVALID_OFFSET : r.INVALID_LENGTH);
    } else throw new Error(c ? r.INVALID_OFFSET_NON_NUMBER : r.INVALID_LENGTH_NON_NUMBER);
  }
  function o(a) {
    h(a, !1);
  }
  e.checkLengthValue = o;
  function n(a) {
    h(a, !0);
  }
  e.checkOffsetValue = n;
  function u(a, c) {
    if (a < 0 || a > c.length) throw new Error(r.INVALID_TARGET_OFFSET);
  }
  e.checkTargetOffset = u;
  function l(a) {
    return typeof a == "number" && isFinite(a) && Math.floor(a) === a;
  }
  function f(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 = f;
})), Gw = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = qw(), r = 4096, i = "utf8", s = class Uf {
    constructor(o) {
      if (this.length = 0, this._encoding = i, this._writeOffset = 0, this._readOffset = 0, Uf.isSmartBufferOptions(o))
        if (o.encoding && (t.checkEncoding(o.encoding), this._encoding = o.encoding), o.size) if (t.isFiniteInteger(o.size) && o.size > 0) this._buff = Buffer.allocUnsafe(o.size);
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_SIZE);
        else if (o.buff) if (Buffer.isBuffer(o.buff))
          this._buff = o.buff, this.length = o.buff.length;
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_BUFFER);
        else this._buff = Buffer.allocUnsafe(r);
      else {
        if (typeof o < "u") throw new Error(t.ERRORS.INVALID_SMARTBUFFER_OBJECT);
        this._buff = Buffer.allocUnsafe(r);
      }
    }
    static fromSize(o, n) {
      return new this({
        size: o,
        encoding: n
      });
    }
    static fromBuffer(o, n) {
      return new this({
        buff: o,
        encoding: n
      });
    }
    static fromOptions(o) {
      return new this(o);
    }
    static isSmartBufferOptions(o) {
      const n = o;
      return n && (n.encoding !== void 0 || n.size !== void 0 || n.buff !== void 0);
    }
    readInt8(o) {
      return this._readNumberValue(Buffer.prototype.readInt8, 1, o);
    }
    readInt16BE(o) {
      return this._readNumberValue(Buffer.prototype.readInt16BE, 2, o);
    }
    readInt16LE(o) {
      return this._readNumberValue(Buffer.prototype.readInt16LE, 2, o);
    }
    readInt32BE(o) {
      return this._readNumberValue(Buffer.prototype.readInt32BE, 4, o);
    }
    readInt32LE(o) {
      return this._readNumberValue(Buffer.prototype.readInt32LE, 4, o);
    }
    readBigInt64BE(o) {
      return t.bigIntAndBufferInt64Check("readBigInt64BE"), this._readNumberValue(Buffer.prototype.readBigInt64BE, 8, o);
    }
    readBigInt64LE(o) {
      return t.bigIntAndBufferInt64Check("readBigInt64LE"), this._readNumberValue(Buffer.prototype.readBigInt64LE, 8, o);
    }
    writeInt8(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt8, 1, o, n), this;
    }
    insertInt8(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt8, 1, o, n);
    }
    writeInt16BE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16BE, 2, o, n);
    }
    insertInt16BE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16BE, 2, o, n);
    }
    writeInt16LE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16LE, 2, o, n);
    }
    insertInt16LE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16LE, 2, o, n);
    }
    writeInt32BE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32BE, 4, o, n);
    }
    insertInt32BE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32BE, 4, o, n);
    }
    writeInt32LE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32LE, 4, o, n);
    }
    insertInt32LE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32LE, 4, o, n);
    }
    writeBigInt64BE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigInt64BE, 8, o, n);
    }
    insertBigInt64BE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigInt64BE, 8, o, n);
    }
    writeBigInt64LE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigInt64LE, 8, o, n);
    }
    insertBigInt64LE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigInt64LE, 8, o, n);
    }
    readUInt8(o) {
      return this._readNumberValue(Buffer.prototype.readUInt8, 1, o);
    }
    readUInt16BE(o) {
      return this._readNumberValue(Buffer.prototype.readUInt16BE, 2, o);
    }
    readUInt16LE(o) {
      return this._readNumberValue(Buffer.prototype.readUInt16LE, 2, o);
    }
    readUInt32BE(o) {
      return this._readNumberValue(Buffer.prototype.readUInt32BE, 4, o);
    }
    readUInt32LE(o) {
      return this._readNumberValue(Buffer.prototype.readUInt32LE, 4, o);
    }
    readBigUInt64BE(o) {
      return t.bigIntAndBufferInt64Check("readBigUInt64BE"), this._readNumberValue(Buffer.prototype.readBigUInt64BE, 8, o);
    }
    readBigUInt64LE(o) {
      return t.bigIntAndBufferInt64Check("readBigUInt64LE"), this._readNumberValue(Buffer.prototype.readBigUInt64LE, 8, o);
    }
    writeUInt8(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt8, 1, o, n);
    }
    insertUInt8(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt8, 1, o, n);
    }
    writeUInt16BE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16BE, 2, o, n);
    }
    insertUInt16BE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16BE, 2, o, n);
    }
    writeUInt16LE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16LE, 2, o, n);
    }
    insertUInt16LE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16LE, 2, o, n);
    }
    writeUInt32BE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32BE, 4, o, n);
    }
    insertUInt32BE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32BE, 4, o, n);
    }
    writeUInt32LE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32LE, 4, o, n);
    }
    insertUInt32LE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32LE, 4, o, n);
    }
    writeBigUInt64BE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64BE, 8, o, n);
    }
    insertBigUInt64BE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64BE, 8, o, n);
    }
    writeBigUInt64LE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64LE, 8, o, n);
    }
    insertBigUInt64LE(o, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64LE, 8, o, n);
    }
    readFloatBE(o) {
      return this._readNumberValue(Buffer.prototype.readFloatBE, 4, o);
    }
    readFloatLE(o) {
      return this._readNumberValue(Buffer.prototype.readFloatLE, 4, o);
    }
    writeFloatBE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatBE, 4, o, n);
    }
    insertFloatBE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatBE, 4, o, n);
    }
    writeFloatLE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatLE, 4, o, n);
    }
    insertFloatLE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatLE, 4, o, n);
    }
    readDoubleBE(o) {
      return this._readNumberValue(Buffer.prototype.readDoubleBE, 8, o);
    }
    readDoubleLE(o) {
      return this._readNumberValue(Buffer.prototype.readDoubleLE, 8, o);
    }
    writeDoubleBE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleBE, 8, o, n);
    }
    insertDoubleBE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleBE, 8, o, n);
    }
    writeDoubleLE(o, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleLE, 8, o, n);
    }
    insertDoubleLE(o, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleLE, 8, o, n);
    }
    readString(o, n) {
      let u;
      typeof o == "number" ? (t.checkLengthValue(o), u = Math.min(o, this.length - this._readOffset)) : (n = o, u = this.length - this._readOffset), typeof n < "u" && t.checkEncoding(n);
      const l = this._buff.slice(this._readOffset, this._readOffset + u).toString(n || this._encoding);
      return this._readOffset += u, l;
    }
    insertString(o, n, u) {
      return t.checkOffsetValue(n), this._handleString(o, !0, n, u);
    }
    writeString(o, n, u) {
      return this._handleString(o, !1, n, u);
    }
    readStringNT(o) {
      typeof o < "u" && t.checkEncoding(o);
      let n = this.length;
      for (let l = this._readOffset; l < this.length; l++) if (this._buff[l] === 0) {
        n = l;
        break;
      }
      const u = this._buff.slice(this._readOffset, n);
      return this._readOffset = n + 1, u.toString(o || this._encoding);
    }
    insertStringNT(o, n, u) {
      return t.checkOffsetValue(n), this.insertString(o, n, u), this.insertUInt8(0, n + o.length), this;
    }
    writeStringNT(o, n, u) {
      return this.writeString(o, n, u), this.writeUInt8(0, typeof n == "number" ? n + o.length : this.writeOffset), this;
    }
    readBuffer(o) {
      typeof o < "u" && t.checkLengthValue(o);
      const n = typeof o == "number" ? o : this.length, u = Math.min(this.length, this._readOffset + n), l = this._buff.slice(this._readOffset, u);
      return this._readOffset = u, l;
    }
    insertBuffer(o, n) {
      return t.checkOffsetValue(n), this._handleBuffer(o, !0, n);
    }
    writeBuffer(o, n) {
      return this._handleBuffer(o, !1, n);
    }
    readBufferNT() {
      let o = this.length;
      for (let u = this._readOffset; u < this.length; u++) if (this._buff[u] === 0) {
        o = u;
        break;
      }
      const n = this._buff.slice(this._readOffset, o);
      return this._readOffset = o + 1, n;
    }
    insertBufferNT(o, n) {
      return t.checkOffsetValue(n), this.insertBuffer(o, n), this.insertUInt8(0, n + o.length), this;
    }
    writeBufferNT(o, n) {
      return typeof n < "u" && t.checkOffsetValue(n), this.writeBuffer(o, n), this.writeUInt8(0, typeof n == "number" ? n + o.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(o) {
      t.checkOffsetValue(o), t.checkTargetOffset(o, this), this._readOffset = o;
    }
    get writeOffset() {
      return this._writeOffset;
    }
    set writeOffset(o) {
      t.checkOffsetValue(o), t.checkTargetOffset(o, this), this._writeOffset = o;
    }
    get encoding() {
      return this._encoding;
    }
    set encoding(o) {
      t.checkEncoding(o), this._encoding = o;
    }
    get internalBuffer() {
      return this._buff;
    }
    toBuffer() {
      return this._buff.slice(0, this.length);
    }
    toString(o) {
      const n = typeof o == "string" ? o : this._encoding;
      return t.checkEncoding(n), this._buff.toString(n, 0, this.length);
    }
    destroy() {
      return this.clear(), this;
    }
    _handleString(o, n, u, l) {
      let f = this._writeOffset, a = this._encoding;
      typeof u == "number" ? f = u : typeof u == "string" && (t.checkEncoding(u), a = u), typeof l == "string" && (t.checkEncoding(l), a = l);
      const c = Buffer.byteLength(o, a);
      return n ? this.ensureInsertable(c, f) : this._ensureWriteable(c, f), this._buff.write(o, f, c, a), n ? this._writeOffset += c : typeof u == "number" ? this._writeOffset = Math.max(this._writeOffset, f + c) : this._writeOffset += c, this;
    }
    _handleBuffer(o, n, u) {
      const l = typeof u == "number" ? u : this._writeOffset;
      return n ? this.ensureInsertable(o.length, l) : this._ensureWriteable(o.length, l), o.copy(this._buff, l), n ? this._writeOffset += o.length : typeof u == "number" ? this._writeOffset = Math.max(this._writeOffset, l + o.length) : this._writeOffset += o.length, this;
    }
    ensureReadable(o, n) {
      let u = this._readOffset;
      if (typeof n < "u" && (t.checkOffsetValue(n), u = n), u < 0 || u + o > this.length) throw new Error(t.ERRORS.INVALID_READ_BEYOND_BOUNDS);
    }
    ensureInsertable(o, n) {
      t.checkOffsetValue(n), this._ensureCapacity(this.length + o), n < this.length && this._buff.copy(this._buff, n + o, n, this._buff.length), n + o > this.length ? this.length = n + o : this.length += o;
    }
    _ensureWriteable(o, n) {
      const u = typeof n == "number" ? n : this._writeOffset;
      this._ensureCapacity(u + o), u + o > this.length && (this.length = u + o);
    }
    _ensureCapacity(o) {
      const n = this._buff.length;
      if (o > n) {
        let u = this._buff, l = n * 3 / 2 + 1;
        l < o && (l = o), this._buff = Buffer.allocUnsafe(l), u.copy(this._buff, 0, 0, n);
      }
    }
    _readNumberValue(o, n, u) {
      this.ensureReadable(n, u);
      const l = o.call(this._buff, typeof u == "number" ? u : this._readOffset);
      return typeof u > "u" && (this._readOffset += n), l;
    }
    _insertNumberValue(o, n, u, l) {
      return t.checkOffsetValue(l), this.ensureInsertable(n, l), o.call(this._buff, u, l), this._writeOffset += n, this;
    }
    _writeNumberValue(o, n, u, l) {
      if (typeof l == "number") {
        if (l < 0) throw new Error(t.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);
        t.checkOffsetValue(l);
      }
      const f = typeof l == "number" ? l : this._writeOffset;
      return this._ensureWriteable(n, f), o.call(this._buff, u, f), typeof l == "number" ? this._writeOffset = Math.max(this._writeOffset, f + n) : this._writeOffset += n, this;
    }
  };
  e.SmartBuffer = s;
})), Hf = /* @__PURE__ */ P(((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: (d) => d + 7,
    Socks4Response: 8
  };
  e.SOCKS_INCOMING_PACKET_SIZES = i;
  var s;
  (function(d) {
    d[d.connect = 1] = "connect", d[d.bind = 2] = "bind", d[d.associate = 3] = "associate";
  })(s || (e.SocksCommand = s = {}));
  var h;
  (function(d) {
    d[d.Granted = 90] = "Granted", d[d.Failed = 91] = "Failed", d[d.Rejected = 92] = "Rejected", d[d.RejectedIdent = 93] = "RejectedIdent";
  })(h || (e.Socks4Response = h = {}));
  var o;
  (function(d) {
    d[d.NoAuth = 0] = "NoAuth", d[d.GSSApi = 1] = "GSSApi", d[d.UserPass = 2] = "UserPass";
  })(o || (e.Socks5Auth = o = {}));
  var n = 128;
  e.SOCKS5_CUSTOM_AUTH_START = n;
  var u = 254;
  e.SOCKS5_CUSTOM_AUTH_END = u;
  var l = 255;
  e.SOCKS5_NO_ACCEPTABLE_AUTH = l;
  var f;
  (function(d) {
    d[d.Granted = 0] = "Granted", d[d.Failure = 1] = "Failure", d[d.NotAllowed = 2] = "NotAllowed", d[d.NetworkUnreachable = 3] = "NetworkUnreachable", d[d.HostUnreachable = 4] = "HostUnreachable", d[d.ConnectionRefused = 5] = "ConnectionRefused", d[d.TTLExpired = 6] = "TTLExpired", d[d.CommandNotSupported = 7] = "CommandNotSupported", d[d.AddressNotSupported = 8] = "AddressNotSupported";
  })(f || (e.Socks5Response = f = {}));
  var a;
  (function(d) {
    d[d.IPv4 = 1] = "IPv4", d[d.Hostname = 3] = "Hostname", d[d.IPv6 = 4] = "IPv6";
  })(a || (e.Socks5HostType = a = {}));
  var c;
  (function(d) {
    d[d.Created = 0] = "Created", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected", d[d.SentInitialHandshake = 3] = "SentInitialHandshake", d[d.ReceivedInitialHandshakeResponse = 4] = "ReceivedInitialHandshakeResponse", d[d.SentAuthentication = 5] = "SentAuthentication", d[d.ReceivedAuthenticationResponse = 6] = "ReceivedAuthenticationResponse", d[d.SentFinalHandshake = 7] = "SentFinalHandshake", d[d.ReceivedFinalResponse = 8] = "ReceivedFinalResponse", d[d.BoundWaitingForConnection = 9] = "BoundWaitingForConnection", d[d.Established = 10] = "Established", d[d.Disconnected = 11] = "Disconnected", d[d.Error = 99] = "Error";
  })(c || (e.SocksClientState = c = {}));
})), qf = /* @__PURE__ */ P(((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 h = Math.floor(Math.random() * (s + 1));
      [i[s], i[h]] = [i[h], i[s]];
    }
  }
  e.shuffleArray = r;
})), so = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isInSubnet = t, e.isCorrect = r, e.numberToPaddedHex = i, e.stringToPaddedHex = s, e.testBit = h;
  function t(o) {
    return this.subnetMask < o.subnetMask ? !1 : this.mask(o.subnetMask) === o.mask();
  }
  function r(o) {
    return function() {
      return this.addressMinusSuffix !== this.correctForm() ? !1 : this.subnetMask === o && !this.parsedSubnet ? !0 : this.parsedSubnet === String(this.subnetMask);
    };
  }
  function i(o) {
    return o.toString(16).padStart(2, "0");
  }
  function s(o) {
    return i(parseInt(o, 10));
  }
  function h(o, n) {
    const { length: u } = o;
    if (n > u) return !1;
    const l = u - n;
    return o.substring(l, l + 1) === "1";
  }
})), Gf = /* @__PURE__ */ P(((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}$/;
})), vl = /* @__PURE__ */ P(((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;
})), zf = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(u, l, f, a) {
    a === void 0 && (a = f);
    var c = Object.getOwnPropertyDescriptor(l, f);
    (!c || ("get" in c ? !l.__esModule : c.writable || c.configurable)) && (c = {
      enumerable: !0,
      get: function() {
        return l[f];
      }
    }), Object.defineProperty(u, a, c);
  }) : (function(u, l, f, a) {
    a === void 0 && (a = f), u[a] = l[f];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(u, l) {
    Object.defineProperty(u, "default", {
      enumerable: !0,
      value: l
    });
  }) : function(u, l) {
    u.default = l;
  }), i = e && e.__importStar || function(u) {
    if (u && u.__esModule) return u;
    var l = {};
    if (u != null)
      for (var f in u) f !== "default" && Object.prototype.hasOwnProperty.call(u, f) && t(l, u, f);
    return r(l, u), l;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address4 = void 0;
  var s = i(so()), h = i(Gf()), o = vl(), n = class Mt {
    constructor(l) {
      this.groups = h.GROUPS, this.parsedAddress = [], this.parsedSubnet = "", this.subnet = "/32", this.subnetMask = 32, this.v4 = !0, this.isCorrect = s.isCorrect(h.BITS), this.isInSubnet = s.isInSubnet, this.address = l;
      const f = h.RE_SUBNET_STRING.exec(l);
      if (f) {
        if (this.parsedSubnet = f[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, this.subnetMask < 0 || this.subnetMask > h.BITS) throw new o.AddressError("Invalid subnet mask.");
        l = l.replace(h.RE_SUBNET_STRING, "");
      }
      this.addressMinusSuffix = l, this.parsedAddress = this.parse(l);
    }
    static isValid(l) {
      try {
        return new Mt(l), !0;
      } catch {
        return !1;
      }
    }
    parse(l) {
      const f = l.split(".");
      if (!l.match(h.RE_ADDRESS)) throw new o.AddressError("Invalid IPv4 address.");
      return f;
    }
    correctForm() {
      return this.parsedAddress.map((l) => parseInt(l, 10)).join(".");
    }
    static fromHex(l) {
      const f = l.replace(/:/g, "").padStart(8, "0"), a = [];
      let c;
      for (c = 0; c < 8; c += 2) {
        const d = f.slice(c, c + 2);
        a.push(parseInt(d, 16));
      }
      return new Mt(a.join("."));
    }
    static fromInteger(l) {
      return Mt.fromHex(l.toString(16));
    }
    static fromArpa(l) {
      return new Mt(l.replace(/(\.in-addr\.arpa)?\.$/, "").split(".").reverse().join("."));
    }
    toHex() {
      return this.parsedAddress.map((l) => s.stringToPaddedHex(l)).join(":");
    }
    toArray() {
      return this.parsedAddress.map((l) => parseInt(l, 10));
    }
    toGroup6() {
      const l = [];
      let f;
      for (f = 0; f < h.GROUPS; f += 2) l.push(`${s.stringToPaddedHex(this.parsedAddress[f])}${s.stringToPaddedHex(this.parsedAddress[f + 1])}`);
      return l.join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map((l) => s.stringToPaddedHex(l)).join("")}`);
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(h.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return Mt.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const l = BigInt("1");
      return Mt.fromBigInt(this._startAddress() + l);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(h.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return Mt.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const l = BigInt("1");
      return Mt.fromBigInt(this._endAddress() - l);
    }
    static fromBigInt(l) {
      return Mt.fromHex(l.toString(16));
    }
    static fromByteArray(l) {
      if (l.length !== 4) throw new o.AddressError("IPv4 addresses require exactly 4 bytes");
      for (let f = 0; f < l.length; f++) if (!Number.isInteger(l[f]) || l[f] < 0 || l[f] > 255) throw new o.AddressError("All bytes must be integers between 0 and 255");
      return this.fromUnsignedByteArray(l);
    }
    static fromUnsignedByteArray(l) {
      if (l.length !== 4) throw new o.AddressError("IPv4 addresses require exactly 4 bytes");
      return new Mt(l.join("."));
    }
    mask(l) {
      return l === void 0 && (l = this.subnetMask), this.getBitsBase2(0, l);
    }
    getBitsBase2(l, f) {
      return this.binaryZeroPad().slice(l, f);
    }
    reverseForm(l) {
      l || (l = {});
      const f = this.correctForm().split(".").reverse().join(".");
      return l.omitSuffix ? f : `${f}.in-addr.arpa.`;
    }
    isMulticast() {
      return this.isInSubnet(new Mt("224.0.0.0/4"));
    }
    binaryZeroPad() {
      return this.bigInt().toString(2).padStart(h.BITS, "0");
    }
    groupForV6() {
      const l = this.parsedAddress;
      return this.address.replace(h.RE_ADDRESS, `<span class="hover-group group-v4 group-6">${l.slice(0, 2).join(".")}</span>.<span class="hover-group group-v4 group-7">${l.slice(2, 4).join(".")}</span>`);
    }
  };
  e.Address4 = n;
})), Wf = /* @__PURE__ */ P(((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"
  }, 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})/;
})), Vf = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.spanAllZeroes = t, e.spanAll = r, e.spanLeadingZeroes = s, e.simpleGroup = h;
  function t(o) {
    return o.replace(/(0+)/g, '<span class="zero">$1</span>');
  }
  function r(o, n = 0) {
    return o.split("").map((u, l) => `<span class="digit value-${u} position-${l + n}">${t(u)}</span>`).join("");
  }
  function i(o) {
    return o.replace(/^(0+)/, '<span class="zero">$1</span>');
  }
  function s(o) {
    return o.split(":").map((n) => i(n)).join(":");
  }
  function h(o, n = 0) {
    return o.split(":").map((u, l) => /group-v4/.test(u) ? u : `<span class="hover-group group-${l + n}">${i(u)}</span>`);
  }
})), zw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(l, f, a, c) {
    c === void 0 && (c = a);
    var d = Object.getOwnPropertyDescriptor(f, a);
    (!d || ("get" in d ? !f.__esModule : d.writable || d.configurable)) && (d = {
      enumerable: !0,
      get: function() {
        return f[a];
      }
    }), Object.defineProperty(l, c, d);
  }) : (function(l, f, a, c) {
    c === void 0 && (c = a), l[c] = f[a];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(l, f) {
    Object.defineProperty(l, "default", {
      enumerable: !0,
      value: f
    });
  }) : function(l, f) {
    l.default = f;
  }), i = e && e.__importStar || function(l) {
    if (l && l.__esModule) return l;
    var f = {};
    if (l != null)
      for (var a in l) a !== "default" && Object.prototype.hasOwnProperty.call(l, a) && t(f, l, a);
    return r(f, l), f;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ADDRESS_BOUNDARY = void 0, e.groupPossibilities = h, e.padGroup = o, e.simpleRegularExpression = n, e.possibleElisions = u;
  var s = i(Wf());
  function h(l) {
    return `(${l.join("|")})`;
  }
  function o(l) {
    return l.length < 4 ? `0{0,${4 - l.length}}${l}` : l;
  }
  e.ADDRESS_BOUNDARY = "[^A-Fa-f0-9:]";
  function n(l) {
    const f = [];
    l.forEach((c, d) => {
      parseInt(c, 16) === 0 && f.push(d);
    });
    const a = f.map((c) => l.map((d, p) => {
      if (p === c) {
        const m = p === 0 || p === s.GROUPS - 1 ? ":" : "";
        return h([o(d), m]);
      }
      return o(d);
    }).join(":"));
    return a.push(l.map(o).join(":")), h(a);
  }
  function u(l, f, a) {
    const c = f ? "" : ":", d = a ? "" : ":", p = [];
    !f && !a && p.push("::"), f && a && p.push(""), (a && !f || !a && f) && p.push(":"), p.push(`${c}(:0{1,4}){1,${l - 1}}`), p.push(`(0{1,4}:){1,${l - 1}}${d}`), p.push(`(0{1,4}:){${l - 1}}0{1,4}`);
    for (let m = 1; m < l - 1; m++) for (let g = 1; g < l - m; g++) p.push(`(0{1,4}:){${g}}:(0{1,4}:){${l - g - m - 1}}0{1,4}`);
    return h(p);
  }
})), Ww = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(E, b, w, _) {
    _ === void 0 && (_ = w);
    var S = Object.getOwnPropertyDescriptor(b, w);
    (!S || ("get" in S ? !b.__esModule : S.writable || S.configurable)) && (S = {
      enumerable: !0,
      get: function() {
        return b[w];
      }
    }), Object.defineProperty(E, _, S);
  }) : (function(E, b, w, _) {
    _ === void 0 && (_ = w), E[_] = b[w];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(E, b) {
    Object.defineProperty(E, "default", {
      enumerable: !0,
      value: b
    });
  }) : function(E, b) {
    E.default = b;
  }), i = e && e.__importStar || function(E) {
    if (E && E.__esModule) return E;
    var b = {};
    if (E != null)
      for (var w in E) w !== "default" && Object.prototype.hasOwnProperty.call(E, w) && t(b, E, w);
    return r(b, E), b;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address6 = void 0;
  var s = i(so()), h = i(Gf()), o = i(Wf()), n = i(Vf()), u = zf(), l = zw(), f = vl(), a = so();
  function c(E) {
    if (!E) throw new Error("Assertion failed.");
  }
  function d(E) {
    const b = /(\d+)(\d{3})/;
    for (; b.test(E); ) E = E.replace(b, "$1,$2");
    return E;
  }
  function p(E) {
    return E = E.replace(/^(0{1,})([1-9]+)$/, '<span class="parse-error">$1</span>$2'), E = E.replace(/^(0{1,})(0)$/, '<span class="parse-error">$1</span>$2'), E;
  }
  function m(E, b) {
    const w = [], _ = [];
    let S;
    for (S = 0; S < E.length; S++) S < b[0] ? w.push(E[S]) : S > b[1] && _.push(E[S]);
    return w.concat(["compact"]).concat(_);
  }
  function g(E) {
    return parseInt(E, 16).toString(16).padStart(4, "0");
  }
  function v(E) {
    return E & 255;
  }
  var y = class wt {
    constructor(b, w) {
      this.addressMinusSuffix = "", this.parsedSubnet = "", this.subnet = "/128", this.subnetMask = 128, this.v4 = !1, this.zone = "", this.isInSubnet = s.isInSubnet, this.isCorrect = s.isCorrect(o.BITS), w === void 0 ? this.groups = o.GROUPS : this.groups = w, this.address = b;
      const _ = o.RE_SUBNET_STRING.exec(b);
      if (_) {
        if (this.parsedSubnet = _[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, Number.isNaN(this.subnetMask) || this.subnetMask < 0 || this.subnetMask > o.BITS) throw new f.AddressError("Invalid subnet mask.");
        b = b.replace(o.RE_SUBNET_STRING, "");
      } else if (/\//.test(b)) throw new f.AddressError("Invalid subnet mask.");
      const S = o.RE_ZONE_STRING.exec(b);
      S && (this.zone = S[0], b = b.replace(o.RE_ZONE_STRING, "")), this.addressMinusSuffix = b, this.parsedAddress = this.parse(this.addressMinusSuffix);
    }
    static isValid(b) {
      try {
        return new wt(b), !0;
      } catch {
        return !1;
      }
    }
    static fromBigInt(b) {
      const w = b.toString(16).padStart(32, "0"), _ = [];
      let S;
      for (S = 0; S < o.GROUPS; S++) _.push(w.slice(S * 4, (S + 1) * 4));
      return new wt(_.join(":"));
    }
    static fromURL(b) {
      let w, _ = null, S;
      if (b.indexOf("[") !== -1 && b.indexOf("]:") !== -1) {
        if (S = o.RE_URL_WITH_PORT.exec(b), S === null) return {
          error: "failed to parse address with port",
          address: null,
          port: null
        };
        w = S[1], _ = S[2];
      } else if (b.indexOf("/") !== -1) {
        if (b = b.replace(/^[a-z0-9]+:\/\//, ""), S = o.RE_URL.exec(b), S === null) return {
          error: "failed to parse address from URL",
          address: null,
          port: null
        };
        w = S[1];
      } else w = b;
      return _ ? (_ = parseInt(_, 10), (_ < 0 || _ > 65536) && (_ = null)) : _ = null, {
        address: new wt(w),
        port: _
      };
    }
    static fromAddress4(b) {
      const w = new u.Address4(b), _ = o.BITS - (h.BITS - w.subnetMask);
      return new wt(`::ffff:${w.correctForm()}/${_}`);
    }
    static fromArpa(b) {
      let w = b.replace(/(\.ip6\.arpa)?\.$/, "");
      const _ = 7;
      if (w.length !== 63) throw new f.AddressError("Invalid 'ip6.arpa' form.");
      const S = w.split(".").reverse();
      for (let T = _; T > 0; T--) {
        const D = T * 4;
        S.splice(D, 0, ":");
      }
      return w = S.join(""), new wt(w);
    }
    microsoftTranscription() {
      return `${this.correctForm().replace(/:/g, "-")}.ipv6-literal.net`;
    }
    mask(b = this.subnetMask) {
      return this.getBitsBase2(0, b);
    }
    possibleSubnets(b = 128) {
      const w = o.BITS - this.subnetMask - Math.abs(b - o.BITS);
      return w < 0 ? "0" : d((BigInt("2") ** BigInt(w)).toString(10));
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(o.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return wt.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const b = BigInt("1");
      return wt.fromBigInt(this._startAddress() + b);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(o.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return wt.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const b = BigInt("1");
      return wt.fromBigInt(this._endAddress() - b);
    }
    getScope() {
      let b = o.SCOPES[parseInt(this.getBits(12, 16).toString(10), 10)];
      return this.getType() === "Global unicast" && b !== "Link local" && (b = "Global"), b || "Unknown";
    }
    getType() {
      for (const b of Object.keys(o.TYPES)) if (this.isInSubnet(new wt(b))) return o.TYPES[b];
      return "Global unicast";
    }
    getBits(b, w) {
      return BigInt(`0b${this.getBitsBase2(b, w)}`);
    }
    getBitsBase2(b, w) {
      return this.binaryZeroPad().slice(b, w);
    }
    getBitsBase16(b, w) {
      const _ = w - b;
      if (_ % 4 !== 0) throw new Error("Length of bits to retrieve must be divisible by four");
      return this.getBits(b, w).toString(16).padStart(_ / 4, "0");
    }
    getBitsPastSubnet() {
      return this.getBitsBase2(this.subnetMask, o.BITS);
    }
    reverseForm(b) {
      b || (b = {});
      const w = Math.floor(this.subnetMask / 4), _ = this.canonicalForm().replace(/:/g, "").split("").slice(0, w).reverse().join(".");
      return w > 0 ? b.omitSuffix ? _ : `${_}.ip6.arpa.` : b.omitSuffix ? "" : "ip6.arpa.";
    }
    correctForm() {
      let b, w = [], _ = 0;
      const S = [];
      for (b = 0; b < this.parsedAddress.length; b++) {
        const R = parseInt(this.parsedAddress[b], 16);
        R === 0 && _++, R !== 0 && _ > 0 && (_ > 1 && S.push([b - _, b - 1]), _ = 0);
      }
      _ > 1 && S.push([this.parsedAddress.length - _, this.parsedAddress.length - 1]);
      const T = S.map((R) => R[1] - R[0] + 1);
      if (S.length > 0) {
        const R = T.indexOf(Math.max(...T));
        w = m(this.parsedAddress, S[R]);
      } else w = this.parsedAddress;
      for (b = 0; b < w.length; b++) w[b] !== "compact" && (w[b] = parseInt(w[b], 16).toString(16));
      let D = w.join(":");
      return D = D.replace(/^compact$/, "::"), D = D.replace(/(^compact)|(compact$)/, ":"), D = D.replace(/compact/, ""), D;
    }
    binaryZeroPad() {
      return this.bigInt().toString(2).padStart(o.BITS, "0");
    }
    parse4in6(b) {
      const w = b.split(":"), _ = w.slice(-1)[0].match(h.RE_ADDRESS);
      if (_) {
        this.parsedAddress4 = _[0], this.address4 = new u.Address4(this.parsedAddress4);
        for (let S = 0; S < this.address4.groups; S++) if (/^0[0-9]+/.test(this.address4.parsedAddress[S])) throw new f.AddressError("IPv4 addresses can't have leading zeroes.", b.replace(h.RE_ADDRESS, this.address4.parsedAddress.map(p).join(".")));
        this.v4 = !0, w[w.length - 1] = this.address4.toGroup6(), b = w.join(":");
      }
      return b;
    }
    parse(b) {
      b = this.parse4in6(b);
      const w = b.match(o.RE_BAD_CHARACTERS);
      if (w) throw new f.AddressError(`Bad character${w.length > 1 ? "s" : ""} detected in address: ${w.join("")}`, b.replace(o.RE_BAD_CHARACTERS, '<span class="parse-error">$1</span>'));
      const _ = b.match(o.RE_BAD_ADDRESS);
      if (_) throw new f.AddressError(`Address failed regex: ${_.join("")}`, b.replace(o.RE_BAD_ADDRESS, '<span class="parse-error">$1</span>'));
      let S = [];
      const T = b.split("::");
      if (T.length === 2) {
        let D = T[0].split(":"), R = T[1].split(":");
        D.length === 1 && D[0] === "" && (D = []), R.length === 1 && R[0] === "" && (R = []);
        const j = this.groups - (D.length + R.length);
        if (!j) throw new f.AddressError("Error parsing groups");
        this.elidedGroups = j, this.elisionBegin = D.length, this.elisionEnd = D.length + this.elidedGroups, S = S.concat(D);
        for (let M = 0; M < j; M++) S.push("0");
        S = S.concat(R);
      } else if (T.length === 1)
        S = b.split(":"), this.elidedGroups = 0;
      else throw new f.AddressError("Too many :: groups found");
      if (S = S.map((D) => parseInt(D, 16).toString(16)), S.length !== this.groups) throw new f.AddressError("Incorrect number of groups found");
      return S;
    }
    canonicalForm() {
      return this.parsedAddress.map(g).join(":");
    }
    decimal() {
      return this.parsedAddress.map((b) => parseInt(b, 16).toString(10).padStart(5, "0")).join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map(g).join("")}`);
    }
    to4() {
      const b = this.binaryZeroPad().split("");
      return u.Address4.fromHex(BigInt(`0b${b.slice(96, 128).join("")}`).toString(16));
    }
    to4in6() {
      const b = this.to4(), w = new wt(this.parsedAddress.slice(0, 6).join(":"), 6).correctForm();
      let _ = "";
      return /:$/.test(w) || (_ = ":"), w + _ + b.address;
    }
    inspectTeredo() {
      const b = this.getBitsBase16(0, 32), w = (this.getBits(80, 96) ^ BigInt("0xffff")).toString(), _ = u.Address4.fromHex(this.getBitsBase16(32, 64)), S = this.getBits(96, 128), T = u.Address4.fromHex((S ^ BigInt("0xffffffff")).toString(16)), D = this.getBitsBase2(64, 80), R = (0, a.testBit)(D, 15), j = (0, a.testBit)(D, 14), M = (0, a.testBit)(D, 8), G = (0, a.testBit)(D, 9), Y = BigInt(`0b${D.slice(2, 6) + D.slice(8, 16)}`).toString(10);
      return {
        prefix: `${b.slice(0, 4)}:${b.slice(4, 8)}`,
        server4: _.address,
        client4: T.address,
        flags: D,
        coneNat: R,
        microsoft: {
          reserved: j,
          universalLocal: G,
          groupIndividual: M,
          nonce: Y
        },
        udpPort: w
      };
    }
    inspect6to4() {
      const b = this.getBitsBase16(0, 16), w = u.Address4.fromHex(this.getBitsBase16(16, 48));
      return {
        prefix: b.slice(0, 4),
        gateway: w.address
      };
    }
    to6to4() {
      return this.is4() ? new wt([
        "2002",
        this.getBitsBase16(96, 112),
        this.getBitsBase16(112, 128),
        "",
        "/16"
      ].join(":")) : null;
    }
    toByteArray() {
      const b = this.bigInt().toString(16), w = `${"0".repeat(b.length % 2)}${b}`, _ = [];
      for (let S = 0, T = w.length; S < T; S += 2) _.push(parseInt(w.substring(S, S + 2), 16));
      return _;
    }
    toUnsignedByteArray() {
      return this.toByteArray().map(v);
    }
    static fromByteArray(b) {
      return this.fromUnsignedByteArray(b.map(v));
    }
    static fromUnsignedByteArray(b) {
      const w = BigInt("256");
      let _ = BigInt("0"), S = BigInt("1");
      for (let T = b.length - 1; T >= 0; T--)
        _ += S * BigInt(b[T].toString(10)), S *= w;
      return wt.fromBigInt(_);
    }
    isCanonical() {
      return this.addressMinusSuffix === this.canonicalForm();
    }
    isLinkLocal() {
      return this.getBitsBase2(0, 64) === "1111111010000000000000000000000000000000000000000000000000000000";
    }
    isMulticast() {
      return this.getType() === "Multicast";
    }
    is4() {
      return this.v4;
    }
    isTeredo() {
      return this.isInSubnet(new wt("2001::/32"));
    }
    is6to4() {
      return this.isInSubnet(new wt("2002::/16"));
    }
    isLoopback() {
      return this.getType() === "Loopback";
    }
    href(b) {
      return b === void 0 ? b = "" : b = `:${b}`, `http://[${this.correctForm()}]${b}/`;
    }
    link(b) {
      b || (b = {}), b.className === void 0 && (b.className = ""), b.prefix === void 0 && (b.prefix = "/#address="), b.v4 === void 0 && (b.v4 = !1);
      let w = this.correctForm;
      b.v4 && (w = this.to4in6);
      const _ = w.call(this);
      return b.className ? `<a href="${b.prefix}${_}" class="${b.className}">${_}</a>` : `<a href="${b.prefix}${_}">${_}</a>`;
    }
    group() {
      if (this.elidedGroups === 0) return n.simpleGroup(this.address).join(":");
      c(typeof this.elidedGroups == "number"), c(typeof this.elisionBegin == "number");
      const b = [], [w, _] = this.address.split("::");
      w.length ? b.push(...n.simpleGroup(w)) : b.push("");
      const S = ["hover-group"];
      for (let T = this.elisionBegin; T < this.elisionBegin + this.elidedGroups; T++) S.push(`group-${T}`);
      return b.push(`<span class="${S.join(" ")}"></span>`), _.length ? b.push(...n.simpleGroup(_, this.elisionEnd)) : b.push(""), this.is4() && (c(this.address4 instanceof u.Address4), b.pop(), b.push(this.address4.groupForV6())), b.join(":");
    }
    regularExpressionString(b = !1) {
      let w = [];
      const _ = new wt(this.correctForm());
      if (_.elidedGroups === 0) w.push((0, l.simpleRegularExpression)(_.parsedAddress));
      else if (_.elidedGroups === o.GROUPS) w.push((0, l.possibleElisions)(o.GROUPS));
      else {
        const S = _.address.split("::");
        S[0].length && w.push((0, l.simpleRegularExpression)(S[0].split(":"))), c(typeof _.elidedGroups == "number"), w.push((0, l.possibleElisions)(_.elidedGroups, S[0].length !== 0, S[1].length !== 0)), S[1].length && w.push((0, l.simpleRegularExpression)(S[1].split(":"))), w = [w.join(":")];
      }
      return b || (w = [
        "(?=^|",
        l.ADDRESS_BOUNDARY,
        "|[^\\w\\:])(",
        ...w,
        ")(?=[^\\w\\:]|",
        l.ADDRESS_BOUNDARY,
        "|$)"
      ]), w.join("");
    }
    regularExpression(b = !1) {
      return new RegExp(this.regularExpressionString(b), "i");
    }
  };
  e.Address6 = y;
})), Yf = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(u, l, f, a) {
    a === void 0 && (a = f);
    var c = Object.getOwnPropertyDescriptor(l, f);
    (!c || ("get" in c ? !l.__esModule : c.writable || c.configurable)) && (c = {
      enumerable: !0,
      get: function() {
        return l[f];
      }
    }), Object.defineProperty(u, a, c);
  }) : (function(u, l, f, a) {
    a === void 0 && (a = f), u[a] = l[f];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(u, l) {
    Object.defineProperty(u, "default", {
      enumerable: !0,
      value: l
    });
  }) : function(u, l) {
    u.default = l;
  }), i = e && e.__importStar || function(u) {
    if (u && u.__esModule) return u;
    var l = {};
    if (u != null)
      for (var f in u) f !== "default" && Object.prototype.hasOwnProperty.call(u, f) && t(l, u, f);
    return r(l, u), l;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.v6 = e.AddressError = e.Address6 = e.Address4 = void 0;
  var s = zf();
  Object.defineProperty(e, "Address4", {
    enumerable: !0,
    get: function() {
      return s.Address4;
    }
  });
  var h = Ww();
  Object.defineProperty(e, "Address6", {
    enumerable: !0,
    get: function() {
      return h.Address6;
    }
  });
  var o = vl();
  Object.defineProperty(e, "AddressError", {
    enumerable: !0,
    get: function() {
      return o.AddressError;
    }
  });
  var n = i(Vf());
  e.v6 = { helpers: n };
})), Vw = /* @__PURE__ */ P(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ipToBuffer = e.int32ToIpv4 = e.ipv4ToInt32 = e.validateSocksClientChainOptions = e.validateSocksClientOptions = void 0;
  var t = qf(), r = Hf(), i = ge("stream"), s = Yf(), h = ge("net");
  function o(m, g = [
    "connect",
    "bind",
    "associate"
  ]) {
    if (!r.SocksCommand[m.command]) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommand, m);
    if (g.indexOf(m.command) === -1) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandForOperation, m);
    if (!l(m.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, m);
    if (!f(m.proxy)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, m);
    if (u(m.proxy, m), m.timeout && !a(m.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, m);
    if (m.existing_socket && !(m.existing_socket instanceof i.Duplex)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsExistingSocket, m);
  }
  e.validateSocksClientOptions = o;
  function n(m) {
    if (m.command !== "connect") throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandChain, m);
    if (!l(m.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, m);
    if (!(m.proxies && Array.isArray(m.proxies) && m.proxies.length >= 2)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxiesLength, m);
    if (m.proxies.forEach((g) => {
      if (!f(g)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, m);
      u(g, m);
    }), m.timeout && !a(m.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, m);
  }
  e.validateSocksClientChainOptions = n;
  function u(m, g) {
    if (m.custom_auth_method !== void 0) {
      if (m.custom_auth_method < r.SOCKS5_CUSTOM_AUTH_START || m.custom_auth_method > r.SOCKS5_CUSTOM_AUTH_END) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthRange, g);
      if (m.custom_auth_request_handler === void 0 || typeof m.custom_auth_request_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
      if (m.custom_auth_response_size === void 0) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
      if (m.custom_auth_response_handler === void 0 || typeof m.custom_auth_response_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
    }
  }
  function l(m) {
    return m && typeof m.host == "string" && Buffer.byteLength(m.host) < 256 && typeof m.port == "number" && m.port >= 0 && m.port <= 65535;
  }
  function f(m) {
    return m && (typeof m.host == "string" || typeof m.ipaddress == "string") && typeof m.port == "number" && m.port >= 0 && m.port <= 65535 && (m.type === 4 || m.type === 5);
  }
  function a(m) {
    return typeof m == "number" && m > 0;
  }
  function c(m) {
    return new s.Address4(m).toArray().reduce((g, v) => (g << 8) + v, 0) >>> 0;
  }
  e.ipv4ToInt32 = c;
  function d(m) {
    return [
      m >>> 24 & 255,
      m >>> 16 & 255,
      m >>> 8 & 255,
      m & 255
    ].join(".");
  }
  e.int32ToIpv4 = d;
  function p(m) {
    if (h.isIPv4(m)) {
      const g = new s.Address4(m);
      return Buffer.from(g.toArray());
    } else if (h.isIPv6(m)) {
      const g = new s.Address6(m);
      return Buffer.from(g.canonicalForm().split(":").map((v) => v.padStart(4, "0")).join(""), "hex");
    } else throw new Error("Invalid IP address format");
  }
  e.ipToBuffer = p;
})), Yw = /* @__PURE__ */ P(((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;
})), Kw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__awaiter || function(a, c, d, p) {
    function m(g) {
      return g instanceof d ? g : new d(function(v) {
        v(g);
      });
    }
    return new (d || (d = Promise))(function(g, v) {
      function y(w) {
        try {
          b(p.next(w));
        } catch (_) {
          v(_);
        }
      }
      function E(w) {
        try {
          b(p.throw(w));
        } catch (_) {
          v(_);
        }
      }
      function b(w) {
        w.done ? g(w.value) : m(w.value).then(y, E);
      }
      b((p = p.apply(a, c || [])).next());
    });
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksClientError = e.SocksClient = void 0;
  var r = ge("events"), i = ge("net"), s = Gw(), h = Hf(), o = Vw(), n = Yw(), u = qf();
  Object.defineProperty(e, "SocksClientError", {
    enumerable: !0,
    get: function() {
      return u.SocksClientError;
    }
  });
  var l = Yf(), f = class ao extends r.EventEmitter {
    constructor(c) {
      super(), this.options = Object.assign({}, c), (0, o.validateSocksClientOptions)(c), this.setState(h.SocksClientState.Created);
    }
    static createConnection(c, d) {
      return new Promise((p, m) => {
        try {
          (0, o.validateSocksClientOptions)(c, ["connect"]);
        } catch (v) {
          return typeof d == "function" ? (d(v), p(v)) : m(v);
        }
        const g = new ao(c);
        g.connect(c.existing_socket), g.once("established", (v) => {
          g.removeAllListeners(), typeof d == "function" && d(null, v), p(v);
        }), g.once("error", (v) => {
          g.removeAllListeners(), typeof d == "function" ? (d(v), p(v)) : m(v);
        });
      });
    }
    static createConnectionChain(c, d) {
      return new Promise((p, m) => t(this, void 0, void 0, function* () {
        try {
          (0, o.validateSocksClientChainOptions)(c);
        } catch (g) {
          return typeof d == "function" ? (d(g), p(g)) : m(g);
        }
        c.randomizeChain && (0, u.shuffleArray)(c.proxies);
        try {
          let g;
          for (let v = 0; v < c.proxies.length; v++) {
            const y = c.proxies[v], E = v === c.proxies.length - 1 ? c.destination : {
              host: c.proxies[v + 1].host || c.proxies[v + 1].ipaddress,
              port: c.proxies[v + 1].port
            }, b = yield ao.createConnection({
              command: "connect",
              proxy: y,
              destination: E,
              existing_socket: g
            });
            g = g || b.socket;
          }
          typeof d == "function" ? (d(null, { socket: g }), p({ socket: g })) : p({ socket: g });
        } catch (g) {
          typeof d == "function" ? (d(g), p(g)) : m(g);
        }
      }));
    }
    static createUDPFrame(c) {
      const d = new s.SmartBuffer();
      return d.writeUInt16BE(0), d.writeUInt8(c.frameNumber || 0), i.isIPv4(c.remoteHost.host) ? (d.writeUInt8(h.Socks5HostType.IPv4), d.writeUInt32BE((0, o.ipv4ToInt32)(c.remoteHost.host))) : i.isIPv6(c.remoteHost.host) ? (d.writeUInt8(h.Socks5HostType.IPv6), d.writeBuffer((0, o.ipToBuffer)(c.remoteHost.host))) : (d.writeUInt8(h.Socks5HostType.Hostname), d.writeUInt8(Buffer.byteLength(c.remoteHost.host)), d.writeString(c.remoteHost.host)), d.writeUInt16BE(c.remoteHost.port), d.writeBuffer(c.data), d.toBuffer();
    }
    static parseUDPFrame(c) {
      const d = s.SmartBuffer.fromBuffer(c);
      d.readOffset = 2;
      const p = d.readUInt8(), m = d.readUInt8();
      let g;
      m === h.Socks5HostType.IPv4 ? g = (0, o.int32ToIpv4)(d.readUInt32BE()) : m === h.Socks5HostType.IPv6 ? g = l.Address6.fromByteArray(Array.from(d.readBuffer(16))).canonicalForm() : g = d.readString(d.readUInt8());
      const v = d.readUInt16BE();
      return {
        frameNumber: p,
        remoteHost: {
          host: g,
          port: v
        },
        data: d.readBuffer()
      };
    }
    setState(c) {
      this.state !== h.SocksClientState.Error && (this.state = c);
    }
    connect(c) {
      this.onDataReceived = (p) => this.onDataReceivedHandler(p), this.onClose = () => this.onCloseHandler(), this.onError = (p) => this.onErrorHandler(p), this.onConnect = () => this.onConnectHandler();
      const d = setTimeout(() => this.onEstablishedTimeout(), this.options.timeout || h.DEFAULT_TIMEOUT);
      d.unref && typeof d.unref == "function" && d.unref(), c ? this.socket = c : 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(h.SocksClientState.Connecting), this.receiveBuffer = new n.ReceiveBuffer(), c ? 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 m = this.receiveBuffer.get(this.receiveBuffer.length);
            p.socket.emit("data", m);
          }
          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 !== h.SocksClientState.Established && this.state !== h.SocksClientState.BoundWaitingForConnection && this.closeSocket(h.ERRORS.ProxyConnectionTimedOut);
    }
    onConnectHandler() {
      this.setState(h.SocksClientState.Connected), this.options.proxy.type === 4 ? this.sendSocks4InitialHandshake() : this.sendSocks5InitialHandshake(), this.setState(h.SocksClientState.SentInitialHandshake);
    }
    onDataReceivedHandler(c) {
      this.receiveBuffer.append(c), this.processData();
    }
    processData() {
      for (; this.state !== h.SocksClientState.Established && this.state !== h.SocksClientState.Error && this.receiveBuffer.length >= this.nextRequiredPacketBufferSize; ) if (this.state === h.SocksClientState.SentInitialHandshake) this.options.proxy.type === 4 ? this.handleSocks4FinalHandshakeResponse() : this.handleInitialSocks5HandshakeResponse();
      else if (this.state === h.SocksClientState.SentAuthentication) this.handleInitialSocks5AuthenticationHandshakeResponse();
      else if (this.state === h.SocksClientState.SentFinalHandshake) this.handleSocks5FinalHandshakeResponse();
      else if (this.state === h.SocksClientState.BoundWaitingForConnection) this.options.proxy.type === 4 ? this.handleSocks4IncomingConnectionResponse() : this.handleSocks5IncomingConnectionResponse();
      else {
        this.closeSocket(h.ERRORS.InternalError);
        break;
      }
    }
    onCloseHandler() {
      this.closeSocket(h.ERRORS.SocketClosed);
    }
    onErrorHandler(c) {
      this.closeSocket(c.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(c) {
      this.state !== h.SocksClientState.Error && (this.setState(h.SocksClientState.Error), this.socket.destroy(), this.removeInternalSocketHandlers(), this.emit("error", new u.SocksClientError(c, this.options)));
    }
    sendSocks4InitialHandshake() {
      const c = this.options.proxy.userId || "", d = new s.SmartBuffer();
      d.writeUInt8(4), d.writeUInt8(h.SocksCommand[this.options.command]), d.writeUInt16BE(this.options.destination.port), i.isIPv4(this.options.destination.host) ? (d.writeBuffer((0, o.ipToBuffer)(this.options.destination.host)), d.writeStringNT(c)) : (d.writeUInt8(0), d.writeUInt8(0), d.writeUInt8(0), d.writeUInt8(1), d.writeStringNT(c), d.writeStringNT(this.options.destination.host)), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response, this.socket.write(d.toBuffer());
    }
    handleSocks4FinalHandshakeResponse() {
      const c = this.receiveBuffer.get(8);
      if (c[1] !== h.Socks4Response.Granted) this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[c[1]]})`);
      else if (h.SocksCommand[this.options.command] === h.SocksCommand.bind) {
        const d = s.SmartBuffer.fromBuffer(c);
        d.readOffset = 2;
        const p = {
          port: d.readUInt16BE(),
          host: (0, o.int32ToIpv4)(d.readUInt32BE())
        };
        p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress), this.setState(h.SocksClientState.BoundWaitingForConnection), this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        });
      } else
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", { socket: this.socket });
    }
    handleSocks4IncomingConnectionResponse() {
      const c = this.receiveBuffer.get(8);
      if (c[1] !== h.Socks4Response.Granted) this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[c[1]]})`);
      else {
        const d = s.SmartBuffer.fromBuffer(c);
        d.readOffset = 2;
        const p = {
          port: d.readUInt16BE(),
          host: (0, o.int32ToIpv4)(d.readUInt32BE())
        };
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    sendSocks5InitialHandshake() {
      const c = new s.SmartBuffer(), d = [h.Socks5Auth.NoAuth];
      (this.options.proxy.userId || this.options.proxy.password) && d.push(h.Socks5Auth.UserPass), this.options.proxy.custom_auth_method !== void 0 && d.push(this.options.proxy.custom_auth_method), c.writeUInt8(5), c.writeUInt8(d.length);
      for (const p of d) c.writeUInt8(p);
      this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse, this.socket.write(c.toBuffer()), this.setState(h.SocksClientState.SentInitialHandshake);
    }
    handleInitialSocks5HandshakeResponse() {
      const c = this.receiveBuffer.get(2);
      c[0] !== 5 ? this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion) : c[1] === h.SOCKS5_NO_ACCEPTABLE_AUTH ? this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType) : c[1] === h.Socks5Auth.NoAuth ? (this.socks5ChosenAuthType = h.Socks5Auth.NoAuth, this.sendSocks5CommandRequest()) : c[1] === h.Socks5Auth.UserPass ? (this.socks5ChosenAuthType = h.Socks5Auth.UserPass, this.sendSocks5UserPassAuthentication()) : c[1] === this.options.proxy.custom_auth_method ? (this.socks5ChosenAuthType = this.options.proxy.custom_auth_method, this.sendSocks5CustomAuthentication()) : this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType);
    }
    sendSocks5UserPassAuthentication() {
      const c = this.options.proxy.userId || "", d = this.options.proxy.password || "", p = new s.SmartBuffer();
      p.writeUInt8(1), p.writeUInt8(Buffer.byteLength(c)), p.writeString(c), p.writeUInt8(Buffer.byteLength(d)), p.writeString(d), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse, this.socket.write(p.toBuffer()), this.setState(h.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(h.SocksClientState.SentAuthentication);
      });
    }
    handleSocks5CustomAuthHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return yield this.options.proxy.custom_auth_response_handler(c);
      });
    }
    handleSocks5AuthenticationNoAuthHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return c[1] === 0;
      });
    }
    handleSocks5AuthenticationUserPassHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return c[1] === 0;
      });
    }
    handleInitialSocks5AuthenticationHandshakeResponse() {
      return t(this, void 0, void 0, function* () {
        this.setState(h.SocksClientState.ReceivedAuthenticationResponse);
        let c = !1;
        this.socks5ChosenAuthType === h.Socks5Auth.NoAuth ? c = yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === h.Socks5Auth.UserPass ? c = yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === this.options.proxy.custom_auth_method && (c = yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))), c ? this.sendSocks5CommandRequest() : this.closeSocket(h.ERRORS.Socks5AuthenticationFailed);
      });
    }
    sendSocks5CommandRequest() {
      const c = new s.SmartBuffer();
      c.writeUInt8(5), c.writeUInt8(h.SocksCommand[this.options.command]), c.writeUInt8(0), i.isIPv4(this.options.destination.host) ? (c.writeUInt8(h.Socks5HostType.IPv4), c.writeBuffer((0, o.ipToBuffer)(this.options.destination.host))) : i.isIPv6(this.options.destination.host) ? (c.writeUInt8(h.Socks5HostType.IPv6), c.writeBuffer((0, o.ipToBuffer)(this.options.destination.host))) : (c.writeUInt8(h.Socks5HostType.Hostname), c.writeUInt8(this.options.destination.host.length), c.writeString(this.options.destination.host)), c.writeUInt16BE(this.options.destination.port), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.socket.write(c.toBuffer()), this.setState(h.SocksClientState.SentFinalHandshake);
    }
    handleSocks5FinalHandshakeResponse() {
      const c = this.receiveBuffer.peek(5);
      if (c[0] !== 5 || c[1] !== h.Socks5Response.Granted) this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[c[1]]}`);
      else {
        const d = c[3];
        let p, m;
        if (d === h.Socks5HostType.IPv4) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: (0, o.int32ToIpv4)(m.readUInt32BE()),
            port: m.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (d === h.Socks5HostType.Hostname) {
          const g = c[4], v = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(g);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: m.readString(g),
            port: m.readUInt16BE()
          };
        } else if (d === h.Socks5HostType.IPv6) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: l.Address6.fromByteArray(Array.from(m.readBuffer(16))).canonicalForm(),
            port: m.readUInt16BE()
          };
        }
        this.setState(h.SocksClientState.ReceivedFinalResponse), h.SocksCommand[this.options.command] === h.SocksCommand.connect ? (this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        })) : h.SocksCommand[this.options.command] === h.SocksCommand.bind ? (this.setState(h.SocksClientState.BoundWaitingForConnection), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        })) : h.SocksCommand[this.options.command] === h.SocksCommand.associate && (this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        }));
      }
    }
    handleSocks5IncomingConnectionResponse() {
      const c = this.receiveBuffer.peek(5);
      if (c[0] !== 5 || c[1] !== h.Socks5Response.Granted) this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[c[1]]}`);
      else {
        const d = c[3];
        let p, m;
        if (d === h.Socks5HostType.IPv4) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: (0, o.int32ToIpv4)(m.readUInt32BE()),
            port: m.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (d === h.Socks5HostType.Hostname) {
          const g = c[4], v = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(g);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: m.readString(g),
            port: m.readUInt16BE()
          };
        } else if (d === h.Socks5HostType.IPv6) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: l.Address6.fromByteArray(Array.from(m.readBuffer(16))).canonicalForm(),
            port: m.readUInt16BE()
          };
        }
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    get socksClientOptions() {
      return Object.assign({}, this.options);
    }
  };
  e.SocksClient = f;
})), Zw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(i, s, h, o) {
    o === void 0 && (o = h);
    var n = Object.getOwnPropertyDescriptor(s, h);
    (!n || ("get" in n ? !s.__esModule : n.writable || n.configurable)) && (n = {
      enumerable: !0,
      get: function() {
        return s[h];
      }
    }), Object.defineProperty(i, o, n);
  }) : (function(i, s, h, o) {
    o === void 0 && (o = h), i[o] = s[h];
  })), r = e && e.__exportStar || function(i, s) {
    for (var h in i) h !== "default" && !Object.prototype.hasOwnProperty.call(s, h) && t(s, i, h);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), r(Kw(), e);
})), Jw = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, y, E, b) {
    b === void 0 && (b = E);
    var w = Object.getOwnPropertyDescriptor(y, E);
    (!w || ("get" in w ? !y.__esModule : w.writable || w.configurable)) && (w = {
      enumerable: !0,
      get: function() {
        return y[E];
      }
    }), Object.defineProperty(v, b, w);
  }) : (function(v, y, E, b) {
    b === void 0 && (b = E), v[b] = y[E];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, y) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: y
    });
  }) : function(v, y) {
    v.default = y;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var y = {};
    if (v != null)
      for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && t(y, v, E);
    return r(y, v), y;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksProxyAgent = void 0;
  var h = Zw(), o = rs(), n = s(ts()), u = i(ge("dns")), l = i(ge("net")), f = i(ge("tls")), a = ge("url"), c = (0, n.default)("socks-proxy-agent"), d = (v) => v.servername === void 0 && v.host && !l.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v;
  function p(v) {
    let y = !1, E = 5;
    const b = v.hostname, w = parseInt(v.port, 10) || 1080;
    switch (v.protocol.replace(":", "")) {
      case "socks4":
        y = !0, E = 4;
        break;
      case "socks4a":
        E = 4;
        break;
      case "socks5":
        y = !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 _ = {
      host: b,
      port: w,
      type: E
    };
    return v.username && Object.defineProperty(_, "userId", {
      value: decodeURIComponent(v.username),
      enumerable: !1
    }), v.password != null && Object.defineProperty(_, "password", {
      value: decodeURIComponent(v.password),
      enumerable: !1
    }), {
      lookup: y,
      proxy: _
    };
  }
  var m = class extends o.Agent {
    constructor(v, y) {
      super(y);
      const { proxy: E, lookup: b } = p(typeof v == "string" ? new a.URL(v) : v);
      this.shouldLookup = b, this.proxy = E, this.timeout = y?.timeout ?? null, this.socketOptions = y?.socketOptions ?? null;
    }
    async connect(v, y) {
      const { shouldLookup: E, proxy: b, timeout: w } = this;
      if (!y.host) throw new Error("No `host` defined!");
      let { host: _ } = y;
      const { port: S, lookup: T = u.lookup } = y;
      E && (_ = await new Promise((M, G) => {
        T(_, {}, (Y, H) => {
          Y ? G(Y) : M(H);
        });
      }));
      const D = {
        proxy: b,
        destination: {
          host: _,
          port: typeof S == "number" ? S : parseInt(S, 10)
        },
        command: "connect",
        timeout: w ?? void 0,
        socket_options: this.socketOptions ?? void 0
      }, R = (M) => {
        v.destroy(), j.destroy(), M && M.destroy();
      };
      c("Creating socks proxy connection: %o", D);
      const { socket: j } = await h.SocksClient.createConnection(D);
      if (c("Successfully created socks proxy connection"), w !== null && (j.setTimeout(w), j.on("timeout", () => R())), y.secureEndpoint) {
        c("Upgrading socket connection to TLS");
        const M = f.connect({
          ...g(d(y), "host", "path", "port"),
          socket: j
        });
        return M.once("error", (G) => {
          c("Socket TLS error", G.message), R(M);
        }), M;
      }
      return j;
    }
  };
  m.protocols = [
    "socks",
    "socks4",
    "socks4a",
    "socks5",
    "socks5h"
  ], e.SocksProxyAgent = m;
  function g(v, ...y) {
    const E = {};
    let b;
    for (b in v) y.includes(b) || (E[b] = v[b]);
    return E;
  }
})), Kf = /* @__PURE__ */ P(((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;
    }
  }, h = class extends Error {
    constructor(n, u) {
      let l = "Response timeout ";
      u && (l += `from proxy \`${u.host}\` `), l += `connecting to host \`${n.host}\``, super(l), this.code = "ERESPONSETIMEOUT", this.proxy = u, this.request = n;
    }
  }, o = class extends Error {
    constructor(n, u) {
      let l = "Transfer timeout ";
      u && (l += `from proxy \`${u.host}\` `), l += `for \`${n.host}\``, super(l), this.code = "ETRANSFERTIMEOUT", this.proxy = u, this.request = n;
    }
  };
  t.exports = {
    InvalidProxyProtocolError: r,
    ConnectionTimeoutError: i,
    IdleTimeoutError: s,
    ResponseTimeoutError: h,
    TransferTimeoutError: o
  };
})), Zf = /* @__PURE__ */ P(((e, t) => {
  var { HttpProxyAgent: r } = jw(), { HttpsProxyAgent: i } = Hw(), { SocksProxyAgent: s } = Jw(), { LRUCache: h } = qi(), { InvalidProxyProtocolError: o } = Kf(), n = new h({ max: 20 }), u = new Set(s.protocols), l = /* @__PURE__ */ new Set([
    "https_proxy",
    "http_proxy",
    "proxy",
    "no_proxy"
  ]), f = Object.entries(process.env).reduce((p, [m, g]) => (m = m.toLowerCase(), l.has(m) && (p[m] = g), p), {}), a = (p) => {
    p = new URL(p);
    const m = p.protocol.slice(0, -1);
    if (u.has(m)) return s;
    if (m === "https" || m === "http") return [r, i];
    throw new o(p);
  }, c = (p, m) => {
    if (typeof m == "string" && (m = m.split(",").map((v) => v.trim()).filter(Boolean)), !m || !m.length) return !1;
    const g = p.hostname.split(".").reverse();
    return m.some((v) => {
      const y = v.split(".").filter(Boolean).reverse();
      if (!y.length) return !1;
      for (let E = 0; E < y.length; E++) if (g[E] !== y[E]) return !1;
      return !0;
    });
  }, d = (p, { proxy: m, noProxy: g }) => (p = new URL(p), m || (m = p.protocol === "https:" ? f.https_proxy : f.https_proxy || f.http_proxy || f.proxy), g || (g = f.no_proxy), !m || c(p, g) ? null : new URL(m));
  t.exports = {
    getProxyAgent: a,
    getProxy: d,
    proxyCache: n
  };
})), Xw = /* @__PURE__ */ P(((e, t) => {
  var r = ge("net"), i = ge("tls"), { once: s } = ge("events"), h = ge("timers/promises"), { normalizeOptions: o, cacheOptions: n } = Mf(), { getProxy: u, getProxyAgent: l, proxyCache: f } = Zf(), a = Kf(), { Agent: c } = rs();
  t.exports = class extends c {
    #e;
    #t;
    #r;
    #n;
    #s;
    constructor(p = {}) {
      const { timeouts: m, proxy: g, noProxy: v, ...y } = o(p);
      super(y), this.#e = y, this.#t = m, g && (this.#r = new URL(g), this.#n = v, this.#s = l(g));
    }
    get proxy() {
      return this.#r ? { url: this.#r } : {};
    }
    #c(p) {
      if (!this.#r) return;
      const m = u(`${p.protocol}//${p.host}:${p.port}`, {
        proxy: this.#r,
        noProxy: this.#n
      });
      if (!m) return;
      const g = n({
        ...p,
        ...this.#e,
        timeouts: this.#t,
        proxy: m
      });
      if (f.has(g)) return f.get(g);
      let v = this.#s;
      Array.isArray(v) && (v = this.isSecureEndpoint(p) ? v[1] : v[0]);
      const y = new v(m, {
        ...this.#e,
        socketOptions: { family: this.#e.family }
      });
      return f.set(g, y), y;
    }
    async #f({ promises: p, options: m, timeout: g }, v = new AbortController()) {
      if (g) {
        const E = h.setTimeout(g, null, { signal: v.signal }).then(() => {
          throw new a.ConnectionTimeoutError(`${m.host}:${m.port}`);
        }).catch((b) => {
          if (b.name !== "AbortError")
            throw b;
        });
        p.push(E);
      }
      let y;
      try {
        y = await Promise.race(p), v.abort();
      } catch (E) {
        throw v.abort(), E;
      }
      return y;
    }
    async connect(p, m) {
      m.lookup ??= this.#e.lookup;
      let g, v = this.#t.connection;
      const y = this.isSecureEndpoint(m), E = this.#c(m);
      if (E) {
        const S = Date.now();
        g = await this.#f({
          options: m,
          timeout: v,
          promises: [E.connect(p, m)]
        }), v && (v = v - (Date.now() - S));
      } else g = (y ? i : r).connect(m);
      g.setKeepAlive(this.keepAlive, this.keepAliveMsecs), g.setNoDelay(this.keepAlive);
      const b = new AbortController(), { signal: w } = b, _ = g[y ? "secureConnecting" : "connecting"] ? s(g, y ? "secureConnect" : "connect", { signal: w }) : Promise.resolve();
      return await this.#f({
        options: m,
        timeout: v,
        promises: [_, s(g, "error", { signal: w }).then((S) => {
          throw S[0];
        })]
      }, b), this.#t.idle && g.setTimeout(this.#t.idle, () => {
        g.destroy(new a.IdleTimeoutError(`${m.host}:${m.port}`));
      }), g;
    }
    addRequest(p, m) {
      const g = this.#c(m);
      if (g?.setRequestProps && g.setRequestProps(p, m), 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", (y) => {
          setTimeout(() => {
            y.destroy(new a.TransferTimeoutError(p, this.#r));
          }, this.#t.transfer), y.once("close", () => {
            clearTimeout(v);
          });
        });
      }
      return super.addRequest(p, m);
    }
  };
})), Qw = /* @__PURE__ */ P(((e, t) => {
  var { LRUCache: r } = qi(), { normalizeOptions: i, cacheOptions: s } = Mf(), { getProxy: h, proxyCache: o } = Zf(), n = Ff(), u = Xw(), l = new r({ max: 20 }), f = (a, { agent: c, proxy: d, noProxy: p, ...m } = {}) => {
    if (c != null) return c;
    a = new URL(a);
    const g = h(a, {
      proxy: d,
      noProxy: p
    }), v = {
      ...i(m),
      proxy: g
    }, y = s({
      ...v,
      secureEndpoint: a.protocol === "https:"
    });
    if (l.has(y)) return l.get(y);
    const E = new u(v);
    return l.set(y, E), E;
  };
  t.exports = {
    getAgent: f,
    Agent: u,
    HttpAgent: u,
    HttpsAgent: u,
    cache: {
      proxy: o,
      agent: l,
      dns: n.cache,
      clear: () => {
        o.clear(), l.clear(), n.cache.clear();
      }
    }
  };
})), eE = /* @__PURE__ */ yt({
  author: () => mo,
  default: () => Jf,
  dependencies: () => vo,
  description: () => co,
  devDependencies: () => yo,
  engines: () => _o,
  files: () => ho,
  keywords: () => go,
  license: () => "ISC",
  main: () => uo,
  name: () => oo,
  repository: () => po,
  scripts: () => fo,
  tap: () => bo,
  templateOSS: () => wo,
  version: () => lo
}), oo, lo, co, uo, ho, fo, po, go, mo, tE, vo, yo, _o, bo, wo, Jf, rE = Ft((() => {
  oo = "make-fetch-happen", lo = "15.0.5", co = "Opinionated, caching, retrying fetch client", uo = "lib/index.js", ho = ["bin/", "lib/"], fo = {
    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"
  }, po = {
    type: "git",
    url: "git+https://github.com/npm/make-fetch-happen.git"
  }, go = [
    "http",
    "request",
    "fetch",
    "mean girls",
    "caching",
    "cache",
    "subresource integrity"
  ], mo = "GitHub Inc.", tE = "ISC", vo = {
    "@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"
  }, yo = {
    "@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"
  }, _o = { node: "^20.17.0 || >=22.9.0" }, bo = {
    color: 1,
    files: "test/*.js",
    "check-coverage": !0,
    timeout: 60,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, wo = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.25.0",
    publish: "true"
  }, Jf = {
    name: oo,
    version: lo,
    description: co,
    main: uo,
    files: ho,
    scripts: fo,
    repository: po,
    keywords: go,
    author: mo,
    license: "ISC",
    dependencies: vo,
    devDependencies: yo,
    engines: _o,
    tap: bo,
    templateOSS: wo
  };
})), yl = /* @__PURE__ */ P(((e, t) => {
  var { Minipass: r } = At(), i = Yi(), { promiseRetry: s } = $w(), h = Rr(), { log: o } = fl(), { redact: n } = vf(), u = Bf(), { getAgent: l } = Qw(), f = (rE(), mt(eE).default), a = `${f.name}/${f.version} (+https://npm.im/${f.name})`, c = [
    "ECONNRESET",
    "ECONNREFUSED",
    "EADDRINUSE",
    "ETIMEDOUT",
    "ECONNECTIONTIMEOUT",
    "EIDLETIMEOUT",
    "ERESPONSETIMEOUT",
    "ETRANSFERTIMEOUT"
  ], d = ["request-timeout"], p = (m, g) => {
    const v = l(m.url, {
      ...g,
      signal: void 0
    });
    m.headers.has("connection") || m.headers.set("connection", v ? "keep-alive" : "close"), m.headers.has("user-agent") || m.headers.set("user-agent", a);
    const y = {
      ...g,
      agent: v,
      redirect: "manual"
    };
    return s(async (E, b) => {
      const w = new i.Request(m, y), _ = n(w.url);
      try {
        let S = await i(w, y);
        if (y.integrity && S.status === 200) {
          const D = h.integrityStream({
            algorithms: y.algorithms,
            integrity: y.integrity,
            size: y.size
          }), R = new u({ events: ["integrity", "size"] }, S.body, D);
          D.on("integrity", (j) => R.emit("integrity", j)), D.on("size", (j) => R.emit("size", j)), S = new i.Response(R, S), S.body.hasIntegrityEmitter = !0;
        }
        S.headers.set("x-fetch-attempts", b);
        const T = r.isStream(w.body);
        return w.method !== "POST" && !T && ([
          408,
          420,
          429
        ].includes(S.status) || S.status >= 500) ? (typeof g.onRetry == "function" && g.onRetry(S), o.http("fetch", `${w.method} ${_} attempt ${b} failed with ${S.status}`), E(S)) : S;
      } catch (S) {
        const T = S.code === "EPROMISERETRY" ? S.retried.code : S.code, D = S.retried instanceof i.Response || c.includes(T) && d.includes(S.type);
        if (w.method === "POST" || D) throw S;
        return typeof g.onRetry == "function" && g.onRetry(S), o.http("fetch", `${w.method} ${_} attempt ${b} failed with ${S.code}`), E(S);
      }
    }, g.retry).catch((E) => {
      if (E.status >= 400 && E.type !== "system") return E;
      throw E;
    });
  };
  t.exports = p;
})), iE = /* @__PURE__ */ P(((e, t) => {
  var { Request: r, Response: i } = Yi(), { Minipass: s } = At(), h = dl(), o = Iw(), n = ge("url"), u = Bf(), l = bf(), f = kw(), a = yl(), c = (b, w) => Object.prototype.hasOwnProperty.call(b, w), d = [
    "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"
  ], m = (b, w, _) => {
    const S = {
      time: Date.now(),
      url: b.url,
      reqHeaders: {},
      resHeaders: {},
      options: { compress: _.compress != null ? _.compress : b.compress }
    };
    w.status !== 200 && w.status !== 304 && (S.status = w.status);
    for (const R of d) b.headers.has(R) && (S.reqHeaders[R] = b.headers.get(R));
    const T = b.headers.get("host"), D = new n.URL(b.url);
    if (T && D.host !== T && (S.reqHeaders.host = T), w.headers.has("vary")) {
      const R = w.headers.get("vary");
      if (R !== "*") {
        const j = R.trim().toLowerCase().split(/\s*,\s*/);
        for (const M of j) b.headers.has(M) && (S.reqHeaders[M] = b.headers.get(M));
      }
    }
    for (const R of p) w.headers.has(R) && (S.resHeaders[R] = w.headers.get(R));
    for (const R of _.cacheAdditionalHeaders) w.headers.has(R) && (S.resHeaders[R] = w.headers.get(R));
    return S;
  }, g = /* @__PURE__ */ Symbol("request"), v = /* @__PURE__ */ Symbol("response"), y = /* @__PURE__ */ Symbol("policy"), E = class Mr {
    constructor({ entry: w, request: _, response: S, options: T }) {
      w ? (this.key = w.key, this.entry = w, this.entry.metadata.time = this.entry.metadata.time || this.entry.time) : this.key = f(_), this.options = T, this[g] = _, this[v] = S, this[y] = null;
    }
    static async find(w, _) {
      try {
        var S = await o.index.compact(_.cachePath, f(w), (D, R) => {
          const j = new Mr({
            entry: D,
            options: _
          }), M = new Mr({
            entry: R,
            options: _
          });
          return j.policy.satisfies(M.request);
        }, { validateEntry: (D) => D.metadata && D.metadata.resHeaders && D.metadata.resHeaders["content-encoding"] === null ? !1 : D.integrity === null ? !!(D.metadata && D.metadata.status) : !0 });
      } catch {
        return;
      }
      if (_.cache === "reload") return;
      let T;
      for (const D of S) {
        const R = new Mr({
          entry: D,
          options: _
        });
        if (R.policy.satisfies(w)) {
          T = R;
          break;
        }
      }
      return T;
    }
    static async invalidate(w, _) {
      const S = f(w);
      try {
        await o.rm.entry(_.cachePath, S, { removeFully: !0 });
      } catch {
      }
    }
    get request() {
      return this[g] || (this[g] = new r(this.entry.metadata.url, {
        method: "GET",
        headers: this.entry.metadata.reqHeaders,
        ...this.entry.metadata.options
      })), this[g];
    }
    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[y] || (this[y] = new l({
        entry: this.entry,
        request: this.request,
        response: this.response,
        options: this.options
      })), this[y];
    }
    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 _ = this.response.headers.get("content-length"), S = {
        algorithms: this.options.algorithms,
        metadata: m(this.request, this.response, this.options),
        size: _,
        integrity: this.options.integrity,
        integrityEmitter: this.response.body.hasIntegrityEmitter && this.response.body
      };
      let T = null;
      if (this.response.status === 200) {
        let D, R;
        const j = new Promise((G, Y) => {
          D = G, R = Y;
        }).catch((G) => {
          T.emit("error", G);
        });
        T = new u({ events: ["integrity", "size"] }, new h({ flush() {
          return j;
        } })), T.hasIntegrityEmitter = !0;
        const M = () => {
          const G = new s(), Y = o.put.stream(this.options.cachePath, this.key, S);
          Y.on("integrity", (H) => T.emit("integrity", H)), Y.on("size", (H) => T.emit("size", H)), G.pipe(Y), Y.promise().then(D, R), T.unshift(G), T.unshift(this.response.body);
        };
        T.once("resume", M), T.once("end", () => T.removeListener("resume", M));
      } else await o.index.insert(this.options.cachePath, this.key, null, S);
      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(T, {
        url: this.response.url,
        status: this.response.status,
        headers: this.response.headers,
        counter: this.options.counter
      });
    }
    async respond(w, _, S) {
      let T;
      if (w === "HEAD" || [301, 308].includes(this.response.status)) T = this.response;
      else {
        const D = new s(), R = { ...this.policy.responseHeaders() }, j = () => {
          const M = o.get.stream.byDigest(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize });
          M.on("error", async (G) => {
            M.pause(), G.code === "EINTEGRITY" && await o.rm.content(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize }), (G.code === "ENOENT" || G.code === "EINTEGRITY") && await Mr.invalidate(this.request, this.options), D.emit("error", G), M.resume();
          }), D.emit("integrity", this.entry.integrity), D.emit("size", Number(R["content-length"])), M.pipe(D);
        };
        D.once("resume", j), D.once("end", () => D.removeListener("resume", j)), T = new i(D, {
          url: this.entry.metadata.url,
          counter: _.counter,
          status: 200,
          headers: R
        });
      }
      return T.headers.set("x-local-cache", encodeURIComponent(this.options.cachePath)), T.headers.set("x-local-cache-hash", encodeURIComponent(this.entry.integrity)), T.headers.set("x-local-cache-key", encodeURIComponent(this.key)), T.headers.set("x-local-cache-mode", "stream"), T.headers.set("x-local-cache-status", S), T.headers.set("x-local-cache-time", new Date(this.entry.metadata.time).toUTCString()), T;
    }
    async revalidate(w, _) {
      const S = new r(w, { headers: this.policy.revalidationHeaders(w) });
      try {
        var T = await a(S, {
          ..._,
          headers: void 0
        });
      } catch (D) {
        if (!this.policy.mustRevalidate) return this.respond(w.method, _, "stale");
        throw D;
      }
      if (this.policy.revalidated(S, T)) {
        const D = m(w, T, _);
        for (const R of p) !c(D.resHeaders, R) && c(this.entry.metadata.resHeaders, R) && (D.resHeaders[R] = this.entry.metadata.resHeaders[R]);
        for (const R of _.cacheAdditionalHeaders) {
          const j = c(D.resHeaders, R), M = c(this.entry.metadata.resHeaders, R), G = c(this.policy.response.headers, R);
          !j && M && (D.resHeaders[R] = this.entry.metadata.resHeaders[R]), !G && j && (this.policy.response.headers[R] = D.resHeaders[R]);
        }
        try {
          await o.index.insert(_.cachePath, this.key, this.entry.integrity, {
            size: this.entry.size,
            metadata: D
          });
        } catch {
        }
        return this.respond(w.method, _, "revalidated");
      }
      return new Mr({
        request: w,
        response: T,
        options: _
      }).store("updated");
    }
  };
  t.exports = E;
})), nE = /* @__PURE__ */ P(((e, t) => {
  var { NotCachedError: r } = fw(), i = iE(), s = yl(), h = async (o, n) => {
    const u = await i.find(o, n);
    if (!u) {
      if (n.cache === "only-if-cached") throw new r(o.url);
      return new i({
        request: o,
        response: await s(o, n),
        options: n
      }).store("miss");
    }
    if (n.cache === "no-cache") return u.revalidate(o, n);
    const l = u.policy.needsRevalidation(o);
    return n.cache === "force-cache" || n.cache === "only-if-cached" || !l ? u.respond(o.method, n, l ? "stale" : "hit") : u.revalidate(o, n);
  };
  h.invalidate = async (o, n) => {
    if (n.cachePath)
      return i.invalidate(o, n);
  }, t.exports = h;
})), sE = /* @__PURE__ */ P(((e, t) => {
  var { FetchError: r, Request: i, isRedirect: s } = Yi(), h = ge("url"), o = bf(), n = nE(), u = yl(), l = (c, d, p) => {
    if (!s(d.status) || p.redirect === "manual") return !1;
    if (p.redirect === "error") throw new r(`redirect mode is set to error: ${c.url}`, "no-redirect", { code: "ENOREDIRECT" });
    if (!d.headers.has("location")) throw new r(`redirect location header missing for: ${c.url}`, "no-location", { code: "EINVALIDREDIRECT" });
    if (c.counter >= c.follow) throw new r(`maximum redirect reached at: ${c.url}`, "max-redirect", { code: "EMAXREDIRECT" });
    return !0;
  }, f = (c, d, p) => {
    const m = { ...p }, g = d.headers.get("location"), v = new h.URL(g, /^https?:/.test(g) ? void 0 : c.url);
    return new h.URL(c.url).hostname !== v.hostname && (c.headers.delete("authorization"), c.headers.delete("cookie")), (d.status === 303 || c.method === "POST" && [301, 302].includes(d.status)) && (m.method = "GET", m.body = null, c.headers.delete("content-length")), m.headers = {}, c.headers.forEach((y, E) => {
      m.headers[E] = y;
    }), m.counter = ++c.counter, {
      request: new i(h.format(v), m),
      options: m
    };
  }, a = async (c, d) => {
    const p = o.storable(c, d) ? await n(c, d) : await u(c, d);
    if (!["GET", "HEAD"].includes(c.method) && p.status >= 200 && p.status <= 399 && await n.invalidate(c, d), !l(c, p, d)) return p;
    const m = f(c, p, d);
    return a(m.request, m.options);
  };
  t.exports = a;
})), aE = /* @__PURE__ */ P(((e, t) => {
  var { FetchError: r, Headers: i, Request: s, Response: h } = Yi(), o = sw(), n = sE(), u = (l, f) => {
    const a = o(f);
    return n(new s(l, a), a);
  };
  u.defaults = (l, f = {}, a = u) => {
    typeof l == "object" && (f = l, l = null);
    const c = (d, p = {}) => a(d || l, {
      ...f,
      ...p,
      headers: {
        ...f.headers,
        ...p.headers
      }
    });
    return c.defaults = (d, p = {}) => u.defaults(d, p, c), c;
  }, t.exports = u, t.exports.FetchError = r, t.exports.Headers = i, t.exports.Request = s, t.exports.Response = h;
})), oE = /* @__PURE__ */ P(((e, t) => {
  var r = {}, i = r.LEFT_BRACE = 1, s = r.RIGHT_BRACE = 2, h = r.LEFT_BRACKET = 3, o = r.RIGHT_BRACKET = 4, n = r.COLON = 5, u = r.COMMA = 6, l = r.TRUE = 7, f = r.FALSE = 8, a = r.NULL = 9, c = r.STRING = 10, d = r.NUMBER = 11, p = r.START = 17, m = r.STOP = 18, g = r.TRUE1 = 33, v = r.TRUE2 = 34, y = r.TRUE3 = 35, E = r.FALSE1 = 49, b = r.FALSE2 = 50, w = r.FALSE3 = 51, _ = r.FALSE4 = 52, S = r.NULL1 = 65, T = r.NULL2 = 66, D = r.NULL3 = 67, R = r.NUMBER1 = 81, j = r.NUMBER3 = 83, M = r.STRING1 = 97, G = r.STRING2 = 98, Y = r.STRING3 = 99, H = r.STRING4 = 100, I = r.STRING5 = 101, $ = r.STRING6 = 102, q = r.VALUE = 113, z = r.KEY = 114, F = r.OBJECT = 129, x = r.ARRAY = 130, L = 92, C = 47, N = 8, K = 12, oe = 10, pe = 13, _e = 9, V = 64 * 1024;
  function B() {
    this.tState = p, this.value = void 0, this.string = void 0, this.stringBuffer = Buffer.alloc ? Buffer.alloc(V) : new Buffer(V), this.stringBufferOffset = 0, this.unicode = void 0, this.highSurrogate = void 0, this.key = void 0, this.mode = void 0, this.stack = [], this.state = q, 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;
  }
  B.toknam = function(X) {
    for (var ne = Object.keys(r), k = 0, U = ne.length; k < U; k++) {
      var ee = ne[k];
      if (r[ee] === X) return ee;
    }
    return X && "0x" + X.toString(16);
  };
  var W = B.prototype;
  W.onError = function(X) {
    throw X;
  }, W.charError = function(X, ne) {
    this.tState = m, this.onError(/* @__PURE__ */ new Error("Unexpected " + JSON.stringify(String.fromCharCode(X[ne])) + " at position " + ne + " in state " + B.toknam(this.tState)));
  }, W.appendStringChar = function(X) {
    this.stringBufferOffset >= V && (this.string += this.stringBuffer.toString("utf8"), this.stringBufferOffset = 0), this.stringBuffer[this.stringBufferOffset++] = X;
  }, W.appendStringBuf = function(X, ne, k) {
    var U = X.length;
    typeof ne == "number" && (typeof k == "number" ? k < 0 ? U = X.length - ne + k : U = k - ne : U = X.length - ne), U < 0 && (U = 0), this.stringBufferOffset + U > V && (this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0), X.copy(this.stringBuffer, this.stringBufferOffset, ne, k), this.stringBufferOffset += U;
  }, W.write = function(X) {
    typeof X == "string" && (X = new Buffer(X));
    for (var ne, k = 0, U = X.length; k < U; k++) if (this.tState === p) {
      if (ne = X[k], this.offset++, ne === 123) this.onToken(i, "{");
      else if (ne === 125) this.onToken(s, "}");
      else if (ne === 91) this.onToken(h, "[");
      else if (ne === 93) this.onToken(o, "]");
      else if (ne === 58) this.onToken(n, ":");
      else if (ne === 44) this.onToken(u, ",");
      else if (ne === 116) this.tState = g;
      else if (ne === 102) this.tState = E;
      else if (ne === 110) this.tState = S;
      else if (ne === 34)
        this.string = "", this.stringBufferOffset = 0, this.tState = M;
      else if (ne === 45)
        this.string = "-", this.tState = R;
      else if (ne >= 48 && ne < 64)
        this.string = String.fromCharCode(ne), this.tState = j;
      else if (!(ne === 32 || ne === 9 || ne === 10 || ne === 13))
        return this.charError(X, k);
    } else if (this.tState === M)
      if (ne = X[k], this.bytes_remaining > 0) {
        for (var ee = 0; ee < this.bytes_remaining; ee++) this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence - this.bytes_remaining + ee] = X[ee];
        this.appendStringBuf(this.temp_buffs[this.bytes_in_sequence]), this.bytes_in_sequence = this.bytes_remaining = 0, k = k + ee - 1;
      } else if (this.bytes_remaining === 0 && ne >= 128) {
        if (ne <= 193 || ne > 244) return this.onError(/* @__PURE__ */ new Error("Invalid UTF-8 character at position " + k + " in state " + B.toknam(this.tState)));
        if (ne >= 194 && ne <= 223 && (this.bytes_in_sequence = 2), ne >= 224 && ne <= 239 && (this.bytes_in_sequence = 3), ne >= 240 && ne <= 244 && (this.bytes_in_sequence = 4), this.bytes_in_sequence + k > X.length) {
          for (var Ae = 0; Ae <= X.length - 1 - k; Ae++) this.temp_buffs[this.bytes_in_sequence][Ae] = X[k + Ae];
          this.bytes_remaining = k + this.bytes_in_sequence - X.length, k = X.length - 1;
        } else
          this.appendStringBuf(X, k, k + this.bytes_in_sequence), k = k + this.bytes_in_sequence - 1;
      } else if (ne === 34)
        this.tState = p, this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0, this.onToken(c, this.string), this.offset += Buffer.byteLength(this.string, "utf8") + 1, this.string = void 0;
      else if (ne === 92) this.tState = G;
      else if (ne >= 32) this.appendStringChar(ne);
      else return this.charError(X, k);
    else if (this.tState === G)
      if (ne = X[k], ne === 34)
        this.appendStringChar(ne), this.tState = M;
      else if (ne === 92)
        this.appendStringChar(L), this.tState = M;
      else if (ne === 47)
        this.appendStringChar(C), this.tState = M;
      else if (ne === 98)
        this.appendStringChar(N), this.tState = M;
      else if (ne === 102)
        this.appendStringChar(K), this.tState = M;
      else if (ne === 110)
        this.appendStringChar(oe), this.tState = M;
      else if (ne === 114)
        this.appendStringChar(pe), this.tState = M;
      else if (ne === 116)
        this.appendStringChar(_e), this.tState = M;
      else if (ne === 117)
        this.unicode = "", this.tState = Y;
      else return this.charError(X, k);
    else if (this.tState === Y || this.tState === H || this.tState === I || this.tState === $)
      if (ne = X[k], ne >= 48 && ne < 64 || ne > 64 && ne <= 70 || ne > 96 && ne <= 102) {
        if (this.unicode += String.fromCharCode(ne), this.tState++ === $) {
          var Te = parseInt(this.unicode, 16);
          this.unicode = void 0, this.highSurrogate !== void 0 && Te >= 56320 && Te < 57344 ? (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate, Te))), this.highSurrogate = void 0) : this.highSurrogate === void 0 && Te >= 55296 && Te < 56320 ? this.highSurrogate = Te : (this.highSurrogate !== void 0 && (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate))), this.highSurrogate = void 0), this.appendStringBuf(new Buffer(String.fromCharCode(Te)))), this.tState = M;
        }
      } else return this.charError(X, k);
    else if (this.tState === R || this.tState === j)
      switch (ne = X[k], ne) {
        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(ne), this.tState = j;
          break;
        default:
          this.tState = p;
          var ye = Number(this.string);
          if (isNaN(ye)) return this.charError(X, k);
          this.string.match(/[0-9]+/) == this.string && ye.toString() != this.string ? this.onToken(c, this.string) : this.onToken(d, ye), this.offset += this.string.length - 1, this.string = void 0, k--;
          break;
      }
    else if (this.tState === g) if (X[k] === 114) this.tState = v;
    else return this.charError(X, k);
    else if (this.tState === v) if (X[k] === 117) this.tState = y;
    else return this.charError(X, k);
    else if (this.tState === y) if (X[k] === 101)
      this.tState = p, this.onToken(l, !0), this.offset += 3;
    else return this.charError(X, k);
    else if (this.tState === E) if (X[k] === 97) this.tState = b;
    else return this.charError(X, k);
    else if (this.tState === b) if (X[k] === 108) this.tState = w;
    else return this.charError(X, k);
    else if (this.tState === w) if (X[k] === 115) this.tState = _;
    else return this.charError(X, k);
    else if (this.tState === _) if (X[k] === 101)
      this.tState = p, this.onToken(f, !1), this.offset += 4;
    else return this.charError(X, k);
    else if (this.tState === S) if (X[k] === 117) this.tState = T;
    else return this.charError(X, k);
    else if (this.tState === T) if (X[k] === 108) this.tState = D;
    else return this.charError(X, k);
    else if (this.tState === D) if (X[k] === 108)
      this.tState = p, this.onToken(a, null), this.offset += 3;
    else return this.charError(X, k);
  }, W.onToken = function(X, ne) {
  }, W.parseError = function(X, ne) {
    this.tState = m, this.onError(/* @__PURE__ */ new Error("Unexpected " + B.toknam(X) + (ne ? "(" + JSON.stringify(ne) + ")" : "") + " in state " + B.toknam(this.state)));
  }, W.push = function() {
    this.stack.push({
      value: this.value,
      key: this.key,
      mode: this.mode
    });
  }, W.pop = function() {
    var X = this.value, ne = this.stack.pop();
    this.value = ne.value, this.key = ne.key, this.mode = ne.mode, this.emit(X), this.mode || (this.state = q);
  }, W.emit = function(X) {
    this.mode && (this.state = u), this.onValue(X);
  }, W.onValue = function(X) {
  }, W.onToken = function(X, ne) {
    if (this.state === q) if (X === c || X === d || X === l || X === f || X === a)
      this.value && (this.value[this.key] = ne), this.emit(ne);
    else if (X === i)
      this.push(), this.value ? this.value = this.value[this.key] = {} : this.value = {}, this.key = void 0, this.state = z, this.mode = F;
    else if (X === h)
      this.push(), this.value ? this.value = this.value[this.key] = [] : this.value = [], this.key = 0, this.mode = x, this.state = q;
    else if (X === s) if (this.mode === F) this.pop();
    else return this.parseError(X, ne);
    else if (X === o) if (this.mode === x) this.pop();
    else return this.parseError(X, ne);
    else return this.parseError(X, ne);
    else if (this.state === z) if (X === c)
      this.key = ne, this.state = n;
    else if (X === s) this.pop();
    else return this.parseError(X, ne);
    else if (this.state === n) if (X === n) this.state = q;
    else return this.parseError(X, ne);
    else if (this.state === u) if (X === u)
      this.mode === x ? (this.key++, this.state = q) : this.mode === F && (this.state = z);
    else if (X === o && this.mode === x || X === s && this.mode === F) this.pop();
    else return this.parseError(X, ne);
    else return this.parseError(X, ne);
  }, B.C = r, t.exports = B;
})), lE = /* @__PURE__ */ P(((e, t) => {
  var r = oE(), { Minipass: i } = At(), s = class extends Error {
    constructor(n, u) {
      super(n.message), Error.captureStackTrace(this, u || this.constructor);
    }
    get name() {
      return "JSONStreamError";
    }
  }, h = (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, o = class Xf 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 l = this.#f = new r();
      l.onValue = (f) => this.#i(f), this.#c = l.onToken, l.onToken = (f, a) => this.#l(f, a), l.onError = (f) => this.#h(f), this.#u = typeof u.path == "string" ? u.path.split(".").map((f) => f === "$*" ? { emitKey: !0 } : f === "*" ? !0 : f === "" ? { recurse: !0 } : f) : Array.isArray(u.path) && u.path.length ? u.path : null, typeof u.map == "function" && (this.#s = u.map);
    }
    #p(u, l) {
      this.#n !== !1 && (this.#n = this.#n || {}, this.#n[u] = l), this.#r !== !1 && this.#n === !1 && (this.#r = this.#r || {}, this.#r[u] = l);
    }
    #h(u) {
      const l = this.#t ? this.end : this.write;
      return this.#t = !1, this.emit("error", new s(u, l));
    }
    #l(u, l) {
      const f = this.#f;
      if (this.#c.call(this.#f, u, l), f.stack.length === 0 && this.#o) {
        const a = this.#o;
        this.#u || super.write(a), this.#o = null, this.#e = 0;
      }
    }
    #i(u) {
      const l = this.#f;
      if (this.#o = u, !this.#u) return;
      let f = 0, a = 0, c = !1;
      for (; f < this.#u.length; ) {
        const p = this.#u[f];
        if (a++, p && !p.recurse) {
          const m = a === l.stack.length ? l : l.stack[a];
          if (!m) return;
          if (!h(p, m.key)) {
            this.#p(m.key, u);
            return;
          }
          c = !!p.emitKey, f++;
        } else {
          if (f++, f >= this.#u.length) return;
          const m = this.#u[f];
          if (!m) return;
          for (; ; ) {
            const g = a === l.stack.length ? l : l.stack[a];
            if (!g) return;
            if (h(m, g.key)) {
              f++, Object.isFrozen(l.stack[a]) || (l.stack[a].value = null);
              break;
            } else this.#p(g.key, u);
            a++;
          }
        }
      }
      if (this.#n) {
        const p = this.#n;
        this.#n = !1, this.emit("header", p);
      }
      if (a !== l.stack.length) return;
      this.#e++;
      const d = l.stack.slice(1).map((p) => p.key).concat([l.key]);
      if (u != null) {
        const p = this.#s ? this.#s(u, d) : u;
        if (p != null) {
          const m = c ? { value: p } : p;
          c && (m.key = l.key), super.write(m);
        }
      }
      l.value && delete l.value[l.key];
      for (const p of l.stack) p.value = null;
    }
    write(u, l) {
      if (typeof u == "string") u = Buffer.from(u, l);
      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, l) {
      this.#t = !0, u && this.write(u, l);
      const f = this.#n;
      this.#n = null;
      const a = this.#r;
      return this.#r = null, f && this.emit("header", f), a && this.emit("footer", a), super.end();
    }
    static get JSONStreamError() {
      return s;
    }
    static parse(u, l) {
      return new Xf({
        path: u,
        map: l
      });
    }
  };
  t.exports = o;
})), cE = /* @__PURE__ */ P(((e, t) => {
  var { HttpErrorAuthOTP: r } = Jh(), i = ew(), s = nw(), h = aE(), o = lE(), n = _f(), u = ge("querystring"), l = ge("url"), f = Xh(), { Minipass: a } = At(), c = gf(), d = (b) => {
    try {
      return !!new l.URL(b);
    } catch {
      return !1;
    }
  };
  t.exports = p;
  function p(b, w = {}) {
    const _ = {
      ...c,
      ...w
    }, S = d(b);
    let T = _.registry || c.registry;
    S || (T = _.registry = _.spec && v(_.spec, _) || _.registry || T, b = `${T.trim().replace(/\/?$/g, "")}/${b.trim().replace(/^\//, "")}`, new l.URL(b));
    const D = _.method || "GET", R = Date.now(), j = s(b, _), M = E(b, j, _);
    let G = _.body;
    const Y = a.isStream(G), H = G && typeof G == "object" && typeof G.then == "function";
    if (G && !Y && !H && typeof G != "string" && !Buffer.isBuffer(G) ? (M["content-type"] = M["content-type"] || "application/json", G = JSON.stringify(G)) : G && !M["content-type"] && (M["content-type"] = "application/octet-stream"), _.gzip)
      if (M["content-encoding"] = "gzip", Y) {
        const q = new f.Gzip();
        G.on("error", (z) => q.emit("error", z)), G = G.pipe(q);
      } else H || (G = new f.Gzip().end(G).concat());
    const I = new l.URL(b);
    if (_.query) {
      const q = typeof _.query == "string" ? u.parse(_.query) : _.query;
      Object.keys(q).forEach((z) => {
        q[z] !== void 0 && I.searchParams.set(z, q[z]);
      }), b = l.format(I);
    }
    I.searchParams.get("write") === "true" && D === "GET" && (_.offline = !1, _.preferOffline = !1, _.preferOnline = !0);
    const $ = async (q) => {
      const z = h(b, {
        agent: _.agent,
        algorithms: _.algorithms,
        body: q,
        cache: y(_),
        cachePath: _.cache,
        ca: _.ca,
        cert: j.cert || _.cert,
        headers: M,
        integrity: _.integrity,
        key: j.key || _.key,
        localAddress: _.localAddress,
        maxSockets: _.maxSockets,
        memoize: _.memoize,
        method: D,
        noProxy: _.noProxy,
        proxy: _.httpsProxy || _.proxy,
        retry: _.retry ? _.retry : {
          retries: _.fetchRetries,
          factor: _.fetchRetryFactor,
          minTimeout: _.fetchRetryMintimeout,
          maxTimeout: _.fetchRetryMaxtimeout
        },
        strictSSL: _.strictSSL,
        timeout: _.timeout || 3e4,
        signal: _.signal
      }).then((F) => i({
        method: D,
        uri: b,
        res: F,
        registry: T,
        startTime: R,
        auth: j,
        opts: _
      }));
      return typeof _.otpPrompt == "function" ? z.catch(async (F) => {
        if (F instanceof r) {
          let x;
          try {
            x = await _.otpPrompt();
          } catch {
          }
          if (!x) throw F;
          return p(b, {
            ..._,
            otp: x
          });
        }
        throw F;
      }) : z;
    };
    return Promise.resolve(G).then($);
  }
  t.exports.getAuth = s, t.exports.json = m;
  function m(b, w) {
    return p(b, w).then((_) => _.json());
  }
  t.exports.json.stream = g;
  function g(b, w, _ = {}) {
    const S = {
      ...c,
      ..._
    }, T = o.parse(w, S.mapJSON);
    return p(b, S).then((D) => D.body.on(
      "error",
      /* istanbul ignore next: unlikely and difficult to test */
      (R) => T.emit("error", R)
    ).pipe(T)).catch((D) => T.emit("error", D)), T;
  }
  t.exports.pickRegistry = v;
  function v(b, w = {}) {
    b = n(b);
    let _ = b.scope && w[b.scope.replace(/^@?/, "@") + ":registry"];
    return !_ && w.scope && (_ = w[w.scope.replace(/^@?/, "@") + ":registry"]), _ || (_ = w.registry || c.registry), _;
  }
  function y(b) {
    return b.offline ? "only-if-cached" : b.preferOffline ? "force-cache" : b.preferOnline ? "no-cache" : "default";
  }
  function E(b, w, _) {
    const S = Object.assign({ "user-agent": _.userAgent }, _.headers || {});
    return _.authType && (S["npm-auth-type"] = _.authType), _.scope && (S["npm-scope"] = _.scope), _.npmSession && (S["npm-session"] = _.npmSession), _.npmCommand && (S["npm-command"] = _.npmCommand), w.token ? S.authorization = `Bearer ${w.token}` : w.auth && (S.authorization = `Basic ${w.auth}`), _.otp && (S["npm-otp"] = _.otp), S;
  }
})), gr = /* @__PURE__ */ Nt(m1(), 1), _l = /* @__PURE__ */ Nt(v1(), 1), Gs = /* @__PURE__ */ Nt(cE(), 1), vi, un;
function Qf(e) {
  if (typeof e != "string") throw new TypeError(`Expected a string, got ${typeof e}`);
  if (vi === void 0 && (vi = Oi.homedir()), vi && /^~(?=$|\/|\\)/.test(e)) return e.replace(/^~/, vi);
  const t = e.match(/^~([^/\\]+)(.*)/);
  if (t && (un === void 0 && (un = Oi.userInfo().username), un)) {
    const r = t[1], i = t[2];
    if (r === un) return vi + i;
  }
  return e;
}
var uE = class {
  value;
  next;
  constructor(e) {
    this.value = e;
  }
}, hE = class {
  #e;
  #t;
  #r;
  constructor() {
    this.clear();
  }
  enqueue(e) {
    const t = new uE(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 tu(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 hE();
  let r = 0;
  const i = () => {
    r--, t.size > 0 && t.dequeue()();
  }, s = async (n, u, l) => {
    r++;
    const f = (async () => n(...l))();
    u(f);
    try {
      await f;
    } catch {
    }
    i();
  }, h = (n, u, l) => {
    t.enqueue(s.bind(void 0, n, u, l)), (async () => (await Promise.resolve(), r < e && t.size > 0 && t.dequeue()()))();
  }, o = (n, ...u) => new Promise((l) => {
    h(n, l, u);
  });
  return Object.defineProperties(o, {
    activeCount: { get: () => r },
    pendingCount: { get: () => t.size },
    clearQueue: { value: () => {
      t.clear();
    } }
  }), o;
}
var ed = class extends Error {
  constructor(e) {
    super(), this.value = e;
  }
}, fE = async (e, t) => t(await e), dE = async (e) => {
  const t = await Promise.all(e);
  if (t[1] === !0) throw new ed(t[0]);
  return !1;
};
async function pE(e, t, { concurrency: r = Number.POSITIVE_INFINITY, preserveOrder: i = !0 } = {}) {
  const s = tu(r), h = [...e].map((n) => [n, s(fE, n, t)]), o = tu(i ? 1 : Number.POSITIVE_INFINITY);
  try {
    await Promise.all(h.map((n) => o(dE, n)));
  } catch (n) {
    if (n instanceof ed) return n.value;
    throw n;
  }
}
var td = {
  directory: "isDirectory",
  file: "isFile"
};
function rd(e) {
  if (!(e === "both" || Object.hasOwn(td, e)))
    throw new Error(`Invalid type specified: ${e}`);
}
var id = (e, t) => e === "both" ? t.isFile() || t.isDirectory() : t[td[e]](), nd = (e) => e instanceof URL ? No(e) : e;
async function ru(e, { cwd: t = Ui.cwd(), type: r = "file", allowSymlinks: i = !0, concurrency: s, preserveOrder: h } = {}) {
  rd(r), t = nd(t);
  const o = i ? hc.stat : hc.lstat;
  return pE(e, async (n) => {
    try {
      return id(r, await o(ot.resolve(t, n)));
    } catch {
      return !1;
    }
  }, {
    concurrency: s,
    preserveOrder: h
  });
}
function iu(e, { cwd: t = Ui.cwd(), type: r = "file", allowSymlinks: i = !0 } = {}) {
  rd(r), t = nd(t);
  const s = i ? Qs.statSync : Qs.lstatSync;
  for (const h of e) try {
    const o = s(ot.resolve(t, h), { throwIfNoEntry: !1 });
    if (!o) continue;
    if (id(r, o)) return h;
  } catch {
  }
}
var mL = ih(Xg);
function Rn(e) {
  return e instanceof URL ? No(e) : e;
}
var sd = /* @__PURE__ */ Symbol("findUpStop");
async function gE(e, t = {}) {
  let r = ot.resolve(Rn(t.cwd) ?? "");
  const { root: i } = ot.parse(r), s = ot.resolve(r, Rn(t.stopAt) ?? i), h = t.limit ?? Number.POSITIVE_INFINITY, o = [e].flat(), n = async (l) => {
    if (typeof e != "function") return ru(o, l);
    const f = await e(l.cwd);
    return typeof f == "string" ? ru([f], l) : f;
  }, u = [];
  for (; ; ) {
    const l = await n({
      ...t,
      cwd: r
    });
    if (l === sd || (l && u.push(ot.resolve(r, l)), r === s || u.length >= h)) break;
    r = ot.dirname(r);
  }
  return u;
}
function mE(e, t = {}) {
  let r = ot.resolve(Rn(t.cwd) ?? "");
  const { root: i } = ot.parse(r), s = ot.resolve(r, Rn(t.stopAt) ?? i), h = t.limit ?? Number.POSITIVE_INFINITY, o = [e].flat(), n = (l) => {
    if (typeof e != "function") return iu(o, l);
    const f = e(l.cwd);
    return typeof f == "string" ? iu([f], l) : f;
  }, u = [];
  for (; ; ) {
    const l = n({
      ...t,
      cwd: r
    });
    if (l === sd || (l && u.push(ot.resolve(r, l)), r === s || u.length >= h)) break;
    r = ot.dirname(r);
  }
  return u;
}
async function On(e, t = {}) {
  return (await gE(e, {
    ...t,
    limit: 1
  }))[0];
}
function vE(e, t = {}) {
  return mE(e, {
    ...t,
    limit: 1
  })[0];
}
var ad = class od {
  constructor(t, r, i) {
    this.__specs = t || {}, this.__opts = r || {}, this.__providers = nu(i.filter((s) => s != null && typeof s == "object")), this.__isFiggyPudding = !0;
  }
  get(t) {
    return ld(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 h = s.entries ? s.entries(r) : _E(s);
        for (let [o, n] of h) r(o) && !i.has(o) && (i.add(o), yield [o, n]);
      }
    }
  }
  concat(...t) {
    return new Proxy(new od(this.__specs, this.__opts, nu(this.__providers).concat(t)), cd);
  }
};
function ld(e, t, r) {
  let i = e.__specs[t];
  i || (i = {});
  let s;
  for (let h of e.__providers)
    if (s = yE(t, h), s !== void 0) break;
  return s === void 0 && i.default !== void 0 ? typeof i.default == "function" ? i.default(e) : i.default : s;
}
function yE(e, t) {
  let r;
  return t.__isFiggyPudding ? r = ld(t, e, !1) : r = t[e], r;
}
var cd = { get(e, t) {
  return typeof t == "symbol" || t.slice(0, 2) === "__" || t in ad.prototype ? e[t] : e.get(t);
} };
function ud(e, t) {
  function r(...i) {
    return new Proxy(new ad(e, t, i), cd);
  }
  return r;
}
function nu(e) {
  const t = [];
  return e.forEach((r) => t.unshift(r)), t;
}
function _E(e) {
  return Object.keys(e).map((t) => [t, e[t]]);
}
var su = ud({}, { other() {
  return !0;
} }), bE = ud({
  cache: { default: ot.join(process.env.HOME || Oi.homedir(), ".npm") },
  configNames: { default: ["npmrc", ".npmrc"] },
  envPrefix: { default: /^npm_config_/i },
  cwd: { default: () => process.cwd() },
  globalconfig: { default: () => ot.join(EE(), "etc", "npmrc") },
  userconfig: { default: ot.join(process.env.HOME || Oi.homedir(), ".npmrc") }
});
function wE(e, t) {
  const r = bE(t), i = {};
  Object.keys(process.env).forEach((c) => {
    if (!c.match(r.envPrefix)) return;
    const d = c.toLowerCase().replace(r.envPrefix, "").replace(/(?!^)_/g, "-");
    i[d] = process.env[c];
  });
  const s = su(e), h = r.userconfig || s.userconfig || i.userconfig, o = h && zs(h), n = r.globalconfig || s.globalconfig || i.globalconfig, u = n && zs(n), l = vE(r.configNames, { cwd: r.cwd });
  let f = {};
  l && l !== h && (f = zs(l));
  const a = su(r, u, o, f, i, s);
  return a.cache ? a.concat({ cache: ot.resolve(s.cache || i.cache ? r.cwd : f.cache ? ot.dirname(l) : o.cache ? ot.dirname(h) : u.cache ? ot.dirname(n) : ot.dirname(h), a.cache) }) : a;
}
function zs(e) {
  let t;
  try {
    t = Qs.readFileSync(e, "utf8");
  } catch (r) {
    if (r.code === "ENOENT") return "";
    throw r;
  }
  return _l.default.parse(t);
}
function EE() {
  if (process.env.PREFIX) return process.env.PREFIX;
  if (process.platform === "win32") return ot.dirname(process.execPath);
  {
    let e = ot.dirname(ot.dirname(process.execPath));
    return process.env.DESTDIR && (e = ot.join(process.env.DESTDIR, e)), e;
  }
}
async function Xt(e, t, r, i) {
  if (process.platform !== "win32" || e === "bun") return (0, Er.default)(e, t, r, i);
  try {
    return (0, Er.default)(`${e}.cmd`, t, r, i);
  } catch (s) {
    if (s.code === "ENOENT") return (0, Er.default)(e, t, r, i);
    throw s;
  }
}
function SE(e, t) {
  return t.deprecated || !e.deprecated;
}
function AE(e, t) {
  return t.pre ? !0 : !e.version || !Wi(e.version);
}
function hd(e, t) {
  if (!t) return !0;
  const r = We.default.minVersion(t)?.version;
  if (!r) return !0;
  const i = e?.engines?.node;
  return !i || We.default.satisfies(r, i);
}
function TE(e, t) {
  return t ? Object.values(t).every((r) => r[e.name] === void 0 || We.default.satisfies(e.version, r[e.name])) : !0;
}
function bl(e, t) {
  const r = e.version, i = e?.time?.[r];
  if (!t) return !0;
  if (!i) return !1;
  const s = new Date(i), h = 864e5, o = typeof t == "function" ? t(e.name) ?? 0 : t, n = typeof o == "string" ? Dn(o) ?? 0 : o;
  return Date.now() - s.getTime() >= n * h;
}
function Xi(e) {
  const t = [
    (r) => SE(r, e),
    (r) => AE(r, e),
    e.enginesNode ? (r) => hd(r, e.nodeEngineVersion) : null,
    e.peerDependencies ? (r) => TE(r, e.peerDependencies) : null,
    e.cooldown ? (r) => bl(r, e.cooldown) : null
  ];
  return (r) => t.every((i) => i ? i(r) : !0);
}
var DE = /* @__PURE__ */ yt({
  default: () => ss,
  defaultPrefix: () => pd,
  distTag: () => Qi,
  getEngines: () => as,
  getPeerDependencies: () => Sl,
  greatest: () => hi,
  latest: () => os,
  list: () => gd,
  minor: () => cs,
  newest: () => ls,
  normalizeNpmConfig: () => wl,
  npmApi: () => Ct,
  packageAuthorChanged: () => ns,
  parseJson: () => Yr,
  patch: () => us,
  semver: () => hs
}), RE = /* @__PURE__ */ new Set([
  "-",
  "||",
  "&&",
  "<",
  "<=",
  ">",
  ">="
]), OE = (e) => (0, Et.parseRange)(e).some((t) => RE.has(t.operator || "")), fd = (e) => e && (!We.default.validRange(e) || rl(e)), is = async (e, t, r, i = {}, s) => {
  const h = "application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*", o = "application/json", n = Gs.default.pickRegistry(e, i), u = {
    "user-agent": i.userAgent || `npm-check-updates/${ta.version} node/${process.version}`,
    "ncu-version": ta.version,
    "ncu-pkg-id": `registry:${e}`,
    accept: i.fullMetadata ? o : h,
    ...i.headers
  }, l = new URL(encodeURIComponent(e), n.endsWith("/") ? n : `${n}/`);
  s && (l.pathname += `/${s}`);
  const f = {
    ...i,
    headers: u,
    spec: e
  };
  try {
    if (i.fullMetadata) return Gs.default.json(l.href, f);
    {
      r = r || "latest";
      const a = await (0, Gs.default)(l.href, f), c = new s1({
        paths: ["$.*"],
        keepStack: !1
      }), d = { name: e };
      let p = !1, m = null;
      c.onValue = ({ key: g, value: v }) => {
        if (p || g === void 0) return;
        const y = g;
        t.includes(y) && (d[y] = v, Object.keys(d).length === t.length + 1 && (p = !0));
      }, c.onError = (g) => {
        m = g;
      };
      for await (const g of a.body) {
        if (c.write(g), m) throw m;
        if (p) break;
      }
      if (m) throw m;
      return d;
    }
  } catch (a) {
    if (a.code !== "E404" || i.fullMetadata) throw a;
    return is(e, t, r, {
      ...i,
      fullMetadata: !0
    }, s);
  }
}, ui = (e, t) => {
  const r = e.version;
  return {
    ...e,
    name: t.name,
    ...t?.time?.[r] ? { time: t.time } : null
  };
}, wl = (e, t) => {
  const r = {
    cafile: (o) => {
      if (!o) return;
      const n = Wr.readFileSync(ze.resolve(t || "", Qf(o)), "utf8"), u = "-----END CERTIFICATE-----";
      return { ca: n.split(u).filter((l) => !!l.trim()).map((l) => `${l.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 = (o) => !!o && o !== "false" && o !== "0", h = (o) => parseInt(o) || 0;
  return rt(e, (o, n) => {
    const u = typeof n != "string" ? n : i[o.replace(/-/g, "").toLowerCase()] === "boolean" ? s(n) : i[o.replace(/-/g, "").toLowerCase()] === "number" ? h(n) : n.replace(/\${([^}]+)}/, (f, a) => process.env[a]), { [o]: l } = r;
    return typeof l == "string" ? { [l]: u } : typeof l == "function" ? { ...l(u.toString()) } : { [o.match(/^[a-z]/i) ? g1(o) : o]: u };
  });
}, Ct = {};
Ct.findNpmConfig = (0, gr.default)((e) => {
  let t;
  if (e) try {
    t = _l.default.parse(Wr.readFileSync(e, "utf-8"));
  } catch (r) {
    if (r.code === "ENOENT") return null;
    throw r;
  }
  else t = {
    ...wE(null, { userconfig: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG }).toJSON(),
    cache: !1
  };
  return wl(t, e);
});
var El = Ct.findNpmConfig();
function Yr(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 ns(e, t, r, i = {}, s) {
  const h = await is(e, ["versions"], null, {
    ...s,
    ...El,
    fullMetadata: !0,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null
  });
  if (h.versions) {
    const o = Object.keys(h.versions), n = We.default.minSatisfying(o, t), u = We.default.maxSatisfying(o, r);
    if (n && u && h.versions[n]._npmUser && h.versions[u]._npmUser) return h.versions[n]._npmUser?.name !== h.versions[u]._npmUser?.name;
  }
  return !1;
}
var yi = (e) => !!(e && (e.name || e.engines || e.version || e.versions));
Ct.mockFetchUpgradedPackument = (e) => (t, r, i, s) => {
  const h = typeof e == "function" ? e(s)?.[t] : typeof e == "string" || yi(e) ? e : e[t], o = yi(h) ? h.version : h;
  if (!o) throw new Error(`fetchUpgradedPackument is mocked, but no mock version was supplied for ${t}. Make sure that all dependencies are mocked. `);
  const n = yi(h) && h.time?.[o] || (/* @__PURE__ */ new Date()).toISOString(), u = {
    name: t,
    "dist-tags": { [s.distTag || "latest"]: o },
    engines: { node: "" },
    time: { [o]: n },
    version: o,
    versions: {},
    ...yi(h) ? h : null
  }, { versions: l, ...f } = u;
  return Promise.resolve({
    ...u,
    versions: { ...yi(h) && h.versions || { [o]: f } }
  });
};
var CE = (0, gr.default)(({ npmConfigLocal: e, npmConfigUser: t, npmConfigWorkspaceProject: r }, i) => {
  const s = i.packageFile ? ze.join(i.packageFile, "../.npmrc") : null, h = i.packageFile ? Ct.findNpmConfig(s || void 0) : null, o = i.cwd ? ze.join(i.cwd, ".npmrc") : null, n = i.cwd ? Ct.findNpmConfig(o) : null;
  if (r && Object.keys(r).length > 0) {
    Fe(i, `
npm config (workspace project):`, "verbose");
    const { cache: l, ...f } = r;
    sr(i, f, "verbose");
  }
  if (t && Object.keys(t).length > 0) {
    Fe(i, `
npm config (user):`, "verbose");
    const { cache: l, ...f } = t;
    sr(i, f, "verbose");
  }
  if (e && Object.keys(e).length > 0) {
    Fe(i, `
npm config (local override):`, "verbose");
    const { cache: l, ...f } = e;
    sr(i, f, "verbose");
  }
  if (h && Object.keys(h).length > 0) {
    Fe(i, `
npm config (project: ${s}):`, "verbose");
    const { cache: l, ...f } = h;
    sr(i, f, "verbose");
  }
  if (n && Object.keys(n).length > 0) {
    Fe(i, `
npm config (cwd: ${o}):`, "verbose");
    const { cache: l, ...f } = n;
    sr(i, f, "verbose");
  }
  const u = {
    ...r,
    ...t,
    ...e,
    ...h,
    ...n,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null,
    ...i.timeout ? { timeout: i.timeout } : null
  };
  if (r || e || h || n) {
    Fe(i, `
merged npm config:`, "verbose");
    const { cache: l, ...f } = u;
    sr(i, f, "verbose");
  }
  return u;
});
async function dd(e, t, r, i, s = 0, h, o) {
  if (process.env.STUB_VERSIONS) {
    const a = JSON.parse(process.env.STUB_VERSIONS);
    return Ct.mockFetchUpgradedPackument(a)(e, t, r, i);
  }
  if (fd(r)) return Promise.resolve({});
  const n = i.format?.includes("time") && !t.includes("time") ? [...t, "time"] : t, u = n.includes("time"), l = CE({
    npmConfigUser: {
      ...El,
      fullMetadata: u
    },
    npmConfigLocal: h,
    npmConfigWorkspaceProject: o
  }, i);
  let f;
  try {
    const a = i.distTag || "latest";
    f = await is(e, Array.from(/* @__PURE__ */ new Set([
      "dist-tags",
      ...t,
      ...i.deprecated ? [] : ["deprecated", "versions"],
      ...i.enginesNode ? ["engines", "versions"] : []
    ])), u ? null : a, l);
  } catch (a) {
    if (i.retry && ++s <= i.retry) return dd(e, n, r, i, s, h);
    throw a;
  }
  return f;
}
Ct.fetchUpgradedPackumentMemo = (0, gr.default)(dd, { serializer: (([e, t, r, i, s, h, o]) => {
  const { packageFile: n, ...u } = i;
  return JSON.stringify([
    e,
    t,
    fd(r),
    u,
    s,
    h,
    o
  ]);
}) });
async function ss(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await Xt("npm", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    "--json",
    ...Array.isArray(e) ? e : [e]
  ], r, i);
  return s;
}
async function pd(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  let t;
  try {
    const { stdout: r } = await Xt("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 hi = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const o = await Ct.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = o?.versions;
  return { version: Object.values(n || {}).filter((u) => Xi(r)(ui(u, o))).map((u) => u.version).sort(nl).at(-1) || null };
}, Sl = async (e, t, r) => {
  const i = [
    "view",
    `${e}@${t}`,
    "peerDependencies"
  ], s = await ss(i, {}, { rejectOnError: !1 }, r);
  return s ? Yr(s, { command: [...i, "--json"].join(" ") }) : {};
}, as = async (e, t, r = {}, i) => (await is(e, ["engines"], null, {
  ...i,
  ...El,
  ...r.registry ? {
    registry: r.registry,
    silent: !0
  } : null
}, t)).engines || {}, gd = async (e = {}) => {
  const t = Yr(await ss(["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 rt(t, (r, i) => ({ [r]: i.version || i.required?.version }));
}, Qi = async (e, t, r = {}, i, s) => {
  const h = ["dist-tags"];
  r.cooldown && h.push("time");
  const o = await Ct.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = o?.["dist-tags"]?.[r.distTag || "latest"], u = o?.versions ? o.versions?.[n] : {
    name: e,
    version: n
  }, l = ui(u, o);
  if (u && Xi(r)(l)) return {
    version: u.version,
    ...o?.time?.[n] ? { time: o.time[n] } : null
  };
  if (r.cooldown) {
    if (n && u && !bl(l, r.cooldown)) {
      const f = o?.time?.[n];
      Fe(r, `Skipping ${e}@${n} due to cooldown${f ? ` (published ${f})` : ""}.`, "verbose");
    }
    return { cooldown: !0 };
  }
  return r.distTag && r.distTag !== "latest" ? {} : hi(e, t, r, i, s);
}, os = async (e, t, r = {}, i, s) => {
  const h = await Qi(e, t, {
    ...r,
    distTag: "latest"
  }, i, s);
  if (h.cooldown) {
    const o = await hi(e, t, r, i, s);
    if (o.version) return o;
  }
  return h;
}, ls = async (e, t, r = {}, i, s) => {
  const h = await Ct.fetchUpgradedPackumentMemo(e, ["time", "versions"], t, r, 0, i, s), o = rt(h?.versions || {}, (l, f) => hd(f, r.nodeEngineVersion) ? { [f.version]: !0 } : null), n = br(h?.time || {}, (l) => o[l] && (r.pre !== !1 || !Wi(l))), u = Xn(Object.entries(n), (l) => l[1]).map(([l]) => l);
  return r.cooldown ? { version: u.filter((l) => bl(ui(h.versions[l], h), r.cooldown)).at(-1) } : { version: u.at(-1) };
}, cs = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const o = await Ct.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = o?.versions;
  return { version: sl(Object.values(n || {}).filter((u) => Xi(r)(ui(u, o))).map((u) => u.version), t, "minor") };
}, us = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const o = await Ct.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = o?.versions;
  return { version: sl(Object.values(n || {}).filter((u) => Xi(r)(ui(u, o))).map((u) => u.version), t, "patch") };
}, hs = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const o = await Ct.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = o?.versions;
  if (OE(t)) return { version: null };
  const u = Object.values(n || {}).filter((l) => Xi(r)(ui(l, o))).map((l) => l.version);
  return { version: We.default.maxSatisfying(u, t) };
}, IE = /* @__PURE__ */ yt({
  default: () => Al,
  defaultPrefix: () => kE,
  distTag: () => Qi,
  getEngines: () => as,
  getPeerDependencies: () => Sl,
  greatest: () => hi,
  latest: () => os,
  list: () => LE,
  minor: () => cs,
  newest: () => ls,
  packageAuthorChanged: () => ns,
  patch: () => us,
  semver: () => hs
});
async function Al(e, t = {}, r = {}, i = {}) {
  return (0, Er.default)("bun", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    ...Array.isArray(e) ? e : [e]
  ], r, i);
}
var kE = async (e) => e.global ? e.prefix || process.env.BUN_INSTALL || ze.dirname((await (0, Er.default)("bun", [
  "pm",
  "-g",
  "bin"
])).stdout) : void 0, LE = async (e = {}) => {
  const { stdout: t } = await Al(["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 rt(Zg(t).split(`
`), (r) => {
    const i = r.match(/.* (.+?)@(.+)/);
    if (i) {
      const [, s, h] = i;
      return { [s]: h };
    }
    return null;
  });
}, Je = /* @__PURE__ */ P(((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"), h = /* @__PURE__ */ Symbol.for("yaml.scalar"), o = /* @__PURE__ */ Symbol.for("yaml.seq"), n = /* @__PURE__ */ Symbol.for("yaml.node.type"), u = (v) => !!v && typeof v == "object" && v[n] === t, l = (v) => !!v && typeof v == "object" && v[n] === r, f = (v) => !!v && typeof v == "object" && v[n] === i, a = (v) => !!v && typeof v == "object" && v[n] === s, c = (v) => !!v && typeof v == "object" && v[n] === h, d = (v) => !!v && typeof v == "object" && v[n] === o;
  function p(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case i:
      case o:
        return !0;
    }
    return !1;
  }
  function m(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case t:
      case i:
      case h:
      case o:
        return !0;
    }
    return !1;
  }
  var g = (v) => (c(v) || p(v)) && !!v.anchor;
  e.ALIAS = t, e.DOC = r, e.MAP = i, e.NODE_TYPE = n, e.PAIR = s, e.SCALAR = h, e.SEQ = o, e.hasAnchor = g, e.isAlias = u, e.isCollection = p, e.isDocument = l, e.isMap = f, e.isNode = m, e.isPair = a, e.isScalar = c, e.isSeq = d;
})), fs = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = /* @__PURE__ */ Symbol("break visit"), i = /* @__PURE__ */ Symbol("skip children"), s = /* @__PURE__ */ Symbol("remove node");
  function h(c, d) {
    const p = l(d);
    t.isDocument(c) ? o(null, c.contents, p, Object.freeze([c])) === s && (c.contents = null) : o(null, c, p, Object.freeze([]));
  }
  h.BREAK = r, h.SKIP = i, h.REMOVE = s;
  function o(c, d, p, m) {
    const g = f(c, d, p, m);
    if (t.isNode(g) || t.isPair(g))
      return a(c, m, g), o(c, g, p, m);
    if (typeof g != "symbol") {
      if (t.isCollection(d)) {
        m = Object.freeze(m.concat(d));
        for (let v = 0; v < d.items.length; ++v) {
          const y = o(v, d.items[v], p, m);
          if (typeof y == "number") v = y - 1;
          else {
            if (y === r) return r;
            y === s && (d.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(d)) {
        m = Object.freeze(m.concat(d));
        const v = o("key", d.key, p, m);
        if (v === r) return r;
        v === s && (d.key = null);
        const y = o("value", d.value, p, m);
        if (y === r) return r;
        y === s && (d.value = null);
      }
    }
    return g;
  }
  async function n(c, d) {
    const p = l(d);
    t.isDocument(c) ? await u(null, c.contents, p, Object.freeze([c])) === s && (c.contents = null) : await u(null, c, p, Object.freeze([]));
  }
  n.BREAK = r, n.SKIP = i, n.REMOVE = s;
  async function u(c, d, p, m) {
    const g = await f(c, d, p, m);
    if (t.isNode(g) || t.isPair(g))
      return a(c, m, g), u(c, g, p, m);
    if (typeof g != "symbol") {
      if (t.isCollection(d)) {
        m = Object.freeze(m.concat(d));
        for (let v = 0; v < d.items.length; ++v) {
          const y = await u(v, d.items[v], p, m);
          if (typeof y == "number") v = y - 1;
          else {
            if (y === r) return r;
            y === s && (d.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(d)) {
        m = Object.freeze(m.concat(d));
        const v = await u("key", d.key, p, m);
        if (v === r) return r;
        v === s && (d.key = null);
        const y = await u("value", d.value, p, m);
        if (y === r) return r;
        y === s && (d.value = null);
      }
    }
    return g;
  }
  function l(c) {
    return typeof c == "object" && (c.Collection || c.Node || c.Value) ? Object.assign({
      Alias: c.Node,
      Map: c.Node,
      Scalar: c.Node,
      Seq: c.Node
    }, c.Value && {
      Map: c.Value,
      Scalar: c.Value,
      Seq: c.Value
    }, c.Collection && {
      Map: c.Collection,
      Seq: c.Collection
    }, c) : c;
  }
  function f(c, d, p, m) {
    if (typeof p == "function") return p(c, d, m);
    if (t.isMap(d)) return p.Map?.(c, d, m);
    if (t.isSeq(d)) return p.Seq?.(c, d, m);
    if (t.isPair(d)) return p.Pair?.(c, d, m);
    if (t.isScalar(d)) return p.Scalar?.(c, d, m);
    if (t.isAlias(d)) return p.Alias?.(c, d, m);
  }
  function a(c, d, p) {
    const m = d[d.length - 1];
    if (t.isCollection(m)) m.items[c] = p;
    else if (t.isPair(m)) c === "key" ? m.key = p : m.value = p;
    else if (t.isDocument(m)) m.contents = p;
    else {
      const g = t.isAlias(m) ? "alias" : "scalar";
      throw new Error(`Cannot replace node with ${g} parent`);
    }
  }
  e.visit = h, e.visitAsync = n;
})), md = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = fs(), i = {
    "!": "%21",
    ",": "%2C",
    "[": "%5B",
    "]": "%5D",
    "{": "%7B",
    "}": "%7D"
  }, s = (o) => o.replace(/[!,[\]{}]/g, (n) => i[n]), h = class rr {
    constructor(n, u) {
      this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, rr.defaultYaml, n), this.tags = Object.assign({}, rr.defaultTags, u);
    }
    clone() {
      const n = new rr(this.yaml, this.tags);
      return n.docStart = this.docStart, n;
    }
    atDocument() {
      const n = new rr(this.yaml, this.tags);
      switch (this.yaml.version) {
        case "1.1":
          this.atNextDocument = !0;
          break;
        case "1.2":
          this.atNextDocument = !1, this.yaml = {
            explicit: rr.defaultYaml.explicit,
            version: "1.2"
          }, this.tags = Object.assign({}, rr.defaultTags);
          break;
      }
      return n;
    }
    add(n, u) {
      this.atNextDocument && (this.yaml = {
        explicit: rr.defaultYaml.explicit,
        version: "1.1"
      }, this.tags = Object.assign({}, rr.defaultTags), this.atNextDocument = !1);
      const l = n.trim().split(/[ \t]+/), f = l.shift();
      switch (f) {
        case "%TAG": {
          if (l.length !== 2 && (u(0, "%TAG directive should contain exactly two parts"), l.length < 2))
            return !1;
          const [a, c] = l;
          return this.tags[a] = c, !0;
        }
        case "%YAML": {
          if (this.yaml.explicit = !0, l.length !== 1)
            return u(0, "%YAML directive should contain exactly one part"), !1;
          const [a] = l;
          if (a === "1.1" || a === "1.2")
            return this.yaml.version = a, !0;
          {
            const c = /^\d+\.\d+$/.test(a);
            return u(6, `Unsupported YAML version ${a}`, c), !1;
          }
        }
        default:
          return u(0, `Unknown directive ${f}`, !0), !1;
      }
    }
    tagName(n, u) {
      if (n === "!") return "!";
      if (n[0] !== "!")
        return u(`Not a valid tag: ${n}`), null;
      if (n[1] === "<") {
        const c = n.slice(2, -1);
        return c === "!" || c === "!!" ? (u(`Verbatim tags aren't resolved, so ${n} is invalid.`), null) : (n[n.length - 1] !== ">" && u("Verbatim tags must end with a >"), c);
      }
      const [, l, f] = n.match(/^(.*!)([^!]*)$/s);
      f || u(`The ${n} tag has no suffix`);
      const a = this.tags[l];
      if (a) try {
        return a + decodeURIComponent(f);
      } catch (c) {
        return u(String(c)), null;
      }
      return l === "!" ? n : (u(`Could not resolve tag: ${n}`), null);
    }
    tagString(n) {
      for (const [u, l] of Object.entries(this.tags)) if (n.startsWith(l)) return u + s(n.substring(l.length));
      return n[0] === "!" ? n : `!<${n}>`;
    }
    toString(n) {
      const u = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [], l = Object.entries(this.tags);
      let f;
      if (n && l.length > 0 && t.isNode(n.contents)) {
        const a = {};
        r.visit(n.contents, (c, d) => {
          t.isNode(d) && d.tag && (a[d.tag] = !0);
        }), f = Object.keys(a);
      } else f = [];
      for (const [a, c] of l)
        a === "!!" && c === "tag:yaml.org,2002:" || (!n || f.some((d) => d.startsWith(c))) && u.push(`%TAG ${a} ${c}`);
      return u.join(`
`);
    }
  };
  h.defaultYaml = {
    explicit: !1,
    version: "1.2"
  }, h.defaultTags = { "!!": "tag:yaml.org,2002:" }, e.Directives = h;
})), Tl = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = fs();
  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(l, f) {
      f.anchor && u.add(f.anchor);
    } }), u;
  }
  function h(n, u) {
    for (let l = 1; ; ++l) {
      const f = `${n}${l}`;
      if (!u.has(f)) return f;
    }
  }
  function o(n, u) {
    const l = [], f = /* @__PURE__ */ new Map();
    let a = null;
    return {
      onAnchor: (c) => {
        l.push(c), a ?? (a = s(n));
        const d = h(u, a);
        return a.add(d), d;
      },
      setAnchors: () => {
        for (const c of l) {
          const d = f.get(c);
          if (typeof d == "object" && d.anchor && (t.isScalar(d.node) || t.isCollection(d.node))) d.node.anchor = d.anchor;
          else {
            const p = /* @__PURE__ */ new Error("Failed to resolve repeated object (this should not happen)");
            throw p.source = c, p;
          }
        }
      },
      sourceObjects: f
    };
  }
  e.anchorIsValid = i, e.anchorNames = s, e.createNodeAnchors = o, e.findNewAnchor = h;
})), vd = /* @__PURE__ */ P(((e) => {
  function t(r, i, s, h) {
    if (h && typeof h == "object") if (Array.isArray(h)) for (let o = 0, n = h.length; o < n; ++o) {
      const u = h[o], l = t(r, h, String(o), u);
      l === void 0 ? delete h[o] : l !== u && (h[o] = l);
    }
    else if (h instanceof Map) for (const o of Array.from(h.keys())) {
      const n = h.get(o), u = t(r, h, o, n);
      u === void 0 ? h.delete(o) : u !== n && h.set(o, u);
    }
    else if (h instanceof Set) for (const o of Array.from(h)) {
      const n = t(r, h, o, o);
      n === void 0 ? h.delete(o) : n !== o && (h.delete(o), h.add(n));
    }
    else for (const [o, n] of Object.entries(h)) {
      const u = t(r, h, o, n);
      u === void 0 ? delete h[o] : u !== n && (h[o] = u);
    }
    return r.call(i, s, h);
  }
  e.applyReviver = t;
})), Or = /* @__PURE__ */ P(((e) => {
  var t = Je();
  function r(i, s, h) {
    if (Array.isArray(i)) return i.map((o, n) => r(o, String(n), h));
    if (i && typeof i.toJSON == "function") {
      if (!h || !t.hasAnchor(i)) return i.toJSON(s, h);
      const o = {
        aliasCount: 0,
        count: 1,
        res: void 0
      };
      h.anchors.set(i, o), h.onCreate = (u) => {
        o.res = u, delete h.onCreate;
      };
      const n = i.toJSON(s, h);
      return h.onCreate && h.onCreate(n), n;
    }
    return typeof i == "bigint" && !h?.keep ? Number(i) : i;
  }
  e.toJS = r;
})), Dl = /* @__PURE__ */ P(((e) => {
  var t = vd(), r = Je(), i = Or(), s = class {
    constructor(h) {
      Object.defineProperty(this, r.NODE_TYPE, { value: h });
    }
    clone() {
      const h = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
      return this.range && (h.range = this.range.slice()), h;
    }
    toJS(h, { mapAsMap: o, maxAliasCount: n, onAnchor: u, reviver: l } = {}) {
      if (!r.isDocument(h)) throw new TypeError("A document argument is required");
      const f = {
        anchors: /* @__PURE__ */ new Map(),
        doc: h,
        keep: !0,
        mapAsMap: o === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof n == "number" ? n : 100
      }, a = i.toJS(this, "", f);
      if (typeof u == "function") for (const { count: c, res: d } of f.anchors.values()) u(d, c);
      return typeof l == "function" ? t.applyReviver(l, { "": a }, "", a) : a;
    }
  };
  e.NodeBase = s;
})), ds = /* @__PURE__ */ P(((e) => {
  var t = Tl(), r = fs(), i = Je(), s = Dl(), h = Or(), o = 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, l) {
      let f;
      l?.aliasResolveCache ? f = l.aliasResolveCache : (f = [], r.visit(u, { Node: (c, d) => {
        (i.isAlias(d) || i.hasAnchor(d)) && f.push(d);
      } }), l && (l.aliasResolveCache = f));
      let a;
      for (const c of f) {
        if (c === this) break;
        c.anchor === this.source && (a = c);
      }
      return a;
    }
    toJSON(u, l) {
      if (!l) return { source: this.source };
      const { anchors: f, doc: a, maxAliasCount: c } = l, d = this.resolve(a, l);
      if (!d) {
        const m = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
        throw new ReferenceError(m);
      }
      let p = f.get(d);
      if (p || (h.toJS(d, null, l), p = f.get(d)), p?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
      if (c >= 0 && (p.count += 1, p.aliasCount === 0 && (p.aliasCount = n(a, d, f)), p.count * p.aliasCount > c))
        throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
      return p.res;
    }
    toString(u, l, f) {
      const a = `*${this.source}`;
      if (u) {
        if (t.anchorIsValid(this.source), u.options.verifyAliasOrder && !u.anchors.has(this.source)) {
          const c = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
          throw new Error(c);
        }
        if (u.implicitKey) return `${a} `;
      }
      return a;
    }
  };
  function n(u, l, f) {
    if (i.isAlias(l)) {
      const a = l.resolve(u), c = f && a && f.get(a);
      return c ? c.count * c.aliasCount : 0;
    } else if (i.isCollection(l)) {
      let a = 0;
      for (const c of l.items) {
        const d = n(u, c, f);
        d > a && (a = d);
      }
      return a;
    } else if (i.isPair(l)) {
      const a = n(u, l.key, f), c = n(u, l.value, f);
      return Math.max(a, c);
    }
    return 1;
  }
  e.Alias = o;
})), _t = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = Dl(), i = Or(), s = (o) => !o || typeof o != "function" && typeof o != "object", h = class extends r.NodeBase {
    constructor(o) {
      super(t.SCALAR), this.value = o;
    }
    toJSON(o, n) {
      return n?.keep ? this.value : i.toJS(this.value, o, n);
    }
    toString() {
      return String(this.value);
    }
  };
  h.BLOCK_FOLDED = "BLOCK_FOLDED", h.BLOCK_LITERAL = "BLOCK_LITERAL", h.PLAIN = "PLAIN", h.QUOTE_DOUBLE = "QUOTE_DOUBLE", h.QUOTE_SINGLE = "QUOTE_SINGLE", e.Scalar = h, e.isScalarValue = s;
})), ps = /* @__PURE__ */ P(((e) => {
  var t = ds(), r = Je(), i = _t(), s = "tag:yaml.org,2002:";
  function h(n, u, l) {
    if (u) {
      const f = l.filter((c) => c.tag === u), a = f.find((c) => !c.format) ?? f[0];
      if (!a) throw new Error(`Tag ${u} not found`);
      return a;
    }
    return l.find((f) => f.identify?.(n) && !f.format);
  }
  function o(n, u, l) {
    if (r.isDocument(n) && (n = n.contents), r.isNode(n)) return n;
    if (r.isPair(n)) {
      const y = l.schema[r.MAP].createNode?.(l.schema, null, l);
      return y.items.push(n), y;
    }
    (n instanceof String || n instanceof Number || n instanceof Boolean || typeof BigInt < "u" && n instanceof BigInt) && (n = n.valueOf());
    const { aliasDuplicateObjects: f, onAnchor: a, onTagObj: c, schema: d, sourceObjects: p } = l;
    let m;
    if (f && n && typeof n == "object") {
      if (m = p.get(n), m)
        return m.anchor ?? (m.anchor = a(n)), new t.Alias(m.anchor);
      m = {
        anchor: null,
        node: null
      }, p.set(n, m);
    }
    u?.startsWith("!!") && (u = s + u.slice(2));
    let g = h(n, u, d.tags);
    if (!g) {
      if (n && typeof n.toJSON == "function" && (n = n.toJSON()), !n || typeof n != "object") {
        const y = new i.Scalar(n);
        return m && (m.node = y), y;
      }
      g = n instanceof Map ? d[r.MAP] : Symbol.iterator in Object(n) ? d[r.SEQ] : d[r.MAP];
    }
    c && (c(g), delete l.onTagObj);
    const v = g?.createNode ? g.createNode(l.schema, n, l) : typeof g?.nodeClass?.from == "function" ? g.nodeClass.from(l.schema, n, l) : new i.Scalar(n);
    return u ? v.tag = u : g.default || (v.tag = g.tag), m && (m.node = v), v;
  }
  e.createNode = o;
})), Rl = /* @__PURE__ */ P(((e) => {
  var t = ps(), r = Je(), i = Dl();
  function s(n, u, l) {
    let f = l;
    for (let a = u.length - 1; a >= 0; --a) {
      const c = u[a];
      if (typeof c == "number" && Number.isInteger(c) && c >= 0) {
        const d = [];
        d[c] = f, f = d;
      } else f = /* @__PURE__ */ new Map([[c, f]]);
    }
    return t.createNode(f, 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 h = (n) => n == null || typeof n == "object" && !!n[Symbol.iterator]().next().done, o = 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((l) => r.isNode(l) || r.isPair(l) ? l.clone(n) : l), this.range && (u.range = this.range.slice()), u;
    }
    addIn(n, u) {
      if (h(n)) this.add(u);
      else {
        const [l, ...f] = n, a = this.get(l, !0);
        if (r.isCollection(a)) a.addIn(f, u);
        else if (a === void 0 && this.schema) this.set(l, s(this.schema, f, u));
        else throw new Error(`Expected YAML collection at ${l}. Remaining path: ${f}`);
      }
    }
    deleteIn(n) {
      const [u, ...l] = n;
      if (l.length === 0) return this.delete(u);
      const f = this.get(u, !0);
      if (r.isCollection(f)) return f.deleteIn(l);
      throw new Error(`Expected YAML collection at ${u}. Remaining path: ${l}`);
    }
    getIn(n, u) {
      const [l, ...f] = n, a = this.get(l, !0);
      return f.length === 0 ? !u && r.isScalar(a) ? a.value : a : r.isCollection(a) ? a.getIn(f, u) : void 0;
    }
    hasAllNullValues(n) {
      return this.items.every((u) => {
        if (!r.isPair(u)) return !1;
        const l = u.value;
        return l == null || n && r.isScalar(l) && l.value == null && !l.commentBefore && !l.comment && !l.tag;
      });
    }
    hasIn(n) {
      const [u, ...l] = n;
      if (l.length === 0) return this.has(u);
      const f = this.get(u, !0);
      return r.isCollection(f) ? f.hasIn(l) : !1;
    }
    setIn(n, u) {
      const [l, ...f] = n;
      if (f.length === 0) this.set(l, u);
      else {
        const a = this.get(l, !0);
        if (r.isCollection(a)) a.setIn(f, u);
        else if (a === void 0 && this.schema) this.set(l, s(this.schema, f, u));
        else throw new Error(`Expected YAML collection at ${l}. Remaining path: ${f}`);
      }
    }
  };
  e.Collection = o, e.collectionFromPath = s, e.isEmptyPath = h;
})), gs = /* @__PURE__ */ P(((e) => {
  var t = (s) => s.replace(/^(?!$)(?: $)?/gm, "#");
  function r(s, h) {
    return /^\n+$/.test(s) ? s.substring(1) : h ? s.replace(/^(?! *$)/gm, h) : s;
  }
  var i = (s, h, o) => s.endsWith(`
`) ? r(o, h) : o.includes(`
`) ? `
` + r(o, h) : (s.endsWith(" ") ? "" : " ") + o;
  e.indentComment = r, e.lineComment = i, e.stringifyComment = t;
})), $E = /* @__PURE__ */ P(((e) => {
  var t = "flow", r = "block", i = "quoted";
  function s(o, n, u = "flow", { indentAtStart: l, lineWidth: f = 80, minContentWidth: a = 20, onFold: c, onOverflow: d } = {}) {
    if (!f || f < 0) return o;
    f < a && (a = 0);
    const p = Math.max(1 + a, 1 + f - n.length);
    if (o.length <= p) return o;
    const m = [], g = {};
    let v = f - n.length;
    typeof l == "number" && (l > f - Math.max(2, a) ? m.push(0) : v = f - l);
    let y, E, b = !1, w = -1, _ = -1, S = -1;
    u === r && (w = h(o, w, n.length), w !== -1 && (v = w + p));
    for (let D; D = o[w += 1]; ) {
      if (u === i && D === "\\") {
        switch (_ = w, o[w + 1]) {
          case "x":
            w += 3;
            break;
          case "u":
            w += 5;
            break;
          case "U":
            w += 9;
            break;
          default:
            w += 1;
        }
        S = w;
      }
      if (D === `
`)
        u === r && (w = h(o, w, n.length)), v = w + n.length + p, y = void 0;
      else {
        if (D === " " && E && E !== " " && E !== `
` && E !== "	") {
          const R = o[w + 1];
          R && R !== " " && R !== `
` && R !== "	" && (y = w);
        }
        if (w >= v) if (y)
          m.push(y), v = y + p, y = void 0;
        else if (u === i) {
          for (; E === " " || E === "	"; )
            E = D, D = o[w += 1], b = !0;
          const R = w > S + 1 ? w - 2 : _ - 1;
          if (g[R]) return o;
          m.push(R), g[R] = !0, v = R + p, y = void 0;
        } else b = !0;
      }
      E = D;
    }
    if (b && d && d(), m.length === 0) return o;
    c && c();
    let T = o.slice(0, m[0]);
    for (let D = 0; D < m.length; ++D) {
      const R = m[D], j = m[D + 1] || o.length;
      R === 0 ? T = `
${n}${o.slice(0, j)}` : (u === i && g[R] && (T += `${o[R]}\\`), T += `
${n}${o.slice(R + 1, j)}`);
    }
    return T;
  }
  function h(o, n, u) {
    let l = n, f = n + 1, a = o[f];
    for (; a === " " || a === "	"; ) if (n < f + u) a = o[++n];
    else {
      do
        a = o[++n];
      while (a && a !== `
`);
      l = n, f = n + 1, a = o[f];
    }
    return l;
  }
  e.FOLD_BLOCK = r, e.FOLD_FLOW = t, e.FOLD_QUOTED = i, e.foldFlowLines = s;
})), ms = /* @__PURE__ */ P(((e) => {
  var t = _t(), r = $E(), i = (d, p) => ({
    indentAtStart: p ? d.indent.length : d.indentAtStart,
    lineWidth: d.options.lineWidth,
    minContentWidth: d.options.minContentWidth
  }), s = (d) => /^(%|---|\.\.\.)/m.test(d);
  function h(d, p, m) {
    if (!p || p < 0) return !1;
    const g = p - m, v = d.length;
    if (v <= g) return !1;
    for (let y = 0, E = 0; y < v; ++y) if (d[y] === `
`) {
      if (y - E > g) return !0;
      if (E = y + 1, v - E <= g) return !1;
    }
    return !0;
  }
  function o(d, p) {
    const m = JSON.stringify(d);
    if (p.options.doubleQuotedAsJSON) return m;
    const { implicitKey: g } = p, v = p.options.doubleQuotedMinMultiLineLength, y = p.indent || (s(d) ? "  " : "");
    let E = "", b = 0;
    for (let w = 0, _ = m[w]; _; _ = m[++w])
      if (_ === " " && m[w + 1] === "\\" && m[w + 2] === "n" && (E += m.slice(b, w) + "\\ ", w += 1, b = w, _ = "\\"), _ === "\\") switch (m[w + 1]) {
        case "u":
          {
            E += m.slice(b, w);
            const S = m.substr(w + 2, 4);
            switch (S) {
              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:
                S.substr(0, 2) === "00" ? E += "\\x" + S.substr(2) : E += m.substr(w, 6);
            }
            w += 5, b = w + 1;
          }
          break;
        case "n":
          if (g || m[w + 2] === '"' || m.length < v) w += 1;
          else {
            for (E += m.slice(b, w) + `

`; m[w + 2] === "\\" && m[w + 3] === "n" && m[w + 4] !== '"'; )
              E += `
`, w += 2;
            E += y, m[w + 2] === " " && (E += "\\"), w += 1, b = w + 1;
          }
          break;
        default:
          w += 1;
      }
    return E = b ? E + m.slice(b) : m, g ? E : r.foldFlowLines(E, y, r.FOLD_QUOTED, i(p, !1));
  }
  function n(d, p) {
    if (p.options.singleQuote === !1 || p.implicitKey && d.includes(`
`) || /[ \t]\n|\n[ \t]/.test(d)) return o(d, p);
    const m = p.indent || (s(d) ? "  " : ""), g = "'" + d.replace(/'/g, "''").replace(/\n+/g, `$&
${m}`) + "'";
    return p.implicitKey ? g : r.foldFlowLines(g, m, r.FOLD_FLOW, i(p, !1));
  }
  function u(d, p) {
    const { singleQuote: m } = p.options;
    let g;
    if (m === !1) g = o;
    else {
      const v = d.includes('"'), y = d.includes("'");
      v && !y ? g = n : y && !v ? g = o : g = m ? n : o;
    }
    return g(d, p);
  }
  var l;
  try {
    l = /* @__PURE__ */ new RegExp(`(^|(?<!
))
+(?!
|$)`, "g");
  } catch {
    l = /\n+(?!\n|$)/g;
  }
  function f({ comment: d, type: p, value: m }, g, v, y) {
    const { blockQuote: E, commentString: b, lineWidth: w } = g.options;
    if (!E || /\n[\t ]+$/.test(m)) return u(m, g);
    const _ = g.indent || (g.forceBlockIndent || s(m) ? "  " : ""), S = E === "literal" ? !0 : E === "folded" || p === t.Scalar.BLOCK_FOLDED ? !1 : p === t.Scalar.BLOCK_LITERAL ? !0 : !h(m, w, _.length);
    if (!m) return S ? `|
` : `>
`;
    let T, D;
    for (D = m.length; D > 0; --D) {
      const $ = m[D - 1];
      if ($ !== `
` && $ !== "	" && $ !== " ") break;
    }
    let R = m.substring(D);
    const j = R.indexOf(`
`);
    j === -1 ? T = "-" : m === R || j !== R.length - 1 ? (T = "+", y && y()) : T = "", R && (m = m.slice(0, -R.length), R[R.length - 1] === `
` && (R = R.slice(0, -1)), R = R.replace(l, `$&${_}`));
    let M = !1, G, Y = -1;
    for (G = 0; G < m.length; ++G) {
      const $ = m[G];
      if ($ === " ") M = !0;
      else if ($ === `
`) Y = G;
      else break;
    }
    let H = m.substring(0, Y < G ? Y + 1 : G);
    H && (m = m.substring(H.length), H = H.replace(/\n+/g, `$&${_}`));
    let I = (M ? _ ? "2" : "1" : "") + T;
    if (d && (I += " " + b(d.replace(/ ?[\r\n]+/g, " ")), v && v()), !S) {
      const $ = m.replace(/\n+/g, `
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${_}`);
      let q = !1;
      const z = i(g, !0);
      E !== "folded" && p !== t.Scalar.BLOCK_FOLDED && (z.onOverflow = () => {
        q = !0;
      });
      const F = r.foldFlowLines(`${H}${$}${R}`, _, r.FOLD_BLOCK, z);
      if (!q) return `>${I}
${_}${F}`;
    }
    return m = m.replace(/\n+/g, `$&${_}`), `|${I}
${_}${H}${m}${R}`;
  }
  function a(d, p, m, g) {
    const { type: v, value: y } = d, { actualString: E, implicitKey: b, indent: w, indentStep: _, inFlow: S } = p;
    if (b && y.includes(`
`) || S && /[[\]{},]/.test(y)) return u(y, p);
    if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(y)) return b || S || !y.includes(`
`) ? u(y, p) : f(d, p, m, g);
    if (!b && !S && v !== t.Scalar.PLAIN && y.includes(`
`)) return f(d, p, m, g);
    if (s(y)) {
      if (w === "")
        return p.forceBlockIndent = !0, f(d, p, m, g);
      if (b && w === _) return u(y, p);
    }
    const T = y.replace(/\n+/g, `$&
${w}`);
    if (E) {
      const D = (M) => M.default && M.tag !== "tag:yaml.org,2002:str" && M.test?.test(T), { compat: R, tags: j } = p.doc.schema;
      if (j.some(D) || R?.some(D)) return u(y, p);
    }
    return b ? T : r.foldFlowLines(T, w, r.FOLD_FLOW, i(p, !1));
  }
  function c(d, p, m, g) {
    const { implicitKey: v, inFlow: y } = p, E = typeof d.value == "string" ? d : Object.assign({}, d, { value: String(d.value) });
    let { type: b } = d;
    b !== t.Scalar.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(E.value) && (b = t.Scalar.QUOTE_DOUBLE);
    const w = (S) => {
      switch (S) {
        case t.Scalar.BLOCK_FOLDED:
        case t.Scalar.BLOCK_LITERAL:
          return v || y ? u(E.value, p) : f(E, p, m, g);
        case t.Scalar.QUOTE_DOUBLE:
          return o(E.value, p);
        case t.Scalar.QUOTE_SINGLE:
          return n(E.value, p);
        case t.Scalar.PLAIN:
          return a(E, p, m, g);
        default:
          return null;
      }
    };
    let _ = w(b);
    if (_ === null) {
      const { defaultKeyType: S, defaultStringType: T } = p.options, D = v && S || T;
      if (_ = w(D), _ === null) throw new Error(`Unsupported default string type ${D}`);
    }
    return _;
  }
  e.stringifyString = c;
})), vs = /* @__PURE__ */ P(((e) => {
  var t = Tl(), r = Je(), i = gs(), s = ms();
  function h(l, f) {
    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
    }, l.schema.toStringOptions, f);
    let c;
    switch (a.collectionStyle) {
      case "block":
        c = !1;
        break;
      case "flow":
        c = !0;
        break;
      default:
        c = null;
    }
    return {
      anchors: /* @__PURE__ */ new Set(),
      doc: l,
      flowCollectionPadding: a.flowCollectionPadding ? " " : "",
      indent: "",
      indentStep: typeof a.indent == "number" ? " ".repeat(a.indent) : "  ",
      inFlow: c,
      options: a
    };
  }
  function o(l, f) {
    if (f.tag) {
      const d = l.filter((p) => p.tag === f.tag);
      if (d.length > 0) return d.find((p) => p.format === f.format) ?? d[0];
    }
    let a, c;
    if (r.isScalar(f)) {
      c = f.value;
      let d = l.filter((p) => p.identify?.(c));
      if (d.length > 1) {
        const p = d.filter((m) => m.test);
        p.length > 0 && (d = p);
      }
      a = d.find((p) => p.format === f.format) ?? d.find((p) => !p.format);
    } else
      c = f, a = l.find((d) => d.nodeClass && c instanceof d.nodeClass);
    if (!a) {
      const d = c?.constructor?.name ?? (c === null ? "null" : typeof c);
      throw new Error(`Tag not resolved for ${d} value`);
    }
    return a;
  }
  function n(l, f, { anchors: a, doc: c }) {
    if (!c.directives) return "";
    const d = [], p = (r.isScalar(l) || r.isCollection(l)) && l.anchor;
    p && t.anchorIsValid(p) && (a.add(p), d.push(`&${p}`));
    const m = l.tag ?? (f.default ? null : f.tag);
    return m && d.push(c.directives.tagString(m)), d.join(" ");
  }
  function u(l, f, a, c) {
    if (r.isPair(l)) return l.toString(f, a, c);
    if (r.isAlias(l)) {
      if (f.doc.directives) return l.toString(f);
      if (f.resolvedAliases?.has(l)) throw new TypeError("Cannot stringify circular structure without alias nodes");
      f.resolvedAliases ? f.resolvedAliases.add(l) : f.resolvedAliases = /* @__PURE__ */ new Set([l]), l = l.resolve(f.doc);
    }
    let d;
    const p = r.isNode(l) ? l : f.doc.createNode(l, { onTagObj: (v) => d = v });
    d ?? (d = o(f.doc.schema.tags, p));
    const m = n(p, d, f);
    m.length > 0 && (f.indentAtStart = (f.indentAtStart ?? 0) + m.length + 1);
    const g = typeof d.stringify == "function" ? d.stringify(p, f, a, c) : r.isScalar(p) ? s.stringifyString(p, f, a, c) : p.toString(f, a, c);
    return m ? r.isScalar(p) || g[0] === "{" || g[0] === "[" ? `${m} ${g}` : `${m}
${f.indent}${g}` : g;
  }
  e.createStringifyContext = h, e.stringify = u;
})), NE = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = _t(), i = vs(), s = gs();
  function h({ key: o, value: n }, u, l, f) {
    const { allNullValues: a, doc: c, indent: d, indentStep: p, options: { commentString: m, indentSeq: g, simpleKeys: v } } = u;
    let y = t.isNode(o) && o.comment || null;
    if (v) {
      if (y) throw new Error("With simple keys, key nodes cannot have comments");
      if (t.isCollection(o) || !t.isNode(o) && typeof o == "object") throw new Error("With simple keys, collection cannot be used as a key value");
    }
    let E = !v && (!o || y && n == null && !u.inFlow || t.isCollection(o) || (t.isScalar(o) ? o.type === r.Scalar.BLOCK_FOLDED || o.type === r.Scalar.BLOCK_LITERAL : typeof o == "object"));
    u = Object.assign({}, u, {
      allNullValues: !1,
      implicitKey: !E && (v || !a),
      indent: d + p
    });
    let b = !1, w = !1, _ = i.stringify(o, u, () => b = !0, () => w = !0);
    if (!E && !u.inFlow && _.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 b && l && l(), _ === "" ? "?" : E ? `? ${_}` : _;
    } else if (a && !v || n == null && E)
      return _ = `? ${_}`, y && !b ? _ += s.lineComment(_, u.indent, m(y)) : w && f && f(), _;
    b && (y = null), E ? (y && (_ += s.lineComment(_, u.indent, m(y))), _ = `? ${_}
${d}:`) : (_ = `${_}:`, y && (_ += s.lineComment(_, u.indent, m(y))));
    let S, T, D;
    t.isNode(n) ? (S = !!n.spaceBefore, T = n.commentBefore, D = n.comment) : (S = !1, T = null, D = null, n && typeof n == "object" && (n = c.createNode(n))), u.implicitKey = !1, !E && !y && t.isScalar(n) && (u.indentAtStart = _.length + 1), w = !1, !g && p.length >= 2 && !u.inFlow && !E && t.isSeq(n) && !n.flow && !n.tag && !n.anchor && (u.indent = u.indent.substring(2));
    let R = !1;
    const j = i.stringify(n, u, () => R = !0, () => w = !0);
    let M = " ";
    if (y || S || T) {
      if (M = S ? `
` : "", T) {
        const G = m(T);
        M += `
${s.indentComment(G, u.indent)}`;
      }
      j === "" && !u.inFlow ? M === `
` && D && (M = `

`) : M += `
${u.indent}`;
    } else if (!E && t.isCollection(n)) {
      const G = j[0], Y = j.indexOf(`
`), H = Y !== -1, I = u.inFlow ?? n.flow ?? n.items.length === 0;
      if (H || !I) {
        let $ = !1;
        if (H && (G === "&" || G === "!")) {
          let q = j.indexOf(" ");
          G === "&" && q !== -1 && q < Y && j[q + 1] === "!" && (q = j.indexOf(" ", q + 1)), (q === -1 || Y < q) && ($ = !0);
        }
        $ || (M = `
${u.indent}`);
      }
    } else (j === "" || j[0] === `
`) && (M = "");
    return _ += M + j, u.inFlow ? R && l && l() : D && !R ? _ += s.lineComment(_, u.indent, m(D)) : w && f && f(), _;
  }
  e.stringifyPair = h;
})), yd = /* @__PURE__ */ P(((e) => {
  var t = ge("process");
  function r(s, ...h) {
    s === "debug" && console.log(...h);
  }
  function i(s, h) {
    (s === "debug" || s === "warn") && (typeof t.emitWarning == "function" ? t.emitWarning(h) : console.warn(h));
  }
  e.debug = r, e.warn = i;
})), Ol = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = _t(), i = "<<", s = {
    identify: (u) => u === i || typeof u == "symbol" && u.description === i,
    default: "key",
    tag: "tag:yaml.org,2002:merge",
    test: /^<<$/,
    resolve: () => Object.assign(new r.Scalar(Symbol(i)), { addToJSMap: o }),
    stringify: () => i
  }, h = (u, l) => (s.identify(l) || t.isScalar(l) && (!l.type || l.type === r.Scalar.PLAIN) && s.identify(l.value)) && u?.doc.schema.tags.some((f) => f.tag === s.tag && f.default);
  function o(u, l, f) {
    if (f = u && t.isAlias(f) ? f.resolve(u.doc) : f, t.isSeq(f)) for (const a of f.items) n(u, l, a);
    else if (Array.isArray(f)) for (const a of f) n(u, l, a);
    else n(u, l, f);
  }
  function n(u, l, f) {
    const a = u && t.isAlias(f) ? f.resolve(u.doc) : f;
    if (!t.isMap(a)) throw new Error("Merge sources must be maps or map aliases");
    const c = a.toJSON(null, u, Map);
    for (const [d, p] of c) l instanceof Map ? l.has(d) || l.set(d, p) : l instanceof Set ? l.add(d) : Object.prototype.hasOwnProperty.call(l, d) || Object.defineProperty(l, d, {
      value: p,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
    return l;
  }
  e.addMergeToJSMap = o, e.isMergeKey = h, e.merge = s;
})), _d = /* @__PURE__ */ P(((e) => {
  var t = yd(), r = Ol(), i = vs(), s = Je(), h = Or();
  function o(u, l, { key: f, value: a }) {
    if (s.isNode(f) && f.addToJSMap) f.addToJSMap(u, l, a);
    else if (r.isMergeKey(u, f)) r.addMergeToJSMap(u, l, a);
    else {
      const c = h.toJS(f, "", u);
      if (l instanceof Map) l.set(c, h.toJS(a, c, u));
      else if (l instanceof Set) l.add(c);
      else {
        const d = n(f, c, u), p = h.toJS(a, d, u);
        d in l ? Object.defineProperty(l, d, {
          value: p,
          writable: !0,
          enumerable: !0,
          configurable: !0
        }) : l[d] = p;
      }
    }
    return l;
  }
  function n(u, l, f) {
    if (l === null) return "";
    if (typeof l != "object") return String(l);
    if (s.isNode(u) && f?.doc) {
      const a = i.createStringifyContext(f.doc, {});
      a.anchors = /* @__PURE__ */ new Set();
      for (const d of f.anchors.keys()) a.anchors.add(d.anchor);
      a.inFlow = !0, a.inStringifyKey = !0;
      const c = u.toString(a);
      if (!f.mapKeyWarned) {
        let d = JSON.stringify(c);
        d.length > 40 && (d = d.substring(0, 36) + '..."'), t.warn(f.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${d}. Set mapAsMap: true to use object keys.`), f.mapKeyWarned = !0;
      }
      return c;
    }
    return JSON.stringify(l);
  }
  e.addPairToJSMap = o;
})), Cr = /* @__PURE__ */ P(((e) => {
  var t = ps(), r = NE(), i = _d(), s = Je();
  function h(n, u, l) {
    return new o(t.createNode(n, void 0, l), t.createNode(u, void 0, l));
  }
  var o = class bd {
    constructor(u, l = null) {
      Object.defineProperty(this, s.NODE_TYPE, { value: s.PAIR }), this.key = u, this.value = l;
    }
    clone(u) {
      let { key: l, value: f } = this;
      return s.isNode(l) && (l = l.clone(u)), s.isNode(f) && (f = f.clone(u)), new bd(l, f);
    }
    toJSON(u, l) {
      const f = l?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      return i.addPairToJSMap(l, f, this);
    }
    toString(u, l, f) {
      return u?.doc ? r.stringifyPair(this, u, l, f) : JSON.stringify(this);
    }
  };
  e.Pair = o, e.createPair = h;
})), wd = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = vs(), i = gs();
  function s(u, l, f) {
    return (l.inFlow ?? u.flow ? o : h)(u, l, f);
  }
  function h({ comment: u, items: l }, f, { blockItemPrefix: a, flowChars: c, itemIndent: d, onChompKeep: p, onComment: m }) {
    const { indent: g, options: { commentString: v } } = f, y = Object.assign({}, f, {
      indent: d,
      type: null
    });
    let E = !1;
    const b = [];
    for (let _ = 0; _ < l.length; ++_) {
      const S = l[_];
      let T = null;
      if (t.isNode(S))
        !E && S.spaceBefore && b.push(""), n(f, b, S.commentBefore, E), S.comment && (T = S.comment);
      else if (t.isPair(S)) {
        const R = t.isNode(S.key) ? S.key : null;
        R && (!E && R.spaceBefore && b.push(""), n(f, b, R.commentBefore, E));
      }
      E = !1;
      let D = r.stringify(S, y, () => T = null, () => E = !0);
      T && (D += i.lineComment(D, d, v(T))), E && T && (E = !1), b.push(a + D);
    }
    let w;
    if (b.length === 0) w = c.start + c.end;
    else {
      w = b[0];
      for (let _ = 1; _ < b.length; ++_) {
        const S = b[_];
        w += S ? `
${g}${S}` : `
`;
      }
    }
    return u ? (w += `
` + i.indentComment(v(u), g), m && m()) : E && p && p(), w;
  }
  function o({ items: u }, l, { flowChars: f, itemIndent: a }) {
    const { indent: c, indentStep: d, flowCollectionPadding: p, options: { commentString: m } } = l;
    a += d;
    const g = Object.assign({}, l, {
      indent: a,
      inFlow: !0,
      type: null
    });
    let v = !1, y = 0;
    const E = [];
    for (let _ = 0; _ < u.length; ++_) {
      const S = u[_];
      let T = null;
      if (t.isNode(S))
        S.spaceBefore && E.push(""), n(l, E, S.commentBefore, !1), S.comment && (T = S.comment);
      else if (t.isPair(S)) {
        const R = t.isNode(S.key) ? S.key : null;
        R && (R.spaceBefore && E.push(""), n(l, E, R.commentBefore, !1), R.comment && (v = !0));
        const j = t.isNode(S.value) ? S.value : null;
        j ? (j.comment && (T = j.comment), j.commentBefore && (v = !0)) : S.value == null && R?.comment && (T = R.comment);
      }
      T && (v = !0);
      let D = r.stringify(S, g, () => T = null);
      v || (v = E.length > y || D.includes(`
`)), _ < u.length - 1 ? D += "," : l.options.trailingComma && (l.options.lineWidth > 0 && (v || (v = E.reduce((R, j) => R + j.length + 2, 2) + (D.length + 2) > l.options.lineWidth)), v && (D += ",")), T && (D += i.lineComment(D, a, m(T))), E.push(D), y = E.length;
    }
    const { start: b, end: w } = f;
    if (E.length === 0) return b + w;
    if (!v) {
      const _ = E.reduce((S, T) => S + T.length + 2, 2);
      v = l.options.lineWidth > 0 && _ > l.options.lineWidth;
    }
    if (v) {
      let _ = b;
      for (const S of E) _ += S ? `
${d}${c}${S}` : `
`;
      return `${_}
${c}${w}`;
    } else return `${b}${p}${E.join(" ")}${p}${w}`;
  }
  function n({ indent: u, options: { commentString: l } }, f, a, c) {
    if (a && c && (a = a.replace(/^\n+/, "")), a) {
      const d = i.indentComment(l(a), u);
      f.push(d.trimStart());
    }
  }
  e.stringifyCollection = s;
})), Ir = /* @__PURE__ */ P(((e) => {
  var t = wd(), r = _d(), i = Rl(), s = Je(), h = Cr(), o = _t();
  function n(l, f) {
    const a = s.isScalar(f) ? f.value : f;
    for (const c of l) if (s.isPair(c) && (c.key === f || c.key === a || s.isScalar(c.key) && c.key.value === a))
      return c;
  }
  var u = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:map";
    }
    constructor(l) {
      super(s.MAP, l), this.items = [];
    }
    static from(l, f, a) {
      const { keepUndefined: c, replacer: d } = a, p = new this(l), m = (g, v) => {
        if (typeof d == "function") v = d.call(f, g, v);
        else if (Array.isArray(d) && !d.includes(g)) return;
        (v !== void 0 || c) && p.items.push(h.createPair(g, v, a));
      };
      if (f instanceof Map) for (const [g, v] of f) m(g, v);
      else if (f && typeof f == "object") for (const g of Object.keys(f)) m(g, f[g]);
      return typeof l.sortMapEntries == "function" && p.items.sort(l.sortMapEntries), p;
    }
    add(l, f) {
      let a;
      s.isPair(l) ? a = l : !l || typeof l != "object" || !("key" in l) ? a = new h.Pair(l, l?.value) : a = new h.Pair(l.key, l.value);
      const c = n(this.items, a.key), d = this.schema?.sortMapEntries;
      if (c) {
        if (!f) throw new Error(`Key ${a.key} already set`);
        s.isScalar(c.value) && o.isScalarValue(a.value) ? c.value.value = a.value : c.value = a.value;
      } else if (d) {
        const p = this.items.findIndex((m) => d(a, m) < 0);
        p === -1 ? this.items.push(a) : this.items.splice(p, 0, a);
      } else this.items.push(a);
    }
    delete(l) {
      const f = n(this.items, l);
      return f ? this.items.splice(this.items.indexOf(f), 1).length > 0 : !1;
    }
    get(l, f) {
      const a = n(this.items, l)?.value;
      return (!f && s.isScalar(a) ? a.value : a) ?? void 0;
    }
    has(l) {
      return !!n(this.items, l);
    }
    set(l, f) {
      this.add(new h.Pair(l, f), !0);
    }
    toJSON(l, f, a) {
      const c = a ? new a() : f?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      f?.onCreate && f.onCreate(c);
      for (const d of this.items) r.addPairToJSMap(f, c, d);
      return c;
    }
    toString(l, f, a) {
      if (!l) return JSON.stringify(this);
      for (const c of this.items) if (!s.isPair(c)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(c)} instead`);
      return !l.allNullValues && this.hasAllNullValues(!1) && (l = Object.assign({}, l, { allNullValues: !0 })), t.stringifyCollection(this, l, {
        blockItemPrefix: "",
        flowChars: {
          start: "{",
          end: "}"
        },
        itemIndent: l.indent || "",
        onChompKeep: a,
        onComment: f
      });
    }
  };
  e.YAMLMap = u, e.findPair = n;
})), en = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = Ir(), i = {
    collection: "map",
    default: !0,
    nodeClass: r.YAMLMap,
    tag: "tag:yaml.org,2002:map",
    resolve(s, h) {
      return t.isMap(s) || h("Expected a mapping for this tag"), s;
    },
    createNode: (s, h, o) => r.YAMLMap.from(s, h, o)
  };
  e.map = i;
})), kr = /* @__PURE__ */ P(((e) => {
  var t = ps(), r = wd(), i = Rl(), s = Je(), h = _t(), o = Or(), n = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:seq";
    }
    constructor(l) {
      super(s.SEQ, l), this.items = [];
    }
    add(l) {
      this.items.push(l);
    }
    delete(l) {
      const f = u(l);
      return typeof f != "number" ? !1 : this.items.splice(f, 1).length > 0;
    }
    get(l, f) {
      const a = u(l);
      if (typeof a != "number") return;
      const c = this.items[a];
      return !f && s.isScalar(c) ? c.value : c;
    }
    has(l) {
      const f = u(l);
      return typeof f == "number" && f < this.items.length;
    }
    set(l, f) {
      const a = u(l);
      if (typeof a != "number") throw new Error(`Expected a valid index, not ${l}.`);
      const c = this.items[a];
      s.isScalar(c) && h.isScalarValue(f) ? c.value = f : this.items[a] = f;
    }
    toJSON(l, f) {
      const a = [];
      f?.onCreate && f.onCreate(a);
      let c = 0;
      for (const d of this.items) a.push(o.toJS(d, String(c++), f));
      return a;
    }
    toString(l, f, a) {
      return l ? r.stringifyCollection(this, l, {
        blockItemPrefix: "- ",
        flowChars: {
          start: "[",
          end: "]"
        },
        itemIndent: (l.indent || "") + "  ",
        onChompKeep: a,
        onComment: f
      }) : JSON.stringify(this);
    }
    static from(l, f, a) {
      const { replacer: c } = a, d = new this(l);
      if (f && Symbol.iterator in Object(f)) {
        let p = 0;
        for (let m of f) {
          if (typeof c == "function") {
            const g = f instanceof Set ? m : String(p++);
            m = c.call(f, g, m);
          }
          d.items.push(t.createNode(m, void 0, a));
        }
      }
      return d;
    }
  };
  function u(l) {
    let f = s.isScalar(l) ? l.value : l;
    return f && typeof f == "string" && (f = Number(f)), typeof f == "number" && Number.isInteger(f) && f >= 0 ? f : null;
  }
  e.YAMLSeq = n;
})), tn = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = kr(), i = {
    collection: "seq",
    default: !0,
    nodeClass: r.YAMLSeq,
    tag: "tag:yaml.org,2002:seq",
    resolve(s, h) {
      return t.isSeq(s) || h("Expected a sequence for this tag"), s;
    },
    createNode: (s, h, o) => r.YAMLSeq.from(s, h, o)
  };
  e.seq = i;
})), ys = /* @__PURE__ */ P(((e) => {
  var t = ms(), r = {
    identify: (i) => typeof i == "string",
    default: !0,
    tag: "tag:yaml.org,2002:str",
    resolve: (i) => i,
    stringify(i, s, h, o) {
      return s = Object.assign({ actualString: !0 }, s), t.stringifyString(i, s, h, o);
    }
  };
  e.string = r;
})), Cl = /* @__PURE__ */ P(((e) => {
  var t = _t(), 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;
})), Ed = /* @__PURE__ */ P(((e) => {
  var t = _t(), 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 }, h) {
      return i && r.test.test(i) && s === (i[0] === "t" || i[0] === "T") ? i : s ? h.options.trueStr : h.options.falseStr;
    }
  };
  e.boolTag = r;
})), rn = /* @__PURE__ */ P(((e) => {
  function t({ format: r, minFractionDigits: i, tag: s, value: h }) {
    if (typeof h == "bigint") return String(h);
    const o = typeof h == "number" ? h : Number(h);
    if (!isFinite(o)) return isNaN(o) ? ".nan" : o < 0 ? "-.inf" : ".inf";
    let n = Object.is(h, -0) ? "-0" : JSON.stringify(h);
    if (!r && i && (!s || s === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
      let u = n.indexOf(".");
      u < 0 && (u = n.length, n += ".");
      let l = i - (n.length - u - 1);
      for (; l-- > 0; ) n += "0";
    }
    return n;
  }
  e.stringifyNumber = t;
})), Sd = /* @__PURE__ */ P(((e) => {
  var t = _t(), r = rn(), i = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (o) => o.slice(-3).toLowerCase() === "nan" ? NaN : o[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,
    resolve: (o) => parseFloat(o),
    stringify(o) {
      const n = Number(o.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(o);
    }
  }, h = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,
    resolve(o) {
      const n = new t.Scalar(parseFloat(o)), u = o.indexOf(".");
      return u !== -1 && o[o.length - 1] === "0" && (n.minFractionDigits = o.length - u - 1), n;
    },
    stringify: r.stringifyNumber
  };
  e.float = h, e.floatExp = s, e.floatNaN = i;
})), Ad = /* @__PURE__ */ P(((e) => {
  var t = rn(), r = (u) => typeof u == "bigint" || Number.isInteger(u), i = (u, l, f, { intAsBigInt: a }) => a ? BigInt(u) : parseInt(u.substring(l), f);
  function s(u, l, f) {
    const { value: a } = u;
    return r(a) && a >= 0 ? f + a.toString(l) : t.stringifyNumber(u);
  }
  var h = {
    identify: (u) => r(u) && u >= 0,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^0o[0-7]+$/,
    resolve: (u, l, f) => i(u, 2, 8, f),
    stringify: (u) => s(u, 8, "0o")
  }, o = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9]+$/,
    resolve: (u, l, f) => i(u, 0, 10, f),
    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, l, f) => i(u, 2, 16, f),
    stringify: (u) => s(u, 16, "0x")
  };
  e.int = o, e.intHex = n, e.intOct = h;
})), xE = /* @__PURE__ */ P(((e) => {
  var t = en(), r = Cl(), i = tn(), s = ys(), h = Ed(), o = Sd(), n = Ad(), u = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    h.boolTag,
    n.intOct,
    n.int,
    n.intHex,
    o.floatNaN,
    o.floatExp,
    o.float
  ];
  e.schema = u;
})), PE = /* @__PURE__ */ P(((e) => {
  var t = _t(), r = en(), i = tn();
  function s(u) {
    return typeof u == "bigint" || Number.isInteger(u);
  }
  var h = ({ value: u }) => JSON.stringify(u), o = [
    {
      identify: (u) => typeof u == "string",
      default: !0,
      tag: "tag:yaml.org,2002:str",
      resolve: (u) => u,
      stringify: h
    },
    {
      identify: (u) => u == null,
      createNode: () => new t.Scalar(null),
      default: !0,
      tag: "tag:yaml.org,2002:null",
      test: /^null$/,
      resolve: () => null,
      stringify: h
    },
    {
      identify: (u) => typeof u == "boolean",
      default: !0,
      tag: "tag:yaml.org,2002:bool",
      test: /^true$|^false$/,
      resolve: (u) => u === "true",
      stringify: h
    },
    {
      identify: s,
      default: !0,
      tag: "tag:yaml.org,2002:int",
      test: /^-?(?:0|[1-9][0-9]*)$/,
      resolve: (u, l, { intAsBigInt: f }) => f ? 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: h
    }
  ], n = [r.map, i.seq].concat(o, {
    default: !0,
    tag: "",
    test: /^/,
    resolve(u, l) {
      return l(`Unresolved plain scalar ${JSON.stringify(u)}`), u;
    }
  });
  e.schema = n;
})), Td = /* @__PURE__ */ P(((e) => {
  var t = ge("buffer"), r = _t(), i = ms(), s = {
    identify: (h) => h instanceof Uint8Array,
    default: !1,
    tag: "tag:yaml.org,2002:binary",
    resolve(h, o) {
      if (typeof t.Buffer == "function") return t.Buffer.from(h, "base64");
      if (typeof atob == "function") {
        const n = atob(h.replace(/[\n\r]/g, "")), u = new Uint8Array(n.length);
        for (let l = 0; l < n.length; ++l) u[l] = n.charCodeAt(l);
        return u;
      } else
        return o("This environment does not support reading binary tags; either Buffer or atob is required"), h;
    },
    stringify({ comment: h, type: o, value: n }, u, l, f) {
      if (!n) return "";
      const a = n;
      let c;
      if (typeof t.Buffer == "function") c = a instanceof t.Buffer ? a.toString("base64") : t.Buffer.from(a.buffer).toString("base64");
      else if (typeof btoa == "function") {
        let d = "";
        for (let p = 0; p < a.length; ++p) d += String.fromCharCode(a[p]);
        c = btoa(d);
      } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
      if (o ?? (o = r.Scalar.BLOCK_LITERAL), o !== r.Scalar.QUOTE_DOUBLE) {
        const d = Math.max(u.options.lineWidth - u.indent.length, u.options.minContentWidth), p = Math.ceil(c.length / d), m = new Array(p);
        for (let g = 0, v = 0; g < p; ++g, v += d) m[g] = c.substr(v, d);
        c = m.join(o === r.Scalar.BLOCK_LITERAL ? `
` : " ");
      }
      return i.stringifyString({
        comment: h,
        type: o,
        value: c
      }, u, l, f);
    }
  };
  e.binary = s;
})), Il = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = Cr(), i = _t(), s = kr();
  function h(u, l) {
    if (t.isSeq(u)) for (let f = 0; f < u.items.length; ++f) {
      let a = u.items[f];
      if (!t.isPair(a)) {
        if (t.isMap(a)) {
          a.items.length > 1 && l("Each pair must have its own sequence indicator");
          const c = a.items[0] || new r.Pair(new i.Scalar(null));
          if (a.commentBefore && (c.key.commentBefore = c.key.commentBefore ? `${a.commentBefore}
${c.key.commentBefore}` : a.commentBefore), a.comment) {
            const d = c.value ?? c.key;
            d.comment = d.comment ? `${a.comment}
${d.comment}` : a.comment;
          }
          a = c;
        }
        u.items[f] = t.isPair(a) ? a : new r.Pair(a);
      }
    }
    else l("Expected a sequence for this tag");
    return u;
  }
  function o(u, l, f) {
    const { replacer: a } = f, c = new s.YAMLSeq(u);
    c.tag = "tag:yaml.org,2002:pairs";
    let d = 0;
    if (l && Symbol.iterator in Object(l)) for (let p of l) {
      typeof a == "function" && (p = a.call(l, String(d++), p));
      let m, g;
      if (Array.isArray(p)) if (p.length === 2)
        m = p[0], g = 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)
          m = v[0], g = p[m];
        else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`);
      } else m = p;
      c.items.push(r.createPair(m, g, f));
    }
    return c;
  }
  var n = {
    collection: "seq",
    default: !1,
    tag: "tag:yaml.org,2002:pairs",
    resolve: h,
    createNode: o
  };
  e.createPairs = o, e.pairs = n, e.resolvePairs = h;
})), Dd = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = Or(), i = Ir(), s = kr(), h = Il(), o = class Rd 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 = Rd.tag;
    }
    toJSON(l, f) {
      if (!f) return super.toJSON(l);
      const a = /* @__PURE__ */ new Map();
      f?.onCreate && f.onCreate(a);
      for (const c of this.items) {
        let d, p;
        if (t.isPair(c) ? (d = r.toJS(c.key, "", f), p = r.toJS(c.value, d, f)) : d = r.toJS(c, "", f), a.has(d)) throw new Error("Ordered maps must not include duplicate keys");
        a.set(d, p);
      }
      return a;
    }
    static from(l, f, a) {
      const c = h.createPairs(l, f, a), d = new this();
      return d.items = c.items, d;
    }
  };
  o.tag = "tag:yaml.org,2002:omap";
  var n = {
    collection: "seq",
    identify: (u) => u instanceof Map,
    nodeClass: o,
    default: !1,
    tag: "tag:yaml.org,2002:omap",
    resolve(u, l) {
      const f = h.resolvePairs(u, l), a = [];
      for (const { key: c } of f.items) t.isScalar(c) && (a.includes(c.value) ? l(`Ordered maps must not include duplicate keys: ${c.value}`) : a.push(c.value));
      return Object.assign(new o(), f);
    },
    createNode: (u, l, f) => o.from(u, l, f)
  };
  e.YAMLOMap = o, e.omap = n;
})), BE = /* @__PURE__ */ P(((e) => {
  var t = _t();
  function r({ value: h, source: o }, n) {
    return o && (h ? i : s).test.test(o) ? o : h ? n.options.trueStr : n.options.falseStr;
  }
  var i = {
    identify: (h) => h === !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: (h) => h === !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;
})), FE = /* @__PURE__ */ P(((e) => {
  var t = _t(), r = rn(), i = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (o) => o.slice(-3).toLowerCase() === "nan" ? NaN : o[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
    resolve: (o) => parseFloat(o.replace(/_/g, "")),
    stringify(o) {
      const n = Number(o.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(o);
    }
  }, h = {
    identify: (o) => typeof o == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
    resolve(o) {
      const n = new t.Scalar(parseFloat(o.replace(/_/g, ""))), u = o.indexOf(".");
      if (u !== -1) {
        const l = o.substring(u + 1).replace(/_/g, "");
        l[l.length - 1] === "0" && (n.minFractionDigits = l.length);
      }
      return n;
    },
    stringify: r.stringifyNumber
  };
  e.float = h, e.floatExp = s, e.floatNaN = i;
})), ME = /* @__PURE__ */ P(((e) => {
  var t = rn(), r = (l) => typeof l == "bigint" || Number.isInteger(l);
  function i(l, f, a, { intAsBigInt: c }) {
    const d = l[0];
    if ((d === "-" || d === "+") && (f += 1), l = l.substring(f).replace(/_/g, ""), c) {
      switch (a) {
        case 2:
          l = `0b${l}`;
          break;
        case 8:
          l = `0o${l}`;
          break;
        case 16:
          l = `0x${l}`;
          break;
      }
      const m = BigInt(l);
      return d === "-" ? BigInt(-1) * m : m;
    }
    const p = parseInt(l, a);
    return d === "-" ? -1 * p : p;
  }
  function s(l, f, a) {
    const { value: c } = l;
    if (r(c)) {
      const d = c.toString(f);
      return c < 0 ? "-" + a + d.substr(1) : a + d;
    }
    return t.stringifyNumber(l);
  }
  var h = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "BIN",
    test: /^[-+]?0b[0-1_]+$/,
    resolve: (l, f, a) => i(l, 2, 2, a),
    stringify: (l) => s(l, 2, "0b")
  }, o = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^[-+]?0[0-7_]+$/,
    resolve: (l, f, a) => i(l, 1, 8, a),
    stringify: (l) => s(l, 8, "0")
  }, n = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9][0-9_]*$/,
    resolve: (l, f, a) => i(l, 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: (l, f, a) => i(l, 2, 16, a),
    stringify: (l) => s(l, 16, "0x")
  };
  e.int = n, e.intBin = h, e.intHex = u, e.intOct = o;
})), Od = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = Cr(), i = Ir(), s = class Cd extends i.YAMLMap {
    constructor(n) {
      super(n), this.tag = Cd.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 l = i.findPair(this.items, n);
      return !u && t.isPair(l) ? t.isScalar(l.key) ? l.key.value : l.key : l;
    }
    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 l = i.findPair(this.items, n);
      l && !u ? this.items.splice(this.items.indexOf(l), 1) : !l && u && this.items.push(new r.Pair(n));
    }
    toJSON(n, u) {
      return super.toJSON(n, u, Set);
    }
    toString(n, u, l) {
      if (!n) return JSON.stringify(this);
      if (this.hasAllNullValues(!0)) return super.toString(Object.assign({}, n, { allNullValues: !0 }), u, l);
      throw new Error("Set items must all have null values");
    }
    static from(n, u, l) {
      const { replacer: f } = l, a = new this(n);
      if (u && Symbol.iterator in Object(u)) for (let c of u)
        typeof f == "function" && (c = f.call(u, c, c)), a.items.push(r.createPair(c, null, l));
      return a;
    }
  };
  s.tag = "tag:yaml.org,2002:set";
  var h = {
    collection: "map",
    identify: (o) => o instanceof Set,
    nodeClass: s,
    default: !1,
    tag: "tag:yaml.org,2002:set",
    createNode: (o, n, u) => s.from(o, n, u),
    resolve(o, n) {
      if (t.isMap(o)) {
        if (o.hasAllNullValues(!0)) return Object.assign(new s(), o);
        n("Set items must all have null values");
      } else n("Expected a mapping for this tag");
      return o;
    }
  };
  e.YAMLSet = s, e.set = h;
})), Id = /* @__PURE__ */ P(((e) => {
  var t = rn();
  function r(n, u) {
    const l = n[0], f = l === "-" || l === "+" ? n.substring(1) : n, a = (d) => u ? BigInt(d) : Number(d), c = f.replace(/_/g, "").split(":").reduce((d, p) => d * a(60) + a(p), a(0));
    return l === "-" ? a(-1) * c : c;
  }
  function i(n) {
    let { value: u } = n, l = (d) => d;
    if (typeof u == "bigint") l = (d) => BigInt(d);
    else if (isNaN(u) || !isFinite(u)) return t.stringifyNumber(n);
    let f = "";
    u < 0 && (f = "-", u *= l(-1));
    const a = l(60), c = [u % a];
    return u < 60 ? c.unshift(0) : (u = (u - c[0]) / a, c.unshift(u % a), u >= 60 && (u = (u - c[0]) / a, c.unshift(u))), f + c.map((d) => String(d).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: l }) => r(n, l),
    stringify: i
  }, h = {
    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
  }, o = {
    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(o.test);
      if (!u) throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");
      const [, l, f, a, c, d, p] = u.map(Number), m = u[7] ? Number((u[7] + "00").substr(1, 3)) : 0;
      let g = Date.UTC(l, f - 1, a, c || 0, d || 0, p || 0, m);
      const v = u[8];
      if (v && v !== "Z") {
        let y = r(v, !1);
        Math.abs(y) < 30 && (y *= 60), g -= 6e4 * y;
      }
      return new Date(g);
    },
    stringify: ({ value: n }) => n?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
  };
  e.floatTime = h, e.intTime = s, e.timestamp = o;
})), jE = /* @__PURE__ */ P(((e) => {
  var t = en(), r = Cl(), i = tn(), s = ys(), h = Td(), o = BE(), n = FE(), u = ME(), l = Ol(), f = Dd(), a = Il(), c = Od(), d = Id(), p = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    o.trueTag,
    o.falseTag,
    u.intBin,
    u.intOct,
    u.int,
    u.intHex,
    n.floatNaN,
    n.floatExp,
    n.float,
    h.binary,
    l.merge,
    f.omap,
    a.pairs,
    c.set,
    d.intTime,
    d.floatTime,
    d.timestamp
  ];
  e.schema = p;
})), UE = /* @__PURE__ */ P(((e) => {
  var t = en(), r = Cl(), i = tn(), s = ys(), h = Ed(), o = Sd(), n = Ad(), u = xE(), l = PE(), f = Td(), a = Ol(), c = Dd(), d = Il(), p = jE(), m = Od(), g = Id(), v = /* @__PURE__ */ new Map([
    ["core", u.schema],
    ["failsafe", [
      t.map,
      i.seq,
      s.string
    ]],
    ["json", l.schema],
    ["yaml11", p.schema],
    ["yaml-1.1", p.schema]
  ]), y = {
    binary: f.binary,
    bool: h.boolTag,
    float: o.float,
    floatExp: o.floatExp,
    floatNaN: o.floatNaN,
    floatTime: g.floatTime,
    int: n.int,
    intHex: n.intHex,
    intOct: n.intOct,
    intTime: g.intTime,
    map: t.map,
    merge: a.merge,
    null: r.nullTag,
    omap: c.omap,
    pairs: d.pairs,
    seq: i.seq,
    set: m.set,
    timestamp: g.timestamp
  }, E = {
    "tag:yaml.org,2002:binary": f.binary,
    "tag:yaml.org,2002:merge": a.merge,
    "tag:yaml.org,2002:omap": c.omap,
    "tag:yaml.org,2002:pairs": d.pairs,
    "tag:yaml.org,2002:set": m.set,
    "tag:yaml.org,2002:timestamp": g.timestamp
  };
  function b(w, _, S) {
    const T = v.get(_);
    if (T && !w) return S && !T.includes(a.merge) ? T.concat(a.merge) : T.slice();
    let D = T;
    if (!D) if (Array.isArray(w)) D = [];
    else {
      const R = Array.from(v.keys()).filter((j) => j !== "yaml11").map((j) => JSON.stringify(j)).join(", ");
      throw new Error(`Unknown schema "${_}"; use one of ${R} or define customTags array`);
    }
    if (Array.isArray(w)) for (const R of w) D = D.concat(R);
    else typeof w == "function" && (D = w(D.slice()));
    return S && (D = D.concat(a.merge)), D.reduce((R, j) => {
      const M = typeof j == "string" ? y[j] : j;
      if (!M) {
        const G = JSON.stringify(j), Y = Object.keys(y).map((H) => JSON.stringify(H)).join(", ");
        throw new Error(`Unknown custom tag ${G}; use one of ${Y}`);
      }
      return R.includes(M) || R.push(M), R;
    }, []);
  }
  e.coreKnownTags = E, e.getTags = b;
})), kd = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = en(), i = tn(), s = ys(), h = UE(), o = (u, l) => u.key < l.key ? -1 : u.key > l.key ? 1 : 0, n = class Ld {
    constructor({ compat: l, customTags: f, merge: a, resolveKnownTags: c, schema: d, sortMapEntries: p, toStringDefaults: m }) {
      this.compat = Array.isArray(l) ? h.getTags(l, "compat") : l ? h.getTags(null, l) : null, this.name = typeof d == "string" && d || "core", this.knownTags = c ? h.coreKnownTags : {}, this.tags = h.getTags(f, this.name, a), this.toStringOptions = m ?? 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 ? o : null;
    }
    clone() {
      const l = Object.create(Ld.prototype, Object.getOwnPropertyDescriptors(this));
      return l.tags = this.tags.slice(), l;
    }
  };
  e.Schema = n;
})), HE = /* @__PURE__ */ P(((e) => {
  var t = Je(), r = vs(), i = gs();
  function s(h, o) {
    const n = [];
    let u = o.directives === !0;
    if (o.directives !== !1 && h.directives) {
      const d = h.directives.toString(h);
      d ? (n.push(d), u = !0) : h.directives.docStart && (u = !0);
    }
    u && n.push("---");
    const l = r.createStringifyContext(h, o), { commentString: f } = l.options;
    if (h.commentBefore) {
      n.length !== 1 && n.unshift("");
      const d = f(h.commentBefore);
      n.unshift(i.indentComment(d, ""));
    }
    let a = !1, c = null;
    if (h.contents) {
      if (t.isNode(h.contents)) {
        if (h.contents.spaceBefore && u && n.push(""), h.contents.commentBefore) {
          const m = f(h.contents.commentBefore);
          n.push(i.indentComment(m, ""));
        }
        l.forceBlockIndent = !!h.comment, c = h.contents.comment;
      }
      const d = c ? void 0 : () => a = !0;
      let p = r.stringify(h.contents, l, () => c = null, d);
      c && (p += i.lineComment(p, "", f(c))), (p[0] === "|" || p[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${p}` : n.push(p);
    } else n.push(r.stringify(h.contents, l));
    if (h.directives?.docEnd) if (h.comment) {
      const d = f(h.comment);
      d.includes(`
`) ? (n.push("..."), n.push(i.indentComment(d, ""))) : n.push(`... ${d}`);
    } else n.push("...");
    else {
      let d = h.comment;
      d && a && (d = d.replace(/^\n+/, "")), d && ((!a || c) && n[n.length - 1] !== "" && n.push(""), n.push(i.indentComment(f(d), "")));
    }
    return n.join(`
`) + `
`;
  }
  e.stringifyDocument = s;
})), _s = /* @__PURE__ */ P(((e) => {
  var t = ds(), r = Rl(), i = Je(), s = Cr(), h = Or(), o = kd(), n = HE(), u = Tl(), l = vd(), f = ps(), a = md(), c = class $d {
    constructor(m, g, v) {
      this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, i.NODE_TYPE, { value: i.DOC });
      let y = null;
      typeof g == "function" || Array.isArray(g) ? y = g : v === void 0 && g && (v = g, g = 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: b } = E;
      v?._directives ? (this.directives = v._directives.atDocument(), this.directives.yaml.explicit && (b = this.directives.yaml.version)) : this.directives = new a.Directives({ version: b }), this.setSchema(b, v), this.contents = m === void 0 ? null : this.createNode(m, y, v);
    }
    clone() {
      const m = Object.create($d.prototype, { [i.NODE_TYPE]: { value: i.DOC } });
      return m.commentBefore = this.commentBefore, m.comment = this.comment, m.errors = this.errors.slice(), m.warnings = this.warnings.slice(), m.options = Object.assign({}, this.options), this.directives && (m.directives = this.directives.clone()), m.schema = this.schema.clone(), m.contents = i.isNode(this.contents) ? this.contents.clone(m.schema) : this.contents, this.range && (m.range = this.range.slice()), m;
    }
    add(m) {
      d(this.contents) && this.contents.add(m);
    }
    addIn(m, g) {
      d(this.contents) && this.contents.addIn(m, g);
    }
    createAlias(m, g) {
      if (!m.anchor) {
        const v = u.anchorNames(this);
        m.anchor = !g || v.has(g) ? u.findNewAnchor(g || "a", v) : g;
      }
      return new t.Alias(m.anchor);
    }
    createNode(m, g, v) {
      let y;
      if (typeof g == "function")
        m = g.call({ "": m }, "", m), y = g;
      else if (Array.isArray(g)) {
        const Y = (I) => typeof I == "number" || I instanceof String || I instanceof Number, H = g.filter(Y).map(String);
        H.length > 0 && (g = g.concat(H)), y = g;
      } else v === void 0 && g && (v = g, g = void 0);
      const { aliasDuplicateObjects: E, anchorPrefix: b, flow: w, keepUndefined: _, onTagObj: S, tag: T } = v ?? {}, { onAnchor: D, setAnchors: R, sourceObjects: j } = u.createNodeAnchors(this, b || "a"), M = {
        aliasDuplicateObjects: E ?? !0,
        keepUndefined: _ ?? !1,
        onAnchor: D,
        onTagObj: S,
        replacer: y,
        schema: this.schema,
        sourceObjects: j
      }, G = f.createNode(m, T, M);
      return w && i.isCollection(G) && (G.flow = !0), R(), G;
    }
    createPair(m, g, v = {}) {
      const y = this.createNode(m, null, v), E = this.createNode(g, null, v);
      return new s.Pair(y, E);
    }
    delete(m) {
      return d(this.contents) ? this.contents.delete(m) : !1;
    }
    deleteIn(m) {
      return r.isEmptyPath(m) ? this.contents == null ? !1 : (this.contents = null, !0) : d(this.contents) ? this.contents.deleteIn(m) : !1;
    }
    get(m, g) {
      return i.isCollection(this.contents) ? this.contents.get(m, g) : void 0;
    }
    getIn(m, g) {
      return r.isEmptyPath(m) ? !g && i.isScalar(this.contents) ? this.contents.value : this.contents : i.isCollection(this.contents) ? this.contents.getIn(m, g) : void 0;
    }
    has(m) {
      return i.isCollection(this.contents) ? this.contents.has(m) : !1;
    }
    hasIn(m) {
      return r.isEmptyPath(m) ? this.contents !== void 0 : i.isCollection(this.contents) ? this.contents.hasIn(m) : !1;
    }
    set(m, g) {
      this.contents == null ? this.contents = r.collectionFromPath(this.schema, [m], g) : d(this.contents) && this.contents.set(m, g);
    }
    setIn(m, g) {
      r.isEmptyPath(m) ? this.contents = g : this.contents == null ? this.contents = r.collectionFromPath(this.schema, Array.from(m), g) : d(this.contents) && this.contents.setIn(m, g);
    }
    setSchema(m, g = {}) {
      typeof m == "number" && (m = String(m));
      let v;
      switch (m) {
        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 = m : this.directives = new a.Directives({ version: m }), v = {
            resolveKnownTags: !0,
            schema: "core"
          };
          break;
        case null:
          this.directives && delete this.directives, v = null;
          break;
        default: {
          const y = JSON.stringify(m);
          throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${y}`);
        }
      }
      if (g.schema instanceof Object) this.schema = g.schema;
      else if (v) this.schema = new o.Schema(Object.assign(v, g));
      else throw new Error("With a null YAML version, the { schema: Schema } option is required");
    }
    toJS({ json: m, jsonArg: g, mapAsMap: v, maxAliasCount: y, onAnchor: E, reviver: b } = {}) {
      const w = {
        anchors: /* @__PURE__ */ new Map(),
        doc: this,
        keep: !m,
        mapAsMap: v === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof y == "number" ? y : 100
      }, _ = h.toJS(this.contents, g ?? "", w);
      if (typeof E == "function") for (const { count: S, res: T } of w.anchors.values()) E(T, S);
      return typeof b == "function" ? l.applyReviver(b, { "": _ }, "", _) : _;
    }
    toJSON(m, g) {
      return this.toJS({
        json: !0,
        jsonArg: m,
        mapAsMap: !1,
        onAnchor: g
      });
    }
    toString(m = {}) {
      if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified");
      if ("indent" in m && (!Number.isInteger(m.indent) || Number(m.indent) <= 0)) {
        const g = JSON.stringify(m.indent);
        throw new Error(`"indent" option must be a positive integer, not ${g}`);
      }
      return n.stringifyDocument(this, m);
    }
  };
  function d(p) {
    if (i.isCollection(p)) return !0;
    throw new Error("Expected a YAML collection as document contents");
  }
  e.Document = c;
})), bs = /* @__PURE__ */ P(((e) => {
  var t = class extends Error {
    constructor(h, o, n, u) {
      super(), this.name = h, this.code = n, this.message = u, this.pos = o;
    }
  }, r = class extends t {
    constructor(h, o, n) {
      super("YAMLParseError", h, o, n);
    }
  }, i = class extends t {
    constructor(h, o, n) {
      super("YAMLWarning", h, o, n);
    }
  }, s = (h, o) => (n) => {
    if (n.pos[0] === -1) return;
    n.linePos = n.pos.map((c) => o.linePos(c));
    const { line: u, col: l } = n.linePos[0];
    n.message += ` at line ${u}, column ${l}`;
    let f = l - 1, a = h.substring(o.lineStarts[u - 1], o.lineStarts[u]).replace(/[\n\r]+$/, "");
    if (f >= 60 && a.length > 80) {
      const c = Math.min(f - 39, a.length - 79);
      a = "…" + a.substring(c), f -= c - 1;
    }
    if (a.length > 80 && (a = a.substring(0, 79) + "…"), u > 1 && /^ *$/.test(a.substring(0, f))) {
      let c = h.substring(o.lineStarts[u - 2], o.lineStarts[u - 1]);
      c.length > 80 && (c = c.substring(0, 79) + `…
`), a = c + a;
    }
    if (/[^ ]/.test(a)) {
      let c = 1;
      const d = n.linePos[1];
      d?.line === u && d.col > l && (c = Math.max(1, Math.min(d.col - l, 80 - f)));
      const p = " ".repeat(f) + "^".repeat(c);
      n.message += `:

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

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

` : `
`) + (g.substring(1) || " "), d = !0, p = !1;
          break;
        case "%":
          a[m + 1]?.[0] !== "#" && (m += 1), d = !1;
          break;
        default:
          d || (p = !0), d = !1;
      }
    }
    return {
      comment: c,
      afterEmptyLine: p
    };
  }
  var f = class {
    constructor(a = {}) {
      this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (c, d, p, m) => {
        const g = u(c);
        m ? this.warnings.push(new s.YAMLWarning(g, d, p)) : this.errors.push(new s.YAMLParseError(g, d, p));
      }, this.directives = new r.Directives({ version: a.version || "1.2" }), this.options = a;
    }
    decorate(a, c) {
      const { comment: d, afterEmptyLine: p } = l(this.prelude);
      if (d) {
        const m = a.contents;
        if (c) a.comment = a.comment ? `${a.comment}
${d}` : d;
        else if (p || a.directives.docStart || !m) a.commentBefore = d;
        else if (h.isCollection(m) && !m.flow && m.items.length > 0) {
          let g = m.items[0];
          h.isPair(g) && (g = g.key);
          const v = g.commentBefore;
          g.commentBefore = v ? `${d}
${v}` : d;
        } else {
          const g = m.commentBefore;
          m.commentBefore = g ? `${d}
${g}` : d;
        }
      }
      c ? (Array.prototype.push.apply(a.errors, this.errors), Array.prototype.push.apply(a.warnings, this.warnings)) : (a.errors = this.errors, a.warnings = this.warnings), this.prelude = [], this.errors = [], this.warnings = [];
    }
    streamInfo() {
      return {
        comment: l(this.prelude).comment,
        directives: this.directives,
        errors: this.errors,
        warnings: this.warnings
      };
    }
    *compose(a, c = !1, d = -1) {
      for (const p of a) yield* this.next(p);
      yield* this.end(c, d);
    }
    *next(a) {
      switch (t.env.LOG_STREAM && console.dir(a, { depth: null }), a.type) {
        case "directive":
          this.directives.add(a.source, (c, d, p) => {
            const m = u(a);
            m[0] += c, this.onError(m, "BAD_DIRECTIVE", d, p);
          }), this.prelude.push(a.source), this.atDirectives = !0;
          break;
        case "document": {
          const c = o.composeDoc(this.options, this.directives, a, this.onError);
          this.atDirectives && !c.directives.docStart && this.onError(a, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(c, !1), this.doc && (yield this.doc), this.doc = c, this.atDirectives = !1;
          break;
        }
        case "byte-order-mark":
        case "space":
          break;
        case "comment":
        case "newline":
          this.prelude.push(a.source);
          break;
        case "error": {
          const c = a.source ? `${a.message}: ${JSON.stringify(a.source)}` : a.message, d = new s.YAMLParseError(u(a), "UNEXPECTED_TOKEN", c);
          this.atDirectives || !this.doc ? this.errors.push(d) : this.doc.errors.push(d);
          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 c = n.resolveEnd(a.end, a.offset + a.source.length, this.doc.options.strict, this.onError);
          if (this.decorate(this.doc, !0), c.comment) {
            const d = this.doc.comment;
            this.doc.comment = d ? `${d}
${c.comment}` : c.comment;
          }
          this.doc.range[2] = c.offset;
          break;
        }
        default:
          this.errors.push(new s.YAMLParseError(u(a), "UNEXPECTED_TOKEN", `Unsupported token ${a.type}`));
      }
    }
    *end(a = !1, c = -1) {
      if (this.doc)
        this.decorate(this.doc, !0), yield this.doc, this.doc = null;
      else if (a) {
        const d = Object.assign({ _directives: this.directives }, this.options), p = new i.Document(void 0, d);
        this.atDirectives && this.onError(c, "MISSING_CHAR", "Missing directives-end indicator line"), p.range = [
          0,
          c,
          c
        ], this.decorate(p, !1), yield p;
      }
    }
  };
  e.Composer = f;
})), JE = /* @__PURE__ */ P(((e) => {
  var t = Pd(), r = Bd(), i = bs(), s = ms();
  function h(a, c = !0, d) {
    if (a) {
      const p = (m, g, v) => {
        const y = typeof m == "number" ? m : Array.isArray(m) ? m[0] : m.offset;
        if (d) d(y, g, v);
        else throw new i.YAMLParseError([y, y + 1], g, v);
      };
      switch (a.type) {
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return r.resolveFlowScalar(a, c, p);
        case "block-scalar":
          return t.resolveBlockScalar({ options: { strict: c } }, a, p);
      }
    }
    return null;
  }
  function o(a, c) {
    const { implicitKey: d = !1, indent: p, inFlow: m = !1, offset: g = -1, type: v = "PLAIN" } = c, y = s.stringifyString({
      type: v,
      value: a
    }, {
      implicitKey: d,
      indent: p > 0 ? " ".repeat(p) : "",
      inFlow: m,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    }), E = c.end ?? [{
      type: "newline",
      offset: -1,
      indent: p,
      source: `
`
    }];
    switch (y[0]) {
      case "|":
      case ">": {
        const b = y.indexOf(`
`), w = y.substring(0, b), _ = y.substring(b + 1) + `
`, S = [{
          type: "block-scalar-header",
          offset: g,
          indent: p,
          source: w
        }];
        return l(S, E) || S.push({
          type: "newline",
          offset: -1,
          indent: p,
          source: `
`
        }), {
          type: "block-scalar",
          offset: g,
          indent: p,
          props: S,
          source: _
        };
      }
      case '"':
        return {
          type: "double-quoted-scalar",
          offset: g,
          indent: p,
          source: y,
          end: E
        };
      case "'":
        return {
          type: "single-quoted-scalar",
          offset: g,
          indent: p,
          source: y,
          end: E
        };
      default:
        return {
          type: "scalar",
          offset: g,
          indent: p,
          source: y,
          end: E
        };
    }
  }
  function n(a, c, d = {}) {
    let { afterKey: p = !1, implicitKey: m = !1, inFlow: g = !1, type: v } = d, y = "indent" in a ? a.indent : null;
    if (p && typeof y == "number" && (y += 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 b = a.props[0];
        if (b.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
        v = b.source[0] === ">" ? "BLOCK_FOLDED" : "BLOCK_LITERAL";
        break;
      }
      default:
        v = "PLAIN";
    }
    const E = s.stringifyString({
      type: v,
      value: c
    }, {
      implicitKey: m || y === null,
      indent: y !== null && y > 0 ? " ".repeat(y) : "",
      inFlow: g,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    });
    switch (E[0]) {
      case "|":
      case ">":
        u(a, E);
        break;
      case '"':
        f(a, E, "double-quoted-scalar");
        break;
      case "'":
        f(a, E, "single-quoted-scalar");
        break;
      default:
        f(a, E, "scalar");
    }
  }
  function u(a, c) {
    const d = c.indexOf(`
`), p = c.substring(0, d), m = c.substring(d + 1) + `
`;
    if (a.type === "block-scalar") {
      const g = a.props[0];
      if (g.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
      g.source = p, a.source = m;
    } else {
      const { offset: g } = a, v = "indent" in a ? a.indent : -1, y = [{
        type: "block-scalar-header",
        offset: g,
        indent: v,
        source: p
      }];
      l(y, "end" in a ? a.end : void 0) || y.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: y,
        source: m
      });
    }
  }
  function l(a, c) {
    if (c) for (const d of c) switch (d.type) {
      case "space":
      case "comment":
        a.push(d);
        break;
      case "newline":
        return a.push(d), !0;
    }
    return !1;
  }
  function f(a, c, d) {
    switch (a.type) {
      case "scalar":
      case "double-quoted-scalar":
      case "single-quoted-scalar":
        a.type = d, a.source = c;
        break;
      case "block-scalar": {
        const p = a.props.slice(1);
        let m = c.length;
        a.props[0].type === "block-scalar-header" && (m -= a.props[0].source.length);
        for (const g of p) g.offset += m;
        delete a.props, Object.assign(a, {
          type: d,
          source: c,
          end: p
        });
        break;
      }
      case "block-map":
      case "block-seq": {
        const p = {
          type: "newline",
          offset: a.offset + c.length,
          indent: a.indent,
          source: `
`
        };
        delete a.items, Object.assign(a, {
          type: d,
          source: c,
          end: [p]
        });
        break;
      }
      default: {
        const p = "indent" in a ? a.indent : -1, m = "end" in a && Array.isArray(a.end) ? a.end.filter((g) => g.type === "space" || g.type === "comment" || g.type === "newline") : [];
        for (const g of Object.keys(a)) g !== "type" && g !== "offset" && delete a[g];
        Object.assign(a, {
          type: d,
          indent: p,
          source: c,
          end: m
        });
      }
    }
  }
  e.createScalarToken = o, e.resolveAsScalar = h, e.setScalarValue = n;
})), XE = /* @__PURE__ */ P(((e) => {
  var t = (s) => "type" in s ? r(s) : i(s);
  function r(s) {
    switch (s.type) {
      case "block-scalar": {
        let h = "";
        for (const o of s.props) h += r(o);
        return h + s.source;
      }
      case "block-map":
      case "block-seq": {
        let h = "";
        for (const o of s.items) h += i(o);
        return h;
      }
      case "flow-collection": {
        let h = s.start.source;
        for (const o of s.items) h += i(o);
        for (const o of s.end) h += o.source;
        return h;
      }
      case "document": {
        let h = i(s);
        if (s.end) for (const o of s.end) h += o.source;
        return h;
      }
      default: {
        let h = s.source;
        if ("end" in s && s.end) for (const o of s.end) h += o.source;
        return h;
      }
    }
  }
  function i({ start: s, key: h, sep: o, value: n }) {
    let u = "";
    for (const l of s) u += l.source;
    if (h && (u += r(h)), o) for (const l of o) u += l.source;
    return n && (u += r(n)), u;
  }
  e.stringify = t;
})), QE = /* @__PURE__ */ P(((e) => {
  var t = /* @__PURE__ */ Symbol("break visit"), r = /* @__PURE__ */ Symbol("skip children"), i = /* @__PURE__ */ Symbol("remove item");
  function s(o, n) {
    "type" in o && o.type === "document" && (o = {
      start: o.start,
      value: o.value
    }), h(Object.freeze([]), o, n);
  }
  s.BREAK = t, s.SKIP = r, s.REMOVE = i, s.itemAtPath = (o, n) => {
    let u = o;
    for (const [l, f] of n) {
      const a = u?.[l];
      if (a && "items" in a) u = a.items[f];
      else return;
    }
    return u;
  }, s.parentCollection = (o, n) => {
    const u = s.itemAtPath(o, n.slice(0, -1)), l = n[n.length - 1][0], f = u?.[l];
    if (f && "items" in f) return f;
    throw new Error("Parent collection not found");
  };
  function h(o, n, u) {
    let l = u(n, o);
    if (typeof l == "symbol") return l;
    for (const f of ["key", "value"]) {
      const a = n[f];
      if (a && "items" in a) {
        for (let c = 0; c < a.items.length; ++c) {
          const d = h(Object.freeze(o.concat([[f, c]])), a.items[c], u);
          if (typeof d == "number") c = d - 1;
          else {
            if (d === t) return t;
            d === i && (a.items.splice(c, 1), c -= 1);
          }
        }
        typeof l == "function" && f === "key" && (l = l(n, o));
      }
    }
    return typeof l == "function" ? l(n, o) : l;
  }
  e.visit = s;
})), Ll = /* @__PURE__ */ P(((e) => {
  var t = JE(), r = XE(), i = QE(), s = "\uFEFF", h = "", o = "", n = "", u = (c) => !!c && "items" in c, l = (c) => !!c && (c.type === "scalar" || c.type === "single-quoted-scalar" || c.type === "double-quoted-scalar" || c.type === "block-scalar");
  function f(c) {
    switch (c) {
      case s:
        return "<BOM>";
      case h:
        return "<DOC>";
      case o:
        return "<FLOW_END>";
      case n:
        return "<SCALAR>";
      default:
        return JSON.stringify(c);
    }
  }
  function a(c) {
    switch (c) {
      case s:
        return "byte-order-mark";
      case h:
        return "doc-mode";
      case o:
        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 (c[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 = h, e.FLOW_END = o, e.SCALAR = n, e.isCollection = u, e.isScalar = l, e.prettyToken = f, e.tokenType = a;
})), Md = /* @__PURE__ */ P(((e) => {
  var t = Ll();
  function r(l) {
    switch (l) {
      case void 0:
      case " ":
      case `
`:
      case "\r":
      case "	":
        return !0;
      default:
        return !1;
    }
  }
  var i = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), s = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), h = /* @__PURE__ */ new Set(",[]{}"), o = /* @__PURE__ */ new Set(` ,[]{}
\r	`), n = (l) => !l || o.has(l), 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(l, f = !1) {
      if (l) {
        if (typeof l != "string") throw TypeError("source is not a string");
        this.buffer = this.buffer ? this.buffer + l : l, this.lineEndPos = null;
      }
      this.atEnd = !f;
      let a = this.next ?? "stream";
      for (; a && (f || this.hasChars(1)); ) a = yield* this.parseNext(a);
    }
    atLineEnd() {
      let l = this.pos, f = this.buffer[l];
      for (; f === " " || f === "	"; ) f = this.buffer[++l];
      return !f || f === "#" || f === `
` ? !0 : f === "\r" ? this.buffer[l + 1] === `
` : !1;
    }
    charAt(l) {
      return this.buffer[this.pos + l];
    }
    continueScalar(l) {
      let f = this.buffer[l];
      if (this.indentNext > 0) {
        let a = 0;
        for (; f === " "; ) f = this.buffer[++a + l];
        if (f === "\r") {
          const c = this.buffer[a + l + 1];
          if (c === `
` || !c && !this.atEnd) return l + a + 1;
        }
        return f === `
` || a >= this.indentNext || !f && !this.atEnd ? l + a : -1;
      }
      if (f === "-" || f === ".") {
        const a = this.buffer.substr(l, 3);
        if ((a === "---" || a === "...") && r(this.buffer[l + 3])) return -1;
      }
      return l;
    }
    getLine() {
      let l = this.lineEndPos;
      return (typeof l != "number" || l !== -1 && l < this.pos) && (l = this.buffer.indexOf(`
`, this.pos), this.lineEndPos = l), l === -1 ? this.atEnd ? this.buffer.substring(this.pos) : null : (this.buffer[l - 1] === "\r" && (l -= 1), this.buffer.substring(this.pos, l));
    }
    hasChars(l) {
      return this.pos + l <= this.buffer.length;
    }
    setNext(l) {
      return this.buffer = this.buffer.substring(this.pos), this.pos = 0, this.lineEndPos = null, this.next = l, null;
    }
    peek(l) {
      return this.buffer.substr(this.pos, l);
    }
    *parseNext(l) {
      switch (l) {
        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 l = this.getLine();
      if (l === null) return this.setNext("stream");
      if (l[0] === t.BOM && (yield* this.pushCount(1), l = l.substring(1)), l[0] === "%") {
        let f = l.length, a = l.indexOf("#");
        for (; a !== -1; ) {
          const d = l[a - 1];
          if (d === " " || d === "	") {
            f = a - 1;
            break;
          } else a = l.indexOf("#", a + 1);
        }
        for (; ; ) {
          const d = l[f - 1];
          if (d === " " || d === "	") f -= 1;
          else break;
        }
        const c = (yield* this.pushCount(f)) + (yield* this.pushSpaces(!0));
        return yield* this.pushCount(l.length - c), this.pushNewline(), "stream";
      }
      if (this.atLineEnd()) {
        const f = yield* this.pushSpaces(!0);
        return yield* this.pushCount(l.length - f), yield* this.pushNewline(), "stream";
      }
      return yield t.DOCUMENT, yield* this.parseLineStart();
    }
    *parseLineStart() {
      const l = this.charAt(0);
      if (!l && !this.atEnd) return this.setNext("line-start");
      if (l === "-" || l === ".") {
        if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start");
        const f = this.peek(3);
        if ((f === "---" || f === "...") && r(this.charAt(3)))
          return yield* this.pushCount(3), this.indentValue = 0, this.indentNext = 0, f === "---" ? "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 [l, f] = this.peek(2);
      if (!f && !this.atEnd) return this.setNext("block-start");
      if ((l === "-" || l === "?" || l === ":") && r(f)) {
        const a = (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0));
        return this.indentNext = this.indentValue + 1, this.indentValue += a, yield* this.parseBlockStart();
      }
      return "doc";
    }
    *parseDocument() {
      yield* this.pushSpaces(!0);
      const l = this.getLine();
      if (l === null) return this.setNext("doc");
      let f = yield* this.pushIndicators();
      switch (l[f]) {
        case "#":
          yield* this.pushCount(l.length - f);
        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 f += yield* this.parseBlockScalarHeader(), f += yield* this.pushSpaces(!0), yield* this.pushCount(l.length - f), yield* this.pushNewline(), yield* this.parseBlockScalar();
        default:
          return yield* this.parsePlainScalar();
      }
    }
    *parseFlowCollection() {
      let l, f, a = -1;
      do
        l = yield* this.pushNewline(), l > 0 ? (f = yield* this.pushSpaces(!1), this.indentValue = a = f) : f = 0, f += yield* this.pushSpaces(!0);
      while (l + f > 0);
      const c = this.getLine();
      if (c === null) return this.setNext("flow");
      if ((a !== -1 && a < this.indentNext && c[0] !== "#" || a === 0 && (c.startsWith("---") || c.startsWith("...")) && r(c[3])) && !(a === this.indentNext - 1 && this.flowLevel === 1 && (c[0] === "]" || c[0] === "}")))
        return this.flowLevel = 0, yield t.FLOW_END, yield* this.parseLineStart();
      let d = 0;
      for (; c[d] === ","; )
        d += yield* this.pushCount(1), d += yield* this.pushSpaces(!0), this.flowKey = !1;
      switch (d += yield* this.pushIndicators(), c[d]) {
        case void 0:
          return "flow";
        case "#":
          return yield* this.pushCount(c.length - d), "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 l = this.charAt(0);
      let f = this.buffer.indexOf(l, this.pos + 1);
      if (l === "'") for (; f !== -1 && this.buffer[f + 1] === "'"; ) f = this.buffer.indexOf("'", f + 2);
      else for (; f !== -1; ) {
        let d = 0;
        for (; this.buffer[f - 1 - d] === "\\"; ) d += 1;
        if (d % 2 === 0) break;
        f = this.buffer.indexOf('"', f + 1);
      }
      const a = this.buffer.substring(0, f);
      let c = a.indexOf(`
`, this.pos);
      if (c !== -1) {
        for (; c !== -1; ) {
          const d = this.continueScalar(c + 1);
          if (d === -1) break;
          c = a.indexOf(`
`, d);
        }
        c !== -1 && (f = c - (a[c - 1] === "\r" ? 2 : 1));
      }
      if (f === -1) {
        if (!this.atEnd) return this.setNext("quoted-scalar");
        f = this.buffer.length;
      }
      return yield* this.pushToIndex(f + 1, !1), this.flowLevel ? "flow" : "doc";
    }
    *parseBlockScalarHeader() {
      this.blockScalarIndent = -1, this.blockScalarKeep = !1;
      let l = this.pos;
      for (; ; ) {
        const f = this.buffer[++l];
        if (f === "+") this.blockScalarKeep = !0;
        else if (f > "0" && f <= "9") this.blockScalarIndent = Number(f) - 1;
        else if (f !== "-") break;
      }
      return yield* this.pushUntil((f) => r(f) || f === "#");
    }
    *parseBlockScalar() {
      let l = this.pos - 1, f = 0, a;
      e: for (let d = this.pos; a = this.buffer[d]; ++d) switch (a) {
        case " ":
          f += 1;
          break;
        case `
`:
          l = d, f = 0;
          break;
        case "\r": {
          const p = this.buffer[d + 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 (f >= this.indentNext) {
        this.blockScalarIndent === -1 ? this.indentNext = f : this.indentNext = this.blockScalarIndent + (this.indentNext === 0 ? 1 : this.indentNext);
        do {
          const d = this.continueScalar(l + 1);
          if (d === -1) break;
          l = this.buffer.indexOf(`
`, d);
        } while (l !== -1);
        if (l === -1) {
          if (!this.atEnd) return this.setNext("block-scalar");
          l = this.buffer.length;
        }
      }
      let c = l + 1;
      for (a = this.buffer[c]; a === " "; ) a = this.buffer[++c];
      if (a === "	") {
        for (; a === "	" || a === " " || a === "\r" || a === `
`; ) a = this.buffer[++c];
        l = c - 1;
      } else if (!this.blockScalarKeep) do {
        let d = l - 1, p = this.buffer[d];
        p === "\r" && (p = this.buffer[--d]);
        const m = d;
        for (; p === " "; ) p = this.buffer[--d];
        if (p === `
` && d >= this.pos && d + 1 + f > m) l = d;
        else break;
      } while (!0);
      return yield t.SCALAR, yield* this.pushToIndex(l + 1, !0), yield* this.parseLineStart();
    }
    *parsePlainScalar() {
      const l = this.flowLevel > 0;
      let f = this.pos - 1, a = this.pos - 1, c;
      for (; c = this.buffer[++a]; ) if (c === ":") {
        const d = this.buffer[a + 1];
        if (r(d) || l && h.has(d)) break;
        f = a;
      } else if (r(c)) {
        let d = this.buffer[a + 1];
        if (c === "\r" && (d === `
` ? (a += 1, c = `
`, d = this.buffer[a + 1]) : f = a), d === "#" || l && h.has(d)) break;
        if (c === `
`) {
          const p = this.continueScalar(a + 1);
          if (p === -1) break;
          a = Math.max(a, p - 2);
        }
      } else {
        if (l && h.has(c)) break;
        f = a;
      }
      return !c && !this.atEnd ? this.setNext("plain-scalar") : (yield t.SCALAR, yield* this.pushToIndex(f + 1, !0), l ? "flow" : "doc");
    }
    *pushCount(l) {
      return l > 0 ? (yield this.buffer.substr(this.pos, l), this.pos += l, l) : 0;
    }
    *pushToIndex(l, f) {
      const a = this.buffer.slice(this.pos, l);
      return a ? (yield a, this.pos += a.length, a.length) : (f && (yield ""), 0);
    }
    *pushIndicators() {
      switch (this.charAt(0)) {
        case "!":
          return (yield* this.pushTag()) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        case "&":
          return (yield* this.pushUntil(n)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        case "-":
        case "?":
        case ":": {
          const l = this.flowLevel > 0, f = this.charAt(1);
          if (r(f) || l && h.has(f))
            return l ? this.flowKey && (this.flowKey = !1) : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        }
      }
      return 0;
    }
    *pushTag() {
      if (this.charAt(1) === "<") {
        let l = this.pos + 2, f = this.buffer[l];
        for (; !r(f) && f !== ">"; ) f = this.buffer[++l];
        return yield* this.pushToIndex(f === ">" ? l + 1 : l, !1);
      } else {
        let l = this.pos + 1, f = this.buffer[l];
        for (; f; ) if (s.has(f)) f = this.buffer[++l];
        else if (f === "%" && i.has(this.buffer[l + 1]) && i.has(this.buffer[l + 2])) f = this.buffer[l += 3];
        else break;
        return yield* this.pushToIndex(l, !1);
      }
    }
    *pushNewline() {
      const l = this.buffer[this.pos];
      return l === `
` ? yield* this.pushCount(1) : l === "\r" && this.charAt(1) === `
` ? yield* this.pushCount(2) : 0;
    }
    *pushSpaces(l) {
      let f = this.pos - 1, a;
      do
        a = this.buffer[++f];
      while (a === " " || l && a === "	");
      const c = f - this.pos;
      return c > 0 && (yield this.buffer.substr(this.pos, c), this.pos = f), c;
    }
    *pushUntil(l) {
      let f = this.pos, a = this.buffer[f];
      for (; !l(a); ) a = this.buffer[++f];
      return yield* this.pushToIndex(f, !1);
    }
  };
  e.Lexer = u;
})), jd = /* @__PURE__ */ P(((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 o = i + s >> 1;
          this.lineStarts[o] < r ? i = o + 1 : s = o;
        }
        if (this.lineStarts[i] === r) return {
          line: i + 1,
          col: 1
        };
        if (i === 0) return {
          line: 0,
          col: r
        };
        const h = this.lineStarts[i - 1];
        return {
          line: i,
          col: r - h + 1
        };
      };
    }
  };
  e.LineCounter = t;
})), Ud = /* @__PURE__ */ P(((e) => {
  var t = ge("process"), r = Ll(), i = Md();
  function s(a, c) {
    for (let d = 0; d < a.length; ++d) if (a[d].type === c) return !0;
    return !1;
  }
  function h(a) {
    for (let c = 0; c < a.length; ++c) switch (a[c].type) {
      case "space":
      case "comment":
      case "newline":
        break;
      default:
        return c;
    }
    return -1;
  }
  function o(a) {
    switch (a?.type) {
      case "alias":
      case "scalar":
      case "single-quoted-scalar":
      case "double-quoted-scalar":
      case "flow-collection":
        return !0;
      default:
        return !1;
    }
  }
  function n(a) {
    switch (a.type) {
      case "document":
        return a.start;
      case "block-map": {
        const c = a.items[a.items.length - 1];
        return c.sep ?? c.start;
      }
      case "block-seq":
        return a.items[a.items.length - 1].start;
      /* istanbul ignore next should not happen */
      default:
        return [];
    }
  }
  function u(a) {
    if (a.length === 0) return [];
    let c = a.length;
    e: for (; --c >= 0; ) switch (a[c].type) {
      case "doc-start":
      case "explicit-key-ind":
      case "map-value-ind":
      case "seq-item-ind":
      case "newline":
        break e;
    }
    for (; a[++c]?.type === "space"; ) ;
    return a.splice(c, a.length);
  }
  function l(a) {
    if (a.start.type === "flow-seq-start")
      for (const c of a.items) c.sep && !c.value && !s(c.start, "explicit-key-ind") && !s(c.sep, "map-value-ind") && (c.key && (c.value = c.key), delete c.key, o(c.value) ? c.value.end ? Array.prototype.push.apply(c.value.end, c.sep) : c.value.end = c.sep : Array.prototype.push.apply(c.start, c.sep), delete c.sep);
  }
  var f = class {
    constructor(a) {
      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 = a;
    }
    *parse(a, c = !1) {
      this.onNewLine && this.offset === 0 && this.onNewLine(0);
      for (const d of this.lexer.lex(a, c)) yield* this.next(d);
      c || (yield* this.end());
    }
    *next(a) {
      if (this.source = a, t.env.LOG_TOKENS && console.log("|", r.prettyToken(a)), this.atScalar) {
        this.atScalar = !1, yield* this.step(), this.offset += a.length;
        return;
      }
      const c = r.tokenType(a);
      if (c)
        if (c === "scalar")
          this.atNewLine = !1, this.atScalar = !0, this.type = "scalar";
        else {
          switch (this.type = c, yield* this.step(), c) {
            case "newline":
              this.atNewLine = !0, this.indent = 0, this.onNewLine && this.onNewLine(this.offset + a.length);
              break;
            case "space":
              this.atNewLine && a[0] === " " && (this.indent += a.length);
              break;
            case "explicit-key-ind":
            case "map-value-ind":
            case "seq-item-ind":
              this.atNewLine && (this.indent += a.length);
              break;
            case "doc-mode":
            case "flow-error-end":
              return;
            default:
              this.atNewLine = !1;
          }
          this.offset += a.length;
        }
      else {
        const d = `Not a YAML token: ${a}`;
        yield* this.pop({
          type: "error",
          offset: this.offset,
          message: d,
          source: a
        }), this.offset += a.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 a = this.peek(1);
      if (this.type === "doc-end" && a?.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 (!a) return yield* this.stream();
      switch (a.type) {
        case "document":
          return yield* this.document(a);
        case "alias":
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return yield* this.scalar(a);
        case "block-scalar":
          return yield* this.blockScalar(a);
        case "block-map":
          return yield* this.blockMap(a);
        case "block-seq":
          return yield* this.blockSequence(a);
        case "flow-collection":
          return yield* this.flowCollection(a);
        case "doc-end":
          return yield* this.documentEnd(a);
      }
      yield* this.pop();
    }
    peek(a) {
      return this.stack[this.stack.length - a];
    }
    *pop(a) {
      const c = a ?? this.stack.pop();
      if (!c) yield {
        type: "error",
        offset: this.offset,
        source: "",
        message: "Tried to pop an empty stack"
      };
      else if (this.stack.length === 0) yield c;
      else {
        const d = this.peek(1);
        switch (c.type === "block-scalar" ? c.indent = "indent" in d ? d.indent : 0 : c.type === "flow-collection" && d.type === "document" && (c.indent = 0), c.type === "flow-collection" && l(c), d.type) {
          case "document":
            d.value = c;
            break;
          case "block-scalar":
            d.props.push(c);
            break;
          case "block-map": {
            const p = d.items[d.items.length - 1];
            if (p.value) {
              d.items.push({
                start: [],
                key: c,
                sep: []
              }), this.onKeyLine = !0;
              return;
            } else if (p.sep) p.value = c;
            else {
              Object.assign(p, {
                key: c,
                sep: []
              }), this.onKeyLine = !p.explicitKey;
              return;
            }
            break;
          }
          case "block-seq": {
            const p = d.items[d.items.length - 1];
            p.value ? d.items.push({
              start: [],
              value: c
            }) : p.value = c;
            break;
          }
          case "flow-collection": {
            const p = d.items[d.items.length - 1];
            !p || p.value ? d.items.push({
              start: [],
              key: c,
              sep: []
            }) : p.sep ? p.value = c : Object.assign(p, {
              key: c,
              sep: []
            });
            return;
          }
          /* istanbul ignore next should not happen */
          default:
            yield* this.pop(), yield* this.pop(c);
        }
        if ((d.type === "document" || d.type === "block-map" || d.type === "block-seq") && (c.type === "block-map" || c.type === "block-seq")) {
          const p = c.items[c.items.length - 1];
          p && !p.sep && !p.value && p.start.length > 0 && h(p.start) === -1 && (c.indent === 0 || p.start.every((m) => m.type !== "comment" || m.indent < c.indent)) && (d.type === "document" ? d.end = p.start : d.items.push({ start: p.start }), c.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 a = {
            type: "document",
            offset: this.offset,
            start: []
          };
          this.type === "doc-start" && a.start.push(this.sourceToken), this.stack.push(a);
          return;
        }
      }
      yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML stream`,
        source: this.source
      };
    }
    *document(a) {
      if (a.value) return yield* this.lineEnd(a);
      switch (this.type) {
        case "doc-start":
          h(a.start) !== -1 ? (yield* this.pop(), yield* this.step()) : a.start.push(this.sourceToken);
          return;
        case "anchor":
        case "tag":
        case "space":
        case "comment":
        case "newline":
          a.start.push(this.sourceToken);
          return;
      }
      const c = this.startBlockValue(a);
      c ? this.stack.push(c) : yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML document`,
        source: this.source
      };
    }
    *scalar(a) {
      if (this.type === "map-value-ind") {
        const c = u(n(this.peek(2)));
        let d;
        a.end ? (d = a.end, d.push(this.sourceToken), delete a.end) : d = [this.sourceToken];
        const p = {
          type: "block-map",
          offset: a.offset,
          indent: a.indent,
          items: [{
            start: c,
            key: a,
            sep: d
          }]
        };
        this.onKeyLine = !0, this.stack[this.stack.length - 1] = p;
      } else yield* this.lineEnd(a);
    }
    *blockScalar(a) {
      switch (this.type) {
        case "space":
        case "comment":
        case "newline":
          a.props.push(this.sourceToken);
          return;
        case "scalar":
          if (a.source = this.source, this.atNewLine = !0, this.indent = 0, this.onNewLine) {
            let c = this.source.indexOf(`
`) + 1;
            for (; c !== 0; )
              this.onNewLine(this.offset + c), c = this.source.indexOf(`
`, c) + 1;
          }
          yield* this.pop();
          break;
        /* istanbul ignore next should not happen */
        default:
          yield* this.pop(), yield* this.step();
      }
    }
    *blockMap(a) {
      const c = a.items[a.items.length - 1];
      switch (this.type) {
        case "newline":
          if (this.onKeyLine = !1, c.value) {
            const d = "end" in c.value ? c.value.end : void 0;
            (Array.isArray(d) ? d[d.length - 1] : void 0)?.type === "comment" ? d?.push(this.sourceToken) : a.items.push({ start: [this.sourceToken] });
          } else c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (c.value) a.items.push({ start: [this.sourceToken] });
          else if (c.sep) c.sep.push(this.sourceToken);
          else {
            if (this.atIndentedComment(c.start, a.indent)) {
              const d = a.items[a.items.length - 2]?.value?.end;
              if (Array.isArray(d)) {
                Array.prototype.push.apply(d, c.start), d.push(this.sourceToken), a.items.pop();
                return;
              }
            }
            c.start.push(this.sourceToken);
          }
          return;
      }
      if (this.indent >= a.indent) {
        const d = !this.onKeyLine && this.indent === a.indent, p = d && (c.sep || c.explicitKey) && this.type !== "seq-item-ind";
        let m = [];
        if (p && c.sep && !c.value) {
          const g = [];
          for (let v = 0; v < c.sep.length; ++v) {
            const y = c.sep[v];
            switch (y.type) {
              case "newline":
                g.push(v);
                break;
              case "space":
                break;
              case "comment":
                y.indent > a.indent && (g.length = 0);
                break;
              default:
                g.length = 0;
            }
          }
          g.length >= 2 && (m = c.sep.splice(g[1]));
        }
        switch (this.type) {
          case "anchor":
          case "tag":
            p || c.value ? (m.push(this.sourceToken), a.items.push({ start: m }), this.onKeyLine = !0) : c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
            return;
          case "explicit-key-ind":
            !c.sep && !c.explicitKey ? (c.start.push(this.sourceToken), c.explicitKey = !0) : p || c.value ? (m.push(this.sourceToken), a.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 (c.explicitKey) if (c.sep) if (c.value) a.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            });
            else if (s(c.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 (o(c.key) && !s(c.sep, "newline")) {
              const g = u(c.start), v = c.key, y = c.sep;
              y.push(this.sourceToken), delete c.key, delete c.sep, this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: g,
                  key: v,
                  sep: y
                }]
              });
            } else m.length > 0 ? c.sep = c.sep.concat(m, this.sourceToken) : c.sep.push(this.sourceToken);
            else if (s(c.start, "newline")) Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            else {
              const g = u(c.start);
              this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: g,
                  key: null,
                  sep: [this.sourceToken]
                }]
              });
            }
            else c.sep ? c.value || p ? a.items.push({
              start: m,
              key: null,
              sep: [this.sourceToken]
            }) : s(c.sep, "map-value-ind") ? this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: [],
                key: null,
                sep: [this.sourceToken]
              }]
            }) : c.sep.push(this.sourceToken) : Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            this.onKeyLine = !0;
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const g = this.flowScalar(this.type);
            p || c.value ? (a.items.push({
              start: m,
              key: g,
              sep: []
            }), this.onKeyLine = !0) : c.sep ? this.stack.push(g) : (Object.assign(c, {
              key: g,
              sep: []
            }), this.onKeyLine = !0);
            return;
          }
          default: {
            const g = this.startBlockValue(a);
            if (g) {
              if (g.type === "block-seq") {
                if (!c.explicitKey && c.sep && !s(c.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 d && a.items.push({ start: m });
              this.stack.push(g);
              return;
            }
          }
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *blockSequence(a) {
      const c = a.items[a.items.length - 1];
      switch (this.type) {
        case "newline":
          if (c.value) {
            const d = "end" in c.value ? c.value.end : void 0;
            (Array.isArray(d) ? d[d.length - 1] : void 0)?.type === "comment" ? d?.push(this.sourceToken) : a.items.push({ start: [this.sourceToken] });
          } else c.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (c.value) a.items.push({ start: [this.sourceToken] });
          else {
            if (this.atIndentedComment(c.start, a.indent)) {
              const d = a.items[a.items.length - 2]?.value?.end;
              if (Array.isArray(d)) {
                Array.prototype.push.apply(d, c.start), d.push(this.sourceToken), a.items.pop();
                return;
              }
            }
            c.start.push(this.sourceToken);
          }
          return;
        case "anchor":
        case "tag":
          if (c.value || this.indent <= a.indent) break;
          c.start.push(this.sourceToken);
          return;
        case "seq-item-ind":
          if (this.indent !== a.indent) break;
          c.value || s(c.start, "seq-item-ind") ? a.items.push({ start: [this.sourceToken] }) : c.start.push(this.sourceToken);
          return;
      }
      if (this.indent > a.indent) {
        const d = this.startBlockValue(a);
        if (d) {
          this.stack.push(d);
          return;
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *flowCollection(a) {
      const c = a.items[a.items.length - 1];
      if (this.type === "flow-error-end") {
        let d;
        do
          yield* this.pop(), d = this.peek(1);
        while (d?.type === "flow-collection");
      } else if (a.end.length === 0) {
        switch (this.type) {
          case "comma":
          case "explicit-key-ind":
            !c || c.sep ? a.items.push({ start: [this.sourceToken] }) : c.start.push(this.sourceToken);
            return;
          case "map-value-ind":
            !c || c.value ? a.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            }) : c.sep ? c.sep.push(this.sourceToken) : Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            return;
          case "space":
          case "comment":
          case "newline":
          case "anchor":
          case "tag":
            !c || c.value ? a.items.push({ start: [this.sourceToken] }) : c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const p = this.flowScalar(this.type);
            !c || c.value ? a.items.push({
              start: [],
              key: p,
              sep: []
            }) : c.sep ? this.stack.push(p) : Object.assign(c, {
              key: p,
              sep: []
            });
            return;
          }
          case "flow-map-end":
          case "flow-seq-end":
            a.end.push(this.sourceToken);
            return;
        }
        const d = this.startBlockValue(a);
        d ? this.stack.push(d) : (yield* this.pop(), yield* this.step());
      } else {
        const d = this.peek(2);
        if (d.type === "block-map" && (this.type === "map-value-ind" && d.indent === a.indent || this.type === "newline" && !d.items[d.items.length - 1].sep))
          yield* this.pop(), yield* this.step();
        else if (this.type === "map-value-ind" && d.type !== "flow-collection") {
          const p = u(n(d));
          l(a);
          const m = a.end.splice(1, a.end.length);
          m.push(this.sourceToken);
          const g = {
            type: "block-map",
            offset: a.offset,
            indent: a.indent,
            items: [{
              start: p,
              key: a,
              sep: m
            }]
          };
          this.onKeyLine = !0, this.stack[this.stack.length - 1] = g;
        } else yield* this.lineEnd(a);
      }
    }
    flowScalar(a) {
      if (this.onNewLine) {
        let c = this.source.indexOf(`
`) + 1;
        for (; c !== 0; )
          this.onNewLine(this.offset + c), c = this.source.indexOf(`
`, c) + 1;
      }
      return {
        type: a,
        offset: this.offset,
        indent: this.indent,
        source: this.source
      };
    }
    startBlockValue(a) {
      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 c = u(n(a));
          return c.push(this.sourceToken), {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: c,
              explicitKey: !0
            }]
          };
        }
        case "map-value-ind": {
          this.onKeyLine = !0;
          const c = u(n(a));
          return {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: c,
              key: null,
              sep: [this.sourceToken]
            }]
          };
        }
      }
      return null;
    }
    atIndentedComment(a, c) {
      return this.type !== "comment" || this.indent <= c ? !1 : a.every((d) => d.type === "newline" || d.type === "space");
    }
    *documentEnd(a) {
      this.type !== "doc-mode" && (a.end ? a.end.push(this.sourceToken) : a.end = [this.sourceToken], this.type === "newline" && (yield* this.pop()));
    }
    *lineEnd(a) {
      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:
          a.end ? a.end.push(this.sourceToken) : a.end = [this.sourceToken], this.type === "newline" && (yield* this.pop());
      }
    }
  };
  e.Parser = f;
})), eS = /* @__PURE__ */ P(((e) => {
  var t = Fd(), r = _s(), i = bs(), s = yd(), h = Je(), o = jd(), n = Ud();
  function u(d) {
    const p = d.prettyErrors !== !1;
    return {
      lineCounter: d.lineCounter || p && new o.LineCounter() || null,
      prettyErrors: p
    };
  }
  function l(d, p = {}) {
    const { lineCounter: m, prettyErrors: g } = u(p), v = new n.Parser(m?.addNewLine), y = new t.Composer(p), E = Array.from(y.compose(v.parse(d)));
    if (g && m) for (const b of E)
      b.errors.forEach(i.prettifyError(d, m)), b.warnings.forEach(i.prettifyError(d, m));
    return E.length > 0 ? E : Object.assign([], { empty: !0 }, y.streamInfo());
  }
  function f(d, p = {}) {
    const { lineCounter: m, prettyErrors: g } = u(p), v = new n.Parser(m?.addNewLine), y = new t.Composer(p);
    let E = null;
    for (const b of y.compose(v.parse(d), !0, d.length)) if (!E) E = b;
    else if (E.options.logLevel !== "silent") {
      E.errors.push(new i.YAMLParseError(b.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
      break;
    }
    return g && m && (E.errors.forEach(i.prettifyError(d, m)), E.warnings.forEach(i.prettifyError(d, m))), E;
  }
  function a(d, p, m) {
    let g;
    typeof p == "function" ? g = p : m === void 0 && p && typeof p == "object" && (m = p);
    const v = f(d, m);
    if (!v) return null;
    if (v.warnings.forEach((y) => s.warn(v.options.logLevel, y)), v.errors.length > 0) {
      if (v.options.logLevel !== "silent") throw v.errors[0];
      v.errors = [];
    }
    return v.toJS(Object.assign({ reviver: g }, m));
  }
  function c(d, p, m) {
    let g = null;
    if (typeof p == "function" || Array.isArray(p) ? g = p : m === void 0 && p && (m = p), typeof m == "string" && (m = m.length), typeof m == "number") {
      const v = Math.round(m);
      m = v < 1 ? void 0 : v > 8 ? { indent: 8 } : { indent: v };
    }
    if (d === void 0) {
      const { keepUndefined: v } = m ?? p ?? {};
      if (!v) return;
    }
    return h.isDocument(d) && !g ? d.toString(m) : new r.Document(d, g, m).toString(m);
  }
  e.parse = a, e.parseAllDocuments = l, e.parseDocument = f, e.stringify = c;
})), tS = /* @__PURE__ */ P(((e) => {
  var t = Fd(), r = _s(), i = kd(), s = bs(), h = ds(), o = Je(), n = Cr(), u = _t(), l = Ir(), f = kr(), a = Ll(), c = Md(), d = jd(), p = Ud(), m = eS(), g = fs();
  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 = h.Alias, e.isAlias = o.isAlias, e.isCollection = o.isCollection, e.isDocument = o.isDocument, e.isMap = o.isMap, e.isNode = o.isNode, e.isPair = o.isPair, e.isScalar = o.isScalar, e.isSeq = o.isSeq, e.Pair = n.Pair, e.Scalar = u.Scalar, e.YAMLMap = l.YAMLMap, e.YAMLSeq = f.YAMLSeq, e.CST = a, e.Lexer = c.Lexer, e.LineCounter = d.LineCounter, e.Parser = p.Parser, e.parse = m.parse, e.parseAllDocuments = m.parseAllDocuments, e.parseDocument = m.parseDocument, e.stringify = m.stringify, e.visit = g.visit, e.visitAsync = g.visitAsync;
})), rS = /* @__PURE__ */ yt({
  default: () => Hd,
  defaultPrefix: () => pd,
  distTag: () => aS,
  getEngines: () => as,
  getPeerDependencies: () => Sl,
  greatest: () => oS,
  latest: () => lS,
  list: () => sS,
  minor: () => cS,
  newest: () => uS,
  packageAuthorChanged: () => ns,
  patch: () => hS,
  pnpmApi: () => qd,
  semver: () => fS
}), Ut = tS(), iS = (0, gr.default)(async (e) => {
  const t = await On("pnpm-workspace.yaml");
  if (!t) return {};
  const r = ze.dirname(t), i = ze.join(r, ".npmrc");
  let s;
  try {
    s = await Qe.readFile(i, "utf-8");
  } catch {
    return {};
  }
  Fe(e, `
Using pnpm workspace config at ${i}:`, "verbose");
  const h = wl(_l.default.parse(s), r);
  return Fe(e, h, "verbose"), h;
}), nS = (0, gr.default)(async () => {
  const e = await On("pnpm-workspace.yaml");
  if (!e) return null;
  let t;
  try {
    t = await Qe.readFile(e, "utf-8");
  } catch {
    return null;
  }
  let r;
  try {
    r = (0, Ut.parse)(t) ?? {};
  } catch {
    return null;
  }
  const i = r.minimumReleaseAge;
  if (typeof i != "number" || isNaN(i) || i < 0) return null;
  const s = r.minimumReleaseAgeExclude;
  return {
    minimumReleaseAge: i,
    minimumReleaseAgeExclude: Array.isArray(s) ? s.filter((h) => typeof h == "string") : []
  };
}), sS = async (e = {}) => {
  if (!e.global) return gd(e);
  const { stdout: t } = await Xt("pnpm", [
    "ls",
    "-g",
    "--json"
  ]);
  return rt(JSON.parse(t)[0].dependencies || {}, (r, { version: i }) => ({ [r]: i }));
}, Lr = (e) => async (t, r, i = {}) => e(t, r, i, {}, await iS(i)), aS = Lr(Qi), oS = Lr(hi), lS = Lr(os), cS = Lr(cs), uS = Lr(ls), hS = Lr(us), fS = Lr(hs);
async function Hd(e, t = {}, r, i) {
  const { stdout: s } = await Xt("pnpm", [
    ...t.global ? "global" : [],
    ...Array.isArray(e) ? e : [e],
    ...t.prefix ? `--prefix=${t.prefix}` : []
  ], i, r);
  return s;
}
var qd = { getPnpmWorkspaceMinimumReleaseAge: nS };
function Gd(e) {
  return typeof e > "u" || e === null;
}
function dS(e) {
  return typeof e == "object" && e !== null;
}
function pS(e) {
  return Array.isArray(e) ? e : Gd(e) ? [] : [e];
}
function gS(e, t) {
  var r, i, s, h;
  if (t)
    for (h = Object.keys(t), r = 0, i = h.length; r < i; r += 1)
      s = h[r], e[s] = t[s];
  return e;
}
function mS(e, t) {
  var r = "", i;
  for (i = 0; i < t; i += 1) r += e;
  return r;
}
function vS(e) {
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
}
var vt = {
  isNothing: Gd,
  isObject: dS,
  toArray: pS,
  repeat: mS,
  isNegativeZero: vS,
  extend: gS
};
function zd(e, t) {
  var r = "", i = e.reason || "(unknown reason)";
  return e.mark ? (e.mark.name && (r += 'in "' + e.mark.name + '" '), r += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (r += `

` + e.mark.snippet), i + " " + r) : i;
}
function Ni(e, t) {
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = zd(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
}
Ni.prototype = Object.create(Error.prototype);
Ni.prototype.constructor = Ni;
Ni.prototype.toString = function(t) {
  return this.name + ": " + zd(this, t);
};
var Ot = Ni;
function Ws(e, t, r, i, s) {
  var h = "", o = "", n = Math.floor(s / 2) - 1;
  return i - t > n && (h = " ... ", t = i - n + h.length), r - i > n && (o = " ...", r = i + n - o.length), {
    str: h + e.slice(t, r).replace(/\t/g, "→") + o,
    pos: i - t + h.length
  };
}
function Vs(e, t) {
  return vt.repeat(" ", t - e.length) + e;
}
function yS(e, t) {
  if (t = Object.create(t || null), !e.buffer) return null;
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
  for (var r = /\r?\n|\r|\0/g, i = [0], s = [], h, o = -1; h = r.exec(e.buffer); )
    s.push(h.index), i.push(h.index + h[0].length), e.position <= h.index && o < 0 && (o = i.length - 2);
  o < 0 && (o = i.length - 1);
  var n = "", u, l, f = Math.min(e.line + t.linesAfter, s.length).toString().length, a = t.maxLength - (t.indent + f + 3);
  for (u = 1; u <= t.linesBefore && !(o - u < 0); u++)
    l = Ws(e.buffer, i[o - u], s[o - u], e.position - (i[o] - i[o - u]), a), n = vt.repeat(" ", t.indent) + Vs((e.line - u + 1).toString(), f) + " | " + l.str + `
` + n;
  for (l = Ws(e.buffer, i[o], s[o], e.position, a), n += vt.repeat(" ", t.indent) + Vs((e.line + 1).toString(), f) + " | " + l.str + `
`, n += vt.repeat("-", t.indent + f + 3 + l.pos) + `^
`, u = 1; u <= t.linesAfter && !(o + u >= s.length); u++)
    l = Ws(e.buffer, i[o + u], s[o + u], e.position - (i[o] - i[o + u]), a), n += vt.repeat(" ", t.indent) + Vs((e.line + u + 1).toString(), f) + " | " + l.str + `
`;
  return n.replace(/\n$/, "");
}
var _S = yS, bS = [
  "kind",
  "multi",
  "resolve",
  "construct",
  "instanceOf",
  "predicate",
  "represent",
  "representName",
  "defaultStyle",
  "styleAliases"
], wS = [
  "scalar",
  "sequence",
  "mapping"
];
function ES(e) {
  var t = {};
  return e !== null && Object.keys(e).forEach(function(r) {
    e[r].forEach(function(i) {
      t[String(i)] = r;
    });
  }), t;
}
function SS(e, t) {
  if (t = t || {}, Object.keys(t).forEach(function(r) {
    if (bS.indexOf(r) === -1) throw new Ot('Unknown option "' + r + '" is met in definition of "' + e + '" YAML type.');
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
    return !0;
  }, this.construct = t.construct || function(r) {
    return r;
  }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = ES(t.styleAliases || null), wS.indexOf(this.kind) === -1) throw new Ot('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
}
var St = SS;
function au(e, t) {
  var r = [];
  return e[t].forEach(function(i) {
    var s = r.length;
    r.forEach(function(h, o) {
      h.tag === i.tag && h.kind === i.kind && h.multi === i.multi && (s = o);
    }), r[s] = i;
  }), r;
}
function AS() {
  var e = {
    scalar: {},
    sequence: {},
    mapping: {},
    fallback: {},
    multi: {
      scalar: [],
      sequence: [],
      mapping: [],
      fallback: []
    }
  }, t, r;
  function i(s) {
    s.multi ? (e.multi[s.kind].push(s), e.multi.fallback.push(s)) : e[s.kind][s.tag] = e.fallback[s.tag] = s;
  }
  for (t = 0, r = arguments.length; t < r; t += 1) arguments[t].forEach(i);
  return e;
}
function Eo(e) {
  return this.extend(e);
}
Eo.prototype.extend = function(t) {
  var r = [], i = [];
  if (t instanceof St) i.push(t);
  else if (Array.isArray(t)) i = i.concat(t);
  else if (t && (Array.isArray(t.implicit) || Array.isArray(t.explicit)))
    t.implicit && (r = r.concat(t.implicit)), t.explicit && (i = i.concat(t.explicit));
  else throw new Ot("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
  r.forEach(function(h) {
    if (!(h instanceof St)) throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    if (h.loadKind && h.loadKind !== "scalar") throw new Ot("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
    if (h.multi) throw new Ot("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
  }), i.forEach(function(h) {
    if (!(h instanceof St)) throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.");
  });
  var s = Object.create(Eo.prototype);
  return s.implicit = (this.implicit || []).concat(r), s.explicit = (this.explicit || []).concat(i), s.compiledImplicit = au(s, "implicit"), s.compiledExplicit = au(s, "explicit"), s.compiledTypeMap = AS(s.compiledImplicit, s.compiledExplicit), s;
};
var Wd = Eo, Vd = new St("tag:yaml.org,2002:str", {
  kind: "scalar",
  construct: function(e) {
    return e !== null ? e : "";
  }
}), Yd = new St("tag:yaml.org,2002:seq", {
  kind: "sequence",
  construct: function(e) {
    return e !== null ? e : [];
  }
}), Kd = new St("tag:yaml.org,2002:map", {
  kind: "mapping",
  construct: function(e) {
    return e !== null ? e : {};
  }
}), Zd = new Wd({ explicit: [
  Vd,
  Yd,
  Kd
] });
function TS(e) {
  if (e === null) return !0;
  var t = e.length;
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
}
function DS() {
  return null;
}
function RS(e) {
  return e === null;
}
var Jd = new St("tag:yaml.org,2002:null", {
  kind: "scalar",
  resolve: TS,
  construct: DS,
  predicate: RS,
  represent: {
    canonical: function() {
      return "~";
    },
    lowercase: function() {
      return "null";
    },
    uppercase: function() {
      return "NULL";
    },
    camelcase: function() {
      return "Null";
    },
    empty: function() {
      return "";
    }
  },
  defaultStyle: "lowercase"
});
function OS(e) {
  if (e === null) return !1;
  var t = e.length;
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
}
function CS(e) {
  return e === "true" || e === "True" || e === "TRUE";
}
function IS(e) {
  return Object.prototype.toString.call(e) === "[object Boolean]";
}
var Xd = new St("tag:yaml.org,2002:bool", {
  kind: "scalar",
  resolve: OS,
  construct: CS,
  predicate: IS,
  represent: {
    lowercase: function(e) {
      return e ? "true" : "false";
    },
    uppercase: function(e) {
      return e ? "TRUE" : "FALSE";
    },
    camelcase: function(e) {
      return e ? "True" : "False";
    }
  },
  defaultStyle: "lowercase"
});
function kS(e) {
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
}
function LS(e) {
  return 48 <= e && e <= 55;
}
function $S(e) {
  return 48 <= e && e <= 57;
}
function NS(e) {
  if (e === null) return !1;
  var t = e.length, r = 0, i = !1, s;
  if (!t) return !1;
  if (s = e[r], (s === "-" || s === "+") && (s = e[++r]), s === "0") {
    if (r + 1 === t) return !0;
    if (s = e[++r], s === "b") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (s !== "0" && s !== "1") return !1;
          i = !0;
        }
      return i && s !== "_";
    }
    if (s === "x") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (!kS(e.charCodeAt(r))) return !1;
          i = !0;
        }
      return i && s !== "_";
    }
    if (s === "o") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (!LS(e.charCodeAt(r))) return !1;
          i = !0;
        }
      return i && s !== "_";
    }
  }
  if (s === "_") return !1;
  for (; r < t; r++)
    if (s = e[r], s !== "_") {
      if (!$S(e.charCodeAt(r))) return !1;
      i = !0;
    }
  return !(!i || s === "_");
}
function xS(e) {
  var t = e, r = 1, i;
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (r = -1), t = t.slice(1), i = t[0]), t === "0") return 0;
  if (i === "0") {
    if (t[1] === "b") return r * parseInt(t.slice(2), 2);
    if (t[1] === "x") return r * parseInt(t.slice(2), 16);
    if (t[1] === "o") return r * parseInt(t.slice(2), 8);
  }
  return r * parseInt(t, 10);
}
function PS(e) {
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !vt.isNegativeZero(e);
}
var Qd = new St("tag:yaml.org,2002:int", {
  kind: "scalar",
  resolve: NS,
  construct: xS,
  predicate: PS,
  represent: {
    binary: function(e) {
      return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
    },
    octal: function(e) {
      return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
    },
    decimal: function(e) {
      return e.toString(10);
    },
    hexadecimal: function(e) {
      return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
    }
  },
  defaultStyle: "decimal",
  styleAliases: {
    binary: [2, "bin"],
    octal: [8, "oct"],
    decimal: [10, "dec"],
    hexadecimal: [16, "hex"]
  }
}), BS = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
function FS(e) {
  return !(e === null || !BS.test(e) || e[e.length - 1] === "_");
}
function MS(e) {
  var t = e.replace(/_/g, "").toLowerCase(), r = t[0] === "-" ? -1 : 1;
  return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? r === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : r * parseFloat(t, 10);
}
var jS = /^[-+]?[0-9]+e/;
function US(e, t) {
  var r;
  if (isNaN(e)) switch (t) {
    case "lowercase":
      return ".nan";
    case "uppercase":
      return ".NAN";
    case "camelcase":
      return ".NaN";
  }
  else if (Number.POSITIVE_INFINITY === e) switch (t) {
    case "lowercase":
      return ".inf";
    case "uppercase":
      return ".INF";
    case "camelcase":
      return ".Inf";
  }
  else if (Number.NEGATIVE_INFINITY === e) switch (t) {
    case "lowercase":
      return "-.inf";
    case "uppercase":
      return "-.INF";
    case "camelcase":
      return "-.Inf";
  }
  else if (vt.isNegativeZero(e)) return "-0.0";
  return r = e.toString(10), jS.test(r) ? r.replace("e", ".e") : r;
}
function HS(e) {
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || vt.isNegativeZero(e));
}
var ep = new St("tag:yaml.org,2002:float", {
  kind: "scalar",
  resolve: FS,
  construct: MS,
  predicate: HS,
  represent: US,
  defaultStyle: "lowercase"
}), tp = Zd.extend({ implicit: [
  Jd,
  Xd,
  Qd,
  ep
] }), rp = tp, ip = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), np = 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 qS(e) {
  return e === null ? !1 : ip.exec(e) !== null || np.exec(e) !== null;
}
function GS(e) {
  var t, r, i, s, h, o, n, u = 0, l = null, f, a, c;
  if (t = ip.exec(e), t === null && (t = np.exec(e)), t === null) throw new Error("Date resolve error");
  if (r = +t[1], i = +t[2] - 1, s = +t[3], !t[4]) return new Date(Date.UTC(r, i, s));
  if (h = +t[4], o = +t[5], n = +t[6], t[7]) {
    for (u = t[7].slice(0, 3); u.length < 3; ) u += "0";
    u = +u;
  }
  return t[9] && (f = +t[10], a = +(t[11] || 0), l = (f * 60 + a) * 6e4, t[9] === "-" && (l = -l)), c = new Date(Date.UTC(r, i, s, h, o, n, u)), l && c.setTime(c.getTime() - l), c;
}
function zS(e) {
  return e.toISOString();
}
var sp = new St("tag:yaml.org,2002:timestamp", {
  kind: "scalar",
  resolve: qS,
  construct: GS,
  instanceOf: Date,
  represent: zS
});
function WS(e) {
  return e === "<<" || e === null;
}
var ap = new St("tag:yaml.org,2002:merge", {
  kind: "scalar",
  resolve: WS
}), $l = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
function VS(e) {
  if (e === null) return !1;
  var t, r, i = 0, s = e.length, h = $l;
  for (r = 0; r < s; r++)
    if (t = h.indexOf(e.charAt(r)), !(t > 64)) {
      if (t < 0) return !1;
      i += 6;
    }
  return i % 8 === 0;
}
function YS(e) {
  var t, r, i = e.replace(/[\r\n=]/g, ""), s = i.length, h = $l, o = 0, n = [];
  for (t = 0; t < s; t++)
    t % 4 === 0 && t && (n.push(o >> 16 & 255), n.push(o >> 8 & 255), n.push(o & 255)), o = o << 6 | h.indexOf(i.charAt(t));
  return r = s % 4 * 6, r === 0 ? (n.push(o >> 16 & 255), n.push(o >> 8 & 255), n.push(o & 255)) : r === 18 ? (n.push(o >> 10 & 255), n.push(o >> 2 & 255)) : r === 12 && n.push(o >> 4 & 255), new Uint8Array(n);
}
function KS(e) {
  var t = "", r = 0, i, s, h = e.length, o = $l;
  for (i = 0; i < h; i++)
    i % 3 === 0 && i && (t += o[r >> 18 & 63], t += o[r >> 12 & 63], t += o[r >> 6 & 63], t += o[r & 63]), r = (r << 8) + e[i];
  return s = h % 3, s === 0 ? (t += o[r >> 18 & 63], t += o[r >> 12 & 63], t += o[r >> 6 & 63], t += o[r & 63]) : s === 2 ? (t += o[r >> 10 & 63], t += o[r >> 4 & 63], t += o[r << 2 & 63], t += o[64]) : s === 1 && (t += o[r >> 2 & 63], t += o[r << 4 & 63], t += o[64], t += o[64]), t;
}
function ZS(e) {
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
}
var op = new St("tag:yaml.org,2002:binary", {
  kind: "scalar",
  resolve: VS,
  construct: YS,
  predicate: ZS,
  represent: KS
}), JS = Object.prototype.hasOwnProperty, XS = Object.prototype.toString;
function QS(e) {
  if (e === null) return !0;
  var t = [], r, i, s, h, o, n = e;
  for (r = 0, i = n.length; r < i; r += 1) {
    if (s = n[r], o = !1, XS.call(s) !== "[object Object]") return !1;
    for (h in s) if (JS.call(s, h)) if (!o) o = !0;
    else return !1;
    if (!o) return !1;
    if (t.indexOf(h) === -1) t.push(h);
    else return !1;
  }
  return !0;
}
function eA(e) {
  return e !== null ? e : [];
}
var lp = new St("tag:yaml.org,2002:omap", {
  kind: "sequence",
  resolve: QS,
  construct: eA
}), tA = Object.prototype.toString;
function rA(e) {
  if (e === null) return !0;
  var t, r, i, s, h, o = e;
  for (h = new Array(o.length), t = 0, r = o.length; t < r; t += 1) {
    if (i = o[t], tA.call(i) !== "[object Object]" || (s = Object.keys(i), s.length !== 1)) return !1;
    h[t] = [s[0], i[s[0]]];
  }
  return !0;
}
function iA(e) {
  if (e === null) return [];
  var t, r, i, s, h, o = e;
  for (h = new Array(o.length), t = 0, r = o.length; t < r; t += 1)
    i = o[t], s = Object.keys(i), h[t] = [s[0], i[s[0]]];
  return h;
}
var cp = new St("tag:yaml.org,2002:pairs", {
  kind: "sequence",
  resolve: rA,
  construct: iA
}), nA = Object.prototype.hasOwnProperty;
function sA(e) {
  if (e === null) return !0;
  var t, r = e;
  for (t in r) if (nA.call(r, t) && r[t] !== null)
    return !1;
  return !0;
}
function aA(e) {
  return e !== null ? e : {};
}
var up = new St("tag:yaml.org,2002:set", {
  kind: "mapping",
  resolve: sA,
  construct: aA
}), Nl = rp.extend({
  implicit: [sp, ap],
  explicit: [
    op,
    lp,
    cp,
    up
  ]
}), cr = Object.prototype.hasOwnProperty, Cn = 1, hp = 2, fp = 3, In = 4, Ys = 1, oA = 2, ou = 3, lA = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, cA = /[\x85\u2028\u2029]/, uA = /[,\[\]\{\}]/, dp = /^(?:!|!!|![a-z\-]+!)$/i, pp = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
function lu(e) {
  return Object.prototype.toString.call(e);
}
function Qt(e) {
  return e === 10 || e === 13;
}
function Sr(e) {
  return e === 9 || e === 32;
}
function $t(e) {
  return e === 9 || e === 32 || e === 10 || e === 13;
}
function Hr(e) {
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
}
function hA(e) {
  var t;
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
}
function fA(e) {
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
}
function dA(e) {
  return 48 <= e && e <= 57 ? e - 48 : -1;
}
function cu(e) {
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? "	" : e === 110 ? `
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
}
function pA(e) {
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
}
function gp(e, t, r) {
  t === "__proto__" ? Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !0,
    writable: !0,
    value: r
  }) : e[t] = r;
}
var mp = new Array(256), vp = new Array(256);
for (var Pr = 0; Pr < 256; Pr++)
  mp[Pr] = cu(Pr) ? 1 : 0, vp[Pr] = cu(Pr);
function gA(e, t) {
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || Nl, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
}
function yp(e, t) {
  var r = {
    name: e.filename,
    buffer: e.input.slice(0, -1),
    position: e.position,
    line: e.line,
    column: e.position - e.lineStart
  };
  return r.snippet = _S(r), new Ot(t, r);
}
function He(e, t) {
  throw yp(e, t);
}
function kn(e, t) {
  e.onWarning && e.onWarning.call(null, yp(e, t));
}
var uu = {
  YAML: function(t, r, i) {
    var s, h, o;
    t.version !== null && He(t, "duplication of %YAML directive"), i.length !== 1 && He(t, "YAML directive accepts exactly one argument"), s = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), s === null && He(t, "ill-formed argument of the YAML directive"), h = parseInt(s[1], 10), o = parseInt(s[2], 10), h !== 1 && He(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = o < 2, o !== 1 && o !== 2 && kn(t, "unsupported YAML version of the document");
  },
  TAG: function(t, r, i) {
    var s, h;
    i.length !== 2 && He(t, "TAG directive accepts exactly two arguments"), s = i[0], h = i[1], dp.test(s) || He(t, "ill-formed tag handle (first argument) of the TAG directive"), cr.call(t.tagMap, s) && He(t, 'there is a previously declared suffix for "' + s + '" tag handle'), pp.test(h) || He(t, "ill-formed tag prefix (second argument) of the TAG directive");
    try {
      h = decodeURIComponent(h);
    } catch {
      He(t, "tag prefix is malformed: " + h);
    }
    t.tagMap[s] = h;
  }
};
function ar(e, t, r, i) {
  var s, h, o, n;
  if (t < r) {
    if (n = e.input.slice(t, r), i) for (s = 0, h = n.length; s < h; s += 1)
      o = n.charCodeAt(s), o === 9 || 32 <= o && o <= 1114111 || He(e, "expected valid JSON character");
    else lA.test(n) && He(e, "the stream contains non-printable characters");
    e.result += n;
  }
}
function hu(e, t, r, i) {
  var s, h, o, n;
  for (vt.isObject(r) || He(e, "cannot merge mappings; the provided source object is unacceptable"), s = Object.keys(r), o = 0, n = s.length; o < n; o += 1)
    h = s[o], cr.call(t, h) || (gp(t, h, r[h]), i[h] = !0);
}
function qr(e, t, r, i, s, h, o, n, u) {
  var l, f;
  if (Array.isArray(s))
    for (s = Array.prototype.slice.call(s), l = 0, f = s.length; l < f; l += 1)
      Array.isArray(s[l]) && He(e, "nested arrays are not supported inside keys"), typeof s == "object" && lu(s[l]) === "[object Object]" && (s[l] = "[object Object]");
  if (typeof s == "object" && lu(s) === "[object Object]" && (s = "[object Object]"), s = String(s), t === null && (t = {}), i === "tag:yaml.org,2002:merge") if (Array.isArray(h)) for (l = 0, f = h.length; l < f; l += 1) hu(e, t, h[l], r);
  else hu(e, t, h, r);
  else
    !e.json && !cr.call(r, s) && cr.call(t, s) && (e.line = o || e.line, e.lineStart = n || e.lineStart, e.position = u || e.position, He(e, "duplicated mapping key")), gp(t, s, h), delete r[s];
  return t;
}
function xl(e) {
  var t = e.input.charCodeAt(e.position);
  t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : He(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
}
function ft(e, t, r) {
  for (var i = 0, s = e.input.charCodeAt(e.position); s !== 0; ) {
    for (; Sr(s); )
      s === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), s = e.input.charCodeAt(++e.position);
    if (t && s === 35) do
      s = e.input.charCodeAt(++e.position);
    while (s !== 10 && s !== 13 && s !== 0);
    if (Qt(s))
      for (xl(e), s = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; s === 32; )
        e.lineIndent++, s = e.input.charCodeAt(++e.position);
    else break;
  }
  return r !== -1 && i !== 0 && e.lineIndent < r && kn(e, "deficient indentation"), i;
}
function Es(e) {
  var t = e.position, r = e.input.charCodeAt(t);
  return !!((r === 45 || r === 46) && r === e.input.charCodeAt(t + 1) && r === e.input.charCodeAt(t + 2) && (t += 3, r = e.input.charCodeAt(t), r === 0 || $t(r)));
}
function Pl(e, t) {
  t === 1 ? e.result += " " : t > 1 && (e.result += vt.repeat(`
`, t - 1));
}
function mA(e, t, r) {
  var i, s, h, o, n, u, l, f, a = e.kind, c = e.result, d = e.input.charCodeAt(e.position);
  if ($t(d) || Hr(d) || d === 35 || d === 38 || d === 42 || d === 33 || d === 124 || d === 62 || d === 39 || d === 34 || d === 37 || d === 64 || d === 96 || (d === 63 || d === 45) && (s = e.input.charCodeAt(e.position + 1), $t(s) || r && Hr(s)))
    return !1;
  for (e.kind = "scalar", e.result = "", h = o = e.position, n = !1; d !== 0; ) {
    if (d === 58) {
      if (s = e.input.charCodeAt(e.position + 1), $t(s) || r && Hr(s)) break;
    } else if (d === 35) {
      if (i = e.input.charCodeAt(e.position - 1), $t(i)) break;
    } else {
      if (e.position === e.lineStart && Es(e) || r && Hr(d)) break;
      if (Qt(d))
        if (u = e.line, l = e.lineStart, f = e.lineIndent, ft(e, !1, -1), e.lineIndent >= t) {
          n = !0, d = e.input.charCodeAt(e.position);
          continue;
        } else {
          e.position = o, e.line = u, e.lineStart = l, e.lineIndent = f;
          break;
        }
    }
    n && (ar(e, h, o, !1), Pl(e, e.line - u), h = o = e.position, n = !1), Sr(d) || (o = e.position + 1), d = e.input.charCodeAt(++e.position);
  }
  return ar(e, h, o, !1), e.result ? !0 : (e.kind = a, e.result = c, !1);
}
function vA(e, t) {
  var r = e.input.charCodeAt(e.position), i, s;
  if (r !== 39) return !1;
  for (e.kind = "scalar", e.result = "", e.position++, i = s = e.position; (r = e.input.charCodeAt(e.position)) !== 0; ) if (r === 39)
    if (ar(e, i, e.position, !0), r = e.input.charCodeAt(++e.position), r === 39)
      i = e.position, e.position++, s = e.position;
    else return !0;
  else Qt(r) ? (ar(e, i, s, !0), Pl(e, ft(e, !1, t)), i = s = e.position) : e.position === e.lineStart && Es(e) ? He(e, "unexpected end of the document within a single quoted scalar") : (e.position++, s = e.position);
  He(e, "unexpected end of the stream within a single quoted scalar");
}
function yA(e, t) {
  var r, i, s, h, o, n = e.input.charCodeAt(e.position);
  if (n !== 34) return !1;
  for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0; ) {
    if (n === 34)
      return ar(e, r, e.position, !0), e.position++, !0;
    if (n === 92) {
      if (ar(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), Qt(n)) ft(e, !1, t);
      else if (n < 256 && mp[n])
        e.result += vp[n], e.position++;
      else if ((o = fA(n)) > 0) {
        for (s = o, h = 0; s > 0; s--)
          n = e.input.charCodeAt(++e.position), (o = hA(n)) >= 0 ? h = (h << 4) + o : He(e, "expected hexadecimal character");
        e.result += pA(h), e.position++;
      } else He(e, "unknown escape sequence");
      r = i = e.position;
    } else Qt(n) ? (ar(e, r, i, !0), Pl(e, ft(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Es(e) ? He(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
  }
  He(e, "unexpected end of the stream within a double quoted scalar");
}
function _A(e, t) {
  var r = !0, i, s, h, o = e.tag, n, u = e.anchor, l, f, a, c, d, p = /* @__PURE__ */ Object.create(null), m, g, v, y = e.input.charCodeAt(e.position);
  if (y === 91)
    f = 93, d = !1, n = [];
  else if (y === 123)
    f = 125, d = !0, n = {};
  else return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = n), y = e.input.charCodeAt(++e.position); y !== 0; ) {
    if (ft(e, !0, t), y = e.input.charCodeAt(e.position), y === f)
      return e.position++, e.tag = o, e.anchor = u, e.kind = d ? "mapping" : "sequence", e.result = n, !0;
    r ? y === 44 && He(e, "expected the node content, but found ','") : He(e, "missed comma between flow collection entries"), g = m = v = null, a = c = !1, y === 63 && (l = e.input.charCodeAt(e.position + 1), $t(l) && (a = c = !0, e.position++, ft(e, !0, t))), i = e.line, s = e.lineStart, h = e.position, ri(e, t, Cn, !1, !0), g = e.tag, m = e.result, ft(e, !0, t), y = e.input.charCodeAt(e.position), (c || e.line === i) && y === 58 && (a = !0, y = e.input.charCodeAt(++e.position), ft(e, !0, t), ri(e, t, Cn, !1, !0), v = e.result), d ? qr(e, n, p, g, m, v, i, s, h) : a ? n.push(qr(e, null, p, g, m, v, i, s, h)) : n.push(m), ft(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (r = !0, y = e.input.charCodeAt(++e.position)) : r = !1;
  }
  He(e, "unexpected end of the stream within a flow collection");
}
function bA(e, t) {
  var r, i, s = Ys, h = !1, o = !1, n = t, u = 0, l = !1, f, a = e.input.charCodeAt(e.position);
  if (a === 124) i = !1;
  else if (a === 62) i = !0;
  else return !1;
  for (e.kind = "scalar", e.result = ""; a !== 0; )
    if (a = e.input.charCodeAt(++e.position), a === 43 || a === 45) Ys === s ? s = a === 43 ? ou : oA : He(e, "repeat of a chomping mode identifier");
    else if ((f = dA(a)) >= 0) f === 0 ? He(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? He(e, "repeat of an indentation width identifier") : (n = t + f - 1, o = !0);
    else break;
  if (Sr(a)) {
    do
      a = e.input.charCodeAt(++e.position);
    while (Sr(a));
    if (a === 35) do
      a = e.input.charCodeAt(++e.position);
    while (!Qt(a) && a !== 0);
  }
  for (; a !== 0; ) {
    for (xl(e), e.lineIndent = 0, a = e.input.charCodeAt(e.position); (!o || e.lineIndent < n) && a === 32; )
      e.lineIndent++, a = e.input.charCodeAt(++e.position);
    if (!o && e.lineIndent > n && (n = e.lineIndent), Qt(a)) {
      u++;
      continue;
    }
    if (e.lineIndent < n) {
      s === ou ? e.result += vt.repeat(`
`, h ? 1 + u : u) : s === Ys && h && (e.result += `
`);
      break;
    }
    for (i ? Sr(a) ? (l = !0, e.result += vt.repeat(`
`, h ? 1 + u : u)) : l ? (l = !1, e.result += vt.repeat(`
`, u + 1)) : u === 0 ? h && (e.result += " ") : e.result += vt.repeat(`
`, u) : e.result += vt.repeat(`
`, h ? 1 + u : u), h = !0, o = !0, u = 0, r = e.position; !Qt(a) && a !== 0; ) a = e.input.charCodeAt(++e.position);
    ar(e, r, e.position, !1);
  }
  return !0;
}
function fu(e, t) {
  var r, i = e.tag, s = e.anchor, h = [], o, n = !1, u;
  if (e.firstTabInLine !== -1) return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = h), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, He(e, "tab characters must not be used in indentation")), !(u !== 45 || (o = e.input.charCodeAt(e.position + 1), !$t(o)))); ) {
    if (n = !0, e.position++, ft(e, !0, -1) && e.lineIndent <= t) {
      h.push(null), u = e.input.charCodeAt(e.position);
      continue;
    }
    if (r = e.line, ri(e, t, fp, !1, !0), h.push(e.result), ft(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && u !== 0) He(e, "bad indentation of a sequence entry");
    else if (e.lineIndent < t) break;
  }
  return n ? (e.tag = i, e.anchor = s, e.kind = "sequence", e.result = h, !0) : !1;
}
function wA(e, t, r) {
  var i, s, h, o, n, u, l = e.tag, f = e.anchor, a = {}, c = /* @__PURE__ */ Object.create(null), d = null, p = null, m = null, g = !1, v = !1, y;
  if (e.firstTabInLine !== -1) return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = a), y = e.input.charCodeAt(e.position); y !== 0; ) {
    if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, He(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), h = e.line, (y === 63 || y === 58) && $t(i))
      y === 63 ? (g && (qr(e, a, c, d, p, null, o, n, u), d = p = m = null), v = !0, g = !0, s = !0) : g ? (g = !1, s = !0) : He(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = i;
    else {
      if (o = e.line, n = e.lineStart, u = e.position, !ri(e, r, hp, !1, !0)) break;
      if (e.line === h) {
        for (y = e.input.charCodeAt(e.position); Sr(y); ) y = e.input.charCodeAt(++e.position);
        if (y === 58)
          y = e.input.charCodeAt(++e.position), $t(y) || He(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (qr(e, a, c, d, p, null, o, n, u), d = p = m = null), v = !0, g = !1, s = !1, d = e.tag, p = e.result;
        else if (v) He(e, "can not read an implicit mapping pair; a colon is missed");
        else
          return e.tag = l, e.anchor = f, !0;
      } else if (v) He(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
      else
        return e.tag = l, e.anchor = f, !0;
    }
    if ((e.line === h || e.lineIndent > t) && (g && (o = e.line, n = e.lineStart, u = e.position), ri(e, t, In, !0, s) && (g ? p = e.result : m = e.result), g || (qr(e, a, c, d, p, m, o, n, u), d = p = m = null), ft(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === h || e.lineIndent > t) && y !== 0) He(e, "bad indentation of a mapping entry");
    else if (e.lineIndent < t) break;
  }
  return g && qr(e, a, c, d, p, null, o, n, u), v && (e.tag = l, e.anchor = f, e.kind = "mapping", e.result = a), v;
}
function EA(e) {
  var t, r = !1, i = !1, s, h, o = e.input.charCodeAt(e.position);
  if (o !== 33) return !1;
  if (e.tag !== null && He(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (r = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (i = !0, s = "!!", o = e.input.charCodeAt(++e.position)) : s = "!", t = e.position, r) {
    do
      o = e.input.charCodeAt(++e.position);
    while (o !== 0 && o !== 62);
    e.position < e.length ? (h = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : He(e, "unexpected end of the stream within a verbatim tag");
  } else {
    for (; o !== 0 && !$t(o); )
      o === 33 && (i ? He(e, "tag suffix cannot contain exclamation marks") : (s = e.input.slice(t - 1, e.position + 1), dp.test(s) || He(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
    h = e.input.slice(t, e.position), uA.test(h) && He(e, "tag suffix cannot contain flow indicator characters");
  }
  h && !pp.test(h) && He(e, "tag name cannot contain such characters: " + h);
  try {
    h = decodeURIComponent(h);
  } catch {
    He(e, "tag name is malformed: " + h);
  }
  return r ? e.tag = h : cr.call(e.tagMap, s) ? e.tag = e.tagMap[s] + h : s === "!" ? e.tag = "!" + h : s === "!!" ? e.tag = "tag:yaml.org,2002:" + h : He(e, 'undeclared tag handle "' + s + '"'), !0;
}
function SA(e) {
  var t, r = e.input.charCodeAt(e.position);
  if (r !== 38) return !1;
  for (e.anchor !== null && He(e, "duplication of an anchor property"), r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !$t(r) && !Hr(r); ) r = e.input.charCodeAt(++e.position);
  return e.position === t && He(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
}
function AA(e) {
  var t, r, i = e.input.charCodeAt(e.position);
  if (i !== 42) return !1;
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !$t(i) && !Hr(i); ) i = e.input.charCodeAt(++e.position);
  return e.position === t && He(e, "name of an alias node must contain at least one character"), r = e.input.slice(t, e.position), cr.call(e.anchorMap, r) || He(e, 'unidentified alias "' + r + '"'), e.result = e.anchorMap[r], ft(e, !0, -1), !0;
}
function ri(e, t, r, i, s) {
  var h, o, n, u = 1, l = !1, f = !1, a, c, d, p, m, g;
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, h = o = n = In === r || fp === r, i && ft(e, !0, -1) && (l = !0, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)), u === 1) for (; EA(e) || SA(e); ) ft(e, !0, -1) ? (l = !0, n = h, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)) : n = !1;
  if (n && (n = l || s), (u === 1 || In === r) && (Cn === r || hp === r ? m = t : m = t + 1, g = e.position - e.lineStart, u === 1 ? n && (fu(e, g) || wA(e, g, m)) || _A(e, m) ? f = !0 : (o && bA(e, m) || vA(e, m) || yA(e, m) ? f = !0 : AA(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && He(e, "alias node should not have any properties")) : mA(e, m, Cn === r) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = n && fu(e, g))), e.tag === null)
    e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
  else if (e.tag === "?") {
    for (e.result !== null && e.kind !== "scalar" && He(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), a = 0, c = e.implicitTypes.length; a < c; a += 1)
      if (p = e.implicitTypes[a], p.resolve(e.result)) {
        e.result = p.construct(e.result), e.tag = p.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
        break;
      }
  } else if (e.tag !== "!") {
    if (cr.call(e.typeMap[e.kind || "fallback"], e.tag)) p = e.typeMap[e.kind || "fallback"][e.tag];
    else
      for (p = null, d = e.typeMap.multi[e.kind || "fallback"], a = 0, c = d.length; a < c; a += 1) if (e.tag.slice(0, d[a].tag.length) === d[a].tag) {
        p = d[a];
        break;
      }
    p || He(e, "unknown tag !<" + e.tag + ">"), e.result !== null && p.kind !== e.kind && He(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + p.kind + '", not "' + e.kind + '"'), p.resolve(e.result, e.tag) ? (e.result = p.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : He(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
  }
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
}
function TA(e) {
  var t = e.position, r, i, s, h = !1, o;
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ft(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
    for (h = !0, o = e.input.charCodeAt(++e.position), r = e.position; o !== 0 && !$t(o); ) o = e.input.charCodeAt(++e.position);
    for (i = e.input.slice(r, e.position), s = [], i.length < 1 && He(e, "directive name must not be less than one character in length"); o !== 0; ) {
      for (; Sr(o); ) o = e.input.charCodeAt(++e.position);
      if (o === 35) {
        do
          o = e.input.charCodeAt(++e.position);
        while (o !== 0 && !Qt(o));
        break;
      }
      if (Qt(o)) break;
      for (r = e.position; o !== 0 && !$t(o); ) o = e.input.charCodeAt(++e.position);
      s.push(e.input.slice(r, e.position));
    }
    o !== 0 && xl(e), cr.call(uu, i) ? uu[i](e, i, s) : kn(e, 'unknown document directive "' + i + '"');
  }
  if (ft(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ft(e, !0, -1)) : h && He(e, "directives end mark is expected"), ri(e, e.lineIndent - 1, In, !1, !0), ft(e, !0, -1), e.checkLineBreaks && cA.test(e.input.slice(t, e.position)) && kn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Es(e)) {
    e.input.charCodeAt(e.position) === 46 && (e.position += 3, ft(e, !0, -1));
    return;
  }
  if (e.position < e.length - 1) He(e, "end of the stream or a document separator is expected");
  else return;
}
function _p(e, t) {
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
  var r = new gA(e, t), i = e.indexOf("\0");
  for (i !== -1 && (r.position = i, He(r, "null byte is not allowed in input")), r.input += "\0"; r.input.charCodeAt(r.position) === 32; )
    r.lineIndent += 1, r.position += 1;
  for (; r.position < r.length - 1; ) TA(r);
  return r.documents;
}
function DA(e, t, r) {
  t !== null && typeof t == "object" && typeof r > "u" && (r = t, t = null);
  var i = _p(e, r);
  if (typeof t != "function") return i;
  for (var s = 0, h = i.length; s < h; s += 1) t(i[s]);
}
function RA(e, t) {
  var r = _p(e, t);
  if (r.length !== 0) {
    if (r.length === 1) return r[0];
    throw new Ot("expected a single document in the stream, but found more");
  }
}
var bp = {
  loadAll: DA,
  load: RA
}, wp = Object.prototype.toString, Ep = Object.prototype.hasOwnProperty, Bl = 65279, OA = 9, xi = 10, CA = 13, IA = 32, kA = 33, LA = 34, So = 35, $A = 37, NA = 38, xA = 39, PA = 42, Sp = 44, BA = 45, Ln = 58, FA = 61, MA = 62, jA = 63, UA = 64, Ap = 91, Tp = 93, HA = 96, Dp = 123, qA = 124, Rp = 125, Tt = {};
Tt[0] = "\\0";
Tt[7] = "\\a";
Tt[8] = "\\b";
Tt[9] = "\\t";
Tt[10] = "\\n";
Tt[11] = "\\v";
Tt[12] = "\\f";
Tt[13] = "\\r";
Tt[27] = "\\e";
Tt[34] = '\\"';
Tt[92] = "\\\\";
Tt[133] = "\\N";
Tt[160] = "\\_";
Tt[8232] = "\\L";
Tt[8233] = "\\P";
var GA = [
  "y",
  "Y",
  "yes",
  "Yes",
  "YES",
  "on",
  "On",
  "ON",
  "n",
  "N",
  "no",
  "No",
  "NO",
  "off",
  "Off",
  "OFF"
], zA = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
function WA(e, t) {
  var r, i, s, h, o, n, u;
  if (t === null) return {};
  for (r = {}, i = Object.keys(t), s = 0, h = i.length; s < h; s += 1)
    o = i[s], n = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), u = e.compiledTypeMap.fallback[o], u && Ep.call(u.styleAliases, n) && (n = u.styleAliases[n]), r[o] = n;
  return r;
}
function VA(e) {
  var t = e.toString(16).toUpperCase(), r, i;
  if (e <= 255)
    r = "x", i = 2;
  else if (e <= 65535)
    r = "u", i = 4;
  else if (e <= 4294967295)
    r = "U", i = 8;
  else throw new Ot("code point within a string may not be greater than 0xFFFFFFFF");
  return "\\" + r + vt.repeat("0", i - t.length) + t;
}
var YA = 1, Pi = 2;
function KA(e) {
  this.schema = e.schema || Nl, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = vt.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = WA(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Pi : YA, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
}
function du(e, t) {
  for (var r = vt.repeat(" ", t), i = 0, s = -1, h = "", o, n = e.length; i < n; )
    s = e.indexOf(`
`, i), s === -1 ? (o = e.slice(i), i = n) : (o = e.slice(i, s + 1), i = s + 1), o.length && o !== `
` && (h += r), h += o;
  return h;
}
function Ao(e, t) {
  return `
` + vt.repeat(" ", e.indent * t);
}
function ZA(e, t) {
  var r, i, s;
  for (r = 0, i = e.implicitTypes.length; r < i; r += 1)
    if (s = e.implicitTypes[r], s.resolve(t)) return !0;
  return !1;
}
function $n(e) {
  return e === IA || e === OA;
}
function Bi(e) {
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Bl || 65536 <= e && e <= 1114111;
}
function pu(e) {
  return Bi(e) && e !== Bl && e !== CA && e !== xi;
}
function gu(e, t, r) {
  var i = pu(e), s = i && !$n(e);
  return (r ? i : i && e !== Sp && e !== Ap && e !== Tp && e !== Dp && e !== Rp) && e !== So && !(t === Ln && !s) || pu(t) && !$n(t) && e === So || t === Ln && s;
}
function JA(e) {
  return Bi(e) && e !== Bl && !$n(e) && e !== BA && e !== jA && e !== Ln && e !== Sp && e !== Ap && e !== Tp && e !== Dp && e !== Rp && e !== So && e !== NA && e !== PA && e !== kA && e !== qA && e !== FA && e !== MA && e !== xA && e !== LA && e !== $A && e !== UA && e !== HA;
}
function XA(e) {
  return !$n(e) && e !== Ln;
}
function Si(e, t) {
  var r = e.charCodeAt(t), i;
  return r >= 55296 && r <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (r - 55296) * 1024 + i - 56320 + 65536 : r;
}
function Op(e) {
  return /^\n* /.test(e);
}
var Cp = 1, To = 2, Ip = 3, kp = 4, jr = 5;
function QA(e, t, r, i, s, h, o, n) {
  var u, l = 0, f = null, a = !1, c = !1, d = i !== -1, p = -1, m = JA(Si(e, 0)) && XA(Si(e, e.length - 1));
  if (t || o) for (u = 0; u < e.length; l >= 65536 ? u += 2 : u++) {
    if (l = Si(e, u), !Bi(l)) return jr;
    m = m && gu(l, f, n), f = l;
  }
  else {
    for (u = 0; u < e.length; l >= 65536 ? u += 2 : u++) {
      if (l = Si(e, u), l === xi)
        a = !0, d && (c = c || u - p - 1 > i && e[p + 1] !== " ", p = u);
      else if (!Bi(l)) return jr;
      m = m && gu(l, f, n), f = l;
    }
    c = c || d && u - p - 1 > i && e[p + 1] !== " ";
  }
  return !a && !c ? m && !o && !s(e) ? Cp : h === Pi ? jr : To : r > 9 && Op(e) ? jr : o ? h === Pi ? jr : To : c ? kp : Ip;
}
function eT(e, t, r, i, s) {
  e.dump = (function() {
    if (t.length === 0) return e.quotingType === Pi ? '""' : "''";
    if (!e.noCompatMode && (GA.indexOf(t) !== -1 || zA.test(t)))
      return e.quotingType === Pi ? '"' + t + '"' : "'" + t + "'";
    var h = e.indent * Math.max(1, r), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - h), n = i || e.flowLevel > -1 && r >= e.flowLevel;
    function u(l) {
      return ZA(e, l);
    }
    switch (QA(t, n, e.indent, o, u, e.quotingType, e.forceQuotes && !i, s)) {
      case Cp:
        return t;
      case To:
        return "'" + t.replace(/'/g, "''") + "'";
      case Ip:
        return "|" + mu(t, e.indent) + vu(du(t, h));
      case kp:
        return ">" + mu(t, e.indent) + vu(du(tT(t, o), h));
      case jr:
        return '"' + rT(t) + '"';
      default:
        throw new Ot("impossible error: invalid scalar style");
    }
  })();
}
function mu(e, t) {
  var r = Op(e) ? String(t) : "", i = e[e.length - 1] === `
`;
  return r + (i && (e[e.length - 2] === `
` || e === `
`) ? "+" : i ? "" : "-") + `
`;
}
function vu(e) {
  return e[e.length - 1] === `
` ? e.slice(0, -1) : e;
}
function tT(e, t) {
  for (var r = /(\n+)([^\n]*)/g, i = (function() {
    var l = e.indexOf(`
`);
    return l = l !== -1 ? l : e.length, r.lastIndex = l, yu(e.slice(0, l), t);
  })(), s = e[0] === `
` || e[0] === " ", h, o; o = r.exec(e); ) {
    var n = o[1], u = o[2];
    h = u[0] === " ", i += n + (!s && !h && u !== "" ? `
` : "") + yu(u, t), s = h;
  }
  return i;
}
function yu(e, t) {
  if (e === "" || e[0] === " ") return e;
  for (var r = / [^ ]/g, i, s = 0, h, o = 0, n = 0, u = ""; i = r.exec(e); )
    n = i.index, n - s > t && (h = o > s ? o : n, u += `
` + e.slice(s, h), s = h + 1), o = n;
  return u += `
`, e.length - s > t && o > s ? u += e.slice(s, o) + `
` + e.slice(o + 1) : u += e.slice(s), u.slice(1);
}
function rT(e) {
  for (var t = "", r = 0, i, s = 0; s < e.length; r >= 65536 ? s += 2 : s++)
    r = Si(e, s), i = Tt[r], !i && Bi(r) ? (t += e[s], r >= 65536 && (t += e[s + 1])) : t += i || VA(r);
  return t;
}
function iT(e, t, r) {
  var i = "", s = e.tag, h, o, n;
  for (h = 0, o = r.length; h < o; h += 1)
    n = r[h], e.replacer && (n = e.replacer.call(r, String(h), n)), (ir(e, t, n, !1, !1) || typeof n > "u" && ir(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
  e.tag = s, e.dump = "[" + i + "]";
}
function _u(e, t, r, i) {
  var s = "", h = e.tag, o, n, u;
  for (o = 0, n = r.length; o < n; o += 1)
    u = r[o], e.replacer && (u = e.replacer.call(r, String(o), u)), (ir(e, t + 1, u, !0, !0, !1, !0) || typeof u > "u" && ir(e, t + 1, null, !0, !0, !1, !0)) && ((!i || s !== "") && (s += Ao(e, t)), e.dump && xi === e.dump.charCodeAt(0) ? s += "-" : s += "- ", s += e.dump);
  e.tag = h, e.dump = s || "[]";
}
function nT(e, t, r) {
  var i = "", s = e.tag, h = Object.keys(r), o, n, u, l, f;
  for (o = 0, n = h.length; o < n; o += 1)
    f = "", i !== "" && (f += ", "), e.condenseFlow && (f += '"'), u = h[o], l = r[u], e.replacer && (l = e.replacer.call(r, u, l)), ir(e, t, u, !1, !1) && (e.dump.length > 1024 && (f += "? "), f += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ir(e, t, l, !1, !1) && (f += e.dump, i += f));
  e.tag = s, e.dump = "{" + i + "}";
}
function sT(e, t, r, i) {
  var s = "", h = e.tag, o = Object.keys(r), n, u, l, f, a, c;
  if (e.sortKeys === !0) o.sort();
  else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
  else if (e.sortKeys) throw new Ot("sortKeys must be a boolean or a function");
  for (n = 0, u = o.length; n < u; n += 1)
    c = "", (!i || s !== "") && (c += Ao(e, t)), l = o[n], f = r[l], e.replacer && (f = e.replacer.call(r, l, f)), ir(e, t + 1, l, !0, !0, !0) && (a = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, a && (e.dump && xi === e.dump.charCodeAt(0) ? c += "?" : c += "? "), c += e.dump, a && (c += Ao(e, t)), ir(e, t + 1, f, !0, a) && (e.dump && xi === e.dump.charCodeAt(0) ? c += ":" : c += ": ", c += e.dump, s += c));
  e.tag = h, e.dump = s || "{}";
}
function bu(e, t, r) {
  var i, s = r ? e.explicitTypes : e.implicitTypes, h, o, n, u;
  for (h = 0, o = s.length; h < o; h += 1)
    if (n = s[h], (n.instanceOf || n.predicate) && (!n.instanceOf || typeof t == "object" && t instanceof n.instanceOf) && (!n.predicate || n.predicate(t))) {
      if (r ? n.multi && n.representName ? e.tag = n.representName(t) : e.tag = n.tag : e.tag = "?", n.represent) {
        if (u = e.styleMap[n.tag] || n.defaultStyle, wp.call(n.represent) === "[object Function]") i = n.represent(t, u);
        else if (Ep.call(n.represent, u)) i = n.represent[u](t, u);
        else throw new Ot("!<" + n.tag + '> tag resolver accepts not "' + u + '" style');
        e.dump = i;
      }
      return !0;
    }
  return !1;
}
function ir(e, t, r, i, s, h, o) {
  e.tag = null, e.dump = r, bu(e, r, !1) || bu(e, r, !0);
  var n = wp.call(e.dump), u = i, l;
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
  var f = n === "[object Object]" || n === "[object Array]", a, c;
  if (f && (a = e.duplicates.indexOf(r), c = a !== -1), (e.tag !== null && e.tag !== "?" || c || e.indent !== 2 && t > 0) && (s = !1), c && e.usedDuplicates[a]) e.dump = "*ref_" + a;
  else {
    if (f && c && !e.usedDuplicates[a] && (e.usedDuplicates[a] = !0), n === "[object Object]") i && Object.keys(e.dump).length !== 0 ? (sT(e, t, e.dump, s), c && (e.dump = "&ref_" + a + e.dump)) : (nT(e, t, e.dump), c && (e.dump = "&ref_" + a + " " + e.dump));
    else if (n === "[object Array]") i && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? _u(e, t - 1, e.dump, s) : _u(e, t, e.dump, s), c && (e.dump = "&ref_" + a + e.dump)) : (iT(e, t, e.dump), c && (e.dump = "&ref_" + a + " " + e.dump));
    else if (n === "[object String]")
      e.tag !== "?" && eT(e, e.dump, t, h, u);
    else {
      if (n === "[object Undefined]") return !1;
      if (e.skipInvalid) return !1;
      throw new Ot("unacceptable kind of an object to dump " + n);
    }
    e.tag !== null && e.tag !== "?" && (l = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), e.tag[0] === "!" ? l = "!" + l : l.slice(0, 18) === "tag:yaml.org,2002:" ? l = "!!" + l.slice(18) : l = "!<" + l + ">", e.dump = l + " " + e.dump);
  }
  return !0;
}
function aT(e, t) {
  var r = [], i = [], s, h;
  for (Do(e, r, i), s = 0, h = i.length; s < h; s += 1) t.duplicates.push(r[i[s]]);
  t.usedDuplicates = new Array(h);
}
function Do(e, t, r) {
  var i, s, h;
  if (e !== null && typeof e == "object")
    if (s = t.indexOf(e), s !== -1)
      r.indexOf(s) === -1 && r.push(s);
    else if (t.push(e), Array.isArray(e)) for (s = 0, h = e.length; s < h; s += 1) Do(e[s], t, r);
    else
      for (i = Object.keys(e), s = 0, h = i.length; s < h; s += 1) Do(e[i[s]], t, r);
}
function oT(e, t) {
  t = t || {};
  var r = new KA(t);
  r.noRefs || aT(e, r);
  var i = e;
  return r.replacer && (i = r.replacer.call({ "": i }, "", i)), ir(r, 0, i, !0, !0) ? r.dump + `
` : "";
}
var lT = { dump: oT };
function Fl(e, t) {
  return function() {
    throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
  };
}
var cT = St, uT = Wd, hT = Zd, fT = tp, dT = rp, pT = Nl, gT = bp.load, mT = bp.loadAll, vT = lT.dump, yT = Ot, _T = {
  binary: op,
  float: ep,
  map: Kd,
  null: Jd,
  pairs: cp,
  set: up,
  timestamp: sp,
  bool: Xd,
  int: Qd,
  merge: ap,
  omap: lp,
  seq: Yd,
  str: Vd
}, bT = Fl("safeLoad", "load"), wT = Fl("safeLoadAll", "loadAll"), ET = Fl("safeDump", "dump"), Fi = {
  Type: cT,
  Schema: uT,
  FAILSAFE_SCHEMA: hT,
  JSON_SCHEMA: fT,
  CORE_SCHEMA: dT,
  DEFAULT_SCHEMA: pT,
  load: gT,
  loadAll: mT,
  dump: vT,
  YAMLException: yT,
  types: _T,
  safeLoad: bT,
  safeLoadAll: wT,
  safeDump: ET
}, ST = /* @__PURE__ */ P(((e, t) => {
  var r = ge("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, h) {
    for (var o = 0; o < s.length; o++)
      if (s[o] !== "") {
        var n = null, u = null;
        try {
          u = JSON.parse(s[o]);
        } catch (l) {
          l.source = s[o], n = l;
        }
        if (n) if (this._emitInvalidLines) this.emit("invalid-line", n);
        else return h(n);
        else this.push(u);
      }
    h(null);
  }, i.prototype._transform = function(s, h, o) {
    var n = (this._memory + s.toString()).split(`
`);
    this._memory = n.pop(), this._handleLines(n, o);
  }, i.prototype._flush = function(s) {
    if (!this._memory) return s(null);
    var h = this._memory;
    this._memory = "", this._handleLines([h], s);
  }, t.exports = i;
})), AT = /* @__PURE__ */ P(((e, t) => {
  var r = ge("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, h, o) {
    var n;
    try {
      n = JSON.stringify(s);
    } catch (u) {
      return u.source = s, o(u);
    }
    o(null, n + `
`);
  }, t.exports = i;
})), TT = /* @__PURE__ */ P(((e) => {
  var t = ST(), r = AT();
  e.parse = function(s) {
    return new t(s);
  };
})), DT = /* @__PURE__ */ yt({
  default: () => Ul,
  defaultPrefix: () => IT,
  distTag: () => LT,
  getEngines: () => jT,
  getPathToLookForYarnrc: () => Ml,
  getPeerDependencies: () => MT,
  greatest: () => $T,
  latest: () => NT,
  list: () => kT,
  minor: () => xT,
  newest: () => PT,
  npmAuthTokenKeyValue: () => Ro,
  packageAuthorChanged: () => UT,
  patch: () => BT,
  semver: () => FT,
  yarnApi: () => Np
}), Lp = /* @__PURE__ */ Nt(TT(), 1), $p = (e, t) => e.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g, (r, i, s, h, o) => t[i] || (h ? o : "")), Ro = Vo((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`]: $p(r.npmAuthToken, process.env) };
    }
  }
  return null;
}), wu = (e, t) => t.npmRegistryServer ? { [`@${e}:registry`]: $p(t.npmRegistryServer, process.env) } : null;
async function Ml(e, t = Qe.readdir) {
  if (e.global) return;
  const r = (await Vh(e, t))?.directoryPath;
  if (r)
    return ze.join(r, ".yarnrc.yml");
}
var jl = (0, gr.default)(async (e) => {
  const t = await Ml(e), r = ze.join(Zr.homedir(), ".yarnrc.yml"), i = typeof t == "string" && await Ii(t), s = await Ii(r), h = i ? await Qe.readFile(t, "utf-8") : "", o = s ? await Qe.readFile(r, "utf-8") : "", n = Fi.load(h), u = Fi.load(o);
  let l = {
    ...rt(u?.npmScopes || {}, wu),
    ...rt(n?.npmScopes || {}, wu)
  };
  return l = {
    ...l,
    ...rt(u?.npmScopes || {}, Ro(l)),
    ...rt(n?.npmScopes || {}, Ro(l))
  }, 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(l) && (Fe(e, `
Merged yarn config in npm format:`, "verbose"), Fe(e, l, "verbose")), l;
}), RT = (0, gr.default)(async (e) => {
  const t = await Ml(e), r = ze.join(Zr.homedir(), ".yarnrc.yml");
  for (const i of [t, r]) {
    if (!i || !await Ii(i)) continue;
    let s;
    try {
      s = await Qe.readFile(i, "utf-8");
    } catch {
      continue;
    }
    let h;
    try {
      h = Fi.load(s) ?? {};
    } catch {
      continue;
    }
    const { npmMinimalAgeGate: o } = h;
    if (typeof o != "number" || isNaN(o) || o <= 0) continue;
    const n = h.npmPreapprovedPackages;
    return {
      npmMinimalAgeGate: o,
      npmPreapprovedPackages: Array.isArray(n) ? n.filter((u) => typeof u == "string") : []
    };
  }
  return null;
});
function OT(e) {
  return new Promise((t, r) => {
    const i = {}, s = Lp.parse();
    s.on("data", (h) => {
      if (h.type === "info" && !h.data.match(/^Visit/)) {
        const [, o, n] = h.data.match(/"(@?.*)@(.*)"/) || [];
        i[o] = {
          version: n,
          from: o
        };
      } else h.type === "error" && r(new Error(h.data));
    }), s.on("end", () => {
      t({ dependencies: i });
    }), s.on("error", r), s.write(e), s.end();
  });
}
function CT(e) {
  return new Promise((t, r) => {
    const i = Lp.parse();
    let s = !1;
    i.on("data", (h) => {
      s || (s = !0, t(JSON.stringify(h)));
    }), i.on("error", r), i.write(e), i.end();
  });
}
async function Ul(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await Xt("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 IT(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  const { stdout: t } = await Xt("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 kT = async (e = {}, t) => rt((await OT(await Ul("list", e, {}, {
  ...e.cwd ? { cwd: e.cwd } : {},
  ...t
}))).dependencies, (r, i) => ({ [r]: i.version || i.required?.version })), $r = (e) => async (t, r, i = {}) => e(t, r, i, await jl(i)), LT = $r(Qi), $T = $r(hi), NT = $r(os), xT = $r(cs), PT = $r(ls), BT = $r(us), FT = $r(hs), MT = async (e, t, r) => {
  const { stdout: i } = await Xt("yarn", ["--version"], { rejectOnError: !1 }, r);
  if (i.startsWith("1")) {
    const s = [
      "--json",
      "info",
      `${e}@${t}`,
      "peerDependencies"
    ], { stdout: h } = await Xt("yarn", s, { rejectOnError: !1 }, r);
    return h ? Yr(h, { command: s.join(" ") }).data || {} : {};
  } else {
    const s = [
      "--json",
      "npm",
      "info",
      `${e}@${t}`,
      "--fields",
      "peerDependencies"
    ], { stdout: h } = await Xt("yarn", s, { rejectOnError: !1 }, r);
    if (!h) return {};
    try {
      return Yr(h, { command: s.join(" ") }).peerDependencies || {};
    } catch (o) {
      try {
        const n = await CT(h);
        if (n) return Yr(n, { command: s.join(" ") }).peerDependencies || {};
      } catch {
      }
      throw o;
    }
  }
}, jT = async (e, t, r = {}) => as(e, t, r, await jl(r)), UT = async (e, t, r, i = {}) => ns(e, t, r, i, await jl(i)), Np = { getYarnMinimalAgeGate: RT };
function Ve(e, t, { color: r = !0 } = {}) {
  if (e.cli)
    Fe(e, r ? ve.red(t) : t, null, "error"), process.exit(1);
  else throw new Error(t);
}
var Hl = async (e, t) => {
  let r, i;
  try {
    i = await Qe.readFile(t, "utf-8"), r = JSON.parse(i);
  } catch {
    Ve(e, `Missing or invalid ${t}`);
  }
  return {
    name: void 0,
    pkg: r,
    pkgFile: i,
    filepath: t
  };
}, vL = Object.freeze({ status: "aborted" });
function ke(e, t, r) {
  function i(n, u) {
    if (n._zod || Object.defineProperty(n, "_zod", {
      value: {
        def: u,
        constr: o,
        traits: /* @__PURE__ */ new Set()
      },
      enumerable: !1
    }), n._zod.traits.has(e)) return;
    n._zod.traits.add(e), t(n, u);
    const l = o.prototype, f = Object.keys(l);
    for (let a = 0; a < f.length; a++) {
      const c = f[a];
      c in n || (n[c] = l[c].bind(n));
    }
  }
  const s = r?.Parent ?? Object;
  class h extends s {
  }
  Object.defineProperty(h, "name", { value: e });
  function o(n) {
    var u;
    const l = r?.Parent ? new h() : this;
    i(l, n), (u = l._zod).deferred ?? (u.deferred = []);
    for (const f of l._zod.deferred) f();
    return l;
  }
  return Object.defineProperty(o, "init", { value: i }), Object.defineProperty(o, Symbol.hasInstance, { value: (n) => r?.Parent && n instanceof r.Parent ? !0 : n?._zod?.traits?.has(e) }), Object.defineProperty(o, "name", { value: e }), o;
}
var Kr = class extends Error {
  constructor() {
    super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
  }
}, xp = class extends Error {
  constructor(e) {
    super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
  }
}, Oo = {};
function ur(e) {
  return e && Object.assign(Oo, e), Oo;
}
function Pp(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 Co(e, t) {
  return typeof t == "bigint" ? t.toString() : t;
}
function ql(e) {
  return { get value() {
    {
      const t = e();
      return Object.defineProperty(this, "value", { value: t }), t;
    }
    throw new Error("cached value already set");
  } };
}
function Gl(e) {
  return e == null;
}
function zl(e) {
  const t = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
  return e.slice(t, r);
}
var Eu = /* @__PURE__ */ Symbol("evaluating");
function et(e, t, r) {
  let i;
  Object.defineProperty(e, t, {
    get() {
      if (i !== Eu)
        return i === void 0 && (i = Eu, i = r()), i;
    },
    set(s) {
      Object.defineProperty(e, t, { value: s });
    },
    configurable: !0
  });
}
function Nr(e, t, r) {
  Object.defineProperty(e, t, {
    value: r,
    writable: !0,
    enumerable: !0,
    configurable: !0
  });
}
function mr(...e) {
  const t = {};
  for (const r of e) Object.assign(t, Object.getOwnPropertyDescriptors(r));
  return Object.defineProperties({}, t);
}
function Su(e) {
  return JSON.stringify(e);
}
function HT(e) {
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
var Bp = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
};
function Nn(e) {
  return typeof e == "object" && e !== null && !Array.isArray(e);
}
var qT = ql(() => {
  if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
  try {
    return new Function(""), !0;
  } catch {
    return !1;
  }
});
function ii(e) {
  if (Nn(e) === !1) return !1;
  const t = e.constructor;
  if (t === void 0 || typeof t != "function") return !0;
  const r = t.prototype;
  return !(Nn(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
}
function Fp(e) {
  return ii(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
}
var GT = /* @__PURE__ */ new Set([
  "string",
  "number",
  "symbol"
]);
function Ss(e) {
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function vr(e, t, r) {
  const i = new e._zod.constr(t ?? e._zod.def);
  return (!t || r?.parent) && (i._zod.parent = e), i;
}
function qe(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 zT(e) {
  return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
}
var yL = {
  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 WT(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 vr(e, mr(e._zod.def, {
    get shape() {
      const s = {};
      for (const h in t) {
        if (!(h in r.shape)) throw new Error(`Unrecognized key: "${h}"`);
        t[h] && (s[h] = r.shape[h]);
      }
      return Nr(this, "shape", s), s;
    },
    checks: []
  }));
}
function VT(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 vr(e, mr(e._zod.def, {
    get shape() {
      const s = { ...e._zod.def.shape };
      for (const h in t) {
        if (!(h in r.shape)) throw new Error(`Unrecognized key: "${h}"`);
        t[h] && delete s[h];
      }
      return Nr(this, "shape", s), s;
    },
    checks: []
  }));
}
function YT(e, t) {
  if (!ii(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 vr(e, mr(e._zod.def, { get shape() {
    const i = {
      ...e._zod.def.shape,
      ...t
    };
    return Nr(this, "shape", i), i;
  } }));
}
function KT(e, t) {
  if (!ii(t)) throw new Error("Invalid input to safeExtend: expected a plain object");
  return vr(e, mr(e._zod.def, { get shape() {
    const r = {
      ...e._zod.def.shape,
      ...t
    };
    return Nr(this, "shape", r), r;
  } }));
}
function ZT(e, t) {
  return vr(e, mr(e._zod.def, {
    get shape() {
      const r = {
        ...e._zod.def.shape,
        ...t._zod.def.shape
      };
      return Nr(this, "shape", r), r;
    },
    get catchall() {
      return t._zod.def.catchall;
    },
    checks: []
  }));
}
function JT(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 vr(t, mr(t._zod.def, {
    get shape() {
      const s = t._zod.def.shape, h = { ...s };
      if (r) for (const o in r) {
        if (!(o in s)) throw new Error(`Unrecognized key: "${o}"`);
        r[o] && (h[o] = e ? new e({
          type: "optional",
          innerType: s[o]
        }) : s[o]);
      }
      else for (const o in s) h[o] = e ? new e({
        type: "optional",
        innerType: s[o]
      }) : s[o];
      return Nr(this, "shape", h), h;
    },
    checks: []
  }));
}
function XT(e, t, r) {
  return vr(t, mr(t._zod.def, { get shape() {
    const i = t._zod.def.shape, s = { ...i };
    if (r) for (const h in r) {
      if (!(h in s)) throw new Error(`Unrecognized key: "${h}"`);
      r[h] && (s[h] = new e({
        type: "nonoptional",
        innerType: i[h]
      }));
    }
    else for (const h in i) s[h] = new e({
      type: "nonoptional",
      innerType: i[h]
    });
    return Nr(this, "shape", s), s;
  } }));
}
function Gr(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 zr(e, t) {
  return t.map((r) => {
    var i;
    return (i = r).path ?? (i.path = []), r.path.unshift(e), r;
  });
}
function hn(e) {
  return typeof e == "string" ? e : e?.message;
}
function hr(e, t, r) {
  const i = {
    ...e,
    path: e.path ?? []
  };
  return e.message || (i.message = hn(e.inst?._zod.def?.error?.(e)) ?? hn(t?.error?.(e)) ?? hn(r.customError?.(e)) ?? hn(r.localeError?.(e)) ?? "Invalid input"), delete i.inst, delete i.continue, t?.reportInput || delete i.input, i;
}
function Wl(e) {
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
function Mi(...e) {
  const [t, r, i] = e;
  return typeof t == "string" ? {
    message: t,
    code: "custom",
    input: r,
    inst: i
  } : { ...t };
}
var Mp = (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, Co, 2), Object.defineProperty(e, "toString", {
    value: () => e.message,
    enumerable: !1
  });
}, jp = ke("$ZodError", Mp), Up = ke("$ZodError", Mp, { Parent: Error });
function QT(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 eD(e, t = (r) => r.message) {
  const r = { _errors: [] }, i = (s) => {
    for (const h of s.issues) if (h.code === "invalid_union" && h.errors.length) h.errors.map((o) => i({ issues: o }));
    else if (h.code === "invalid_key") i({ issues: h.issues });
    else if (h.code === "invalid_element") i({ issues: h.issues });
    else if (h.path.length === 0) r._errors.push(t(h));
    else {
      let o = r, n = 0;
      for (; n < h.path.length; ) {
        const u = h.path[n];
        n !== h.path.length - 1 ? o[u] = o[u] || { _errors: [] } : (o[u] = o[u] || { _errors: [] }, o[u]._errors.push(t(h))), o = o[u], n++;
      }
    }
  };
  return i(e), r;
}
var Vl = (e) => (t, r, i, s) => {
  const h = i ? Object.assign(i, { async: !1 }) : { async: !1 }, o = t._zod.run({
    value: r,
    issues: []
  }, h);
  if (o instanceof Promise) throw new Kr();
  if (o.issues.length) {
    const n = new (s?.Err ?? e)(o.issues.map((u) => hr(u, h, ur())));
    throw Bp(n, s?.callee), n;
  }
  return o.value;
}, Yl = (e) => async (t, r, i, s) => {
  const h = i ? Object.assign(i, { async: !0 }) : { async: !0 };
  let o = t._zod.run({
    value: r,
    issues: []
  }, h);
  if (o instanceof Promise && (o = await o), o.issues.length) {
    const n = new (s?.Err ?? e)(o.issues.map((u) => hr(u, h, ur())));
    throw Bp(n, s?.callee), n;
  }
  return o.value;
}, As = (e) => (t, r, i) => {
  const s = i ? {
    ...i,
    async: !1
  } : { async: !1 }, h = t._zod.run({
    value: r,
    issues: []
  }, s);
  if (h instanceof Promise) throw new Kr();
  return h.issues.length ? {
    success: !1,
    error: new (e ?? jp)(h.issues.map((o) => hr(o, s, ur())))
  } : {
    success: !0,
    data: h.value
  };
}, tD = /* @__PURE__ */ As(Up), Ts = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { async: !0 }) : { async: !0 };
  let h = t._zod.run({
    value: r,
    issues: []
  }, s);
  return h instanceof Promise && (h = await h), h.issues.length ? {
    success: !1,
    error: new e(h.issues.map((o) => hr(o, s, ur())))
  } : {
    success: !0,
    data: h.value
  };
}, rD = /* @__PURE__ */ Ts(Up), iD = (e) => (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return Vl(e)(t, r, s);
}, nD = (e) => (t, r, i) => Vl(e)(t, r, i), sD = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return Yl(e)(t, r, s);
}, aD = (e) => async (t, r, i) => Yl(e)(t, r, i), oD = (e) => (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return As(e)(t, r, s);
}, lD = (e) => (t, r, i) => As(e)(t, r, i), cD = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return Ts(e)(t, r, s);
}, uD = (e) => async (t, r, i) => Ts(e)(t, r, i), hD = /^[cC][^\s-]{8,}$/, fD = /^[0-9a-z]+$/, dD = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, pD = /^[0-9a-vA-V]{20}$/, gD = /^[A-Za-z0-9]{27}$/, mD = /^[a-zA-Z0-9_-]{21}$/, vD = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, yD = /^([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})$/, Au = (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)$/, _D = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, bD = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
function wD() {
  return new RegExp(bD, "u");
}
var ED = /^(?:(?: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])$/, SD = /^(([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}|:))$/, AD = /^((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])$/, TD = /^(([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])$/, DD = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Hp = /^[A-Za-z0-9_-]*$/, RD = /^\+[1-9]\d{6,14}$/, qp = "(?:(?:\\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])))", OD = /* @__PURE__ */ new RegExp(`^${qp}$`);
function Gp(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 CD(e) {
  return new RegExp(`^${Gp(e)}$`);
}
function ID(e) {
  const t = Gp({ 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(`^${qp}T(?:${i})$`);
}
var kD = (e) => {
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
  return new RegExp(`^${t}$`);
}, LD = /^-?\d+(?:\.\d+)?$/, $D = /^[^A-Z]*$/, ND = /^[^a-z]*$/, tr = /* @__PURE__ */ ke("$ZodCheck", (e, t) => {
  var r;
  e._zod ?? (e._zod = {}), e._zod.def = t, (r = e._zod).onattach ?? (r.onattach = []);
}), xD = /* @__PURE__ */ ke("$ZodCheckMaxLength", (e, t) => {
  var r;
  tr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !Gl(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 h = Wl(s);
    i.issues.push({
      origin: h,
      code: "too_big",
      maximum: t.maximum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), PD = /* @__PURE__ */ ke("$ZodCheckMinLength", (e, t) => {
  var r;
  tr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !Gl(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 h = Wl(s);
    i.issues.push({
      origin: h,
      code: "too_small",
      minimum: t.minimum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), BD = /* @__PURE__ */ ke("$ZodCheckLengthEquals", (e, t) => {
  var r;
  tr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !Gl(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, h = s.length;
    if (h === t.length) return;
    const o = Wl(s), n = h > t.length;
    i.issues.push({
      origin: o,
      ...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
    });
  };
}), Ds = /* @__PURE__ */ ke("$ZodCheckStringFormat", (e, t) => {
  var r, i;
  tr.init(e, t), e._zod.onattach.push((s) => {
    const h = s._zod.bag;
    h.format = t.format, t.pattern && (h.patterns ?? (h.patterns = /* @__PURE__ */ new Set()), h.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 = () => {
  });
}), FD = /* @__PURE__ */ ke("$ZodCheckRegex", (e, t) => {
  Ds.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
    });
  };
}), MD = /* @__PURE__ */ ke("$ZodCheckLowerCase", (e, t) => {
  t.pattern ?? (t.pattern = $D), Ds.init(e, t);
}), jD = /* @__PURE__ */ ke("$ZodCheckUpperCase", (e, t) => {
  t.pattern ?? (t.pattern = ND), Ds.init(e, t);
}), UD = /* @__PURE__ */ ke("$ZodCheckIncludes", (e, t) => {
  tr.init(e, t);
  const r = Ss(t.includes), i = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${r}` : r);
  t.pattern = i, e._zod.onattach.push((s) => {
    const h = s._zod.bag;
    h.patterns ?? (h.patterns = /* @__PURE__ */ new Set()), h.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
    });
  };
}), HD = /* @__PURE__ */ ke("$ZodCheckStartsWith", (e, t) => {
  tr.init(e, t);
  const r = new RegExp(`^${Ss(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
    });
  };
}), qD = /* @__PURE__ */ ke("$ZodCheckEndsWith", (e, t) => {
  tr.init(e, t);
  const r = new RegExp(`.*${Ss(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
    });
  };
}), GD = /* @__PURE__ */ ke("$ZodCheckOverwrite", (e, t) => {
  tr.init(e, t), e._zod.check = (r) => {
    r.value = t.tx(r.value);
  };
}), zD = 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(`
`));
  }
}, WD = {
  major: 4,
  minor: 3,
  patch: 6
}, pt = /* @__PURE__ */ ke("$ZodType", (e, t) => {
  var r;
  e ?? (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = WD;
  const i = [...e._zod.def.checks ?? []];
  e._zod.traits.has("$ZodCheck") && i.unshift(e);
  for (const s of i) for (const h of s._zod.onattach) h(e);
  if (i.length === 0)
    (r = e._zod).deferred ?? (r.deferred = []), e._zod.deferred?.push(() => {
      e._zod.run = e._zod.parse;
    });
  else {
    const s = (o, n, u) => {
      let l = Gr(o), f;
      for (const a of n) {
        if (a._zod.def.when) {
          if (!a._zod.def.when(o)) continue;
        } else if (l) continue;
        const c = o.issues.length, d = a._zod.check(o);
        if (d instanceof Promise && u?.async === !1) throw new Kr();
        if (f || d instanceof Promise) f = (f ?? Promise.resolve()).then(async () => {
          await d, o.issues.length !== c && (l || (l = Gr(o, c)));
        });
        else {
          if (o.issues.length === c) continue;
          l || (l = Gr(o, c));
        }
      }
      return f ? f.then(() => o) : o;
    }, h = (o, n, u) => {
      if (Gr(o))
        return o.aborted = !0, o;
      const l = s(n, i, u);
      if (l instanceof Promise) {
        if (u.async === !1) throw new Kr();
        return l.then((f) => e._zod.parse(f, u));
      }
      return e._zod.parse(l, u);
    };
    e._zod.run = (o, n) => {
      if (n.skipChecks) return e._zod.parse(o, n);
      if (n.direction === "backward") {
        const l = e._zod.parse({
          value: o.value,
          issues: []
        }, {
          ...n,
          skipChecks: !0
        });
        return l instanceof Promise ? l.then((f) => h(f, o, n)) : h(l, o, n);
      }
      const u = e._zod.parse(o, n);
      if (u instanceof Promise) {
        if (n.async === !1) throw new Kr();
        return u.then((l) => s(l, i, n));
      }
      return s(u, i, n);
    };
  }
  et(e, "~standard", () => ({
    validate: (s) => {
      try {
        const h = tD(e, s);
        return h.success ? { value: h.data } : { issues: h.error?.issues };
      } catch {
        return rD(e, s).then((o) => o.success ? { value: o.data } : { issues: o.error?.issues });
      }
    },
    vendor: "zod",
    version: 1
  }));
}), Kl = /* @__PURE__ */ ke("$ZodString", (e, t) => {
  pt.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? kD(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;
  };
}), lt = /* @__PURE__ */ ke("$ZodStringFormat", (e, t) => {
  Ds.init(e, t), Kl.init(e, t);
}), VD = /* @__PURE__ */ ke("$ZodGUID", (e, t) => {
  t.pattern ?? (t.pattern = yD), lt.init(e, t);
}), YD = /* @__PURE__ */ ke("$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 = Au(r));
  } else t.pattern ?? (t.pattern = Au());
  lt.init(e, t);
}), KD = /* @__PURE__ */ ke("$ZodEmail", (e, t) => {
  t.pattern ?? (t.pattern = _D), lt.init(e, t);
}), ZD = /* @__PURE__ */ ke("$ZodURL", (e, t) => {
  lt.init(e, t), e._zod.check = (r) => {
    try {
      const i = r.value.trim(), 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
      });
    }
  };
}), JD = /* @__PURE__ */ ke("$ZodEmoji", (e, t) => {
  t.pattern ?? (t.pattern = wD()), lt.init(e, t);
}), XD = /* @__PURE__ */ ke("$ZodNanoID", (e, t) => {
  t.pattern ?? (t.pattern = mD), lt.init(e, t);
}), QD = /* @__PURE__ */ ke("$ZodCUID", (e, t) => {
  t.pattern ?? (t.pattern = hD), lt.init(e, t);
}), eR = /* @__PURE__ */ ke("$ZodCUID2", (e, t) => {
  t.pattern ?? (t.pattern = fD), lt.init(e, t);
}), tR = /* @__PURE__ */ ke("$ZodULID", (e, t) => {
  t.pattern ?? (t.pattern = dD), lt.init(e, t);
}), rR = /* @__PURE__ */ ke("$ZodXID", (e, t) => {
  t.pattern ?? (t.pattern = pD), lt.init(e, t);
}), iR = /* @__PURE__ */ ke("$ZodKSUID", (e, t) => {
  t.pattern ?? (t.pattern = gD), lt.init(e, t);
}), nR = /* @__PURE__ */ ke("$ZodISODateTime", (e, t) => {
  t.pattern ?? (t.pattern = ID(t)), lt.init(e, t);
}), sR = /* @__PURE__ */ ke("$ZodISODate", (e, t) => {
  t.pattern ?? (t.pattern = OD), lt.init(e, t);
}), aR = /* @__PURE__ */ ke("$ZodISOTime", (e, t) => {
  t.pattern ?? (t.pattern = CD(t)), lt.init(e, t);
}), oR = /* @__PURE__ */ ke("$ZodISODuration", (e, t) => {
  t.pattern ?? (t.pattern = vD), lt.init(e, t);
}), lR = /* @__PURE__ */ ke("$ZodIPv4", (e, t) => {
  t.pattern ?? (t.pattern = ED), lt.init(e, t), e._zod.bag.format = "ipv4";
}), cR = /* @__PURE__ */ ke("$ZodIPv6", (e, t) => {
  t.pattern ?? (t.pattern = SD), lt.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
      });
    }
  };
}), uR = /* @__PURE__ */ ke("$ZodCIDRv4", (e, t) => {
  t.pattern ?? (t.pattern = AD), lt.init(e, t);
}), hR = /* @__PURE__ */ ke("$ZodCIDRv6", (e, t) => {
  t.pattern ?? (t.pattern = TD), lt.init(e, t), e._zod.check = (r) => {
    const i = r.value.split("/");
    try {
      if (i.length !== 2) throw new Error();
      const [s, h] = i;
      if (!h) throw new Error();
      const o = Number(h);
      if (`${o}` !== h) throw new Error();
      if (o < 0 || o > 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 zp(e) {
  if (e === "") return !0;
  if (e.length % 4 !== 0) return !1;
  try {
    return atob(e), !0;
  } catch {
    return !1;
  }
}
var fR = /* @__PURE__ */ ke("$ZodBase64", (e, t) => {
  t.pattern ?? (t.pattern = DD), lt.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
    zp(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
});
function dR(e) {
  if (!Hp.test(e)) return !1;
  const t = e.replace(/[-_]/g, (r) => r === "-" ? "+" : "/");
  return zp(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
}
var pR = /* @__PURE__ */ ke("$ZodBase64URL", (e, t) => {
  t.pattern ?? (t.pattern = Hp), lt.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
    dR(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64url",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), gR = /* @__PURE__ */ ke("$ZodE164", (e, t) => {
  t.pattern ?? (t.pattern = RD), lt.init(e, t);
});
function mR(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 vR = /* @__PURE__ */ ke("$ZodJWT", (e, t) => {
  lt.init(e, t), e._zod.check = (r) => {
    mR(r.value, t.alg) || r.issues.push({
      code: "invalid_format",
      format: "jwt",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), yR = /* @__PURE__ */ ke("$ZodUnknown", (e, t) => {
  pt.init(e, t), e._zod.parse = (r) => r;
}), _R = /* @__PURE__ */ ke("$ZodNever", (e, t) => {
  pt.init(e, t), e._zod.parse = (r, i) => (r.issues.push({
    expected: "never",
    code: "invalid_type",
    input: r.value,
    inst: e
  }), r);
});
function Tu(e, t, r) {
  e.issues.length && t.issues.push(...zr(r, e.issues)), t.value[r] = e.value;
}
var bR = /* @__PURE__ */ ke("$ZodArray", (e, t) => {
  pt.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 h = [];
    for (let o = 0; o < s.length; o++) {
      const n = s[o], u = t.element._zod.run({
        value: n,
        issues: []
      }, i);
      u instanceof Promise ? h.push(u.then((l) => Tu(l, r, o))) : Tu(u, r, o);
    }
    return h.length ? Promise.all(h).then(() => r) : r;
  };
});
function xn(e, t, r, i, s) {
  if (e.issues.length) {
    if (s && !(r in i)) return;
    t.issues.push(...zr(r, e.issues));
  }
  e.value === void 0 ? r in i && (t.value[r] = void 0) : t.value[r] = e.value;
}
function Wp(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 = zT(e.shape);
  return {
    ...e,
    keys: t,
    keySet: new Set(t),
    numKeys: t.length,
    optionalKeys: new Set(r)
  };
}
function Vp(e, t, r, i, s, h) {
  const o = [], n = s.keySet, u = s.catchall._zod, l = u.def.type, f = u.optout === "optional";
  for (const a in t) {
    if (n.has(a)) continue;
    if (l === "never") {
      o.push(a);
      continue;
    }
    const c = u.run({
      value: t[a],
      issues: []
    }, i);
    c instanceof Promise ? e.push(c.then((d) => xn(d, r, a, t, f))) : xn(c, r, a, t, f);
  }
  return o.length && r.issues.push({
    code: "unrecognized_keys",
    keys: o,
    input: t,
    inst: h
  }), e.length ? Promise.all(e).then(() => r) : r;
}
var wR = /* @__PURE__ */ ke("$ZodObject", (e, t) => {
  if (pt.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
    const o = t.shape;
    Object.defineProperty(t, "shape", { get: () => {
      const n = { ...o };
      return Object.defineProperty(t, "shape", { value: n }), n;
    } });
  }
  const r = ql(() => Wp(t));
  et(e._zod, "propValues", () => {
    const o = t.shape, n = {};
    for (const u in o) {
      const l = o[u]._zod;
      if (l.values) {
        n[u] ?? (n[u] = /* @__PURE__ */ new Set());
        for (const f of l.values) n[u].add(f);
      }
    }
    return n;
  });
  const i = Nn, s = t.catchall;
  let h;
  e._zod.parse = (o, n) => {
    h ?? (h = r.value);
    const u = o.value;
    if (!i(u))
      return o.issues.push({
        expected: "object",
        code: "invalid_type",
        input: u,
        inst: e
      }), o;
    o.value = {};
    const l = [], f = h.shape;
    for (const a of h.keys) {
      const c = f[a], d = c._zod.optout === "optional", p = c._zod.run({
        value: u[a],
        issues: []
      }, n);
      p instanceof Promise ? l.push(p.then((m) => xn(m, o, a, u, d))) : xn(p, o, a, u, d);
    }
    return s ? Vp(l, u, o, n, r.value, e) : l.length ? Promise.all(l).then(() => o) : o;
  };
}), ER = /* @__PURE__ */ ke("$ZodObjectJIT", (e, t) => {
  wR.init(e, t);
  const r = e._zod.parse, i = ql(() => Wp(t)), s = (c) => {
    const d = new zD([
      "shape",
      "payload",
      "ctx"
    ]), p = i.value, m = (E) => {
      const b = Su(E);
      return `shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`;
    };
    d.write("const input = payload.value;");
    const g = /* @__PURE__ */ Object.create(null);
    let v = 0;
    for (const E of p.keys) g[E] = `key_${v++}`;
    d.write("const newResult = {};");
    for (const E of p.keys) {
      const b = g[E], w = Su(E), _ = c[E]?._zod?.optout === "optional";
      d.write(`const ${b} = ${m(E)};`), _ ? d.write(`
        if (${b}.issues.length) {
          if (${w} in input) {
            payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
              ...iss,
              path: iss.path ? [${w}, ...iss.path] : [${w}]
            })));
          }
        }
        
        if (${b}.value === undefined) {
          if (${w} in input) {
            newResult[${w}] = undefined;
          }
        } else {
          newResult[${w}] = ${b}.value;
        }
        
      `) : d.write(`
        if (${b}.issues.length) {
          payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${w}, ...iss.path] : [${w}]
          })));
        }
        
        if (${b}.value === undefined) {
          if (${w} in input) {
            newResult[${w}] = undefined;
          }
        } else {
          newResult[${w}] = ${b}.value;
        }
        
      `);
    }
    d.write("payload.value = newResult;"), d.write("return payload;");
    const y = d.compile();
    return (E, b) => y(c, E, b);
  };
  let h;
  const o = Nn, n = !Oo.jitless, l = n && qT.value, f = t.catchall;
  let a;
  e._zod.parse = (c, d) => {
    a ?? (a = i.value);
    const p = c.value;
    return o(p) ? n && l && d?.async === !1 && d.jitless !== !0 ? (h || (h = s(t.shape)), c = h(c, d), f ? Vp([], p, c, d, a, e) : c) : r(c, d) : (c.issues.push({
      expected: "object",
      code: "invalid_type",
      input: p,
      inst: e
    }), c);
  };
});
function Du(e, t, r, i) {
  for (const h of e) if (h.issues.length === 0)
    return t.value = h.value, t;
  const s = e.filter((h) => !Gr(h));
  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((h) => h.issues.map((o) => hr(o, i, ur())))
  }), t);
}
var SR = /* @__PURE__ */ ke("$ZodUnion", (e, t) => {
  pt.init(e, t), et(e._zod, "optin", () => t.options.some((s) => s._zod.optin === "optional") ? "optional" : void 0), et(e._zod, "optout", () => t.options.some((s) => s._zod.optout === "optional") ? "optional" : void 0), et(e._zod, "values", () => {
    if (t.options.every((s) => s._zod.values)) return new Set(t.options.flatMap((s) => Array.from(s._zod.values)));
  }), et(e._zod, "pattern", () => {
    if (t.options.every((s) => s._zod.pattern)) {
      const s = t.options.map((h) => h._zod.pattern);
      return new RegExp(`^(${s.map((h) => zl(h.source)).join("|")})$`);
    }
  });
  const r = t.options.length === 1, i = t.options[0]._zod.run;
  e._zod.parse = (s, h) => {
    if (r) return i(s, h);
    let o = !1;
    const n = [];
    for (const u of t.options) {
      const l = u._zod.run({
        value: s.value,
        issues: []
      }, h);
      if (l instanceof Promise)
        n.push(l), o = !0;
      else {
        if (l.issues.length === 0) return l;
        n.push(l);
      }
    }
    return o ? Promise.all(n).then((u) => Du(u, s, e, h)) : Du(n, s, e, h);
  };
}), AR = /* @__PURE__ */ ke("$ZodIntersection", (e, t) => {
  pt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value, h = t.left._zod.run({
      value: s,
      issues: []
    }, i), o = t.right._zod.run({
      value: s,
      issues: []
    }, i);
    return h instanceof Promise || o instanceof Promise ? Promise.all([h, o]).then(([n, u]) => Ru(r, n, u)) : Ru(r, h, o);
  };
});
function Io(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 (ii(e) && ii(t)) {
    const r = Object.keys(t), i = Object.keys(e).filter((h) => r.indexOf(h) !== -1), s = {
      ...e,
      ...t
    };
    for (const h of i) {
      const o = Io(e[h], t[h]);
      if (!o.valid) return {
        valid: !1,
        mergeErrorPath: [h, ...o.mergeErrorPath]
      };
      s[h] = o.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], h = t[i], o = Io(s, h);
      if (!o.valid) return {
        valid: !1,
        mergeErrorPath: [i, ...o.mergeErrorPath]
      };
      r.push(o.data);
    }
    return {
      valid: !0,
      data: r
    };
  }
  return {
    valid: !1,
    mergeErrorPath: []
  };
}
function Ru(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 h = [...i].filter(([, n]) => n.l && n.r).map(([n]) => n);
  if (h.length && s && e.issues.push({
    ...s,
    keys: h
  }), Gr(e)) return e;
  const o = Io(t.value, r.value);
  if (!o.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);
  return e.value = o.data, e;
}
var TR = /* @__PURE__ */ ke("$ZodRecord", (e, t) => {
  pt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value;
    if (!ii(s))
      return r.issues.push({
        expected: "record",
        code: "invalid_type",
        input: s,
        inst: e
      }), r;
    const h = [], o = t.keyType._zod.values;
    if (o) {
      r.value = {};
      const n = /* @__PURE__ */ new Set();
      for (const l of o) if (typeof l == "string" || typeof l == "number" || typeof l == "symbol") {
        n.add(typeof l == "number" ? l.toString() : l);
        const f = t.valueType._zod.run({
          value: s[l],
          issues: []
        }, i);
        f instanceof Promise ? h.push(f.then((a) => {
          a.issues.length && r.issues.push(...zr(l, a.issues)), r.value[l] = a.value;
        })) : (f.issues.length && r.issues.push(...zr(l, f.issues)), r.value[l] = f.value);
      }
      let u;
      for (const l in s) n.has(l) || (u = u ?? [], u.push(l));
      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__") 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" && LD.test(n) && u.issues.length) {
          const f = t.keyType._zod.run({
            value: Number(n),
            issues: []
          }, i);
          if (f instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
          f.issues.length === 0 && (u = f);
        }
        if (u.issues.length) {
          t.mode === "loose" ? r.value[n] = s[n] : r.issues.push({
            code: "invalid_key",
            origin: "record",
            issues: u.issues.map((f) => hr(f, i, ur())),
            input: n,
            path: [n],
            inst: e
          });
          continue;
        }
        const l = t.valueType._zod.run({
          value: s[n],
          issues: []
        }, i);
        l instanceof Promise ? h.push(l.then((f) => {
          f.issues.length && r.issues.push(...zr(n, f.issues)), r.value[u.value] = f.value;
        })) : (l.issues.length && r.issues.push(...zr(n, l.issues)), r.value[u.value] = l.value);
      }
    }
    return h.length ? Promise.all(h).then(() => r) : r;
  };
}), DR = /* @__PURE__ */ ke("$ZodEnum", (e, t) => {
  pt.init(e, t);
  const r = Pp(t.entries), i = new Set(r);
  e._zod.values = i, e._zod.pattern = new RegExp(`^(${r.filter((s) => GT.has(typeof s)).map((s) => typeof s == "string" ? Ss(s) : s.toString()).join("|")})$`), e._zod.parse = (s, h) => {
    const o = s.value;
    return i.has(o) || s.issues.push({
      code: "invalid_value",
      values: r,
      input: o,
      inst: e
    }), s;
  };
}), RR = /* @__PURE__ */ ke("$ZodTransform", (e, t) => {
  pt.init(e, t), e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new xp(e.constructor.name);
    const s = t.transform(r.value, r);
    if (i.async) return (s instanceof Promise ? s : Promise.resolve(s)).then((h) => (r.value = h, r));
    if (s instanceof Promise) throw new Kr();
    return r.value = s, r;
  };
});
function Ou(e, t) {
  return e.issues.length && t === void 0 ? {
    issues: [],
    value: void 0
  } : e;
}
var Yp = /* @__PURE__ */ ke("$ZodOptional", (e, t) => {
  pt.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", et(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), et(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${zl(r.source)})?$`) : void 0;
  }), e._zod.parse = (r, i) => {
    if (t.innerType._zod.optin === "optional") {
      const s = t.innerType._zod.run(r, i);
      return s instanceof Promise ? s.then((h) => Ou(h, r.value)) : Ou(s, r.value);
    }
    return r.value === void 0 ? r : t.innerType._zod.run(r, i);
  };
}), OR = /* @__PURE__ */ ke("$ZodExactOptional", (e, t) => {
  Yp.init(e, t), et(e._zod, "values", () => t.innerType._zod.values), et(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (r, i) => t.innerType._zod.run(r, i);
}), CR = /* @__PURE__ */ ke("$ZodNullable", (e, t) => {
  pt.init(e, t), et(e._zod, "optin", () => t.innerType._zod.optin), et(e._zod, "optout", () => t.innerType._zod.optout), et(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${zl(r.source)}|null)$`) : void 0;
  }), et(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);
}), IR = /* @__PURE__ */ ke("$ZodDefault", (e, t) => {
  pt.init(e, t), e._zod.optin = "optional", et(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((h) => Cu(h, t)) : Cu(s, t);
  };
});
function Cu(e, t) {
  return e.value === void 0 && (e.value = t.defaultValue), e;
}
var kR = /* @__PURE__ */ ke("$ZodPrefault", (e, t) => {
  pt.init(e, t), e._zod.optin = "optional", et(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));
}), LR = /* @__PURE__ */ ke("$ZodNonOptional", (e, t) => {
  pt.init(e, t), et(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((h) => Iu(h, e)) : Iu(s, e);
  };
});
function Iu(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 $R = /* @__PURE__ */ ke("$ZodCatch", (e, t) => {
  pt.init(e, t), et(e._zod, "optin", () => t.innerType._zod.optin), et(e._zod, "optout", () => t.innerType._zod.optout), et(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((h) => (r.value = h.value, h.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: h.issues.map((o) => hr(o, i, ur())) },
      input: r.value
    }), r.issues = []), r)) : (r.value = s.value, s.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: s.issues.map((h) => hr(h, i, ur())) },
      input: r.value
    }), r.issues = []), r);
  };
}), NR = /* @__PURE__ */ ke("$ZodPipe", (e, t) => {
  pt.init(e, t), et(e._zod, "values", () => t.in._zod.values), et(e._zod, "optin", () => t.in._zod.optin), et(e._zod, "optout", () => t.out._zod.optout), et(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (r, i) => {
    if (i.direction === "backward") {
      const h = t.out._zod.run(r, i);
      return h instanceof Promise ? h.then((o) => fn(o, t.in, i)) : fn(h, t.in, i);
    }
    const s = t.in._zod.run(r, i);
    return s instanceof Promise ? s.then((h) => fn(h, t.out, i)) : fn(s, t.out, i);
  };
});
function fn(e, t, r) {
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
    value: e.value,
    issues: e.issues
  }, r);
}
var xR = /* @__PURE__ */ ke("$ZodReadonly", (e, t) => {
  pt.init(e, t), et(e._zod, "propValues", () => t.innerType._zod.propValues), et(e._zod, "values", () => t.innerType._zod.values), et(e._zod, "optin", () => t.innerType?._zod?.optin), et(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(ku) : ku(s);
  };
});
function ku(e) {
  return e.value = Object.freeze(e.value), e;
}
var PR = /* @__PURE__ */ ke("$ZodCustom", (e, t) => {
  tr.init(e, t), pt.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((h) => Lu(h, r, i, e));
    Lu(s, r, i, e);
  };
});
function Lu(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(Mi(s));
  }
}
var $u, BR = 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 FR() {
  return new BR();
}
($u = globalThis).__zod_globalRegistry ?? ($u.__zod_globalRegistry = FR());
var Ai = globalThis.__zod_globalRegistry;
// @__NO_SIDE_EFFECTS__
function MR(e, t) {
  return new e({
    type: "string",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function jR(e, t) {
  return new e({
    type: "string",
    format: "email",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function Nu(e, t) {
  return new e({
    type: "string",
    format: "guid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function UR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function HR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v4",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function qR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v6",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function GR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v7",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function zR(e, t) {
  return new e({
    type: "string",
    format: "url",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function WR(e, t) {
  return new e({
    type: "string",
    format: "emoji",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function VR(e, t) {
  return new e({
    type: "string",
    format: "nanoid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function YR(e, t) {
  return new e({
    type: "string",
    format: "cuid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function KR(e, t) {
  return new e({
    type: "string",
    format: "cuid2",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function ZR(e, t) {
  return new e({
    type: "string",
    format: "ulid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function JR(e, t) {
  return new e({
    type: "string",
    format: "xid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function XR(e, t) {
  return new e({
    type: "string",
    format: "ksuid",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function QR(e, t) {
  return new e({
    type: "string",
    format: "ipv4",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function eO(e, t) {
  return new e({
    type: "string",
    format: "ipv6",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function tO(e, t) {
  return new e({
    type: "string",
    format: "cidrv4",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function rO(e, t) {
  return new e({
    type: "string",
    format: "cidrv6",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function iO(e, t) {
  return new e({
    type: "string",
    format: "base64",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function nO(e, t) {
  return new e({
    type: "string",
    format: "base64url",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function sO(e, t) {
  return new e({
    type: "string",
    format: "e164",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function aO(e, t) {
  return new e({
    type: "string",
    format: "jwt",
    check: "string_format",
    abort: !1,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function oO(e, t) {
  return new e({
    type: "string",
    format: "datetime",
    check: "string_format",
    offset: !1,
    local: !1,
    precision: null,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function lO(e, t) {
  return new e({
    type: "string",
    format: "date",
    check: "string_format",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function cO(e, t) {
  return new e({
    type: "string",
    format: "time",
    check: "string_format",
    precision: null,
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function uO(e, t) {
  return new e({
    type: "string",
    format: "duration",
    check: "string_format",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function hO(e) {
  return new e({ type: "unknown" });
}
// @__NO_SIDE_EFFECTS__
function fO(e, t) {
  return new e({
    type: "never",
    ...qe(t)
  });
}
// @__NO_SIDE_EFFECTS__
function Kp(e, t) {
  return new xD({
    check: "max_length",
    ...qe(t),
    maximum: e
  });
}
// @__NO_SIDE_EFFECTS__
function Pn(e, t) {
  return new PD({
    check: "min_length",
    ...qe(t),
    minimum: e
  });
}
// @__NO_SIDE_EFFECTS__
function Zp(e, t) {
  return new BD({
    check: "length_equals",
    ...qe(t),
    length: e
  });
}
// @__NO_SIDE_EFFECTS__
function dO(e, t) {
  return new FD({
    check: "string_format",
    format: "regex",
    ...qe(t),
    pattern: e
  });
}
// @__NO_SIDE_EFFECTS__
function pO(e) {
  return new MD({
    check: "string_format",
    format: "lowercase",
    ...qe(e)
  });
}
// @__NO_SIDE_EFFECTS__
function gO(e) {
  return new jD({
    check: "string_format",
    format: "uppercase",
    ...qe(e)
  });
}
// @__NO_SIDE_EFFECTS__
function mO(e, t) {
  return new UD({
    check: "string_format",
    format: "includes",
    ...qe(t),
    includes: e
  });
}
// @__NO_SIDE_EFFECTS__
function vO(e, t) {
  return new HD({
    check: "string_format",
    format: "starts_with",
    ...qe(t),
    prefix: e
  });
}
// @__NO_SIDE_EFFECTS__
function yO(e, t) {
  return new qD({
    check: "string_format",
    format: "ends_with",
    ...qe(t),
    suffix: e
  });
}
// @__NO_SIDE_EFFECTS__
function fi(e) {
  return new GD({
    check: "overwrite",
    tx: e
  });
}
// @__NO_SIDE_EFFECTS__
function _O(e) {
  return /* @__PURE__ */ fi((t) => t.normalize(e));
}
// @__NO_SIDE_EFFECTS__
function bO() {
  return /* @__PURE__ */ fi((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
function wO() {
  return /* @__PURE__ */ fi((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
function EO() {
  return /* @__PURE__ */ fi((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
function SO() {
  return /* @__PURE__ */ fi((e) => HT(e));
}
// @__NO_SIDE_EFFECTS__
function AO(e, t, r) {
  return new e({
    type: "array",
    element: t,
    ...qe(r)
  });
}
// @__NO_SIDE_EFFECTS__
function TO(e, t, r) {
  return new e({
    type: "custom",
    check: "custom",
    fn: t,
    ...qe(r)
  });
}
// @__NO_SIDE_EFFECTS__
function DO(e) {
  const t = /* @__PURE__ */ RO((r) => (r.addIssue = (i) => {
    if (typeof i == "string") r.issues.push(Mi(i, r.value, t._zod.def));
    else {
      const s = i;
      s.fatal && (s.continue = !1), s.code ?? (s.code = "custom"), s.input ?? (s.input = r.value), s.inst ?? (s.inst = t), s.continue ?? (s.continue = !t._zod.def.abort), r.issues.push(Mi(s));
    }
  }, e(r.value, r)));
  return t;
}
// @__NO_SIDE_EFFECTS__
function RO(e, t) {
  const r = new tr({
    check: "custom",
    ...qe(t)
  });
  return r._zod.check = e, r;
}
function Jp(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 dt(e, t, r = {
  path: [],
  schemaPath: []
}) {
  var i;
  const s = e._zod.def, h = t.seen.get(e);
  if (h)
    return h.count++, r.schemaPath.includes(e) && (h.cycle = r.path), h.schema;
  const o = {
    schema: {},
    count: 1,
    cycle: void 0,
    path: r.path
  };
  t.seen.set(e, o);
  const n = e._zod.toJSONSchema?.();
  if (n) o.schema = n;
  else {
    const l = {
      ...r,
      schemaPath: [...r.schemaPath, e],
      path: r.path
    };
    if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, o.schema, l);
    else {
      const a = o.schema, c = t.processors[s.type];
      if (!c) throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);
      c(e, t, a, l);
    }
    const f = e._zod.parent;
    f && (o.ref || (o.ref = f), dt(f, t, l), t.seen.get(f).isParent = !0);
  }
  const u = t.metadataRegistry.get(e);
  return u && Object.assign(o.schema, u), t.io === "input" && Dt(e) && (delete o.schema.examples, delete o.schema.default), t.io === "input" && o.schema._prefault && ((i = o.schema).default ?? (i.default = o.schema._prefault)), delete o.schema._prefault, t.seen.get(e).schema;
}
function Xp(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 o of e.seen.entries()) {
    const n = e.metadataRegistry.get(o[0])?.id;
    if (n) {
      const u = i.get(n);
      if (u && u !== o[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, o[0]);
    }
  }
  const s = (o) => {
    const n = e.target === "draft-2020-12" ? "$defs" : "definitions";
    if (e.external) {
      const f = e.external.registry.get(o[0])?.id, a = e.external.uri ?? ((d) => d);
      if (f) return { ref: a(f) };
      const c = o[1].defId ?? o[1].schema.id ?? `schema${e.counter++}`;
      return o[1].defId = c, {
        defId: c,
        ref: `${a("__shared")}#/${n}/${c}`
      };
    }
    if (o[1] === r) return { ref: "#" };
    const u = `#/${n}/`, l = o[1].schema.id ?? `__schema${e.counter++}`;
    return {
      defId: l,
      ref: u + l
    };
  }, h = (o) => {
    if (o[1].schema.$ref) return;
    const n = o[1], { ref: u, defId: l } = s(o);
    n.def = { ...n.schema }, l && (n.defId = l);
    const f = n.schema;
    for (const a in f) delete f[a];
    f.$ref = u;
  };
  if (e.cycles === "throw") for (const o of e.seen.entries()) {
    const n = o[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 o of e.seen.entries()) {
    const n = o[1];
    if (t === o[0]) {
      h(o);
      continue;
    }
    if (e.external) {
      const u = e.external.registry.get(o[0])?.id;
      if (t !== o[0] && u) {
        h(o);
        continue;
      }
    }
    if (e.metadataRegistry.get(o[0])?.id) {
      h(o);
      continue;
    }
    if (n.cycle) {
      h(o);
      continue;
    }
    if (n.count > 1 && e.reused === "ref") {
      h(o);
      continue;
    }
  }
}
function Qp(e, t) {
  const r = e.seen.get(t);
  if (!r) throw new Error("Unprocessed schema. This is a bug in Zod.");
  const i = (o) => {
    const n = e.seen.get(o);
    if (n.ref === null) return;
    const u = n.def ?? n.schema, l = { ...u }, f = n.ref;
    if (n.ref = null, f) {
      i(f);
      const c = e.seen.get(f), d = c.schema;
      if (d.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(d)) : Object.assign(u, d), Object.assign(u, l), o._zod.parent === f) for (const p in u)
        p === "$ref" || p === "allOf" || p in l || delete u[p];
      if (d.$ref && c.def) for (const p in u)
        p === "$ref" || p === "allOf" || p in c.def && JSON.stringify(u[p]) === JSON.stringify(c.def[p]) && delete u[p];
    }
    const a = o._zod.parent;
    if (a && a !== f) {
      i(a);
      const c = e.seen.get(a);
      if (c?.schema.$ref && (u.$ref = c.schema.$ref, c.def))
        for (const d in u)
          d === "$ref" || d === "allOf" || d in c.def && JSON.stringify(u[d]) === JSON.stringify(c.def[d]) && delete u[d];
    }
    e.override({
      zodSchema: o,
      jsonSchema: u,
      path: n.path ?? []
    });
  };
  for (const o of [...e.seen.entries()].reverse()) i(o[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 o = e.external.registry.get(t)?.id;
    if (!o) throw new Error("Schema is missing an `id` property");
    s.$id = e.external.uri(o);
  }
  Object.assign(s, r.def ?? r.schema);
  const h = e.external?.defs ?? {};
  for (const o of e.seen.entries()) {
    const n = o[1];
    n.def && n.defId && (h[n.defId] = n.def);
  }
  e.external || Object.keys(h).length > 0 && (e.target === "draft-2020-12" ? s.$defs = h : s.definitions = h);
  try {
    const o = JSON.parse(JSON.stringify(s));
    return Object.defineProperty(o, "~standard", {
      value: {
        ...t["~standard"],
        jsonSchema: {
          input: Bn(t, "input", e.processors),
          output: Bn(t, "output", e.processors)
        }
      },
      enumerable: !1,
      writable: !1
    }), o;
  } catch {
    throw new Error("Error converting schema to JSON.");
  }
}
function Dt(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 Dt(i.element, r);
  if (i.type === "set") return Dt(i.valueType, r);
  if (i.type === "lazy") return Dt(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 Dt(i.innerType, r);
  if (i.type === "intersection") return Dt(i.left, r) || Dt(i.right, r);
  if (i.type === "record" || i.type === "map") return Dt(i.keyType, r) || Dt(i.valueType, r);
  if (i.type === "pipe") return Dt(i.in, r) || Dt(i.out, r);
  if (i.type === "object") {
    for (const s in i.shape) if (Dt(i.shape[s], r)) return !0;
    return !1;
  }
  if (i.type === "union") {
    for (const s of i.options) if (Dt(s, r)) return !0;
    return !1;
  }
  if (i.type === "tuple") {
    for (const s of i.items) if (Dt(s, r)) return !0;
    return !!(i.rest && Dt(i.rest, r));
  }
  return !1;
}
var OO = (e, t = {}) => (r) => {
  const i = Jp({
    ...r,
    processors: t
  });
  return dt(e, i), Xp(i, e), Qp(i, e);
}, Bn = (e, t, r = {}) => (i) => {
  const { libraryOptions: s, target: h } = i ?? {}, o = Jp({
    ...s ?? {},
    target: h,
    io: t,
    processors: r
  });
  return dt(e, o), Xp(o, e), Qp(o, e);
}, CO = {
  guid: "uuid",
  url: "uri",
  datetime: "date-time",
  json_string: "json-string",
  regex: ""
}, IO = (e, t, r, i) => {
  const s = r;
  s.type = "string";
  const { minimum: h, maximum: o, format: n, patterns: u, contentEncoding: l } = e._zod.bag;
  if (typeof h == "number" && (s.minLength = h), typeof o == "number" && (s.maxLength = o), n && (s.format = CO[n] ?? n, s.format === "" && delete s.format, n === "time" && delete s.format), l && (s.contentEncoding = l), u && u.size > 0) {
    const f = [...u];
    f.length === 1 ? s.pattern = f[0].source : f.length > 1 && (s.allOf = [...f.map((a) => ({
      ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
      pattern: a.source
    }))]);
  }
}, kO = (e, t, r, i) => {
  r.not = {};
}, LO = (e, t, r, i) => {
}, $O = (e, t, r, i) => {
  const s = e._zod.def, h = Pp(s.entries);
  h.every((o) => typeof o == "number") && (r.type = "number"), h.every((o) => typeof o == "string") && (r.type = "string"), r.enum = h;
}, NO = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
}, xO = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Transforms cannot be represented in JSON Schema");
}, PO = (e, t, r, i) => {
  const s = r, h = e._zod.def, { minimum: o, maximum: n } = e._zod.bag;
  typeof o == "number" && (s.minItems = o), typeof n == "number" && (s.maxItems = n), s.type = "array", s.items = dt(h.element, t, {
    ...i,
    path: [...i.path, "items"]
  });
}, BO = (e, t, r, i) => {
  const s = r, h = e._zod.def;
  s.type = "object", s.properties = {};
  const o = h.shape;
  for (const l in o) s.properties[l] = dt(o[l], t, {
    ...i,
    path: [
      ...i.path,
      "properties",
      l
    ]
  });
  const n = new Set(Object.keys(o)), u = new Set([...n].filter((l) => {
    const f = h.shape[l]._zod;
    return t.io === "input" ? f.optin === void 0 : f.optout === void 0;
  }));
  u.size > 0 && (s.required = Array.from(u)), h.catchall?._zod.def.type === "never" ? s.additionalProperties = !1 : h.catchall ? h.catchall && (s.additionalProperties = dt(h.catchall, t, {
    ...i,
    path: [...i.path, "additionalProperties"]
  })) : t.io === "output" && (s.additionalProperties = !1);
}, FO = (e, t, r, i) => {
  const s = e._zod.def, h = s.inclusive === !1, o = s.options.map((n, u) => dt(n, t, {
    ...i,
    path: [
      ...i.path,
      h ? "oneOf" : "anyOf",
      u
    ]
  }));
  h ? r.oneOf = o : r.anyOf = o;
}, MO = (e, t, r, i) => {
  const s = e._zod.def, h = dt(s.left, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      0
    ]
  }), o = dt(s.right, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      1
    ]
  }), n = (u) => "allOf" in u && Object.keys(u).length === 1;
  r.allOf = [...n(h) ? h.allOf : [h], ...n(o) ? o.allOf : [o]];
}, jO = (e, t, r, i) => {
  const s = r, h = e._zod.def;
  s.type = "object";
  const o = h.keyType, n = o._zod.bag?.patterns;
  if (h.mode === "loose" && n && n.size > 0) {
    const l = dt(h.valueType, t, {
      ...i,
      path: [
        ...i.path,
        "patternProperties",
        "*"
      ]
    });
    s.patternProperties = {};
    for (const f of n) s.patternProperties[f.source] = l;
  } else
    (t.target === "draft-07" || t.target === "draft-2020-12") && (s.propertyNames = dt(h.keyType, t, {
      ...i,
      path: [...i.path, "propertyNames"]
    })), s.additionalProperties = dt(h.valueType, t, {
      ...i,
      path: [...i.path, "additionalProperties"]
    });
  const u = o._zod.values;
  if (u) {
    const l = [...u].filter((f) => typeof f == "string" || typeof f == "number");
    l.length > 0 && (s.required = l);
  }
}, UO = (e, t, r, i) => {
  const s = e._zod.def, h = dt(s.innerType, t, i), o = t.seen.get(e);
  t.target === "openapi-3.0" ? (o.ref = s.innerType, r.nullable = !0) : r.anyOf = [h, { type: "null" }];
}, HO = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
}, qO = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, r.default = JSON.parse(JSON.stringify(s.defaultValue));
}, GO = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, t.io === "input" && (r._prefault = JSON.parse(JSON.stringify(s.defaultValue)));
}, zO = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
  let o;
  try {
    o = s.catchValue(void 0);
  } catch {
    throw new Error("Dynamic catch values are not supported in JSON Schema");
  }
  r.default = o;
}, WO = (e, t, r, i) => {
  const s = e._zod.def, h = t.io === "input" ? s.in._zod.def.type === "transform" ? s.out : s.in : s.out;
  dt(h, t, i);
  const o = t.seen.get(e);
  o.ref = h;
}, VO = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, r.readOnly = !0;
}, eg = (e, t, r, i) => {
  const s = e._zod.def;
  dt(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
}, YO = /* @__PURE__ */ ke("ZodISODateTime", (e, t) => {
  nR.init(e, t), ct.init(e, t);
});
function KO(e) {
  return /* @__PURE__ */ oO(YO, e);
}
var ZO = /* @__PURE__ */ ke("ZodISODate", (e, t) => {
  sR.init(e, t), ct.init(e, t);
});
function JO(e) {
  return /* @__PURE__ */ lO(ZO, e);
}
var XO = /* @__PURE__ */ ke("ZodISOTime", (e, t) => {
  aR.init(e, t), ct.init(e, t);
});
function QO(e) {
  return /* @__PURE__ */ cO(XO, e);
}
var eC = /* @__PURE__ */ ke("ZodISODuration", (e, t) => {
  oR.init(e, t), ct.init(e, t);
});
function tC(e) {
  return /* @__PURE__ */ uO(eC, e);
}
var tg = (e, t) => {
  jp.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
    format: { value: (r) => eD(e, r) },
    flatten: { value: (r) => QT(e, r) },
    addIssue: { value: (r) => {
      e.issues.push(r), e.message = JSON.stringify(e.issues, Co, 2);
    } },
    addIssues: { value: (r) => {
      e.issues.push(...r), e.message = JSON.stringify(e.issues, Co, 2);
    } },
    isEmpty: { get() {
      return e.issues.length === 0;
    } }
  });
}, _L = ke("ZodError", tg), Ht = ke("ZodError", tg, { Parent: Error }), rC = /* @__PURE__ */ Vl(Ht), iC = /* @__PURE__ */ Yl(Ht), nC = /* @__PURE__ */ As(Ht), sC = /* @__PURE__ */ Ts(Ht), aC = /* @__PURE__ */ iD(Ht), oC = /* @__PURE__ */ nD(Ht), lC = /* @__PURE__ */ sD(Ht), cC = /* @__PURE__ */ aD(Ht), uC = /* @__PURE__ */ oD(Ht), hC = /* @__PURE__ */ lD(Ht), fC = /* @__PURE__ */ cD(Ht), dC = /* @__PURE__ */ uD(Ht), gt = /* @__PURE__ */ ke("ZodType", (e, t) => (pt.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
  input: Bn(e, "input"),
  output: Bn(e, "output")
} }), e.toJSONSchema = OO(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...r) => e.clone(mr(t, { checks: [...t.checks ?? [], ...r.map((i) => typeof i == "function" ? { _zod: {
  check: i,
  def: { check: "custom" },
  onattach: []
} } : i)] }), { parent: !0 }), e.with = e.check, e.clone = (r, i) => vr(e, r, i), e.brand = () => e, e.register = ((r, i) => (r.add(e, i), e)), e.parse = (r, i) => rC(e, r, i, { callee: e.parse }), e.safeParse = (r, i) => nC(e, r, i), e.parseAsync = async (r, i) => iC(e, r, i, { callee: e.parseAsync }), e.safeParseAsync = async (r, i) => sC(e, r, i), e.spa = e.safeParseAsync, e.encode = (r, i) => aC(e, r, i), e.decode = (r, i) => oC(e, r, i), e.encodeAsync = async (r, i) => lC(e, r, i), e.decodeAsync = async (r, i) => cC(e, r, i), e.safeEncode = (r, i) => uC(e, r, i), e.safeDecode = (r, i) => hC(e, r, i), e.safeEncodeAsync = async (r, i) => fC(e, r, i), e.safeDecodeAsync = async (r, i) => dC(e, r, i), e.refine = (r, i) => e.check(n2(r, i)), e.superRefine = (r) => e.check(s2(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ fi(r)), e.optional = () => ji(e), e.exactOptional = () => zC(e), e.nullable = () => Fu(e), e.nullish = () => ji(Fu(e)), e.nonoptional = (r) => JC(e, r), e.array = () => ig(e), e.or = (r) => ng([e, r]), e.and = (r) => MC(e, r), e.transform = (r) => Mu(e, qC(r)), e.default = (r) => YC(e, r), e.prefault = (r) => ZC(e, r), e.catch = (r) => QC(e, r), e.pipe = (r) => Mu(e, r), e.readonly = () => r2(e), e.describe = (r) => {
  const i = e.clone();
  return Ai.add(i, { description: r }), i;
}, Object.defineProperty(e, "description", {
  get() {
    return Ai.get(e)?.description;
  },
  configurable: !0
}), e.meta = (...r) => {
  if (r.length === 0) return Ai.get(e);
  const i = e.clone();
  return Ai.add(i, r[0]), i;
}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (r) => r(e), e)), rg = /* @__PURE__ */ ke("_ZodString", (e, t) => {
  Kl.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (i, s, h) => IO(e, i, s, h);
  const r = e._zod.bag;
  e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...i) => e.check(/* @__PURE__ */ dO(...i)), e.includes = (...i) => e.check(/* @__PURE__ */ mO(...i)), e.startsWith = (...i) => e.check(/* @__PURE__ */ vO(...i)), e.endsWith = (...i) => e.check(/* @__PURE__ */ yO(...i)), e.min = (...i) => e.check(/* @__PURE__ */ Pn(...i)), e.max = (...i) => e.check(/* @__PURE__ */ Kp(...i)), e.length = (...i) => e.check(/* @__PURE__ */ Zp(...i)), e.nonempty = (...i) => e.check(/* @__PURE__ */ Pn(1, ...i)), e.lowercase = (i) => e.check(/* @__PURE__ */ pO(i)), e.uppercase = (i) => e.check(/* @__PURE__ */ gO(i)), e.trim = () => e.check(/* @__PURE__ */ bO()), e.normalize = (...i) => e.check(/* @__PURE__ */ _O(...i)), e.toLowerCase = () => e.check(/* @__PURE__ */ wO()), e.toUpperCase = () => e.check(/* @__PURE__ */ EO()), e.slugify = () => e.check(/* @__PURE__ */ SO());
}), pC = /* @__PURE__ */ ke("ZodString", (e, t) => {
  Kl.init(e, t), rg.init(e, t), e.email = (r) => e.check(/* @__PURE__ */ jR(gC, r)), e.url = (r) => e.check(/* @__PURE__ */ zR(mC, r)), e.jwt = (r) => e.check(/* @__PURE__ */ aO(kC, r)), e.emoji = (r) => e.check(/* @__PURE__ */ WR(vC, r)), e.guid = (r) => e.check(/* @__PURE__ */ Nu(xu, r)), e.uuid = (r) => e.check(/* @__PURE__ */ UR(dn, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ HR(dn, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ qR(dn, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ GR(dn, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ VR(yC, r)), e.guid = (r) => e.check(/* @__PURE__ */ Nu(xu, r)), e.cuid = (r) => e.check(/* @__PURE__ */ YR(_C, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ KR(bC, r)), e.ulid = (r) => e.check(/* @__PURE__ */ ZR(wC, r)), e.base64 = (r) => e.check(/* @__PURE__ */ iO(OC, r)), e.base64url = (r) => e.check(/* @__PURE__ */ nO(CC, r)), e.xid = (r) => e.check(/* @__PURE__ */ JR(EC, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ XR(SC, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ QR(AC, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ eO(TC, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ tO(DC, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ rO(RC, r)), e.e164 = (r) => e.check(/* @__PURE__ */ sO(IC, r)), e.datetime = (r) => e.check(KO(r)), e.date = (r) => e.check(JO(r)), e.time = (r) => e.check(QO(r)), e.duration = (r) => e.check(tC(r));
});
function Ur(e) {
  return /* @__PURE__ */ MR(pC, e);
}
var ct = /* @__PURE__ */ ke("ZodStringFormat", (e, t) => {
  lt.init(e, t), rg.init(e, t);
}), gC = /* @__PURE__ */ ke("ZodEmail", (e, t) => {
  KD.init(e, t), ct.init(e, t);
}), xu = /* @__PURE__ */ ke("ZodGUID", (e, t) => {
  VD.init(e, t), ct.init(e, t);
}), dn = /* @__PURE__ */ ke("ZodUUID", (e, t) => {
  YD.init(e, t), ct.init(e, t);
}), mC = /* @__PURE__ */ ke("ZodURL", (e, t) => {
  ZD.init(e, t), ct.init(e, t);
}), vC = /* @__PURE__ */ ke("ZodEmoji", (e, t) => {
  JD.init(e, t), ct.init(e, t);
}), yC = /* @__PURE__ */ ke("ZodNanoID", (e, t) => {
  XD.init(e, t), ct.init(e, t);
}), _C = /* @__PURE__ */ ke("ZodCUID", (e, t) => {
  QD.init(e, t), ct.init(e, t);
}), bC = /* @__PURE__ */ ke("ZodCUID2", (e, t) => {
  eR.init(e, t), ct.init(e, t);
}), wC = /* @__PURE__ */ ke("ZodULID", (e, t) => {
  tR.init(e, t), ct.init(e, t);
}), EC = /* @__PURE__ */ ke("ZodXID", (e, t) => {
  rR.init(e, t), ct.init(e, t);
}), SC = /* @__PURE__ */ ke("ZodKSUID", (e, t) => {
  iR.init(e, t), ct.init(e, t);
}), AC = /* @__PURE__ */ ke("ZodIPv4", (e, t) => {
  lR.init(e, t), ct.init(e, t);
}), TC = /* @__PURE__ */ ke("ZodIPv6", (e, t) => {
  cR.init(e, t), ct.init(e, t);
}), DC = /* @__PURE__ */ ke("ZodCIDRv4", (e, t) => {
  uR.init(e, t), ct.init(e, t);
}), RC = /* @__PURE__ */ ke("ZodCIDRv6", (e, t) => {
  hR.init(e, t), ct.init(e, t);
}), OC = /* @__PURE__ */ ke("ZodBase64", (e, t) => {
  fR.init(e, t), ct.init(e, t);
}), CC = /* @__PURE__ */ ke("ZodBase64URL", (e, t) => {
  pR.init(e, t), ct.init(e, t);
}), IC = /* @__PURE__ */ ke("ZodE164", (e, t) => {
  gR.init(e, t), ct.init(e, t);
}), kC = /* @__PURE__ */ ke("ZodJWT", (e, t) => {
  vR.init(e, t), ct.init(e, t);
}), LC = /* @__PURE__ */ ke("ZodUnknown", (e, t) => {
  yR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => LO(e, r, i, s);
});
function Pu() {
  return /* @__PURE__ */ hO(LC);
}
var $C = /* @__PURE__ */ ke("ZodNever", (e, t) => {
  _R.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => kO(e, r, i, s);
});
function NC(e) {
  return /* @__PURE__ */ fO($C, e);
}
var xC = /* @__PURE__ */ ke("ZodArray", (e, t) => {
  bR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => PO(e, r, i, s), e.element = t.element, e.min = (r, i) => e.check(/* @__PURE__ */ Pn(r, i)), e.nonempty = (r) => e.check(/* @__PURE__ */ Pn(1, r)), e.max = (r, i) => e.check(/* @__PURE__ */ Kp(r, i)), e.length = (r, i) => e.check(/* @__PURE__ */ Zp(r, i)), e.unwrap = () => e.element;
});
function ig(e, t) {
  return /* @__PURE__ */ AO(xC, e, t);
}
var PC = /* @__PURE__ */ ke("ZodObject", (e, t) => {
  ER.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => BO(e, r, i, s), et(e, "shape", () => t.shape), e.keyof = () => UC(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({
    ...e._zod.def,
    catchall: r
  }), e.passthrough = () => e.clone({
    ...e._zod.def,
    catchall: Pu()
  }), e.loose = () => e.clone({
    ...e._zod.def,
    catchall: Pu()
  }), e.strict = () => e.clone({
    ...e._zod.def,
    catchall: NC()
  }), e.strip = () => e.clone({
    ...e._zod.def,
    catchall: void 0
  }), e.extend = (r) => YT(e, r), e.safeExtend = (r) => KT(e, r), e.merge = (r) => ZT(e, r), e.pick = (r) => WT(e, r), e.omit = (r) => VT(e, r), e.partial = (...r) => JT(sg, e, r[0]), e.required = (...r) => XT(ag, e, r[0]);
});
function Bu(e, t) {
  return new PC({
    type: "object",
    shape: e ?? {},
    ...qe(t)
  });
}
var BC = /* @__PURE__ */ ke("ZodUnion", (e, t) => {
  SR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => FO(e, r, i, s), e.options = t.options;
});
function ng(e, t) {
  return new BC({
    type: "union",
    options: e,
    ...qe(t)
  });
}
var FC = /* @__PURE__ */ ke("ZodIntersection", (e, t) => {
  AR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => MO(e, r, i, s);
});
function MC(e, t) {
  return new FC({
    type: "intersection",
    left: e,
    right: t
  });
}
var jC = /* @__PURE__ */ ke("ZodRecord", (e, t) => {
  TR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => jO(e, r, i, s), e.keyType = t.keyType, e.valueType = t.valueType;
});
function Ks(e, t, r) {
  return new jC({
    type: "record",
    keyType: e,
    valueType: t,
    ...qe(r)
  });
}
var ko = /* @__PURE__ */ ke("ZodEnum", (e, t) => {
  DR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (i, s, h) => $O(e, i, s, h), e.enum = t.entries, e.options = Object.values(t.entries);
  const r = new Set(Object.keys(t.entries));
  e.extract = (i, s) => {
    const h = {};
    for (const o of i) if (r.has(o)) h[o] = t.entries[o];
    else throw new Error(`Key ${o} not found in enum`);
    return new ko({
      ...t,
      checks: [],
      ...qe(s),
      entries: h
    });
  }, e.exclude = (i, s) => {
    const h = { ...t.entries };
    for (const o of i) if (r.has(o)) delete h[o];
    else throw new Error(`Key ${o} not found in enum`);
    return new ko({
      ...t,
      checks: [],
      ...qe(s),
      entries: h
    });
  };
});
function UC(e, t) {
  return new ko({
    type: "enum",
    entries: Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e,
    ...qe(t)
  });
}
var HC = /* @__PURE__ */ ke("ZodTransform", (e, t) => {
  RR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => xO(e, r, i, s), e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new xp(e.constructor.name);
    r.addIssue = (h) => {
      if (typeof h == "string") r.issues.push(Mi(h, r.value, t));
      else {
        const o = h;
        o.fatal && (o.continue = !1), o.code ?? (o.code = "custom"), o.input ?? (o.input = r.value), o.inst ?? (o.inst = e), r.issues.push(Mi(o));
      }
    };
    const s = t.transform(r.value, r);
    return s instanceof Promise ? s.then((h) => (r.value = h, r)) : (r.value = s, r);
  };
});
function qC(e) {
  return new HC({
    type: "transform",
    transform: e
  });
}
var sg = /* @__PURE__ */ ke("ZodOptional", (e, t) => {
  Yp.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => eg(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function ji(e) {
  return new sg({
    type: "optional",
    innerType: e
  });
}
var GC = /* @__PURE__ */ ke("ZodExactOptional", (e, t) => {
  OR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => eg(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function zC(e) {
  return new GC({
    type: "optional",
    innerType: e
  });
}
var WC = /* @__PURE__ */ ke("ZodNullable", (e, t) => {
  CR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => UO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function Fu(e) {
  return new WC({
    type: "nullable",
    innerType: e
  });
}
var VC = /* @__PURE__ */ ke("ZodDefault", (e, t) => {
  IR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => qO(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function YC(e, t) {
  return new VC({
    type: "default",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : Fp(t);
    }
  });
}
var KC = /* @__PURE__ */ ke("ZodPrefault", (e, t) => {
  kR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => GO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function ZC(e, t) {
  return new KC({
    type: "prefault",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : Fp(t);
    }
  });
}
var ag = /* @__PURE__ */ ke("ZodNonOptional", (e, t) => {
  LR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => HO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function JC(e, t) {
  return new ag({
    type: "nonoptional",
    innerType: e,
    ...qe(t)
  });
}
var XC = /* @__PURE__ */ ke("ZodCatch", (e, t) => {
  $R.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => zO(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
function QC(e, t) {
  return new XC({
    type: "catch",
    innerType: e,
    catchValue: typeof t == "function" ? t : () => t
  });
}
var e2 = /* @__PURE__ */ ke("ZodPipe", (e, t) => {
  NR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => WO(e, r, i, s), e.in = t.in, e.out = t.out;
});
function Mu(e, t) {
  return new e2({
    type: "pipe",
    in: e,
    out: t
  });
}
var t2 = /* @__PURE__ */ ke("ZodReadonly", (e, t) => {
  xR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => VO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function r2(e) {
  return new t2({
    type: "readonly",
    innerType: e
  });
}
var i2 = /* @__PURE__ */ ke("ZodCustom", (e, t) => {
  PR.init(e, t), gt.init(e, t), e._zod.processJSONSchema = (r, i, s) => NO(e, r, i, s);
});
function n2(e, t = {}) {
  return /* @__PURE__ */ TO(i2, e, t);
}
function s2(e) {
  return /* @__PURE__ */ DO(e);
}
var ju = {
  catalog: ji(Ks(Ur(), Ur())),
  catalogs: ji(Ks(Ur(), Ks(Ur(), Ur()))).catch(void 0)
}, og = Bu({
  ...ju,
  workspaces: ji(ng([ig(Ur()), Bu(ju).passthrough()])).catch(void 0)
}), a2 = {
  dev: "devDependencies",
  peer: "peerDependencies",
  prod: "dependencies",
  optional: "optionalDependencies"
}, Zl = (e) => (e ? typeof e == "string" ? e.split(",") : e : wr.dep.default).map((t) => a2[t] || t);
function Uu(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function Hu(e, t, r) {
  const i = await Qe.readFile(e, "utf-8");
  return Object.entries(r).filter(([s]) => t[s]).reduce((s, [h, o]) => {
    const n = t[h], u = `("${Uu(h)}"\\s*:\\s*")(${Uu(n)})(")`, l = new RegExp(u, "g");
    return s.replace(l, `$1${o}$3`);
  }, i);
}
function qu(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 && Ve(t, s), new Error(s);
}
function o2(e, t, { newName: r, newValue: i }) {
  const s = t.slice(0, -1), h = t.at(-1), o = e.getIn(s);
  if (!o || !(0, Ut.isCollection)(o)) return !1;
  const n = o.items.find((u) => (0, Ut.isPair)(u) && (0, Ut.isScalar)(u.key) && u.key.value === h);
  if (!n || !(0, Ut.isPair)(n)) return !1;
  if (r && Ut.CST.setScalarValue(n.srcToken.key, r), i) {
    if (!Ut.CST.isScalar(n.srcToken?.value)) return !1;
    Ut.CST.setScalarValue(n.srcToken.value, i);
  }
  return !0;
}
function l2({ 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: h } = t;
  let o, n;
  try {
    o = (0, Ut.parseDocument)(e, { keepSourceTokens: !0 });
  } catch (l) {
    qu(l, {
      options: r,
      filePath: i
    });
  }
  o.errors.length > 0 && qu(o.errors[0], {
    options: r,
    filePath: i
  });
  try {
    n = og.parse(o.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) === h ? e : o2(o, s, {
    newValue: h,
    newName: t.path.at(-1)
  }) ? Ut.CST.stringify(o.contents.srcToken) : null;
}
function c2(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function lg(e, t, r, i, s) {
  if (s) {
    const u = ze.basename(s), l = ze.extname(s);
    if (s.includes("#catalog")) {
      const f = s.replace("#catalog", "");
      if (ze.extname(f) === ".json") return Hu(f, t, r);
    }
    if (u === "pnpm-workspace.yaml" || u === ".yarnrc.yml") {
      const f = await Qe.readFile(s, "utf-8"), a = og.parse((0, Ut.parseDocument)(f).toJSON()), c = [];
      a.catalogs && Object.entries(a.catalogs).forEach(([m, g]) => {
        Object.entries(r).forEach(([v, y]) => {
          g[v] && c.push({
            path: [
              "catalogs",
              m,
              v
            ],
            newValue: y
          });
        });
      }), a.catalog && Object.entries(r).forEach(([m, g]) => {
        a.catalog?.[m] && c.push({
          path: ["catalog", m],
          newValue: g
        });
      });
      const d = a.workspaces;
      d && !Array.isArray(d) && (d.catalogs && Object.entries(d.catalogs).forEach(([m, g]) => {
        Object.entries(r).forEach(([v, y]) => {
          g[v] && c.push({
            path: [
              "workspaces",
              "catalogs",
              m,
              v
            ],
            newValue: y
          });
        });
      }), d.catalog && Object.entries(r).forEach(([m, g]) => {
        d.catalog?.[m] && c.push({
          path: [
            "workspaces",
            "catalog",
            m
          ],
          newValue: g
        });
      }));
      let p = f;
      return c.forEach((m) => {
        const g = l2({
          fileContent: p,
          upgrade: m,
          options: i,
          filePath: s
        });
        g && (p = g);
      }), p;
    }
    if (l === ".json") {
      const f = JSON.parse(e), a = f.catalog || f.catalogs, c = f.workspaces && !Array.isArray(f.workspaces) && (f.workspaces.catalog || f.workspaces.catalogs);
      if (a || c) return Hu(s, t, r);
    }
  }
  const h = [...Zl(i.dep), "overrides"], o = new RegExp(`"(${h.join("|")})"s*:[^}]*`, "g");
  let n = e.replace(o, (u) => Object.entries(r).reduce((l, [f]) => {
    const a = `"${f}"\\s*:\\s*("|{\\s*"."\\s*:\\s*")(${c2(t[f])})"`, c = new RegExp(a, "g");
    return l.replace(c, (d, p) => `"${f}${p ? `": ${p}` : ": "}${r[f]}"`);
  }, u));
  if (h.includes("packageManager")) {
    const u = JSON.parse(e);
    if (u.packageManager) {
      const [l] = u.packageManager.split("@");
      r[l] && (n = n.replace(/"packageManager"\s*:\s*".*?@[^"]*"/, `"packageManager": "${l}@${r[l]}"`));
    }
  }
  return n;
}
var pn = (e, t, r, { spawnOptions: i, spawnPleaseOptions: s } = {}) => {
  r && console.log(ve.blue([t.packageManager, ...e].join(" ")));
  const h = {
    cwd: t.cwd || process.cwd(),
    env: {
      ...process.env,
      ...t.packageManager !== "pnpm" ? { CI: "1" } : null,
      FORCE_COLOR: "1",
      ...i?.env
    },
    ...i
  }, o = {
    ...t.global ? { global: !0 } : null,
    ...t.prefix ? { prefix: t.prefix } : null
  };
  return (t.packageManager === "pnpm" ? Hd : t.packageManager === "yarn" ? Ul : t.packageManager === "bun" ? Al : ss)(e, o, s, h);
}, u2 = 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 Hl(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;
}, h2 = async (e, t) => {
  await ch();
  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 u2(t), h = {
    ...i.dependencies,
    ...i.devDependencies,
    ...i.optionalDependencies
  }, o = async () => {
    if (t.doctorInstall) {
      const [a, ...c] = t.doctorInstall.split(" ");
      console.log(ve.blue(t.doctorInstall)), await (0, Er.default)(a, c);
    } else await pn(["install"], { packageManager: t.packageManager }, !0);
  }, n = async () => {
    const a = {
      stderr: (c) => {
        console.error(ve.red(c.toString()));
      },
      stdout: (c) => {
        process.stdout.write(c.toString());
      }
    };
    if (t.doctorTest) {
      const c = t.doctorTest.matchAll(/"(.+?)"|'(.+?)'|[^ ]+/g);
      let d = [];
      for (const g of c) d = [...d, g[2] || g[1] || g[0]];
      const [p, ...m] = d;
      console.log(ve.blue(t.doctorTest)), await (0, Er.default)(p, m, a);
    } else await pn(["run", "test"], { packageManager: t.packageManager }, !0, { spawnPleaseOptions: a });
  };
  console.log("Running tests before upgrading"), await o();
  let u = "";
  try {
    u = await Qe.readFile(r, "utf-8");
  } catch {
    if (t.packageManager === "bun") {
      r = "bun.lockb";
      try {
        u = await Qe.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(ve.blue("ncu " + process.argv.slice(2).filter((a) => a !== "--doctor").join(" "))), process.env.NCU_DOCTOR = "1";
  const l = await e({
    ...t,
    silent: !0,
    doctor: !1
  });
  if (Object.keys(l || {}).length === 0) {
    console.log("All dependencies are up-to-date " + ve.green.bold(":)"));
    return;
  }
  let f = !1;
  try {
    await o(), f = !0, await n(), console.log(`${ve.green("✓")} Tests pass`), await cl(t, {
      current: h,
      upgraded: l,
      total: Object.keys(l || {}).length
    }), console.log(`
${t.interactive ? "Chosen" : "All"} dependencies upgraded and installed ${ve.green(":)")}`);
  } catch {
    console.error(ve.red(f ? "Tests failed" : "Install failed")), console.log("Identifying broken dependencies"), await Qe.writeFile("package.json", s), u ? await Qe.writeFile(r, u) : await Qe.rm(r, {
      recursive: !0,
      force: !0
    });
    let a = s;
    if (f) try {
      await o();
    } catch (p) {
      const m = (t.packageManager || "npm") + " install";
      throw new Error(`Error: Doctor mode was about to test individual upgrades, but ${ve.cyan(m)} 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 c, d;
    for ([c, d] of Object.entries(l)) try {
      if (await pn([...t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun" ? ["add"] : ["install", "--no-save"], `${c}@${d}`], { packageManager: t.packageManager }, !0), i.scripts?.prepare) try {
        await pn(["run", "prepare"], { packageManager: t.packageManager }, !0);
      } catch (p) {
        throw console.error(ve.red("Prepare script failed")), p;
      }
      await n(), console.log(`  ${ve.green("✓")} ${c} ${h[c]} → ${d}`), a = await lg(a, { [c]: h[c] }, { [c]: d }, t), u = await Qe.readFile(r, "utf-8");
    } catch (p) {
      console.error(`  ${ve.red("✗")} ${c} ${h[c]} → ${d}
`), console.error(ve.red(p)), await Qe.writeFile(r, u), (t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun") && await Qe.writeFile("package.json", a);
    }
    a !== s && (console.log("Saving partially upgraded package.json"), await Qe.writeFile("package.json", a)), await o();
  }
};
async function Fn(e) {
  let t, r = null;
  const i = e.packageFile || "package.json";
  function s(h, o) {
    if (h != null) {
      const n = ze.resolve(h);
      Fe(e, `${e.upgrade ? "Upgrading" : "Checking"} ${n}`);
    } else Ve(e, `${ve.red(`No ${o}`)}

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

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

` + s.mark.snippet), n + " " + o) : n;
  }
  function i(s, h) {
    Error.call(this), this.name = "YAMLException", this.reason = s, this.mark = h, 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(h) {
    return this.name + ": " + r(this, h);
  }, t.exports = i;
})), $I = /* @__PURE__ */ P(((e, t) => {
  var r = sn();
  function i(o, n, u, l, f) {
    var a = "", c = "", d = Math.floor(f / 2) - 1;
    return l - n > d && (a = " ... ", n = l - d + a.length), u - l > d && (c = " ...", u = l + d - c.length), {
      str: a + o.slice(n, u).replace(/\t/g, "→") + c,
      pos: l - n + a.length
    };
  }
  function s(o, n) {
    return r.repeat(" ", n - o.length) + o;
  }
  function h(o, n) {
    if (n = Object.create(n || null), !o.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);
    for (var u = /\r?\n|\r|\0/g, l = [0], f = [], a, c = -1; a = u.exec(o.buffer); )
      f.push(a.index), l.push(a.index + a[0].length), o.position <= a.index && c < 0 && (c = l.length - 2);
    c < 0 && (c = l.length - 1);
    var d = "", p, m, g = Math.min(o.line + n.linesAfter, f.length).toString().length, v = n.maxLength - (n.indent + g + 3);
    for (p = 1; p <= n.linesBefore && !(c - p < 0); p++)
      m = i(o.buffer, l[c - p], f[c - p], o.position - (l[c] - l[c - p]), v), d = r.repeat(" ", n.indent) + s((o.line - p + 1).toString(), g) + " | " + m.str + `
` + d;
    for (m = i(o.buffer, l[c], f[c], o.position, v), d += r.repeat(" ", n.indent) + s((o.line + 1).toString(), g) + " | " + m.str + `
`, d += r.repeat("-", n.indent + g + 3 + m.pos) + `^
`, p = 1; p <= n.linesAfter && !(c + p >= f.length); p++)
      m = i(o.buffer, l[c + p], f[c + p], o.position - (l[c] - l[c + p]), v), d += r.repeat(" ", n.indent) + s((o.line + p + 1).toString(), g) + " | " + m.str + `
`;
    return d.replace(/\n$/, "");
  }
  t.exports = h;
})), kt = /* @__PURE__ */ P(((e, t) => {
  var r = an(), i = [
    "kind",
    "multi",
    "resolve",
    "construct",
    "instanceOf",
    "predicate",
    "represent",
    "representName",
    "defaultStyle",
    "styleAliases"
  ], s = [
    "scalar",
    "sequence",
    "mapping"
  ];
  function h(n) {
    var u = {};
    return n !== null && Object.keys(n).forEach(function(l) {
      n[l].forEach(function(f) {
        u[String(f)] = l;
      });
    }), u;
  }
  function o(n, u) {
    if (u = u || {}, Object.keys(u).forEach(function(l) {
      if (i.indexOf(l) === -1) throw new r('Unknown option "' + l + '" 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(l) {
      return l;
    }, 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 = h(u.styleAliases || null), s.indexOf(this.kind) === -1) throw new r('Unknown kind "' + this.kind + '" is specified for "' + n + '" YAML type.');
  }
  t.exports = o;
})), _g = /* @__PURE__ */ P(((e, t) => {
  var r = an(), i = kt();
  function s(n, u) {
    var l = [];
    return n[u].forEach(function(f) {
      var a = l.length;
      l.forEach(function(c, d) {
        c.tag === f.tag && c.kind === f.kind && c.multi === f.multi && (a = d);
      }), l[a] = f;
    }), l;
  }
  function h() {
    var n = {
      scalar: {},
      sequence: {},
      mapping: {},
      fallback: {},
      multi: {
        scalar: [],
        sequence: [],
        mapping: [],
        fallback: []
      }
    }, u, l;
    function f(a) {
      a.multi ? (n.multi[a.kind].push(a), n.multi.fallback.push(a)) : n[a.kind][a.tag] = n.fallback[a.tag] = a;
    }
    for (u = 0, l = arguments.length; u < l; u += 1) arguments[u].forEach(f);
    return n;
  }
  function o(n) {
    return this.extend(n);
  }
  o.prototype.extend = function(u) {
    var l = [], f = [];
    if (u instanceof i) f.push(u);
    else if (Array.isArray(u)) f = f.concat(u);
    else if (u && (Array.isArray(u.implicit) || Array.isArray(u.explicit)))
      u.implicit && (l = l.concat(u.implicit)), u.explicit && (f = f.concat(u.explicit));
    else throw new r("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
    l.forEach(function(c) {
      if (!(c instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
      if (c.loadKind && c.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 (c.multi) throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
    }), f.forEach(function(c) {
      if (!(c instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    });
    var a = Object.create(o.prototype);
    return a.implicit = (this.implicit || []).concat(l), a.explicit = (this.explicit || []).concat(f), a.compiledImplicit = s(a, "implicit"), a.compiledExplicit = s(a, "explicit"), a.compiledTypeMap = h(a.compiledImplicit, a.compiledExplicit), a;
  }, t.exports = o;
})), bg = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  t.exports = new r("tag:yaml.org,2002:str", {
    kind: "scalar",
    construct: function(i) {
      return i !== null ? i : "";
    }
  });
})), wg = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  t.exports = new r("tag:yaml.org,2002:seq", {
    kind: "sequence",
    construct: function(i) {
      return i !== null ? i : [];
    }
  });
})), Eg = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  t.exports = new r("tag:yaml.org,2002:map", {
    kind: "mapping",
    construct: function(i) {
      return i !== null ? i : {};
    }
  });
})), Sg = /* @__PURE__ */ P(((e, t) => {
  var r = _g();
  t.exports = new r({ explicit: [
    bg(),
    wg(),
    Eg()
  ] });
})), Ag = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  function i(o) {
    if (o === null) return !0;
    var n = o.length;
    return n === 1 && o === "~" || n === 4 && (o === "null" || o === "Null" || o === "NULL");
  }
  function s() {
    return null;
  }
  function h(o) {
    return o === null;
  }
  t.exports = new r("tag:yaml.org,2002:null", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: h,
    represent: {
      canonical: function() {
        return "~";
      },
      lowercase: function() {
        return "null";
      },
      uppercase: function() {
        return "NULL";
      },
      camelcase: function() {
        return "Null";
      },
      empty: function() {
        return "";
      }
    },
    defaultStyle: "lowercase"
  });
})), Tg = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  function i(o) {
    if (o === null) return !1;
    var n = o.length;
    return n === 4 && (o === "true" || o === "True" || o === "TRUE") || n === 5 && (o === "false" || o === "False" || o === "FALSE");
  }
  function s(o) {
    return o === "true" || o === "True" || o === "TRUE";
  }
  function h(o) {
    return Object.prototype.toString.call(o) === "[object Boolean]";
  }
  t.exports = new r("tag:yaml.org,2002:bool", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: h,
    represent: {
      lowercase: function(o) {
        return o ? "true" : "false";
      },
      uppercase: function(o) {
        return o ? "TRUE" : "FALSE";
      },
      camelcase: function(o) {
        return o ? "True" : "False";
      }
    },
    defaultStyle: "lowercase"
  });
})), Dg = /* @__PURE__ */ P(((e, t) => {
  var r = sn(), i = kt();
  function s(f) {
    return 48 <= f && f <= 57 || 65 <= f && f <= 70 || 97 <= f && f <= 102;
  }
  function h(f) {
    return 48 <= f && f <= 55;
  }
  function o(f) {
    return 48 <= f && f <= 57;
  }
  function n(f) {
    if (f === null) return !1;
    var a = f.length, c = 0, d = !1, p;
    if (!a) return !1;
    if (p = f[c], (p === "-" || p === "+") && (p = f[++c]), p === "0") {
      if (c + 1 === a) return !0;
      if (p = f[++c], p === "b") {
        for (c++; c < a; c++)
          if (p = f[c], p !== "_") {
            if (p !== "0" && p !== "1") return !1;
            d = !0;
          }
        return d && p !== "_";
      }
      if (p === "x") {
        for (c++; c < a; c++)
          if (p = f[c], p !== "_") {
            if (!s(f.charCodeAt(c))) return !1;
            d = !0;
          }
        return d && p !== "_";
      }
      if (p === "o") {
        for (c++; c < a; c++)
          if (p = f[c], p !== "_") {
            if (!h(f.charCodeAt(c))) return !1;
            d = !0;
          }
        return d && p !== "_";
      }
    }
    if (p === "_") return !1;
    for (; c < a; c++)
      if (p = f[c], p !== "_") {
        if (!o(f.charCodeAt(c))) return !1;
        d = !0;
      }
    return !(!d || p === "_");
  }
  function u(f) {
    var a = f, c = 1, d;
    if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), d = a[0], (d === "-" || d === "+") && (d === "-" && (c = -1), a = a.slice(1), d = a[0]), a === "0") return 0;
    if (d === "0") {
      if (a[1] === "b") return c * parseInt(a.slice(2), 2);
      if (a[1] === "x") return c * parseInt(a.slice(2), 16);
      if (a[1] === "o") return c * parseInt(a.slice(2), 8);
    }
    return c * parseInt(a, 10);
  }
  function l(f) {
    return Object.prototype.toString.call(f) === "[object Number]" && f % 1 === 0 && !r.isNegativeZero(f);
  }
  t.exports = new i("tag:yaml.org,2002:int", {
    kind: "scalar",
    resolve: n,
    construct: u,
    predicate: l,
    represent: {
      binary: function(f) {
        return f >= 0 ? "0b" + f.toString(2) : "-0b" + f.toString(2).slice(1);
      },
      octal: function(f) {
        return f >= 0 ? "0o" + f.toString(8) : "-0o" + f.toString(8).slice(1);
      },
      decimal: function(f) {
        return f.toString(10);
      },
      hexadecimal: function(f) {
        return f >= 0 ? "0x" + f.toString(16).toUpperCase() : "-0x" + f.toString(16).toUpperCase().slice(1);
      }
    },
    defaultStyle: "decimal",
    styleAliases: {
      binary: [2, "bin"],
      octal: [8, "oct"],
      decimal: [10, "dec"],
      hexadecimal: [16, "hex"]
    }
  });
})), Rg = /* @__PURE__ */ P(((e, t) => {
  var r = sn(), i = kt(), s = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
  function h(f) {
    return !(f === null || !s.test(f) || f[f.length - 1] === "_");
  }
  function o(f) {
    var a = f.replace(/_/g, "").toLowerCase(), c = a[0] === "-" ? -1 : 1;
    return "+-".indexOf(a[0]) >= 0 && (a = a.slice(1)), a === ".inf" ? c === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : a === ".nan" ? NaN : c * parseFloat(a, 10);
  }
  var n = /^[-+]?[0-9]+e/;
  function u(f, a) {
    var c;
    if (isNaN(f)) switch (a) {
      case "lowercase":
        return ".nan";
      case "uppercase":
        return ".NAN";
      case "camelcase":
        return ".NaN";
    }
    else if (Number.POSITIVE_INFINITY === f) switch (a) {
      case "lowercase":
        return ".inf";
      case "uppercase":
        return ".INF";
      case "camelcase":
        return ".Inf";
    }
    else if (Number.NEGATIVE_INFINITY === f) switch (a) {
      case "lowercase":
        return "-.inf";
      case "uppercase":
        return "-.INF";
      case "camelcase":
        return "-.Inf";
    }
    else if (r.isNegativeZero(f)) return "-0.0";
    return c = f.toString(10), n.test(c) ? c.replace("e", ".e") : c;
  }
  function l(f) {
    return Object.prototype.toString.call(f) === "[object Number]" && (f % 1 !== 0 || r.isNegativeZero(f));
  }
  t.exports = new i("tag:yaml.org,2002:float", {
    kind: "scalar",
    resolve: h,
    construct: o,
    predicate: l,
    represent: u,
    defaultStyle: "lowercase"
  });
})), Og = /* @__PURE__ */ P(((e, t) => {
  t.exports = Sg().extend({ implicit: [
    Ag(),
    Tg(),
    Dg(),
    Rg()
  ] });
})), Cg = /* @__PURE__ */ P(((e, t) => {
  t.exports = Og();
})), Ig = /* @__PURE__ */ P(((e, t) => {
  var r = kt(), i = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), s = 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 h(u) {
    return u === null ? !1 : i.exec(u) !== null || s.exec(u) !== null;
  }
  function o(u) {
    var l, f, a, c, d, p, m, g = 0, v = null, y, E, b;
    if (l = i.exec(u), l === null && (l = s.exec(u)), l === null) throw new Error("Date resolve error");
    if (f = +l[1], a = +l[2] - 1, c = +l[3], !l[4]) return new Date(Date.UTC(f, a, c));
    if (d = +l[4], p = +l[5], m = +l[6], l[7]) {
      for (g = l[7].slice(0, 3); g.length < 3; ) g += "0";
      g = +g;
    }
    return l[9] && (y = +l[10], E = +(l[11] || 0), v = (y * 60 + E) * 6e4, l[9] === "-" && (v = -v)), b = new Date(Date.UTC(f, a, c, d, p, m, g)), v && b.setTime(b.getTime() - v), b;
  }
  function n(u) {
    return u.toISOString();
  }
  t.exports = new r("tag:yaml.org,2002:timestamp", {
    kind: "scalar",
    resolve: h,
    construct: o,
    instanceOf: Date,
    represent: n
  });
})), kg = /* @__PURE__ */ P(((e, t) => {
  var r = kt();
  function i(s) {
    return s === "<<" || s === null;
  }
  t.exports = new r("tag:yaml.org,2002:merge", {
    kind: "scalar",
    resolve: i
  });
})), Lg = /* @__PURE__ */ P(((e, t) => {
  var r = kt(), i = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
  function s(u) {
    if (u === null) return !1;
    var l, f, a = 0, c = u.length, d = i;
    for (f = 0; f < c; f++)
      if (l = d.indexOf(u.charAt(f)), !(l > 64)) {
        if (l < 0) return !1;
        a += 6;
      }
    return a % 8 === 0;
  }
  function h(u) {
    var l, f, a = u.replace(/[\r\n=]/g, ""), c = a.length, d = i, p = 0, m = [];
    for (l = 0; l < c; l++)
      l % 4 === 0 && l && (m.push(p >> 16 & 255), m.push(p >> 8 & 255), m.push(p & 255)), p = p << 6 | d.indexOf(a.charAt(l));
    return f = c % 4 * 6, f === 0 ? (m.push(p >> 16 & 255), m.push(p >> 8 & 255), m.push(p & 255)) : f === 18 ? (m.push(p >> 10 & 255), m.push(p >> 2 & 255)) : f === 12 && m.push(p >> 4 & 255), new Uint8Array(m);
  }
  function o(u) {
    var l = "", f = 0, a, c, d = u.length, p = i;
    for (a = 0; a < d; a++)
      a % 3 === 0 && a && (l += p[f >> 18 & 63], l += p[f >> 12 & 63], l += p[f >> 6 & 63], l += p[f & 63]), f = (f << 8) + u[a];
    return c = d % 3, c === 0 ? (l += p[f >> 18 & 63], l += p[f >> 12 & 63], l += p[f >> 6 & 63], l += p[f & 63]) : c === 2 ? (l += p[f >> 10 & 63], l += p[f >> 4 & 63], l += p[f << 2 & 63], l += p[64]) : c === 1 && (l += p[f >> 2 & 63], l += p[f << 4 & 63], l += p[64], l += p[64]), l;
  }
  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: h,
    predicate: n,
    represent: o
  });
})), $g = /* @__PURE__ */ P(((e, t) => {
  var r = kt(), i = Object.prototype.hasOwnProperty, s = Object.prototype.toString;
  function h(n) {
    if (n === null) return !0;
    var u = [], l, f, a, c, d, p = n;
    for (l = 0, f = p.length; l < f; l += 1) {
      if (a = p[l], d = !1, s.call(a) !== "[object Object]") return !1;
      for (c in a) if (i.call(a, c)) if (!d) d = !0;
      else return !1;
      if (!d) return !1;
      if (u.indexOf(c) === -1) u.push(c);
      else return !1;
    }
    return !0;
  }
  function o(n) {
    return n !== null ? n : [];
  }
  t.exports = new r("tag:yaml.org,2002:omap", {
    kind: "sequence",
    resolve: h,
    construct: o
  });
})), Ng = /* @__PURE__ */ P(((e, t) => {
  var r = kt(), i = Object.prototype.toString;
  function s(o) {
    if (o === null) return !0;
    var n, u, l, f, a, c = o;
    for (a = new Array(c.length), n = 0, u = c.length; n < u; n += 1) {
      if (l = c[n], i.call(l) !== "[object Object]" || (f = Object.keys(l), f.length !== 1)) return !1;
      a[n] = [f[0], l[f[0]]];
    }
    return !0;
  }
  function h(o) {
    if (o === null) return [];
    var n, u, l, f, a, c = o;
    for (a = new Array(c.length), n = 0, u = c.length; n < u; n += 1)
      l = c[n], f = Object.keys(l), a[n] = [f[0], l[f[0]]];
    return a;
  }
  t.exports = new r("tag:yaml.org,2002:pairs", {
    kind: "sequence",
    resolve: s,
    construct: h
  });
})), xg = /* @__PURE__ */ P(((e, t) => {
  var r = kt(), i = Object.prototype.hasOwnProperty;
  function s(o) {
    if (o === null) return !0;
    var n, u = o;
    for (n in u) if (i.call(u, n) && u[n] !== null)
      return !1;
    return !0;
  }
  function h(o) {
    return o !== null ? o : {};
  }
  t.exports = new r("tag:yaml.org,2002:set", {
    kind: "mapping",
    resolve: s,
    construct: h
  });
})), nc = /* @__PURE__ */ P(((e, t) => {
  t.exports = Cg().extend({
    implicit: [Ig(), kg()],
    explicit: [
      Lg(),
      $g(),
      Ng(),
      xg()
    ]
  });
})), NI = /* @__PURE__ */ P(((e, t) => {
  var r = sn(), i = an(), s = $I(), h = nc(), o = Object.prototype.hasOwnProperty, n = 1, u = 2, l = 3, f = 4, a = 1, c = 2, d = 3, p = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, m = /[\x85\u2028\u2029]/, g = /[,\[\]\{\}]/, v = /^(?:!|!!|![a-z\-]+!)$/i, y = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
  function E(A) {
    return Object.prototype.toString.call(A);
  }
  function b(A) {
    return A === 10 || A === 13;
  }
  function w(A) {
    return A === 9 || A === 32;
  }
  function _(A) {
    return A === 9 || A === 32 || A === 10 || A === 13;
  }
  function S(A) {
    return A === 44 || A === 91 || A === 93 || A === 123 || A === 125;
  }
  function T(A) {
    var se;
    return 48 <= A && A <= 57 ? A - 48 : (se = A | 32, 97 <= se && se <= 102 ? se - 97 + 10 : -1);
  }
  function D(A) {
    return A === 120 ? 2 : A === 117 ? 4 : A === 85 ? 8 : 0;
  }
  function R(A) {
    return 48 <= A && A <= 57 ? A - 48 : -1;
  }
  function j(A) {
    return A === 48 ? "\0" : A === 97 ? "\x07" : A === 98 ? "\b" : A === 116 || A === 9 ? "	" : A === 110 ? `
` : A === 118 ? "\v" : A === 102 ? "\f" : A === 114 ? "\r" : A === 101 ? "\x1B" : A === 32 ? " " : A === 34 ? '"' : A === 47 ? "/" : A === 92 ? "\\" : A === 78 ? "" : A === 95 ? " " : A === 76 ? "\u2028" : A === 80 ? "\u2029" : "";
  }
  function M(A) {
    return A <= 65535 ? String.fromCharCode(A) : String.fromCharCode((A - 65536 >> 10) + 55296, (A - 65536 & 1023) + 56320);
  }
  function G(A, se, he) {
    se === "__proto__" ? Object.defineProperty(A, se, {
      configurable: !0,
      enumerable: !0,
      writable: !0,
      value: he
    }) : A[se] = he;
  }
  for (var Y = new Array(256), H = new Array(256), I = 0; I < 256; I++)
    Y[I] = j(I) ? 1 : 0, H[I] = j(I);
  function $(A, se) {
    this.input = A, this.filename = se.filename || null, this.schema = se.schema || h, this.onWarning = se.onWarning || null, this.legacy = se.legacy || !1, this.json = se.json || !1, this.listener = se.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = A.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
  }
  function q(A, se) {
    var he = {
      name: A.filename,
      buffer: A.input.slice(0, -1),
      position: A.position,
      line: A.line,
      column: A.position - A.lineStart
    };
    return he.snippet = s(he), new i(se, he);
  }
  function z(A, se) {
    throw q(A, se);
  }
  function F(A, se) {
    A.onWarning && A.onWarning.call(null, q(A, se));
  }
  var x = {
    YAML: function(se, he, de) {
      var re, Q, ie;
      se.version !== null && z(se, "duplication of %YAML directive"), de.length !== 1 && z(se, "YAML directive accepts exactly one argument"), re = /^([0-9]+)\.([0-9]+)$/.exec(de[0]), re === null && z(se, "ill-formed argument of the YAML directive"), Q = parseInt(re[1], 10), ie = parseInt(re[2], 10), Q !== 1 && z(se, "unacceptable YAML version of the document"), se.version = de[0], se.checkLineBreaks = ie < 2, ie !== 1 && ie !== 2 && F(se, "unsupported YAML version of the document");
    },
    TAG: function(se, he, de) {
      var re, Q;
      de.length !== 2 && z(se, "TAG directive accepts exactly two arguments"), re = de[0], Q = de[1], v.test(re) || z(se, "ill-formed tag handle (first argument) of the TAG directive"), o.call(se.tagMap, re) && z(se, 'there is a previously declared suffix for "' + re + '" tag handle'), y.test(Q) || z(se, "ill-formed tag prefix (second argument) of the TAG directive");
      try {
        Q = decodeURIComponent(Q);
      } catch {
        z(se, "tag prefix is malformed: " + Q);
      }
      se.tagMap[re] = Q;
    }
  };
  function L(A, se, he, de) {
    var re, Q, ie, ae;
    if (se < he) {
      if (ae = A.input.slice(se, he), de) for (re = 0, Q = ae.length; re < Q; re += 1)
        ie = ae.charCodeAt(re), ie === 9 || 32 <= ie && ie <= 1114111 || z(A, "expected valid JSON character");
      else p.test(ae) && z(A, "the stream contains non-printable characters");
      A.result += ae;
    }
  }
  function C(A, se, he, de) {
    var re, Q, ie, ae;
    for (r.isObject(he) || z(A, "cannot merge mappings; the provided source object is unacceptable"), re = Object.keys(he), ie = 0, ae = re.length; ie < ae; ie += 1)
      Q = re[ie], o.call(se, Q) || (G(se, Q, he[Q]), de[Q] = !0);
  }
  function N(A, se, he, de, re, Q, ie, ae, be) {
    var Le, De;
    if (Array.isArray(re))
      for (re = Array.prototype.slice.call(re), Le = 0, De = re.length; Le < De; Le += 1)
        Array.isArray(re[Le]) && z(A, "nested arrays are not supported inside keys"), typeof re == "object" && E(re[Le]) === "[object Object]" && (re[Le] = "[object Object]");
    if (typeof re == "object" && E(re) === "[object Object]" && (re = "[object Object]"), re = String(re), se === null && (se = {}), de === "tag:yaml.org,2002:merge") if (Array.isArray(Q)) for (Le = 0, De = Q.length; Le < De; Le += 1) C(A, se, Q[Le], he);
    else C(A, se, Q, he);
    else
      !A.json && !o.call(he, re) && o.call(se, re) && (A.line = ie || A.line, A.lineStart = ae || A.lineStart, A.position = be || A.position, z(A, "duplicated mapping key")), G(se, re, Q), delete he[re];
    return se;
  }
  function K(A) {
    var se = A.input.charCodeAt(A.position);
    se === 10 ? A.position++ : se === 13 ? (A.position++, A.input.charCodeAt(A.position) === 10 && A.position++) : z(A, "a line break is expected"), A.line += 1, A.lineStart = A.position, A.firstTabInLine = -1;
  }
  function oe(A, se, he) {
    for (var de = 0, re = A.input.charCodeAt(A.position); re !== 0; ) {
      for (; w(re); )
        re === 9 && A.firstTabInLine === -1 && (A.firstTabInLine = A.position), re = A.input.charCodeAt(++A.position);
      if (se && re === 35) do
        re = A.input.charCodeAt(++A.position);
      while (re !== 10 && re !== 13 && re !== 0);
      if (b(re))
        for (K(A), re = A.input.charCodeAt(A.position), de++, A.lineIndent = 0; re === 32; )
          A.lineIndent++, re = A.input.charCodeAt(++A.position);
      else break;
    }
    return he !== -1 && de !== 0 && A.lineIndent < he && F(A, "deficient indentation"), de;
  }
  function pe(A) {
    var se = A.position, he = A.input.charCodeAt(se);
    return !!((he === 45 || he === 46) && he === A.input.charCodeAt(se + 1) && he === A.input.charCodeAt(se + 2) && (se += 3, he = A.input.charCodeAt(se), he === 0 || _(he)));
  }
  function _e(A, se) {
    se === 1 ? A.result += " " : se > 1 && (A.result += r.repeat(`
`, se - 1));
  }
  function V(A, se, he) {
    var de, re, Q, ie, ae, be, Le, De, Oe = A.kind, Z = A.result, me = A.input.charCodeAt(A.position);
    if (_(me) || S(me) || me === 35 || me === 38 || me === 42 || me === 33 || me === 124 || me === 62 || me === 39 || me === 34 || me === 37 || me === 64 || me === 96 || (me === 63 || me === 45) && (re = A.input.charCodeAt(A.position + 1), _(re) || he && S(re)))
      return !1;
    for (A.kind = "scalar", A.result = "", Q = ie = A.position, ae = !1; me !== 0; ) {
      if (me === 58) {
        if (re = A.input.charCodeAt(A.position + 1), _(re) || he && S(re)) break;
      } else if (me === 35) {
        if (de = A.input.charCodeAt(A.position - 1), _(de)) break;
      } else {
        if (A.position === A.lineStart && pe(A) || he && S(me)) break;
        if (b(me))
          if (be = A.line, Le = A.lineStart, De = A.lineIndent, oe(A, !1, -1), A.lineIndent >= se) {
            ae = !0, me = A.input.charCodeAt(A.position);
            continue;
          } else {
            A.position = ie, A.line = be, A.lineStart = Le, A.lineIndent = De;
            break;
          }
      }
      ae && (L(A, Q, ie, !1), _e(A, A.line - be), Q = ie = A.position, ae = !1), w(me) || (ie = A.position + 1), me = A.input.charCodeAt(++A.position);
    }
    return L(A, Q, ie, !1), A.result ? !0 : (A.kind = Oe, A.result = Z, !1);
  }
  function B(A, se) {
    var he = A.input.charCodeAt(A.position), de, re;
    if (he !== 39) return !1;
    for (A.kind = "scalar", A.result = "", A.position++, de = re = A.position; (he = A.input.charCodeAt(A.position)) !== 0; ) if (he === 39)
      if (L(A, de, A.position, !0), he = A.input.charCodeAt(++A.position), he === 39)
        de = A.position, A.position++, re = A.position;
      else return !0;
    else b(he) ? (L(A, de, re, !0), _e(A, oe(A, !1, se)), de = re = A.position) : A.position === A.lineStart && pe(A) ? z(A, "unexpected end of the document within a single quoted scalar") : (A.position++, re = A.position);
    z(A, "unexpected end of the stream within a single quoted scalar");
  }
  function W(A, se) {
    var he, de, re, Q, ie, ae = A.input.charCodeAt(A.position);
    if (ae !== 34) return !1;
    for (A.kind = "scalar", A.result = "", A.position++, he = de = A.position; (ae = A.input.charCodeAt(A.position)) !== 0; ) {
      if (ae === 34)
        return L(A, he, A.position, !0), A.position++, !0;
      if (ae === 92) {
        if (L(A, he, A.position, !0), ae = A.input.charCodeAt(++A.position), b(ae)) oe(A, !1, se);
        else if (ae < 256 && Y[ae])
          A.result += H[ae], A.position++;
        else if ((ie = D(ae)) > 0) {
          for (re = ie, Q = 0; re > 0; re--)
            ae = A.input.charCodeAt(++A.position), (ie = T(ae)) >= 0 ? Q = (Q << 4) + ie : z(A, "expected hexadecimal character");
          A.result += M(Q), A.position++;
        } else z(A, "unknown escape sequence");
        he = de = A.position;
      } else b(ae) ? (L(A, he, de, !0), _e(A, oe(A, !1, se)), he = de = A.position) : A.position === A.lineStart && pe(A) ? z(A, "unexpected end of the document within a double quoted scalar") : (A.position++, de = A.position);
    }
    z(A, "unexpected end of the stream within a double quoted scalar");
  }
  function X(A, se) {
    var he = !0, de, re, Q, ie = A.tag, ae, be = A.anchor, Le, De, Oe, Z, me, Re = /* @__PURE__ */ Object.create(null), Se, te, ce, ue = A.input.charCodeAt(A.position);
    if (ue === 91)
      De = 93, me = !1, ae = [];
    else if (ue === 123)
      De = 125, me = !0, ae = {};
    else return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = ae), ue = A.input.charCodeAt(++A.position); ue !== 0; ) {
      if (oe(A, !0, se), ue = A.input.charCodeAt(A.position), ue === De)
        return A.position++, A.tag = ie, A.anchor = be, A.kind = me ? "mapping" : "sequence", A.result = ae, !0;
      he ? ue === 44 && z(A, "expected the node content, but found ','") : z(A, "missed comma between flow collection entries"), te = Se = ce = null, Oe = Z = !1, ue === 63 && (Le = A.input.charCodeAt(A.position + 1), _(Le) && (Oe = Z = !0, A.position++, oe(A, !0, se))), de = A.line, re = A.lineStart, Q = A.position, ye(A, se, n, !1, !0), te = A.tag, Se = A.result, oe(A, !0, se), ue = A.input.charCodeAt(A.position), (Z || A.line === de) && ue === 58 && (Oe = !0, ue = A.input.charCodeAt(++A.position), oe(A, !0, se), ye(A, se, n, !1, !0), ce = A.result), me ? N(A, ae, Re, te, Se, ce, de, re, Q) : Oe ? ae.push(N(A, null, Re, te, Se, ce, de, re, Q)) : ae.push(Se), oe(A, !0, se), ue = A.input.charCodeAt(A.position), ue === 44 ? (he = !0, ue = A.input.charCodeAt(++A.position)) : he = !1;
    }
    z(A, "unexpected end of the stream within a flow collection");
  }
  function ne(A, se) {
    var he, de, re = a, Q = !1, ie = !1, ae = se, be = 0, Le = !1, De, Oe = A.input.charCodeAt(A.position);
    if (Oe === 124) de = !1;
    else if (Oe === 62) de = !0;
    else return !1;
    for (A.kind = "scalar", A.result = ""; Oe !== 0; )
      if (Oe = A.input.charCodeAt(++A.position), Oe === 43 || Oe === 45) a === re ? re = Oe === 43 ? d : c : z(A, "repeat of a chomping mode identifier");
      else if ((De = R(Oe)) >= 0) De === 0 ? z(A, "bad explicit indentation width of a block scalar; it cannot be less than one") : ie ? z(A, "repeat of an indentation width identifier") : (ae = se + De - 1, ie = !0);
      else break;
    if (w(Oe)) {
      do
        Oe = A.input.charCodeAt(++A.position);
      while (w(Oe));
      if (Oe === 35) do
        Oe = A.input.charCodeAt(++A.position);
      while (!b(Oe) && Oe !== 0);
    }
    for (; Oe !== 0; ) {
      for (K(A), A.lineIndent = 0, Oe = A.input.charCodeAt(A.position); (!ie || A.lineIndent < ae) && Oe === 32; )
        A.lineIndent++, Oe = A.input.charCodeAt(++A.position);
      if (!ie && A.lineIndent > ae && (ae = A.lineIndent), b(Oe)) {
        be++;
        continue;
      }
      if (A.lineIndent < ae) {
        re === d ? A.result += r.repeat(`
`, Q ? 1 + be : be) : re === a && Q && (A.result += `
`);
        break;
      }
      for (de ? w(Oe) ? (Le = !0, A.result += r.repeat(`
`, Q ? 1 + be : be)) : Le ? (Le = !1, A.result += r.repeat(`
`, be + 1)) : be === 0 ? Q && (A.result += " ") : A.result += r.repeat(`
`, be) : A.result += r.repeat(`
`, Q ? 1 + be : be), Q = !0, ie = !0, be = 0, he = A.position; !b(Oe) && Oe !== 0; ) Oe = A.input.charCodeAt(++A.position);
      L(A, he, A.position, !1);
    }
    return !0;
  }
  function k(A, se) {
    var he, de = A.tag, re = A.anchor, Q = [], ie, ae = !1, be;
    if (A.firstTabInLine !== -1) return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = Q), be = A.input.charCodeAt(A.position); be !== 0 && (A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, z(A, "tab characters must not be used in indentation")), !(be !== 45 || (ie = A.input.charCodeAt(A.position + 1), !_(ie)))); ) {
      if (ae = !0, A.position++, oe(A, !0, -1) && A.lineIndent <= se) {
        Q.push(null), be = A.input.charCodeAt(A.position);
        continue;
      }
      if (he = A.line, ye(A, se, l, !1, !0), Q.push(A.result), oe(A, !0, -1), be = A.input.charCodeAt(A.position), (A.line === he || A.lineIndent > se) && be !== 0) z(A, "bad indentation of a sequence entry");
      else if (A.lineIndent < se) break;
    }
    return ae ? (A.tag = de, A.anchor = re, A.kind = "sequence", A.result = Q, !0) : !1;
  }
  function U(A, se, he) {
    var de, re, Q, ie, ae, be, Le = A.tag, De = A.anchor, Oe = {}, Z = /* @__PURE__ */ Object.create(null), me = null, Re = null, Se = null, te = !1, ce = !1, ue;
    if (A.firstTabInLine !== -1) return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = Oe), ue = A.input.charCodeAt(A.position); ue !== 0; ) {
      if (!te && A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, z(A, "tab characters must not be used in indentation")), de = A.input.charCodeAt(A.position + 1), Q = A.line, (ue === 63 || ue === 58) && _(de))
        ue === 63 ? (te && (N(A, Oe, Z, me, Re, null, ie, ae, be), me = Re = Se = null), ce = !0, te = !0, re = !0) : te ? (te = !1, re = !0) : z(A, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), A.position += 1, ue = de;
      else {
        if (ie = A.line, ae = A.lineStart, be = A.position, !ye(A, he, u, !1, !0)) break;
        if (A.line === Q) {
          for (ue = A.input.charCodeAt(A.position); w(ue); ) ue = A.input.charCodeAt(++A.position);
          if (ue === 58)
            ue = A.input.charCodeAt(++A.position), _(ue) || z(A, "a whitespace character is expected after the key-value separator within a block mapping"), te && (N(A, Oe, Z, me, Re, null, ie, ae, be), me = Re = Se = null), ce = !0, te = !1, re = !1, me = A.tag, Re = A.result;
          else if (ce) z(A, "can not read an implicit mapping pair; a colon is missed");
          else
            return A.tag = Le, A.anchor = De, !0;
        } else if (ce) z(A, "can not read a block mapping entry; a multiline key may not be an implicit key");
        else
          return A.tag = Le, A.anchor = De, !0;
      }
      if ((A.line === Q || A.lineIndent > se) && (te && (ie = A.line, ae = A.lineStart, be = A.position), ye(A, se, f, !0, re) && (te ? Re = A.result : Se = A.result), te || (N(A, Oe, Z, me, Re, Se, ie, ae, be), me = Re = Se = null), oe(A, !0, -1), ue = A.input.charCodeAt(A.position)), (A.line === Q || A.lineIndent > se) && ue !== 0) z(A, "bad indentation of a mapping entry");
      else if (A.lineIndent < se) break;
    }
    return te && N(A, Oe, Z, me, Re, null, ie, ae, be), ce && (A.tag = Le, A.anchor = De, A.kind = "mapping", A.result = Oe), ce;
  }
  function ee(A) {
    var se, he = !1, de = !1, re, Q, ie = A.input.charCodeAt(A.position);
    if (ie !== 33) return !1;
    if (A.tag !== null && z(A, "duplication of a tag property"), ie = A.input.charCodeAt(++A.position), ie === 60 ? (he = !0, ie = A.input.charCodeAt(++A.position)) : ie === 33 ? (de = !0, re = "!!", ie = A.input.charCodeAt(++A.position)) : re = "!", se = A.position, he) {
      do
        ie = A.input.charCodeAt(++A.position);
      while (ie !== 0 && ie !== 62);
      A.position < A.length ? (Q = A.input.slice(se, A.position), ie = A.input.charCodeAt(++A.position)) : z(A, "unexpected end of the stream within a verbatim tag");
    } else {
      for (; ie !== 0 && !_(ie); )
        ie === 33 && (de ? z(A, "tag suffix cannot contain exclamation marks") : (re = A.input.slice(se - 1, A.position + 1), v.test(re) || z(A, "named tag handle cannot contain such characters"), de = !0, se = A.position + 1)), ie = A.input.charCodeAt(++A.position);
      Q = A.input.slice(se, A.position), g.test(Q) && z(A, "tag suffix cannot contain flow indicator characters");
    }
    Q && !y.test(Q) && z(A, "tag name cannot contain such characters: " + Q);
    try {
      Q = decodeURIComponent(Q);
    } catch {
      z(A, "tag name is malformed: " + Q);
    }
    return he ? A.tag = Q : o.call(A.tagMap, re) ? A.tag = A.tagMap[re] + Q : re === "!" ? A.tag = "!" + Q : re === "!!" ? A.tag = "tag:yaml.org,2002:" + Q : z(A, 'undeclared tag handle "' + re + '"'), !0;
  }
  function Ae(A) {
    var se, he = A.input.charCodeAt(A.position);
    if (he !== 38) return !1;
    for (A.anchor !== null && z(A, "duplication of an anchor property"), he = A.input.charCodeAt(++A.position), se = A.position; he !== 0 && !_(he) && !S(he); ) he = A.input.charCodeAt(++A.position);
    return A.position === se && z(A, "name of an anchor node must contain at least one character"), A.anchor = A.input.slice(se, A.position), !0;
  }
  function Te(A) {
    var se, he, de = A.input.charCodeAt(A.position);
    if (de !== 42) return !1;
    for (de = A.input.charCodeAt(++A.position), se = A.position; de !== 0 && !_(de) && !S(de); ) de = A.input.charCodeAt(++A.position);
    return A.position === se && z(A, "name of an alias node must contain at least one character"), he = A.input.slice(se, A.position), o.call(A.anchorMap, he) || z(A, 'unidentified alias "' + he + '"'), A.result = A.anchorMap[he], oe(A, !0, -1), !0;
  }
  function ye(A, se, he, de, re) {
    var Q, ie, ae, be = 1, Le = !1, De = !1, Oe, Z, me, Re, Se, te;
    if (A.listener !== null && A.listener("open", A), A.tag = null, A.anchor = null, A.kind = null, A.result = null, Q = ie = ae = f === he || l === he, de && oe(A, !0, -1) && (Le = !0, A.lineIndent > se ? be = 1 : A.lineIndent === se ? be = 0 : A.lineIndent < se && (be = -1)), be === 1) for (; ee(A) || Ae(A); ) oe(A, !0, -1) ? (Le = !0, ae = Q, A.lineIndent > se ? be = 1 : A.lineIndent === se ? be = 0 : A.lineIndent < se && (be = -1)) : ae = !1;
    if (ae && (ae = Le || re), (be === 1 || f === he) && (n === he || u === he ? Se = se : Se = se + 1, te = A.position - A.lineStart, be === 1 ? ae && (k(A, te) || U(A, te, Se)) || X(A, Se) ? De = !0 : (ie && ne(A, Se) || B(A, Se) || W(A, Se) ? De = !0 : Te(A) ? (De = !0, (A.tag !== null || A.anchor !== null) && z(A, "alias node should not have any properties")) : V(A, Se, n === he) && (De = !0, A.tag === null && (A.tag = "?")), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : be === 0 && (De = ae && k(A, te))), A.tag === null)
      A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
    else if (A.tag === "?") {
      for (A.result !== null && A.kind !== "scalar" && z(A, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + A.kind + '"'), Oe = 0, Z = A.implicitTypes.length; Oe < Z; Oe += 1)
        if (Re = A.implicitTypes[Oe], Re.resolve(A.result)) {
          A.result = Re.construct(A.result), A.tag = Re.tag, A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
          break;
        }
    } else if (A.tag !== "!") {
      if (o.call(A.typeMap[A.kind || "fallback"], A.tag)) Re = A.typeMap[A.kind || "fallback"][A.tag];
      else
        for (Re = null, me = A.typeMap.multi[A.kind || "fallback"], Oe = 0, Z = me.length; Oe < Z; Oe += 1) if (A.tag.slice(0, me[Oe].tag.length) === me[Oe].tag) {
          Re = me[Oe];
          break;
        }
      Re || z(A, "unknown tag !<" + A.tag + ">"), A.result !== null && Re.kind !== A.kind && z(A, "unacceptable node kind for !<" + A.tag + '> tag; it should be "' + Re.kind + '", not "' + A.kind + '"'), Re.resolve(A.result, A.tag) ? (A.result = Re.construct(A.result, A.tag), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : z(A, "cannot resolve a node with !<" + A.tag + "> explicit tag");
    }
    return A.listener !== null && A.listener("close", A), A.tag !== null || A.anchor !== null || De;
  }
  function Pe(A) {
    var se = A.position, he, de, re, Q = !1, ie;
    for (A.version = null, A.checkLineBreaks = A.legacy, A.tagMap = /* @__PURE__ */ Object.create(null), A.anchorMap = /* @__PURE__ */ Object.create(null); (ie = A.input.charCodeAt(A.position)) !== 0 && (oe(A, !0, -1), ie = A.input.charCodeAt(A.position), !(A.lineIndent > 0 || ie !== 37)); ) {
      for (Q = !0, ie = A.input.charCodeAt(++A.position), he = A.position; ie !== 0 && !_(ie); ) ie = A.input.charCodeAt(++A.position);
      for (de = A.input.slice(he, A.position), re = [], de.length < 1 && z(A, "directive name must not be less than one character in length"); ie !== 0; ) {
        for (; w(ie); ) ie = A.input.charCodeAt(++A.position);
        if (ie === 35) {
          do
            ie = A.input.charCodeAt(++A.position);
          while (ie !== 0 && !b(ie));
          break;
        }
        if (b(ie)) break;
        for (he = A.position; ie !== 0 && !_(ie); ) ie = A.input.charCodeAt(++A.position);
        re.push(A.input.slice(he, A.position));
      }
      ie !== 0 && K(A), o.call(x, de) ? x[de](A, de, re) : F(A, 'unknown document directive "' + de + '"');
    }
    if (oe(A, !0, -1), A.lineIndent === 0 && A.input.charCodeAt(A.position) === 45 && A.input.charCodeAt(A.position + 1) === 45 && A.input.charCodeAt(A.position + 2) === 45 ? (A.position += 3, oe(A, !0, -1)) : Q && z(A, "directives end mark is expected"), ye(A, A.lineIndent - 1, f, !1, !0), oe(A, !0, -1), A.checkLineBreaks && m.test(A.input.slice(se, A.position)) && F(A, "non-ASCII line breaks are interpreted as content"), A.documents.push(A.result), A.position === A.lineStart && pe(A)) {
      A.input.charCodeAt(A.position) === 46 && (A.position += 3, oe(A, !0, -1));
      return;
    }
    if (A.position < A.length - 1) z(A, "end of the stream or a document separator is expected");
    else return;
  }
  function xe(A, se) {
    A = String(A), se = se || {}, A.length !== 0 && (A.charCodeAt(A.length - 1) !== 10 && A.charCodeAt(A.length - 1) !== 13 && (A += `
`), A.charCodeAt(0) === 65279 && (A = A.slice(1)));
    var he = new $(A, se), de = A.indexOf("\0");
    for (de !== -1 && (he.position = de, z(he, "null byte is not allowed in input")), he.input += "\0"; he.input.charCodeAt(he.position) === 32; )
      he.lineIndent += 1, he.position += 1;
    for (; he.position < he.length - 1; ) Pe(he);
    return he.documents;
  }
  function Me(A, se, he) {
    se !== null && typeof se == "object" && typeof he > "u" && (he = se, se = null);
    var de = xe(A, he);
    if (typeof se != "function") return de;
    for (var re = 0, Q = de.length; re < Q; re += 1) se(de[re]);
  }
  function Ce(A, se) {
    var he = xe(A, se);
    if (he.length !== 0) {
      if (he.length === 1) return he[0];
      throw new i("expected a single document in the stream, but found more");
    }
  }
  t.exports.loadAll = Me, t.exports.load = Ce;
})), xI = /* @__PURE__ */ P(((e, t) => {
  var r = sn(), i = an(), s = nc(), h = Object.prototype.toString, o = Object.prototype.hasOwnProperty, n = 65279, u = 9, l = 10, f = 13, a = 32, c = 33, d = 34, p = 35, m = 37, g = 38, v = 39, y = 42, E = 44, b = 45, w = 58, _ = 61, S = 62, T = 63, D = 64, R = 91, j = 93, M = 96, G = 123, Y = 124, H = 125, I = {};
  I[0] = "\\0", I[7] = "\\a", I[8] = "\\b", I[9] = "\\t", I[10] = "\\n", I[11] = "\\v", I[12] = "\\f", I[13] = "\\r", I[27] = "\\e", I[34] = '\\"', I[92] = "\\\\", I[133] = "\\N", I[160] = "\\_", I[8232] = "\\L", I[8233] = "\\P";
  var $ = [
    "y",
    "Y",
    "yes",
    "Yes",
    "YES",
    "on",
    "On",
    "ON",
    "n",
    "N",
    "no",
    "No",
    "NO",
    "off",
    "Off",
    "OFF"
  ], q = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
  function z(Z, me) {
    var Re, Se, te, ce, ue, fe, we;
    if (me === null) return {};
    for (Re = {}, Se = Object.keys(me), te = 0, ce = Se.length; te < ce; te += 1)
      ue = Se[te], fe = String(me[ue]), ue.slice(0, 2) === "!!" && (ue = "tag:yaml.org,2002:" + ue.slice(2)), we = Z.compiledTypeMap.fallback[ue], we && o.call(we.styleAliases, fe) && (fe = we.styleAliases[fe]), Re[ue] = fe;
    return Re;
  }
  function F(Z) {
    var me = Z.toString(16).toUpperCase(), Re, Se;
    if (Z <= 255)
      Re = "x", Se = 2;
    else if (Z <= 65535)
      Re = "u", Se = 4;
    else if (Z <= 4294967295)
      Re = "U", Se = 8;
    else throw new i("code point within a string may not be greater than 0xFFFFFFFF");
    return "\\" + Re + r.repeat("0", Se - me.length) + me;
  }
  var x = 1, L = 2;
  function C(Z) {
    this.schema = Z.schema || s, this.indent = Math.max(1, Z.indent || 2), this.noArrayIndent = Z.noArrayIndent || !1, this.skipInvalid = Z.skipInvalid || !1, this.flowLevel = r.isNothing(Z.flowLevel) ? -1 : Z.flowLevel, this.styleMap = z(this.schema, Z.styles || null), this.sortKeys = Z.sortKeys || !1, this.lineWidth = Z.lineWidth || 80, this.noRefs = Z.noRefs || !1, this.noCompatMode = Z.noCompatMode || !1, this.condenseFlow = Z.condenseFlow || !1, this.quotingType = Z.quotingType === '"' ? L : x, this.forceQuotes = Z.forceQuotes || !1, this.replacer = typeof Z.replacer == "function" ? Z.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
  }
  function N(Z, me) {
    for (var Re = r.repeat(" ", me), Se = 0, te = -1, ce = "", ue, fe = Z.length; Se < fe; )
      te = Z.indexOf(`
`, Se), te === -1 ? (ue = Z.slice(Se), Se = fe) : (ue = Z.slice(Se, te + 1), Se = te + 1), ue.length && ue !== `
` && (ce += Re), ce += ue;
    return ce;
  }
  function K(Z, me) {
    return `
` + r.repeat(" ", Z.indent * me);
  }
  function oe(Z, me) {
    var Re, Se, te;
    for (Re = 0, Se = Z.implicitTypes.length; Re < Se; Re += 1)
      if (te = Z.implicitTypes[Re], te.resolve(me)) return !0;
    return !1;
  }
  function pe(Z) {
    return Z === a || Z === u;
  }
  function _e(Z) {
    return 32 <= Z && Z <= 126 || 161 <= Z && Z <= 55295 && Z !== 8232 && Z !== 8233 || 57344 <= Z && Z <= 65533 && Z !== n || 65536 <= Z && Z <= 1114111;
  }
  function V(Z) {
    return _e(Z) && Z !== n && Z !== f && Z !== l;
  }
  function B(Z, me, Re) {
    var Se = V(Z), te = Se && !pe(Z);
    return (Re ? Se : Se && Z !== E && Z !== R && Z !== j && Z !== G && Z !== H) && Z !== p && !(me === w && !te) || V(me) && !pe(me) && Z === p || me === w && te;
  }
  function W(Z) {
    return _e(Z) && Z !== n && !pe(Z) && Z !== b && Z !== T && Z !== w && Z !== E && Z !== R && Z !== j && Z !== G && Z !== H && Z !== p && Z !== g && Z !== y && Z !== c && Z !== Y && Z !== _ && Z !== S && Z !== v && Z !== d && Z !== m && Z !== D && Z !== M;
  }
  function X(Z) {
    return !pe(Z) && Z !== w;
  }
  function ne(Z, me) {
    var Re = Z.charCodeAt(me), Se;
    return Re >= 55296 && Re <= 56319 && me + 1 < Z.length && (Se = Z.charCodeAt(me + 1), Se >= 56320 && Se <= 57343) ? (Re - 55296) * 1024 + Se - 56320 + 65536 : Re;
  }
  function k(Z) {
    return /^\n* /.test(Z);
  }
  var U = 1, ee = 2, Ae = 3, Te = 4, ye = 5;
  function Pe(Z, me, Re, Se, te, ce, ue, fe) {
    var we, Ne = 0, O = null, J = !1, le = !1, Ee = Se !== -1, $e = -1, je = W(ne(Z, 0)) && X(ne(Z, Z.length - 1));
    if (me || ue) for (we = 0; we < Z.length; Ne >= 65536 ? we += 2 : we++) {
      if (Ne = ne(Z, we), !_e(Ne)) return ye;
      je = je && B(Ne, O, fe), O = Ne;
    }
    else {
      for (we = 0; we < Z.length; Ne >= 65536 ? we += 2 : we++) {
        if (Ne = ne(Z, we), Ne === l)
          J = !0, Ee && (le = le || we - $e - 1 > Se && Z[$e + 1] !== " ", $e = we);
        else if (!_e(Ne)) return ye;
        je = je && B(Ne, O, fe), O = Ne;
      }
      le = le || Ee && we - $e - 1 > Se && Z[$e + 1] !== " ";
    }
    return !J && !le ? je && !ue && !te(Z) ? U : ce === L ? ye : ee : Re > 9 && k(Z) ? ye : ue ? ce === L ? ye : ee : le ? Te : Ae;
  }
  function xe(Z, me, Re, Se, te) {
    Z.dump = (function() {
      if (me.length === 0) return Z.quotingType === L ? '""' : "''";
      if (!Z.noCompatMode && ($.indexOf(me) !== -1 || q.test(me)))
        return Z.quotingType === L ? '"' + me + '"' : "'" + me + "'";
      var ce = Z.indent * Math.max(1, Re), ue = Z.lineWidth === -1 ? -1 : Math.max(Math.min(Z.lineWidth, 40), Z.lineWidth - ce), fe = Se || Z.flowLevel > -1 && Re >= Z.flowLevel;
      function we(Ne) {
        return oe(Z, Ne);
      }
      switch (Pe(me, fe, Z.indent, ue, we, Z.quotingType, Z.forceQuotes && !Se, te)) {
        case U:
          return me;
        case ee:
          return "'" + me.replace(/'/g, "''") + "'";
        case Ae:
          return "|" + Me(me, Z.indent) + Ce(N(me, ce));
        case Te:
          return ">" + Me(me, Z.indent) + Ce(N(A(me, ue), ce));
        case ye:
          return '"' + he(me, ue) + '"';
        default:
          throw new i("impossible error: invalid scalar style");
      }
    })();
  }
  function Me(Z, me) {
    var Re = k(Z) ? String(me) : "", Se = Z[Z.length - 1] === `
`;
    return Re + (Se && (Z[Z.length - 2] === `
` || Z === `
`) ? "+" : Se ? "" : "-") + `
`;
  }
  function Ce(Z) {
    return Z[Z.length - 1] === `
` ? Z.slice(0, -1) : Z;
  }
  function A(Z, me) {
    for (var Re = /(\n+)([^\n]*)/g, Se = (function() {
      var Ne = Z.indexOf(`
`);
      return Ne = Ne !== -1 ? Ne : Z.length, Re.lastIndex = Ne, se(Z.slice(0, Ne), me);
    })(), te = Z[0] === `
` || Z[0] === " ", ce, ue; ue = Re.exec(Z); ) {
      var fe = ue[1], we = ue[2];
      ce = we[0] === " ", Se += fe + (!te && !ce && we !== "" ? `
` : "") + se(we, me), te = ce;
    }
    return Se;
  }
  function se(Z, me) {
    if (Z === "" || Z[0] === " ") return Z;
    for (var Re = / [^ ]/g, Se, te = 0, ce, ue = 0, fe = 0, we = ""; Se = Re.exec(Z); )
      fe = Se.index, fe - te > me && (ce = ue > te ? ue : fe, we += `
` + Z.slice(te, ce), te = ce + 1), ue = fe;
    return we += `
`, Z.length - te > me && ue > te ? we += Z.slice(te, ue) + `
` + Z.slice(ue + 1) : we += Z.slice(te), we.slice(1);
  }
  function he(Z) {
    for (var me = "", Re = 0, Se, te = 0; te < Z.length; Re >= 65536 ? te += 2 : te++)
      Re = ne(Z, te), Se = I[Re], !Se && _e(Re) ? (me += Z[te], Re >= 65536 && (me += Z[te + 1])) : me += Se || F(Re);
    return me;
  }
  function de(Z, me, Re) {
    var Se = "", te = Z.tag, ce, ue, fe;
    for (ce = 0, ue = Re.length; ce < ue; ce += 1)
      fe = Re[ce], Z.replacer && (fe = Z.replacer.call(Re, String(ce), fe)), (be(Z, me, fe, !1, !1) || typeof fe > "u" && be(Z, me, null, !1, !1)) && (Se !== "" && (Se += "," + (Z.condenseFlow ? "" : " ")), Se += Z.dump);
    Z.tag = te, Z.dump = "[" + Se + "]";
  }
  function re(Z, me, Re, Se) {
    var te = "", ce = Z.tag, ue, fe, we;
    for (ue = 0, fe = Re.length; ue < fe; ue += 1)
      we = Re[ue], Z.replacer && (we = Z.replacer.call(Re, String(ue), we)), (be(Z, me + 1, we, !0, !0, !1, !0) || typeof we > "u" && be(Z, me + 1, null, !0, !0, !1, !0)) && ((!Se || te !== "") && (te += K(Z, me)), Z.dump && l === Z.dump.charCodeAt(0) ? te += "-" : te += "- ", te += Z.dump);
    Z.tag = ce, Z.dump = te || "[]";
  }
  function Q(Z, me, Re) {
    var Se = "", te = Z.tag, ce = Object.keys(Re), ue, fe, we, Ne, O;
    for (ue = 0, fe = ce.length; ue < fe; ue += 1)
      O = "", Se !== "" && (O += ", "), Z.condenseFlow && (O += '"'), we = ce[ue], Ne = Re[we], Z.replacer && (Ne = Z.replacer.call(Re, we, Ne)), be(Z, me, we, !1, !1) && (Z.dump.length > 1024 && (O += "? "), O += Z.dump + (Z.condenseFlow ? '"' : "") + ":" + (Z.condenseFlow ? "" : " "), be(Z, me, Ne, !1, !1) && (O += Z.dump, Se += O));
    Z.tag = te, Z.dump = "{" + Se + "}";
  }
  function ie(Z, me, Re, Se) {
    var te = "", ce = Z.tag, ue = Object.keys(Re), fe, we, Ne, O, J, le;
    if (Z.sortKeys === !0) ue.sort();
    else if (typeof Z.sortKeys == "function") ue.sort(Z.sortKeys);
    else if (Z.sortKeys) throw new i("sortKeys must be a boolean or a function");
    for (fe = 0, we = ue.length; fe < we; fe += 1)
      le = "", (!Se || te !== "") && (le += K(Z, me)), Ne = ue[fe], O = Re[Ne], Z.replacer && (O = Z.replacer.call(Re, Ne, O)), be(Z, me + 1, Ne, !0, !0, !0) && (J = Z.tag !== null && Z.tag !== "?" || Z.dump && Z.dump.length > 1024, J && (Z.dump && l === Z.dump.charCodeAt(0) ? le += "?" : le += "? "), le += Z.dump, J && (le += K(Z, me)), be(Z, me + 1, O, !0, J) && (Z.dump && l === Z.dump.charCodeAt(0) ? le += ":" : le += ": ", le += Z.dump, te += le));
    Z.tag = ce, Z.dump = te || "{}";
  }
  function ae(Z, me, Re) {
    var Se, te = Re ? Z.explicitTypes : Z.implicitTypes, ce, ue, fe, we;
    for (ce = 0, ue = te.length; ce < ue; ce += 1)
      if (fe = te[ce], (fe.instanceOf || fe.predicate) && (!fe.instanceOf || typeof me == "object" && me instanceof fe.instanceOf) && (!fe.predicate || fe.predicate(me))) {
        if (Re ? fe.multi && fe.representName ? Z.tag = fe.representName(me) : Z.tag = fe.tag : Z.tag = "?", fe.represent) {
          if (we = Z.styleMap[fe.tag] || fe.defaultStyle, h.call(fe.represent) === "[object Function]") Se = fe.represent(me, we);
          else if (o.call(fe.represent, we)) Se = fe.represent[we](me, we);
          else throw new i("!<" + fe.tag + '> tag resolver accepts not "' + we + '" style');
          Z.dump = Se;
        }
        return !0;
      }
    return !1;
  }
  function be(Z, me, Re, Se, te, ce, ue) {
    Z.tag = null, Z.dump = Re, ae(Z, Re, !1) || ae(Z, Re, !0);
    var fe = h.call(Z.dump), we = Se, Ne;
    Se && (Se = Z.flowLevel < 0 || Z.flowLevel > me);
    var O = fe === "[object Object]" || fe === "[object Array]", J, le;
    if (O && (J = Z.duplicates.indexOf(Re), le = J !== -1), (Z.tag !== null && Z.tag !== "?" || le || Z.indent !== 2 && me > 0) && (te = !1), le && Z.usedDuplicates[J]) Z.dump = "*ref_" + J;
    else {
      if (O && le && !Z.usedDuplicates[J] && (Z.usedDuplicates[J] = !0), fe === "[object Object]") Se && Object.keys(Z.dump).length !== 0 ? (ie(Z, me, Z.dump, te), le && (Z.dump = "&ref_" + J + Z.dump)) : (Q(Z, me, Z.dump), le && (Z.dump = "&ref_" + J + " " + Z.dump));
      else if (fe === "[object Array]") Se && Z.dump.length !== 0 ? (Z.noArrayIndent && !ue && me > 0 ? re(Z, me - 1, Z.dump, te) : re(Z, me, Z.dump, te), le && (Z.dump = "&ref_" + J + Z.dump)) : (de(Z, me, Z.dump), le && (Z.dump = "&ref_" + J + " " + Z.dump));
      else if (fe === "[object String]")
        Z.tag !== "?" && xe(Z, Z.dump, me, ce, we);
      else {
        if (fe === "[object Undefined]") return !1;
        if (Z.skipInvalid) return !1;
        throw new i("unacceptable kind of an object to dump " + fe);
      }
      Z.tag !== null && Z.tag !== "?" && (Ne = encodeURI(Z.tag[0] === "!" ? Z.tag.slice(1) : Z.tag).replace(/!/g, "%21"), Z.tag[0] === "!" ? Ne = "!" + Ne : Ne.slice(0, 18) === "tag:yaml.org,2002:" ? Ne = "!!" + Ne.slice(18) : Ne = "!<" + Ne + ">", Z.dump = Ne + " " + Z.dump);
    }
    return !0;
  }
  function Le(Z, me) {
    var Re = [], Se = [], te, ce;
    for (De(Z, Re, Se), te = 0, ce = Se.length; te < ce; te += 1) me.duplicates.push(Re[Se[te]]);
    me.usedDuplicates = new Array(ce);
  }
  function De(Z, me, Re) {
    var Se, te, ce;
    if (Z !== null && typeof Z == "object")
      if (te = me.indexOf(Z), te !== -1)
        Re.indexOf(te) === -1 && Re.push(te);
      else if (me.push(Z), Array.isArray(Z)) for (te = 0, ce = Z.length; te < ce; te += 1) De(Z[te], me, Re);
      else
        for (Se = Object.keys(Z), te = 0, ce = Se.length; te < ce; te += 1) De(Z[Se[te]], me, Re);
  }
  function Oe(Z, me) {
    me = me || {};
    var Re = new C(me);
    Re.noRefs || Le(Z, Re);
    var Se = Z;
    return Re.replacer && (Se = Re.replacer.call({ "": Se }, "", Se)), be(Re, 0, Se, !0, !0) ? Re.dump + `
` : "";
  }
  t.exports.dump = Oe;
})), PI = /* @__PURE__ */ P(((e, t) => {
  var r = NI(), i = xI();
  function s(h, o) {
    return function() {
      throw new Error("Function yaml." + h + " is removed in js-yaml 4. Use yaml." + o + " instead, which is now safe by default.");
    };
  }
  t.exports.Type = kt(), t.exports.Schema = _g(), t.exports.FAILSAFE_SCHEMA = Sg(), t.exports.JSON_SCHEMA = Og(), t.exports.CORE_SCHEMA = Cg(), t.exports.DEFAULT_SCHEMA = nc(), t.exports.load = r.load, t.exports.loadAll = r.loadAll, t.exports.dump = i.dump, t.exports.YAMLException = an(), t.exports.types = {
    binary: Lg(),
    float: Rg(),
    map: Eg(),
    null: Ag(),
    pairs: Ng(),
    set: xg(),
    timestamp: Ig(),
    bool: Tg(),
    int: Dg(),
    merge: kg(),
    omap: $g(),
    seq: wg(),
    str: bg()
  }, t.exports.safeLoad = s("safeLoad", "load"), t.exports.safeLoadAll = s("safeLoadAll", "loadAll"), t.exports.safeDump = s("safeDump", "dump");
})), BI = /* @__PURE__ */ P(((e) => {
  var t = e && e.__importDefault || function(y) {
    return y && y.__esModule ? y : { default: y };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.loadTs = e.loadTsSync = e.loadYaml = e.loadJson = e.loadJs = e.loadJsSync = void 0;
  var r = ge("fs"), i = ge("fs/promises"), s = t(ge("path")), h = ge("url"), o = ge("crypto"), n, u = function(E) {
    return n === void 0 && (n = wI()), n(E);
  };
  e.loadJsSync = u;
  var l = async function(E) {
    try {
      const { href: b } = (0, h.pathToFileURL)(await (0, i.realpath)(E));
      return (await import(b)).default;
    } catch (b) {
      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") ? b : w;
      }
    }
  };
  e.loadJs = l;
  var f, a = function(E, b) {
    f === void 0 && (f = LI());
    try {
      return f(b);
    } catch (w) {
      throw w.message = `JSON Error in ${E}:
${w.message}`, w;
    }
  };
  e.loadJson = a;
  var c, d = function(E, b) {
    c === void 0 && (c = PI());
    try {
      return c.load(b);
    } catch (w) {
      throw w.message = `YAML Error in ${E}:
${w.message}`, w;
    }
  };
  e.loadYaml = d;
  var p, m = function(E, b) {
    p === void 0 && (p = (Gg(), mt(zg)));
    const w = `${E}.${(0, o.randomUUID)()}.cjs`;
    try {
      const _ = v(s.default.dirname(E)) ?? {};
      return _.compilerOptions = {
        ..._.compilerOptions,
        module: p.ModuleKind.NodeNext,
        moduleResolution: p.ModuleResolutionKind.NodeNext,
        target: p.ScriptTarget.ES2022,
        noEmit: !1
      }, b = p.transpileModule(b, _).outputText, (0, r.writeFileSync)(w, b), (0, e.loadJsSync)(w, b).default;
    } catch (_) {
      throw _.message = `TypeScript Error in ${E}:
${_.message}`, _;
    } finally {
      (0, r.existsSync)(w) && (0, r.rmSync)(w);
    }
  };
  e.loadTsSync = m;
  var g = async function(E, b) {
    p === void 0 && (p = (await import("./chunks/_stub_typescript-gMx00gpr.js").then((S) => (S.n(), S.t))).default);
    const w = `${E}.${(0, o.randomUUID)()}.mjs`;
    let _;
    try {
      try {
        const S = v(s.default.dirname(E)) ?? {};
        S.compilerOptions = {
          ...S.compilerOptions,
          module: p.ModuleKind.ES2022,
          moduleResolution: p.ModuleResolutionKind.Bundler,
          target: p.ScriptTarget.ES2022,
          noEmit: !1
        }, _ = p.transpileModule(b, S).outputText, await (0, i.writeFile)(w, _);
      } catch (S) {
        throw S.message = `TypeScript Error in ${E}:
${S.message}`, S;
      }
      return await (0, e.loadJs)(w, _);
    } finally {
      (0, r.existsSync)(w) && await (0, i.rm)(w);
    }
  };
  e.loadTs = g;
  function v(y) {
    const E = p.findConfigFile(y, (b) => p.sys.fileExists(b));
    if (E !== void 0) {
      const { config: b, error: w } = p.readConfigFile(E, (_) => p.sys.readFile(_));
      if (w) throw new Error(`Error in ${E}: ${w.messageText.toString()}`);
      return b;
    }
  }
})), sc = /* @__PURE__ */ P(((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 = BI();
  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
  });
})), FI = /* @__PURE__ */ P(((e, t) => {
  var r = ge("path"), i = ge("os"), s = i.homedir(), h = i.tmpdir(), { env: o } = process, n = (a) => {
    const c = r.join(s, "Library");
    return {
      data: r.join(c, "Application Support", a),
      config: r.join(c, "Preferences", a),
      cache: r.join(c, "Caches", a),
      log: r.join(c, "Logs", a),
      temp: r.join(h, a)
    };
  }, u = (a) => {
    const c = o.APPDATA || r.join(s, "AppData", "Roaming"), d = o.LOCALAPPDATA || r.join(s, "AppData", "Local");
    return {
      data: r.join(d, a, "Data"),
      config: r.join(c, a, "Config"),
      cache: r.join(d, a, "Cache"),
      log: r.join(d, a, "Log"),
      temp: r.join(h, a)
    };
  }, l = (a) => {
    const c = r.basename(s);
    return {
      data: r.join(o.XDG_DATA_HOME || r.join(s, ".local", "share"), a),
      config: r.join(o.XDG_CONFIG_HOME || r.join(s, ".config"), a),
      cache: r.join(o.XDG_CACHE_HOME || r.join(s, ".cache"), a),
      log: r.join(o.XDG_STATE_HOME || r.join(s, ".local", "state"), a),
      temp: r.join(h, c, a)
    };
  }, f = (a, c) => {
    if (typeof a != "string") throw new TypeError(`Expected string, got ${typeof a}`);
    return c = Object.assign({ suffix: "nodejs" }, c), c.suffix && (a += `-${c.suffix}`), process.platform === "darwin" ? n(a) : process.platform === "win32" ? u(a) : l(a);
  };
  t.exports = f, t.exports.default = f;
})), Cs = /* @__PURE__ */ P(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(f, a, c, d) {
    d === void 0 && (d = c);
    var p = Object.getOwnPropertyDescriptor(a, c);
    (!p || ("get" in p ? !a.__esModule : p.writable || p.configurable)) && (p = {
      enumerable: !0,
      get: function() {
        return a[c];
      }
    }), Object.defineProperty(f, d, p);
  }) : (function(f, a, c, d) {
    d === void 0 && (d = c), f[d] = a[c];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(f, a) {
    Object.defineProperty(f, "default", {
      enumerable: !0,
      value: a
    });
  }) : function(f, a) {
    f.default = a;
  }), i = e && e.__importStar || function(f) {
    if (f && f.__esModule) return f;
    var a = {};
    if (f != null)
      for (var c in f) c !== "default" && Object.prototype.hasOwnProperty.call(f, c) && t(a, f, c);
    return r(a, f), a;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isDirectorySync = e.isDirectory = e.removeUndefinedValuesFromObject = e.getPropertyByPath = e.emplace = void 0;
  var s = i(ge("fs"));
  function h(f, a, c) {
    const d = f.get(a);
    if (d !== void 0) return d;
    const p = c();
    return f.set(a, p), p;
  }
  e.emplace = h;
  function o(f, a) {
    return typeof a == "string" && Object.prototype.hasOwnProperty.call(f, a) ? f[a] : (typeof a == "string" ? a.split(".") : a).reduce((c, d) => c === void 0 ? c : c[d], f);
  }
  e.getPropertyByPath = o;
  function n(f) {
    return Object.fromEntries(Object.entries(f).filter(([, a]) => a !== void 0));
  }
  e.removeUndefinedValuesFromObject = n;
  async function u(f) {
    try {
      return (await s.promises.stat(f)).isDirectory();
    } catch (a) {
      if (a.code === "ENOENT") return !1;
      throw a;
    }
  }
  e.isDirectory = u;
  function l(f) {
    try {
      return s.default.statSync(f).isDirectory();
    } catch (a) {
      if (a.code === "ENOENT") return !1;
      throw a;
    }
  }
  e.isDirectorySync = l;
})), Pg = /* @__PURE__ */ P(((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(FI()), i = t(ge("os")), s = t(ge("path")), h = Cs(), o = 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 l of u.searchPlaces) {
        const f = s.default.extname(l), a = this.config.loaders[f || "noExt"] ?? this.config.loaders.default;
        if (a === void 0) throw new Error(`Missing loader for ${n(l)}.`);
        if (typeof a != "function") throw new Error(`Loader for ${n(l)} 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, l) {
      if (l === null) return null;
      if (l === void 0) return {
        filepath: u,
        config: void 0,
        isEmpty: !0
      };
      if (this.config.applyPackagePropertyPathToConfiguration || this.#e) {
        const f = this.config.packageProp ?? this.config.moduleName;
        l = (0, h.getPropertyByPath)(l, f);
      }
      return l === void 0 ? {
        filepath: u,
        config: void 0,
        isEmpty: !0
      } : {
        config: l,
        filepath: u
      };
    }
    validateImports(u, l, f) {
      const a = s.default.dirname(u);
      for (const c of l) {
        if (typeof c != "string") throw new Error(`${u}: Key $import must contain a string or a list of strings`);
        const d = s.default.resolve(a, c);
        if (d === u) throw new Error(`Self-import detected in ${u}`);
        const p = f.indexOf(d);
        if (p !== -1) throw new Error(`Circular import detected:
${[...f, d].map((m, g) => `${g + 1}. ${m}`).join(`
`)} (same as ${p + 1}.)`);
      }
    }
    getSearchPlacesForDir(u, l) {
      return (u.isGlobalConfig ? l : this.config.searchPlaces).map((f) => s.default.join(u.path, f));
    }
    getGlobalConfigDir() {
      return (0, r.default)(this.config.moduleName, { suffix: "" }).config;
    }
    *getGlobalDirs(u) {
      const l = s.default.resolve(this.config.stopDir ?? i.default.homedir());
      yield {
        path: u,
        isGlobalConfig: !1
      };
      let f = u;
      for (; f !== l; ) {
        const a = s.default.dirname(f);
        if (a === f) break;
        yield {
          path: a,
          isGlobalConfig: !1
        }, f = a;
      }
      yield {
        path: this.getGlobalConfigDir(),
        isGlobalConfig: !0
      };
    }
  };
  e.ExplorerBase = o;
  function n(u) {
    return u ? `extension "${u}"` : "files without extensions";
  }
  e.getExtensionDescription = n;
})), Bg = /* @__PURE__ */ P(((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(h) {
    return t(h) === "[object Object]";
  }
  function i(h, o, n) {
    for (const u of Object.keys(o)) {
      const l = o[u];
      if ((0, e.hasOwn)(h, u)) {
        if (Array.isArray(h[u]) && Array.isArray(l)) {
          if (n.mergeArrays) {
            h[u].push(...l);
            continue;
          }
        } else if (r(h[u]) && r(l)) {
          h[u] = i(h[u], l, n);
          continue;
        }
      }
      h[u] = l;
    }
    return h;
  }
  function s(h, o) {
    return h.reduce((n, u) => i(n, u, o), {});
  }
  e.mergeAll = s;
})), MI = /* @__PURE__ */ P(((e) => {
  var t = e && e.__importDefault || function(l) {
    return l && l.__esModule ? l : { default: l };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Explorer = void 0;
  var r = t(ge("fs/promises")), i = t(ge("path")), s = sc(), h = Pg(), o = Bg(), n = Cs(), u = class extends h.ExplorerBase {
    async load(l) {
      l = i.default.resolve(l);
      const f = async () => await this.config.transform(await this.#e(l));
      return this.loadCache ? await (0, n.emplace)(this.loadCache, l, f) : await f();
    }
    async search(l = "") {
      if (this.config.metaConfigFilePath) {
        this.loadingMetaConfig = !0;
        const p = await this.load(this.config.metaConfigFilePath);
        if (this.loadingMetaConfig = !1, p && !p.isEmpty) return p;
      }
      l = i.default.resolve(l);
      const f = this.#s(l), a = await f.next();
      if (a.done) throw new Error(`Could not find any folders to iterate through (start from ${l})`);
      let c = a.value;
      const d = async () => {
        if (await (0, n.isDirectory)(c.path)) for (const m of this.getSearchPlacesForDir(c, s.globalConfigSearchPlaces)) try {
          const g = await this.#e(m);
          if (g !== null && !(g.isEmpty && this.config.ignoreEmptySearchPlaces)) return await this.config.transform(g);
        } catch (g) {
          if (g.code === "ENOENT" || g.code === "EISDIR" || g.code === "ENOTDIR" || g.code === "EACCES") continue;
          throw g;
        }
        const p = await f.next();
        return p.done ? await this.config.transform(null) : (c = p.value, this.searchCache ? await (0, n.emplace)(this.searchCache, c.path, d) : await d());
      };
      return this.searchCache ? await (0, n.emplace)(this.searchCache, l, d) : await d();
    }
    async #e(l, f = []) {
      const a = await r.default.readFile(l, { encoding: "utf-8" });
      return this.toCosmiconfigResult(l, await this.#t(l, a, f));
    }
    async #t(l, f, a) {
      const c = await this.#r(l, f);
      if (!c || !(0, o.hasOwn)(c, "$import")) return c;
      const d = i.default.dirname(l), { $import: p, ...m } = c, g = Array.isArray(p) ? p : [p], v = [...a, l];
      this.validateImports(l, g, v);
      const y = await Promise.all(g.map(async (E) => {
        const b = i.default.resolve(d, E);
        return (await this.#e(b, v))?.config;
      }));
      return (0, o.mergeAll)([...y, m], { mergeArrays: this.config.mergeImportArrays });
    }
    async #r(l, f) {
      if (f.trim() === "") return;
      const a = i.default.extname(l), c = this.config.loaders[a || "noExt"] ?? this.config.loaders.default;
      if (!c) throw new Error(`No loader specified for ${(0, h.getExtensionDescription)(a)}`);
      try {
        const d = await c(l, f);
        return i.default.basename(l, a) !== "package" ? d : (0, n.getPropertyByPath)(d, this.config.packageProp ?? this.config.moduleName) ?? null;
      } catch (d) {
        throw d.filepath = l, d;
      }
    }
    async #n(l) {
      try {
        return await r.default.stat(l), !0;
      } catch {
        return !1;
      }
    }
    async *#s(l) {
      switch (this.config.searchStrategy) {
        case "none":
          yield {
            path: l,
            isGlobalConfig: !1
          };
          return;
        case "project": {
          let f = l;
          for (; ; ) {
            yield {
              path: f,
              isGlobalConfig: !1
            };
            for (const c of ["json", "yaml"]) {
              const d = i.default.join(f, `package.${c}`);
              if (await this.#n(d)) break;
            }
            const a = i.default.dirname(f);
            if (a === f) break;
            f = a;
          }
          return;
        }
        case "global":
          yield* this.getGlobalDirs(l);
      }
    }
  };
  e.Explorer = u;
})), jI = /* @__PURE__ */ P(((e) => {
  var t = e && e.__importDefault || function(l) {
    return l && l.__esModule ? l : { default: l };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ExplorerSync = void 0;
  var r = t(ge("fs")), i = t(ge("path")), s = sc(), h = Pg(), o = Bg(), n = Cs(), u = class extends h.ExplorerBase {
    load(l) {
      l = i.default.resolve(l);
      const f = () => this.config.transform(this.#e(l));
      return this.loadCache ? (0, n.emplace)(this.loadCache, l, f) : f();
    }
    search(l = "") {
      if (this.config.metaConfigFilePath) {
        this.loadingMetaConfig = !0;
        const p = this.load(this.config.metaConfigFilePath);
        if (this.loadingMetaConfig = !1, p && !p.isEmpty) return p;
      }
      l = i.default.resolve(l);
      const f = this.#s(l), a = f.next();
      if (a.done) throw new Error(`Could not find any folders to iterate through (start from ${l})`);
      let c = a.value;
      const d = () => {
        if ((0, n.isDirectorySync)(c.path)) for (const m of this.getSearchPlacesForDir(c, s.globalConfigSearchPlacesSync)) try {
          const g = this.#e(m);
          if (g !== null && !(g.isEmpty && this.config.ignoreEmptySearchPlaces)) return this.config.transform(g);
        } catch (g) {
          if (g.code === "ENOENT" || g.code === "EISDIR" || g.code === "ENOTDIR" || g.code === "EACCES") continue;
          throw g;
        }
        const p = f.next();
        return p.done ? this.config.transform(null) : (c = p.value, this.searchCache ? (0, n.emplace)(this.searchCache, c.path, d) : d());
      };
      return this.searchCache ? (0, n.emplace)(this.searchCache, l, d) : d();
    }
    #e(l, f = []) {
      const a = r.default.readFileSync(l, "utf8");
      return this.toCosmiconfigResult(l, this.#t(l, a, f));
    }
    #t(l, f, a) {
      const c = this.#r(l, f);
      if (!c || !(0, o.hasOwn)(c, "$import")) return c;
      const d = i.default.dirname(l), { $import: p, ...m } = c, g = Array.isArray(p) ? p : [p], v = [...a, l];
      this.validateImports(l, g, v);
      const y = g.map((E) => {
        const b = i.default.resolve(d, E);
        return this.#e(b, v)?.config;
      });
      return (0, o.mergeAll)([...y, m], { mergeArrays: this.config.mergeImportArrays });
    }
    #r(l, f) {
      if (f.trim() === "") return;
      const a = i.default.extname(l), c = this.config.loaders[a || "noExt"] ?? this.config.loaders.default;
      if (!c) throw new Error(`No loader specified for ${(0, h.getExtensionDescription)(a)}`);
      try {
        const d = c(l, f);
        return i.default.basename(l, a) !== "package" ? d : (0, n.getPropertyByPath)(d, this.config.packageProp ?? this.config.moduleName) ?? null;
      } catch (d) {
        throw d.filepath = l, d;
      }
    }
    #n(l) {
      try {
        return r.default.statSync(l), !0;
      } catch {
        return !1;
      }
    }
    *#s(l) {
      switch (this.config.searchStrategy) {
        case "none":
          yield {
            path: l,
            isGlobalConfig: !1
          };
          return;
        case "project": {
          let f = l;
          for (; ; ) {
            yield {
              path: f,
              isGlobalConfig: !1
            };
            for (const c of ["json", "yaml"]) {
              const d = i.default.join(f, `package.${c}`);
              if (this.#n(d)) break;
            }
            const a = i.default.dirname(f);
            if (a === f) break;
            f = a;
          }
          return;
        }
        case "global":
          yield* this.getGlobalDirs(l);
      }
    }
    /* istanbul ignore next */
    loadSync(l) {
      return this.load(l);
    }
    /* istanbul ignore next */
    searchSync(l = "") {
      return this.search(l);
    }
  };
  e.ExplorerSync = u;
})), UI = /* @__PURE__ */ P(((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 = sc();
  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 = MI(), i = jI(), s = Cs(), h = function(m) {
    return m;
  };
  function o() {
    const p = new i.ExplorerSync({
      moduleName: "cosmiconfig",
      stopDir: process.cwd(),
      searchPlaces: t.metaSearchPlaces,
      ignoreEmptySearchPlaces: !1,
      applyPackagePropertyPathToConfiguration: !0,
      loaders: t.defaultLoaders,
      transform: h,
      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 m = {
      mergeSearchPlaces: !0,
      ...p.config ?? {}
    };
    return {
      config: (0, s.removeUndefinedValuesFromObject)(m),
      filepath: p.filepath
    };
  }
  function n(p, m, g) {
    const v = g.searchPlaces?.map((y) => y.replace("{name}", p));
    return g.mergeSearchPlaces ? [...v ?? [], ...m] : v ?? m;
  }
  function u(p, m, g) {
    const v = o();
    if (!v) return {
      ...m,
      ...(0, s.removeUndefinedValuesFromObject)(g),
      loaders: {
        ...m.loaders,
        ...g.loaders
      }
    };
    const y = v.config, E = g.searchPlaces ?? m.searchPlaces;
    return {
      ...m,
      ...(0, s.removeUndefinedValuesFromObject)(g),
      metaConfigFilePath: v.filepath,
      ...y,
      searchPlaces: n(p, E, y),
      loaders: {
        ...m.loaders,
        ...g.loaders
      }
    };
  }
  function l(p) {
    if (p.searchStrategy != null && p.searchStrategy !== "global" && p.stopDir) throw new Error('Can not supply `stopDir` option with `searchStrategy` other than "global"');
  }
  function f(p, m) {
    return l(m), u(p, {
      moduleName: p,
      searchPlaces: (0, t.getDefaultSearchPlaces)(p),
      ignoreEmptySearchPlaces: !0,
      cache: !0,
      transform: h,
      loaders: t.defaultLoaders,
      metaConfigFilePath: null,
      mergeImportArrays: !0,
      mergeSearchPlaces: !0,
      searchStrategy: m.stopDir ? "global" : "none"
    }, m);
  }
  function a(p, m) {
    return l(m), u(p, {
      moduleName: p,
      searchPlaces: (0, t.getDefaultSearchPlacesSync)(p),
      ignoreEmptySearchPlaces: !0,
      cache: !0,
      transform: h,
      loaders: t.defaultLoadersSync,
      metaConfigFilePath: null,
      mergeImportArrays: !0,
      mergeSearchPlaces: !0,
      searchStrategy: m.stopDir ? "global" : "none"
    }, m);
  }
  function c(p, m = {}) {
    const g = f(p, m), v = new r.Explorer(g);
    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 = c;
  function d(p, m = {}) {
    const g = a(p, m), v = new i.ExplorerSync(g);
    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 = d;
})), HI = UI();
function qI(e, t) {
  const r = ze.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"), h = t.endsWith(".js") && !t.endsWith(".cjs") && !t.endsWith(".mjs");
  return i && h ? `${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 && h ? `${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 GI({ configFileName: e, configFilePath: t, packageFile: r, global: i, options: s }) {
  const h = Un(s?.color), o = (0, HI.cosmiconfig)("ncu", {
    searchPlaces: [
      ".ncurc",
      ".ncurc.json",
      ".ncurc.yaml",
      ".ncurc.yml",
      ".ncurc.mjs",
      ".ncurc.cjs",
      ".ncurc.js"
    ],
    searchStrategy: "global"
  }), n = t || (i ? Zr.homedir() : r ? ze.dirname(r) : process.cwd());
  let u = null, l;
  try {
    e ? (l = ze.isAbsolute(e) ? e : ze.join(n, e), u = await o.load(l)) : (u = await o.search(n), l = u?.filepath);
  } catch (m) {
    const g = m.message || "", v = l || e || ".ncurc.js";
    e && (m.code === "ENOENT" || g.includes("no such file or directory")) && Ve(s, `Config file ${e} not found in ${n}`);
    const y = qI(g, v);
    y && Ve(s, y), Ve(s, `Config file error: ${g}`);
  }
  const f = u?.filepath, { $schema: a, ...c } = u?.config || {}, d = c || {};
  typeof d.format == "string" && (d.format = wr.format.parse(d.format));
  const p = Object.keys(d).filter((m) => !wr[m]);
  return p.length > 0 && (console.error(h.red(`Unknown option${p.length === 1 ? "" : "s"} found in config file:`), h.gray(p.join(", "))), console.info("Using config file " + f), console.info(`You can change the config file path with ${h.blue("--configFilePath")}`)), {
    filePath: f,
    args: Object.entries(d).flatMap(([m, g]) => typeof g == "boolean" || wr[m]?.type === "boolean" ? g ? [`--${m}`] : [] : [`--${m}`, g]),
    config: d
  };
}
var Gu = Object.prototype.hasOwnProperty;
function zu(e, t, r) {
  for (r of e.keys()) if (Ar(r, t)) return r;
}
function Ar(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-- && Ar(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 = zu(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 = zu(t, s), !s) || !Ar(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 (Gu.call(e, r) && ++i && !Gu.call(t, r) || !(r in t) || !Ar(e[r], t[r])) return !1;
      return Object.keys(t).length === i;
    }
  }
  return e !== e && t !== t;
}
var Is = /* @__PURE__ */ P(((e, t) => {
  var r = "\\\\/", i = `[^${r}]`, s = 0, h = "\\.", o = "\\+", n = "\\?", u = "\\/", l = "(?=.)", f = "[^/]", a = `(?:${u}|$)`, c = `(?:^|${u})`, d = `${h}{1,2}${a}`, p = {
    DOT_LITERAL: h,
    PLUS_LITERAL: o,
    QMARK_LITERAL: n,
    SLASH_LITERAL: u,
    ONE_CHAR: l,
    QMARK: f,
    END_ANCHOR: a,
    DOTS_SLASH: d,
    NO_DOT: `(?!${h})`,
    NO_DOTS: `(?!${c}${d})`,
    NO_DOT_SLASH: `(?!${h}{0,1}${a})`,
    NO_DOTS_SLASH: `(?!${d})`,
    QMARK_NO_DOT: `[^.${u}]`,
    STAR: `${f}*?`,
    START_ANCHOR: c,
    SEP: "/"
  }, m = {
    ...p,
    SLASH_LITERAL: `[${r}]`,
    QMARK: i,
    STAR: `${i}*?`,
    DOTS_SLASH: `${h}{1,2}(?:[${r}]|$)`,
    NO_DOT: `(?!${h})`,
    NO_DOTS: `(?!(?:^|[${r}])${h}{1,2}(?:[${r}]|$))`,
    NO_DOT_SLASH: `(?!${h}{0,1}(?:[${r}]|$))`,
    NO_DOTS_SLASH: `(?!${h}{1,2}(?:[${r}]|$))`,
    QMARK_NO_DOT: `[^.${r}]`,
    START_ANCHOR: `(?:^|[${r}])`,
    END_ANCHOR: `(?:[${r}]|$)`,
    SEP: "\\"
  }, g = {
    __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: g,
    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 ? m : p;
    }
  };
})), ks = /* @__PURE__ */ P(((e) => {
  var { REGEX_BACKSLASH: t, REGEX_REMOVE_BACKSLASH: r, REGEX_SPECIAL_CHARS: i, REGEX_SPECIAL_CHARS_GLOBAL: s } = Is();
  e.isObject = (h) => h !== null && typeof h == "object" && !Array.isArray(h), e.hasRegexChars = (h) => i.test(h), e.isRegexChar = (h) => h.length === 1 && e.hasRegexChars(h), e.escapeRegex = (h) => h.replace(s, "\\$1"), e.toPosixSlashes = (h) => h.replace(t, "/"), e.isWindows = () => {
    if (typeof navigator < "u" && navigator.platform) {
      const h = navigator.platform.toLowerCase();
      return h === "win32" || h === "windows";
    }
    return typeof process < "u" && process.platform ? process.platform === "win32" : !1;
  }, e.removeBackslashes = (h) => h.replace(r, (o) => o === "\\" ? "" : o), e.escapeLast = (h, o, n) => {
    const u = h.lastIndexOf(o, n);
    return u === -1 ? h : h[u - 1] === "\\" ? e.escapeLast(h, o, u - 1) : `${h.slice(0, u)}\\${h.slice(u)}`;
  }, e.removePrefix = (h, o = {}) => {
    let n = h;
    return n.startsWith("./") && (n = n.slice(2), o.prefix = "./"), n;
  }, e.wrapOutput = (h, o = {}, n = {}) => {
    let u = `${n.contains ? "" : "^"}(?:${h})${n.contains ? "" : "$"}`;
    return o.negated === !0 && (u = `(?:^(?!${u}).*$)`), u;
  }, e.basename = (h, { windows: o } = {}) => {
    const n = h.split(o ? /[\\/]/ : "/"), u = n[n.length - 1];
    return u === "" ? n[n.length - 2] : u;
  };
})), zI = /* @__PURE__ */ P(((e, t) => {
  var r = ks(), { CHAR_ASTERISK: i, CHAR_AT: s, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: o, CHAR_DOT: n, CHAR_EXCLAMATION_MARK: u, CHAR_FORWARD_SLASH: l, CHAR_LEFT_CURLY_BRACE: f, CHAR_LEFT_PARENTHESES: a, CHAR_LEFT_SQUARE_BRACKET: c, CHAR_PLUS: d, CHAR_QUESTION_MARK: p, CHAR_RIGHT_CURLY_BRACE: m, CHAR_RIGHT_PARENTHESES: g, CHAR_RIGHT_SQUARE_BRACKET: v } = Is(), y = (w) => w === l || w === h, E = (w) => {
    w.isPrefix !== !0 && (w.depth = w.isGlobstar ? 1 / 0 : 1);
  }, b = (w, _) => {
    const S = _ || {}, T = w.length - 1, D = S.parts === !0 || S.scanToEnd === !0, R = [], j = [], M = [];
    let G = w, Y = -1, H = 0, I = 0, $ = !1, q = !1, z = !1, F = !1, x = !1, L = !1, C = !1, N = !1, K = !1, oe = !1, pe = 0, _e, V, B = {
      value: "",
      depth: 0,
      isGlob: !1
    };
    const W = () => Y >= T, X = () => G.charCodeAt(Y + 1), ne = () => (_e = V, G.charCodeAt(++Y));
    for (; Y < T; ) {
      V = ne();
      let Te;
      if (V === h) {
        C = B.backslashes = !0, V = ne(), V === f && (L = !0);
        continue;
      }
      if (L === !0 || V === f) {
        for (pe++; W() !== !0 && (V = ne()); ) {
          if (V === h) {
            C = B.backslashes = !0, ne();
            continue;
          }
          if (V === f) {
            pe++;
            continue;
          }
          if (L !== !0 && V === n && (V = ne()) === n) {
            if ($ = B.isBrace = !0, z = B.isGlob = !0, oe = !0, D === !0) continue;
            break;
          }
          if (L !== !0 && V === o) {
            if ($ = B.isBrace = !0, z = B.isGlob = !0, oe = !0, D === !0) continue;
            break;
          }
          if (V === m && (pe--, pe === 0)) {
            L = !1, $ = B.isBrace = !0, oe = !0;
            break;
          }
        }
        if (D === !0) continue;
        break;
      }
      if (V === l) {
        if (R.push(Y), j.push(B), B = {
          value: "",
          depth: 0,
          isGlob: !1
        }, oe === !0) continue;
        if (_e === n && Y === H + 1) {
          H += 2;
          continue;
        }
        I = Y + 1;
        continue;
      }
      if (S.noext !== !0 && (V === d || V === s || V === i || V === p || V === u) && X() === a) {
        if (z = B.isGlob = !0, F = B.isExtglob = !0, oe = !0, V === u && Y === H && (K = !0), D === !0) {
          for (; W() !== !0 && (V = ne()); ) {
            if (V === h) {
              C = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              z = B.isGlob = !0, oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (V === i) {
        if (_e === i && (x = B.isGlobstar = !0), z = B.isGlob = !0, oe = !0, D === !0) continue;
        break;
      }
      if (V === p) {
        if (z = B.isGlob = !0, oe = !0, D === !0) continue;
        break;
      }
      if (V === c) {
        for (; W() !== !0 && (Te = ne()); ) {
          if (Te === h) {
            C = B.backslashes = !0, ne();
            continue;
          }
          if (Te === v) {
            q = B.isBracket = !0, z = B.isGlob = !0, oe = !0;
            break;
          }
        }
        if (D === !0) continue;
        break;
      }
      if (S.nonegate !== !0 && V === u && Y === H) {
        N = B.negated = !0, H++;
        continue;
      }
      if (S.noparen !== !0 && V === a) {
        if (z = B.isGlob = !0, D === !0) {
          for (; W() !== !0 && (V = ne()); ) {
            if (V === a) {
              C = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (z === !0) {
        if (oe = !0, D === !0) continue;
        break;
      }
    }
    S.noext === !0 && (F = !1, z = !1);
    let k = G, U = "", ee = "";
    H > 0 && (U = G.slice(0, H), G = G.slice(H), I -= H), k && z === !0 && I > 0 ? (k = G.slice(0, I), ee = G.slice(I)) : z === !0 ? (k = "", ee = G) : k = G, k && k !== "" && k !== "/" && k !== G && y(k.charCodeAt(k.length - 1)) && (k = k.slice(0, -1)), S.unescape === !0 && (ee && (ee = r.removeBackslashes(ee)), k && C === !0 && (k = r.removeBackslashes(k)));
    const Ae = {
      prefix: U,
      input: w,
      start: H,
      base: k,
      glob: ee,
      isBrace: $,
      isBracket: q,
      isGlob: z,
      isExtglob: F,
      isGlobstar: x,
      negated: N,
      negatedExtglob: K
    };
    if (S.tokens === !0 && (Ae.maxDepth = 0, y(V) || j.push(B), Ae.tokens = j), S.parts === !0 || S.tokens === !0) {
      let Te;
      for (let ye = 0; ye < R.length; ye++) {
        const Pe = Te ? Te + 1 : H, xe = R[ye], Me = w.slice(Pe, xe);
        S.tokens && (ye === 0 && H !== 0 ? (j[ye].isPrefix = !0, j[ye].value = U) : j[ye].value = Me, E(j[ye]), Ae.maxDepth += j[ye].depth), (ye !== 0 || Me !== "") && M.push(Me), Te = xe;
      }
      if (Te && Te + 1 < w.length) {
        const ye = w.slice(Te + 1);
        M.push(ye), S.tokens && (j[j.length - 1].value = ye, E(j[j.length - 1]), Ae.maxDepth += j[j.length - 1].depth);
      }
      Ae.slashes = R, Ae.parts = M;
    }
    return Ae;
  };
  t.exports = b;
})), WI = /* @__PURE__ */ P(((e, t) => {
  var r = Is(), i = ks(), { MAX_LENGTH: s, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: o, REGEX_SPECIAL_CHARS_BACKREF: n, REPLACEMENTS: u } = r, l = (b, w) => {
    if (typeof w.expandRange == "function") return w.expandRange(...b, w);
    b.sort();
    const _ = `[${b.join("-")}]`;
    try {
      new RegExp(_);
    } catch {
      return b.map((T) => i.escapeRegex(T)).join("..");
    }
    return _;
  }, f = (b, w) => `Missing ${b}: "${w}" - use "\\\\${w}" to match literal characters`, a = (b) => {
    const w = [];
    let _ = 0, S = 0, T = 0, D = "", R = !1;
    for (const j of b) {
      if (R === !0) {
        D += j, R = !1;
        continue;
      }
      if (j === "\\") {
        D += j, R = !0;
        continue;
      }
      if (j === '"') {
        T = T === 1 ? 0 : 1, D += j;
        continue;
      }
      if (T === 0) {
        if (j === "[") _++;
        else if (j === "]" && _ > 0) _--;
        else if (_ === 0) {
          if (j === "(") S++;
          else if (j === ")" && S > 0) S--;
          else if (j === "|" && S === 0) {
            w.push(D), D = "";
            continue;
          }
        }
      }
      D += j;
    }
    return w.push(D), w;
  }, c = (b) => {
    let w = !1;
    for (const _ of b) {
      if (w === !0) {
        w = !1;
        continue;
      }
      if (_ === "\\") {
        w = !0;
        continue;
      }
      if (/[?*+@!()[\]{}]/.test(_)) return !1;
    }
    return !0;
  }, d = (b) => {
    let w = b.trim(), _ = !0;
    for (; _ === !0; )
      _ = !1, /^@\([^\\()[\]{}|]+\)$/.test(w) && (w = w.slice(2, -1), _ = !0);
    if (c(w))
      return w.replace(/\\(.)/g, "$1");
  }, p = (b) => {
    const w = b.map(d).filter(Boolean);
    for (let _ = 0; _ < w.length; _++) for (let S = _ + 1; S < w.length; S++) {
      const T = w[_], D = w[S], R = T[0];
      if (!(!R || T !== R.repeat(T.length) || D !== R.repeat(D.length)) && (T === D || T.startsWith(D) || D.startsWith(T)))
        return !0;
    }
    return !1;
  }, m = (b, w = !0) => {
    if (b[0] !== "+" && b[0] !== "*" || b[1] !== "(") return;
    let _ = 0, S = 0, T = 0, D = !1;
    for (let R = 1; R < b.length; R++) {
      const j = b[R];
      if (D === !0) {
        D = !1;
        continue;
      }
      if (j === "\\") {
        D = !0;
        continue;
      }
      if (j === '"') {
        T = T === 1 ? 0 : 1;
        continue;
      }
      if (T !== 1) {
        if (j === "[") {
          _++;
          continue;
        }
        if (j === "]" && _ > 0) {
          _--;
          continue;
        }
        if (!(_ > 0)) {
          if (j === "(") {
            S++;
            continue;
          }
          if (j === ")" && (S--, S === 0))
            return w === !0 && R !== b.length - 1 ? void 0 : {
              type: b[0],
              body: b.slice(2, R),
              end: R
            };
        }
      }
    }
  }, g = (b) => {
    let w = 0;
    const _ = [];
    for (; w < b.length; ) {
      const S = m(b.slice(w), !1);
      if (!S || S.type !== "*") return;
      const T = a(S.body).map((R) => R.trim());
      if (T.length !== 1) return;
      const D = d(T[0]);
      if (!D || D.length !== 1) return;
      _.push(D), w += S.end + 1;
    }
    if (!(_.length < 1))
      return `${_.length === 1 ? i.escapeRegex(_[0]) : `[${_.map((S) => i.escapeRegex(S)).join("")}]`}*`;
  }, v = (b) => {
    let w = 0, _ = b.trim(), S = m(_);
    for (; S; )
      w++, _ = S.body.trim(), S = m(_);
    return w;
  }, y = (b, w) => {
    if (w.maxExtglobRecursion === !1) return { risky: !1 };
    const _ = typeof w.maxExtglobRecursion == "number" ? w.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION, S = a(b).map((T) => T.trim());
    if (S.length > 1 && (S.some((T) => T === "") || S.some((T) => /^[*?]+$/.test(T)) || p(S)))
      return { risky: !0 };
    for (const T of S) {
      const D = g(T);
      if (D) return {
        risky: !0,
        safeOutput: D
      };
      if (v(T) > _) return { risky: !0 };
    }
    return { risky: !1 };
  }, E = (b, w) => {
    if (typeof b != "string") throw new TypeError("Expected a string");
    b = u[b] || b;
    const _ = { ...w }, S = typeof _.maxLength == "number" ? Math.min(s, _.maxLength) : s;
    let T = b.length;
    if (T > S) throw new SyntaxError(`Input length: ${T}, exceeds maximum allowed length: ${S}`);
    const D = {
      type: "bos",
      value: "",
      output: _.prepend || ""
    }, R = [D], j = _.capture ? "" : "?:", M = r.globChars(_.windows), G = r.extglobChars(M), { DOT_LITERAL: Y, PLUS_LITERAL: H, SLASH_LITERAL: I, ONE_CHAR: $, DOTS_SLASH: q, NO_DOT: z, NO_DOT_SLASH: F, NO_DOTS_SLASH: x, QMARK: L, QMARK_NO_DOT: C, STAR: N, START_ANCHOR: K } = M, oe = (re) => `(${j}(?:(?!${K}${re.dot ? q : Y}).)*?)`, pe = _.dot ? "" : z, _e = _.dot ? L : C;
    let V = _.bash === !0 ? oe(_) : N;
    _.capture && (V = `(${V})`), typeof _.noext == "boolean" && (_.noextglob = _.noext);
    const B = {
      input: b,
      index: -1,
      start: 0,
      dot: _.dot === !0,
      consumed: "",
      output: "",
      prefix: "",
      backtrack: !1,
      negated: !1,
      brackets: 0,
      braces: 0,
      parens: 0,
      quotes: 0,
      globstar: !1,
      tokens: R
    };
    b = i.removePrefix(b, B), T = b.length;
    const W = [], X = [], ne = [];
    let k = D, U;
    const ee = () => B.index === T - 1, Ae = B.peek = (re = 1) => b[B.index + re], Te = B.advance = () => b[++B.index] || "", ye = () => b.slice(B.index + 1), Pe = (re = "", Q = 0) => {
      B.consumed += re, B.index += Q;
    }, xe = (re) => {
      B.output += re.output != null ? re.output : re.value, Pe(re.value);
    }, Me = () => {
      let re = 1;
      for (; Ae() === "!" && (Ae(2) !== "(" || Ae(3) === "?"); )
        Te(), B.start++, re++;
      return re % 2 === 0 ? !1 : (B.negated = !0, B.start++, !0);
    }, Ce = (re) => {
      B[re]++, ne.push(re);
    }, A = (re) => {
      B[re]--, ne.pop();
    }, se = (re) => {
      if (k.type === "globstar") {
        const Q = B.braces > 0 && (re.type === "comma" || re.type === "brace"), ie = re.extglob === !0 || W.length && (re.type === "pipe" || re.type === "paren");
        re.type !== "slash" && re.type !== "paren" && !Q && !ie && (B.output = B.output.slice(0, -k.output.length), k.type = "star", k.value = "*", k.output = V, B.output += k.output);
      }
      if (W.length && re.type !== "paren" && (W[W.length - 1].inner += re.value), (re.value || re.output) && xe(re), k && k.type === "text" && re.type === "text") {
        k.output = (k.output || k.value) + re.value, k.value += re.value;
        return;
      }
      re.prev = k, R.push(re), k = re;
    }, he = (re, Q) => {
      const ie = {
        ...G[Q],
        conditions: 1,
        inner: ""
      };
      ie.prev = k, ie.parens = B.parens, ie.output = B.output, ie.startIndex = B.index, ie.tokensIndex = R.length;
      const ae = (_.capture ? "(" : "") + ie.open;
      Ce("parens"), se({
        type: re,
        value: Q,
        output: B.output ? "" : $
      }), se({
        type: "paren",
        extglob: !0,
        value: Te(),
        output: ae
      }), W.push(ie);
    }, de = (re) => {
      const Q = b.slice(re.startIndex, B.index + 1), ie = y(b.slice(re.startIndex + 2, B.index), _);
      if ((re.type === "plus" || re.type === "star") && ie.risky) {
        const Le = ie.safeOutput ? (re.output ? "" : $) + (_.capture ? `(${ie.safeOutput})` : ie.safeOutput) : void 0, De = R[re.tokensIndex];
        De.type = "text", De.value = Q, De.output = Le || i.escapeRegex(Q);
        for (let Oe = re.tokensIndex + 1; Oe < R.length; Oe++)
          R[Oe].value = "", R[Oe].output = "", delete R[Oe].suffix;
        B.output = re.output + De.output, B.backtrack = !0, se({
          type: "paren",
          extglob: !0,
          value: U,
          output: ""
        }), A("parens");
        return;
      }
      let ae = re.close + (_.capture ? ")" : ""), be;
      if (re.type === "negate") {
        let Le = V;
        re.inner && re.inner.length > 1 && re.inner.includes("/") && (Le = oe(_)), (Le !== V || ee() || /^\)+$/.test(ye())) && (ae = re.close = `)$))${Le}`), re.inner.includes("*") && (be = ye()) && /^\.[^\\/.]+$/.test(be) && (ae = re.close = `)${E(be, {
          ...w,
          fastpaths: !1
        }).output})${Le})`), re.prev.type === "bos" && (B.negatedExtglob = !0);
      }
      se({
        type: "paren",
        extglob: !0,
        value: U,
        output: ae
      }), A("parens");
    };
    if (_.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(b)) {
      let re = !1, Q = b.replace(n, (ie, ae, be, Le, De, Oe) => Le === "\\" ? (re = !0, ie) : Le === "?" ? ae ? ae + Le + (De ? L.repeat(De.length) : "") : Oe === 0 ? _e + (De ? L.repeat(De.length) : "") : L.repeat(be.length) : Le === "." ? Y.repeat(be.length) : Le === "*" ? ae ? ae + Le + (De ? V : "") : V : ae ? ie : `\\${ie}`);
      return re === !0 && (_.unescape === !0 ? Q = Q.replace(/\\/g, "") : Q = Q.replace(/\\+/g, (ie) => ie.length % 2 === 0 ? "\\\\" : ie ? "\\" : "")), Q === b && _.contains === !0 ? (B.output = b, B) : (B.output = i.wrapOutput(Q, B, w), B);
    }
    for (; !ee(); ) {
      if (U = Te(), U === "\0") continue;
      if (U === "\\") {
        const ie = Ae();
        if (ie === "/" && _.bash !== !0 || ie === "." || ie === ";") continue;
        if (!ie) {
          U += "\\", se({
            type: "text",
            value: U
          });
          continue;
        }
        const ae = /^\\+/.exec(ye());
        let be = 0;
        if (ae && ae[0].length > 2 && (be = ae[0].length, B.index += be, be % 2 !== 0 && (U += "\\")), _.unescape === !0 ? U = Te() : U += Te(), B.brackets === 0) {
          se({
            type: "text",
            value: U
          });
          continue;
        }
      }
      if (B.brackets > 0 && (U !== "]" || k.value === "[" || k.value === "[^")) {
        if (_.posix !== !1 && U === ":") {
          const ie = k.value.slice(1);
          if (ie.includes("[") && (k.posix = !0, ie.includes(":"))) {
            const ae = k.value.lastIndexOf("["), be = k.value.slice(0, ae), Le = h[k.value.slice(ae + 2)];
            if (Le) {
              k.value = be + Le, B.backtrack = !0, Te(), !D.output && R.indexOf(k) === 1 && (D.output = $);
              continue;
            }
          }
        }
        (U === "[" && Ae() !== ":" || U === "-" && Ae() === "]") && (U = `\\${U}`), U === "]" && (k.value === "[" || k.value === "[^") && (U = `\\${U}`), _.posix === !0 && U === "!" && k.value === "[" && (U = "^"), k.value += U, xe({ value: U });
        continue;
      }
      if (B.quotes === 1 && U !== '"') {
        U = i.escapeRegex(U), k.value += U, xe({ value: U });
        continue;
      }
      if (U === '"') {
        B.quotes = B.quotes === 1 ? 0 : 1, _.keepQuotes === !0 && se({
          type: "text",
          value: U
        });
        continue;
      }
      if (U === "(") {
        Ce("parens"), se({
          type: "paren",
          value: U
        });
        continue;
      }
      if (U === ")") {
        if (B.parens === 0 && _.strictBrackets === !0) throw new SyntaxError(f("opening", "("));
        const ie = W[W.length - 1];
        if (ie && B.parens === ie.parens + 1) {
          de(W.pop());
          continue;
        }
        se({
          type: "paren",
          value: U,
          output: B.parens ? ")" : "\\)"
        }), A("parens");
        continue;
      }
      if (U === "[") {
        if (_.nobracket === !0 || !ye().includes("]")) {
          if (_.nobracket !== !0 && _.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
          U = `\\${U}`;
        } else Ce("brackets");
        se({
          type: "bracket",
          value: U
        });
        continue;
      }
      if (U === "]") {
        if (_.nobracket === !0 || k && k.type === "bracket" && k.value.length === 1) {
          se({
            type: "text",
            value: U,
            output: `\\${U}`
          });
          continue;
        }
        if (B.brackets === 0) {
          if (_.strictBrackets === !0) throw new SyntaxError(f("opening", "["));
          se({
            type: "text",
            value: U,
            output: `\\${U}`
          });
          continue;
        }
        A("brackets");
        const ie = k.value.slice(1);
        if (k.posix !== !0 && ie[0] === "^" && !ie.includes("/") && (U = `/${U}`), k.value += U, xe({ value: U }), _.literalBrackets === !1 || i.hasRegexChars(ie)) continue;
        const ae = i.escapeRegex(k.value);
        if (B.output = B.output.slice(0, -k.value.length), _.literalBrackets === !0) {
          B.output += ae, k.value = ae;
          continue;
        }
        k.value = `(${j}${ae}|${k.value})`, B.output += k.value;
        continue;
      }
      if (U === "{" && _.nobrace !== !0) {
        Ce("braces");
        const ie = {
          type: "brace",
          value: U,
          output: "(",
          outputIndex: B.output.length,
          tokensIndex: B.tokens.length
        };
        X.push(ie), se(ie);
        continue;
      }
      if (U === "}") {
        const ie = X[X.length - 1];
        if (_.nobrace === !0 || !ie) {
          se({
            type: "text",
            value: U,
            output: U
          });
          continue;
        }
        let ae = ")";
        if (ie.dots === !0) {
          const be = R.slice(), Le = [];
          for (let De = be.length - 1; De >= 0 && (R.pop(), be[De].type !== "brace"); De--)
            be[De].type !== "dots" && Le.unshift(be[De].value);
          ae = l(Le, _), B.backtrack = !0;
        }
        if (ie.comma !== !0 && ie.dots !== !0) {
          const be = B.output.slice(0, ie.outputIndex), Le = B.tokens.slice(ie.tokensIndex);
          ie.value = ie.output = "\\{", U = ae = "\\}", B.output = be;
          for (const De of Le) B.output += De.output || De.value;
        }
        se({
          type: "brace",
          value: U,
          output: ae
        }), A("braces"), X.pop();
        continue;
      }
      if (U === "|") {
        W.length > 0 && W[W.length - 1].conditions++, se({
          type: "text",
          value: U
        });
        continue;
      }
      if (U === ",") {
        let ie = U;
        const ae = X[X.length - 1];
        ae && ne[ne.length - 1] === "braces" && (ae.comma = !0, ie = "|"), se({
          type: "comma",
          value: U,
          output: ie
        });
        continue;
      }
      if (U === "/") {
        if (k.type === "dot" && B.index === B.start + 1) {
          B.start = B.index + 1, B.consumed = "", B.output = "", R.pop(), k = D;
          continue;
        }
        se({
          type: "slash",
          value: U,
          output: I
        });
        continue;
      }
      if (U === ".") {
        if (B.braces > 0 && k.type === "dot") {
          k.value === "." && (k.output = Y);
          const ie = X[X.length - 1];
          k.type = "dots", k.output += U, k.value += U, ie.dots = !0;
          continue;
        }
        if (B.braces + B.parens === 0 && k.type !== "bos" && k.type !== "slash") {
          se({
            type: "text",
            value: U,
            output: Y
          });
          continue;
        }
        se({
          type: "dot",
          value: U,
          output: Y
        });
        continue;
      }
      if (U === "?") {
        if (!(k && k.value === "(") && _.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          he("qmark", U);
          continue;
        }
        if (k && k.type === "paren") {
          const ie = Ae();
          let ae = U;
          (k.value === "(" && !/[!=<:]/.test(ie) || ie === "<" && !/<([!=]|\w+>)/.test(ye())) && (ae = `\\${U}`), se({
            type: "text",
            value: U,
            output: ae
          });
          continue;
        }
        if (_.dot !== !0 && (k.type === "slash" || k.type === "bos")) {
          se({
            type: "qmark",
            value: U,
            output: C
          });
          continue;
        }
        se({
          type: "qmark",
          value: U,
          output: L
        });
        continue;
      }
      if (U === "!") {
        if (_.noextglob !== !0 && Ae() === "(" && (Ae(2) !== "?" || !/[!=<:]/.test(Ae(3)))) {
          he("negate", U);
          continue;
        }
        if (_.nonegate !== !0 && B.index === 0) {
          Me();
          continue;
        }
      }
      if (U === "+") {
        if (_.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          he("plus", U);
          continue;
        }
        if (k && k.value === "(" || _.regex === !1) {
          se({
            type: "plus",
            value: U,
            output: H
          });
          continue;
        }
        if (k && (k.type === "bracket" || k.type === "paren" || k.type === "brace") || B.parens > 0) {
          se({
            type: "plus",
            value: U
          });
          continue;
        }
        se({
          type: "plus",
          value: H
        });
        continue;
      }
      if (U === "@") {
        if (_.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          se({
            type: "at",
            extglob: !0,
            value: U,
            output: ""
          });
          continue;
        }
        se({
          type: "text",
          value: U
        });
        continue;
      }
      if (U !== "*") {
        (U === "$" || U === "^") && (U = `\\${U}`);
        const ie = o.exec(ye());
        ie && (U += ie[0], B.index += ie[0].length), se({
          type: "text",
          value: U
        });
        continue;
      }
      if (k && (k.type === "globstar" || k.star === !0)) {
        k.type = "star", k.star = !0, k.value += U, k.output = V, B.backtrack = !0, B.globstar = !0, Pe(U);
        continue;
      }
      let re = ye();
      if (_.noextglob !== !0 && /^\([^?]/.test(re)) {
        he("star", U);
        continue;
      }
      if (k.type === "star") {
        if (_.noglobstar === !0) {
          Pe(U);
          continue;
        }
        const ie = k.prev, ae = ie.prev, be = ie.type === "slash" || ie.type === "bos", Le = ae && (ae.type === "star" || ae.type === "globstar");
        if (_.bash === !0 && (!be || re[0] && re[0] !== "/")) {
          se({
            type: "star",
            value: U,
            output: ""
          });
          continue;
        }
        const De = B.braces > 0 && (ie.type === "comma" || ie.type === "brace"), Oe = W.length && (ie.type === "pipe" || ie.type === "paren");
        if (!be && ie.type !== "paren" && !De && !Oe) {
          se({
            type: "star",
            value: U,
            output: ""
          });
          continue;
        }
        for (; re.slice(0, 3) === "/**"; ) {
          const Z = b[B.index + 4];
          if (Z && Z !== "/") break;
          re = re.slice(3), Pe("/**", 3);
        }
        if (ie.type === "bos" && ee()) {
          k.type = "globstar", k.value += U, k.output = oe(_), B.output = k.output, B.globstar = !0, Pe(U);
          continue;
        }
        if (ie.type === "slash" && ie.prev.type !== "bos" && !Le && ee()) {
          B.output = B.output.slice(0, -(ie.output + k.output).length), ie.output = `(?:${ie.output}`, k.type = "globstar", k.output = oe(_) + (_.strictSlashes ? ")" : "|$)"), k.value += U, B.globstar = !0, B.output += ie.output + k.output, Pe(U);
          continue;
        }
        if (ie.type === "slash" && ie.prev.type !== "bos" && re[0] === "/") {
          const Z = re[1] !== void 0 ? "|$" : "";
          B.output = B.output.slice(0, -(ie.output + k.output).length), ie.output = `(?:${ie.output}`, k.type = "globstar", k.output = `${oe(_)}${I}|${I}${Z})`, k.value += U, B.output += ie.output + k.output, B.globstar = !0, Pe(U + Te()), se({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        if (ie.type === "bos" && re[0] === "/") {
          k.type = "globstar", k.value += U, k.output = `(?:^|${I}|${oe(_)}${I})`, B.output = k.output, B.globstar = !0, Pe(U + Te()), se({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        B.output = B.output.slice(0, -k.output.length), k.type = "globstar", k.output = oe(_), k.value += U, B.output += k.output, B.globstar = !0, Pe(U);
        continue;
      }
      const Q = {
        type: "star",
        value: U,
        output: V
      };
      if (_.bash === !0) {
        Q.output = ".*?", (k.type === "bos" || k.type === "slash") && (Q.output = pe + Q.output), se(Q);
        continue;
      }
      if (k && (k.type === "bracket" || k.type === "paren") && _.regex === !0) {
        Q.output = U, se(Q);
        continue;
      }
      (B.index === B.start || k.type === "slash" || k.type === "dot") && (k.type === "dot" ? (B.output += F, k.output += F) : _.dot === !0 ? (B.output += x, k.output += x) : (B.output += pe, k.output += pe), Ae() !== "*" && (B.output += $, k.output += $)), se(Q);
    }
    for (; B.brackets > 0; ) {
      if (_.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
      B.output = i.escapeLast(B.output, "["), A("brackets");
    }
    for (; B.parens > 0; ) {
      if (_.strictBrackets === !0) throw new SyntaxError(f("closing", ")"));
      B.output = i.escapeLast(B.output, "("), A("parens");
    }
    for (; B.braces > 0; ) {
      if (_.strictBrackets === !0) throw new SyntaxError(f("closing", "}"));
      B.output = i.escapeLast(B.output, "{"), A("braces");
    }
    if (_.strictSlashes !== !0 && (k.type === "star" || k.type === "bracket") && se({
      type: "maybe_slash",
      value: "",
      output: `${I}?`
    }), B.backtrack === !0) {
      B.output = "";
      for (const re of B.tokens)
        B.output += re.output != null ? re.output : re.value, re.suffix && (B.output += re.suffix);
    }
    return B;
  };
  E.fastpaths = (b, w) => {
    const _ = { ...w }, S = typeof _.maxLength == "number" ? Math.min(s, _.maxLength) : s, T = b.length;
    if (T > S) throw new SyntaxError(`Input length: ${T}, exceeds maximum allowed length: ${S}`);
    b = u[b] || b;
    const { DOT_LITERAL: D, SLASH_LITERAL: R, ONE_CHAR: j, DOTS_SLASH: M, NO_DOT: G, NO_DOTS: Y, NO_DOTS_SLASH: H, STAR: I, START_ANCHOR: $ } = r.globChars(_.windows), q = _.dot ? Y : G, z = _.dot ? H : G, F = _.capture ? "" : "?:", x = {
      negated: !1,
      prefix: ""
    };
    let L = _.bash === !0 ? ".*?" : I;
    _.capture && (L = `(${L})`);
    const C = (oe) => oe.noglobstar === !0 ? L : `(${F}(?:(?!${$}${oe.dot ? M : D}).)*?)`, N = (oe) => {
      switch (oe) {
        case "*":
          return `${q}${j}${L}`;
        case ".*":
          return `${D}${j}${L}`;
        case "*.*":
          return `${q}${L}${D}${j}${L}`;
        case "*/*":
          return `${q}${L}${R}${j}${z}${L}`;
        case "**":
          return q + C(_);
        case "**/*":
          return `(?:${q}${C(_)}${R})?${z}${j}${L}`;
        case "**/*.*":
          return `(?:${q}${C(_)}${R})?${z}${L}${D}${j}${L}`;
        case "**/.*":
          return `(?:${q}${C(_)}${R})?${D}${j}${L}`;
        default: {
          const pe = /^(.*?)\.(\w+)$/.exec(oe);
          if (!pe) return;
          const _e = N(pe[1]);
          return _e ? _e + D + pe[2] : void 0;
        }
      }
    };
    let K = N(i.removePrefix(b, x));
    return K && _.strictSlashes !== !0 && (K += `${R}?`), K;
  }, t.exports = E;
})), VI = /* @__PURE__ */ P(((e, t) => {
  var r = zI(), i = WI(), s = ks(), h = Is(), o = (u) => u && typeof u == "object" && !Array.isArray(u), n = (u, l, f = !1) => {
    if (Array.isArray(u)) {
      const y = u.map((b) => n(b, l, f));
      return (b) => {
        for (const w of y) {
          const _ = w(b);
          if (_) return _;
        }
        return !1;
      };
    }
    const a = o(u) && u.tokens && u.input;
    if (u === "" || typeof u != "string" && !a) throw new TypeError("Expected pattern to be a non-empty string");
    const c = l || {}, d = c.windows, p = a ? n.compileRe(u, l) : n.makeRe(u, l, !1, !0), m = p.state;
    delete p.state;
    let g = () => !1;
    if (c.ignore) {
      const y = {
        ...l,
        ignore: null,
        onMatch: null,
        onResult: null
      };
      g = n(c.ignore, y, f);
    }
    const v = (y, E = !1) => {
      const { isMatch: b, match: w, output: _ } = n.test(y, p, l, {
        glob: u,
        posix: d
      }), S = {
        glob: u,
        state: m,
        regex: p,
        posix: d,
        input: y,
        output: _,
        match: w,
        isMatch: b
      };
      return typeof c.onResult == "function" && c.onResult(S), b === !1 ? (S.isMatch = !1, E ? S : !1) : g(y) ? (typeof c.onIgnore == "function" && c.onIgnore(S), S.isMatch = !1, E ? S : !1) : (typeof c.onMatch == "function" && c.onMatch(S), E ? S : !0);
    };
    return f && (v.state = m), v;
  };
  n.test = (u, l, f, { glob: a, posix: c } = {}) => {
    if (typeof u != "string") throw new TypeError("Expected input to be a string");
    if (u === "") return {
      isMatch: !1,
      output: ""
    };
    const d = f || {}, p = d.format || (c ? s.toPosixSlashes : null);
    let m = u === a, g = m && p ? p(u) : u;
    return m === !1 && (g = p ? p(u) : u, m = g === a), (m === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? m = n.matchBase(u, l, f, c) : m = l.exec(g)), {
      isMatch: !!m,
      match: m,
      output: g
    };
  }, n.matchBase = (u, l, f) => (l instanceof RegExp ? l : n.makeRe(l, f)).test(s.basename(u)), n.isMatch = (u, l, f) => n(l, f)(u), n.parse = (u, l) => Array.isArray(u) ? u.map((f) => n.parse(f, l)) : i(u, {
    ...l,
    fastpaths: !1
  }), n.scan = (u, l) => r(u, l), n.compileRe = (u, l, f = !1, a = !1) => {
    if (f === !0) return u.output;
    const c = l || {}, d = c.contains ? "" : "^", p = c.contains ? "" : "$";
    let m = `${d}(?:${u.output})${p}`;
    u && u.negated === !0 && (m = `^(?!${m}).*$`);
    const g = n.toRegex(m, l);
    return a === !0 && (g.state = u), g;
  }, n.makeRe = (u, l = {}, f = !1, a = !1) => {
    if (!u || typeof u != "string") throw new TypeError("Expected a non-empty string");
    let c = {
      negated: !1,
      fastpaths: !0
    };
    return l.fastpaths !== !1 && (u[0] === "." || u[0] === "*") && (c.output = i.fastpaths(u, l)), c.output || (c = i(u, l)), n.compileRe(c, l, f, a);
  }, n.toRegex = (u, l) => {
    try {
      const f = l || {};
      return new RegExp(u, f.flags || (f.nocase ? "i" : ""));
    } catch (f) {
      if (l && l.debug === !0) throw f;
      return /$^/;
    }
  }, n.constants = h, t.exports = n;
})), YI = /* @__PURE__ */ P(((e, t) => {
  var r = VI(), i = ks();
  function s(h, o, n = !1) {
    return o && (o.windows === null || o.windows === void 0) && (o = {
      ...o,
      windows: i.isWindows()
    }), r(h, o, n);
  }
  Object.assign(s, r), t.exports = s;
})), Mn = /* @__PURE__ */ Nt(YI(), 1), KI = /* @__PURE__ */ yt({
  greatest: () => Fg,
  greatestLevel: () => oc,
  latest: () => JI,
  minor: () => XI,
  newest: () => tk,
  patch: () => QI,
  semver: () => ek
}), ZI = ih(Jg.execFile);
async function Zs(e) {
  const t = (await ZI("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 ac(e, t, r) {
  t = t.replace(/^github:/, "");
  const { auth: i, protocol: s, host: h, path: o } = (0, zi.default)(t);
  let n;
  try {
    if (s !== null) n = await Zs(`${s ? s.replace("git+", "") : "https:"}//${i ? i + "@" : ""}${h}/${o?.replace(/^:/, "")}`);
    else try {
      n = await Zs(`ssh://git@${h}/${o?.replace(/^:/, "")}`);
    } catch {
      n = await Zs(`https://${i ? i + "@" : ""}${h}/${o}`);
    }
  } catch {
    Fe(r ?? {}, `Invalid, private repo, or no tags for ${e}: ${t}`, "verbose");
    return;
  }
  return Object.keys(n).map(al).filter((u) => (0, We.valid)(u)).sort(nl);
}
var JI = async (e, t, r) => {
  const i = await ac(e, t, r);
  if (!i) return { version: null };
  const s = r?.pre ? i : i.filter((o) => !Wi(o)), h = s[s.length - 1];
  return { version: h ? Qn(t, h) : null };
}, Fg = async (e, t, r) => {
  const i = await ac(e, t, r);
  if (!i) return { version: null };
  const s = i[i.length - 1];
  return { version: s ? Qn(t, s) : null };
}, oc = (e) => async (t, r, i = {}) => {
  const s = decodeURIComponent((0, zi.default)(r).branch).replace(/^semver:/, ""), h = await ac(t, r, i);
  if (!h) return { version: null };
  const o = sl(h.map((n) => n.replace(/^v/, "")), s, e);
  return { version: o ? Qn(r, o) : null };
}, XI = oc("minor"), QI = oc("patch"), ek = async (e, t, r) => ({ version: null }), tk = Fg, rk = /* @__PURE__ */ yt({ latest: () => ak }), ik = (e) => e && e.startsWith("http://") || e.startsWith("https://"), nk = async (e) => {
  const t = e.registry;
  let r;
  if (ik(t)) r = await (await fetch(t)).text();
  else try {
    r = await Qe.readFile(t, "utf8");
  } catch {
    Ve(e, `
The specified static registry file does not exist: ${e.registry}`);
  }
  return JSON.parse(r);
}, sk = (0, gr.default)(nk), ak = async (e, t, r) => ({ version: (await sk(r || {}))[e] || null }), _r = {
  npm: DE,
  pnpm: rS,
  yarn: DT,
  bun: IE,
  gitTags: KI,
  staticRegistry: rk
};
function _i(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 ok(e) {
  try {
    return new URL(e), !0;
  } catch {
    return !1;
  }
}
async function lk(e, { cli: t } = {}) {
  const r = Un(e.color);
  if (!t) {
    const y = js.reduce((b, w) => ({
      ...b,
      ...w.default != null ? { [w.long]: w.default } : null
    }), {}), E = {
      jsonUpgraded: !0,
      silent: e.silent || e.loglevel === void 0 && !e.verbose,
      args: []
    };
    e = {
      ...y,
      ...E,
      ...e
    };
  }
  const i = {
    ...e,
    ...e.packageData && typeof e.packageData != "string" ? { packageData: JSON.stringify(e.packageData, null, 2) } : null,
    cli: t
  }, s = i.silent || i.format?.includes("lines") ? "silent" : i.verbose ? "verbose" : i.loglevel, h = Object.keys(i).filter((y) => y.startsWith("json")).some(Ch(i));
  !h && s !== "silent" && i.rcConfigPath && !i.doctor && Fe(i, `Using config file ${i.rcConfigPath}`);
  const o = js.filter(({ long: y, deprecated: E }) => E && i[y] || y === "packageManager" && i.packageManager === "staticRegistry");
  o.length > 0 && (o.forEach(({ long: y, description: E }) => {
    const b = y === "packageManager" ? "--packageManager staticRegistry is deprecated. Use --registryType json." : `--${y}: ${E}`;
    Fe(i, r.yellow(b), "warn");
  }), Fe(i, "", "warn")), js.forEach(({ long: y, choices: E }) => {
    if (!E || E.length === 0) return;
    const b = i[y], w = Array.isArray(b) ? b : [b];
    w.length !== 0 && w.every((_) => !E.includes(_)) && Ve(i, `Invalid option value: --${y} ${b}. Valid values are: ${E.join(", ")}.`);
  }), i.cwd && !await Ii(i.cwd) && Ve(i, `No such directory: ${i.cwd}`);
  const n = _i(i.args), u = _i(i.filter), l = _i(i.filterVersion), f = _i(i.reject), a = _i(i.rejectVersion), c = i.registryType || (i.registry?.endsWith(".json") ? "json" : "npm");
  i.filter && n && !Ar(n.join(" "), Array.isArray(u) ? u.join(" ") : u) ? Ve(i, `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`) : i.packageFile && i.deep ? Ve(i, "Cannot specify both --packageFile and --deep. --deep is an alias for --packageFile '**/package.json'") : i.format?.includes("lines") && i.jsonUpgraded ? Ve(i, "Cannot specify both --format lines and --jsonUpgraded.") : i.format?.includes("lines") && i.jsonAll ? Ve(i, "Cannot specify both --format lines and --jsonAll.") : i.format?.includes("lines") && i.format.length > 1 ? Ve(i, "Cannot use --format lines with other formatting options.") : i.workspace?.length && i.workspaces ? Ve(i, "Cannot specify both --workspace and --workspaces.") : i.deep && (i.workspace?.length || i.workspaces) ? Ve(i, `Cannot specify both --deep and --workspace${i.workspaces ? "s" : ""}.`) : i.doctor && (i.workspace?.length || i.workspaces) ? Ve(i, `Doctor mode is not currently supported with --workspace${i.workspaces ? "s" : ""}.`) : i.packageManager === "staticRegistry" && !i.registry ? Ve(i, "When --package-manager staticRegistry is specified, you must provide the path for the registry file with --registry.") : i.registryType === "json" && !i.registry ? Ve(i, 'When --registryType json is specified, you must provide the path for the registry file with --registry. Run "ncu --help registryType" for details.') : c !== "json" && i.registry && !ok(i.registry) && Ve(i, `--registry must be a valid URL. Invalid value: "${i.registry}"`);
  const d = await ua(i);
  if (i.cooldown != null) {
    if (typeof i.cooldown == "string") {
      const b = Dn(i.cooldown);
      b === null ? Ve(i, `Invalid cooldown value: "${i.cooldown}". Use a number (days) or a string like "7d", "12h", or "30m".`) : i.cooldown = b;
    }
    const y = typeof i.cooldown == "number" && !isNaN(i.cooldown) && i.cooldown >= 0, E = typeof i.cooldown == "function";
    !y && !E && Ve(i, 'Cooldown must be a non-negative number (days), a string like "7d", "12h", or "30m", or a predicate function.');
  } else {
    const y = Ct.findNpmConfig()?.minReleaseAge;
    if (y != null) {
      const E = typeof y == "string" ? Dn(y) ?? parseInt(y, 10) : typeof y == "number" ? y : null;
      E != null && !isNaN(E) && (i.cooldown = E, Fe(i, `Using min-release-age from .npmrc: ${E} day${E !== 1 ? "s" : ""}`));
    } else if (d === "pnpm") {
      const E = await qd.getPnpmWorkspaceMinimumReleaseAge();
      if (E != null) {
        const { minimumReleaseAge: b, minimumReleaseAgeExclude: w } = E, _ = b / 1440;
        if (w.length > 0) {
          const S = w.map((T) => (0, Mn.default)(T));
          i.cooldown = (T) => S.some((D) => D(T)) ? null : _, Fe(i, `Using minimumReleaseAge from pnpm-workspace.yaml: ${_} day${_ !== 1 ? "s" : ""} (${w.length} excluded pattern${w.length !== 1 ? "s" : ""})`);
        } else
          i.cooldown = _, Fe(i, `Using minimumReleaseAge from pnpm-workspace.yaml: ${_} day${_ !== 1 ? "s" : ""}`);
      }
    } else if (d === "yarn") {
      const E = await Np.getYarnMinimalAgeGate(i);
      if (E != null) {
        const { npmMinimalAgeGate: b, npmPreapprovedPackages: w } = E, _ = b / (1440 * 60);
        if (w.length > 0) {
          const S = w.map((T) => (0, Mn.default)(T));
          i.cooldown = (T) => S.some((D) => D(T)) ? null : _, Fe(i, `Using npmMinimalAgeGate from .yarnrc.yml: ${_} day${_ !== 1 ? "s" : ""} (${w.length} pre-approved package${w.length !== 1 ? "s" : ""})`);
        } else
          i.cooldown = _, Fe(i, `Using npmMinimalAgeGate from .yarnrc.yml: ${_} day${_ !== 1 ? "s" : ""}`);
      }
    }
  }
  const p = i.target || "latest", m = p === "newest" || p === "greatest", g = {
    ...i,
    ...i.deep ? { packageFile: "**/package.json" } : null,
    ...d === "deno" ? { dep: ["imports"] } : null,
    ...i.format && i.format.length > 0 ? { format: i.format } : null,
    filter: n || u,
    filterVersion: l,
    json: h,
    loglevel: s,
    minimal: i.minimal === void 0 ? !1 : i.minimal,
    ...i.pre != null || m ? { pre: i.pre != null ? !!i.pre : m } : null,
    reject: f,
    rejectVersion: a,
    target: p,
    ...i.interactive && i.upgrade === void 0 ? { upgrade: !h } : null,
    packageManager: d,
    ...i.prefix ? { prefix: await (_r[d || ""]?.defaultPrefix || _r.npm.defaultPrefix)(i) } : null,
    registryType: c
  };
  g.cacher = await yb(g);
  const v = rt(g, (y, E) => E !== void 0 ? { [y]: E } : null);
  return !i.packageManager && d !== "npm" && Fe(v, `Using ${d}`), v;
}
function ck(e, t) {
  return Array.from(/* @__PURE__ */ new Set([...e || [], ...t || []]));
}
function uk(e, t) {
  const r = e || {}, i = t || {}, s = {
    ...r,
    ...i
  };
  return Object.keys(s).forEach((h) => {
    Array.isArray(r[h]) && Array.isArray(i[h]) && (s[h] = ck(r[h], i[h]));
  }), s;
}
var hk = /* @__PURE__ */ P(((e, t) => {
  var r = (h) => typeof h == "function" ? h : () => h, i = (...h) => (...o) => h.length === 0 || !!r(h[0])(...o) && i(...h.slice(1))(...o), s = (...h) => (...o) => h.length > 0 && (!!r(h[0])(...o) || s(...h.slice(1))(...o));
  t.exports = {
    and: i,
    or: s
  };
})), _n = hk();
function Ti(e) {
  let t;
  if (!e) t = jo;
  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 = (o) => (0, Mn.default)(o)(i), h = (o) => !o.includes("/") && i.includes("/") && (0, Mn.default)(o)(i.replace(/\//g, "_"));
      return r.some((0, _n.or)(s, h));
    };
  }
  else if (Array.isArray(e)) t = (r, i) => e.some((s) => Ti(s)(r, i));
  else if (e instanceof RegExp) t = (r) => e.test(r);
  else if (typeof e == "function") t = (r, i) => e(r, (0, Et.parseRange)(i ?? r));
  else throw new TypeError("Invalid filter. Must be a RegExp, array, or comma-or-space-delimited list.");
  return t;
}
function Mg(e, t, r, i) {
  return (0, _n.and)((s, h) => (0, _n.and)(e ? Ti(e) : !0, t ? (...o) => !Ti(t)(...o) : !0)(s, h), (s, h) => (0, _n.and)(r ? Ti(r) : !0, i ? (...o) => !Ti(i)(...o) : !0)(h));
}
function on(e, t) {
  return !t || t === "deno" ? _r.npm : e.registryType === "json" ? _r.staticRegistry : (_r[t] || Ve(e, `Invalid package manager: ${t}`), _r[t]);
}
async function fk(e = {}) {
  const t = await on(e, e.packageManager).list?.({
    cwd: e.cwd,
    prefix: e.prefix,
    global: e.global
  });
  t || Ve(e, "Unable to retrieve package list");
  const r = Mg(e.filter, e.reject, e.filterVersion, e.rejectVersion);
  let i = {};
  try {
    i = br(t, (s, h) => !!h && !Bh(h) && r(s, h));
  } catch (s) {
    Ve(e, "Invalid filter: " + s.message || s);
  }
  return i;
}
var dk = /* @__PURE__ */ P(((e, t) => {
  e = t.exports = r;
  function r(i, s) {
    if (this.stream = s.stream || process.stderr, typeof s == "number") {
      var h = s;
      s = {}, s.total = h;
    } 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 h = Date.now(), o = h - this.lastRender;
      if (!(!s && o < this.renderThrottle)) {
        this.lastRender = h;
        var n = this.curr / this.total;
        n = Math.min(Math.max(n, 0), 1);
        var u = Math.floor(n * 100), l, f, a, c = /* @__PURE__ */ new Date() - this.start, d = u == 100 ? 0 : c * (this.total / this.curr - 1), p = this.curr / (c / 1e3), m = this.fmt.replace(":current", this.curr).replace(":total", this.total).replace(":elapsed", isNaN(c) ? "0.0" : (c / 1e3).toFixed(1)).replace(":eta", isNaN(d) || !isFinite(d) ? "0.0" : (d / 1e3).toFixed(1)).replace(":percent", u.toFixed(0) + "%").replace(":rate", Math.round(p)), g = Math.max(0, this.stream.columns - m.replace(":bar", "").length);
        g && process.platform === "win32" && (g = g - 1);
        var v = Math.min(this.width, g);
        if (a = Math.round(v * n), f = Array(Math.max(0, a + 1)).join(this.chars.complete), l = Array(Math.max(0, v - a + 1)).join(this.chars.incomplete), a > 0 && (f = f.slice(0, -1) + this.chars.head), m = m.replace(":bar", f + l), this.tokens) for (var y in this.tokens) m = m.replace(":" + y, this.tokens[y]);
        this.lastDraw !== m && (this.stream.cursorTo(0), this.stream.write(m), this.stream.clearLine(1), this.lastDraw = m);
      }
    }
  }, r.prototype.update = function(i, s) {
    var h = Math.floor(i * this.total) - this.curr;
    this.tick(h, 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(`
`);
  };
})), pk = /* @__PURE__ */ P(((e, t) => {
  t.exports = dk();
}));
rh();
var lc = /* @__PURE__ */ Nt(pk(), 1);
function gk(e, t) {
  let r = [[t]];
  for (; r.length > 0; ) {
    const i = [];
    for (const s of r) {
      const h = Object.keys(e[s[0]] ?? {});
      for (const o of h) {
        if (o === s.at(-1)) return {
          isCircular: !0,
          offendingPackage: s[0]
        };
        i.push([o, ...s]);
      }
    }
    r = i;
  }
  return { isCircular: !1 };
}
async function cc(e, t) {
  const r = on(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 lc.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render());
  const h = Object.entries(e), n = await th(h, async ([l, f]) => {
    let a;
    const c = t.cacher?.getPeers(l, f);
    return c ? a = c : (a = await r.getPeerDependencies(l, f, { cwd: t.cwd }), t.cacher?.setPeers(l, f, a)), s && s.tick(), {
      pkg: l,
      dependencies: a
    };
  }, { concurrency: t.concurrency }), u = {};
  for (const { pkg: l, dependencies: f } of n) {
    u[l] = f;
    const a = gk(u, l);
    a.isCircular && delete u[l][a.offendingPackage];
  }
  return await t.cacher?.save(), t.cacher?.log(!0), u;
}
function mk(e, t) {
  const r = {};
  for (const i of t) r[i] = e[i];
  return r;
}
function ni(e, t) {
  const r = {};
  for (const [i, s] of Object.entries(e ?? {})) {
    const h = i;
    t(s, h) && (r[h] = s);
  }
  return r;
}
var vk = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
];
rh();
async function yk(e, t = {}) {
  const r = Un(t.color), i = Object.keys(e), s = on(t, t.packageManager);
  let h;
  !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i.length > 0 && (h = new lc.default("[:bar] :current/:total :percent", {
    total: i.length,
    width: 20
  }), h.render());
  async function o(u) {
    const l = $i(e[u]), [f, a] = l || [u, e[u]], c = t.target || "latest", d = typeof c == "string" ? c : c(f, (0, Et.parseRange)(a)), [p, m] = d.startsWith("@") ? ["distTag", d.slice(1)] : [d, "latest"], g = t.cacher?.get(f, p);
    if (g)
      return h?.tick(), { version: g };
    let v;
    const y = Ri(e[u]), E = y ? _r.gitTags : s, b = y ? "github urls" : t.packageManager || "npm", w = E[p];
    if (!w) {
      const _ = vk.filter((S) => S in E);
      Ve(t, r.red(`
Unsupported target "${p}" using ${b}`) + `
Supported version targets are: ` + _.join(", ") + (y ? "" : ", and tags (e.g. @next)"), { color: !1 });
    }
    try {
      v = await w(f, a, {
        ...t,
        distTag: m,
        pre: t.pre != null ? t.pre : d.startsWith("@") || Wi(a),
        retry: t.retry ?? 2
      }).catch((_) => ({ error: _?.body?.error || _.toString() })), v.version = !y && l && v?.version ? Hh(f, v.version) : v?.version ?? null;
    } catch (_) {
      const S = _ ? (_.message || _).toString() : "";
      if (S.match(/E504|Gateway Timeout/i)) return { error: `${S}. All ${t.retry} retry attempts failed.` };
      if (S.match(/E400|E404|ENOTFOUND|404 Not Found|400 Bad Request/i)) return { error: `${S.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 (_.code === "ERR_INVALID_URL") return { error: S || "Invalid URL" };
      throw !process.env.NCU_TESTS && /(Response|network) timeout/i.test(S) && 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.") + `
`), _;
    }
    return h?.tick(), v.version && t.cacher?.set(f, p, v.version), v;
  }
  const n = await th(i, o, { concurrency: t.concurrency });
  return await t.cacher?.save(), t.cacher?.log(), rt(n, (u, l) => u.version || u.error || u.cooldown ? { [i[l]]: u } : null);
}
function _k(e) {
  if (Object.keys(e).length === 0) return null;
  const t = Object.values(e).reduce((i, s) => {
    const h = xh.find((o) => s && s.includes(o));
    return h !== void 0 && (i[h] ||= [], i[h].push(s)), i;
  }, {}), r = Xn(Object.entries(t).map(([i, s]) => ({
    wildcard: i,
    instances: s
  })), (i) => -i.instances.length);
  return r.length > 0 ? r[0].wildcard : null;
}
function bk(e, t, { downgrade: r } = {}) {
  if (!We.validRange(e) || rl(e)) return !1;
  const [i] = Et.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 = al(t), h = ti(i), o = !!We.validRange(h), n = !!We.valid(s);
  return o && n && (!ib(s, h) || !We.satisfies(s, i.operator === "<" ? e : h) && (r || !We.ltr(s, h)));
}
function wk(e, t, r = {}) {
  const i = r.target || "latest";
  e = br(e, (o, n) => !!n);
  const s = _k(e) || "^", h = (o, n) => qh(o, n, {
    wildcard: s,
    removeRange: r.removeRange
  });
  return E_([
    (o) => ni(o, (n, u) => u in t),
    (o) => Object.entries(o).reduce((n, [u, l]) => {
      const f = t[u];
      let a = null, c = null;
      if (yn(l) && (a = $i(l)[1]), yn(f) && (c = $i(f)[1]), Ri(l)) {
        const [d] = (0, Et.parseRange)(oa(l));
        a = ti(d);
      }
      if (Ri(f)) {
        const [d] = (0, Et.parseRange)(oa(f));
        c = ti(d);
      }
      return n[u] = {
        current: l,
        currentParsed: a,
        latest: f,
        latestParsed: c
      }, n;
    }, {}),
    (o) => ni(o, ({ current: n, currentParsed: u, latest: l, latestParsed: f }, a) => {
      const c = Wi(n) && (typeof i == "string" ? i : i(a, (0, Et.parseRange)(n))).startsWith("@");
      return bk(u || n, f || l, { downgrade: c });
    }),
    (o) => Object.entries(o).reduce((n, [u, { current: l, currentParsed: f, latest: a, latestParsed: c }]) => {
      const d = h(f || l, c || a);
      return n[u] = yn(l) ? ob(l, d) : Ri(l) ? Qn(l, d) : d, n;
    }, {})
  ])(e);
}
var Wu = (e, t, r) => {
  const i = {
    ...e,
    ...t
  }, s = ni(t, (n, u) => {
    const l = r[u];
    return l ? Object.entries(l).every(([f, a]) => i[f] === void 0 || !(0, We.validRange)(a) || !(0, We.validRange)(i[f]) || (0, We.intersects)(i[f], a)) : !0;
  }), h = Object.keys(t).length > Object.keys(s).length;
  let o = r;
  return h && (o = ni(r, (n, u) => s[u] || !t[u])), {
    violated: h,
    filteredUpgradedDependencies: s,
    upgradedPeerDependencies: o
  };
};
async function ln(e, t) {
  const r = await yk(e, t), i = rt(r, (n, u) => u?.version && (!t.filterResults || t.filterResults(n, {
    currentVersion: e[n],
    currentVersionSemver: (0, Et.parseRange)(e[n]),
    upgradedVersion: u.version,
    upgradedVersionSemver: (0, Et.parse)(u.version)
  })) ? { [n]: u.version } : null), s = ni(wk(e, i, t), (n, u) => !t.jsonUpgraded || !t.minimal || !(0, We.satisfies)(i[u], e[u])), h = ni(i, (n, u) => s[u]);
  let o = [
    s,
    r,
    t.peerDependencies
  ];
  if (!t.peer || Object.keys(h).length === 0) return o;
  if (t.peer && Object.keys(h).length > 0) {
    const n = await cc(h, t);
    let u;
    if (Ar(t.peerDependencies, {
      ...t.peerDependencies,
      ...n
    })) {
      if (u = Wu(e, s, t.peerDependencies), !u.violated) return o;
    } else u = {
      violated: !1,
      filteredUpgradedDependencies: s,
      upgradedPeerDependencies: n
    };
    let l = 0;
    do {
      if (l++ > 6) throw new Error("Stuck in a while loop. Please report an issue");
      const f = {
        ...t.peerDependencies,
        ...u.upgradedPeerDependencies
      };
      if (Ar(t.peerDependencies, f)) return [
        {},
        r,
        t.peerDependencies
      ];
      const [a, c, d] = await ln({
        ...e,
        ...u.filteredUpgradedDependencies
      }, {
        ...t,
        peerDependencies: f,
        loglevel: "silent"
      });
      o = [
        {
          ...u.filteredUpgradedDependencies,
          ...a
        },
        {
          ...r,
          ...c
        },
        d
      ], u = Wu(e, o[0], o[2]);
    } while (u.violated);
  }
  return o;
}
async function Ek(e) {
  Fe(e, `
Options:`, "verbose"), sr(e, e, "verbose"), Fe(e, `
Getting installed packages`, "verbose");
  let t = {};
  try {
    const { cli: u, cwd: l, filter: f, filterVersion: a, global: c, packageManager: d, prefix: p, reject: m, rejectVersion: g } = e;
    t = await fk({
      cli: u,
      cwd: l,
      filter: f,
      filterVersion: a,
      global: c,
      packageManager: d,
      prefix: p,
      reject: m,
      rejectVersion: g
    });
  } catch (u) {
    Ve(e, u.message);
  }
  Fe(e, "globalPackages:", "verbose"), Fe(e, t, "verbose"), Fe(e, "", "verbose"), Fe(e, `Fetching ${e.target} versions`, "verbose");
  const [r, i] = await ln(t, e);
  Fe(e, i, "verbose");
  const s = Object.values(i).filter((u) => u.cooldown).length, h = rt(i, (u, l) => l.time ? { [u]: l.time } : null), o = Object.keys(r);
  await cl(e, {
    current: t,
    upgraded: r,
    latest: i,
    numCooldown: s,
    total: o.length,
    time: h
  });
  const n = r ? o.map((u) => u + "@" + r[u]).join(" ") : "[package]";
  if (e.json) ol(e, r);
  else if (n.length) {
    const u = e.packageManager === "yarn" ? "yarn global upgrade" : e.packageManager === "pnpm" ? "pnpm -g add" : e.packageManager === "bun" ? "bun add -g" : "npm -g install";
    Fe(e, `
` + ve.cyan("ncu") + ` itself cannot upgrade global packages. Run the following to upgrade all global packages: 

` + ve.cyan(`${u} ` + n) + `
`);
  }
  return e.cli && e.errorLevel === 2 && o.length > 0 && process.exit(1), r;
}
var Sk = (e, t) => We.validRange(e) && We.validRange(t) && We.gt(We.minVersion(e), We.minVersion(t)), Ak = (e) => {
  if (!e.packageManager) return {};
  const [t, r] = e.packageManager.split("@");
  return { [t]: r };
};
function Tk(e = {}, t = {}) {
  const r = Zl(t.dep).reduce((h, o) => ({
    ...h,
    ...o === "packageManager" ? Ak(e) : br(e[o] || {}, (n, u) => !Sk(u, h[n]))
  }), {}), i = rt(t.workspacePackages || []);
  let s = {};
  try {
    s = br(br(r, (h) => !i[h]), Mg(t.filter || null, t.reject || null, t.filterVersion || null, t.rejectVersion || null));
  } catch (h) {
    Ve(t, "Invalid filter: " + h.message || h);
  }
  return s;
}
async function Dk(e, t) {
  const r = on(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 lc.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render()), Object.entries(e).reduce(async (h, [o, n]) => {
    const u = (await r.getEngines(o, n, t)).node;
    return s && s.tick(), {
      ...await h,
      [o]: u
    };
  }, Promise.resolve({}));
}
var Rk = (e, t) => !e || (0, We.satisfies)(t, e);
async function Ok(e, t, r = {}) {
  if (!r.nodeEngineVersion) return {};
  const i = (0, We.minVersion)(r.nodeEngineVersion)?.version;
  if (!i) return {};
  const [s, h] = await ln(e, {
    ...r,
    enginesNode: !1,
    nodeEngineVersion: void 0,
    loglevel: "silent"
  }), o = await Dk(rt(h, (n, u) => s[n] && u?.version ? { [n]: u.version } : null), r);
  return Object.entries(s).filter(([n, u]) => t[n] !== u && !Rk(o[n], i)).reduce((n, [u, l]) => ({
    ...n,
    [u]: {
      from: e[u],
      to: l,
      enginesNode: o[u]
    }
  }), {});
}
async function Ck(e, t, r, i = {}) {
  const s = {
    ...e,
    ...t
  }, [h, o] = await ln(e, {
    ...i,
    peer: !1,
    peerDependencies: void 0,
    loglevel: "silent"
  }), n = await cc(Object.fromEntries(Object.entries(h).map(([u, l]) => [u, (0, We.validRange)(l) ? (0, We.minVersion)(l)?.version ?? l : l])), i);
  return Object.entries(h).filter(([u, l]) => t[u] !== l).reduce((u, [l, f]) => {
    let a = Object.entries(r).filter(([, c]) => c[l] !== void 0 && o[l]?.version && !(0, We.satisfies)(o[l].version, c[l])).reduce((c, [d, p]) => ({
      ...c,
      [d]: (0, We.validRange)(p[l]) ? p[l] : `a range that semver does not understand: ${p[l]}. 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 ${d}, or it relies on a new syntax that is not compatible with the semver package.`
    }), {});
    if (Object.keys(a).length === 0) {
      const c = n?.[l] || {};
      a = Object.entries(c).filter(([d, p]) => s[d] && !!(0, We.validRange)(s[d]) && !(!(0, We.validRange)(p) || (0, We.intersects)(s[d], p))).reduce((d, [p, m]) => ({
        ...d,
        [l]: `${p} ${m}`
      }), {});
    }
    return {
      ...u,
      [l]: {
        from: e[l],
        to: f,
        reason: a
      }
    };
  }, {});
}
function jg(e, t = !1) {
  const r = e.length;
  let i = 0, s = "", h = 0, o = 16, n = 0, u = 0, l = 0, f = 0, a = 0;
  function c(E, b) {
    let w = 0, _ = 0;
    for (; w < E || !b; ) {
      let S = e.charCodeAt(i);
      if (S >= 48 && S <= 57) _ = _ * 16 + S - 48;
      else if (S >= 65 && S <= 70) _ = _ * 16 + S - 65 + 10;
      else if (S >= 97 && S <= 102) _ = _ * 16 + S - 97 + 10;
      else break;
      i++, w++;
    }
    return w < E && (_ = -1), _;
  }
  function d(E) {
    i = E, s = "", h = 0, o = 16, a = 0;
  }
  function p() {
    let E = i;
    if (e.charCodeAt(i) === 48) i++;
    else
      for (i++; i < e.length && Br(e.charCodeAt(i)); ) i++;
    if (i < e.length && e.charCodeAt(i) === 46)
      if (i++, i < e.length && Br(e.charCodeAt(i)))
        for (i++; i < e.length && Br(e.charCodeAt(i)); ) i++;
      else
        return a = 3, e.substring(E, i);
    let b = 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 && Br(e.charCodeAt(i))) {
        for (i++; i < e.length && Br(e.charCodeAt(i)); ) i++;
        b = i;
      } else a = 3;
    return e.substring(E, b);
  }
  function m() {
    let E = "", b = i;
    for (; ; ) {
      if (i >= r) {
        E += e.substring(b, i), a = 2;
        break;
      }
      const w = e.charCodeAt(i);
      if (w === 34) {
        E += e.substring(b, i), i++;
        break;
      }
      if (w === 92) {
        if (E += e.substring(b, 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 _ = c(4, !0);
            _ >= 0 ? E += String.fromCharCode(_) : a = 4;
            break;
          default:
            a = 5;
        }
        b = i;
        continue;
      }
      if (w >= 0 && w <= 31) if (bi(w)) {
        E += e.substring(b, i), a = 2;
        break;
      } else a = 6;
      i++;
    }
    return E;
  }
  function g() {
    if (s = "", a = 0, h = i, u = n, f = l, i >= r)
      return h = r, o = 17;
    let E = e.charCodeAt(i);
    if (Js(E)) {
      do
        i++, s += String.fromCharCode(E), E = e.charCodeAt(i);
      while (Js(E));
      return o = 15;
    }
    if (bi(E))
      return i++, s += String.fromCharCode(E), E === 13 && e.charCodeAt(i) === 10 && (i++, s += `
`), n++, l = i, o = 14;
    switch (E) {
      case 123:
        return i++, o = 1;
      case 125:
        return i++, o = 2;
      case 91:
        return i++, o = 3;
      case 93:
        return i++, o = 4;
      case 58:
        return i++, o = 6;
      case 44:
        return i++, o = 5;
      case 34:
        return i++, s = m(), o = 10;
      case 47:
        const b = i - 1;
        if (e.charCodeAt(i + 1) === 47) {
          for (i += 2; i < r && !bi(e.charCodeAt(i)); )
            i++;
          return s = e.substring(b, i), o = 12;
        }
        if (e.charCodeAt(i + 1) === 42) {
          i += 2;
          const w = r - 1;
          let _ = !1;
          for (; i < w; ) {
            const S = e.charCodeAt(i);
            if (S === 42 && e.charCodeAt(i + 1) === 47) {
              i += 2, _ = !0;
              break;
            }
            i++, bi(S) && (S === 13 && e.charCodeAt(i) === 10 && i++, n++, l = i);
          }
          return _ || (i++, a = 1), s = e.substring(b, i), o = 13;
        }
        return s += String.fromCharCode(E), i++, o = 16;
      case 45:
        if (s += String.fromCharCode(E), i++, i === r || !Br(e.charCodeAt(i))) return o = 16;
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
        return s += p(), o = 11;
      default:
        for (; i < r && v(E); )
          i++, E = e.charCodeAt(i);
        if (h !== i) {
          switch (s = e.substring(h, i), s) {
            case "true":
              return o = 8;
            case "false":
              return o = 9;
            case "null":
              return o = 7;
          }
          return o = 16;
        }
        return s += String.fromCharCode(E), i++, o = 16;
    }
  }
  function v(E) {
    if (Js(E) || bi(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 y() {
    let E;
    do
      E = g();
    while (E >= 12 && E <= 15);
    return E;
  }
  return {
    setPosition: d,
    getPosition: () => i,
    scan: t ? y : g,
    getToken: () => o,
    getTokenValue: () => s,
    getTokenOffset: () => h,
    getTokenLength: () => i - h,
    getTokenStartLine: () => u,
    getTokenStartCharacter: () => h - f,
    getTokenError: () => a
  };
}
function Js(e) {
  return e === 32 || e === 9;
}
function bi(e) {
  return e === 10 || e === 13;
}
function Br(e) {
  return e >= 48 && e <= 57;
}
var Vu;
(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";
})(Vu || (Vu = {}));
var bL = new Array(20).fill(0).map((e, t) => " ".repeat(t)), Fr = 200, wL = {
  " ": {
    "\n": new Array(Fr).fill(0).map((e, t) => `
` + " ".repeat(t)),
    "\r": new Array(Fr).fill(0).map((e, t) => "\r" + " ".repeat(t)),
    "\r\n": new Array(Fr).fill(0).map((e, t) => `\r
` + " ".repeat(t))
  },
  "	": {
    "\n": new Array(Fr).fill(0).map((e, t) => `
` + "	".repeat(t)),
    "\r": new Array(Fr).fill(0).map((e, t) => "\r" + "	".repeat(t)),
    "\r\n": new Array(Fr).fill(0).map((e, t) => `\r
` + "	".repeat(t))
  }
}, jn;
(function(e) {
  e.DEFAULT = { allowTrailingComma: !1 };
})(jn || (jn = {}));
function Ik(e, t = [], r = jn.DEFAULT) {
  let i = null, s = [];
  const h = [];
  function o(n) {
    Array.isArray(s) ? s.push(n) : i !== null && (s[i] = n);
  }
  return kk(e, {
    onObjectBegin: () => {
      const n = {};
      o(n), h.push(s), s = n, i = null;
    },
    onObjectProperty: (n) => {
      i = n;
    },
    onObjectEnd: () => {
      s = h.pop();
    },
    onArrayBegin: () => {
      const n = [];
      o(n), h.push(s), s = n, i = null;
    },
    onArrayEnd: () => {
      s = h.pop();
    },
    onLiteralValue: o,
    onError: (n, u, l) => {
      t.push({
        error: n,
        offset: u,
        length: l
      });
    }
  }, r), s[0];
}
function kk(e, t, r = jn.DEFAULT) {
  const i = jg(e, !1), s = [];
  let h = 0;
  function o(Y) {
    return Y ? () => h === 0 && Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function n(Y) {
    return Y ? (H) => h === 0 && Y(H, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function u(Y) {
    return Y ? (H) => h === 0 && Y(H, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) : () => !0;
  }
  function l(Y) {
    return Y ? () => {
      h > 0 ? h++ : Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) === !1 && (h = 1);
    } : () => !0;
  }
  function f(Y) {
    return Y ? () => {
      h > 0 && h--, h === 0 && Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter());
    } : () => !0;
  }
  const a = l(t.onObjectBegin), c = u(t.onObjectProperty), d = f(t.onObjectEnd), p = l(t.onArrayBegin), m = f(t.onArrayEnd), g = u(t.onLiteralValue), v = n(t.onSeparator), y = o(t.onComment), E = n(t.onError), b = r && r.disallowComments, w = r && r.allowTrailingComma;
  function _() {
    for (; ; ) {
      const Y = i.scan();
      switch (i.getTokenError()) {
        case 4:
          S(14);
          break;
        case 5:
          S(15);
          break;
        case 3:
          S(13);
          break;
        case 1:
          b || S(11);
          break;
        case 2:
          S(12);
          break;
        case 6:
          S(16);
          break;
      }
      switch (Y) {
        case 12:
        case 13:
          b ? S(10) : y();
          break;
        case 16:
          S(1);
          break;
        case 15:
        case 14:
          break;
        default:
          return Y;
      }
    }
  }
  function S(Y, H = [], I = []) {
    if (E(Y), H.length + I.length > 0) {
      let $ = i.getToken();
      for (; $ !== 17; ) {
        if (H.indexOf($) !== -1) {
          _();
          break;
        } else if (I.indexOf($) !== -1) break;
        $ = _();
      }
    }
  }
  function T(Y) {
    const H = i.getTokenValue();
    return Y ? g(H) : (c(H), s.push(H)), _(), !0;
  }
  function D() {
    switch (i.getToken()) {
      case 11:
        const Y = i.getTokenValue();
        let H = Number(Y);
        isNaN(H) && (S(2), H = 0), g(H);
        break;
      case 7:
        g(null);
        break;
      case 8:
        g(!0);
        break;
      case 9:
        g(!1);
        break;
      default:
        return !1;
    }
    return _(), !0;
  }
  function R() {
    return i.getToken() !== 10 ? (S(3, [], [2, 5]), !1) : (T(!1), i.getToken() === 6 ? (v(":"), _(), G() || S(4, [], [2, 5])) : S(5, [], [2, 5]), s.pop(), !0);
  }
  function j() {
    a(), _();
    let Y = !1;
    for (; i.getToken() !== 2 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (Y || S(4, [], []), v(","), _(), i.getToken() === 2 && w) break;
      } else Y && S(6, [], []);
      R() || S(4, [], [2, 5]), Y = !0;
    }
    return d(), i.getToken() !== 2 ? S(7, [2], []) : _(), !0;
  }
  function M() {
    p(), _();
    let Y = !0, H = !1;
    for (; i.getToken() !== 4 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (H || S(4, [], []), v(","), _(), i.getToken() === 4 && w) break;
      } else H && S(6, [], []);
      Y ? (s.push(0), Y = !1) : s[s.length - 1]++, G() || S(4, [], [4, 5]), H = !0;
    }
    return m(), Y || s.pop(), i.getToken() !== 4 ? S(8, [4], []) : _(), !0;
  }
  function G() {
    switch (i.getToken()) {
      case 3:
        return M();
      case 1:
        return j();
      case 10:
        return T(!0);
      default:
        return D();
    }
  }
  return _(), i.getToken() === 17 ? r.allowEmptyContent ? !0 : (S(4, [], []), !1) : G() ? (i.getToken() !== 17 && S(9, [], []), !0) : (S(4, [], []), !1);
}
function Lk(e, t) {
  let r = jg(e), i = [], s, h = 0, o;
  do
    switch (o = r.getPosition(), s = r.scan(), s) {
      case 12:
      case 13:
      case 17:
        h !== o && i.push(e.substring(h, o)), t !== void 0 && i.push(r.getTokenValue().replace(/[^\r\n]/g, t)), h = r.getPosition();
        break;
    }
  while (s !== 17);
  return i.join("");
}
var Yu;
(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";
})(Yu || (Yu = {}));
var Ku;
(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";
})(Ku || (Ku = {}));
var $k = Ik, Nk = Lk, Lo;
(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";
})(Lo || (Lo = {}));
var Ug = process.stdout.columns || 80;
function Zu(e) {
  return `${e.length ? e.slice(0, Math.min(e.length, Ug)) : "<empty>"}
`;
}
function Ju(e) {
  return e > Ug ? "" : `${" ".repeat(e - 1)}^
`;
}
function xk(e, t, r) {
  const i = e.length;
  if (i === 0) return "<empty>";
  if (i === 1) return `${Zu(e[0])}${Ju(r)}`;
  const s = Math.min(t + 2, i);
  let h = "";
  for (let o = Math.max(t - 2, 1); o <= s; o++)
    h += Zu(e[o - 1]), o === t && (h += Ju(r));
  return `${h}
`;
}
function Xs(e) {
  e = Nk(e);
  try {
    return JSON.parse(e);
  } catch {
    const t = [], r = $k(e, t);
    if (t.length === 0) return r;
    let i = "";
    const s = e.split(`
`);
    for (const h of t) {
      const o = h.offset;
      let n = 1, u = 1, l = 0;
      for (const f of s) {
        if (l + f.length >= o) {
          u = o - l + 1;
          break;
        }
        l += f.length + 1, n++;
      }
      i += `Error at line ${n}, column ${u}: ${Lo[h.error]}
${xk(s, n, u)}
`;
    }
    throw new SyntaxError(i);
  }
}
var $o = `
  ↑/↓: Select a package
  Space: Toggle selection
  a: Toggle all
  Enter: Upgrade`;
function Xu(e, t) {
  const r = e ? $o.split(`
`).length : 0;
  return process.stdout.rows ? Math.max(3, process.stdout.rows - r - 1 - (t?.length ?? 0) * 2) : 50;
}
async function Pk(e, t, r) {
  const i = on(r, r.packageManager);
  return await Object.keys(t).reduce(async (s, h) => {
    const o = e[h] || null, n = t[h] || null, u = await i.packageAuthorChanged(h, o, n, r);
    return {
      ...await s,
      [h]: u
    };
  }, {});
}
var Bk = async (e, t, r, i) => {
  let s = [];
  const h = process.stdout.rows > 18, o = rt((await la({
    from: e,
    to: t,
    format: i.format,
    pkgFile: r || void 0
  })).toString().split(`
`), (n) => ({ [n.trim().split(" ")[0]]: n.trim() }));
  if (Object.keys(t).length > 0)
    if (Fe(i, ""), i.format?.includes("group")) {
      const n = Fh(t, e, i);
      s = (await (0, bn.default)({
        choices: [...n.flatMap(({ heading: u, groupName: l, packages: f }) => [{
          title: `
` + u,
          heading: !0
        }, ...Object.keys(f).sort().map((a) => ({
          title: o[a],
          value: a,
          selected: ["patch", "minor"].includes(l)
        }))]), {
          title: " ",
          heading: !0
        }],
        hint: h && $o,
        instructions: !1,
        message: "Choose which packages to update",
        name: "value",
        optionsPerPage: Xu(h, n),
        type: "multiselect",
        onState: (u) => {
          u.aborted && process.nextTick(() => process.exit(1));
        }
      })).value;
    } else s = (await (0, bn.default)({
      choices: [...Object.keys(t).sort().map((n) => ({
        title: o[n],
        value: n,
        selected: !0
      })), {
        title: " ",
        heading: !0
      }],
      hint: h && $o + `
`,
      instructions: !1,
      message: "Choose which packages to update",
      name: "value",
      optionsPerPage: Xu(h),
      type: "multiselect",
      onState: (n) => {
        n.aborted && process.nextTick(() => process.exit(1));
      }
    })).value;
  return rt(s, (n) => ({ [n]: t[n] }));
};
async function Qu(e, t, r) {
  Fe(e, `
Options:`, "verbose"), sr(e, e, "verbose");
  let i;
  try {
    t ? i = Xs(t) : Ve(e, "Missing package data");
  } catch (y) {
    Ve(e, `Invalid package file${r ? `: ${r}` : " from stdin"}. Error details:
${y.message}`);
  }
  const s = Tk(i, e);
  Fe(e, `
Current versions:`, "verbose"), Fe(e, s, "verbose"), e.enginesNode && (e.nodeEngineVersion = i?.engines?.node), e.peer && (e.peerDependencies = await cc(Object.fromEntries(Object.entries(s).map(([y, E]) => [y, We.default.validRange(E) ? We.default.minVersion(E)?.version ?? E : E])), e));
  const [h, o, n] = await ln(s, e), u = rt(o, (y, E) => E.version ? { [y]: E.version } : null), l = rt(o, (y, E) => E.error ? { [y]: E.error } : null), f = rt(o, (y, E) => E.time ? { [y]: E.time } : null), a = Object.values(o).filter((y) => y.cooldown).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, h, "verbose");
  const c = e.minimal ? rt(h, (y, E) => We.default.satisfies(u[y], s[y]) ? null : { [y]: E }) : h, d = (e.format || []).includes("ownerChanged") ? await Pk(s, c, e) : void 0, p = e.interactive ? await Bk(s, c, r, e) : c;
  if (!e.json || e.deep) {
    if (await cl(e.interactive ? {
      ...e,
      format: (e.format || []).filter((y) => y !== "group")
    } : e, {
      current: s,
      upgraded: p,
      total: Object.keys(h).length,
      latest: o,
      numCooldown: a,
      ownersChangedDeps: d,
      pkgFile: r || void 0,
      errors: l,
      time: f
    }), e.peer) {
      const y = await Ck(s, h, n, e);
      Object.keys(y).length > 0 && db(e, y);
    }
    if (e.enginesNode) {
      const y = await Ok(s, h, e);
      Object.keys(y).length > 0 && pb(e, y);
    }
  }
  const m = await lg(t, s, p, e, r || void 0), g = e.jsonAll ? r?.endsWith(".yaml") || r?.endsWith(".yml") ? (0, Ut.parseDocument)(m).toJSON() : Xs(m) : e.jsonDeps && r?.endsWith(".json") ? mk(Xs(m), Zl(e.dep)) : p;
  let v;
  if (e.json && !e.deep && ol(e, g), Object.keys(c).length > 0 && r)
    if (e.upgrade) v = Qe.writeFile(r.replace("#catalog", ""), m);
    else {
      const y = process.env.npm_lifecycle_event === "npx" ? "npx npm-check-updates" : "ncu", E = process.argv.slice(2).map((w) => w.includes(" ") ? `"${w}"` : w).join(" "), b = E && " " + E;
      Fe(e, `
Run ${ve.cyan(`${y}${b} -u`)} to upgrade ${e.packageFile || "package.json"}`);
    }
  return await v, g;
}
function EL(e) {
  return e;
}
process.env.INJECT_PROMPTS && bn.default.inject(JSON.parse(process.env.INJECT_PROMPTS));
var Hg = !1;
process.on("unhandledRejection", (e) => {
  console.error(e), Hg = !0;
});
var Fk = (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));
}, eh = async (e, t) => {
  const r = {
    ...e,
    cwd: e.cwd || ze.resolve(t, ".."),
    packageFile: t
  };
  return e.packageManager === "staticRegistry" ? await ua({
    ...r,
    packageManager: void 0
  }) : e.packageManager && e.packageManager !== "npm" ? e.packageManager : await ua(r);
}, qg = (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);
}, Mk = async (e, t, r) => {
  if (r.install === "never") {
    Fe(r, "");
    return;
  }
  if (!qg(e, t, r)) return;
  const i = await eh(r, e[0]), s = `Run ${ve.cyan(i + " install")}${e.length > 1 && !r.workspace && !r.workspaces ? " in each project directory" : ""} to install new versions`, h = r.interactive && (process.env.NCU_TESTS || !process.env.NCU_DOCTOR);
  let o;
  if (h && r.install === "prompt" && (Fe(r, ""), o = await (0, bn.default)({
    type: "confirm",
    name: "value",
    message: `${s}?`,
    initial: !0,
    onState: (n) => {
      n.aborted && process.nextTick(() => process.exit(1));
    }
  })), r.install === "always" || h && o.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 l = await eh(r, u), f = r.cwd || ze.resolve(u, "..");
      let a = "";
      try {
        await Xt(l, ["install"], {
          stdout: (c) => {
            a += c;
          },
          stderr: (c) => {
            console.error(ve.red(c.toString()));
          }
        }, {
          cwd: f,
          env: {
            ...process.env,
            ...r.color !== !1 ? { FORCE_COLOR: !0 } : null,
            ...l === "pnpm" ? { npm_config_strict_peer_dependencies: !1 } : null
          }
        }), Fe(r, a), Fe(r, "Done");
      } catch (c) {
        console.error(c?.message || c || a), Ve(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 h || Fe(r, `
${s}.`);
};
async function jk(e, t) {
  const [r, i] = await vI(e), s = r.map((n) => n.filepath), h = e.workspaces || !!e.workspace?.length;
  e.deep = e.deep || h || r.length > 1;
  let o;
  if (e.global) {
    const n = await Ek(e);
    return clearTimeout(t), n;
  } else if (e.deep)
    o = await r.reduce(async (n, u) => {
      const l = await n;
      let f = (await GI({
        packageFile: u.filepath,
        options: e
      })).config;
      e.mergeConfig && Object.keys(f).length && (f = uk(e, f));
      const a = {
        ...e,
        ...f,
        packageFile: u.filepath,
        workspacePackages: i
      };
      let c, d, p;
      if (u.filepath.includes("#") || u.name === "catalogs") {
        c = u.pkgFile, d = u.filepath, p = u.filepath.includes("#catalog") ? u.filepath.replace("#catalog", "") : u.filepath;
        const m = ze.resolve(p);
        Fe(a, `${a.upgrade ? "Upgrading" : "Checking"} ${m} catalog dependencies`);
      } else {
        const m = await Fn(a);
        c = m.pkgData, d = m.pkgFile || u.filepath, p = d;
      }
      return {
        ...l,
        [a.cwd ? ze.relative(ze.resolve(a.cwd), p).replace(/\\/g, "/") : p]: await Qu(a, c, d)
      };
    }, Promise.resolve({})), e.json && ol(e, o);
  else {
    r.length === 1 && r[0].filepath !== (e.packageFile || "package.json") && (e.packageFile = r[0].filepath);
    const { pkgData: n, pkgFile: u } = await Fn(e);
    o = await Qu(e, n, u);
  }
  return clearTimeout(t), e.errorLevel === 2 && qg(s, o, e) && Ve(e, `
Dependencies not up-to-date`), e.upgrade && (e.packageManager === "deno" ? Fe(e, "") : await Mk(s, o, e)), o;
}
async function Uk(e = {}, { cli: t } = {}) {
  const r = await lk(e, { cli: t }), i = ta.bugs.url;
  process.on("exit", () => {
    Hg && Ve(r, `Unhandled Rejection! This is a bug and should be reported: ${i}`);
  }), await ch(r.color), Fk(r), Fe(r, "Initializing", "verbose"), r.cacheClear && await vb(r);
  let s, h = new Promise(() => null);
  if (r.timeout) {
    const o = typeof r.timeout == "string" ? Number.parseInt(r.timeout, 10) : r.timeout;
    h = new Promise((n, u) => {
      s = setTimeout(() => {
        const l = `Exceeded global timeout of ${o}ms`;
        u(l);
        try {
          Ve(r, l);
        } catch {
        }
      }, o);
    });
  }
  if (r.doctor) {
    if (r.upgrade) return Promise.race([h, h2(Uk, r)]);
    Fe(r, `Usage: ncu --doctor

${typeof wr.doctor.help == "function" ? wr.doctor.help({}) : wr.doctor.help}`, "warn");
  } else return Promise.race([h, jk(r, s)]);
}
export {
  el as a,
  ch as c,
  Jm as d,
  Uk as default,
  EL as defineConfig,
  ta as f,
  uL as i,
  Un as l,
  GI as n,
  Kn as o,
  js as r,
  Uk as run,
  O_ as s,
  ni as t,
  Ov as u
};

//# sourceMappingURL=index.js.map