import { C as B, E as i, s as W, t as n, b as U, L as C, i as E, j as v, f as u, k as M, a as b, r as N, __tla as __tla_0 } from "./main-1f248fe2.js";
import { __tla as __tla_1 } from "./index-c30f3063.js";
let hO, vO, L;
let __tla = Promise.all([
  (() => {
    try {
      return __tla_0;
    } catch {
    }
  })(),
  (() => {
    try {
      return __tla_1;
    } catch {
    }
  })()
]).then(async () => {
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
  class s {
    constructor(e, a, r) {
      this.parent = e, this.depth = a, this.type = r, this.hash = (e ? e.hash + e.hash << 8 : 0) + a + (a << 4) + r;
    }
  }
  s.top = new s(null, -1, lO);
  function X(O, e) {
    for (let a = 0, r = e - O.pos - 1; ; r--, a++) {
      let o = O.peek(r);
      if (P(o) || o == -1)
        return a;
    }
  }
  function x(O) {
    return O == 32 || O == 9;
  }
  function P(O) {
    return O == 10 || O == 13;
  }
  function _(O) {
    return x(O) || P(O);
  }
  function l(O) {
    return O < 0 || _(O);
  }
  const cO = new B({
    start: s.top,
    reduce(O, e) {
      return O.type == d && (e == nO || e == QO) ? O.parent : O;
    },
    shift(O, e, a, r) {
      if (e == y)
        return new s(O, X(r, r.pos), T);
      if (e == z || e == Z)
        return new s(O, X(r, r.pos), g);
      if (e == c)
        return O.parent;
      if (e == tO || e == PO)
        return new s(O, 0, d);
      if (e == V && O.type == m)
        return O.parent;
      if (e == sO) {
        let o = /[1-9]/.exec(r.read(r.pos, a.pos));
        if (o)
          return new s(O, O.depth + +o[0], m);
      }
      return O;
    },
    hash(O) {
      return O.hash;
    }
  });
  function f(O, e, a = 0) {
    return O.peek(a) == e && O.peek(a + 1) == e && O.peek(a + 2) == e && l(O.peek(a + 3));
  }
  const fO = new i((O, e) => {
    if (O.next == -1 && e.canShift(D))
      return O.acceptToken(D);
    let a = O.peek(-1);
    if ((P(a) || a < 0) && e.context.type != d) {
      if (f(O, 45))
        if (e.canShift(c))
          O.acceptToken(c);
        else
          return O.acceptToken(j, 3);
      if (f(O, 46))
        if (e.canShift(c))
          O.acceptToken(c);
        else
          return O.acceptToken(A, 3);
      let r = 0;
      for (; O.next == 32; )
        r++, O.advance();
      (r < e.context.depth || r == e.context.depth && e.context.type == T && (O.next != 45 || !l(O.peek(1)))) && O.next != -1 && !P(O.next) && O.next != 35 && O.acceptToken(c, -r);
    }
  }, {
    contextual: true
  }), XO = new i((O, e) => {
    if (e.context.type == d) {
      O.next == 63 && (O.advance(), l(O.next) && O.acceptToken(I));
      return;
    }
    if (O.next == 45)
      O.advance(), l(O.next) && O.acceptToken(e.context.type == T && e.context.depth == X(O, O.pos - 1) ? H : y);
    else if (O.next == 63)
      O.advance(), l(O.next) && O.acceptToken(e.context.type == g && e.context.depth == X(O, O.pos - 1) ? F : Z);
    else {
      let a = O.pos;
      for (; ; )
        if (x(O.next)) {
          if (O.pos == a)
            return;
          O.advance();
        } else if (O.next == 33)
          G(O);
        else if (O.next == 38)
          $(O);
        else if (O.next == 42) {
          $(O);
          break;
        } else if (O.next == 39 || O.next == 34) {
          if (p(O, true))
            break;
          return;
        } else if (O.next == 91 || O.next == 123) {
          if (!RO(O))
            return;
          break;
        } else {
          w(O, true, false, 0);
          break;
        }
      for (; x(O.next); )
        O.advance();
      if (O.next == 58) {
        if (O.pos == a && e.canShift(oO))
          return;
        let r = O.peek(1);
        l(r) && O.acceptTokenTo(e.context.type == g && e.context.depth == X(O, a) ? K : z, a);
      }
    }
  }, {
    contextual: true
  });
  function dO(O) {
    return O > 32 && O < 127 && O != 34 && O != 37 && O != 44 && O != 60 && O != 62 && O != 92 && O != 94 && O != 96 && O != 123 && O != 124 && O != 125;
  }
  function q(O) {
    return O >= 48 && O <= 57 || O >= 97 && O <= 102 || O >= 65 && O <= 70;
  }
  function Y(O, e) {
    return O.next == 37 ? (O.advance(), q(O.next) && O.advance(), q(O.next) && O.advance(), true) : dO(O.next) || e && O.next == 44 ? (O.advance(), true) : false;
  }
  function G(O) {
    if (O.advance(), O.next == 60) {
      for (O.advance(); ; )
        if (!Y(O, true)) {
          O.next == 62 && O.advance();
          break;
        }
    } else
      for (; Y(O, false); )
        ;
  }
  function $(O) {
    for (O.advance(); !l(O.next) && S(O.tag) != "f"; )
      O.advance();
  }
  function p(O, e) {
    let a = O.next, r = false, o = O.pos;
    for (O.advance(); ; ) {
      let t = O.next;
      if (t < 0)
        break;
      if (O.advance(), t == a)
        if (t == 39)
          if (O.next == 39)
            O.advance();
          else
            break;
        else
          break;
      else if (t == 92 && a == 34)
        O.next >= 0 && O.advance();
      else if (P(t)) {
        if (e)
          return false;
        r = true;
      } else if (e && O.pos >= o + 1024)
        return false;
    }
    return !r;
  }
  function RO(O) {
    for (let e = [], a = O.pos + 1024; ; )
      if (O.next == 91 || O.next == 123)
        e.push(O.next), O.advance();
      else if (O.next == 39 || O.next == 34) {
        if (!p(O, true))
          return false;
      } else if (O.next == 93 || O.next == 125) {
        if (e[e.length - 1] != O.next - 2)
          return false;
        if (e.pop(), O.advance(), !e.length)
          return true;
      } else {
        if (O.next < 0 || O.pos > a || P(O.next))
          return false;
        O.advance();
      }
  }
  const SO = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";
  function S(O) {
    return O < 33 ? "u" : O > 125 ? "s" : SO[O - 33];
  }
  function k(O, e) {
    let a = S(O);
    return a != "u" && !(e && a == "f");
  }
  function w(O, e, a, r) {
    if (S(O.next) == "s" || (O.next == 63 || O.next == 58 || O.next == 45) && k(O.peek(1), a))
      O.advance();
    else
      return false;
    let o = O.pos;
    for (; ; ) {
      let t = O.next, Q = 0, R = r + 1;
      for (; _(t); ) {
        if (P(t)) {
          if (e)
            return false;
          R = 0;
        } else
          R++;
        t = O.peek(++Q);
      }
      if (!(t >= 0 && (t == 58 ? k(O.peek(Q + 1), a) : t == 35 ? O.peek(Q - 1) != 32 : k(t, a))) || !a && R <= r || R == 0 && !a && (f(O, 45, Q) || f(O, 46, Q)))
        break;
      if (e && S(t) == "f")
        return false;
      for (let h = Q; h >= 0; h--)
        O.advance();
      if (e && O.pos > o + 1024)
        return false;
    }
    return true;
  }
  let iO, kO, bO, gO, mO;
  iO = new i((O, e) => {
    if (O.next == 33)
      G(O), O.acceptToken(rO);
    else if (O.next == 38 || O.next == 42) {
      let a = O.next == 38 ? eO : aO;
      $(O), O.acceptToken(a);
    } else
      O.next == 39 || O.next == 34 ? (p(O, false), O.acceptToken(OO)) : w(O, false, e.context.type == d, e.context.depth) && O.acceptToken(J);
  });
  kO = new i((O, e) => {
    let a = e.context.type == m ? e.context.depth : -1, r = O.pos;
    O:
      for (; ; ) {
        let o = 0, t = O.next;
        for (; t == 32; )
          t = O.peek(++o);
        if (!o && (f(O, 45, o) || f(O, 46, o)) || !P(t) && (a < 0 && (a = Math.max(e.context.depth + 1, o)), o < a))
          break;
        for (; ; ) {
          if (O.next < 0)
            break O;
          let Q = P(O.next);
          if (O.advance(), Q)
            continue O;
          r = O.pos;
        }
      }
    O.acceptTokenTo(V, r);
  });
  bO = W({
    DirectiveName: n.keyword,
    DirectiveContent: n.attributeValue,
    "DirectiveEnd DocEnd": n.meta,
    QuotedLiteral: n.string,
    BlockLiteralHeader: n.special(n.string),
    BlockLiteralContent: n.content,
    Literal: n.content,
    "Key/Literal Key/QuotedLiteral": n.definition(n.propertyName),
    "Anchor Alias": n.labelName,
    Tag: n.typeName,
    Comment: n.lineComment,
    ": , -": n.separator,
    "?": n.punctuation,
    "[ ]": n.squareBracket,
    "{ }": n.brace
  });
  gO = U.deserialize({
    version: 14,
    states: "5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#Dt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!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",
    nodeNames: "\u26A0 DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",
    maxTerm: 74,
    context: cO,
    nodeProps: [
      [
        "isolate",
        -3,
        8,
        9,
        14,
        ""
      ],
      [
        "openedBy",
        18,
        "[",
        32,
        "{"
      ],
      [
        "closedBy",
        19,
        "]",
        33,
        "}"
      ]
    ],
    propSources: [
      bO
    ],
    skippedNodes: [
      0
    ],
    repeatNodeCount: 6,
    tokenData: "-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",
    tokenizers: [
      fO,
      XO,
      iO,
      kO,
      0,
      1
    ],
    topRules: {
      Stream: [
        0,
        15
      ]
    },
    tokenPrec: 0
  });
  mO = U.deserialize({
    version: 14,
    states: "!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",
    stateData: "!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",
    goto: "vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",
    nodeNames: "\u26A0 Document Frontmatter DashLine FrontmatterContent Body",
    maxTerm: 10,
    skippedNodes: [
      0
    ],
    repeatNodeCount: 2,
    tokenData: "$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",
    tokenizers: [
      0
    ],
    topRules: {
      Document: [
        0,
        1
      ]
    },
    tokenPrec: 67
  });
  L = C.define({
    name: "yaml",
    parser: gO.configure({
      props: [
        E.add({
          Stream: (O) => {
            for (let e = O.node.resolve(O.pos, -1); e && e.to >= O.pos; e = e.parent) {
              if (e.name == "BlockLiteralContent" && e.from < e.to)
                return O.baseIndentFor(e);
              if (e.name == "BlockLiteral")
                return O.baseIndentFor(e) + O.unit;
              if (e.name == "BlockSequence" || e.name == "BlockMapping")
                return O.column(e.from, 1);
              if (e.name == "QuotedLiteral")
                return null;
              if (e.name == "Literal") {
                let a = O.column(e.from, 1);
                if (a == O.lineIndent(e.from, 1))
                  return a;
                if (e.to > O.pos)
                  return null;
              }
            }
            return null;
          },
          FlowMapping: v({
            closing: "}"
          }),
          FlowSequence: v({
            closing: "]"
          })
        }),
        u.add({
          "FlowMapping FlowSequence": M,
          "Item Pair BlockLiteral": (O, e) => ({
            from: e.doc.lineAt(O.from).to,
            to: O.to
          })
        })
      ]
    }),
    languageData: {
      commentTokens: {
        line: "#"
      },
      indentOnInput: /^\s*[\]\}]$/
    }
  });
  hO = function() {
    return new b(L);
  };
  const xO = C.define({
    name: "yaml-frontmatter",
    parser: mO.configure({
      props: [
        W({
          DashLine: n.meta
        })
      ]
    })
  });
  vO = function(O) {
    let { language: e, support: a } = O.content instanceof b ? O.content : {
      language: O.content,
      support: []
    };
    return new b(xO.configure({
      wrap: N((r) => r.name == "FrontmatterContent" ? {
        parser: L.parser
      } : r.name == "Body" ? {
        parser: e.parser
      } : null)
    }), a);
  };
});
export {
  __tla,
  hO as yaml,
  vO as yamlFrontmatter,
  L as yamlLanguage
};
