@base44-preview/cli 0.2.2-pr.678.b8808dc → 0.2.2-pr.680.e01ae1e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -37494,7 +37494,7 @@ function Qt2(e) {
37494
37494
  return ft3(e, (t) => Dc(t));
37495
37495
  }
37496
37496
  function qe(e, t = $r2) {
37497
- return ft3(e, (r) => typeof r == "string" ? L3(t, r.split(`
37497
+ return ft3(e, (r) => typeof r == "string" ? L2(t, r.split(`
37498
37498
  `)) : r);
37499
37499
  }
37500
37500
  function fc(e) {
@@ -37559,7 +37559,7 @@ function P2(e, t = "", r = {}) {
37559
37559
  function yt4(e, t) {
37560
37560
  return de2(e), { type: Ve3, contents: e, groupId: t.groupId, negate: t.negate };
37561
37561
  }
37562
- function L3(e, t) {
37562
+ function L2(e, t) {
37563
37563
  de2(e), Kr(t);
37564
37564
  let r = [];
37565
37565
  for (let n = 0;n < t.length; n++)
@@ -37908,7 +37908,7 @@ function bc(e, t, r) {
37908
37908
  for (let { cells: D } of y.filter((F) => !F.hasLineBreak))
37909
37909
  for (let [F, C] of D.entries())
37910
37910
  c[F] = Math.max(c[F], ot3(C));
37911
- return [je2, "`", m([E, L3(E, y.map((D) => L3(" | ", D.cells.map((F, C) => D.hasLineBreak ? F : F + " ".repeat(c[C] - ot3(F))))))]), E, "`"];
37911
+ return [je2, "`", m([E, L2(E, y.map((D) => L2(" | ", D.cells.map((F, C) => D.hasLineBreak ? F : F + " ".repeat(c[C] - ot3(F))))))]), E, "`"];
37912
37912
  }
37913
37913
  }
37914
37914
  function Pc(e, t) {
@@ -37998,13 +37998,13 @@ async function co2(e, t, r) {
37998
37998
  let h = null;
37999
37999
  O ? h = Mc(F) : h = await e(D, { parser: "graphql" }), h ? (h = tn2(h, false), !c && b && o.push(""), o.push(h), !y && B && o.push("")) : !c && !y && b && o.push(""), d && o.push(d);
38000
38000
  }
38001
- return ["`", m([E, L3(E, o)]), E, "`"];
38001
+ return ["`", m([E, L2(E, o)]), E, "`"];
38002
38002
  }
38003
38003
  function Mc(e) {
38004
38004
  let t = [], r = false, n = e.map((s) => s.trim());
38005
38005
  for (let [s, i] of n.entries())
38006
38006
  i !== "" && (n[s - 1] === "" && r ? t.push([E, i]) : t.push(i), r = true);
38007
- return t.length === 0 ? null : L3(E, t);
38007
+ return t.length === 0 ? null : L2(E, t);
38008
38008
  }
38009
38009
  function lo2({ node: e, parent: t }) {
38010
38010
  return rn2({ node: e, parent: t }, "GraphQL") || t && (t.type === "TaggedTemplateExpression" && (t.tag.type === "MemberExpression" && t.tag.object.name === "graphql" && t.tag.property.name === "experimental" || t.tag.type === "Identifier" && (t.tag.name === "gql" || t.tag.name === "graphql")) || t.type === "CallExpression" && t.callee.type === "Identifier" && t.callee.name === "graphql");
@@ -38158,7 +38158,7 @@ function wo(e, t) {
38158
38158
  function Kc(e) {
38159
38159
  let t = e.value.split(`
38160
38160
  `);
38161
- return ["/*", L3(E, t.map((r, n) => n === 0 ? r.trimEnd() : " " + (n < t.length - 1 ? r.trim() : r.trimStart()))), "*/"];
38161
+ return ["/*", L2(E, t.map((r, n) => n === 0 ? r.trimEnd() : " " + (n < t.length - 1 ? r.trim() : r.trimStart()))), "*/"];
38162
38162
  }
38163
38163
  function ds(e, t) {
38164
38164
  if (e.isRoot)
@@ -38636,7 +38636,7 @@ function v2(e, t, r = {}) {
38636
38636
  c.leading || c.trailing || c.marker !== i || !o(c) || u.push(As(e, t));
38637
38637
  }, "comments"), u.length === 0)
38638
38638
  return "";
38639
- let p = L3(E, u);
38639
+ let p = L2(E, u);
38640
38640
  return s ? m([E, p]) : p;
38641
38641
  }
38642
38642
  function Mt3(e, t) {
@@ -38768,7 +38768,7 @@ function Ts(e, t, r, n, s) {
38768
38768
  return [l(r())];
38769
38769
  let o = [];
38770
38770
  dr2(i.operator, i.left.operator) ? o = e.call(() => Ts(e, t, r, true, s), "left") : o.push(l(r("left")));
38771
- let u = er2(i), p = i.right.type === "ChainExpression" ? i.right.expression : i.right, c = (i.operator === "|>" || i.type === "NGPipeExpression" || yl(e, t)) && !Ee2(t.originalText, p), D = !T2(p, x3.Leading, Hr) && Ee2(t.originalText, p), F = i.type === "NGPipeExpression" ? "|" : i.operator, C = i.type === "NGPipeExpression" && i.arguments.length > 0 ? l(m([f, ": ", L3([A, ": "], e.map(() => xe(2, l(r())), "arguments"))])) : "", d;
38771
+ let u = er2(i), p = i.right.type === "ChainExpression" ? i.right.expression : i.right, c = (i.operator === "|>" || i.type === "NGPipeExpression" || yl(e, t)) && !Ee2(t.originalText, p), D = !T2(p, x3.Leading, Hr) && Ee2(t.originalText, p), F = i.type === "NGPipeExpression" ? "|" : i.operator, C = i.type === "NGPipeExpression" && i.arguments.length > 0 ? l(m([f, ": ", L2([A, ": "], e.map(() => xe(2, l(r())), "arguments"))])) : "", d;
38772
38772
  if (u)
38773
38773
  d = [F, Ee2(t.originalText, p) ? m([A, r("right"), C]) : [" ", r("right"), C]];
38774
38774
  else {
@@ -38816,8 +38816,8 @@ function un2(e, t, r) {
38816
38816
  return o || (C = xe(2, C)), De2(e, C, t);
38817
38817
  }, "types"), p = "", c = "";
38818
38818
  if (Yr2(e) && ({ leading: p, trailing: c } = Mt3(e, t)), o)
38819
- return [p, L3(" | ", u), c];
38820
- let y = i && !Ee2(t.originalText, n), D = [P2([y ? A : "", "| "]), L3([A, "| "], u)];
38819
+ return [p, L2(" | ", u), c];
38820
+ let y = i && !Ee2(t.originalText, n), D = [P2([y ? A : "", "| "]), L2([A, "| "], u)];
38821
38821
  if (ge2(e, t))
38822
38822
  return [p, l([m(D), f]), c];
38823
38823
  let F = [p, l(D)];
@@ -39079,7 +39079,7 @@ function Xo(e, t, r) {
39079
39079
  return _.length > 0 && N4(0, _, -1).needsParens ? ["(", ...re, ")"] : re;
39080
39080
  }
39081
39081
  function O(_) {
39082
- return _.length === 0 ? "" : m([E, L3(E, _.map(B))]);
39082
+ return _.length === 0 ? "" : m([E, L2(E, _.map(B))]);
39083
39083
  }
39084
39084
  let h = p.map(B), g = h, S = b ? 3 : 2, j = p.flat(), U = j.slice(1, -1).some((_) => T2(_.node, x3.Leading)) || j.slice(0, -1).some((_) => T2(_.node, x3.Trailing)) || p[S] && T2(p[S][0].node, x3.Leading);
39085
39085
  if (p.length <= S && !U && !p.some((_) => N4(0, _, -1).hasTrailingEmptyLine))
@@ -39099,7 +39099,7 @@ function vt4(e, t, r) {
39099
39099
  if ($t3(e, () => {
39100
39100
  D.push(r());
39101
39101
  }), !(p && D[0].label?.embed))
39102
- return [s ? "new " : "", $o(e, r), i, u, "(", L3(", ", D), ")"];
39102
+ return [s ? "new " : "", $o(e, r), i, u, "(", L2(", ", D), ")"];
39103
39103
  }
39104
39104
  let c = n.type === "ImportExpression" || n.type === "TSImportType" || n.type === "TSExternalModuleReference";
39105
39105
  if (!c && !s && Tt4(n.callee) && !e.call(() => ge2(e, t), "callee", ...n.callee.type === "ChainExpression" ? ["expression"] : []))
@@ -39611,9 +39611,9 @@ function mu(e, t, r) {
39611
39611
  case "JSXIdentifier":
39612
39612
  return n.name;
39613
39613
  case "JSXNamespacedName":
39614
- return L3(":", [r("namespace"), r("name")]);
39614
+ return L2(":", [r("namespace"), r("name")]);
39615
39615
  case "JSXMemberExpression":
39616
- return L3(".", [r("object"), r("property")]);
39616
+ return L2(".", [r("object"), r("property")]);
39617
39617
  case "JSXSpreadAttribute":
39618
39618
  case "JSXSpreadChild":
39619
39619
  return am(e, t, r);
@@ -39677,7 +39677,7 @@ function yu(e, t, r) {
39677
39677
  case "NGPipeExpression":
39678
39678
  return on7(e, t, r);
39679
39679
  case "NGChainedExpression":
39680
- return l(L3([";", A], e.map(() => fm(e) ? r() : ["(", r(), ")"], "expressions")));
39680
+ return l(L2([";", A], e.map(() => fm(e) ? r() : ["(", r(), ")"], "expressions")));
39681
39681
  case "NGEmptyExpression":
39682
39682
  return "";
39683
39683
  case "NGMicrosyntax":
@@ -39710,17 +39710,17 @@ function fm({ node: e }) {
39710
39710
  }
39711
39711
  function Ms2(e, t, r) {
39712
39712
  let { node: n } = e;
39713
- return l([L3(A, e.map(r, "decorators")), du(n, t) ? E : A]);
39713
+ return l([L2(A, e.map(r, "decorators")), du(n, t) ? E : A]);
39714
39714
  }
39715
39715
  function Eu(e, t, r) {
39716
- return Cu(e.node) ? [L3(E, e.map(r, "declaration", "decorators")), E] : "";
39716
+ return Cu(e.node) ? [L2(E, e.map(r, "declaration", "decorators")), E] : "";
39717
39717
  }
39718
39718
  function Fu(e, t, r) {
39719
39719
  let { node: n, parent: s } = e, { decorators: i } = n;
39720
39720
  if (!R3(i) || Cu(s) || nr2(e))
39721
39721
  return "";
39722
39722
  let o = n.type === "ClassExpression" || n.type === "ClassDeclaration" || du(n, t);
39723
- return [e.key === "declaration" && Di2(s) ? E : o ? ke3 : "", L3(A, e.map(r, "decorators")), A];
39723
+ return [e.key === "declaration" && Di2(s) ? E : o ? ke3 : "", L2(A, e.map(r, "decorators")), A];
39724
39724
  }
39725
39725
  function du(e, t) {
39726
39726
  return e.decorators.some((r) => Z3(t.originalText, I3(r)));
@@ -39775,7 +39775,7 @@ function dm(e, t, { signatureDocs: r, shouldBreak: n }) {
39775
39775
  if (r.length === 1)
39776
39776
  return r[0];
39777
39777
  let { parent: s, key: i } = e;
39778
- return i !== "callee" && Dt2(s) || Te2(s) ? l([r[0], " =>", m([A, L3([" =>", A], r.slice(1))])], { shouldBreak: n }) : i === "callee" && Dt2(s) || t.assignmentLayout ? l(L3([" =>", A], r), { shouldBreak: n }) : l(m(L3([" =>", A], r)), { shouldBreak: n });
39778
+ return i !== "callee" && Dt2(s) || Te2(s) ? l([r[0], " =>", m([A, L2([" =>", A], r.slice(1))])], { shouldBreak: n }) : i === "callee" && Dt2(s) || t.assignmentLayout ? l(L2([" =>", A], r), { shouldBreak: n }) : l(m(L2([" =>", A], r)), { shouldBreak: n });
39779
39779
  }
39780
39780
  function Cm(e, t, r, { bodyDoc: n, bodyComments: s, functionBody: i, shouldPutBodyOnSameLine: o }) {
39781
39781
  let { node: u, parent: p } = e, c = r.expandLastArg && ie(t, "all") ? P2(",") : "", y = (r.expandLastArg || p.type === "JSXExpressionContainer") && !T2(u) ? f : "";
@@ -39957,7 +39957,7 @@ function vs2(e, t, r, n) {
39957
39957
  let { node: s } = e;
39958
39958
  if (!R3(s[n]))
39959
39959
  return "";
39960
- let i = v2(e, t, { marker: n }), o = L3([",", A], e.map(r, n));
39960
+ let i = v2(e, t, { marker: n }), o = L2([",", A], e.map(r, n));
39961
39961
  if (!Pu(s)) {
39962
39962
  let u = [`${n} `, i, o];
39963
39963
  return ku(e) ? [A, l(u)] : [" ", u];
@@ -39999,12 +39999,12 @@ function wu(e, t, r) {
39999
39999
  let n = e.map(r, "program", "body", 0, "params");
40000
40000
  if (n.length === 1)
40001
40001
  return n[0];
40002
- let s = L3([",", A], n);
40002
+ let s = L2([",", A], n);
40003
40003
  return t.__isVueForBindingLeft ? ["(", m([f, l(s)]), f, ")"] : s;
40004
40004
  }
40005
40005
  if (t.__isEmbeddedTypescriptGenericParameters) {
40006
40006
  let n = e.map(r, "program", "body", 0, "typeParameters", "params");
40007
- return L3([",", A], n);
40007
+ return L2([",", A], n);
40008
40008
  }
40009
40009
  }
40010
40010
  function Nu(e, t) {
@@ -40140,7 +40140,7 @@ function Gu(e, t, r) {
40140
40140
  o.push(r());
40141
40141
  else
40142
40142
  throw new Qe2(n, "specifier");
40143
- }, "specifiers"), s.push(L3(", ", i)), o.length > 0 && (i.length > 0 && s.push(", "), o.length > 1 || i.length > 0 || n.specifiers.some((p) => T2(p)) ? s.push(l(["{", m([t.bracketSpacing ? A : f, L3([",", A], o)]), P2(ie(t) ? "," : ""), t.bracketSpacing ? A : f, "}"])) : s.push(["{", t.bracketSpacing ? " " : "", ...o, t.bracketSpacing ? " " : "", "}"]));
40143
+ }, "specifiers"), s.push(L2(", ", i)), o.length > 0 && (i.length > 0 && s.push(", "), o.length > 1 || i.length > 0 || n.specifiers.some((p) => T2(p)) ? s.push(l(["{", m([t.bracketSpacing ? A : f, L2([",", A], o)]), P2(ie(t) ? "," : ""), t.bracketSpacing ? A : f, "}"])) : s.push(["{", t.bracketSpacing ? " " : "", ...o, t.bracketSpacing ? " " : "", "}"]));
40144
40144
  } else
40145
40145
  s.push("{}");
40146
40146
  return s;
@@ -40390,7 +40390,7 @@ function Hu(e, t, r, n) {
40390
40390
  p ? u.push(r()) : u.push(",", m([A, r()]));
40391
40391
  }, "expressions"), l(u);
40392
40392
  }
40393
- let o = L3([",", A], e.map(r, "expressions"));
40393
+ let o = L2([",", A], e.map(r, "expressions"));
40394
40394
  return (i.type === "ReturnStatement" || i.type === "ThrowStatement") && e.key === "argument" || i.type === "ArrowFunctionExpression" && e.key === "body" ? l(P2([m([f, o]), f], o)) : l(o);
40395
40395
  }
40396
40396
  case "ThisExpression":
@@ -40451,7 +40451,7 @@ function Hu(e, t, r, n) {
40451
40451
  }
40452
40452
  return ["catch ", r("body")];
40453
40453
  case "SwitchStatement":
40454
- return [l(["switch (", m([f, r("discriminant")]), f, ")"]), " {", s.cases.length > 0 ? m([E, L3(E, e.map(({ node: i, isLast: o }) => [r(), !o && oe(i, t) ? E : ""], "cases"))]) : "", E, "}"];
40454
+ return [l(["switch (", m([f, r("discriminant")]), f, ")"]), " {", s.cases.length > 0 ? m([E, L2(E, e.map(({ node: i, isLast: o }) => [r(), !o && oe(i, t) ? E : ""], "cases"))]) : "", E, "}"];
40455
40455
  case "SwitchCase": {
40456
40456
  let i = [];
40457
40457
  s.test ? i.push("case ", r("test"), ":") : i.push("default:"), T2(s, x3.Dangling) && i.push(" ", v2(e, t));
@@ -40631,7 +40631,7 @@ function na(e, t, r) {
40631
40631
  }
40632
40632
  function sa(e, t, r) {
40633
40633
  let { node: n } = e;
40634
- return [l(["match (", m([f, r("argument")]), f, ")"]), " {", n.cases.length > 0 ? m([E, L3(E, e.map(({ node: s, isLast: i }) => [r(), !i && oe(s, t) ? E : ""], "cases"))]) : "", E, "}"];
40634
+ return [l(["match (", m([f, r("argument")]), f, ")"]), " {", n.cases.length > 0 ? m([E, L2(E, e.map(({ node: s, isLast: i }) => [r(), !i && oe(s, t) ? E : ""], "cases"))]) : "", E, "}"];
40635
40635
  }
40636
40636
  function ia(e, t, r) {
40637
40637
  let { node: n } = e, s = T2(n, x3.Dangling) ? [" ", v2(e, t)] : [], i = n.type === "MatchStatementCase" ? [" ", r("body")] : m([A, r("body"), ","]);
@@ -40660,11 +40660,11 @@ function oa(e, t, r) {
40660
40660
  return [n.kind, " ", r("id")];
40661
40661
  case "MatchObjectPattern": {
40662
40662
  let s = e.map(r, "properties");
40663
- return n.rest && s.push(r("rest")), l(["{", m([f, L3([",", A], s)]), n.rest ? "" : P2(","), f, "}"]);
40663
+ return n.rest && s.push(r("rest")), l(["{", m([f, L2([",", A], s)]), n.rest ? "" : P2(","), f, "}"]);
40664
40664
  }
40665
40665
  case "MatchArrayPattern": {
40666
40666
  let s = e.map(r, "elements");
40667
- return n.rest && s.push(r("rest")), l(["[", m([f, L3([",", A], s)]), n.rest ? "" : P2(","), f, "]"]);
40667
+ return n.rest && s.push(r("rest")), l(["[", m([f, L2([",", A], s)]), n.rest ? "" : P2(","), f, "]"]);
40668
40668
  }
40669
40669
  case "MatchObjectPatternProperty":
40670
40670
  return n.shorthand ? r("pattern") : l([r("key"), ":", m([A, r("pattern")])]);
@@ -40690,8 +40690,8 @@ function uD(e, t, r) {
40690
40690
  return o || (c = xe(2, c)), De2(e, c, t);
40691
40691
  }, "patterns");
40692
40692
  if (o)
40693
- return L3(" | ", u);
40694
- let p = [P2(["| "]), L3([A, "| "], u)];
40693
+ return L2(" | ", u);
40694
+ let p = [P2(["| "]), L2([A, "| "], u)];
40695
40695
  return ge2(e, t) ? l([m([P2([f]), p]), f]) : s.type === "MatchArrayPattern" && s.elements.length > 1 ? l([m([P2(["(", f]), p]), f, P2(")")]) : l(i ? m(p) : p);
40696
40696
  }
40697
40697
  function aa(e, t, r) {
@@ -40726,9 +40726,9 @@ function Gt2(e, t, r, n) {
40726
40726
  return r(n);
40727
40727
  let i = It3(e.grandparent), o = e.match((c) => !(c[n].length === 1 && Je3(c[n][0])), undefined, (c, y) => y === "typeAnnotation", (c) => c.type === "Identifier", Bs2);
40728
40728
  if (s[n].length === 0 || !o && (i || s[n].length === 1 && (s[n][0].type === "NullableTypeAnnotation" || Jo(s[n][0]))))
40729
- return ["<", L3(", ", e.map(r, n)), pD(e, t), ">"];
40729
+ return ["<", L2(", ", e.map(r, n)), pD(e, t), ">"];
40730
40730
  let p = s.type === "TSTypeParameterInstantiation" ? "" : aD(e, t, n) ? "," : ie(t) ? P2(",") : "";
40731
- return l(["<", m([f, L3([",", A], e.map(r, n))]), p, f, ">"]);
40731
+ return l(["<", m([f, L2([",", A], e.map(r, n))]), p, f, ">"]);
40732
40732
  }
40733
40733
  function pD(e, t) {
40734
40734
  let { node: r } = e;
@@ -40928,7 +40928,7 @@ function pa(e, t, r) {
40928
40928
  }
40929
40929
  }
40930
40930
  function ca(e, t, r) {
40931
- let { node: n } = e, s = n.parameters.length > 1 ? P2(ie(t) ? "," : "") : "", i = l([m([f, L3([", ", f], e.map(r, "parameters"))]), s, f]);
40931
+ let { node: n } = e, s = n.parameters.length > 1 ? P2(ie(t) ? "," : "") : "", i = l([m([f, L2([", ", f], e.map(r, "parameters"))]), s, f]);
40932
40932
  return [e.key === "body" && e.parent.type === "ClassBody" && n.static ? "static " : "", n.readonly ? "readonly " : "", "[", n.parameters ? i : "", "]", G2(e, r), he2(e, t)];
40933
40933
  }
40934
40934
  function Us2(e, t, r) {
@@ -41104,10 +41104,10 @@ function yD(e, t, r) {
41104
41104
  if (n.elements.length === 0)
41105
41105
  return "[]";
41106
41106
  let s = e.map(() => e.node === null ? "null" : r(), "elements");
41107
- return ["[", m([E, L3([",", E], s)]), E, "]"];
41107
+ return ["[", m([E, L2([",", E], s)]), E, "]"];
41108
41108
  }
41109
41109
  case "ObjectExpression":
41110
- return n.properties.length === 0 ? "{}" : ["{", m([E, L3([",", E], e.map(r, "properties"))]), E, "}"];
41110
+ return n.properties.length === 0 ? "{}" : ["{", m([E, L2([",", E], e.map(r, "properties"))]), E, "}"];
41111
41111
  case "ObjectProperty":
41112
41112
  return [r("key"), ": ", r("value")];
41113
41113
  case "UnaryExpression":
@@ -41954,7 +41954,7 @@ var Ii3, Be2, Ni3, Li3, Ri3, Vi3, ot4 = (e, t) => () => (t || e((t = { exports:
41954
41954
  return e;
41955
41955
  }, ut2 = (e, t, i) => (i = e != null ? Ii3(Ri3(e)) : {}, Bi3(t || !e || !e.__esModule ? Be2(i, "default", { value: e, enumerable: true }) : i, e)), Qt3, $e2, Pi3, Di3, dt5, Mi2 = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", mt5 = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", De3, Me3 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", Fi3, ji3, Ui3, Gi3, C2 = function(t, i) {
41956
41956
  i === undefined && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
41957
- }, O2, N5, Je4, a3, L4, qi3, yt5, k4, gt5, Ji3, Ki3, $3, ht5, pt5, Hi3, ne3 = function(t, i) {
41957
+ }, O2, N5, Je4, a3, L3, qi3, yt5, k4, gt5, Ji3, Ki3, $3, ht5, pt5, Hi3, ne3 = function(t, i) {
41958
41958
  this.line = t, this.column = i;
41959
41959
  }, be3 = function(t, i, s) {
41960
41960
  this.start = i, this.end = s, t.sourceFile !== null && (this.source = t.sourceFile);
@@ -41964,7 +41964,7 @@ var Ii3, Be2, Ni3, Li3, Ri3, Vi3, ot4 = (e, t) => () => (t || e((t = { exports:
41964
41964
  t.allowReserved !== true && (r = De3[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = H4(r);
41965
41965
  var o = (r ? r + " " : "") + De3.strict;
41966
41966
  this.reservedWordsStrict = H4(o), this.reservedWordsStrictBind = H4(o + " " + De3.strictBind), this.input = String(i), this.containsEsc = false, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
41967
- `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(L4).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a3.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(oe2), this.regexpState = null, this.privateNameStack = [];
41967
+ `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(L3).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a3.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(oe2), this.regexpState = null, this.privateNameStack = [];
41968
41968
  }, U4, w2, zi3, Ce4 = function() {
41969
41969
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
41970
41970
  }, d2, ze3, Qi3, Yi3, ae2 = 1, Ge4 = 2, At5 = 4, D3, F2 = function(t, i, s, r, o) {
@@ -42288,8 +42288,8 @@ var init_acorn = __esm(() => {
42288
42288
  N5 = { startsExpr: true };
42289
42289
  Je4 = {};
42290
42290
  a3 = { num: new C2("num", N5), regexp: new C2("regexp", N5), string: new C2("string", N5), name: new C2("name", N5), privateId: new C2("privateId", N5), eof: new C2("eof"), bracketL: new C2("[", { beforeExpr: true, startsExpr: true }), bracketR: new C2("]"), braceL: new C2("{", { beforeExpr: true, startsExpr: true }), braceR: new C2("}"), parenL: new C2("(", { beforeExpr: true, startsExpr: true }), parenR: new C2(")"), comma: new C2(",", O2), semi: new C2(";", O2), colon: new C2(":", O2), dot: new C2("."), question: new C2("?", O2), questionDot: new C2("?."), arrow: new C2("=>", O2), template: new C2("template"), invalidTemplate: new C2("invalidTemplate"), ellipsis: new C2("...", O2), backQuote: new C2("`", N5), dollarBraceL: new C2("${", { beforeExpr: true, startsExpr: true }), eq: new C2("=", { beforeExpr: true, isAssign: true }), assign: new C2("_=", { beforeExpr: true, isAssign: true }), incDec: new C2("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new C2("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: V4("||", 1), logicalAND: V4("&&", 2), bitwiseOR: V4("|", 3), bitwiseXOR: V4("^", 4), bitwiseAND: V4("&", 5), equality: V4("==/!=/===/!==", 6), relational: V4("</>/<=/>=", 7), bitShift: V4("<</>>/>>>", 8), plusMin: new C2("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: V4("%", 10), star: V4("*", 10), slash: V4("/", 10), starstar: new C2("**", { beforeExpr: true }), coalesce: V4("??", 1), _break: _3("break"), _case: _3("case", O2), _catch: _3("catch"), _continue: _3("continue"), _debugger: _3("debugger"), _default: _3("default", O2), _do: _3("do", { isLoop: true, beforeExpr: true }), _else: _3("else", O2), _finally: _3("finally"), _for: _3("for", { isLoop: true }), _function: _3("function", N5), _if: _3("if"), _return: _3("return", O2), _switch: _3("switch"), _throw: _3("throw", O2), _try: _3("try"), _var: _3("var"), _const: _3("const"), _while: _3("while", { isLoop: true }), _with: _3("with"), _new: _3("new", { beforeExpr: true, startsExpr: true }), _this: _3("this", N5), _super: _3("super", N5), _class: _3("class", N5), _extends: _3("extends", O2), _export: _3("export"), _import: _3("import", N5), _null: _3("null", N5), _true: _3("true", N5), _false: _3("false", N5), _in: _3("in", { beforeExpr: true, binop: 7 }), _instanceof: _3("instanceof", { beforeExpr: true, binop: 7 }), _typeof: _3("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: _3("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: _3("delete", { beforeExpr: true, prefix: true, startsExpr: true }) };
42291
- L4 = /\r\n?|\n|\u2028|\u2029/;
42292
- qi3 = new RegExp(L4.source, "g");
42291
+ L3 = /\r\n?|\n|\u2028|\u2029/;
42292
+ qi3 = new RegExp(L3.source, "g");
42293
42293
  yt5 = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
42294
42294
  k4 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
42295
42295
  gt5 = Object.prototype;
@@ -42384,7 +42384,7 @@ var init_acorn = __esm(() => {
42384
42384
  if ((t[1] || t[2]) === "use strict") {
42385
42385
  k4.lastIndex = e + t[0].length;
42386
42386
  var i = k4.exec(this.input), s = i.index + i[0].length, r = this.input.charAt(s);
42387
- return r === ";" || r === "}" || L4.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
42387
+ return r === ";" || r === "}" || L3.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
42388
42388
  }
42389
42389
  e += t[0].length, k4.lastIndex = e, e += k4.exec(this.input)[0].length, this.input[e] === ";" && e++;
42390
42390
  }
@@ -42402,7 +42402,7 @@ var init_acorn = __esm(() => {
42402
42402
  this.eatContextual(e) || this.unexpected();
42403
42403
  };
42404
42404
  w2.canInsertSemicolon = function() {
42405
- return this.type === a3.eof || this.type === a3.braceR || L4.test(this.input.slice(this.lastTokEnd, this.start));
42405
+ return this.type === a3.eof || this.type === a3.braceR || L3.test(this.input.slice(this.lastTokEnd, this.start));
42406
42406
  };
42407
42407
  w2.insertSemicolon = function() {
42408
42408
  if (this.canInsertSemicolon())
@@ -42485,14 +42485,14 @@ var init_acorn = __esm(() => {
42485
42485
  return false;
42486
42486
  k4.lastIndex = this.pos;
42487
42487
  var e = k4.exec(this.input), t = this.pos + e[0].length, i;
42488
- return !L4.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(X5(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
42488
+ return !L3.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(X5(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
42489
42489
  };
42490
42490
  d2.isUsingKeyword = function(e, t) {
42491
42491
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using"))
42492
42492
  return false;
42493
42493
  k4.lastIndex = this.pos;
42494
42494
  var i = k4.exec(this.input), s = this.pos + i[0].length;
42495
- if (L4.test(this.input.slice(this.pos, s)))
42495
+ if (L3.test(this.input.slice(this.pos, s)))
42496
42496
  return false;
42497
42497
  if (e) {
42498
42498
  var r = s + 5, o;
@@ -42500,7 +42500,7 @@ var init_acorn = __esm(() => {
42500
42500
  return false;
42501
42501
  k4.lastIndex = r;
42502
42502
  var u = k4.exec(this.input);
42503
- if (u && L4.test(this.input.slice(r, r + u[0].length)))
42503
+ if (u && L3.test(this.input.slice(r, r + u[0].length)))
42504
42504
  return false;
42505
42505
  }
42506
42506
  if (t) {
@@ -42630,7 +42630,7 @@ var init_acorn = __esm(() => {
42630
42630
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
42631
42631
  };
42632
42632
  d2.parseThrowStatement = function(e) {
42633
- return this.next(), L4.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
42633
+ return this.next(), L3.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
42634
42634
  };
42635
42635
  Yi3 = [];
42636
42636
  d2.parseCatchClauseParam = function() {
@@ -43097,7 +43097,7 @@ var init_acorn = __esm(() => {
43097
43097
  };
43098
43098
  ee.braceIsBlock = function(e) {
43099
43099
  var t = this.curContext();
43100
- return t === T3.f_expr || t === T3.f_stat ? true : e === a3.colon && (t === T3.b_stat || t === T3.b_expr) ? !t.isExpr : e === a3._return || e === a3.name && this.exprAllowed ? L4.test(this.input.slice(this.lastTokEnd, this.start)) : e === a3._else || e === a3.semi || e === a3.eof || e === a3.parenR || e === a3.arrow ? true : e === a3.braceL ? t === T3.b_stat : e === a3._var || e === a3._const || e === a3.name ? false : !this.exprAllowed;
43100
+ return t === T3.f_expr || t === T3.f_stat ? true : e === a3.colon && (t === T3.b_stat || t === T3.b_expr) ? !t.isExpr : e === a3._return || e === a3.name && this.exprAllowed ? L3.test(this.input.slice(this.lastTokEnd, this.start)) : e === a3._else || e === a3.semi || e === a3.eof || e === a3.parenR || e === a3.arrow ? true : e === a3.braceL ? t === T3.b_stat : e === a3._var || e === a3._const || e === a3.name ? false : !this.exprAllowed;
43101
43101
  };
43102
43102
  ee.inGeneratorContext = function() {
43103
43103
  for (var e = this.context.length - 1;e >= 1; e--) {
@@ -43134,7 +43134,7 @@ var init_acorn = __esm(() => {
43134
43134
  };
43135
43135
  a3.incDec.updateContext = function() {};
43136
43136
  a3._function.updateContext = a3._class.updateContext = function(e) {
43137
- e.beforeExpr && e !== a3._else && !(e === a3.semi && this.curContext() !== T3.p_stat) && !(e === a3._return && L4.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === a3.colon || e === a3.braceL) && this.curContext() === T3.b_stat) ? this.context.push(T3.f_expr) : this.context.push(T3.f_stat), this.exprAllowed = false;
43137
+ e.beforeExpr && e !== a3._else && !(e === a3.semi && this.curContext() !== T3.p_stat) && !(e === a3._return && L3.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === a3.colon || e === a3.braceL) && this.curContext() === T3.b_stat) ? this.context.push(T3.f_expr) : this.context.push(T3.f_stat), this.exprAllowed = false;
43138
43138
  };
43139
43139
  a3.colon.updateContext = function() {
43140
43140
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = true;
@@ -43467,7 +43467,7 @@ var init_acorn = __esm(() => {
43467
43467
  return this.next(), this.finishNode(i, "TemplateLiteral");
43468
43468
  };
43469
43469
  g.isAsyncProp = function(e) {
43470
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === a3.name || this.type === a3.num || this.type === a3.string || this.type === a3.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === a3.star) && !L4.test(this.input.slice(this.lastTokEnd, this.start));
43470
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === a3.name || this.type === a3.num || this.type === a3.string || this.type === a3.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === a3.star) && !L3.test(this.input.slice(this.lastTokEnd, this.start));
43471
43471
  };
43472
43472
  g.parseObj = function(e, t) {
43473
43473
  var i = this.startNode(), s = true, r = {};
@@ -44370,7 +44370,7 @@ var init_acorn = __esm(() => {
44370
44370
  };
44371
44371
  b2.readToken_plus_min = function(e) {
44372
44372
  var t = this.input.charCodeAt(this.pos + 1);
44373
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || L4.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(a3.incDec, 2) : t === 61 ? this.finishOp(a3.assign, 2) : this.finishOp(a3.plusMin, 1);
44373
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || L3.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(a3.incDec, 2) : t === 61 ? this.finishOp(a3.assign, 2) : this.finishOp(a3.plusMin, 1);
44374
44374
  };
44375
44375
  b2.readToken_lt_gt = function(e) {
44376
44376
  var t = this.input.charCodeAt(this.pos + 1), i = 1;
@@ -44491,7 +44491,7 @@ var init_acorn = __esm(() => {
44491
44491
  for (var e, t, i = this.pos;; ) {
44492
44492
  this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
44493
44493
  var s = this.input.charAt(this.pos);
44494
- if (L4.test(s) && this.raise(i, "Unterminated regular expression"), e)
44494
+ if (L3.test(s) && this.raise(i, "Unterminated regular expression"), e)
44495
44495
  e = false;
44496
44496
  else {
44497
44497
  if (s === "[")
@@ -44699,7 +44699,7 @@ var init_acorn = __esm(() => {
44699
44699
  var e = this.readWord1(), t = a3.name;
44700
44700
  return this.keywords.test(e) && (t = Je4[e]), this.finishToken(t, e);
44701
44701
  };
44702
- A2.acorn = { Parser: A2, version: bs2, defaultOptions: Ue2, Position: ne3, SourceLocation: be3, getLineInfo: vt5, Node: Te3, TokenType: C2, tokTypes: a3, keywordTypes: Je4, TokContext: F2, tokContexts: T3, isIdentifierChar: X5, isIdentifierStart: j2, Token: Qe3, isNewLine: Y, lineBreak: L4, lineBreakG: qi3, nonASCIIwhitespace: yt5 };
44702
+ A2.acorn = { Parser: A2, version: bs2, defaultOptions: Ue2, Position: ne3, SourceLocation: be3, getLineInfo: vt5, Node: Te3, TokenType: C2, tokTypes: a3, keywordTypes: Je4, TokContext: F2, tokContexts: T3, isIdentifierChar: X5, isIdentifierStart: j2, Token: Qe3, isNewLine: Y, lineBreak: L3, lineBreakG: qi3, nonASCIIwhitespace: yt5 };
44703
44703
  Si3 = ut2($e2(), 1);
44704
44704
  Ae4 = As2;
44705
44705
  ks2 = Array.prototype.findLast ?? function(e) {
@@ -45290,7 +45290,7 @@ var Ci4, _i4, Ti4, an3 = (t) => {
45290
45290
  for (let s of e)
45291
45291
  this.visit(s, n);
45292
45292
  }
45293
- }, kn2, bn2, L5, An2, pe3 = 0, os6 = 9, Ie4 = 10, Ni4 = 11, Pi4 = 12, Li4 = 13, as3 = 32, Mi3 = 33, ls3 = 34, Ri4 = 35, Wt5 = 36, $i4 = 37, In2 = 38, cs3 = 39, ve5 = 40, q6 = 41, Nn = 42, us3 = 43, Q5 = 44, ps3 = 45, H5 = 46, Fe4 = 47, j3 = 58, fe3 = 59, Di4 = 60, k5 = 61, Bi4 = 62, Pn2 = 63, Oi4 = 48, Fi4 = 57, qt3 = 65, Vi4 = 69, jt4 = 90, te4 = 91, it4 = 92, G4 = 93, Ui4 = 94, Xe4 = 95, hs3 = 97, Hi4 = 101, Wi4 = 102, qi4 = 110, ji4 = 114, zi4 = 116, Gi4 = 117, Xi4 = 118, fs22 = 122, Ve5 = 123, Ln2 = 124, K5 = 125, ds3 = 160, $t4 = 96, Ue3 = class t {
45293
+ }, kn2, bn2, L4, An2, pe3 = 0, os6 = 9, Ie4 = 10, Ni4 = 11, Pi4 = 12, Li4 = 13, as3 = 32, Mi3 = 33, ls3 = 34, Ri4 = 35, Wt5 = 36, $i4 = 37, In2 = 38, cs3 = 39, ve5 = 40, q6 = 41, Nn = 42, us3 = 43, Q5 = 44, ps3 = 45, H5 = 46, Fe4 = 47, j3 = 58, fe3 = 59, Di4 = 60, k5 = 61, Bi4 = 62, Pn2 = 63, Oi4 = 48, Fi4 = 57, qt3 = 65, Vi4 = 69, jt4 = 90, te4 = 91, it4 = 92, G4 = 93, Ui4 = 94, Xe4 = 95, hs3 = 97, Hi4 = 101, Wi4 = 102, qi4 = 110, ji4 = 114, zi4 = 116, Gi4 = 117, Xi4 = 118, fs22 = 122, Ve5 = 123, Ln2 = 124, K5 = 125, ds3 = 160, $t4 = 96, Ue3 = class t {
45294
45294
  file;
45295
45295
  offset;
45296
45296
  line;
@@ -47400,7 +47400,7 @@ var init_angular = __esm(() => {
47400
47400
  })(bn2 || (bn2 = {}));
47401
47401
  (function(t) {
47402
47402
  t[t.Property = 0] = "Property", t[t.Attribute = 1] = "Attribute", t[t.Class = 2] = "Class", t[t.Style = 3] = "Style", t[t.LegacyAnimation = 4] = "LegacyAnimation", t[t.TwoWay = 5] = "TwoWay", t[t.Animation = 6] = "Animation";
47403
- })(L5 || (L5 = {}));
47403
+ })(L4 || (L4 = {}));
47404
47404
  (function(t) {
47405
47405
  t[t.RAW_TEXT = 0] = "RAW_TEXT", t[t.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t[t.PARSABLE_DATA = 2] = "PARSABLE_DATA";
47406
47406
  })(An2 || (An2 = {}));
@@ -47558,7 +47558,7 @@ var init_angular = __esm(() => {
47558
47558
  (function(t) {
47559
47559
  t[t.None = 0] = "None", t[t.ViewContextRead = 1] = "ViewContextRead", t[t.ViewContextWrite = 2] = "ViewContextWrite", t[t.SideEffectful = 4] = "SideEffectful";
47560
47560
  })(ns3 || (ns3 = {}));
47561
- Ao2 = new Map([[L5.Property, M5.Property], [L5.TwoWay, M5.TwoWayProperty], [L5.Attribute, M5.Attribute], [L5.Class, M5.ClassName], [L5.Style, M5.StyleProperty], [L5.LegacyAnimation, M5.LegacyAnimation], [L5.Animation, M5.Animation]]);
47561
+ Ao2 = new Map([[L4.Property, M5.Property], [L4.TwoWay, M5.TwoWayProperty], [L4.Attribute, M5.Attribute], [L4.Class, M5.ClassName], [L4.Style, M5.StyleProperty], [L4.LegacyAnimation, M5.LegacyAnimation], [L4.Animation, M5.Animation]]);
47562
47562
  Io2 = Symbol("queryAdvancePlaceholder");
47563
47563
  (function(t) {
47564
47564
  t[t.NG_CONTENT = 0] = "NG_CONTENT", t[t.STYLE = 1] = "STYLE", t[t.STYLESHEET = 2] = "STYLESHEET", t[t.SCRIPT = 3] = "SCRIPT", t[t.OTHER = 4] = "OTHER";
@@ -48430,7 +48430,7 @@ function M6(a) {
48430
48430
  let t = a.range?.[0] ?? a.start, e = (a.declaration?.decorators ?? a.decorators)?.[0];
48431
48431
  return e ? Math.min(M6(e), t) : t;
48432
48432
  }
48433
- function L6(a) {
48433
+ function L5(a) {
48434
48434
  return a.range?.[1] ?? a.end;
48435
48435
  }
48436
48436
  function yr4(a) {
@@ -48456,7 +48456,7 @@ function Ar4(a) {
48456
48456
  let t;
48457
48457
  for (let e = a.length - 1;e >= 0; e--) {
48458
48458
  let s = a[e];
48459
- if (t && L6(s) === M6(t) && Ct7(s) && Ct7(t) && (a.splice(e + 1, 1), s.value += "*//*" + t.value, s.range = [M6(s), L6(t)]), !gs4(s) && !se5(s))
48459
+ if (t && L5(s) === M6(t) && Ct7(s) && Ct7(t) && (a.splice(e + 1, 1), s.value += "*//*" + t.value, s.range = [M6(s), L5(t)]), !gs4(s) && !se5(s))
48460
48460
  throw new TypeError(`Unknown comment type: "${s.type}".`);
48461
48461
  t = s;
48462
48462
  }
@@ -48514,13 +48514,13 @@ function Ir3(a, t) {
48514
48514
  case "ParenthesizedExpression": {
48515
48515
  let { expression: l } = h, u = M6(h);
48516
48516
  if (l.type === "TypeCastExpression")
48517
- return l.range = [u, L6(h)], l;
48517
+ return l.range = [u, L5(h)], l;
48518
48518
  let f = false;
48519
48519
  if (!r) {
48520
48520
  if (!o) {
48521
48521
  o = [];
48522
48522
  for (let x of i)
48523
- Ts3(x) && o.push(L6(x));
48523
+ Ts3(x) && o.push(L5(x));
48524
48524
  }
48525
48525
  let d = xs5(0, o, (x) => x <= u);
48526
48526
  f = d && s.slice(d, u).trim().length === 0;
@@ -48533,13 +48533,13 @@ function Ir3(a, t) {
48533
48533
  break;
48534
48534
  case "TemplateElement":
48535
48535
  if (e === "flow" || e === "hermes" || e === "espree" || e === "typescript" || r) {
48536
- let l = M6(h) + 1, u = L6(h) - (h.tail ? 1 : 2);
48536
+ let l = M6(h) + 1, u = L5(h) - (h.tail ? 1 : 2);
48537
48537
  h.range = [l, u];
48538
48538
  }
48539
48539
  break;
48540
48540
  case "VariableDeclaration": {
48541
48541
  let l = Ps5(0, h.declarations, -1);
48542
- l?.init && s[L6(l)] !== ";" && (h.range = [M6(h), L6(l)]);
48542
+ l?.init && s[L5(l)] !== ";" && (h.range = [M6(h), L5(l)]);
48543
48543
  break;
48544
48544
  }
48545
48545
  case "TSParenthesizedType":
@@ -48572,7 +48572,7 @@ function Is5(a) {
48572
48572
  return a.type === "LogicalExpression" && a.right.type === "LogicalExpression" && a.operator === a.right.operator;
48573
48573
  }
48574
48574
  function It6(a) {
48575
- return Is5(a) ? It6({ type: "LogicalExpression", operator: a.operator, left: It6({ type: "LogicalExpression", operator: a.operator, left: a.left, right: a.right.left, range: [M6(a.left), L6(a.right.left)] }), right: a.right.right, range: [M6(a), L6(a)] }) : a;
48575
+ return Is5(a) ? It6({ type: "LogicalExpression", operator: a.operator, left: It6({ type: "LogicalExpression", operator: a.operator, left: a.left, right: a.right.left, range: [M6(a.left), L5(a.right.left)] }), right: a.right.right, range: [M6(a), L5(a)] }) : a;
48576
48576
  }
48577
48577
  function Nr4(a, t) {
48578
48578
  let e = new SyntaxError(a + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
@@ -48625,7 +48625,7 @@ function Us5(a) {
48625
48625
  return Os4.some((e) => Object.prototype.hasOwnProperty.call(t, e));
48626
48626
  }
48627
48627
  function _r4(a) {
48628
- return a = typeof a == "function" ? { parse: a } : a, { astFormat: "estree", hasPragma: Rs5, hasIgnorePragma: Us5, locStart: M6, locEnd: L6, ...a };
48628
+ return a = typeof a == "function" ? { parse: a } : a, { astFormat: "estree", hasPragma: Rs5, hasIgnorePragma: Us5, locStart: M6, locEnd: L5, ...a };
48629
48629
  }
48630
48630
  function _s4(a) {
48631
48631
  if (typeof a == "string") {
@@ -88962,7 +88962,7 @@ function Pt8(e) {
88962
88962
  function tt8(e) {
88963
88963
  return e === o3.BANG || e === o3.DOLLAR || e === o3.AMP || e === o3.PAREN_L || e === o3.PAREN_R || e === o3.DOT || e === o3.SPREAD || e === o3.COLON || e === o3.EQUALS || e === o3.AT || e === o3.BRACKET_L || e === o3.BRACKET_R || e === o3.BRACE_L || e === o3.PIPE || e === o3.BRACE_R;
88964
88964
  }
88965
- function L7(e) {
88965
+ function L6(e) {
88966
88966
  return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
88967
88967
  }
88968
88968
  function K8(e, t) {
@@ -89044,7 +89044,7 @@ function wt8(e, t) {
89044
89044
  return Mt8(e, r, s);
89045
89045
  if (pe6(s))
89046
89046
  return jt6(e, r);
89047
- throw h3(e.source, r, s === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : L7(s) || K8(n, r) ? `Unexpected character: ${R8(e, r)}.` : `Invalid character: ${R8(e, r)}.`);
89047
+ throw h3(e.source, r, s === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : L6(s) || K8(n, r) ? `Unexpected character: ${R8(e, r)}.` : `Invalid character: ${R8(e, r)}.`);
89048
89048
  }
89049
89049
  return m4(e, o3.EOF, i, i);
89050
89050
  }
@@ -89054,7 +89054,7 @@ function Ft8(e, t) {
89054
89054
  let s = n.charCodeAt(r);
89055
89055
  if (s === 10 || s === 13)
89056
89056
  break;
89057
- if (L7(s))
89057
+ if (L6(s))
89058
89058
  ++r;
89059
89059
  else if (K8(n, r))
89060
89060
  r += 2;
@@ -89096,7 +89096,7 @@ function Vt8(e, t) {
89096
89096
  }
89097
89097
  if (u === 10 || u === 13)
89098
89098
  break;
89099
- if (L7(u))
89099
+ if (L6(u))
89100
89100
  ++r;
89101
89101
  else if (K8(n, r))
89102
89102
  r += 2;
@@ -89110,7 +89110,7 @@ function Bt6(e, t) {
89110
89110
  for (;r < 12; ) {
89111
89111
  let s = n.charCodeAt(t + r++);
89112
89112
  if (s === 125) {
89113
- if (r < 5 || !L7(i))
89113
+ if (r < 5 || !L6(i))
89114
89114
  break;
89115
89115
  return { value: String.fromCodePoint(i), size: r };
89116
89116
  }
@@ -89121,7 +89121,7 @@ function Bt6(e, t) {
89121
89121
  }
89122
89122
  function Ut7(e, t) {
89123
89123
  let n = e.source.body, i = et9(n, t + 2);
89124
- if (L7(i))
89124
+ if (L6(i))
89125
89125
  return { value: String.fromCodePoint(i), size: 6 };
89126
89126
  if (nt9(i) && n.charCodeAt(t + 6) === 92 && n.charCodeAt(t + 7) === 117) {
89127
89127
  let r = et9(n, t + 8);
@@ -89177,7 +89177,7 @@ function Yt5(e, t) {
89177
89177
  u += n.slice(a, s), p.push(u), T === 13 && n.charCodeAt(s + 1) === 10 ? s += 2 : ++s, u = "", a = s, r = s;
89178
89178
  continue;
89179
89179
  }
89180
- if (L7(T))
89180
+ if (L6(T))
89181
89181
  ++s;
89182
89182
  else if (K8(n, s))
89183
89183
  s += 2;
@@ -90047,7 +90047,7 @@ function ar7(e, t) {
90047
90047
  }
90048
90048
  }
90049
90049
  }
90050
- function L8(e, t = nn6) {
90050
+ function L7(e, t = nn6) {
90051
90051
  return ar7(e, (r) => typeof r == "string" ? q9(t, r.split(`
90052
90052
  `)) : r);
90053
90053
  }
@@ -90425,7 +90425,7 @@ function Hn4(e, t) {
90425
90425
  return n === "script" && i === "setup" || n === "style" && i === "vars";
90426
90426
  }
90427
90427
  function Dt8(e, t = e.value) {
90428
- return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? L8(t) : L8(y4.dedentString(fr7(t)), v7) : q9(_7, y4.split(t));
90428
+ return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? L7(t) : L7(y4.dedentString(fr7(t)), v7) : q9(_7, y4.split(t));
90429
90429
  }
90430
90430
  function It9(e, t) {
90431
90431
  return me9(e, t) && e.name === "script";
@@ -90444,12 +90444,12 @@ async function Wn4(e, t, r) {
90444
90444
  let n = b6(r.node), i = [];
90445
90445
  for (let [s, a] of n.split(Vn3).entries())
90446
90446
  if (s % 2 === 0)
90447
- i.push(L8(a));
90447
+ i.push(L7(a));
90448
90448
  else
90449
90449
  try {
90450
90450
  i.push(C5(["{{", A6([_7, await x6(a, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: true })]), _7, "}}"]));
90451
90451
  } catch {
90452
- i.push("{{", L8(a), "}}");
90452
+ i.push("{{", L7(a), "}}");
90453
90453
  }
90454
90454
  return i;
90455
90455
  }
@@ -90683,7 +90683,7 @@ function Ga3(e, t, r) {
90683
90683
  let { node: n } = e;
90684
90684
  if (!Ie8(n.attrs))
90685
90685
  return n.isSelfClosing ? " " : "";
90686
- let i = n.prev?.kind === "comment" && Wa3(n.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (d) => i.includes(d.rawName) : () => false, a = e.map(({ node: d }) => s(d) ? L8(t.originalText.slice(Q9(d), te8(d))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, u = t.singleAttributePerLine && n.attrs.length > 1 && !me9(n, t) ? v7 : _7, p = [A6([o ? " " : _7, q9(u, a)])];
90686
+ let i = n.prev?.kind === "comment" && Wa3(n.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (d) => i.includes(d.rawName) : () => false, a = e.map(({ node: d }) => s(d) ? L7(t.originalText.slice(Q9(d), te8(d))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, u = t.singleAttributePerLine && n.attrs.length > 1 && !me9(n, t) ? v7 : _7, p = [A6([o ? " " : _7, q9(u, a)])];
90687
90687
  return n.firstChild && tt9(n.firstChild) || n.isSelfClosing && ge8(n.parent) || o ? p.push(n.isSelfClosing ? " " : "") : p.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? _7 : k8), p;
90688
90688
  }
90689
90689
  function $a4(e) {
@@ -90813,7 +90813,7 @@ function st8(e, t, r) {
90813
90813
  let n = e.node;
90814
90814
  if (he8(n)) {
90815
90815
  let i = ki7(n);
90816
- return [U8(n, t), L8(y4.trimEnd(t.originalText.slice(Q9(n) + (n.prev && et10(n.prev) ? Bt7(n).length : 0), i - (n.next && $8(n.next) ? de7(n, t).length : 0)))), V8(n, t)];
90816
+ return [U8(n, t), L7(y4.trimEnd(t.originalText.slice(Q9(n) + (n.prev && et10(n.prev) ? Bt7(n).length : 0), i - (n.next && $8(n.next) ? de7(n, t).length : 0)))), V8(n, t)];
90817
90817
  }
90818
90818
  return r();
90819
90819
  }
@@ -90877,7 +90877,7 @@ function Li6(e, t, r) {
90877
90877
  function Pi6(e, t, r) {
90878
90878
  let { node: n } = e;
90879
90879
  if (Nt9(n, t))
90880
- return [U8(n, t), C5(rt10(e, t, r)), L8(qt7(n, t)), ...Ze9(n, t), V8(n, t)];
90880
+ return [U8(n, t), C5(rt10(e, t, r)), L7(qt7(n, t)), ...Ze9(n, t), V8(n, t)];
90881
90881
  let i = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = Symbol("element-attr-group-id"), a = (p) => C5([C5(rt10(e, t, r), { id: s }), p, Ze9(n, t)]), o = (p) => i ? ln5(p, { groupId: s }) : (H9(n, t) || Je9(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : A6(p), c = () => i ? X9(k8, "", { groupId: s }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _7 : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? on9(k8) : k8, u = () => (n.next ? $8(n.next) : ge8(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : i ? X9(k8, "", { groupId: s }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _7 : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : k8;
90882
90882
  return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _7 : "") : a([Pn4(n) ? j6 : "", o([c(), Re8(e, t, r)]), u()]);
90883
90883
  }
@@ -91215,7 +91215,7 @@ function sl3(e, t, r) {
91215
91215
  case "text": {
91216
91216
  if (n.parent.kind === "interpolation") {
91217
91217
  let o = /\n[^\S\n]*$/u, c = o.test(n.value), u = c ? n.value.replace(o, "") : n.value;
91218
- return [L8(u), c ? v7 : ""];
91218
+ return [L7(u), c ? v7 : ""];
91219
91219
  }
91220
91220
  let i = U8(n, t), s = Dt8(n), a = V8(n, t);
91221
91221
  return s[0] = [i, s[0]], s.push([s.pop(), a]), xt8(s);
@@ -91223,12 +91223,12 @@ function sl3(e, t, r) {
91223
91223
  case "docType":
91224
91224
  return [C5([Se8(n, t), " ", w5(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe7(n, t)];
91225
91225
  case "comment":
91226
- return [U8(n, t), L8(t.originalText.slice(Q9(n), te8(n))), V8(n, t)];
91226
+ return [U8(n, t), L7(t.originalText.slice(Q9(n), te8(n))), V8(n, t)];
91227
91227
  case "attribute": {
91228
91228
  if (n.value === null)
91229
91229
  return n.rawName;
91230
91230
  let i = Sr5(n.value), s = Rt8(n, t) ? "" : pn5(i, '"');
91231
- return [n.rawName, "=", s, L8(s === '"' ? w5(0, i, '"', "&quot;") : w5(0, i, "'", "&apos;")), s];
91231
+ return [n.rawName, "=", s, L7(s === '"' ? w5(0, i, '"', "&quot;") : w5(0, i, "'", "&apos;")), s];
91232
91232
  }
91233
91233
  case "frontMatter":
91234
91234
  case "cdata":
@@ -98043,7 +98043,7 @@ function ue9(e, t, n, u, o, i) {
98043
98043
  function At12(e, t, n, u, o, i) {
98044
98044
  let { tokenStart: l } = e, f = e.getToken(), c = null, g = Zt9(e, t, n, u, o, i);
98045
98045
  if (e.getToken() === 1077936155) {
98046
- if (r(e, t | 32), c = L9(e, t, u, 1, 0, e.tokenStart), (i & 32 || (f & 2097152) === 0) && (e.getToken() === 471156 || e.getToken() === 8673330 && (f & 2097152 || (o & 4) === 0 || t & 1)))
98046
+ if (r(e, t | 32), c = L8(e, t, u, 1, 0, e.tokenStart), (i & 32 || (f & 2097152) === 0) && (e.getToken() === 471156 || e.getToken() === 8673330 && (f & 2097152 || (o & 4) === 0 || t & 1)))
98047
98047
  throw new q11(l, e.currentLocation, 60, e.getToken() === 471156 ? "of" : "in");
98048
98048
  } else
98049
98049
  (o & 16 || (f & 2097152) > 0) && (e.getToken() & 262144) !== 262144 && e.report(59, o & 16 ? "const" : "destructuring");
@@ -98066,7 +98066,7 @@ function Ln5(e, t, n, u, o) {
98066
98066
  d = _8(e, t | 131072, u, 1, 0, 1);
98067
98067
  if ((e.getToken() & 262144) === 262144) {
98068
98068
  if (e.getToken() === 471156) {
98069
- e.assignable & 2 && e.report(80, l ? "await" : "of"), K10(e, d), r(e, t | 32), h = L9(e, t, u, 1, 0, e.tokenStart), y5(e, t | 32, 16);
98069
+ e.assignable & 2 && e.report(80, l ? "await" : "of"), K10(e, d), r(e, t | 32), h = L8(e, t, u, 1, 0, e.tokenStart), y5(e, t | 32, 16);
98070
98070
  let D = de9(e, t, n, u, o);
98071
98071
  return e.finishNode({ type: "ForOfStatement", left: d, right: h, body: D, await: l }, i);
98072
98072
  }
@@ -98167,7 +98167,7 @@ function Pn6(e, t, n) {
98167
98167
  break;
98168
98168
  }
98169
98169
  default:
98170
- i = L9(e, t, undefined, 1, 0, e.tokenStart), M10(e, t | 32);
98170
+ i = L8(e, t, undefined, 1, 0, e.tokenStart), M10(e, t | 32);
98171
98171
  }
98172
98172
  return n && e.declareUnboundVariable("default"), e.finishNode({ type: "ExportDefaultDeclaration", declaration: i }, u);
98173
98173
  }
@@ -98220,25 +98220,25 @@ function Pn6(e, t, n) {
98220
98220
  let c = { type: "ExportNamedDeclaration", declaration: i, specifiers: o, source: l, attributes: f };
98221
98221
  return e.finishNode(c, u);
98222
98222
  }
98223
- function L9(e, t, n, u, o, i) {
98223
+ function L8(e, t, n, u, o, i) {
98224
98224
  let l = U10(e, t, n, 2, 0, u, o, 1, i);
98225
98225
  return l = F8(e, t, n, l, o, 0, i), I8(e, t, n, o, 0, i, l);
98226
98226
  }
98227
98227
  function W11(e, t, n, u, o, i) {
98228
98228
  let l = [i];
98229
98229
  for (;C6(e, t | 32, 18); )
98230
- l.push(L9(e, t, n, 1, u, e.tokenStart));
98230
+ l.push(L8(e, t, n, 1, u, e.tokenStart));
98231
98231
  return e.finishNode({ type: "SequenceExpression", expressions: l }, o);
98232
98232
  }
98233
98233
  function V10(e, t, n, u, o, i) {
98234
- let l = L9(e, t, n, o, u, i);
98234
+ let l = L8(e, t, n, o, u, i);
98235
98235
  return e.getToken() === 18 ? W11(e, t, n, u, i, l) : l;
98236
98236
  }
98237
98237
  function I8(e, t, n, u, o, i, l) {
98238
98238
  let f = e.getToken();
98239
98239
  if ((f & 4194304) === 4194304) {
98240
98240
  e.assignable & 2 && e.report(26), (!o && f === 1077936155 && l.type === "ArrayExpression" || l.type === "ObjectExpression") && K10(e, l), r(e, t | 32);
98241
- let c = L9(e, t, n, 1, u, e.tokenStart);
98241
+ let c = L8(e, t, n, 1, u, e.tokenStart);
98242
98242
  return e.assignable = 2, e.finishNode(o ? { type: "AssignmentPattern", left: l, right: c } : { type: "AssignmentExpression", left: l, operator: B6[f & 255], right: c }, i);
98243
98243
  }
98244
98244
  return (f & 8388608) === 8388608 && (l = G9(e, t, n, u, i, 4, f, l)), C6(e, t | 32, 22) && (l = ee7(e, t, n, l, i)), l;
@@ -98246,13 +98246,13 @@ function I8(e, t, n, u, o, i, l) {
98246
98246
  function be10(e, t, n, u, o, i, l) {
98247
98247
  let f = e.getToken();
98248
98248
  r(e, t | 32);
98249
- let c = L9(e, t, n, 1, u, e.tokenStart);
98249
+ let c = L8(e, t, n, 1, u, e.tokenStart);
98250
98250
  return l = e.finishNode(o ? { type: "AssignmentPattern", left: l, right: c } : { type: "AssignmentExpression", left: l, operator: B6[f & 255], right: c }, i), e.assignable = 2, l;
98251
98251
  }
98252
98252
  function ee7(e, t, n, u, o) {
98253
- let i = L9(e, (t | 131072) ^ 131072, n, 1, 0, e.tokenStart);
98253
+ let i = L8(e, (t | 131072) ^ 131072, n, 1, 0, e.tokenStart);
98254
98254
  y5(e, t | 32, 21), e.assignable = 1;
98255
- let l = L9(e, t, n, 1, 0, e.tokenStart);
98255
+ let l = L8(e, t, n, 1, 0, e.tokenStart);
98256
98256
  return e.assignable = 2, e.finishNode({ type: "ConditionalExpression", test: u, consequent: i, alternate: l }, o);
98257
98257
  }
98258
98258
  function G9(e, t, n, u, o, i, l, f) {
@@ -98282,7 +98282,7 @@ function Rn4(e, t, n, u, o, i) {
98282
98282
  if (u && (e.destructible |= 256), t & 1024) {
98283
98283
  r(e, t | 32), t & 8192 && e.report(32), o || e.report(26), e.getToken() === 22 && e.report(124);
98284
98284
  let l = null, f = false;
98285
- return (e.flags & 1) === 0 ? (f = C6(e, t | 32, 8391476), (e.getToken() & 77824 || f) && (l = L9(e, t, n, 1, 0, e.tokenStart))) : e.getToken() === 8391476 && e.report(30, B6[e.getToken() & 255]), e.assignable = 2, e.finishNode({ type: "YieldExpression", argument: l, delegate: f }, i);
98285
+ return (e.flags & 1) === 0 ? (f = C6(e, t | 32, 8391476), (e.getToken() & 77824 || f) && (l = L8(e, t, n, 1, 0, e.tokenStart))) : e.getToken() === 8391476 && e.report(30, B6[e.getToken() & 255]), e.assignable = 2, e.finishNode({ type: "YieldExpression", argument: l, delegate: f }, i);
98286
98286
  }
98287
98287
  return t & 1 && e.report(97, "yield"), nt11(e, t, n);
98288
98288
  }
@@ -98505,11 +98505,11 @@ function Xt8(e, t, n, u) {
98505
98505
  }
98506
98506
  function jt7(e, t, n, u, o) {
98507
98507
  y5(e, t | 32, 67174411), e.getToken() === 14 && e.report(143);
98508
- let i = L9(e, t, n, 1, u, e.tokenStart), l = null;
98508
+ let i = L8(e, t, n, 1, u, e.tokenStart), l = null;
98509
98509
  if (e.getToken() === 18) {
98510
98510
  if (y5(e, t, 18), e.getToken() !== 16) {
98511
98511
  let c = (t | 131072) ^ 131072;
98512
- l = L9(e, c, n, 1, u, e.tokenStart);
98512
+ l = L8(e, c, n, 1, u, e.tokenStart);
98513
98513
  }
98514
98514
  C6(e, t, 18);
98515
98515
  }
@@ -98586,7 +98586,7 @@ function Ee9(e, t, n, u, o) {
98586
98586
  function zn6(e, t, n) {
98587
98587
  let u = e.tokenStart;
98588
98588
  t = (t | 131072) ^ 131072, y5(e, t | 32, 14);
98589
- let o = L9(e, t, n, 1, 0, e.tokenStart);
98589
+ let o = L8(e, t, n, 1, 0, e.tokenStart);
98590
98590
  return e.assignable = 1, e.finishNode({ type: "SpreadElement", argument: o }, u);
98591
98591
  }
98592
98592
  function tt10(e, t, n, u) {
@@ -98594,7 +98594,7 @@ function tt10(e, t, n, u) {
98594
98594
  let o = [];
98595
98595
  if (e.getToken() === 16)
98596
98596
  return r(e, t | 64), o;
98597
- for (;e.getToken() !== 16 && (e.getToken() === 14 ? o.push(zn6(e, t, n)) : o.push(L9(e, t, n, 1, u, e.tokenStart)), !(e.getToken() !== 18 || (r(e, t | 32), e.getToken() === 16))); )
98597
+ for (;e.getToken() !== 16 && (e.getToken() === 14 ? o.push(zn6(e, t, n)) : o.push(L8(e, t, n, 1, u, e.tokenStart)), !(e.getToken() !== 18 || (r(e, t | 32), e.getToken() === 16))); )
98598
98598
  ;
98599
98599
  return y5(e, t | 64, 16), o;
98600
98600
  }
@@ -98653,7 +98653,7 @@ function X11(e, t, n, u, o, i, l, f, c) {
98653
98653
  if (T & 143360)
98654
98654
  if (A = U10(e, t, u, f, 0, 1, i, 1, b), e.getToken() === 1077936155) {
98655
98655
  e.assignable & 2 && e.report(26), r(e, t | 32), n?.addVarOrBlock(t, w, f, c);
98656
- let D = L9(e, t, u, 1, i, e.tokenStart);
98656
+ let D = L8(e, t, u, 1, i, e.tokenStart);
98657
98657
  A = e.finishNode(l ? { type: "AssignmentPattern", left: A, right: D } : { type: "AssignmentExpression", operator: "=", left: A, right: D }, b), a |= e.destructible & 256 ? 256 : 0 | e.destructible & 128 ? 128 : 0;
98658
98658
  } else
98659
98659
  e.getToken() === 18 || e.getToken() === 20 ? (e.assignable & 2 ? a |= 16 : n?.addVarOrBlock(t, w, f, c), a |= e.destructible & 256 ? 256 : 0 | e.destructible & 128 ? 128 : 0) : (a |= f & 1 ? 32 : (f & 2) === 0 ? 16 : 0, A = F8(e, t, u, A, i, 0, b), e.getToken() !== 18 && e.getToken() !== 20 ? (e.getToken() !== 1077936155 && (a |= 16), A = I8(e, t, u, i, l, b, A)) : e.getToken() !== 1077936155 && (a |= e.assignable & 2 ? 16 : 32));
@@ -98671,7 +98671,7 @@ function X11(e, t, n, u, o, i, l, f, c) {
98671
98671
  }
98672
98672
  function Kt9(e, t, n, u, o, i, l, f) {
98673
98673
  e.getToken() !== 1077936155 && e.report(26), r(e, t | 32), u & 16 && e.report(26), i || K10(e, f);
98674
- let { tokenStart: c } = e, g = L9(e, t, n, 1, o, c);
98674
+ let { tokenStart: c } = e, g = L8(e, t, n, 1, o, c);
98675
98675
  return e.destructible = (u | 64 | 8) ^ 72 | (e.destructible & 128 ? 128 : 0) | (e.destructible & 256 ? 256 : 0), e.finishNode(i ? { type: "AssignmentPattern", left: f, right: g } : { type: "AssignmentExpression", left: f, operator: "=", right: g }, l);
98676
98676
  }
98677
98677
  function oe8(e, t, n, u, o, i, l, f, c, g) {
@@ -98692,7 +98692,7 @@ function oe8(e, t, n, u, o, i, l, f, c, g) {
98692
98692
  if (e.getToken() !== o)
98693
98693
  if (i & 1 && (h |= f ? 16 : 32), C6(e, t | 32, 1077936155)) {
98694
98694
  h & 16 && e.report(26), K10(e, a);
98695
- let T = L9(e, t, u, 1, c, e.tokenStart);
98695
+ let T = L8(e, t, u, 1, c, e.tokenStart);
98696
98696
  a = e.finishNode(g ? { type: "AssignmentPattern", left: a, right: T } : { type: "AssignmentExpression", left: a, operator: "=", right: T }, b), h = 16;
98697
98697
  } else
98698
98698
  h |= 16;
@@ -98724,7 +98724,7 @@ function j8(e, t, n, u, o, i, l, f, c) {
98724
98724
  if (e.getToken() === -2147483527 && (a |= 16), R = N9(e, t), e.getToken() === 18 || e.getToken() === 1074790415 || e.getToken() === 1077936155)
98725
98725
  if (D |= 4, t & 1 && (T & 537079808) === 537079808 ? a |= 16 : Be9(e, t, f, T, 0), n?.addVarOrBlock(t, b, f, c), C6(e, t | 32, 1077936155)) {
98726
98726
  a |= 8;
98727
- let E = L9(e, t, u, 1, i, e.tokenStart);
98727
+ let E = L8(e, t, u, 1, i, e.tokenStart);
98728
98728
  a |= e.destructible & 256 ? 256 : 0 | e.destructible & 128 ? 128 : 0, k = e.finishNode({ type: "AssignmentPattern", left: e.cloneIdentifier(R), right: E }, w);
98729
98729
  } else
98730
98730
  a |= (T === 209006 ? 128 : 0) | (T === -2147483528 ? 16 : 0), k = e.cloneIdentifier(R);
@@ -98795,7 +98795,7 @@ function Qn6(e, t, n, u, o, i, l) {
98795
98795
  let d = null, { tokenStart: a } = e;
98796
98796
  if (e.getToken() & 143360 ? ((t & 1) === 0 && ((e.getToken() & 36864) === 36864 && (e.flags |= 256), (e.getToken() & 537079808) === 537079808 && (e.flags |= 512)), d = it9(e, t, n, o | 1, 0)) : (e.getToken() === 2162700 ? d = j8(e, t, n, u, 1, l, 1, i, 0) : e.getToken() === 69271571 ? d = X11(e, t, n, u, 1, l, 1, i, 0) : e.getToken() === 14 && (d = oe8(e, t, n, u, 16, i, 0, 0, l, 1)), g = 1, e.destructible & 48 && e.report(50)), e.getToken() === 1077936155) {
98797
98797
  r(e, t | 32), g = 1;
98798
- let h = L9(e, t, u, 1, 0, e.tokenStart);
98798
+ let h = L8(e, t, u, 1, 0, e.tokenStart);
98799
98799
  d = e.finishNode({ type: "AssignmentPattern", left: d, right: h }, a);
98800
98800
  }
98801
98801
  if (c++, f.push(d), !C6(e, t, 18) || e.getToken() === 16)
@@ -98805,7 +98805,7 @@ function Qn6(e, t, n, u, o, i, l) {
98805
98805
  }
98806
98806
  function ne10(e, t, n, u) {
98807
98807
  r(e, t | 32);
98808
- let o = L9(e, (t | 131072) ^ 131072, n, 1, u, e.tokenStart);
98808
+ let o = L8(e, (t | 131072) ^ 131072, n, 1, u, e.tokenStart);
98809
98809
  return y5(e, t, 20), o;
98810
98810
  }
98811
98811
  function Zn7(e, t, n, u, o, i, l) {
@@ -98828,9 +98828,9 @@ function Zn7(e, t, n, u, o, i, l) {
98828
98828
  d = oe8(e, t, c, n, 16, o, i, 0, 1, 0), e.destructible & 16 && e.report(74), A = 1, h && (e.getToken() === 16 || e.getToken() === 18) && a.push(d), g |= 8;
98829
98829
  break;
98830
98830
  } else {
98831
- if (g |= 16, d = L9(e, t, n, 1, 1, T), h && (e.getToken() === 16 || e.getToken() === 18) && a.push(d), e.getToken() === 18 && (h || (h = 1, a = [d])), h) {
98831
+ if (g |= 16, d = L8(e, t, n, 1, 1, T), h && (e.getToken() === 16 || e.getToken() === 18) && a.push(d), e.getToken() === 18 && (h || (h = 1, a = [d])), h) {
98832
98832
  for (;C6(e, t | 32, 18); )
98833
- a.push(L9(e, t, n, 1, 1, e.tokenStart));
98833
+ a.push(L8(e, t, n, 1, 1, e.tokenStart));
98834
98834
  e.assignable = 2, d = e.finishNode({ type: "SequenceExpression", expressions: a }, w);
98835
98835
  }
98836
98836
  return y5(e, t, 16), e.destructible = g, e.options.preserveParens ? e.finishNode({ type: "ParenthesizedExpression", expression: d }, f) : d;
@@ -98871,7 +98871,7 @@ function ke9(e, t, n, u, o, i, l) {
98871
98871
  t = (t | f) ^ f | (i ? 2048 : 0);
98872
98872
  let c = e.getToken() !== 2162700, g;
98873
98873
  if (n?.reportScopeError(), c)
98874
- e.flags = (e.flags | 512 | 256 | 64 | 4096) ^ 4928, g = L9(e, t, u, 1, 0, e.tokenStart);
98874
+ e.flags = (e.flags | 512 | 256 | 64 | 4096) ^ 4928, g = L8(e, t, u, 1, 0, e.tokenStart);
98875
98875
  else {
98876
98876
  n = n?.createChildScope(64);
98877
98877
  let d = 131084;
@@ -98902,7 +98902,7 @@ function $t8(e, t, n, u, o, i) {
98902
98902
  let c, { tokenStart: g } = e, d = e.getToken();
98903
98903
  if (d & 143360 ? ((t & 1) === 0 && ((d & 36864) === 36864 && (e.flags |= 256), (d & 537079808) === 537079808 && (e.flags |= 512)), c = it9(e, t, n, i | 1, 0)) : (d === 2162700 ? c = j8(e, t, n, u, 1, o, 1, i, 0) : d === 69271571 ? c = X11(e, t, n, u, 1, o, 1, i, 0) : d === 14 ? c = oe8(e, t, n, u, 16, i, 0, 0, o, 1) : e.report(30, B6[d & 255]), f = 1, e.destructible & 48 && e.report(50)), e.getToken() === 1077936155) {
98904
98904
  r(e, t | 32), f = 1;
98905
- let a = L9(e, t, u, 1, o, e.tokenStart);
98905
+ let a = L8(e, t, u, 1, o, e.tokenStart);
98906
98906
  c = e.finishNode({ type: "AssignmentPattern", left: c, right: a }, g);
98907
98907
  }
98908
98908
  if (l.push(c), !C6(e, t, 18) || e.getToken() === 16)
@@ -98963,8 +98963,8 @@ function ut8(e, t, n, u, o, i, l, f, c) {
98963
98963
  else if (w === 14)
98964
98964
  a = oe8(e, t, g, n, 16, i, l, 1, 1, 0), d |= (e.getToken() === 16 ? 0 : 16) | e.destructible, h = 1;
98965
98965
  else {
98966
- for (a = L9(e, t, n, 1, 0, b), d = e.assignable, A.push(a);C6(e, t | 32, 18); )
98967
- A.push(L9(e, t, n, 1, 0, b));
98966
+ for (a = L8(e, t, n, 1, 0, b), d = e.assignable, A.push(a);C6(e, t | 32, 18); )
98967
+ A.push(L8(e, t, n, 1, 0, b));
98968
98968
  return d |= e.assignable, y5(e, t, 16), e.destructible = d | 16, e.assignable = 2, e.finishNode({ type: "CallExpression", callee: u, arguments: A, optional: false }, c);
98969
98969
  }
98970
98970
  if (A.push(a), !C6(e, t | 32, 18))
@@ -99213,7 +99213,7 @@ function au2(e, t, n) {
99213
99213
  function gu2(e, t, n) {
99214
99214
  let u = e.tokenStart;
99215
99215
  r(e, t), y5(e, t, 14);
99216
- let o = L9(e, t, n, 1, 0, e.tokenStart);
99216
+ let o = L8(e, t, n, 1, 0, e.tokenStart);
99217
99217
  return y5(e, t, 1074790415), e.finishNode({ type: "JSXSpreadAttribute", argument: o }, u);
99218
99218
  }
99219
99219
  function mu2(e, t, n) {
@@ -99250,11 +99250,11 @@ function ot9(e, t, n, u, o) {
99250
99250
  if (e.getToken() === 14)
99251
99251
  return ru2(e, t, n, i);
99252
99252
  let f = null;
99253
- return e.getToken() === 1074790415 ? (o && e.report(157), f = hu3(e, { index: e.startIndex, line: e.startLine, column: e.startColumn })) : f = L9(e, t, n, 1, 0, l), e.getToken() !== 1074790415 && e.report(25, B6[15]), u ? me11(e) : r(e, t), e.finishNode({ type: "JSXExpressionContainer", expression: f }, i);
99253
+ return e.getToken() === 1074790415 ? (o && e.report(157), f = hu3(e, { index: e.startIndex, line: e.startLine, column: e.startColumn })) : f = L8(e, t, n, 1, 0, l), e.getToken() !== 1074790415 && e.report(25, B6[15]), u ? me11(e) : r(e, t), e.finishNode({ type: "JSXExpressionContainer", expression: f }, i);
99254
99254
  }
99255
99255
  function ru2(e, t, n, u) {
99256
99256
  y5(e, t, 14);
99257
- let o = L9(e, t, n, 1, 0, e.tokenStart);
99257
+ let o = L8(e, t, n, 1, 0, e.tokenStart);
99258
99258
  return y5(e, t, 1074790415), e.finishNode({ type: "JSXSpreadChild", expression: o }, u);
99259
99259
  }
99260
99260
  function hu3(e, t) {
@@ -99871,7 +99871,7 @@ function Ml3(t) {
99871
99871
  function on11(t) {
99872
99872
  return Dl3(t, Ml3);
99873
99873
  }
99874
- function L10(t) {
99874
+ function L9(t) {
99875
99875
  return $10(t), { type: ie9, contents: t };
99876
99876
  }
99877
99877
  function Bl2(t, e) {
@@ -100449,7 +100449,7 @@ function hc2(t, e, s) {
100449
100449
  }
100450
100450
  }
100451
100451
  }
100452
- return f && c.push([c.pop(), Ne10]), d && c.unshift("", T6), l ? D6(L10(c)) : Qn7(t) ? D6(Pe9(c)) : D6(L10(Pe9(c)));
100452
+ return f && c.push([c.pop(), Ne10]), d && c.unshift("", T6), l ? D6(L9(c)) : Qn7(t) ? D6(Pe9(c)) : D6(L9(Pe9(c)));
100453
100453
  }
100454
100454
  function hi9(t) {
100455
100455
  if (t?.type === "value-number")
@@ -100539,7 +100539,7 @@ function bi9(t, e, s) {
100539
100539
  let g = is7(t);
100540
100540
  ye11(i);
100541
100541
  let b = Ac2(Y6(",", i), 2), d = Y6(g ? T6 : C7, b);
100542
- return L10(g ? [T6, d] : D6([Tc3(t) ? M11 : "", Pe9(d)]));
100542
+ return L9(g ? [T6, d] : D6([Tc3(t) ? M11 : "", Pe9(d)]));
100543
100543
  }
100544
100544
  let o = t.map(({ node: g, isLast: b, index: d }) => {
100545
100545
  let p = i[d];
@@ -100550,7 +100550,7 @@ function bi9(t, e, s) {
100550
100550
  !y.source && y.close && (y = y.close), y.source && Vt11(e.originalText, R11(y)) && m.push(T6);
100551
100551
  }
100552
100552
  return m;
100553
- }, "groups"), u = li9(r, n), a = pi9(r, n), l = ts7(t, e), f = a || l && !u, h = a || u, c = D6([r.open ? s("open") : "", L10([M11, Y6(C7, o)]), M11, r.close ? s("close") : ""], { shouldBreak: f });
100553
+ }, "groups"), u = li9(r, n), a = pi9(r, n), l = ts7(t, e), f = a || l && !u, h = a || u, c = D6([r.open ? s("open") : "", L9([M11, Y6(C7, o)]), M11, r.close ? s("close") : ""], { shouldBreak: f });
100554
100554
  return h ? le8(c) : c;
100555
100555
  }
100556
100556
  function is7(t) {
@@ -100587,10 +100587,10 @@ function Cc2(t, e, s) {
100587
100587
  return n ? i.trimEnd() : i;
100588
100588
  }
100589
100589
  case "css-rule":
100590
- return [s("selector"), r.important ? " !important" : "", r.nodes ? [r.selector?.type === "selector-unknown" && Le11(r.selector.value) ? C7 : r.selector ? " " : "", "{", r.nodes.length > 0 ? L10([T6, De10(t, e, s)]) : "", T6, "}", Zn8(r) ? ";" : ""] : ";"];
100590
+ return [s("selector"), r.important ? " !important" : "", r.nodes ? [r.selector?.type === "selector-unknown" && Le11(r.selector.value) ? C7 : r.selector ? " " : "", "{", r.nodes.length > 0 ? L9([T6, De10(t, e, s)]) : "", T6, "}", Zn8(r) ? ";" : ""] : ";"];
100591
100591
  case "css-decl": {
100592
100592
  let n = t.parent, { between: i } = r.raws, o = i.trim(), u = o === ":", a = typeof r.value == "string" && /^ *$/u.test(r.value), l = typeof r.value == "string" ? r.value : s("value");
100593
- return l = ai9(r) ? on11(l) : l, !u && Le11(o) && !t.call(() => is7(t), "value", "group", "group") && (l = L10([T6, le8(l)])), [E5(0, r.raws.before, /[\s;]/gu, ""), n.type === "css-atrule" && n.variable || Kn8(t) ? r.prop : Ie11(r.prop), o.startsWith("//") ? " " : "", o, r.extend || a ? "" : " ", e.parser === "less" && r.extend && r.selector ? ["extend(", s("selector"), ")"] : "", l, r.raws.important ? r.raws.important.replace(/\s*!\s*important/iu, " !important") : r.important ? " !important" : "", r.raws.scssDefault ? r.raws.scssDefault.replace(/\s*!default/iu, " !default") : r.scssDefault ? " !default" : "", r.raws.scssGlobal ? r.raws.scssGlobal.replace(/\s*!global/iu, " !global") : r.scssGlobal ? " !global" : "", r.nodes ? [" {", L10([M11, De10(t, e, s)]), M11, "}"] : ii9(r) && !n.raws.semicolon && e.originalText[R11(r) - 1] !== ";" ? "" : e.__isHTMLStyleAttribute && t.isLast ? Ct13(";") : ";"];
100593
+ return l = ai9(r) ? on11(l) : l, !u && Le11(o) && !t.call(() => is7(t), "value", "group", "group") && (l = L9([T6, le8(l)])), [E5(0, r.raws.before, /[\s;]/gu, ""), n.type === "css-atrule" && n.variable || Kn8(t) ? r.prop : Ie11(r.prop), o.startsWith("//") ? " " : "", o, r.extend || a ? "" : " ", e.parser === "less" && r.extend && r.selector ? ["extend(", s("selector"), ")"] : "", l, r.raws.important ? r.raws.important.replace(/\s*!\s*important/iu, " !important") : r.important ? " !important" : "", r.raws.scssDefault ? r.raws.scssDefault.replace(/\s*!default/iu, " !default") : r.scssDefault ? " !default" : "", r.raws.scssGlobal ? r.raws.scssGlobal.replace(/\s*!global/iu, " !global") : r.scssGlobal ? " !global" : "", r.nodes ? [" {", L9([M11, De10(t, e, s)]), M11, "}"] : ii9(r) && !n.raws.semicolon && e.originalText[R11(r) - 1] !== ";" ? "" : e.__isHTMLStyleAttribute && t.isLast ? Ct13(";") : ";"];
100594
100594
  }
100595
100595
  case "css-atrule": {
100596
100596
  let n = t.parent, i = Mt12(r) && !n.raws.semicolon && e.originalText[R11(r) - 1] !== ";";
@@ -100600,16 +100600,16 @@ function Cc2(t, e, s) {
100600
100600
  if (r.function)
100601
100601
  return [r.name, typeof r.params == "string" ? r.params : s("params"), i ? "" : ";"];
100602
100602
  if (r.variable)
100603
- return ["@", r.name, ": ", r.value ? s("value") : "", r.raws.between.trim() ? r.raws.between.trim() + " " : "", r.nodes ? ["{", L10([r.nodes.length > 0 ? M11 : "", De10(t, e, s)]), M11, "}"] : "", i ? "" : ";"];
100603
+ return ["@", r.name, ": ", r.value ? s("value") : "", r.raws.between.trim() ? r.raws.between.trim() + " " : "", r.nodes ? ["{", L9([r.nodes.length > 0 ? M11 : "", De10(t, e, s)]), M11, "}"] : "", i ? "" : ";"];
100604
100604
  }
100605
100605
  let o = r.name === "import" && r.params?.type === "value-unknown" && r.params.value.endsWith(";");
100606
- return ["@", es7(r) || r.name.endsWith(":") || Mt12(r) ? r.name : Ie11(r.name), r.params ? [es7(r) ? "" : Mt12(r) ? r.raws.afterName === "" ? "" : r.name.endsWith(":") ? " " : /^\s*\n\s*\n/u.test(r.raws.afterName) ? [T6, T6] : /^\s*\n/u.test(r.raws.afterName) ? T6 : " " : " ", typeof r.params == "string" ? r.params : s("params")] : "", r.selector ? L10([" ", s("selector")]) : "", r.value ? D6([" ", s("value"), Je11(r, e) ? ui9(r) ? " " : C7 : ""]) : r.name === "else" ? " " : "", r.nodes ? [Je11(r, e) ? "" : r.selector && !r.selector.nodes && typeof r.selector.value == "string" && Le11(r.selector.value) || !r.selector && typeof r.params == "string" && Le11(r.params) ? C7 : " ", "{", L10([r.nodes.length > 0 ? M11 : "", De10(t, e, s)]), M11, "}"] : i || o ? "" : ";"];
100606
+ return ["@", es7(r) || r.name.endsWith(":") || Mt12(r) ? r.name : Ie11(r.name), r.params ? [es7(r) ? "" : Mt12(r) ? r.raws.afterName === "" ? "" : r.name.endsWith(":") ? " " : /^\s*\n\s*\n/u.test(r.raws.afterName) ? [T6, T6] : /^\s*\n/u.test(r.raws.afterName) ? T6 : " " : " ", typeof r.params == "string" ? r.params : s("params")] : "", r.selector ? L9([" ", s("selector")]) : "", r.value ? D6([" ", s("value"), Je11(r, e) ? ui9(r) ? " " : C7 : ""]) : r.name === "else" ? " " : "", r.nodes ? [Je11(r, e) ? "" : r.selector && !r.selector.nodes && typeof r.selector.value == "string" && Le11(r.selector.value) || !r.selector && typeof r.params == "string" && Le11(r.params) ? C7 : " ", "{", L9([r.nodes.length > 0 ? M11 : "", De10(t, e, s)]), M11, "}"] : i || o ? "" : ";"];
100607
100607
  }
100608
100608
  case "media-query-list": {
100609
100609
  let n = [];
100610
100610
  return t.each(({ node: i }) => {
100611
100611
  i.type === "media-query" && i.value === "" || n.push(s());
100612
- }, "nodes"), D6(L10(Y6(C7, n)));
100612
+ }, "nodes"), D6(L9(Y6(C7, n)));
100613
100613
  }
100614
100614
  case "media-query":
100615
100615
  return [Y6(" ", t.map(s, "nodes")), t.isLast ? "" : ","];
@@ -100633,7 +100633,7 @@ function Cc2(t, e, s) {
100633
100633
  return D6([we9(t, "custom-selector") ? [t.findAncestor((n) => n.type === "css-atrule").customSelector, C7] : "", Y6([",", we9(t, ["extend", "custom-selector", "nest"]) ? C7 : T6], t.map(s, "nodes"))]);
100634
100634
  case "selector-selector": {
100635
100635
  let n = r.nodes.length > 2;
100636
- return D6((n ? L10 : (i) => i)(t.map(s, "nodes")));
100636
+ return D6((n ? L9 : (i) => i)(t.map(s, "nodes")));
100637
100637
  }
100638
100638
  case "selector-comment":
100639
100639
  return r.value;
@@ -100658,7 +100658,7 @@ function Cc2(t, e, s) {
100658
100658
  case "selector-universal":
100659
100659
  return [r.namespace ? [r.namespace === true ? "" : r.namespace.trim(), "|"] : "", r.value];
100660
100660
  case "selector-pseudo":
100661
- return [Ie11(r.value), ce8(r.nodes) ? D6(["(", L10([M11, Y6([",", C7], t.map(s, "nodes"))]), M11, ")"]) : ""];
100661
+ return [Ie11(r.value), ce8(r.nodes) ? D6(["(", L9([M11, Y6([",", C7], t.map(s, "nodes"))]), M11, ")"]) : ""];
100662
100662
  case "selector-nesting":
100663
100663
  return r.value;
100664
100664
  case "selector-unknown": {
@@ -236977,9 +236977,16 @@ var BackendFunctionToolConfigSchema = object({
236977
236977
  function_name: string2().min(1),
236978
236978
  description: string2().default("agent backend function")
236979
236979
  });
236980
+ var ServerRouteToolConfigSchema = object({
236981
+ tool_name: string2().regex(/^[A-Za-z0-9_-]{1,64}$/, "tool_name must be 1-64 letters, digits, '_' or '-'"),
236982
+ route_path: string2().trim().max(2000).regex(/^\/(?!\/)[A-Za-z0-9\-._~!$&'()*+,;=:@%/]*$/, "route_path must be an app-relative route like '/api/orders'"),
236983
+ method: _enum(["get", "post", "put", "patch", "delete"]).default("post"),
236984
+ description: string2().default("agent server route")
236985
+ });
236980
236986
  var ToolConfigSchema = union([
236981
236987
  EntityToolConfigSchema,
236982
- BackendFunctionToolConfigSchema
236988
+ BackendFunctionToolConfigSchema,
236989
+ ServerRouteToolConfigSchema
236983
236990
  ]);
236984
236991
  var MemoryConfigSchema = object({
236985
236992
  enabled: boolean2().default(true),
@@ -255336,6 +255343,7 @@ var deno2 = Object.freeze({
255336
255343
  });
255337
255344
  globalThis.Deno = deno2;
255338
255345
  globalThis.Buffer = Buffer2;
255346
+ if (typeof process !== "undefined") process.version = "v22.23.4";
255339
255347
  try {
255340
255348
  new AsyncLocalStorage().enterWith(void 0);
255341
255349
  } catch {
@@ -258213,150 +258221,6 @@ function asset(name) {
258213
258221
  // ../functions-compiler/src/esbuild/private-data-sources-virtual.ts
258214
258222
  import path19 from "node:path";
258215
258223
 
258216
- // ../functions-compiler/src/error-records.ts
258217
- var FEED_CONTEXT_HEADER = "x-b44-feed-context";
258218
- var ERROR_RECORD_LIMITS = {
258219
- bodyBytes: 2048,
258220
- bodyDeadlineMs: 50,
258221
- nameChars: 64,
258222
- messageBytes: 500,
258223
- stackBytes: 4096,
258224
- minSecretChars: 8,
258225
- loggedErrors: 8
258226
- };
258227
- var L2 = ERROR_RECORD_LIMITS;
258228
- var ERROR_RECORDS_PATCH = [
258229
- `const _b44ErrorStore = (request) => request.headers.has(${JSON.stringify(FEED_CONTEXT_HEADER)}) ? { errorRecord: { logged: [] } } : {};`,
258230
- "const _b44NoteError = (a) => {",
258231
- " const c = _b44Context();",
258232
- " if (!c || !c.errorRecord) return;",
258233
- " for (const x of a) {",
258234
- " if (!(x instanceof Error)) continue;",
258235
- " const r = (k) => { try { const v = x[k]; return typeof v === 'string' ? v : undefined; } catch (e) { return undefined; } };",
258236
- " const logged = c.errorRecord.logged;",
258237
- " logged.push({ name: r('name'), message: r('message'), stack: r('stack') });",
258238
- ` if (logged.length > ${L2.loggedErrors}) logged.shift();`,
258239
- " }",
258240
- "};",
258241
- "for (const _l of ['log', 'info', 'warn', 'error', 'debug']) { const _f = console[_l]; console[_l] = (...a) => { try { _b44NoteError(a); } catch (e) {} return _f(...a); }; }",
258242
- "const _b44ReadJson = async (res) => {",
258243
- " if (!res.body) return undefined;",
258244
- " const reader = res.body.getReader();",
258245
- " const chunks = [];",
258246
- " let size = 0;",
258247
- " let timer;",
258248
- ` const deadline = new Promise((r) => { timer = setTimeout(() => r(null), ${L2.bodyDeadlineMs}); });`,
258249
- " try {",
258250
- " for (;;) {",
258251
- " const step = await Promise.race([reader.read(), deadline]);",
258252
- " if (step === null) return undefined;",
258253
- " if (step.done) break;",
258254
- " size += step.value.byteLength;",
258255
- ` if (size > ${L2.bodyBytes}) return undefined;`,
258256
- " chunks.push(step.value);",
258257
- " }",
258258
- " } finally {",
258259
- " clearTimeout(timer);",
258260
- " try { reader.cancel().catch(() => {}); } catch (e) {}",
258261
- " }",
258262
- " const buf = new Uint8Array(size);",
258263
- " let o = 0;",
258264
- " for (const ch of chunks) { buf.set(ch, o); o += ch.byteLength; }",
258265
- " try { return JSON.parse(new TextDecoder().decode(buf)); } catch (e) { return undefined; }",
258266
- "};",
258267
- "const _b44HasString = (v, s, d = 0) => {",
258268
- " if (v === s) return true;",
258269
- " if (d > 16 || !v || typeof v !== 'object') return false;",
258270
- " for (const k of Object.keys(v)) if (_b44HasString(v[k], s, d + 1)) return true;",
258271
- " return false;",
258272
- "};",
258273
- "const _b44BodyMessage = (b) => {",
258274
- " if (!b || typeof b !== 'object' || Array.isArray(b)) return undefined;",
258275
- " const s = (v) => (typeof v === 'string' && v.trim() !== '' ? v : undefined);",
258276
- " const skipError = Object.prototype.hasOwnProperty.call(b, 'details') && b.error === 'Internal server error';",
258277
- " const nested = b.error && typeof b.error === 'object' ? b.error.message : undefined;",
258278
- " return (skipError ? undefined : s(b.error)) ?? s(b.message) ?? s(b.detail) ?? s(b.details) ?? s(nested);",
258279
- "};",
258280
- "const _b44SecretValues = (c) => {",
258281
- " const out = new Set();",
258282
- " let budget = 10000;",
258283
- " const add = (v, d) => {",
258284
- " if (--budget < 0) return;",
258285
- " if (typeof v === 'string') {",
258286
- ` if (v.length >= ${L2.minSecretChars}) out.add(v);`,
258287
- " const t = v.trimStart();",
258288
- " if (d < 2 && (t[0] === '{' || t[0] === '[')) { try { add(JSON.parse(v), d + 1); } catch (e) {} }",
258289
- " } else if (d > 0 && d < 16 && v && typeof v === 'object') {",
258290
- " for (const k of Object.keys(v)) add(v[k], d + 1);",
258291
- " }",
258292
- " };",
258293
- " for (const src of [c.secrets, c.workerEnv]) {",
258294
- " if (!src || typeof src !== 'object') continue;",
258295
- " for (const k of Object.keys(src)) { try { add(src[k], 0); } catch (e) {} }",
258296
- " }",
258297
- " return [...out].sort((x, y) => y.length - x.length);",
258298
- "};",
258299
- "const _b44Scrub = (s, secrets) => { let out = s; for (const v of secrets) if (out.includes(v)) out = out.split(v).join('[redacted]'); return out; };",
258300
- "const _b44Well = (s) => (typeof s.toWellFormed === 'function' ? s.toWellFormed() : s);",
258301
- "const _b44Bytes = (s) => new TextEncoder().encode(s).length;",
258302
- "const _b44CutBytes = (s, max) => {",
258303
- " if (_b44Bytes(s) <= max) return s;",
258304
- " let n = 0;",
258305
- " let out = '';",
258306
- " for (const ch of s) {",
258307
- " const cp = ch.codePointAt(0);",
258308
- " const b = cp < 0x80 ? 1 : cp < 0x800 ? 2 : cp < 0x10000 ? 3 : 4;",
258309
- " if (n + b > max) break;",
258310
- " n += b;",
258311
- " out += ch;",
258312
- " }",
258313
- " return out;",
258314
- "};",
258315
- "const _b44CutLines = (s, max) => {",
258316
- " if (_b44Bytes(s) <= max) return s;",
258317
- " let n = 0;",
258318
- " let out = '';",
258319
- " for (const line of s.split('\\n')) {",
258320
- " const b = _b44Bytes(line) + (out ? 1 : 0);",
258321
- " if (n + b > max) break;",
258322
- " out += (out ? '\\n' : '') + line;",
258323
- " n += b;",
258324
- " }",
258325
- " return out;",
258326
- "};",
258327
- "const _b44WriteErrorRecord = async (c, status, copy, logged) => {",
258328
- " try {",
258329
- " const body = await _b44ReadJson(copy);",
258330
- " const usable = logged.filter((e) => e.message);",
258331
- " let chosen;",
258332
- " if (body !== undefined) {",
258333
- " for (let i = usable.length - 1; i >= 0; i--) if (_b44HasString(body, usable[i].message)) { chosen = usable[i]; break; }",
258334
- " }",
258335
- " let message = chosen ? chosen.message : _b44BodyMessage(body);",
258336
- " if (message === undefined && usable.length > 0) { chosen = usable[usable.length - 1]; message = chosen.message; }",
258337
- " if (message === undefined) return;",
258338
- " const secrets = _b44SecretValues(c);",
258339
- " const clean = (s) => _b44Well(_b44Scrub(s, secrets));",
258340
- " const rec = { v: 1, kind: 'response', status };",
258341
- ` const name = chosen && chosen.name ? Array.from(clean(chosen.name)).slice(0, ${L2.nameChars}).join('') : '';`,
258342
- " if (name) rec.name = name;",
258343
- ` rec.message = _b44CutBytes(clean(message), ${L2.messageBytes});`,
258344
- ` const stack = chosen && chosen.stack ? _b44CutLines(clean(chosen.stack), ${L2.stackBytes}) : '';`,
258345
- " if (stack) rec.stack = stack;",
258346
- " console.error({ _b44_error: rec });",
258347
- " } catch (e) {}",
258348
- "};",
258349
- "const _b44RecordError = (res) => {",
258350
- " try {",
258351
- " const c = _b44Context();",
258352
- " if (!c || !c.errorRecord || !c.waitUntil || !(res instanceof Response) || !(res.status >= 500)) return res;",
258353
- " c.waitUntil(_b44WriteErrorRecord(c, res.status, res.clone(), c.errorRecord.logged.slice()));",
258354
- " } catch (e) {}",
258355
- " return res;",
258356
- "};"
258357
- ].join(`
258358
- `);
258359
-
258360
258224
  // ../functions-compiler/src/errors.ts
258361
258225
  class DenoCompatError extends Error {
258362
258226
  file;
@@ -258451,7 +258315,7 @@ var TELEMETRY_PATCH = [
258451
258315
  var TELEMETRY_STORE_FIELDS = "reqId: crypto.randomUUID(), respondedAt: null, inflight: new Map(), inflightTotal: 0, hadRejection: false, hadNonOk: false, logBudget: 5";
258452
258316
 
258453
258317
  // ../functions-compiler/src/version.ts
258454
- var COMPILER_VERSION = "0.1.8";
258318
+ var COMPILER_VERSION = "0.1.9";
258455
258319
 
258456
258320
  // ../functions-compiler/src/worker-entry.ts
258457
258321
  function denoShimSource() {
@@ -258553,14 +258417,13 @@ var ACTIVATION_TAKE = ` const _b44Taken = takeActivationChallenge(request); r
258553
258417
  function activationGuard(runtimeSecrets) {
258554
258418
  return (expr) => runtimeSecrets ? `withoutActivationHeaders(${expr}, _b44Activation)` : expr;
258555
258419
  }
258556
- var HANDLER_CALL = "_b44RecordError(await handler(request, info))";
258557
258420
  function activationImport(runtimeSecrets) {
258558
258421
  return runtimeSecrets ? `
258559
258422
  import { ensureActivation, takeActivationChallenge, withoutActivationHeaders } from "./${ACTIVATION_FILENAME}";` : "";
258560
258423
  }
258561
258424
  function buildEntrySource(userEntry, telemetry, runtimeSecrets = false) {
258562
258425
  const userImport = `./${userEntry.replace(/^\.\//, "")}`;
258563
- const handlerExpr = telemetry ? `_b44AttachTelemetry(${HANDLER_CALL})` : HANDLER_CALL;
258426
+ const handlerExpr = telemetry ? "_b44AttachTelemetry(await handler(request, info))" : runtimeSecrets ? "await handler(request, info)" : "handler(request, info)";
258564
258427
  const guard = activationGuard(runtimeSecrets);
258565
258428
  const returnExpr = guard(handlerExpr);
258566
258429
  return `// Auto-generated by the base44 bundler. Do not edit.
@@ -258569,7 +258432,6 @@ import { currentWorkerRuntimeContext as _b44Context, runWithWorkerEnvironment as
258569
258432
  import { getRegisteredHandler, installStaticEgressFetch } from "./${SHIM_FILENAME}";${activationImport(runtimeSecrets)}
258570
258433
 
258571
258434
  ${consolePatch(runtimeSecrets)}
258572
- ${ERROR_RECORDS_PATCH}
258573
258435
  // Static egress reads workerEnv from the active request store. Install it
258574
258436
  // before telemetry so telemetry remains the outermost fetch wrapper.
258575
258437
  installStaticEgressFetch();
@@ -258579,7 +258441,7 @@ let _b44Init = null;
258579
258441
  export default {
258580
258442
  async fetch(request, env, ctx) {
258581
258443
  ${runtimeSecrets ? ACTIVATION_TAKE : ""} const _b44Env = (request.headers.get('base44-functions-version') ?? '') === 'prod' ? 'prod' : 'preview';
258582
- return _b44Run({ env: _b44Env, secrets: ${runtimeSecrets ? "process.env" : "env"}, workerEnv: env, waitUntil: (p) => ctx.waitUntil(p), ..._b44ErrorStore(request)${telemetry ? `, ${TELEMETRY_STORE_FIELDS}` : ""} }, async () => {
258444
+ return _b44Run({ env: _b44Env, secrets: ${runtimeSecrets ? "process.env" : "env"}, workerEnv: env, waitUntil: (p) => ctx.waitUntil(p)${telemetry ? `, ${TELEMETRY_STORE_FIELDS}` : ""} }, async () => {
258583
258445
  ${runtimeSecrets ? ACTIVATION_GATE : ""} if (!_b44Init) _b44Init = import(${JSON.stringify(userImport)}).catch(e => { _b44Init = null; throw e; });
258584
258446
  const _b44Mod = await _b44Init;
258585
258447
  // Deno.serve capture wins (legacy contract, zero behavior change);
@@ -258614,7 +258476,7 @@ registerLazy(${JSON.stringify(functionName)}, () => import(${JSON.stringify(user
258614
258476
  function buildAppEntrySource(functionModules, telemetry, runtimeSecrets = false) {
258615
258477
  const moduleImports = functionModules.map((file) => `import "./${file}";`).join(`
258616
258478
  `);
258617
- const handlerExpr = `_b44AttachInvocationLogs(${telemetry ? `_b44AttachTelemetry(${HANDLER_CALL})` : HANDLER_CALL})`;
258479
+ const handlerExpr = `_b44AttachInvocationLogs(${telemetry ? "_b44AttachTelemetry(await handler(request, info))" : "await handler(request, info)"})`;
258618
258480
  const guard = activationGuard(runtimeSecrets);
258619
258481
  const returnExpr = guard(handlerExpr);
258620
258482
  return `// Auto-generated by the base44 bundler. Do not edit.
@@ -258625,7 +258487,6 @@ ${moduleImports}
258625
258487
 
258626
258488
  ${consolePatch(runtimeSecrets)}
258627
258489
  ${INVOCATION_LOGS_PATCH}
258628
- ${ERROR_RECORDS_PATCH}
258629
258490
  // Static egress reads workerEnv from the active request store. Install it
258630
258491
  // before telemetry so telemetry remains the outermost fetch wrapper.
258631
258492
  installStaticEgressFetch();
@@ -258635,7 +258496,7 @@ export default {
258635
258496
  async fetch(request, env, ctx) {
258636
258497
  ${runtimeSecrets ? ACTIVATION_TAKE : ""} const _b44Env = (request.headers.get('base44-functions-version') ?? '') === 'prod' ? 'prod' : 'preview';
258637
258498
  const functionName = request.headers.get("Base44-Function-Name");
258638
- return _b44Run({ env: _b44Env, fn: functionName ?? '', secrets: ${runtimeSecrets ? "process.env" : "env"}, workerEnv: env, waitUntil: (p) => ctx.waitUntil(p), ..._b44CaptureStore(request), ..._b44ErrorStore(request)${telemetry ? `, ${TELEMETRY_STORE_FIELDS}` : ""} }, async () => {
258499
+ return _b44Run({ env: _b44Env, fn: functionName ?? '', secrets: ${runtimeSecrets ? "process.env" : "env"}, workerEnv: env, waitUntil: (p) => ctx.waitUntil(p), ..._b44CaptureStore(request)${telemetry ? `, ${TELEMETRY_STORE_FIELDS}` : ""} }, async () => {
258639
258500
  ${runtimeSecrets ? ACTIVATION_GATE : ""} // Each early return below logs through the patch first: per-function log
258640
258501
  // queries on per-app scripts keep only stamped lines, so a bare return
258641
258502
  // would leave the failing invocation with no trace in its own logs.
@@ -262998,30 +262859,25 @@ var pipelineType = ZodPipeline.create;
262998
262859
  var fileMapSchema = recordType(stringType().min(1), stringType()).refine((files) => Object.keys(files).length > 0, {
262999
262860
  message: "must contain at least one file"
263000
262861
  });
263001
- var entryPathSchema = stringType().min(1).max(200);
263002
262862
  var bundleRequestSchema = objectType({
263003
262863
  entry: stringType().min(1),
263004
262864
  files: fileMapSchema,
263005
- entryPath: entryPathSchema.optional(),
263006
262865
  postResponseTelemetry: booleanType().optional(),
263007
- runtimeSecrets: booleanType().optional(),
263008
- sourceMap: booleanType().optional()
262866
+ runtimeSecrets: booleanType().optional()
263009
262867
  }).refine((body) => (body.entry in body.files), {
263010
262868
  message: "`entry` must be a key in `files`"
263011
262869
  });
263012
262870
  var appFunctionSchema = objectType({
263013
262871
  name: stringType().min(1),
263014
262872
  entry: stringType().min(1),
263015
- files: fileMapSchema,
263016
- entryPath: entryPathSchema.optional()
262873
+ files: fileMapSchema
263017
262874
  }).refine((fn) => (fn.entry in fn.files), {
263018
262875
  message: "`entry` must be a key in `files`"
263019
262876
  });
263020
262877
  var bundleAppRequestSchema = objectType({
263021
262878
  functions: arrayType(appFunctionSchema).min(1),
263022
262879
  postResponseTelemetry: booleanType().optional(),
263023
- runtimeSecrets: booleanType().optional(),
263024
- sourceMap: booleanType().optional()
262880
+ runtimeSecrets: booleanType().optional()
263025
262881
  }).refine((body) => new Set(body.functions.map((fn) => fn.name)).size === body.functions.length, { message: "function names must be unique" });
263026
262882
  var ACTIVATION_MODE = "pull";
263027
262883
 
@@ -263586,8 +263442,7 @@ function wsNativeVirtualPlugin() {
263586
263442
  }
263587
263443
 
263588
263444
  // ../functions-compiler/src/deno-bundle.ts
263589
- var MAIN_MODULE = "_bundled.mjs";
263590
- async function bundleToModule(prepared, nodeModulesDir = "none", sourceMap = false) {
263445
+ async function bundleToModule(prepared, nodeModulesDir = "none") {
263591
263446
  const dir = await mkdtemp(path21.join(tmpdir2(), "b44-bundle-"));
263592
263447
  try {
263593
263448
  await writeFile2(path21.join(dir, "deno.json"), JSON.stringify({ nodeModulesDir }));
@@ -263606,7 +263461,7 @@ async function bundleToModule(prepared, nodeModulesDir = "none", sourceMap = fal
263606
263461
  define: { __dirname: '"/"', __filename: '"/index.js"' },
263607
263462
  minify: true,
263608
263463
  ...prepared.banner ? { banner: { js: prepared.banner } } : {},
263609
- ...sourceMap ? { sourcemap: "linked", sourcesContent: false, outfile: MAIN_MODULE } : { sourcemap: false },
263464
+ sourcemap: false,
263610
263465
  logLevel: "silent",
263611
263466
  plugins: [
263612
263467
  wsNativeVirtualPlugin(),
@@ -263625,19 +263480,14 @@ async function bundleToModule(prepared, nodeModulesDir = "none", sourceMap = fal
263625
263480
  throw e;
263626
263481
  }
263627
263482
  const outputs = result.outputFiles ?? [];
263628
- const warnings = result.warnings.map((w) => w.text);
263629
- if (!sourceMap) {
263630
- if (outputs.length !== 1) {
263631
- throw new Error(`expected single-module output, got ${outputs.length} file(s)`);
263632
- }
263633
- return { ok: true, module: outputs[0].text, warnings };
263634
- }
263635
- const module = outputs.find((o) => o.path.endsWith(".mjs"));
263636
- const map = outputs.find((o) => o.path.endsWith(".map"));
263637
- if (outputs.length !== 2 || !module || !map) {
263638
- throw new Error(`expected a module and its source map, got ${outputs.map((o) => path21.basename(o.path)).join(", ") || "no files"}`);
263483
+ if (outputs.length !== 1) {
263484
+ throw new Error(`expected single-module output, got ${outputs.length} file(s)`);
263639
263485
  }
263640
- return { ok: true, module: module.text, map: map.text, warnings };
263486
+ return {
263487
+ ok: true,
263488
+ module: outputs[0].text,
263489
+ warnings: result.warnings.map((w) => w.text)
263490
+ };
263641
263491
  } finally {
263642
263492
  await rm2(dir, { recursive: true, force: true });
263643
263493
  }
@@ -263683,36 +263533,6 @@ function relativizeFile(file, dir) {
263683
263533
  return file.startsWith(prefix) ? file.slice(prefix.length) : file;
263684
263534
  }
263685
263535
 
263686
- // ../functions-compiler/src/source-map.ts
263687
- var INTERNAL_SOURCE_PREFIX = "base44-internal:";
263688
- var USER_PREFIX = `${USER_NAMESPACE}:`;
263689
- var APP_FUNCTION_PATH = /^fn_(\d+)\/(.*)$/;
263690
- function functionSourceMap(raw, fn) {
263691
- return rewriteSources(raw, (key) => appPath(fn, key));
263692
- }
263693
- function appSourceMap(raw, functions) {
263694
- return rewriteSources(raw, (key) => {
263695
- const match = key.match(APP_FUNCTION_PATH);
263696
- const fn = match ? functions[Number(match[1])] : undefined;
263697
- return fn && match ? appPath(fn, match[2]) : undefined;
263698
- });
263699
- }
263700
- function appPath(fn, key) {
263701
- if (!Object.hasOwn(fn.files, key))
263702
- return;
263703
- return key === fn.entry && fn.entryPath ? fn.entryPath : key;
263704
- }
263705
- function rewriteSources(raw, appPathOf) {
263706
- const map = JSON.parse(raw);
263707
- map.sources = (map.sources ?? []).map((source) => {
263708
- const app = source.startsWith(USER_PREFIX) ? appPathOf(source.slice(USER_PREFIX.length)) : undefined;
263709
- return app ?? `${INTERNAL_SOURCE_PREFIX}${source}`;
263710
- });
263711
- delete map.sourceRoot;
263712
- delete map.sourcesContent;
263713
- return JSON.stringify(map);
263714
- }
263715
-
263716
263536
  // ../functions-compiler/src/tracing.ts
263717
263537
  var noopTracer = {
263718
263538
  withSpan: (_name, fn) => fn(),
@@ -263727,6 +263547,7 @@ function setSpanTags(tags) {
263727
263547
  }
263728
263548
 
263729
263549
  // ../functions-compiler/src/bundler.ts
263550
+ var NORMALIZED_MAIN_MODULE = "_bundled.mjs";
263730
263551
  var MAX_PARALLEL_COMPILES = 4;
263731
263552
  async function bundle(req) {
263732
263553
  let actor;
@@ -263747,7 +263568,7 @@ async function bundle(req) {
263747
263568
  return {
263748
263569
  ok: true,
263749
263570
  module: outcome.module,
263750
- main_module: MAIN_MODULE,
263571
+ main_module: NORMALIZED_MAIN_MODULE,
263751
263572
  warnings: outcome.warnings,
263752
263573
  handler_name: actor.handlerName,
263753
263574
  do_class_name: actor.doClassName
@@ -263761,13 +263582,12 @@ async function bundle(req) {
263761
263582
  } catch (e) {
263762
263583
  return denoCompatErrorOrThrow(e);
263763
263584
  }
263764
- const outcome = await installAndCompile(prepared, req.sourceMap ?? false);
263585
+ const outcome = await installAndCompile(prepared);
263765
263586
  if (outcome.ok) {
263766
263587
  return {
263767
263588
  ok: true,
263768
263589
  module: outcome.module,
263769
- ...outcome.map ? { source_map: functionSourceMap(outcome.map, req) } : {},
263770
- main_module: MAIN_MODULE,
263590
+ main_module: NORMALIZED_MAIN_MODULE,
263771
263591
  warnings: outcome.warnings,
263772
263592
  ...activationField(req.runtimeSecrets ?? false)
263773
263593
  };
@@ -263782,29 +263602,26 @@ async function bundleApp(req) {
263782
263602
  return result.ok ? { ...result, ...activationField(req.runtimeSecrets ?? false) } : result;
263783
263603
  }
263784
263604
  async function assembleApp(req) {
263785
- const build = {
263786
- telemetry: req.postResponseTelemetry ?? false,
263787
- runtimeSecrets: req.runtimeSecrets ?? false,
263788
- sourceMap: req.sourceMap ?? false
263789
- };
263605
+ const telemetry = req.postResponseTelemetry ?? false;
263606
+ const runtimeSecrets = req.runtimeSecrets ?? false;
263790
263607
  const entries = req.functions.map((fn, index) => ({
263791
263608
  index,
263792
263609
  fn
263793
263610
  }));
263794
263611
  let combined;
263795
263612
  try {
263796
- combined = await compileApp(entries, build);
263613
+ combined = await compileApp(entries, telemetry, runtimeSecrets);
263797
263614
  } catch (e) {
263798
263615
  if (e instanceof DenoCompatError)
263799
- return bundleAppPerFunction(entries, build);
263616
+ return bundleAppPerFunction(entries, telemetry, runtimeSecrets);
263800
263617
  throw e;
263801
263618
  }
263802
263619
  if (combined.ok) {
263803
- return appResponse(combined, allOk(entries));
263620
+ return appResponse(combined.module, allOk(entries));
263804
263621
  }
263805
263622
  const { byIndex, unattributable } = classifyAppErrors(combined.errors);
263806
263623
  if (unattributable.length > 0) {
263807
- return bundleAppPerFunction(entries, build);
263624
+ return bundleAppPerFunction(entries, telemetry, runtimeSecrets);
263808
263625
  }
263809
263626
  const functions = entries.map((e) => byIndex.has(e.index) ? { name: e.fn.name, ok: false, errors: byIndex.get(e.index) } : { name: e.fn.name, ok: true });
263810
263627
  const survivors = entries.filter((e) => !byIndex.has(e.index));
@@ -263813,42 +263630,25 @@ async function assembleApp(req) {
263813
263630
  }
263814
263631
  let rebuilt;
263815
263632
  try {
263816
- rebuilt = await compileApp(survivors, build);
263633
+ rebuilt = await compileApp(survivors, telemetry, runtimeSecrets);
263817
263634
  } catch (e) {
263818
263635
  if (e instanceof DenoCompatError)
263819
- return bundleAppPerFunction(entries, build);
263636
+ return bundleAppPerFunction(entries, telemetry, runtimeSecrets);
263820
263637
  throw e;
263821
263638
  }
263822
263639
  if (rebuilt.ok)
263823
- return appResponse(rebuilt, functions);
263824
- return bundleAppPerFunction(entries, build);
263825
- }
263826
- async function compileApp(entries, build) {
263827
- const outcome = await installAndCompile(prepareApp(entries, build.telemetry, build.runtimeSecrets), build.sourceMap);
263828
- if (!outcome.ok)
263829
- return { ok: false, errors: outcome.errors };
263830
- if (!outcome.map)
263831
- return { ok: true, module: outcome.module };
263832
- const functions = [];
263833
- for (const { index, fn } of entries)
263834
- functions[index] = fn;
263835
- return {
263836
- ok: true,
263837
- module: outcome.module,
263838
- map: appSourceMap(outcome.map, functions)
263839
- };
263640
+ return appResponse(rebuilt.module, functions);
263641
+ return bundleAppPerFunction(entries, telemetry, runtimeSecrets);
263642
+ }
263643
+ async function compileApp(entries, telemetry = false, runtimeSecrets = false) {
263644
+ const outcome = await installAndCompile(prepareApp(entries, telemetry, runtimeSecrets));
263645
+ return outcome.ok ? { ok: true, module: outcome.module } : { ok: false, errors: outcome.errors };
263840
263646
  }
263841
263647
  function allOk(entries) {
263842
263648
  return entries.map((e) => ({ name: e.fn.name, ok: true }));
263843
263649
  }
263844
- function appResponse(built, functions) {
263845
- return {
263846
- ok: true,
263847
- module: built.module,
263848
- ...built.map ? { source_map: built.map } : {},
263849
- main_module: MAIN_MODULE,
263850
- functions
263851
- };
263650
+ function appResponse(module, functions) {
263651
+ return { ok: true, module, main_module: NORMALIZED_MAIN_MODULE, functions };
263852
263652
  }
263853
263653
  function classifyAppErrors(errors) {
263854
263654
  const byIndex = new Map;
@@ -263866,19 +263666,19 @@ function classifyAppErrors(errors) {
263866
263666
  }
263867
263667
  return { byIndex, unattributable };
263868
263668
  }
263869
- async function bundleAppPerFunction(entries, build) {
263870
- const probes = await mapWithConcurrency(entries, MAX_PARALLEL_COMPILES, (entry) => probeFunction(entry, build.runtimeSecrets));
263669
+ async function bundleAppPerFunction(entries, telemetry = false, runtimeSecrets = false) {
263670
+ const probes = await mapWithConcurrency(entries, MAX_PARALLEL_COMPILES, (entry) => probeFunction(entry, runtimeSecrets));
263871
263671
  const functions = probes.map((p) => p.ok ? { name: p.entry.fn.name, ok: true } : { name: p.entry.fn.name, ok: false, errors: p.errors });
263872
263672
  const survivors = probes.filter((p) => p.ok).map((p) => p.entry);
263873
263673
  if (survivors.length === 0) {
263874
263674
  return { ok: false, module: null, functions };
263875
263675
  }
263876
- const combined = await compileApp(survivors, build);
263676
+ const combined = await compileApp(survivors, telemetry, runtimeSecrets);
263877
263677
  if (combined.ok)
263878
- return appResponse(combined, functions);
263879
- return assembleWithoutConflicting(survivors, functions, combined.errors, build);
263678
+ return appResponse(combined.module, functions);
263679
+ return assembleWithoutConflicting(survivors, functions, combined.errors, telemetry, runtimeSecrets);
263880
263680
  }
263881
- async function assembleWithoutConflicting(survivors, functions, errors, build) {
263681
+ async function assembleWithoutConflicting(survivors, functions, errors, telemetry, runtimeSecrets = false) {
263882
263682
  const failWith = (entries, items) => {
263883
263683
  for (const e of entries) {
263884
263684
  functions[e.index] = { name: e.fn.name, ok: false, errors: items };
@@ -263893,10 +263693,10 @@ async function assembleWithoutConflicting(survivors, functions, errors, build) {
263893
263693
  const blamed = survivors.filter((e) => importsConflictingPackage(e, errors));
263894
263694
  const rest = survivors.filter((e) => !blamed.includes(e));
263895
263695
  if (blamed.length > 0 && rest.length > 0) {
263896
- const rebuilt = await compileApp(rest, build);
263696
+ const rebuilt = await compileApp(rest, telemetry, runtimeSecrets);
263897
263697
  if (rebuilt.ok) {
263898
263698
  failWith(blamed, conflictErrors);
263899
- return appResponse(rebuilt, functions);
263699
+ return appResponse(rebuilt.module, functions);
263900
263700
  }
263901
263701
  failWith(blamed, conflictErrors);
263902
263702
  failWith(rest, [conflictErrors[0], ...rebuilt.errors]);
@@ -263933,11 +263733,7 @@ function escapeRegExp(s) {
263933
263733
  async function probeFunction(entry, runtimeSecrets = false) {
263934
263734
  let outcome;
263935
263735
  try {
263936
- outcome = await compileApp([entry], {
263937
- telemetry: false,
263938
- runtimeSecrets,
263939
- sourceMap: false
263940
- });
263736
+ outcome = await compileApp([entry], false, runtimeSecrets);
263941
263737
  } catch (e) {
263942
263738
  if (e instanceof DenoCompatError) {
263943
263739
  return { ok: false, entry, errors: [denoCompatErrorItem(e)] };
@@ -263967,25 +263763,20 @@ async function mapWithConcurrency(items, limit, fn) {
263967
263763
  return results;
263968
263764
  }
263969
263765
  var NODE_MODULES_FALLBACK = /ERR_MODULE_NOT_FOUND|Could not find referrer npm package/;
263970
- async function installAndCompile(prepared, sourceMap = false) {
263766
+ async function installAndCompile(prepared) {
263971
263767
  return withSpan("base44.bundler.compile", async () => {
263972
263768
  let mode = "none";
263973
- let result = await bundleToModule(prepared, mode, sourceMap);
263769
+ let result = await bundleToModule(prepared, mode);
263974
263770
  if (!result.ok && result.errors.some((e) => NODE_MODULES_FALLBACK.test(e.message))) {
263975
263771
  mode = "auto";
263976
- result = await bundleToModule(prepared, mode, sourceMap);
263772
+ result = await bundleToModule(prepared, mode);
263977
263773
  }
263978
263774
  await setSpanTags({
263979
263775
  node_modules_mode: mode,
263980
263776
  outcome: result.ok ? "ok" : "failed"
263981
263777
  });
263982
263778
  if (result.ok) {
263983
- return {
263984
- ok: true,
263985
- module: result.module,
263986
- ...result.map ? { map: result.map } : {},
263987
- warnings: result.warnings
263988
- };
263779
+ return { ok: true, module: result.module, warnings: result.warnings };
263989
263780
  }
263990
263781
  return { ok: false, stage: "esbuild", errors: result.errors };
263991
263782
  });
@@ -274212,4 +274003,4 @@ export {
274212
274003
  runCLI
274213
274004
  };
274214
274005
 
274215
- //# debugId=92C706DD124493AA64756E2164756E21
274006
+ //# debugId=F5AF8E758862A48664756E2164756E21