lingo3d-react
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
1,194 lines • 206 kB
JavaScript
import { aX as Lr, aY as Ku } from "./index-895cfa2f.mjs";
function $r(xe, tu) {
for (var O = 0; O < tu.length; O++) {
const ce = tu[O];
if (typeof ce != "string" && !Array.isArray(ce)) {
for (const pe in ce)
if (pe !== "default" && !(pe in xe)) {
const ge = Object.getOwnPropertyDescriptor(ce, pe);
ge && Object.defineProperty(xe, pe, ge.get ? ge : {
enumerable: !0,
get: () => ce[pe]
});
}
}
}
return Object.freeze(Object.defineProperty(xe, Symbol.toStringTag, { value: "Module" }));
}
var uu = {}, qr = {
get exports() {
return uu;
},
set exports(xe) {
uu = xe;
}
};
(function(xe, tu) {
(function(O) {
xe.exports = O();
})(function() {
var O = (N, c) => () => (c || N((c = { exports: {} }).exports, c), c.exports), ce = O((N, c) => {
var l = function(d) {
return d && d.Math == Math && d;
};
c.exports = l(typeof globalThis == "object" && globalThis) || l(typeof window == "object" && window) || l(typeof self == "object" && self) || l(typeof Ku == "object" && Ku) || function() {
return this;
}() || Function("return this")();
}), pe = O((N, c) => {
c.exports = function(l) {
try {
return !!l();
} catch {
return !0;
}
};
}), ge = O((N, c) => {
var l = pe();
c.exports = !l(function() {
return Object.defineProperty({}, 1, { get: function() {
return 7;
} })[1] != 7;
});
}), ru = O((N, c) => {
var l = pe();
c.exports = !l(function() {
var d = function() {
}.bind();
return typeof d != "function" || d.hasOwnProperty("prototype");
});
}), Pe = O((N, c) => {
var l = ru(), d = Function.prototype.call;
c.exports = l ? d.bind(d) : function() {
return d.apply(d, arguments);
};
}), Zu = O((N) => {
var c = {}.propertyIsEnumerable, l = Object.getOwnPropertyDescriptor, d = l && !c.call({ 1: 2 }, 1);
N.f = d ? function(h) {
var g = l(this, h);
return !!g && g.enumerable;
} : c;
}), nu = O((N, c) => {
c.exports = function(l, d) {
return { enumerable: !(l & 1), configurable: !(l & 2), writable: !(l & 4), value: d };
};
}), ye = O((N, c) => {
var l = ru(), d = Function.prototype, h = d.call, g = l && d.bind.bind(h, h);
c.exports = l ? g : function(_) {
return function() {
return h.apply(_, arguments);
};
};
}), Ve = O((N, c) => {
var l = ye(), d = l({}.toString), h = l("".slice);
c.exports = function(g) {
return h(d(g), 8, -1);
};
}), et = O((N, c) => {
var l = ye(), d = pe(), h = Ve(), g = Object, _ = l("".split);
c.exports = d(function() {
return !g("z").propertyIsEnumerable(0);
}) ? function(w) {
return h(w) == "String" ? _(w, "") : g(w);
} : g;
}), su = O((N, c) => {
c.exports = function(l) {
return l == null;
};
}), Eu = O((N, c) => {
var l = su(), d = TypeError;
c.exports = function(h) {
if (l(h))
throw d("Can't call method on " + h);
return h;
};
}), iu = O((N, c) => {
var l = et(), d = Eu();
c.exports = function(h) {
return l(d(h));
};
}), mu = O((N, c) => {
var l = typeof document == "object" && document.all, d = typeof l > "u" && l !== void 0;
c.exports = { all: l, IS_HTMLDDA: d };
}), fe = O((N, c) => {
var l = mu(), d = l.all;
c.exports = l.IS_HTMLDDA ? function(h) {
return typeof h == "function" || h === d;
} : function(h) {
return typeof h == "function";
};
}), Re = O((N, c) => {
var l = fe(), d = mu(), h = d.all;
c.exports = d.IS_HTMLDDA ? function(g) {
return typeof g == "object" ? g !== null : l(g) || g === h;
} : function(g) {
return typeof g == "object" ? g !== null : l(g);
};
}), Ge = O((N, c) => {
var l = ce(), d = fe(), h = function(g) {
return d(g) ? g : void 0;
};
c.exports = function(g, _) {
return arguments.length < 2 ? h(l[g]) : l[g] && l[g][_];
};
}), fu = O((N, c) => {
var l = ye();
c.exports = l({}.isPrototypeOf);
}), ut = O((N, c) => {
var l = Ge();
c.exports = l("navigator", "userAgent") || "";
}), tt = O((N, c) => {
var l = ce(), d = ut(), h = l.process, g = l.Deno, _ = h && h.versions || g && g.version, w = _ && _.v8, S, x;
w && (S = w.split("."), x = S[0] > 0 && S[0] < 4 ? 1 : +(S[0] + S[1])), !x && d && (S = d.match(/Edge\/(\d+)/), (!S || S[1] >= 74) && (S = d.match(/Chrome\/(\d+)/), S && (x = +S[1]))), c.exports = x;
}), gu = O((N, c) => {
var l = tt(), d = pe();
c.exports = !!Object.getOwnPropertySymbols && !d(function() {
var h = Symbol();
return !String(h) || !(Object(h) instanceof Symbol) || !Symbol.sham && l && l < 41;
});
}), Fu = O((N, c) => {
var l = gu();
c.exports = l && !Symbol.sham && typeof Symbol.iterator == "symbol";
}), Au = O((N, c) => {
var l = Ge(), d = fe(), h = fu(), g = Fu(), _ = Object;
c.exports = g ? function(w) {
return typeof w == "symbol";
} : function(w) {
var S = l("Symbol");
return d(S) && h(S.prototype, _(w));
};
}), au = O((N, c) => {
var l = String;
c.exports = function(d) {
try {
return l(d);
} catch {
return "Object";
}
};
}), Xe = O((N, c) => {
var l = fe(), d = au(), h = TypeError;
c.exports = function(g) {
if (l(g))
return g;
throw h(d(g) + " is not a function");
};
}), ou = O((N, c) => {
var l = Xe(), d = su();
c.exports = function(h, g) {
var _ = h[g];
return d(_) ? void 0 : l(_);
};
}), rt = O((N, c) => {
var l = Pe(), d = fe(), h = Re(), g = TypeError;
c.exports = function(_, w) {
var S, x;
if (w === "string" && d(S = _.toString) && !h(x = l(S, _)) || d(S = _.valueOf) && !h(x = l(S, _)) || w !== "string" && d(S = _.toString) && !h(x = l(S, _)))
return x;
throw g("Can't convert object to primitive value");
};
}), nt = O((N, c) => {
c.exports = !1;
}), Du = O((N, c) => {
var l = ce(), d = Object.defineProperty;
c.exports = function(h, g) {
try {
d(l, h, { value: g, configurable: !0, writable: !0 });
} catch {
l[h] = g;
}
return g;
};
}), lu = O((N, c) => {
var l = ce(), d = Du(), h = "__core-js_shared__", g = l[h] || d(h, {});
c.exports = g;
}), vu = O((N, c) => {
var l = nt(), d = lu();
(c.exports = function(h, g) {
return d[h] || (d[h] = g !== void 0 ? g : {});
})("versions", []).push({ version: "3.26.1", mode: l ? "pure" : "global", copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE", source: "https://github.com/zloirock/core-js" });
}), Tu = O((N, c) => {
var l = Eu(), d = Object;
c.exports = function(h) {
return d(l(h));
};
}), Ne = O((N, c) => {
var l = ye(), d = Tu(), h = l({}.hasOwnProperty);
c.exports = Object.hasOwn || function(g, _) {
return h(d(g), _);
};
}), _u = O((N, c) => {
var l = ye(), d = 0, h = Math.random(), g = l(1 .toString);
c.exports = function(_) {
return "Symbol(" + (_ === void 0 ? "" : _) + ")_" + g(++d + h, 36);
};
}), Ie = O((N, c) => {
var l = ce(), d = vu(), h = Ne(), g = _u(), _ = gu(), w = Fu(), S = d("wks"), x = l.Symbol, j = x && x.for, q = w ? x : x && x.withoutSetter || g;
c.exports = function(y) {
if (!h(S, y) || !(_ || typeof S[y] == "string")) {
var U = "Symbol." + y;
_ && h(x, y) ? S[y] = x[y] : w && j ? S[y] = j(U) : S[y] = q(U);
}
return S[y];
};
}), st = O((N, c) => {
var l = Pe(), d = Re(), h = Au(), g = ou(), _ = rt(), w = Ie(), S = TypeError, x = w("toPrimitive");
c.exports = function(j, q) {
if (!d(j) || h(j))
return j;
var y = g(j, x), U;
if (y) {
if (q === void 0 && (q = "default"), U = l(y, j, q), !d(U) || h(U))
return U;
throw S("Can't convert object to primitive value");
}
return q === void 0 && (q = "number"), _(j, q);
};
}), cu = O((N, c) => {
var l = st(), d = Au();
c.exports = function(h) {
var g = l(h, "string");
return d(g) ? g : g + "";
};
}), it = O((N, c) => {
var l = ce(), d = Re(), h = l.document, g = d(h) && d(h.createElement);
c.exports = function(_) {
return g ? h.createElement(_) : {};
};
}), yu = O((N, c) => {
var l = ge(), d = pe(), h = it();
c.exports = !l && !d(function() {
return Object.defineProperty(h("div"), "a", { get: function() {
return 7;
} }).a != 7;
});
}), Su = O((N) => {
var c = ge(), l = Pe(), d = Zu(), h = nu(), g = iu(), _ = cu(), w = Ne(), S = yu(), x = Object.getOwnPropertyDescriptor;
N.f = c ? x : function(j, q) {
if (j = g(j), q = _(q), S)
try {
return x(j, q);
} catch {
}
if (w(j, q))
return h(!l(d.f, j, q), j[q]);
};
}), at = O((N, c) => {
var l = ge(), d = pe();
c.exports = l && d(function() {
return Object.defineProperty(function() {
}, "prototype", { value: 42, writable: !1 }).prototype != 42;
});
}), $e = O((N, c) => {
var l = Re(), d = String, h = TypeError;
c.exports = function(g) {
if (l(g))
return g;
throw h(d(g) + " is not an object");
};
}), He = O((N) => {
var c = ge(), l = yu(), d = at(), h = $e(), g = cu(), _ = TypeError, w = Object.defineProperty, S = Object.getOwnPropertyDescriptor, x = "enumerable", j = "configurable", q = "writable";
N.f = c ? d ? function(y, U, J) {
if (h(y), U = g(U), h(J), typeof y == "function" && U === "prototype" && "value" in J && q in J && !J[q]) {
var H = S(y, U);
H && H[q] && (y[U] = J.value, J = { configurable: j in J ? J[j] : H[j], enumerable: x in J ? J[x] : H[x], writable: !1 });
}
return w(y, U, J);
} : w : function(y, U, J) {
if (h(y), U = g(U), h(J), l)
try {
return w(y, U, J);
} catch {
}
if ("get" in J || "set" in J)
throw _("Accessors not supported");
return "value" in J && (y[U] = J.value), y;
};
}), Bu = O((N, c) => {
var l = ge(), d = He(), h = nu();
c.exports = l ? function(g, _, w) {
return d.f(g, _, h(1, w));
} : function(g, _, w) {
return g[_] = w, g;
};
}), ot = O((N, c) => {
var l = ge(), d = Ne(), h = Function.prototype, g = l && Object.getOwnPropertyDescriptor, _ = d(h, "name"), w = _ && function() {
}.name === "something", S = _ && (!l || l && g(h, "name").configurable);
c.exports = { EXISTS: _, PROPER: w, CONFIGURABLE: S };
}), bu = O((N, c) => {
var l = ye(), d = fe(), h = lu(), g = l(Function.toString);
d(h.inspectSource) || (h.inspectSource = function(_) {
return g(_);
}), c.exports = h.inspectSource;
}), Dt = O((N, c) => {
var l = ce(), d = fe(), h = l.WeakMap;
c.exports = d(h) && /native code/.test(String(h));
}), lt = O((N, c) => {
var l = vu(), d = _u(), h = l("keys");
c.exports = function(g) {
return h[g] || (h[g] = d(g));
};
}), wu = O((N, c) => {
c.exports = {};
}), ct = O((N, c) => {
var l = Dt(), d = ce(), h = Re(), g = Bu(), _ = Ne(), w = lu(), S = lt(), x = wu(), j = "Object already initialized", q = d.TypeError, y = d.WeakMap, U, J, H, Q = function(ne) {
return H(ne) ? J(ne) : U(ne, {});
}, Z = function(ne) {
return function(he) {
var ke;
if (!h(he) || (ke = J(he)).type !== ne)
throw q("Incompatible receiver, " + ne + " required");
return ke;
};
};
l || w.state ? (R = w.state || (w.state = new y()), R.get = R.get, R.has = R.has, R.set = R.set, U = function(ne, he) {
if (R.has(ne))
throw q(j);
return he.facade = ne, R.set(ne, he), he;
}, J = function(ne) {
return R.get(ne) || {};
}, H = function(ne) {
return R.has(ne);
}) : (De = S("state"), x[De] = !0, U = function(ne, he) {
if (_(ne, De))
throw q(j);
return he.facade = ne, g(ne, De, he), he;
}, J = function(ne) {
return _(ne, De) ? ne[De] : {};
}, H = function(ne) {
return _(ne, De);
});
var R, De;
c.exports = { set: U, get: J, has: H, enforce: Q, getterFor: Z };
}), pt = O((N, c) => {
var l = pe(), d = fe(), h = Ne(), g = ge(), _ = ot().CONFIGURABLE, w = bu(), S = ct(), x = S.enforce, j = S.get, q = Object.defineProperty, y = g && !l(function() {
return q(function() {
}, "length", { value: 8 }).length !== 8;
}), U = String(String).split("String"), J = c.exports = function(H, Q, Z) {
String(Q).slice(0, 7) === "Symbol(" && (Q = "[" + String(Q).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), Z && Z.getter && (Q = "get " + Q), Z && Z.setter && (Q = "set " + Q), (!h(H, "name") || _ && H.name !== Q) && (g ? q(H, "name", { value: Q, configurable: !0 }) : H.name = Q), y && Z && h(Z, "arity") && H.length !== Z.arity && q(H, "length", { value: Z.arity });
try {
Z && h(Z, "constructor") && Z.constructor ? g && q(H, "prototype", { writable: !1 }) : H.prototype && (H.prototype = void 0);
} catch {
}
var R = x(H);
return h(R, "source") || (R.source = U.join(typeof Q == "string" ? Q : "")), H;
};
Function.prototype.toString = J(function() {
return d(this) && j(this).source || w(this);
}, "toString");
}), ht = O((N, c) => {
var l = fe(), d = He(), h = pt(), g = Du();
c.exports = function(_, w, S, x) {
x || (x = {});
var j = x.enumerable, q = x.name !== void 0 ? x.name : w;
if (l(S) && h(S, q, x), x.global)
j ? _[w] = S : g(w, S);
else {
try {
x.unsafe ? _[w] && (j = !0) : delete _[w];
} catch {
}
j ? _[w] = S : d.f(_, w, { value: S, enumerable: !1, configurable: !x.nonConfigurable, writable: !x.nonWritable });
}
return _;
};
}), dt = O((N, c) => {
var l = Math.ceil, d = Math.floor;
c.exports = Math.trunc || function(h) {
var g = +h;
return (g > 0 ? d : l)(g);
};
}), xu = O((N, c) => {
var l = dt();
c.exports = function(d) {
var h = +d;
return h !== h || h === 0 ? 0 : l(h);
};
}), Ct = O((N, c) => {
var l = xu(), d = Math.max, h = Math.min;
c.exports = function(g, _) {
var w = l(g);
return w < 0 ? d(w + _, 0) : h(w, _);
};
}), Et = O((N, c) => {
var l = xu(), d = Math.min;
c.exports = function(h) {
return h > 0 ? d(l(h), 9007199254740991) : 0;
};
}), ze = O((N, c) => {
var l = Et();
c.exports = function(d) {
return l(d.length);
};
}), mt = O((N, c) => {
var l = iu(), d = Ct(), h = ze(), g = function(_) {
return function(w, S, x) {
var j = l(w), q = h(j), y = d(x, q), U;
if (_ && S != S) {
for (; q > y; )
if (U = j[y++], U != U)
return !0;
} else
for (; q > y; y++)
if ((_ || y in j) && j[y] === S)
return _ || y || 0;
return !_ && -1;
};
};
c.exports = { includes: g(!0), indexOf: g(!1) };
}), ft = O((N, c) => {
var l = ye(), d = Ne(), h = iu(), g = mt().indexOf, _ = wu(), w = l([].push);
c.exports = function(S, x) {
var j = h(S), q = 0, y = [], U;
for (U in j)
!d(_, U) && d(j, U) && w(y, U);
for (; x.length > q; )
d(j, U = x[q++]) && (~g(y, U) || w(y, U));
return y;
};
}), gt = O((N, c) => {
c.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
}), Ft = O((N) => {
var c = ft(), l = gt(), d = l.concat("length", "prototype");
N.f = Object.getOwnPropertyNames || function(h) {
return c(h, d);
};
}), At = O((N) => {
N.f = Object.getOwnPropertySymbols;
}), vt = O((N, c) => {
var l = Ge(), d = ye(), h = Ft(), g = At(), _ = $e(), w = d([].concat);
c.exports = l("Reflect", "ownKeys") || function(S) {
var x = h.f(_(S)), j = g.f;
return j ? w(x, j(S)) : x;
};
}), Tt = O((N, c) => {
var l = Ne(), d = vt(), h = Su(), g = He();
c.exports = function(_, w, S) {
for (var x = d(w), j = g.f, q = h.f, y = 0; y < x.length; y++) {
var U = x[y];
!l(_, U) && !(S && l(S, U)) && j(_, U, q(w, U));
}
};
}), _t = O((N, c) => {
var l = pe(), d = fe(), h = /#|\.prototype\./, g = function(j, q) {
var y = w[_(j)];
return y == x ? !0 : y == S ? !1 : d(q) ? l(q) : !!q;
}, _ = g.normalize = function(j) {
return String(j).replace(h, ".").toLowerCase();
}, w = g.data = {}, S = g.NATIVE = "N", x = g.POLYFILL = "P";
c.exports = g;
}), pu = O((N, c) => {
var l = ce(), d = Su().f, h = Bu(), g = ht(), _ = Du(), w = Tt(), S = _t();
c.exports = function(x, j) {
var q = x.target, y = x.global, U = x.stat, J, H, Q, Z, R, De;
if (y ? H = l : U ? H = l[q] || _(q, {}) : H = (l[q] || {}).prototype, H)
for (Q in j) {
if (R = j[Q], x.dontCallGetSet ? (De = d(H, Q), Z = De && De.value) : Z = H[Q], J = S(y ? Q : q + (U ? "." : "#") + Q, x.forced), !J && Z !== void 0) {
if (typeof R == typeof Z)
continue;
w(R, Z);
}
(x.sham || Z && Z.sham) && h(R, "sham", !0), g(H, Q, R, x);
}
};
}), yt = O(() => {
var N = pu(), c = ce();
N({ global: !0, forced: c.globalThis !== c }, { globalThis: c });
}), St = O(() => {
yt();
}), Nu = O((N, c) => {
var l = Ve();
c.exports = Array.isArray || function(d) {
return l(d) == "Array";
};
}), Bt = O((N, c) => {
var l = TypeError, d = 9007199254740991;
c.exports = function(h) {
if (h > d)
throw l("Maximum allowed index exceeded");
return h;
};
}), bt = O((N, c) => {
var l = Ve(), d = ye();
c.exports = function(h) {
if (l(h) === "Function")
return d(h);
};
}), ku = O((N, c) => {
var l = bt(), d = Xe(), h = ru(), g = l(l.bind);
c.exports = function(_, w) {
return d(_), w === void 0 ? _ : h ? g(_, w) : function() {
return _.apply(w, arguments);
};
};
}), wt = O((N, c) => {
var l = Nu(), d = ze(), h = Bt(), g = ku(), _ = function(w, S, x, j, q, y, U, J) {
for (var H = q, Q = 0, Z = U ? g(U, J) : !1, R, De; Q < j; )
Q in x && (R = Z ? Z(x[Q], Q, S) : x[Q], y > 0 && l(R) ? (De = d(R), H = _(w, S, R, De, H, y - 1) - 1) : (h(H + 1), w[H] = R), H++), Q++;
return H;
};
c.exports = _;
}), xt = O((N, c) => {
var l = Ie(), d = l("toStringTag"), h = {};
h[d] = "z", c.exports = String(h) === "[object z]";
}), Ou = O((N, c) => {
var l = xt(), d = fe(), h = Ve(), g = Ie(), _ = g("toStringTag"), w = Object, S = h(function() {
return arguments;
}()) == "Arguments", x = function(j, q) {
try {
return j[q];
} catch {
}
};
c.exports = l ? h : function(j) {
var q, y, U;
return j === void 0 ? "Undefined" : j === null ? "Null" : typeof (y = x(q = w(j), _)) == "string" ? y : S ? h(q) : (U = h(q)) == "Object" && d(q.callee) ? "Arguments" : U;
};
}), Nt = O((N, c) => {
var l = ye(), d = pe(), h = fe(), g = Ou(), _ = Ge(), w = bu(), S = function() {
}, x = [], j = _("Reflect", "construct"), q = /^\s*(?:class|function)\b/, y = l(q.exec), U = !q.exec(S), J = function(Q) {
if (!h(Q))
return !1;
try {
return j(S, x, Q), !0;
} catch {
return !1;
}
}, H = function(Q) {
if (!h(Q))
return !1;
switch (g(Q)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1;
}
try {
return U || !!y(q, w(Q));
} catch {
return !0;
}
};
H.sham = !0, c.exports = !j || d(function() {
var Q;
return J(J.call) || !J(Object) || !J(function() {
Q = !0;
}) || Q;
}) ? H : J;
}), kt = O((N, c) => {
var l = Nu(), d = Nt(), h = Re(), g = Ie(), _ = g("species"), w = Array;
c.exports = function(S) {
var x;
return l(S) && (x = S.constructor, d(x) && (x === w || l(x.prototype)) ? x = void 0 : h(x) && (x = x[_], x === null && (x = void 0))), x === void 0 ? w : x;
};
}), Ot = O((N, c) => {
var l = kt();
c.exports = function(d, h) {
return new (l(d))(h === 0 ? 0 : h);
};
}), Pt = O(() => {
var N = pu(), c = wt(), l = Xe(), d = Tu(), h = ze(), g = Ot();
N({ target: "Array", proto: !0 }, { flatMap: function(_) {
var w = d(this), S = h(w), x;
return l(_), x = g(w, 0), x.length = c(x, w, w, S, 0, 1, _, arguments.length > 1 ? arguments[1] : void 0), x;
} });
}), Pu = O((N, c) => {
c.exports = {};
}), Rt = O((N, c) => {
var l = Ie(), d = Pu(), h = l("iterator"), g = Array.prototype;
c.exports = function(_) {
return _ !== void 0 && (d.Array === _ || g[h] === _);
};
}), Ru = O((N, c) => {
var l = Ou(), d = ou(), h = su(), g = Pu(), _ = Ie(), w = _("iterator");
c.exports = function(S) {
if (!h(S))
return d(S, w) || d(S, "@@iterator") || g[l(S)];
};
}), It = O((N, c) => {
var l = Pe(), d = Xe(), h = $e(), g = au(), _ = Ru(), w = TypeError;
c.exports = function(S, x) {
var j = arguments.length < 2 ? _(S) : x;
if (d(j))
return h(l(j, S));
throw w(g(S) + " is not iterable");
};
}), Lt = O((N, c) => {
var l = Pe(), d = $e(), h = ou();
c.exports = function(g, _, w) {
var S, x;
d(g);
try {
if (S = h(g, "return"), !S) {
if (_ === "throw")
throw w;
return w;
}
S = l(S, g);
} catch (j) {
x = !0, S = j;
}
if (_ === "throw")
throw w;
if (x)
throw S;
return d(S), w;
};
}), $t = O((N, c) => {
var l = ku(), d = Pe(), h = $e(), g = au(), _ = Rt(), w = ze(), S = fu(), x = It(), j = Ru(), q = Lt(), y = TypeError, U = function(H, Q) {
this.stopped = H, this.result = Q;
}, J = U.prototype;
c.exports = function(H, Q, Z) {
var R = Z && Z.that, De = !!(Z && Z.AS_ENTRIES), ne = !!(Z && Z.IS_RECORD), he = !!(Z && Z.IS_ITERATOR), ke = !!(Z && Z.INTERRUPTED), Se = l(Q, R), Be, Oe, Le, qe, Fe, We, je, Me = function(de) {
return Be && q(Be, "normal", de), new U(!0, de);
}, Ye = function(de) {
return De ? (h(de), ke ? Se(de[0], de[1], Me) : Se(de[0], de[1])) : ke ? Se(de, Me) : Se(de);
};
if (ne)
Be = H.iterator;
else if (he)
Be = H;
else {
if (Oe = j(H), !Oe)
throw y(g(H) + " is not iterable");
if (_(Oe)) {
for (Le = 0, qe = w(H); qe > Le; Le++)
if (Fe = Ye(H[Le]), Fe && S(J, Fe))
return Fe;
return new U(!1);
}
Be = x(H, Oe);
}
for (We = ne ? H.next : Be.next; !(je = d(We, Be)).done; ) {
try {
Fe = Ye(je.value);
} catch (de) {
q(Be, "throw", de);
}
if (typeof Fe == "object" && Fe && S(J, Fe))
return Fe;
}
return new U(!1);
};
}), qt = O((N, c) => {
var l = cu(), d = He(), h = nu();
c.exports = function(g, _, w) {
var S = l(_);
S in g ? d.f(g, S, h(0, w)) : g[S] = w;
};
}), jt = O(() => {
var N = pu(), c = $t(), l = qt();
N({ target: "Object", stat: !0 }, { fromEntries: function(d) {
var h = {};
return c(d, function(g, _) {
l(h, g, _);
}, { AS_ENTRIES: !0 }), h;
} });
}), Mt = O((N, c) => {
var l = ["cliName", "cliCategory", "cliDescription"];
function d(e, t) {
if (e == null)
return {};
var a = h(e, t), o, p;
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
for (p = 0; p < r.length; p++)
o = r[p], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (a[o] = e[o]);
}
return a;
}
function h(e, t) {
if (e == null)
return {};
var a = {}, o = Object.keys(e), p, r;
for (r = 0; r < o.length; r++)
p = o[r], !(t.indexOf(p) >= 0) && (a[p] = e[p]);
return a;
}
St(), Pt(), jt();
var g = Object.create, _ = Object.defineProperty, w = Object.getOwnPropertyDescriptor, S = Object.getOwnPropertyNames, x = Object.getPrototypeOf, j = Object.prototype.hasOwnProperty, q = (e, t) => function() {
return e && (t = (0, e[S(e)[0]])(e = 0)), t;
}, y = (e, t) => function() {
return t || (0, e[S(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, U = (e, t) => {
for (var a in t)
_(e, a, { get: t[a], enumerable: !0 });
}, J = (e, t, a, o) => {
if (t && typeof t == "object" || typeof t == "function")
for (let p of S(t))
!j.call(e, p) && p !== a && _(e, p, { get: () => t[p], enumerable: !(o = w(t, p)) || o.enumerable });
return e;
}, H = (e, t, a) => (a = e != null ? g(x(e)) : {}, J(t || !e || !e.__esModule ? _(a, "default", { value: e, enumerable: !0 }) : a, e)), Q = (e) => J(_({}, "__esModule", { value: !0 }), e), Z, R = q({ "<define:process>"() {
Z = { env: {}, argv: [] };
} }), De = y({ "node_modules/angular-html-parser/lib/compiler/src/chars.js"(e) {
R(), Object.defineProperty(e, "__esModule", { value: !0 }), e.$EOF = 0, e.$BSPACE = 8, e.$TAB = 9, e.$LF = 10, e.$VTAB = 11, e.$FF = 12, e.$CR = 13, e.$SPACE = 32, e.$BANG = 33, e.$DQ = 34, e.$HASH = 35, e.$$ = 36, e.$PERCENT = 37, e.$AMPERSAND = 38, e.$SQ = 39, e.$LPAREN = 40, e.$RPAREN = 41, e.$STAR = 42, e.$PLUS = 43, e.$COMMA = 44, e.$MINUS = 45, e.$PERIOD = 46, e.$SLASH = 47, e.$COLON = 58, e.$SEMICOLON = 59, e.$LT = 60, e.$EQ = 61, e.$GT = 62, e.$QUESTION = 63, e.$0 = 48, e.$7 = 55, e.$9 = 57, e.$A = 65, e.$E = 69, e.$F = 70, e.$X = 88, e.$Z = 90, e.$LBRACKET = 91, e.$BACKSLASH = 92, e.$RBRACKET = 93, e.$CARET = 94, e.$_ = 95, e.$a = 97, e.$b = 98, e.$e = 101, e.$f = 102, e.$n = 110, e.$r = 114, e.$t = 116, e.$u = 117, e.$v = 118, e.$x = 120, e.$z = 122, e.$LBRACE = 123, e.$BAR = 124, e.$RBRACE = 125, e.$NBSP = 160, e.$PIPE = 124, e.$TILDA = 126, e.$AT = 64, e.$BT = 96;
function t(m) {
return m >= e.$TAB && m <= e.$SPACE || m == e.$NBSP;
}
e.isWhitespace = t;
function a(m) {
return e.$0 <= m && m <= e.$9;
}
e.isDigit = a;
function o(m) {
return m >= e.$a && m <= e.$z || m >= e.$A && m <= e.$Z;
}
e.isAsciiLetter = o;
function p(m) {
return m >= e.$a && m <= e.$f || m >= e.$A && m <= e.$F || a(m);
}
e.isAsciiHexDigit = p;
function r(m) {
return m === e.$LF || m === e.$CR;
}
e.isNewLine = r;
function i(m) {
return e.$0 <= m && m <= e.$7;
}
e.isOctalDigit = i;
} }), ne = y({ "node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e) {
R(), Object.defineProperty(e, "__esModule", { value: !0 });
var t = class {
constructor(o, p, r) {
this.filePath = o, this.name = p, this.members = r;
}
assertNoMembers() {
if (this.members.length)
throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`);
}
};
e.StaticSymbol = t;
var a = class {
constructor() {
this.cache = /* @__PURE__ */ new Map();
}
get(o, p, r) {
r = r || [];
let i = r.length ? `.${r.join(".")}` : "", m = `"${o}".${p}${i}`, f = this.cache.get(m);
return f || (f = new t(o, p, r), this.cache.set(m, f)), f;
}
};
e.StaticSymbolCache = a;
} }), he = y({ "node_modules/angular-html-parser/lib/compiler/src/util.js"(e) {
R(), Object.defineProperty(e, "__esModule", { value: !0 });
var t = /-+([a-z0-9])/g;
function a(n) {
return n.replace(t, function() {
for (var A = arguments.length, C = new Array(A), b = 0; b < A; b++)
C[b] = arguments[b];
return C[1].toUpperCase();
});
}
e.dashCaseToCamelCase = a;
function o(n, A) {
return r(n, ":", A);
}
e.splitAtColon = o;
function p(n, A) {
return r(n, ".", A);
}
e.splitAtPeriod = p;
function r(n, A, C) {
let b = n.indexOf(A);
return b == -1 ? C : [n.slice(0, b).trim(), n.slice(b + 1).trim()];
}
function i(n, A, C) {
return Array.isArray(n) ? A.visitArray(n, C) : P(n) ? A.visitStringMap(n, C) : n == null || typeof n == "string" || typeof n == "number" || typeof n == "boolean" ? A.visitPrimitive(n, C) : A.visitOther(n, C);
}
e.visitValue = i;
function m(n) {
return n != null;
}
e.isDefined = m;
function f(n) {
return n === void 0 ? null : n;
}
e.noUndefined = f;
var L = class {
visitArray(n, A) {
return n.map((C) => i(C, this, A));
}
visitStringMap(n, A) {
let C = {};
return Object.keys(n).forEach((b) => {
C[b] = i(n[b], this, A);
}), C;
}
visitPrimitive(n, A) {
return n;
}
visitOther(n, A) {
return n;
}
};
e.ValueTransformer = L, e.SyncAsync = { assertSync: (n) => {
if (B(n))
throw new Error("Illegal state: value cannot be a promise");
return n;
}, then: (n, A) => B(n) ? n.then(A) : A(n), all: (n) => n.some(B) ? Promise.all(n) : n };
function s(n) {
throw new Error(`Internal Error: ${n}`);
}
e.error = s;
function D(n, A) {
let C = Error(n);
return C[E] = !0, A && (C[v] = A), C;
}
e.syntaxError = D;
var E = "ngSyntaxError", v = "ngParseErrors";
function F(n) {
return n[E];
}
e.isSyntaxError = F;
function T(n) {
return n[v] || [];
}
e.getParseErrors = T;
function $(n) {
return n.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
}
e.escapeRegExp = $;
var X = Object.getPrototypeOf({});
function P(n) {
return typeof n == "object" && n !== null && Object.getPrototypeOf(n) === X;
}
function G(n) {
let A = "";
for (let C = 0; C < n.length; C++) {
let b = n.charCodeAt(C);
if (b >= 55296 && b <= 56319 && n.length > C + 1) {
let K = n.charCodeAt(C + 1);
K >= 56320 && K <= 57343 && (C++, b = (b - 55296 << 10) + K - 56320 + 65536);
}
b <= 127 ? A += String.fromCharCode(b) : b <= 2047 ? A += String.fromCharCode(b >> 6 & 31 | 192, b & 63 | 128) : b <= 65535 ? A += String.fromCharCode(b >> 12 | 224, b >> 6 & 63 | 128, b & 63 | 128) : b <= 2097151 && (A += String.fromCharCode(b >> 18 & 7 | 240, b >> 12 & 63 | 128, b >> 6 & 63 | 128, b & 63 | 128));
}
return A;
}
e.utf8Encode = G;
function W(n) {
if (typeof n == "string")
return n;
if (n instanceof Array)
return "[" + n.map(W).join(", ") + "]";
if (n == null)
return "" + n;
if (n.overriddenName)
return `${n.overriddenName}`;
if (n.name)
return `${n.name}`;
if (!n.toString)
return "object";
let A = n.toString();
if (A == null)
return "" + A;
let C = A.indexOf(`
`);
return C === -1 ? A : A.substring(0, C);
}
e.stringify = W;
function se(n) {
return typeof n == "function" && n.hasOwnProperty("__forward_ref__") ? n() : n;
}
e.resolveForwardRef = se;
function B(n) {
return !!n && typeof n.then == "function";
}
e.isPromise = B;
var z = class {
constructor(n) {
this.full = n;
let A = n.split(".");
this.major = A[0], this.minor = A[1], this.patch = A.slice(2).join(".");
}
};
e.Version = z;
var Y = typeof window < "u" && window, ee = typeof self < "u" && typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && self, re = typeof globalThis < "u" && globalThis, u = re || Y || ee;
e.global = u;
} }), ke = y({ "node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e) {
R(), Object.defineProperty(e, "__esModule", { value: !0 });
var t = ne(), a = he(), o = /^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;
function p(C) {
return C.replace(/\W/g, "_");
}
e.sanitizeIdentifier = p;
var r = 0;
function i(C) {
if (!C || !C.reference)
return null;
let b = C.reference;
if (b instanceof t.StaticSymbol)
return b.name;
if (b.__anonymousType)
return b.__anonymousType;
let K = a.stringify(b);
return K.indexOf("(") >= 0 ? (K = `anonymous_${r++}`, b.__anonymousType = K) : K = p(K), K;
}
e.identifierName = i;
function m(C) {
let b = C.reference;
return b instanceof t.StaticSymbol ? b.filePath : `./${a.stringify(b)}`;
}
e.identifierModuleUrl = m;
function f(C, b) {
return `View_${i({ reference: C })}_${b}`;
}
e.viewClassName = f;
function L(C) {
return `RenderType_${i({ reference: C })}`;
}
e.rendererTypeName = L;
function s(C) {
return `HostView_${i({ reference: C })}`;
}
e.hostViewClassName = s;
function D(C) {
return `${i({ reference: C })}NgFactory`;
}
e.componentFactoryName = D;
var E;
(function(C) {
C[C.Pipe = 0] = "Pipe", C[C.Directive = 1] = "Directive", C[C.NgModule = 2] = "NgModule", C[C.Injectable = 3] = "Injectable";
})(E = e.CompileSummaryKind || (e.CompileSummaryKind = {}));
function v(C) {
return C.value != null ? p(C.value) : i(C.identifier);
}
e.tokenName = v;
function F(C) {
return C.identifier != null ? C.identifier.reference : C.value;
}
e.tokenReference = F;
var T = class {
constructor() {
let { moduleUrl: C, styles: b, styleUrls: K } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
this.moduleUrl = C || null, this.styles = B(b), this.styleUrls = B(K);
}
};
e.CompileStylesheetMetadata = T;
var $ = class {
constructor(C) {
let { encapsulation: b, template: K, templateUrl: te, htmlAst: le, styles: oe, styleUrls: Ce, externalStylesheets: Ee, animations: Ae, ngContentSelectors: ve, interpolation: Te, isInline: k, preserveWhitespaces: I } = C;
if (this.encapsulation = b, this.template = K, this.templateUrl = te, this.htmlAst = le, this.styles = B(oe), this.styleUrls = B(Ce), this.externalStylesheets = B(Ee), this.animations = Ae ? Y(Ae) : [], this.ngContentSelectors = ve || [], Te && Te.length != 2)
throw new Error("'interpolation' should have a start and an end symbol.");
this.interpolation = Te, this.isInline = k, this.preserveWhitespaces = I;
}
toSummary() {
return { ngContentSelectors: this.ngContentSelectors, encapsulation: this.encapsulation, styles: this.styles, animations: this.animations };
}
};
e.CompileTemplateMetadata = $;
var X = class {
static create(C) {
let { isHost: b, type: K, isComponent: te, selector: le, exportAs: oe, changeDetection: Ce, inputs: Ee, outputs: Ae, host: ve, providers: Te, viewProviders: k, queries: I, guards: M, viewQueries: V, entryComponents: ue, template: ie, componentViewType: ae, rendererType: me, componentFactory: be } = C, Ze = {}, eu = {}, Yu = {};
ve != null && Object.keys(ve).forEach((_e) => {
let we = ve[_e], Ue = _e.match(o);
Ue === null ? Yu[_e] = we : Ue[1] != null ? eu[Ue[1]] = we : Ue[2] != null && (Ze[Ue[2]] = we);
});
let Qu = {};
Ee != null && Ee.forEach((_e) => {
let we = a.splitAtColon(_e, [_e, _e]);
Qu[we[0]] = we[1];
});
let Ju = {};
return Ae != null && Ae.forEach((_e) => {
let we = a.splitAtColon(_e, [_e, _e]);
Ju[we[0]] = we[1];
}), new X({ isHost: b, type: K, isComponent: !!te, selector: le, exportAs: oe, changeDetection: Ce, inputs: Qu, outputs: Ju, hostListeners: Ze, hostProperties: eu, hostAttributes: Yu, providers: Te, viewProviders: k, queries: I, guards: M, viewQueries: V, entryComponents: ue, template: ie, componentViewType: ae, rendererType: me, componentFactory: be });
}
constructor(C) {
let { isHost: b, type: K, isComponent: te, selector: le, exportAs: oe, changeDetection: Ce, inputs: Ee, outputs: Ae, hostListeners: ve, hostProperties: Te, hostAttributes: k, providers: I, viewProviders: M, queries: V, guards: ue, viewQueries: ie, entryComponents: ae, template: me, componentViewType: be, rendererType: Ze, componentFactory: eu } = C;
this.isHost = !!b, this.type = K, this.isComponent = te, this.selector = le, this.exportAs = oe, this.changeDetection = Ce, this.inputs = Ee, this.outputs = Ae, this.hostListeners = ve, this.hostProperties = Te, this.hostAttributes = k, this.providers = B(I), this.viewProviders = B(M), this.queries = B(V), this.guards = ue, this.viewQueries = B(ie), this.entryComponents = B(ae), this.template = me, this.componentViewType = be, this.rendererType = Ze, this.componentFactory = eu;
}
toSummary() {
return { summaryKind: E.Directive, type: this.type, isComponent: this.isComponent, selector: this.selector, exportAs: this.exportAs, inputs: this.inputs, outputs: this.outputs, hostListeners: this.hostListeners, hostProperties: this.hostProperties, hostAttributes: this.hostAttributes, providers: this.providers, viewProviders: this.viewProviders, queries: this.queries, guards: this.guards, viewQueries: this.viewQueries, entryComponents: this.entryComponents, changeDetection: this.changeDetection, template: this.template && this.template.toSummary(), componentViewType: this.componentViewType, rendererType: this.rendererType, componentFactory: this.componentFactory };
}
};
e.CompileDirectiveMetadata = X;
var P = class {
constructor(C) {
let { type: b, name: K, pure: te } = C;
this.type = b, this.name = K, this.pure = !!te;
}
toSummary() {
return { summaryKind: E.Pipe, type: this.type, name: this.name, pure: this.pure };
}
};
e.CompilePipeMetadata = P;
var G = class {
};
e.CompileShallowModuleMetadata = G;
var W = class {
constructor(C) {
let { type: b, providers: K, declaredDirectives: te, exportedDirectives: le, declaredPipes: oe, exportedPipes: Ce, entryComponents: Ee, bootstrapComponents: Ae, importedModules: ve, exportedModules: Te, schemas: k, transitiveModule: I, id: M } = C;
this.type = b || null, this.declaredDirectives = B(te), this.exportedDirectives = B(le), this.declaredPipes = B(oe), this.exportedPipes = B(Ce), this.providers = B(K), this.entryComponents = B(Ee), this.bootstrapComponents = B(Ae), this.importedModules = B(ve), this.exportedModules = B(Te), this.schemas = B(k), this.id = M || null, this.transitiveModule = I || null;
}
toSummary() {
let C = this.transitiveModule;
return { summaryKind: E.NgModule, type: this.type, entryComponents: C.entryComponents, providers: C.providers, modules: C.modules, exportedDirectives: C.exportedDirectives, exportedPipes: C.exportedPipes };
}
};
e.CompileNgModuleMetadata = W;
var se = class {
constructor() {
this.directivesSet = /* @__PURE__ */ new Set(), this.directives = [], this.exportedDirectivesSet = /* @__PURE__ */ new Set(), this.exportedDirectives = [], this.pipesSet = /* @__PURE__ */ new Set(), this.pipes = [], this.exportedPipesSet = /* @__PURE__ */ new Set(), this.exportedPipes = [], this.modulesSet = /* @__PURE__ */ new Set(), this.modules = [], this.entryComponentsSet = /* @__PURE__ */ new Set(), this.entryComponents = [], this.providers = [];
}
addProvider(C, b) {
this.providers.push({ provider: C, module: b });
}
addDirective(C) {
this.directivesSet.has(C.reference) || (this.directivesSet.add(C.reference), this.directives.push(C));
}
addExportedDirective(C) {
this.exportedDirectivesSet.has(C.reference) || (this.exportedDirectivesSet.add(C.reference), this.exportedDirectives.push(C));
}
addPipe(C) {
this.pipesSet.has(C.reference) || (this.pipesSet.add(C.reference), this.pipes.push(C));
}
addExportedPipe(C) {
this.exportedPipesSet.has(C.reference) || (this.exportedPipesSet.add(C.reference), this.exportedPipes.push(C));
}
addModule(C) {
this.modulesSet.has(C.reference) || (this.modulesSet.add(C.reference), this.modules.push(C));
}
addEntryComponent(C) {
this.entryComponentsSet.has(C.componentType) || (this.entryComponentsSet.add(C.componentType), this.entryComponents.push(C));
}
};
e.TransitiveCompileNgModuleMetadata = se;
function B(C) {
return C || [];
}
var z = class {
constructor(C, b) {
let { useClass: K, useValue: te, useExisting: le, useFactory: oe, deps: Ce, multi: Ee } = b;
this.token = C, this.useClass = K || null, this.useValue = te, this.useExisting = le, this.useFactory = oe || null, this.dependencies = Ce || null, this.multi = !!Ee;
}
};
e.ProviderMeta = z;
function Y(C) {
return C.reduce((b, K) => {
let te = Array.isArray(K) ? Y(K) : K;
return b.concat(te);
}, []);
}
e.flatten = Y;
function ee(C) {
return C.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/, "ng:///");
}
function re(C, b, K) {
let te;
return K.isInline ? b.type.reference instanceof t.StaticSymbol ? te = `${b.type.reference.filePath}.${b.type.reference.name}.html` : te = `${i(C)}/${i(b.type)}.html` : te = K.templateUrl, b.type.reference instanceof t.StaticSymbol ? te : ee(te);
}
e.templateSourceUrl = re;
function u(C, b) {
let K = C.moduleUrl.split(/\/\\/g), te = K[K.length - 1];
return ee(`css/${b}${te}.ngstyle.js`);
}
e.sharedStylesheetJitUrl = u;
function n(C) {
return ee(`${i(C.type)}/module.ngfactory.js`);
}
e.ngModuleJitUrl = n;
function A(C, b) {
return ee(`${i(C)}/${i(b.type)}.ngfactory.js`);
}
e.templateJitUrl = A;
} }), Se = y({ "node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e) {
R(), Object.defineProperty(e, "__esModule", { value: !0 });
var t = De(), a = ke(), o = class {
constructor(s, D, E, v) {
this.file = s, this.offset = D, this.line = E, this.col = v;
}
toString() {
return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
}
moveBy(s) {
let D = this.file.content, E = D.length, v = this.offset, F = this.line, T = this.col;
for (; v > 0 && s < 0; )
if (v--, s++, D.charCodeAt(v) == t.$LF) {
F--;
let $ = D.substr(0, v - 1).lastIndexOf(String.fromCharCode(t.$LF));
T = $ > 0 ? v - $ : v;
} else
T--;
for (; v < E && s > 0; ) {
let $ = D.charCodeAt(v);
v++, s--, $ == t.$LF ? (F++, T = 0) : T++;
}
return new o(this.file, v, F, T);
}
getContext(s, D) {
let E = this.file.content, v = this.offset;
if (v != null) {
v > E.length - 1 && (v = E.length - 1);
let F = v, T = 0, $ = 0;
for (; T < s && v > 0 && (v--, T++, !(E[v] == `
` && ++$ == D)); )
;
for (T = 0, $ = 0; T < s && F < E.length - 1 && (F++, T++, !(E[F] == `
` && ++$ == D)); )
;
return { before: E.substring(v, this.offset), after: E.substring(this.offset, F + 1) };
}
return null;
}
};
e.ParseLocation = o;
var p = class {
constructor(s, D) {
this.content = s, this.url = D;
}
};
e.ParseSourceFile = p;
var r = class {
constructor(s, D) {
let E = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
this.start = s, this.end = D, this.details = E;
}
toString() {
return this.start.file.content.substring(this.start.offset, this.end.offset);
}
};
e.ParseSourceSpan = r, e.EMPTY_PARSE_LOCATION = new o(new p("", ""), 0, 0, 0), e.EMPTY_SOURCE_SPAN = new r(e.EMPTY_PARSE_LOCATION, e.EMPTY_PARSE_LOCATION);
var i;
(function(s) {
s[s.WARNING = 0] = "WARNING", s[s.ERROR = 1] = "ERROR";
})(i = e.ParseErrorLevel || (e.ParseErrorLevel = {}));
var m = class {
constructor(s, D) {
let E = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : i.ERROR;
this.span = s, this.msg = D, this.level = E;
}
contextualMessage() {
let s = this.span.start.getContext(100, 3);
return s ? `${this.msg} ("${s.before}[${i[this.level]} ->]${s.after}")` : this.msg;
}
toString() {
let s = this.span.details ? `, ${this.span.details}` : "";
return `${this.contextualMessage()}: ${this.span.start}${s}`;
}
};
e.ParseError = m;
function f(s, D) {
let E = a.identifierModuleUrl(D), v = E != null ? `in ${s} ${a.identifierName(D)} in ${E}` : `in ${s} ${a.identifierName(D)}`, F = new p("", v);
return new r(new o(F, -1, -1, -1), new o(F, -1, -1, -1));
}
e.typeSourceSpan = f;
function L(s, D, E) {
let v = `in ${s} ${D} in ${E}`, F = new p("", v);
return new r(new o(F, -1, -1, -1), new o(F, -1, -1, -1));
}
e.r3JitTypeSourceSpan = L;
} }), Be = y({ "src/utils/front-matter/parse.js"(e, t) {
R();
var a = new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)", "s");
function o(p) {
let r = p.match(a);
if (!r)
return { content: p };
let { startDelimiter: i, language: m, value: f = "", endDelimiter: L } = r.groups, s = m.trim() || "yaml";
if (i === "+++" && (s = "toml"), s !== "yaml" && i !== L)
return { content: p };
let [D] = r;
return { frontMatter: { type: "front-matter", lang: s, value: f, startDelimiter: i, endDelimiter: L, raw: D.replace(/\n$/, "") }, content: D.replace(/[^\n]/g, " ") + p.slice(D.length) };
}
t.exports = o;
} }), Oe = y({ "src/utils/get-last.js"(e, t)