@oslokommune/punkt-react 12.3.1 → 12.3.2
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/punkt-react.es.js +428 -419
- package/dist/punkt-react.umd.js +72 -72
- package/package.json +3 -3
package/dist/punkt-react.es.js
CHANGED
|
@@ -56,7 +56,7 @@ function Jm(e, t) {
|
|
|
56
56
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
57
57
|
}
|
|
58
58
|
var gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
59
|
-
function
|
|
59
|
+
function xi(e) {
|
|
60
60
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
61
61
|
}
|
|
62
62
|
var Us = { exports: {} }, Hr = {};
|
|
@@ -315,14 +315,14 @@ function Qm() {
|
|
|
315
315
|
} catch (it) {
|
|
316
316
|
if (it && Z && typeof it.stack == "string") {
|
|
317
317
|
for (var ae = it.stack.split(`
|
|
318
|
-
`),
|
|
319
|
-
`), Te = ae.length - 1, Ae =
|
|
318
|
+
`), Xe = Z.stack.split(`
|
|
319
|
+
`), Te = ae.length - 1, Ae = Xe.length - 1; Te >= 1 && Ae >= 0 && ae[Te] !== Xe[Ae]; )
|
|
320
320
|
Ae--;
|
|
321
321
|
for (; Te >= 1 && Ae >= 0; Te--, Ae--)
|
|
322
|
-
if (ae[Te] !==
|
|
322
|
+
if (ae[Te] !== Xe[Ae]) {
|
|
323
323
|
if (Te !== 1 || Ae !== 1)
|
|
324
324
|
do
|
|
325
|
-
if (Te--, Ae--, Ae < 0 || ae[Te] !==
|
|
325
|
+
if (Te--, Ae--, Ae < 0 || ae[Te] !== Xe[Ae]) {
|
|
326
326
|
var ft = `
|
|
327
327
|
` + ae[Te].replace(" at new ", " at ");
|
|
328
328
|
return w.displayName && ft.includes("<anonymous>") && (ft = ft.replace("<anonymous>", w.displayName)), typeof w == "function" && Dt.set(w, ft), ft;
|
|
@@ -334,8 +334,8 @@ function Qm() {
|
|
|
334
334
|
} finally {
|
|
335
335
|
jt = !1, Le.current = me, Se(), Error.prepareStackTrace = ve;
|
|
336
336
|
}
|
|
337
|
-
var He = w ? w.displayName || w.name : "",
|
|
338
|
-
return typeof w == "function" && Dt.set(w,
|
|
337
|
+
var He = w ? w.displayName || w.name : "", Qe = He ? dt(He) : "";
|
|
338
|
+
return typeof w == "function" && Dt.set(w, Qe), Qe;
|
|
339
339
|
}
|
|
340
340
|
function bt(w, M, H) {
|
|
341
341
|
return cn(w, !1);
|
|
@@ -389,8 +389,8 @@ function Qm() {
|
|
|
389
389
|
var ae = void 0;
|
|
390
390
|
try {
|
|
391
391
|
if (typeof w[pe] != "function") {
|
|
392
|
-
var
|
|
393
|
-
throw
|
|
392
|
+
var Xe = Error((Z || "React class") + ": " + H + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
393
|
+
throw Xe.name = "Invariant Violation", Xe;
|
|
394
394
|
}
|
|
395
395
|
ae = w[pe](M, pe, Z, H, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
396
396
|
} catch (Te) {
|
|
@@ -412,24 +412,24 @@ function Qm() {
|
|
|
412
412
|
}
|
|
413
413
|
function qi(w) {
|
|
414
414
|
try {
|
|
415
|
-
return
|
|
415
|
+
return Ea(w), !1;
|
|
416
416
|
} catch {
|
|
417
417
|
return !0;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function Ea(w) {
|
|
421
421
|
return "" + w;
|
|
422
422
|
}
|
|
423
423
|
function ht(w) {
|
|
424
424
|
if (qi(w))
|
|
425
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xr(w)),
|
|
425
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xr(w)), Ea(w);
|
|
426
426
|
}
|
|
427
|
-
var Lt = T.ReactCurrentOwner,
|
|
427
|
+
var Lt = T.ReactCurrentOwner, Fa = {
|
|
428
428
|
key: !0,
|
|
429
429
|
ref: !0,
|
|
430
430
|
__self: !0,
|
|
431
431
|
__source: !0
|
|
432
|
-
},
|
|
432
|
+
}, Aa, $a, _r;
|
|
433
433
|
_r = {};
|
|
434
434
|
function kt(w) {
|
|
435
435
|
if (ke.call(w, "ref")) {
|
|
@@ -456,7 +456,7 @@ function Qm() {
|
|
|
456
456
|
function Wi(w, M) {
|
|
457
457
|
{
|
|
458
458
|
var H = function() {
|
|
459
|
-
|
|
459
|
+
Aa || (Aa = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", M));
|
|
460
460
|
};
|
|
461
461
|
H.isReactWarning = !0, Object.defineProperty(w, "key", {
|
|
462
462
|
get: H,
|
|
@@ -467,7 +467,7 @@ function Qm() {
|
|
|
467
467
|
function zi(w, M) {
|
|
468
468
|
{
|
|
469
469
|
var H = function() {
|
|
470
|
-
|
|
470
|
+
$a || ($a = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", M));
|
|
471
471
|
};
|
|
472
472
|
H.isReactWarning = !0, Object.defineProperty(w, "ref", {
|
|
473
473
|
get: H,
|
|
@@ -506,29 +506,29 @@ function Qm() {
|
|
|
506
506
|
};
|
|
507
507
|
function Vi(w, M, H, Z, ve) {
|
|
508
508
|
{
|
|
509
|
-
var me, pe = {}, ae = null,
|
|
510
|
-
H !== void 0 && (ht(H), ae = "" + H), Hi(M) && (ht(M.key), ae = "" + M.key), kt(M) && (
|
|
509
|
+
var me, pe = {}, ae = null, Xe = null;
|
|
510
|
+
H !== void 0 && (ht(H), ae = "" + H), Hi(M) && (ht(M.key), ae = "" + M.key), kt(M) && (Xe = M.ref, Ui(M, ve));
|
|
511
511
|
for (me in M)
|
|
512
|
-
ke.call(M, me) && !
|
|
512
|
+
ke.call(M, me) && !Fa.hasOwnProperty(me) && (pe[me] = M[me]);
|
|
513
513
|
if (w && w.defaultProps) {
|
|
514
514
|
var Te = w.defaultProps;
|
|
515
515
|
for (me in Te)
|
|
516
516
|
pe[me] === void 0 && (pe[me] = Te[me]);
|
|
517
517
|
}
|
|
518
|
-
if (ae ||
|
|
518
|
+
if (ae || Xe) {
|
|
519
519
|
var Ae = typeof w == "function" ? w.displayName || w.name || "Unknown" : w;
|
|
520
|
-
ae && Wi(pe, Ae),
|
|
520
|
+
ae && Wi(pe, Ae), Xe && zi(pe, Ae);
|
|
521
521
|
}
|
|
522
|
-
return xt(w, ae,
|
|
522
|
+
return xt(w, ae, Xe, ve, Z, Lt.current, pe);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
var Sr = T.ReactCurrentOwner,
|
|
525
|
+
var Sr = T.ReactCurrentOwner, Ta = T.ReactDebugCurrentFrame;
|
|
526
526
|
function $t(w) {
|
|
527
527
|
if (w) {
|
|
528
528
|
var M = w._owner, H = Pt(w.type, w._source, M ? M.type : null);
|
|
529
|
-
|
|
529
|
+
Ta.setExtraStackFrame(H);
|
|
530
530
|
} else
|
|
531
|
-
|
|
531
|
+
Ta.setExtraStackFrame(null);
|
|
532
532
|
}
|
|
533
533
|
var Er;
|
|
534
534
|
Er = !1;
|
|
@@ -550,7 +550,7 @@ Check the render method of \`` + w + "`.";
|
|
|
550
550
|
function Gi(w) {
|
|
551
551
|
return "";
|
|
552
552
|
}
|
|
553
|
-
var
|
|
553
|
+
var Ba = {};
|
|
554
554
|
function Yi(w) {
|
|
555
555
|
{
|
|
556
556
|
var M = Ar();
|
|
@@ -569,9 +569,9 @@ Check the top-level render call using <` + H + ">.");
|
|
|
569
569
|
return;
|
|
570
570
|
w._store.validated = !0;
|
|
571
571
|
var H = Yi(M);
|
|
572
|
-
if (
|
|
572
|
+
if (Ba[H])
|
|
573
573
|
return;
|
|
574
|
-
|
|
574
|
+
Ba[H] = !0;
|
|
575
575
|
var Z = "";
|
|
576
576
|
w && w._owner && w._owner !== Sr.current && (Z = " It was passed a child from " + L(w._owner.type) + "."), $t(w), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', H, Z), $t(null);
|
|
577
577
|
}
|
|
@@ -632,15 +632,15 @@ Check the top-level render call using <` + H + ">.");
|
|
|
632
632
|
w.ref !== null && ($t(w), E("Invalid attribute `ref` supplied to `React.Fragment`."), $t(null));
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
function
|
|
635
|
+
var Na = {};
|
|
636
|
+
function ja(w, M, H, Z, ve, me) {
|
|
637
637
|
{
|
|
638
638
|
var pe = W(w);
|
|
639
639
|
if (!pe) {
|
|
640
640
|
var ae = "";
|
|
641
641
|
(w === void 0 || typeof w == "object" && w !== null && Object.keys(w).length === 0) && (ae += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
642
|
-
var
|
|
643
|
-
|
|
642
|
+
var Xe = Gi();
|
|
643
|
+
Xe ? ae += Xe : ae += Ar();
|
|
644
644
|
var Te;
|
|
645
645
|
w === null ? Te = "null" : zt(w) ? Te = "array" : w !== void 0 && w.$$typeof === t ? (Te = "<" + (L(w.type) || "Unknown") + " />", ae = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof w, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, ae);
|
|
646
646
|
}
|
|
@@ -661,29 +661,29 @@ Check the top-level render call using <` + H + ">.");
|
|
|
661
661
|
Vt(ft, w);
|
|
662
662
|
}
|
|
663
663
|
if (ke.call(M, "key")) {
|
|
664
|
-
var
|
|
664
|
+
var Qe = L(w), it = Object.keys(M).filter(function(Qi) {
|
|
665
665
|
return Qi !== "key";
|
|
666
666
|
}), $r = it.length > 0 ? "{key: someKey, " + it.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
667
|
-
if (!
|
|
668
|
-
var
|
|
667
|
+
if (!Na[Qe + $r]) {
|
|
668
|
+
var La = it.length > 0 ? "{" + it.join(": ..., ") + ": ...}" : "{}";
|
|
669
669
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
670
670
|
let props = %s;
|
|
671
671
|
<%s {...props} />
|
|
672
672
|
React keys must be passed directly to JSX without using spread:
|
|
673
673
|
let props = %s;
|
|
674
|
-
<%s key={someKey} {...props} />`, $r,
|
|
674
|
+
<%s key={someKey} {...props} />`, $r, Qe, La, Qe), Na[Qe + $r] = !0;
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
return w === r ? Ki(Ae) : wt(Ae), Ae;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return
|
|
680
|
+
function Pa(w, M, H) {
|
|
681
|
+
return ja(w, M, H, !0);
|
|
682
682
|
}
|
|
683
683
|
function Ji(w, M, H) {
|
|
684
|
-
return
|
|
684
|
+
return ja(w, M, H, !1);
|
|
685
685
|
}
|
|
686
|
-
var Xi = Ji, Kn =
|
|
686
|
+
var Xi = Ji, Kn = Pa;
|
|
687
687
|
Ur.Fragment = r, Ur.jsx = Xi, Ur.jsxs = Kn;
|
|
688
688
|
}()), Ur;
|
|
689
689
|
}
|
|
@@ -755,11 +755,11 @@ var Hc = { exports: {} };
|
|
|
755
755
|
})();
|
|
756
756
|
})(Hc);
|
|
757
757
|
var ag = Hc.exports;
|
|
758
|
-
const
|
|
758
|
+
const nt = /* @__PURE__ */ xi(ag), c_ = Ne(
|
|
759
759
|
({ title: e, className: t, children: n, toggleProps: r, defaultOpen: i = !1, id: o }, u) => {
|
|
760
760
|
const [c, d] = Ve(i), h = r ? r.isOpen : c, g = (b) => b ?? void 0, v = (b, k) => {
|
|
761
761
|
b.preventDefault(), r !== void 0 && r.onToggleClick(b, k), d(!h);
|
|
762
|
-
}, D =
|
|
762
|
+
}, D = nt(t, "pkt-accordion-item");
|
|
763
763
|
return /* @__PURE__ */ m.jsxs(
|
|
764
764
|
"details",
|
|
765
765
|
{
|
|
@@ -1007,7 +1007,7 @@ const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
|
|
|
1007
1007
|
* Copyright 2019 Google LLC
|
|
1008
1008
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1009
1009
|
*/
|
|
1010
|
-
const
|
|
1010
|
+
const li = globalThis, mo = li.ShadowRoot && (li.ShadyCSS === void 0 || li.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wc = Symbol(), pu = /* @__PURE__ */ new WeakMap();
|
|
1011
1011
|
let og = class {
|
|
1012
1012
|
constructor(t, n, r) {
|
|
1013
1013
|
if (this._$cssResult$ = !0, r !== Wc) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -1029,7 +1029,7 @@ let og = class {
|
|
|
1029
1029
|
const lg = (e) => new og(typeof e == "string" ? e : e + "", void 0, Wc), ug = (e, t) => {
|
|
1030
1030
|
if (mo) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
|
1031
1031
|
else for (const n of t) {
|
|
1032
|
-
const r = document.createElement("style"), i =
|
|
1032
|
+
const r = document.createElement("style"), i = li.litNonce;
|
|
1033
1033
|
i !== void 0 && r.setAttribute("nonce", i), r.textContent = n.cssText, e.appendChild(r);
|
|
1034
1034
|
}
|
|
1035
1035
|
}, du = mo ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
@@ -1042,7 +1042,7 @@ const lg = (e) => new og(typeof e == "string" ? e : e + "", void 0, Wc), ug = (e
|
|
|
1042
1042
|
* Copyright 2017 Google LLC
|
|
1043
1043
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1044
1044
|
*/
|
|
1045
|
-
const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnPropertyNames: hg, getOwnPropertySymbols: fg, getPrototypeOf: mg } = Object, mr = globalThis, hu = mr.trustedTypes, gg = hu ? hu.emptyScript : "", fu = mr.reactiveElementPolyfillSupport, ta = (e, t) => e,
|
|
1045
|
+
const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnPropertyNames: hg, getOwnPropertySymbols: fg, getPrototypeOf: mg } = Object, mr = globalThis, hu = mr.trustedTypes, gg = hu ? hu.emptyScript : "", fu = mr.reactiveElementPolyfillSupport, ta = (e, t) => e, mi = { toAttribute(e, t) {
|
|
1046
1046
|
switch (t) {
|
|
1047
1047
|
case Boolean:
|
|
1048
1048
|
e = e ? gg : null;
|
|
@@ -1070,7 +1070,7 @@ const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnProperty
|
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
return n;
|
|
1073
|
-
} }, go = (e, t) => !cg(e, t), mu = { attribute: !0, type: String, converter:
|
|
1073
|
+
} }, go = (e, t) => !cg(e, t), mu = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: go };
|
|
1074
1074
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), mr.litPropertyMetadata ?? (mr.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1075
1075
|
let or = class extends HTMLElement {
|
|
1076
1076
|
static addInitializer(t) {
|
|
@@ -1183,7 +1183,7 @@ let or = class extends HTMLElement {
|
|
|
1183
1183
|
var r;
|
|
1184
1184
|
const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
|
|
1185
1185
|
if (o !== void 0 && i.reflect === !0) {
|
|
1186
|
-
const u = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
1186
|
+
const u = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : mi).toAttribute(n, i.type);
|
|
1187
1187
|
this._$Em = t, u == null ? this.removeAttribute(o) : this.setAttribute(o, u), this._$Em = null;
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
@@ -1191,7 +1191,7 @@ let or = class extends HTMLElement {
|
|
|
1191
1191
|
var r;
|
|
1192
1192
|
const i = this.constructor, o = i._$Eh.get(t);
|
|
1193
1193
|
if (o !== void 0 && this._$Em !== o) {
|
|
1194
|
-
const u = i.getPropertyOptions(o), c = typeof u.converter == "function" ? { fromAttribute: u.converter } : ((r = u.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? u.converter :
|
|
1194
|
+
const u = i.getPropertyOptions(o), c = typeof u.converter == "function" ? { fromAttribute: u.converter } : ((r = u.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? u.converter : mi;
|
|
1195
1195
|
this._$Em = o, this[o] = c.fromAttribute(n, u.type), this._$Em = null;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
@@ -1276,7 +1276,7 @@ or.elementStyles = [], or.shadowRootOptions = { mode: "open" }, or[ta("elementPr
|
|
|
1276
1276
|
* Copyright 2017 Google LLC
|
|
1277
1277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1278
1278
|
*/
|
|
1279
|
-
const
|
|
1279
|
+
const gi = globalThis, vi = gi.trustedTypes, gu = vi ? vi.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, vo = "$lit$", Jt = `lit$${Math.random().toFixed(9).slice(2)}$`, Do = "?" + Jt, vg = `<${Do}>`, On = document, oa = () => On.createComment(""), la = (e) => e === null || typeof e != "object" && typeof e != "function", yo = Array.isArray, zc = (e) => yo(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", xs = `[
|
|
1280
1280
|
\f\r]`, Wr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, vu = /-->/g, Du = />/g, En = RegExp(`>|${xs}(?:([^\\s"'>=/]+)(${xs}*=${xs}*(?:[^
|
|
1281
1281
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), yu = /'/g, bu = /"/g, Vc = /^(?:script|style|textarea|title)$/i, Dg = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), J = Dg(1), Qt = Symbol.for("lit-noChange"), te = Symbol.for("lit-nothing"), ku = /* @__PURE__ */ new WeakMap(), Pn = On.createTreeWalker(On, 129);
|
|
1282
1282
|
function Gc(e, t) {
|
|
@@ -1314,7 +1314,7 @@ let Ws = class Kc {
|
|
|
1314
1314
|
if (Vc.test(i.tagName)) {
|
|
1315
1315
|
const v = i.textContent.split(Jt), D = v.length - 1;
|
|
1316
1316
|
if (D > 0) {
|
|
1317
|
-
i.textContent =
|
|
1317
|
+
i.textContent = vi ? vi.emptyScript : "";
|
|
1318
1318
|
for (let b = 0; b < D; b++) i.append(v[b], oa()), Pn.nextNode(), d.push({ type: 2, index: ++o });
|
|
1319
1319
|
i.append(v[D], oa());
|
|
1320
1320
|
}
|
|
@@ -1356,7 +1356,7 @@ let Jc = class {
|
|
|
1356
1356
|
for (; d !== void 0; ) {
|
|
1357
1357
|
if (u === d.index) {
|
|
1358
1358
|
let h;
|
|
1359
|
-
d.type === 2 ? h = new
|
|
1359
|
+
d.type === 2 ? h = new _i(o, o.nextSibling, this, t) : d.type === 1 ? h = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (h = new tp(o, this, t)), this._$AV.push(h), d = r[++c];
|
|
1360
1360
|
}
|
|
1361
1361
|
u !== (d == null ? void 0 : d.index) && (o = Pn.nextNode(), u++);
|
|
1362
1362
|
}
|
|
@@ -1366,7 +1366,7 @@ let Jc = class {
|
|
|
1366
1366
|
let n = 0;
|
|
1367
1367
|
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, n), n += r.strings.length - 2) : r._$AI(t[n])), n++;
|
|
1368
1368
|
}
|
|
1369
|
-
},
|
|
1369
|
+
}, _i = class Xc {
|
|
1370
1370
|
get _$AU() {
|
|
1371
1371
|
var t;
|
|
1372
1372
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this.v;
|
|
@@ -1490,14 +1490,14 @@ let Jc = class {
|
|
|
1490
1490
|
In(this, t);
|
|
1491
1491
|
}
|
|
1492
1492
|
};
|
|
1493
|
-
const yg = { M: vo, P: Jt, A: Do, C: 1, L: Yc, R: Jc, D: zc, V: In, I:
|
|
1494
|
-
wu == null || wu(Ws,
|
|
1493
|
+
const yg = { M: vo, P: Jt, A: Do, C: 1, L: Yc, R: Jc, D: zc, V: In, I: _i, H: ga, N: Zc, U: ep, B: Qc, F: tp }, wu = gi.litHtmlPolyfillSupport;
|
|
1494
|
+
wu == null || wu(Ws, _i), (gi.litHtmlVersions ?? (gi.litHtmlVersions = [])).push("3.2.0");
|
|
1495
1495
|
const bg = (e, t, n) => {
|
|
1496
1496
|
const r = (n == null ? void 0 : n.renderBefore) ?? t;
|
|
1497
1497
|
let i = r._$litPart$;
|
|
1498
1498
|
if (i === void 0) {
|
|
1499
1499
|
const o = (n == null ? void 0 : n.renderBefore) ?? null;
|
|
1500
|
-
r._$litPart$ = i = new
|
|
1500
|
+
r._$litPart$ = i = new _i(t.insertBefore(oa(), o), o, void 0, n ?? {});
|
|
1501
1501
|
}
|
|
1502
1502
|
return i._$AI(e), i;
|
|
1503
1503
|
};
|
|
@@ -1541,7 +1541,7 @@ xu == null || xu({ LitElement: na });
|
|
|
1541
1541
|
* Copyright 2017 Google LLC
|
|
1542
1542
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1543
1543
|
*/
|
|
1544
|
-
const kg = { attribute: !0, type: String, converter:
|
|
1544
|
+
const kg = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: go }, wg = (e = kg, t, n) => {
|
|
1545
1545
|
const { kind: r, metadata: i } = n;
|
|
1546
1546
|
let o = globalThis.litPropertyMetadata.get(i);
|
|
1547
1547
|
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(n.name, e), r === "accessor") {
|
|
@@ -1568,17 +1568,25 @@ function O(e) {
|
|
|
1568
1568
|
return i.constructor.createProperty(o, u ? { ...r, wrapped: !0 } : r), u ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
|
1569
1569
|
})(e, t, n);
|
|
1570
1570
|
}
|
|
1571
|
-
|
|
1571
|
+
/**
|
|
1572
|
+
* @license
|
|
1573
|
+
* Copyright 2017 Google LLC
|
|
1574
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1575
|
+
*/
|
|
1576
|
+
function va(e) {
|
|
1577
|
+
return O({ ...e, state: !0, attribute: !1 });
|
|
1578
|
+
}
|
|
1579
|
+
var et = [];
|
|
1572
1580
|
for (var _s = 0; _s < 256; ++_s)
|
|
1573
|
-
|
|
1581
|
+
et.push((_s + 256).toString(16).slice(1));
|
|
1574
1582
|
function Cg(e, t = 0) {
|
|
1575
|
-
return (
|
|
1583
|
+
return (et[e[t + 0]] + et[e[t + 1]] + et[e[t + 2]] + et[e[t + 3]] + "-" + et[e[t + 4]] + et[e[t + 5]] + "-" + et[e[t + 6]] + et[e[t + 7]] + "-" + et[e[t + 8]] + et[e[t + 9]] + "-" + et[e[t + 10]] + et[e[t + 11]] + et[e[t + 12]] + et[e[t + 13]] + et[e[t + 14]] + et[e[t + 15]]).toLowerCase();
|
|
1576
1584
|
}
|
|
1577
|
-
var
|
|
1585
|
+
var ni, xg = new Uint8Array(16);
|
|
1578
1586
|
function _g() {
|
|
1579
|
-
if (!
|
|
1587
|
+
if (!ni && (ni = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ni))
|
|
1580
1588
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1581
|
-
return
|
|
1589
|
+
return ni(xg);
|
|
1582
1590
|
}
|
|
1583
1591
|
var Sg = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
1584
1592
|
const _u = {
|
|
@@ -1670,7 +1678,7 @@ const Eg = {
|
|
|
1670
1678
|
dates: Ag,
|
|
1671
1679
|
forms: $g
|
|
1672
1680
|
};
|
|
1673
|
-
var Tg = Object.defineProperty,
|
|
1681
|
+
var Tg = Object.defineProperty, Ye = (e, t, n, r) => {
|
|
1674
1682
|
for (var i = void 0, o = e.length - 1, u; o >= 0; o--)
|
|
1675
1683
|
(u = e[o]) && (i = u(t, n, i) || i);
|
|
1676
1684
|
return i && Tg(t, n, i), i;
|
|
@@ -1701,12 +1709,12 @@ let qt = class extends na {
|
|
|
1701
1709
|
this.requestUpdate();
|
|
1702
1710
|
}
|
|
1703
1711
|
};
|
|
1704
|
-
|
|
1712
|
+
Ye([
|
|
1705
1713
|
O({ type: Object })
|
|
1706
1714
|
], qt.prototype, "strings");
|
|
1707
|
-
let
|
|
1715
|
+
let Ke = class extends qt {
|
|
1708
1716
|
constructor() {
|
|
1709
|
-
super(), this.id = np(), this.name = this.id, this.required = !1, this.disabled = !1, this.placeholder = "", this.min = null, this.max = null, this.minlength = 0, this.maxlength = 0, this.pattern = "", this.optionalTag = !1, this.optionalText = Nt.forms.labels.optional, this.requiredTag = !1, this.requiredText = Nt.forms.labels.required, this.hasError = !1, this.errorMessage = "", this.internals = this.attachInternals();
|
|
1717
|
+
super(), this.id = np(), this.name = this.id, this.required = !1, this.disabled = !1, this.placeholder = "", this.min = null, this.max = null, this.minlength = 0, this.maxlength = 0, this.pattern = "", this.optionalTag = !1, this.optionalText = Nt.forms.labels.optional, this.requiredTag = !1, this.requiredText = Nt.forms.labels.required, this.hasError = !1, this.errorMessage = "", this.touched = !1, this.internals = this.attachInternals();
|
|
1710
1718
|
}
|
|
1711
1719
|
static get formAssociated() {
|
|
1712
1720
|
return !0;
|
|
@@ -1728,6 +1736,10 @@ let rt = class extends qt {
|
|
|
1728
1736
|
}
|
|
1729
1737
|
// Trigger this when you want to set the value of the input out to the form
|
|
1730
1738
|
onInput(t) {
|
|
1739
|
+
if (!this.touched) {
|
|
1740
|
+
this.touched = !0;
|
|
1741
|
+
return;
|
|
1742
|
+
}
|
|
1731
1743
|
if (console.log("onInput", t), typeof t != "string" && !Array.isArray(t)) {
|
|
1732
1744
|
console.log("Value must be a string or an array");
|
|
1733
1745
|
return;
|
|
@@ -1744,54 +1756,57 @@ let rt = class extends qt {
|
|
|
1744
1756
|
super.firstUpdated(t), this.required && (this.internals.ariaRequired = !0), this.disabled && (this.internals.disabled = !0, this.internals.ariaDisabled = !0), this.internals.setFormValue(this.value), this.manageValidity(this.inputRef.value);
|
|
1745
1757
|
}
|
|
1746
1758
|
};
|
|
1747
|
-
|
|
1759
|
+
Ye([
|
|
1748
1760
|
O({ type: String, reflect: !0 })
|
|
1749
|
-
],
|
|
1750
|
-
|
|
1761
|
+
], Ke.prototype, "id");
|
|
1762
|
+
Ye([
|
|
1751
1763
|
O({ type: String, reflect: !0 })
|
|
1752
|
-
],
|
|
1753
|
-
|
|
1764
|
+
], Ke.prototype, "name");
|
|
1765
|
+
Ye([
|
|
1754
1766
|
O({ type: Boolean, reflect: !0 })
|
|
1755
|
-
],
|
|
1756
|
-
|
|
1767
|
+
], Ke.prototype, "required");
|
|
1768
|
+
Ye([
|
|
1757
1769
|
O({ type: Boolean, reflect: !0 })
|
|
1758
|
-
],
|
|
1759
|
-
|
|
1770
|
+
], Ke.prototype, "disabled");
|
|
1771
|
+
Ye([
|
|
1760
1772
|
O({ type: String, reflect: !0 })
|
|
1761
|
-
],
|
|
1762
|
-
|
|
1773
|
+
], Ke.prototype, "placeholder");
|
|
1774
|
+
Ye([
|
|
1763
1775
|
O({ type: Number, reflect: !0 })
|
|
1764
|
-
],
|
|
1765
|
-
|
|
1776
|
+
], Ke.prototype, "min");
|
|
1777
|
+
Ye([
|
|
1766
1778
|
O({ type: Number, reflect: !0 })
|
|
1767
|
-
],
|
|
1768
|
-
|
|
1779
|
+
], Ke.prototype, "max");
|
|
1780
|
+
Ye([
|
|
1769
1781
|
O({ type: Number, reflect: !0 })
|
|
1770
|
-
],
|
|
1771
|
-
|
|
1782
|
+
], Ke.prototype, "minlength");
|
|
1783
|
+
Ye([
|
|
1772
1784
|
O({ type: Number, reflect: !0 })
|
|
1773
|
-
],
|
|
1774
|
-
|
|
1785
|
+
], Ke.prototype, "maxlength");
|
|
1786
|
+
Ye([
|
|
1775
1787
|
O({ type: String, reflect: !0 })
|
|
1776
|
-
],
|
|
1777
|
-
|
|
1788
|
+
], Ke.prototype, "pattern");
|
|
1789
|
+
Ye([
|
|
1778
1790
|
O({ type: Boolean, reflect: !0 })
|
|
1779
|
-
],
|
|
1780
|
-
|
|
1791
|
+
], Ke.prototype, "optionalTag");
|
|
1792
|
+
Ye([
|
|
1781
1793
|
O({ type: String, reflect: !0 })
|
|
1782
|
-
],
|
|
1783
|
-
|
|
1794
|
+
], Ke.prototype, "optionalText");
|
|
1795
|
+
Ye([
|
|
1784
1796
|
O({ type: Boolean, reflect: !0 })
|
|
1785
|
-
],
|
|
1786
|
-
|
|
1797
|
+
], Ke.prototype, "requiredTag");
|
|
1798
|
+
Ye([
|
|
1787
1799
|
O({ type: String, reflect: !0 })
|
|
1788
|
-
],
|
|
1789
|
-
|
|
1800
|
+
], Ke.prototype, "requiredText");
|
|
1801
|
+
Ye([
|
|
1790
1802
|
O({ type: Boolean, reflect: !0 })
|
|
1791
|
-
],
|
|
1792
|
-
|
|
1803
|
+
], Ke.prototype, "hasError");
|
|
1804
|
+
Ye([
|
|
1793
1805
|
O({ type: String, reflect: !0 })
|
|
1794
|
-
],
|
|
1806
|
+
], Ke.prototype, "errorMessage");
|
|
1807
|
+
Ye([
|
|
1808
|
+
va()
|
|
1809
|
+
], Ke.prototype, "touched");
|
|
1795
1810
|
const rp = (e) => {
|
|
1796
1811
|
if (Array.isArray(e)) return e;
|
|
1797
1812
|
if (typeof e == "string") return e.split(",");
|
|
@@ -1820,8 +1835,8 @@ const tn = (e) => (t, n) => {
|
|
|
1820
1835
|
* Copyright 2017 Google LLC
|
|
1821
1836
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1822
1837
|
*/
|
|
1823
|
-
const
|
|
1824
|
-
let
|
|
1838
|
+
const Si = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Da = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
1839
|
+
let Ei = class {
|
|
1825
1840
|
constructor(t) {
|
|
1826
1841
|
}
|
|
1827
1842
|
get _$AU() {
|
|
@@ -1837,23 +1852,15 @@ let Si = class {
|
|
|
1837
1852
|
return this.render(...n);
|
|
1838
1853
|
}
|
|
1839
1854
|
};
|
|
1840
|
-
/**
|
|
1841
|
-
* @license
|
|
1842
|
-
* Copyright 2017 Google LLC
|
|
1843
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1844
|
-
*/
|
|
1845
|
-
function Ei(e) {
|
|
1846
|
-
return O({ ...e, state: !0, attribute: !1 });
|
|
1847
|
-
}
|
|
1848
1855
|
/**
|
|
1849
1856
|
* @license
|
|
1850
1857
|
* Copyright 2018 Google LLC
|
|
1851
1858
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1852
1859
|
*/
|
|
1853
|
-
const Ge =
|
|
1860
|
+
const Ge = Da(class extends Ei {
|
|
1854
1861
|
constructor(e) {
|
|
1855
1862
|
var t;
|
|
1856
|
-
if (super(e), e.type !==
|
|
1863
|
+
if (super(e), e.type !== Si.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1857
1864
|
}
|
|
1858
1865
|
render(e) {
|
|
1859
1866
|
return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
|
|
@@ -1879,9 +1886,9 @@ const Ge = va(class extends Si {
|
|
|
1879
1886
|
* Copyright 2017 Google LLC
|
|
1880
1887
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1881
1888
|
*/
|
|
1882
|
-
let
|
|
1889
|
+
let Di = class extends Ei {
|
|
1883
1890
|
constructor(t) {
|
|
1884
|
-
if (super(t), this.it = te, t.type !==
|
|
1891
|
+
if (super(t), this.it = te, t.type !== Si.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1885
1892
|
}
|
|
1886
1893
|
render(t) {
|
|
1887
1894
|
if (t === te || t == null) return this._t = void 0, this.it = t;
|
|
@@ -1893,35 +1900,35 @@ let vi = class extends Si {
|
|
|
1893
1900
|
return n.raw = n, this._t = { _$litType$: this.constructor.resultType, strings: n, values: [] };
|
|
1894
1901
|
}
|
|
1895
1902
|
};
|
|
1896
|
-
|
|
1897
|
-
const
|
|
1903
|
+
Di.directiveName = "unsafeHTML", Di.resultType = 1;
|
|
1904
|
+
const ri = Da(Di);
|
|
1898
1905
|
/**
|
|
1899
1906
|
* @license
|
|
1900
1907
|
* Copyright 2017 Google LLC
|
|
1901
1908
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1902
1909
|
*/
|
|
1903
|
-
let zs = class extends
|
|
1910
|
+
let zs = class extends Di {
|
|
1904
1911
|
};
|
|
1905
1912
|
zs.directiveName = "unsafeSVG", zs.resultType = 2;
|
|
1906
|
-
const Su =
|
|
1907
|
-
var jg = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor,
|
|
1913
|
+
const Su = Da(zs);
|
|
1914
|
+
var jg = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, ya = (e, t, n, r) => {
|
|
1908
1915
|
for (var i = r > 1 ? void 0 : r ? Pg(t, n) : t, o = e.length - 1, u; o >= 0; o--)
|
|
1909
1916
|
(u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
|
|
1910
1917
|
return r && i && jg(t, n, i), i;
|
|
1911
1918
|
};
|
|
1912
1919
|
window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch;
|
|
1913
1920
|
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/12.3/icons/";
|
|
1914
|
-
const Lg = (e) => new Promise((t) => setTimeout(t, e)),
|
|
1921
|
+
const Lg = (e) => new Promise((t) => setTimeout(t, e)), ui = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', Ss = {}, Og = async (e, t) => {
|
|
1915
1922
|
let n = 0;
|
|
1916
1923
|
for (; Ss[t + e + ".svg"] === "fetching" && (n++, !(n > 50)); )
|
|
1917
1924
|
await Lg(50);
|
|
1918
1925
|
return localStorage.getItem(t + e + ".svg") ? Promise.resolve(localStorage.getItem(t + e + ".svg")) : typeof window.pktFetch == "function" ? (Ss[t + e + ".svg"] = "fetching", Promise.resolve(
|
|
1919
|
-
window.pktFetch(t + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + t + e + ".svg"),
|
|
1920
|
-
)) : Promise.resolve(
|
|
1926
|
+
window.pktFetch(t + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + t + e + ".svg"), ui)).then((r) => (r !== ui && localStorage.setItem(t + e + ".svg", r), Ss[t + e + ".svg"] = "fetched", r))
|
|
1927
|
+
)) : Promise.resolve(ui);
|
|
1921
1928
|
};
|
|
1922
1929
|
let gr = class extends qt {
|
|
1923
1930
|
constructor() {
|
|
1924
|
-
super(), this.path = window.pktIconPath, this.name = "", this.icon = Su(
|
|
1931
|
+
super(), this.path = window.pktIconPath, this.name = "", this.icon = Su(ui), this._updatedProps = [], this.classList.add("pkt-icon");
|
|
1925
1932
|
}
|
|
1926
1933
|
willUpdate(t) {
|
|
1927
1934
|
super.willUpdate(t), t.has("class") && this.classList.add("my-element");
|
|
@@ -1935,19 +1942,19 @@ let gr = class extends qt {
|
|
|
1935
1942
|
return J`${this.name && this.icon}`;
|
|
1936
1943
|
}
|
|
1937
1944
|
};
|
|
1938
|
-
|
|
1945
|
+
ya([
|
|
1939
1946
|
O({ type: String, reflect: !1 })
|
|
1940
1947
|
], gr.prototype, "path", 2);
|
|
1941
|
-
|
|
1948
|
+
ya([
|
|
1942
1949
|
O({ type: String, reflect: !0 })
|
|
1943
1950
|
], gr.prototype, "name", 2);
|
|
1944
|
-
|
|
1951
|
+
ya([
|
|
1945
1952
|
O({ type: SVGElement })
|
|
1946
1953
|
], gr.prototype, "icon", 2);
|
|
1947
|
-
|
|
1954
|
+
ya([
|
|
1948
1955
|
O({ type: Array, noAccessor: !0 })
|
|
1949
1956
|
], gr.prototype, "_updatedProps", 2);
|
|
1950
|
-
gr =
|
|
1957
|
+
gr = ya([
|
|
1951
1958
|
tn("pkt-icon")
|
|
1952
1959
|
], gr);
|
|
1953
1960
|
function pt(e) {
|
|
@@ -2499,13 +2506,13 @@ Fe([
|
|
|
2499
2506
|
O({ type: Date })
|
|
2500
2507
|
], _e.prototype, "rangeHovered", 2);
|
|
2501
2508
|
Fe([
|
|
2502
|
-
|
|
2509
|
+
va()
|
|
2503
2510
|
], _e.prototype, "inRange", 2);
|
|
2504
2511
|
Fe([
|
|
2505
|
-
|
|
2512
|
+
va()
|
|
2506
2513
|
], _e.prototype, "focusedDate", 2);
|
|
2507
2514
|
Fe([
|
|
2508
|
-
|
|
2515
|
+
va()
|
|
2509
2516
|
], _e.prototype, "selectableDates", 2);
|
|
2510
2517
|
_e = Fe([
|
|
2511
2518
|
tn("pkt-calendar")
|
|
@@ -2587,7 +2594,7 @@ const ra = (e, t) => {
|
|
|
2587
2594
|
if (r === void 0) return !1;
|
|
2588
2595
|
for (const i of r) (n = i._$AO) == null || n.call(i, t, !1), ra(i, t);
|
|
2589
2596
|
return !0;
|
|
2590
|
-
},
|
|
2597
|
+
}, yi = (e) => {
|
|
2591
2598
|
let t, n;
|
|
2592
2599
|
do {
|
|
2593
2600
|
if ((t = e._$AM) === void 0) break;
|
|
@@ -2602,18 +2609,18 @@ const ra = (e, t) => {
|
|
|
2602
2609
|
}
|
|
2603
2610
|
};
|
|
2604
2611
|
function Qg(e) {
|
|
2605
|
-
this._$AN !== void 0 ? (
|
|
2612
|
+
this._$AN !== void 0 ? (yi(this), this._$AM = e, sp(this)) : this._$AM = e;
|
|
2606
2613
|
}
|
|
2607
2614
|
function Zg(e, t = !1, n = 0) {
|
|
2608
2615
|
const r = this._$AH, i = this._$AN;
|
|
2609
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let o = n; o < r.length; o++) ra(r[o], !1),
|
|
2610
|
-
else r != null && (ra(r, !1),
|
|
2616
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let o = n; o < r.length; o++) ra(r[o], !1), yi(r[o]);
|
|
2617
|
+
else r != null && (ra(r, !1), yi(r));
|
|
2611
2618
|
else ra(this, e);
|
|
2612
2619
|
}
|
|
2613
2620
|
const ev = (e) => {
|
|
2614
|
-
e.type ==
|
|
2621
|
+
e.type == Si.CHILD && (e._$AP ?? (e._$AP = Zg), e._$AQ ?? (e._$AQ = Qg));
|
|
2615
2622
|
};
|
|
2616
|
-
let tv = class extends
|
|
2623
|
+
let tv = class extends Ei {
|
|
2617
2624
|
constructor() {
|
|
2618
2625
|
super(...arguments), this._$AN = void 0;
|
|
2619
2626
|
}
|
|
@@ -2622,7 +2629,7 @@ let tv = class extends Si {
|
|
|
2622
2629
|
}
|
|
2623
2630
|
_$AO(t, n = !0) {
|
|
2624
2631
|
var r, i;
|
|
2625
|
-
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), n && (ra(this, t),
|
|
2632
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), n && (ra(this, t), yi(this));
|
|
2626
2633
|
}
|
|
2627
2634
|
setValue(t) {
|
|
2628
2635
|
if (Yg(this.t)) this.t._$AI(t, this);
|
|
@@ -2644,7 +2651,7 @@ let tv = class extends Si {
|
|
|
2644
2651
|
const Et = () => new nv();
|
|
2645
2652
|
let nv = class {
|
|
2646
2653
|
};
|
|
2647
|
-
const As = /* @__PURE__ */ new WeakMap(), ct =
|
|
2654
|
+
const As = /* @__PURE__ */ new WeakMap(), ct = Da(class extends tv {
|
|
2648
2655
|
render(e) {
|
|
2649
2656
|
return te;
|
|
2650
2657
|
}
|
|
@@ -2807,7 +2814,7 @@ nn([
|
|
|
2807
2814
|
O({ type: String, reflect: !0 })
|
|
2808
2815
|
], Rt.prototype, "ariaLabel", 2);
|
|
2809
2816
|
nn([
|
|
2810
|
-
|
|
2817
|
+
va()
|
|
2811
2818
|
], Rt.prototype, "_isClosed", 2);
|
|
2812
2819
|
Rt = nn([
|
|
2813
2820
|
tn("pkt-tag")
|
|
@@ -2980,7 +2987,7 @@ Hn([
|
|
|
2980
2987
|
Zt = Hn([
|
|
2981
2988
|
tn("pkt-card")
|
|
2982
2989
|
], Zt);
|
|
2983
|
-
var fv = Object.defineProperty, mv = Object.getOwnPropertyDescriptor,
|
|
2990
|
+
var fv = Object.defineProperty, mv = Object.getOwnPropertyDescriptor, ba = (e, t, n, r) => {
|
|
2984
2991
|
for (var i = r > 1 ? void 0 : r ? mv(t, n) : t, o = e.length - 1, u; o >= 0; o--)
|
|
2985
2992
|
(u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
|
|
2986
2993
|
return r && i && fv(t, n, i), i;
|
|
@@ -3056,19 +3063,19 @@ let vr = class extends qt {
|
|
|
3056
3063
|
);
|
|
3057
3064
|
}
|
|
3058
3065
|
};
|
|
3059
|
-
|
|
3066
|
+
ba([
|
|
3060
3067
|
O({ type: String })
|
|
3061
3068
|
], vr.prototype, "string", 2);
|
|
3062
|
-
|
|
3069
|
+
ba([
|
|
3063
3070
|
O({ converter: rp })
|
|
3064
3071
|
], vr.prototype, "strings", 2);
|
|
3065
|
-
|
|
3072
|
+
ba([
|
|
3066
3073
|
O({ type: Boolean })
|
|
3067
3074
|
], vr.prototype, "darkmode", 2);
|
|
3068
|
-
|
|
3075
|
+
ba([
|
|
3069
3076
|
O({ type: Array })
|
|
3070
3077
|
], vr.prototype, "_list", 2);
|
|
3071
|
-
vr =
|
|
3078
|
+
vr = ba([
|
|
3072
3079
|
tn("pkt-component")
|
|
3073
3080
|
], vr);
|
|
3074
3081
|
/**
|
|
@@ -3243,7 +3250,7 @@ let Pe = class extends qt {
|
|
|
3243
3250
|
</legend>` : r ? J`<h2>${this.label} ${d()}</h2>` : J`<span>${this.label} ${d()}</span>` : J`<label for="${this.forId}" class="pkt-sr-only" aria-describedby="${c}"
|
|
3244
3251
|
>${this.label}</label
|
|
3245
3252
|
>`, g = () => this.useWrapper && this.helptext ? J`<div class="pkt-inputwrapper__helptext" id="${this.forId}-helptext">
|
|
3246
|
-
${
|
|
3253
|
+
${ri(this.helptext)}
|
|
3247
3254
|
</div>
|
|
3248
3255
|
${r ? J`<div class="pkt-inputwrapper__helptext-expandable">
|
|
3249
3256
|
<button
|
|
@@ -3255,10 +3262,10 @@ let Pe = class extends qt {
|
|
|
3255
3262
|
class="pkt-btn__icon"
|
|
3256
3263
|
name="${this.isHelpTextOpen ? "chevron-thin-up" : "chevron-thin-down"}"
|
|
3257
3264
|
></pkt-icon>
|
|
3258
|
-
<span class="pkt-btn__text">${
|
|
3265
|
+
<span class="pkt-btn__text">${ri(this.helptextDropdownButton)}</span>
|
|
3259
3266
|
</button>
|
|
3260
3267
|
<div class="${Ge(o)}">
|
|
3261
|
-
${
|
|
3268
|
+
${ri(this.helptextDropdown)}
|
|
3262
3269
|
</div>
|
|
3263
3270
|
${this.hasFieldset ? te : J`<label
|
|
3264
3271
|
class="pkt-sr-only"
|
|
@@ -3274,7 +3281,7 @@ let Pe = class extends qt {
|
|
|
3274
3281
|
aria-live="assertive"
|
|
3275
3282
|
>
|
|
3276
3283
|
<pkt-icon name="alert-error" class="pkt-alert__icon"></pkt-icon>
|
|
3277
|
-
<div class="pkt-alert__text">${
|
|
3284
|
+
<div class="pkt-alert__text">${ri(this.errorMessage)}</div>
|
|
3278
3285
|
</div>` : te, b = () => J`
|
|
3279
3286
|
${h()} ${g()}
|
|
3280
3287
|
<div class="pkt-contents" ${ct(this.defaultSlot)}></div>
|
|
@@ -3356,15 +3363,15 @@ Oe([
|
|
|
3356
3363
|
Pe = Oe([
|
|
3357
3364
|
tn("pkt-input-wrapper")
|
|
3358
3365
|
], Pe);
|
|
3359
|
-
function
|
|
3366
|
+
function bi(e) {
|
|
3360
3367
|
return ua(e, { weekStartsOn: 1 });
|
|
3361
3368
|
}
|
|
3362
3369
|
function op(e) {
|
|
3363
3370
|
const t = pt(e), n = t.getFullYear(), r = Mn(e, 0);
|
|
3364
3371
|
r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
3365
|
-
const i =
|
|
3372
|
+
const i = bi(r), o = Mn(e, 0);
|
|
3366
3373
|
o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
|
|
3367
|
-
const u =
|
|
3374
|
+
const u = bi(o);
|
|
3368
3375
|
return t.getTime() >= i.getTime() ? n + 1 : t.getTime() >= u.getTime() ? n : n - 1;
|
|
3369
3376
|
}
|
|
3370
3377
|
function Au(e) {
|
|
@@ -3391,7 +3398,7 @@ function wv(e, t) {
|
|
|
3391
3398
|
}
|
|
3392
3399
|
function Cv(e) {
|
|
3393
3400
|
const t = op(e), n = Mn(e, 0);
|
|
3394
|
-
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0),
|
|
3401
|
+
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), bi(n);
|
|
3395
3402
|
}
|
|
3396
3403
|
function xv(e) {
|
|
3397
3404
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -3842,7 +3849,7 @@ function s2(e) {
|
|
|
3842
3849
|
return wv(t, Sv(t)) + 1;
|
|
3843
3850
|
}
|
|
3844
3851
|
function o2(e) {
|
|
3845
|
-
const t = pt(e), n = +
|
|
3852
|
+
const t = pt(e), n = +bi(t) - +Cv(t);
|
|
3846
3853
|
return Math.round(n / ap) + 1;
|
|
3847
3854
|
}
|
|
3848
3855
|
function we(e, t) {
|
|
@@ -4528,9 +4535,9 @@ const Pu = (e, t, n) => {
|
|
|
4528
4535
|
const r = /* @__PURE__ */ new Map();
|
|
4529
4536
|
for (let i = t; i <= n; i++) r.set(e[i], i);
|
|
4530
4537
|
return r;
|
|
4531
|
-
}, x2 =
|
|
4538
|
+
}, x2 = Da(class extends Ei {
|
|
4532
4539
|
constructor(e) {
|
|
4533
|
-
if (super(e), e.type !==
|
|
4540
|
+
if (super(e), e.type !== Si.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
4534
4541
|
}
|
|
4535
4542
|
dt(e, t, n) {
|
|
4536
4543
|
let r;
|
|
@@ -4752,13 +4759,13 @@ const Pu = (e, t, n) => {
|
|
|
4752
4759
|
props: E2,
|
|
4753
4760
|
events: F2
|
|
4754
4761
|
};
|
|
4755
|
-
var A2 = Object.defineProperty, $2 = Object.getOwnPropertyDescriptor,
|
|
4762
|
+
var A2 = Object.defineProperty, $2 = Object.getOwnPropertyDescriptor, Je = (e, t, n, r) => {
|
|
4756
4763
|
for (var i = r > 1 ? void 0 : r ? $2(t, n) : t, o = e.length - 1, u; o >= 0; o--)
|
|
4757
4764
|
(u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
|
|
4758
4765
|
return r && i && A2(t, n, i), i;
|
|
4759
4766
|
};
|
|
4760
4767
|
const Lu = (e) => new Promise((t) => setTimeout(t, e));
|
|
4761
|
-
let qe = class extends
|
|
4768
|
+
let qe = class extends Ke {
|
|
4762
4769
|
constructor() {
|
|
4763
4770
|
super(...arguments), this.value = "", this._value = this.value ? Array.isArray(this.value) ? this.value : this.value.split(",") : [], this.label = "Datovelger", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Gt.props.helptextDropdownButton.default, this.dateformat = Gt.props.dateformat.default, this.multiple = Gt.props.multiple.default, this.maxlength = Gt.props.maxlength.default, this.range = Gt.props.range.default, this.weeknumbers = Gt.props.weeknumbers.default, this.withcontrols = Gt.props.withcontrols.default, this.fullwidth = !1, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = this.formatISODate(/* @__PURE__ */ new Date()), this.calendarOpen = !1, this.inputRef = Et(), this.inputRefTo = Et(), this.btnRef = Et(), this.calRef = Et(), this.popupRef = Et(), this.inputClasses = {
|
|
4764
4771
|
"pkt-input": !0,
|
|
@@ -4810,10 +4817,12 @@ let qe = class extends rt {
|
|
|
4810
4817
|
for (const u of o)
|
|
4811
4818
|
u && !this._value.includes(u) && ((i = (r = this.calRef) == null ? void 0 : r.value) == null || i.handleDateSelect(this.fromISOToDate(u)));
|
|
4812
4819
|
}
|
|
4813
|
-
this.requestUpdate("value");
|
|
4814
4820
|
}
|
|
4815
4821
|
e === "excludedates" && typeof this.excludedates == "string" && (this.excludedates = (n == null ? void 0 : n.split(",")) ?? []), e === "excludeweekdays" && typeof this.excludeweekdays == "string" && (this.excludeweekdays = (n == null ? void 0 : n.split(",")) ?? []);
|
|
4816
4822
|
}
|
|
4823
|
+
firstUpdated(e) {
|
|
4824
|
+
super.firstUpdated(e);
|
|
4825
|
+
}
|
|
4817
4826
|
updated(e) {
|
|
4818
4827
|
if (super.updated(e), e.has("value")) {
|
|
4819
4828
|
if (this.range && this._value.length === 1)
|
|
@@ -5059,58 +5068,58 @@ let qe = class extends rt {
|
|
|
5059
5068
|
e.preventDefault(), this.calendarOpen ? this.hideCalendar() : this.showCalendar();
|
|
5060
5069
|
}
|
|
5061
5070
|
};
|
|
5062
|
-
|
|
5071
|
+
Je([
|
|
5063
5072
|
O({ type: String, reflect: !0 })
|
|
5064
5073
|
], qe.prototype, "value", 2);
|
|
5065
|
-
|
|
5074
|
+
Je([
|
|
5066
5075
|
O({ type: Array, reflect: !1 })
|
|
5067
5076
|
], qe.prototype, "_value", 2);
|
|
5068
|
-
|
|
5069
|
-
O({ type: String
|
|
5077
|
+
Je([
|
|
5078
|
+
O({ type: String })
|
|
5070
5079
|
], qe.prototype, "label", 2);
|
|
5071
|
-
|
|
5072
|
-
O({ type: String
|
|
5080
|
+
Je([
|
|
5081
|
+
O({ type: String })
|
|
5073
5082
|
], qe.prototype, "helptext", 2);
|
|
5074
|
-
|
|
5075
|
-
O({ type: String
|
|
5083
|
+
Je([
|
|
5084
|
+
O({ type: String })
|
|
5076
5085
|
], qe.prototype, "helptextDropdown", 2);
|
|
5077
|
-
|
|
5078
|
-
O({ type: String
|
|
5086
|
+
Je([
|
|
5087
|
+
O({ type: String })
|
|
5079
5088
|
], qe.prototype, "helptextDropdownButton", 2);
|
|
5080
|
-
|
|
5081
|
-
O({ type: String
|
|
5089
|
+
Je([
|
|
5090
|
+
O({ type: String })
|
|
5082
5091
|
], qe.prototype, "dateformat", 2);
|
|
5083
|
-
|
|
5092
|
+
Je([
|
|
5084
5093
|
O({ type: Boolean, reflect: !0 })
|
|
5085
5094
|
], qe.prototype, "multiple", 2);
|
|
5086
|
-
|
|
5095
|
+
Je([
|
|
5087
5096
|
O({ type: Number })
|
|
5088
5097
|
], qe.prototype, "maxlength", 2);
|
|
5089
|
-
|
|
5098
|
+
Je([
|
|
5090
5099
|
O({ type: Boolean, reflect: !0 })
|
|
5091
5100
|
], qe.prototype, "range", 2);
|
|
5092
|
-
|
|
5093
|
-
O({ type: Boolean
|
|
5101
|
+
Je([
|
|
5102
|
+
O({ type: Boolean })
|
|
5094
5103
|
], qe.prototype, "weeknumbers", 2);
|
|
5095
|
-
|
|
5096
|
-
O({ type: Boolean
|
|
5104
|
+
Je([
|
|
5105
|
+
O({ type: Boolean })
|
|
5097
5106
|
], qe.prototype, "withcontrols", 2);
|
|
5098
|
-
|
|
5099
|
-
O({ type: Boolean
|
|
5107
|
+
Je([
|
|
5108
|
+
O({ type: Boolean })
|
|
5100
5109
|
], qe.prototype, "fullwidth", 2);
|
|
5101
|
-
|
|
5110
|
+
Je([
|
|
5102
5111
|
O({ converter: br.csvToArray })
|
|
5103
5112
|
], qe.prototype, "excludedates", 2);
|
|
5104
|
-
|
|
5113
|
+
Je([
|
|
5105
5114
|
O({ converter: br.csvToArray })
|
|
5106
5115
|
], qe.prototype, "excludeweekdays", 2);
|
|
5107
|
-
|
|
5108
|
-
O({ type: String
|
|
5116
|
+
Je([
|
|
5117
|
+
O({ type: String })
|
|
5109
5118
|
], qe.prototype, "currentmonth", 2);
|
|
5110
|
-
|
|
5119
|
+
Je([
|
|
5111
5120
|
O({ type: Boolean, reflect: !0 })
|
|
5112
5121
|
], qe.prototype, "calendarOpen", 2);
|
|
5113
|
-
qe =
|
|
5122
|
+
qe = Je([
|
|
5114
5123
|
tn("pkt-datepicker")
|
|
5115
5124
|
], qe);
|
|
5116
5125
|
const T2 = "pkt-link", B2 = !0, N2 = {
|
|
@@ -5151,7 +5160,7 @@ const T2 = "pkt-link", B2 = !0, N2 = {
|
|
|
5151
5160
|
props: N2,
|
|
5152
5161
|
slots: j2
|
|
5153
5162
|
};
|
|
5154
|
-
var P2 = Object.defineProperty, L2 = Object.getOwnPropertyDescriptor,
|
|
5163
|
+
var P2 = Object.defineProperty, L2 = Object.getOwnPropertyDescriptor, ka = (e, t, n, r) => {
|
|
5155
5164
|
for (var i = r > 1 ? void 0 : r ? L2(t, n) : t, o = e.length - 1, u; o >= 0; o--)
|
|
5156
5165
|
(u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
|
|
5157
5166
|
return r && i && P2(t, n, i), i;
|
|
@@ -5180,19 +5189,19 @@ let Rn = class extends qt {
|
|
|
5180
5189
|
);
|
|
5181
5190
|
}
|
|
5182
5191
|
};
|
|
5183
|
-
|
|
5192
|
+
ka([
|
|
5184
5193
|
O({ type: String, reflect: !0 })
|
|
5185
5194
|
], Rn.prototype, "href", 2);
|
|
5186
|
-
|
|
5195
|
+
ka([
|
|
5187
5196
|
O({ type: String, reflect: !0 })
|
|
5188
5197
|
], Rn.prototype, "iconName", 2);
|
|
5189
|
-
|
|
5198
|
+
ka([
|
|
5190
5199
|
O({ type: String, reflect: !0 })
|
|
5191
5200
|
], Rn.prototype, "iconPosition", 2);
|
|
5192
|
-
|
|
5201
|
+
ka([
|
|
5193
5202
|
O({ type: Boolean, reflect: !0 })
|
|
5194
5203
|
], Rn.prototype, "external", 2);
|
|
5195
|
-
Rn =
|
|
5204
|
+
Rn = ka([
|
|
5196
5205
|
tn("pkt-link")
|
|
5197
5206
|
], Rn);
|
|
5198
5207
|
var O2 = Object.defineProperty, I2 = Object.getOwnPropertyDescriptor, Un = (e, t, n, r) => {
|
|
@@ -5501,7 +5510,7 @@ const q2 = fo({
|
|
|
5501
5510
|
id: "pkt-header",
|
|
5502
5511
|
"data-testid": "pkt-header",
|
|
5503
5512
|
"aria-label": "Topp",
|
|
5504
|
-
className:
|
|
5513
|
+
className: nt(e, "pkt-header", {
|
|
5505
5514
|
"pkt-header--fixed": r,
|
|
5506
5515
|
"pkt-header--scroll-to-hide": i,
|
|
5507
5516
|
"pkt-header--hidden": F
|
|
@@ -5647,7 +5656,7 @@ const q2 = fo({
|
|
|
5647
5656
|
] })
|
|
5648
5657
|
);
|
|
5649
5658
|
H2.displayName = "PktInput";
|
|
5650
|
-
const
|
|
5659
|
+
const wa = Ne(
|
|
5651
5660
|
({
|
|
5652
5661
|
forId: e,
|
|
5653
5662
|
label: t,
|
|
@@ -5724,7 +5733,7 @@ const ka = Ne(
|
|
|
5724
5733
|
] });
|
|
5725
5734
|
}
|
|
5726
5735
|
);
|
|
5727
|
-
|
|
5736
|
+
wa.displayName = "PktInputWrapper";
|
|
5728
5737
|
const U2 = fo({
|
|
5729
5738
|
tagName: "pkt-link",
|
|
5730
5739
|
elementClass: Rn,
|
|
@@ -5860,14 +5869,14 @@ function Y2(e) {
|
|
|
5860
5869
|
var t, n;
|
|
5861
5870
|
return Iu(e) === !1 ? !1 : (t = e.constructor, t === void 0 ? !0 : (n = t.prototype, !(Iu(n) === !1 || n.hasOwnProperty("isPrototypeOf") === !1)));
|
|
5862
5871
|
}
|
|
5863
|
-
var up = {},
|
|
5864
|
-
return
|
|
5872
|
+
var up = {}, ki = gn && gn.__assign || function() {
|
|
5873
|
+
return ki = Object.assign || function(e) {
|
|
5865
5874
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
5866
5875
|
t = arguments[n];
|
|
5867
5876
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
5868
5877
|
}
|
|
5869
5878
|
return e;
|
|
5870
|
-
},
|
|
5879
|
+
}, ki.apply(this, arguments);
|
|
5871
5880
|
}, K2 = gn && gn.__spreadArrays || function() {
|
|
5872
5881
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
5873
5882
|
for (var r = Array(e), i = 0, t = 0; t < n; t++)
|
|
@@ -5889,12 +5898,12 @@ function Q2(e) {
|
|
|
5889
5898
|
return Object.prototype.propertyIsEnumerable.call(e, t);
|
|
5890
5899
|
});
|
|
5891
5900
|
}
|
|
5892
|
-
function
|
|
5901
|
+
function ci(e, t, n) {
|
|
5893
5902
|
n === void 0 && (n = "");
|
|
5894
5903
|
var r = {
|
|
5895
5904
|
indent: " ",
|
|
5896
5905
|
singleQuotes: !0
|
|
5897
|
-
}, i =
|
|
5906
|
+
}, i = ki(ki({}, r), t), o;
|
|
5898
5907
|
i.inlineCharacterLimit === void 0 ? o = {
|
|
5899
5908
|
newLine: `
|
|
5900
5909
|
`,
|
|
@@ -5926,7 +5935,7 @@ function ui(e, t, n) {
|
|
|
5926
5935
|
return "[]";
|
|
5927
5936
|
Yr.push(e);
|
|
5928
5937
|
var c = "[" + o.newLine + e.map(function(h, g) {
|
|
5929
|
-
var v = e.length - 1 === g ? o.newLine : "," + o.newLineOrSpace, D =
|
|
5938
|
+
var v = e.length - 1 === g ? o.newLine : "," + o.newLineOrSpace, D = ci(h, i, n + i.indent);
|
|
5930
5939
|
return i.transform && (D = i.transform(e, g, D)), o.indent + D + v;
|
|
5931
5940
|
}).join("") + o.pad + "]";
|
|
5932
5941
|
return Yr.pop(), u(c);
|
|
@@ -5939,7 +5948,7 @@ function ui(e, t, n) {
|
|
|
5939
5948
|
return "{}";
|
|
5940
5949
|
Yr.push(e);
|
|
5941
5950
|
var c = "{" + o.newLine + d.map(function(g, v) {
|
|
5942
|
-
var D = d.length - 1 === v ? o.newLine : "," + o.newLineOrSpace, b = typeof g == "symbol", k = !b && /^[a-z$_][a-z$_0-9]*$/i.test(g.toString()), x = b || k ? g :
|
|
5951
|
+
var D = d.length - 1 === v ? o.newLine : "," + o.newLineOrSpace, b = typeof g == "symbol", k = !b && /^[a-z$_][a-z$_0-9]*$/i.test(g.toString()), x = b || k ? g : ci(g, i), C = ci(e[g], i, n + i.indent);
|
|
5943
5952
|
return i.transform && (C = i.transform(e, g, C)), o.indent + String(x) + ": " + C + D;
|
|
5944
5953
|
}).join("") + o.pad + "}";
|
|
5945
5954
|
return Yr.pop(), u(c);
|
|
@@ -5949,7 +5958,7 @@ function ui(e, t, n) {
|
|
|
5949
5958
|
` ? "\\n" : "\\r";
|
|
5950
5959
|
}), i.singleQuotes ? (e = e.replace(/\\?'/g, "\\'"), "'" + e + "'") : (e = e.replace(/"/g, '\\"'), '"' + e + '"');
|
|
5951
5960
|
}
|
|
5952
|
-
var Z2 = up.prettyPrint =
|
|
5961
|
+
var Z2 = up.prettyPrint = ci, Ys = { exports: {} }, ye = {};
|
|
5953
5962
|
/**
|
|
5954
5963
|
* @license React
|
|
5955
5964
|
* react-is.production.min.js
|
|
@@ -6652,13 +6661,13 @@ var ty = new yn();
|
|
|
6652
6661
|
ty.tokenize = function(e) {
|
|
6653
6662
|
return e.split(/([{}:;,]|\s+)/);
|
|
6654
6663
|
};
|
|
6655
|
-
function
|
|
6664
|
+
function pi(e) {
|
|
6656
6665
|
"@babel/helpers - typeof";
|
|
6657
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
6666
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? pi = function(t) {
|
|
6658
6667
|
return typeof t;
|
|
6659
|
-
} :
|
|
6668
|
+
} : pi = function(t) {
|
|
6660
6669
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
6661
|
-
},
|
|
6670
|
+
}, pi(e);
|
|
6662
6671
|
}
|
|
6663
6672
|
var ny = Object.prototype.toString, pa = new yn();
|
|
6664
6673
|
pa.useLongestToken = !0;
|
|
@@ -6681,7 +6690,7 @@ function Xs(e, t, n, r, i) {
|
|
|
6681
6690
|
for (t.push(e), u = new Array(e.length), n.push(u), o = 0; o < e.length; o += 1) u[o] = Xs(e[o], t, n, r, i);
|
|
6682
6691
|
return t.pop(), n.pop(), u;
|
|
6683
6692
|
}
|
|
6684
|
-
if (e && e.toJSON && (e = e.toJSON()),
|
|
6693
|
+
if (e && e.toJSON && (e = e.toJSON()), pi(e) === "object" && e !== null) {
|
|
6685
6694
|
t.push(e), u = {}, n.push(u);
|
|
6686
6695
|
var c = [], d;
|
|
6687
6696
|
for (d in e) e.hasOwnProperty(d) && c.push(d);
|
|
@@ -6690,15 +6699,15 @@ function Xs(e, t, n, r, i) {
|
|
|
6690
6699
|
} else u = e;
|
|
6691
6700
|
return u;
|
|
6692
6701
|
}
|
|
6693
|
-
var
|
|
6694
|
-
|
|
6702
|
+
var wi = new yn();
|
|
6703
|
+
wi.tokenize = function(e) {
|
|
6695
6704
|
return e.slice();
|
|
6696
6705
|
};
|
|
6697
|
-
|
|
6706
|
+
wi.join = wi.removeEmpty = function(e) {
|
|
6698
6707
|
return e;
|
|
6699
6708
|
};
|
|
6700
6709
|
function ry(e, t, n) {
|
|
6701
|
-
return
|
|
6710
|
+
return wi.diff(e, t, n);
|
|
6702
6711
|
}
|
|
6703
6712
|
function ay(e) {
|
|
6704
6713
|
let t = e.indexOf("\r");
|
|
@@ -6741,7 +6750,7 @@ function iy(e) {
|
|
|
6741
6750
|
return Ni(!1, e, /\r\n?/gu, `
|
|
6742
6751
|
`);
|
|
6743
6752
|
}
|
|
6744
|
-
var Wn = "string", en = "array", zn = "cursor", rn = "indent", an = "align", sn = "trim", vt = "group", Ht = "fill", Ct = "if-break", on = "indent-if-break", ln = "line-suffix", un = "line-suffix-boundary",
|
|
6753
|
+
var Wn = "string", en = "array", zn = "cursor", rn = "indent", an = "align", sn = "trim", vt = "group", Ht = "fill", Ct = "if-break", on = "indent-if-break", ln = "line-suffix", un = "line-suffix-boundary", rt = "line", Ut = "label", Ft = "break-parent", Cp = /* @__PURE__ */ new Set([zn, rn, an, sn, vt, Ht, Ct, on, ln, un, rt, Ut, Ft]);
|
|
6745
6754
|
function sy(e) {
|
|
6746
6755
|
if (typeof e == "string") return Wn;
|
|
6747
6756
|
if (Array.isArray(e)) return en;
|
|
@@ -6804,7 +6813,7 @@ function cy(e, t, n, r) {
|
|
|
6804
6813
|
case zn:
|
|
6805
6814
|
case sn:
|
|
6806
6815
|
case un:
|
|
6807
|
-
case
|
|
6816
|
+
case rt:
|
|
6808
6817
|
case Ft:
|
|
6809
6818
|
break;
|
|
6810
6819
|
default:
|
|
@@ -6814,7 +6823,7 @@ function cy(e, t, n, r) {
|
|
|
6814
6823
|
}
|
|
6815
6824
|
var xo = cy, py = () => {
|
|
6816
6825
|
}, dy = py;
|
|
6817
|
-
function
|
|
6826
|
+
function Ci(e) {
|
|
6818
6827
|
return { type: rn, contents: e };
|
|
6819
6828
|
}
|
|
6820
6829
|
function yr(e, t) {
|
|
@@ -6847,7 +6856,7 @@ function Dy(e, t) {
|
|
|
6847
6856
|
function Qs(e) {
|
|
6848
6857
|
return { type: ln, contents: e };
|
|
6849
6858
|
}
|
|
6850
|
-
var yy = { type: un }, ji = { type: Ft }, by = { type: sn }, _o = { type:
|
|
6859
|
+
var yy = { type: un }, ji = { type: Ft }, by = { type: sn }, _o = { type: rt, hard: !0 }, Sp = { type: rt, hard: !0, literal: !0 }, Ep = { type: rt }, ky = { type: rt, soft: !0 }, Ln = [_o, ji], Fp = [Sp, ji], Zs = { type: zn };
|
|
6851
6860
|
function Ap(e, t) {
|
|
6852
6861
|
let n = [];
|
|
6853
6862
|
for (let r = 0; r < t.length; r++) r !== 0 && n.push(e), n.push(t[r]);
|
|
@@ -6856,7 +6865,7 @@ function Ap(e, t) {
|
|
|
6856
6865
|
function $p(e, t, n) {
|
|
6857
6866
|
let r = e;
|
|
6858
6867
|
if (t > 0) {
|
|
6859
|
-
for (let i = 0; i < Math.floor(t / n); ++i) r =
|
|
6868
|
+
for (let i = 0; i < Math.floor(t / n); ++i) r = Ci(r);
|
|
6860
6869
|
r = yr(t % n, r), r = yr(Number.NEGATIVE_INFINITY, r);
|
|
6861
6870
|
}
|
|
6862
6871
|
return r;
|
|
@@ -6888,11 +6897,11 @@ function Cy(e) {
|
|
|
6888
6897
|
let g = o.map(r).filter(Boolean);
|
|
6889
6898
|
return g.length === 1 ? g[0] : `[${g.join(", ")}]`;
|
|
6890
6899
|
}
|
|
6891
|
-
if (o.type ===
|
|
6900
|
+
if (o.type === rt) {
|
|
6892
6901
|
let g = ((d = c == null ? void 0 : c[u + 1]) == null ? void 0 : d.type) === Ft;
|
|
6893
6902
|
return o.literal ? g ? "literalline" : "literallineWithoutBreakParent" : o.hard ? g ? "hardline" : "hardlineWithoutBreakParent" : o.soft ? "softline" : "line";
|
|
6894
6903
|
}
|
|
6895
|
-
if (o.type === Ft) return ((h = c == null ? void 0 : c[u - 1]) == null ? void 0 : h.type) ===
|
|
6904
|
+
if (o.type === Ft) return ((h = c == null ? void 0 : c[u - 1]) == null ? void 0 : h.type) === rt && c[u - 1].hard ? void 0 : "breakParent";
|
|
6896
6905
|
if (o.type === sn) return "trim";
|
|
6897
6906
|
if (o.type === rn) return "indent(" + r(o.contents) + ")";
|
|
6898
6907
|
if (o.type === an) return o.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + r(o.contents) + ")" : o.n < 0 ? "dedent(" + r(o.contents) + ")" : o.n.type === "root" ? "markAsRoot(" + r(o.contents) + ")" : "align(" + JSON.stringify(o.n) + ", " + r(o.contents) + ")";
|
|
@@ -6978,7 +6987,7 @@ function Pi(e, t) {
|
|
|
6978
6987
|
case zn:
|
|
6979
6988
|
case sn:
|
|
6980
6989
|
case un:
|
|
6981
|
-
case
|
|
6990
|
+
case rt:
|
|
6982
6991
|
case Ft:
|
|
6983
6992
|
return t(o);
|
|
6984
6993
|
default:
|
|
@@ -6996,7 +7005,7 @@ function Eo(e, t, n) {
|
|
|
6996
7005
|
return xo(e, o), r;
|
|
6997
7006
|
}
|
|
6998
7007
|
function Ty(e) {
|
|
6999
|
-
if (e.type === vt && e.break || e.type ===
|
|
7008
|
+
if (e.type === vt && e.break || e.type === rt && e.hard || e.type === Ft) return !0;
|
|
7000
7009
|
}
|
|
7001
7010
|
function By(e) {
|
|
7002
7011
|
return Eo(e, Ty, !1);
|
|
@@ -7022,13 +7031,13 @@ function Ny(e) {
|
|
|
7022
7031
|
xo(e, r, i, !0);
|
|
7023
7032
|
}
|
|
7024
7033
|
function jy(e) {
|
|
7025
|
-
return e.type ===
|
|
7034
|
+
return e.type === rt && !e.hard ? e.soft ? "" : " " : e.type === Ct ? e.flatContents : e;
|
|
7026
7035
|
}
|
|
7027
7036
|
function Py(e) {
|
|
7028
7037
|
return Pi(e, jy);
|
|
7029
7038
|
}
|
|
7030
7039
|
function Ju(e) {
|
|
7031
|
-
for (e = [...e]; e.length >= 2 && ze(!1, e, -2).type ===
|
|
7040
|
+
for (e = [...e]; e.length >= 2 && ze(!1, e, -2).type === rt && ze(!1, e, -1).type === Ft; ) e.length -= 2;
|
|
7032
7041
|
if (e.length > 0) {
|
|
7033
7042
|
let t = aa(ze(!1, e, -1));
|
|
7034
7043
|
e[e.length - 1] = t;
|
|
@@ -7057,7 +7066,7 @@ function aa(e) {
|
|
|
7057
7066
|
case zn:
|
|
7058
7067
|
case sn:
|
|
7059
7068
|
case un:
|
|
7060
|
-
case
|
|
7069
|
+
case rt:
|
|
7061
7070
|
case Ft:
|
|
7062
7071
|
break;
|
|
7063
7072
|
default:
|
|
@@ -7099,7 +7108,7 @@ function Ly(e) {
|
|
|
7099
7108
|
case zn:
|
|
7100
7109
|
case sn:
|
|
7101
7110
|
case un:
|
|
7102
|
-
case
|
|
7111
|
+
case rt:
|
|
7103
7112
|
case Ut:
|
|
7104
7113
|
case Ft:
|
|
7105
7114
|
break;
|
|
@@ -7116,7 +7125,7 @@ function Iy(e, t = Fp) {
|
|
|
7116
7125
|
`)) : n);
|
|
7117
7126
|
}
|
|
7118
7127
|
function My(e) {
|
|
7119
|
-
if (e.type ===
|
|
7128
|
+
if (e.type === rt) return !0;
|
|
7120
7129
|
}
|
|
7121
7130
|
function Ry(e) {
|
|
7122
7131
|
return Eo(e, My, !1);
|
|
@@ -7189,7 +7198,7 @@ function to(e) {
|
|
|
7189
7198
|
if (t > 0 || n > 0) for (e.length = r + 1; n-- > 0; ) e.push(ia);
|
|
7190
7199
|
return t;
|
|
7191
7200
|
}
|
|
7192
|
-
function
|
|
7201
|
+
function ai(e, t, n, r, i, o) {
|
|
7193
7202
|
if (n === Number.POSITIVE_INFINITY) return !0;
|
|
7194
7203
|
let u = t.length, c = [e], d = [];
|
|
7195
7204
|
for (; n >= 0; ) {
|
|
@@ -7229,7 +7238,7 @@ function ri(e, t, n, r, i, o) {
|
|
|
7229
7238
|
D && c.push({ mode: h, doc: D });
|
|
7230
7239
|
break;
|
|
7231
7240
|
}
|
|
7232
|
-
case
|
|
7241
|
+
case rt:
|
|
7233
7242
|
if (h === gt || g.hard) return !0;
|
|
7234
7243
|
g.soft || (d.push(" "), n--);
|
|
7235
7244
|
break;
|
|
@@ -7281,7 +7290,7 @@ function Li(e, t) {
|
|
|
7281
7290
|
case gt: {
|
|
7282
7291
|
d = !1;
|
|
7283
7292
|
let x = { ind: D, mode: Ot, doc: k.contents }, C = r - o, T = h.length > 0;
|
|
7284
|
-
if (!k.break &&
|
|
7293
|
+
if (!k.break && ai(x, u, C, T, n)) u.push(x);
|
|
7285
7294
|
else if (k.expandedStates) {
|
|
7286
7295
|
let E = ze(!1, k.expandedStates, -1);
|
|
7287
7296
|
if (k.break) {
|
|
@@ -7292,7 +7301,7 @@ function Li(e, t) {
|
|
|
7292
7301
|
break;
|
|
7293
7302
|
} else {
|
|
7294
7303
|
let F = k.expandedStates[_], A = { ind: D, mode: Ot, doc: F };
|
|
7295
|
-
if (
|
|
7304
|
+
if (ai(A, u, C, T, n)) {
|
|
7296
7305
|
u.push(A);
|
|
7297
7306
|
break;
|
|
7298
7307
|
}
|
|
@@ -7306,7 +7315,7 @@ function Li(e, t) {
|
|
|
7306
7315
|
case Ht: {
|
|
7307
7316
|
let x = r - o, { parts: C } = k;
|
|
7308
7317
|
if (C.length === 0) break;
|
|
7309
|
-
let [T, E] = C, _ = { ind: D, mode: Ot, doc: T }, F = { ind: D, mode: gt, doc: T }, A =
|
|
7318
|
+
let [T, E] = C, _ = { ind: D, mode: Ot, doc: T }, F = { ind: D, mode: gt, doc: T }, A = ai(_, [], x, h.length > 0, n, !0);
|
|
7310
7319
|
if (C.length === 1) {
|
|
7311
7320
|
A ? u.push(_) : u.push(F);
|
|
7312
7321
|
break;
|
|
@@ -7318,18 +7327,18 @@ function Li(e, t) {
|
|
|
7318
7327
|
}
|
|
7319
7328
|
C.splice(0, 2);
|
|
7320
7329
|
let I = { ind: D, mode: b, doc: _p(C) }, j = C[0];
|
|
7321
|
-
|
|
7330
|
+
ai({ ind: D, mode: Ot, doc: [T, E, j] }, [], x, h.length > 0, n, !0) ? u.push(I, $, _) : A ? u.push(I, P, _) : u.push(I, P, F);
|
|
7322
7331
|
break;
|
|
7323
7332
|
}
|
|
7324
7333
|
case Ct:
|
|
7325
7334
|
case on: {
|
|
7326
7335
|
let x = k.groupId ? n[k.groupId] : b;
|
|
7327
7336
|
if (x === gt) {
|
|
7328
|
-
let C = k.type === Ct ? k.breakContents : k.negate ? k.contents :
|
|
7337
|
+
let C = k.type === Ct ? k.breakContents : k.negate ? k.contents : Ci(k.contents);
|
|
7329
7338
|
C && u.push({ ind: D, mode: b, doc: C });
|
|
7330
7339
|
}
|
|
7331
7340
|
if (x === Ot) {
|
|
7332
|
-
let C = k.type === Ct ? k.flatContents : k.negate ?
|
|
7341
|
+
let C = k.type === Ct ? k.flatContents : k.negate ? Ci(k.contents) : k.contents;
|
|
7333
7342
|
C && u.push({ ind: D, mode: b, doc: C });
|
|
7334
7343
|
}
|
|
7335
7344
|
break;
|
|
@@ -7340,7 +7349,7 @@ function Li(e, t) {
|
|
|
7340
7349
|
case un:
|
|
7341
7350
|
h.length > 0 && u.push({ ind: D, mode: b, doc: _o });
|
|
7342
7351
|
break;
|
|
7343
|
-
case
|
|
7352
|
+
case rt:
|
|
7344
7353
|
switch (b) {
|
|
7345
7354
|
case Ot:
|
|
7346
7355
|
if (k.hard) d = !0;
|
|
@@ -7379,7 +7388,7 @@ function Uy(e, t, n = 0) {
|
|
|
7379
7388
|
for (let i = n; i < e.length; ++i) e[i] === " " ? r = r + t - r % t : r++;
|
|
7380
7389
|
return r;
|
|
7381
7390
|
}
|
|
7382
|
-
var Fo = Uy, Bn, no,
|
|
7391
|
+
var Fo = Uy, Bn, no, di, Wy = class {
|
|
7383
7392
|
constructor(e) {
|
|
7384
7393
|
GD(this, Bn), this.stack = [e];
|
|
7385
7394
|
}
|
|
@@ -7428,7 +7437,7 @@ var Fo = Uy, Bn, no, pi, Wy = class {
|
|
|
7428
7437
|
return this.stack[0];
|
|
7429
7438
|
}
|
|
7430
7439
|
get ancestors() {
|
|
7431
|
-
return [...Kr(this, Bn,
|
|
7440
|
+
return [...Kr(this, Bn, di).call(this)];
|
|
7432
7441
|
}
|
|
7433
7442
|
getName() {
|
|
7434
7443
|
let { stack: e } = this, { length: t } = e;
|
|
@@ -7487,10 +7496,10 @@ var Fo = Uy, Bn, no, pi, Wy = class {
|
|
|
7487
7496
|
return !0;
|
|
7488
7497
|
}
|
|
7489
7498
|
findAncestor(e) {
|
|
7490
|
-
for (let t of Kr(this, Bn,
|
|
7499
|
+
for (let t of Kr(this, Bn, di).call(this)) if (e(t)) return t;
|
|
7491
7500
|
}
|
|
7492
7501
|
hasAncestor(e) {
|
|
7493
|
-
for (let t of Kr(this, Bn,
|
|
7502
|
+
for (let t of Kr(this, Bn, di).call(this)) if (e(t)) return !0;
|
|
7494
7503
|
return !1;
|
|
7495
7504
|
}
|
|
7496
7505
|
};
|
|
@@ -7498,7 +7507,7 @@ Bn = /* @__PURE__ */ new WeakSet(), no = function(e) {
|
|
|
7498
7507
|
let { stack: t } = this;
|
|
7499
7508
|
for (let n = t.length - 1; n >= 0; n -= 2) if (!Array.isArray(t[n]) && --e < 0) return n;
|
|
7500
7509
|
return -1;
|
|
7501
|
-
},
|
|
7510
|
+
}, di = function* () {
|
|
7502
7511
|
let { stack: e } = this;
|
|
7503
7512
|
for (let t = e.length - 3; t >= 0; t -= 2) {
|
|
7504
7513
|
let n = e[t];
|
|
@@ -7526,7 +7535,7 @@ function* Yy(e, t) {
|
|
|
7526
7535
|
for (let o of Pp(i, t)) yield o, n.push(o);
|
|
7527
7536
|
}
|
|
7528
7537
|
}
|
|
7529
|
-
function
|
|
7538
|
+
function Ca(e) {
|
|
7530
7539
|
return (t, n, r) => {
|
|
7531
7540
|
let i = !!(r != null && r.backwards);
|
|
7532
7541
|
if (n === !1) return !1;
|
|
@@ -7541,7 +7550,7 @@ function wa(e) {
|
|
|
7541
7550
|
return u === -1 || u === o ? u : !1;
|
|
7542
7551
|
};
|
|
7543
7552
|
}
|
|
7544
|
-
var Ky =
|
|
7553
|
+
var Ky = Ca(/\s/u), Dn = Ca(" "), Lp = Ca(",; "), Op = Ca(/[^\n\r]/u);
|
|
7545
7554
|
function Jy(e, t, n) {
|
|
7546
7555
|
let r = !!(n != null && n.backwards);
|
|
7547
7556
|
if (t === !1) return !1;
|
|
@@ -7801,7 +7810,7 @@ var D0 = v0, pr = { key: (e) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e) ? e : JSON.
|
|
|
7801
7810
|
}, pair: ({ key: e, value: t }) => pr.value({ [e]: t }) }, ec = Bi(wo()), y0 = (e, t, { descriptor: n }) => {
|
|
7802
7811
|
let r = [`${ec.default.yellow(typeof e == "string" ? n.key(e) : n.pair(e))} is deprecated`];
|
|
7803
7812
|
return t && r.push(`we now treat it as ${ec.default.blue(typeof t == "string" ? n.key(t) : n.pair(t))}`), r.join("; ") + ".";
|
|
7804
|
-
}, dr = Bi(wo()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"),
|
|
7813
|
+
}, dr = Bi(wo()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"), hi = Symbol.for("vnopts.VALUE_UNCHANGED"), tc = " ".repeat(2), b0 = (e, t, n) => {
|
|
7805
7814
|
let { text: r, list: i } = n.normalizeExpectedResult(n.schemas[e].expected(n)), o = [];
|
|
7806
7815
|
return r && o.push(nc(e, t, r, n.descriptor)), i && o.push([nc(e, t, i.title, n.descriptor)].concat(i.values.map((u) => zp(u, n.loggerPrintWidth))).join(`
|
|
7807
7816
|
`)), Vp(o, n.loggerPrintWidth);
|
|
@@ -7873,7 +7882,7 @@ var bn = class {
|
|
|
7873
7882
|
return e;
|
|
7874
7883
|
}
|
|
7875
7884
|
postprocess(e, t) {
|
|
7876
|
-
return
|
|
7885
|
+
return hi;
|
|
7877
7886
|
}
|
|
7878
7887
|
};
|
|
7879
7888
|
function x0(e, t, n) {
|
|
@@ -8072,7 +8081,7 @@ var O0 = class extends bn {
|
|
|
8072
8081
|
}
|
|
8073
8082
|
}, R0 = pr, q0 = Gp, H0 = b0, U0 = y0, W0 = class {
|
|
8074
8083
|
constructor(e, t) {
|
|
8075
|
-
let { logger: n = console, loggerPrintWidth: r = 80, descriptor: i = R0, unknown: o = q0, invalid: u = H0, deprecated: c = U0, missing: d = () => !1, required: h = () => !1, preprocess: g = (D) => D, postprocess: v = () =>
|
|
8084
|
+
let { logger: n = console, loggerPrintWidth: r = 80, descriptor: i = R0, unknown: o = q0, invalid: u = H0, deprecated: c = U0, missing: d = () => !1, required: h = () => !1, preprocess: g = (D) => D, postprocess: v = () => hi } = t || {};
|
|
8076
8085
|
this._utils = { descriptor: i, logger: n || { warn: () => {
|
|
8077
8086
|
} }, loggerPrintWidth: r, schemas: A0(e, "name"), normalizeDefaultResult: sc, normalizeExpectedResult: Yp, normalizeDeprecatedResult: lc, normalizeForwardResult: ao, normalizeRedirectResult: cc, normalizeValidateResult: oc }, this._unknownHandler = o, this._invalidHandler = P0(u), this._deprecatedHandler = c, this._identifyMissing = (D, b) => !(D in b) || d(D, b), this._identifyRequired = h, this._preprocess = g, this._postprocess = v, this.cleanHistory();
|
|
8078
8087
|
}
|
|
@@ -8098,7 +8107,7 @@ var O0 = class extends bn {
|
|
|
8098
8107
|
for (let i of Object.keys(this._utils.schemas)) {
|
|
8099
8108
|
if (!(i in t)) continue;
|
|
8100
8109
|
let o = this._utils.schemas[i], u = t[i], c = o.postprocess(u, this._utils);
|
|
8101
|
-
c !==
|
|
8110
|
+
c !== hi && (this._applyValidation(c, i, o), t[i] = c);
|
|
8102
8111
|
}
|
|
8103
8112
|
return this._applyPostprocess(t), this._applyRequiredCheck(t), t;
|
|
8104
8113
|
}
|
|
@@ -8157,7 +8166,7 @@ var O0 = class extends bn {
|
|
|
8157
8166
|
}
|
|
8158
8167
|
_applyPostprocess(e) {
|
|
8159
8168
|
let t = this._postprocess(e, this._utils);
|
|
8160
|
-
if (t !==
|
|
8169
|
+
if (t !== hi) {
|
|
8161
8170
|
if (t.delete) for (let n of t.delete) delete e[n];
|
|
8162
8171
|
if (t.override) {
|
|
8163
8172
|
let { knownKeys: n, unknownKeys: r } = this._partitionOptionKeys(t.override);
|
|
@@ -8296,7 +8305,7 @@ function tb(e, t) {
|
|
|
8296
8305
|
}
|
|
8297
8306
|
throw e;
|
|
8298
8307
|
}
|
|
8299
|
-
var
|
|
8308
|
+
var xa = eb;
|
|
8300
8309
|
async function nb(e, t, n, r, i) {
|
|
8301
8310
|
let { embeddedLanguageFormatting: o, printer: { embed: u, hasPrettierIgnore: c = () => !1, getVisitorKeys: d } } = n;
|
|
8302
8311
|
if (!u || o !== "auto") return;
|
|
@@ -8330,7 +8339,7 @@ async function nb(e, t, n, r, i) {
|
|
|
8330
8339
|
}
|
|
8331
8340
|
}
|
|
8332
8341
|
async function rb(e, t, n, r) {
|
|
8333
|
-
let i = await wr({ ...n, ...t, parentParser: n.parser, originalText: e }, { passThrough: !0 }), { ast: o } = await
|
|
8342
|
+
let i = await wr({ ...n, ...t, parentParser: n.parser, originalText: e }, { passThrough: !0 }), { ast: o } = await xa(e, i), u = await r(o, i);
|
|
8334
8343
|
return Tp(u);
|
|
8335
8344
|
}
|
|
8336
8345
|
function ab(e, t) {
|
|
@@ -8476,7 +8485,7 @@ function vb(e, t, n) {
|
|
|
8476
8485
|
var td = "\uFEFF", gc = Symbol("cursor");
|
|
8477
8486
|
async function nd(e, t, n = 0) {
|
|
8478
8487
|
if (!e || e.trim().length === 0) return { formatted: "", cursorOffset: -1, comments: [] };
|
|
8479
|
-
let { ast: r, text: i } = await
|
|
8488
|
+
let { ast: r, text: i } = await xa(e, t);
|
|
8480
8489
|
t.cursorOffset >= 0 && (t.cursorNode = ob(r, t));
|
|
8481
8490
|
let o = await Ii(r, t);
|
|
8482
8491
|
n > 0 && (o = $p([Ln, o], n, t.tabWidth));
|
|
@@ -8500,7 +8509,7 @@ async function nd(e, t, n = 0) {
|
|
|
8500
8509
|
return { formatted: u.formatted, cursorOffset: -1, comments: c };
|
|
8501
8510
|
}
|
|
8502
8511
|
async function Db(e, t) {
|
|
8503
|
-
let { ast: n, text: r } = await
|
|
8512
|
+
let { ast: n, text: r } = await xa(e, t), { rangeStart: i, rangeEnd: o } = vb(r, t, n), u = r.slice(i, o), c = Math.min(i, r.lastIndexOf(`
|
|
8504
8513
|
`, i) + 1), d = r.slice(c, i).match(/^\s*/u)[0], h = Fo(d, t.tabWidth), g = await nd(u, { ...t, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: t.cursorOffset > i && t.cursorOffset <= o ? t.cursorOffset - i : -1, endOfLine: "lf" }, h), v = g.formatted.trimEnd(), { cursorOffset: D } = t;
|
|
8505
8514
|
D > o ? D += v.length - u.length : g.cursorOffset >= 0 && (D = g.cursorOffset + i);
|
|
8506
8515
|
let b = r.slice(0, i) + v + r.slice(o);
|
|
@@ -8540,7 +8549,7 @@ async function ad(e, t) {
|
|
|
8540
8549
|
return i.rangeStart > 0 || i.rangeEnd < r.length ? o = await Db(r, i) : (!i.requirePragma && i.insertPragma && i.printer.insertPragma && !await Dc(r, i) && (r = i.printer.insertPragma(r)), o = await nd(r, i)), n && (o.formatted = td + o.formatted, o.cursorOffset >= 0 && o.cursorOffset++), o;
|
|
8541
8550
|
}
|
|
8542
8551
|
async function yb(e, t, n) {
|
|
8543
|
-
let { text: r, options: i } = rd(e, await wr(t)), o = await
|
|
8552
|
+
let { text: r, options: i } = rd(e, await wr(t)), o = await xa(r, i);
|
|
8544
8553
|
return n && (n.preprocessForPrint && (o.ast = await Zp(o.ast, i)), n.massage && (o.ast = ub(o.ast, i))), o;
|
|
8545
8554
|
}
|
|
8546
8555
|
async function bb(e, t) {
|
|
@@ -8554,7 +8563,7 @@ async function kb(e, t) {
|
|
|
8554
8563
|
}
|
|
8555
8564
|
async function wb(e, t) {
|
|
8556
8565
|
t = await wr(t);
|
|
8557
|
-
let { ast: n } = await
|
|
8566
|
+
let { ast: n } = await xa(e, t);
|
|
8558
8567
|
return Ii(n, t);
|
|
8559
8568
|
}
|
|
8560
8569
|
async function Cb(e, t) {
|
|
@@ -8562,8 +8571,8 @@ async function Cb(e, t) {
|
|
|
8562
8571
|
}
|
|
8563
8572
|
var id = {};
|
|
8564
8573
|
Ti(id, { builders: () => xb, printer: () => _b, utils: () => Sb });
|
|
8565
|
-
var xb = { join: Ap, line: Ep, softline: ky, hardline: Ln, literalline: Fp, group: xp, conditionalGroup: gy, fill: _p, lineSuffix: Qs, lineSuffixBoundary: yy, cursor: Zs, breakParent: ji, ifBreak: vy, trim: by, indent:
|
|
8566
|
-
Ti(sd, { addDanglingComment: () => Nn, addLeadingComment: () => ur, addTrailingComment: () => cr, getAlignmentSize: () => Fo, getIndentSize: () => Nb, getMaxContinuousCount: () => Lb, getNextNonSpaceNonCommentCharacter: () => Ib, getNextNonSpaceNonCommentCharacterIndex: () => Vb, getStringWidth: () => So, hasNewline: () => mn, hasNewlineInRange: () => Rb, hasSpaces: () => Hb, isNextLineEmpty: () => Jb, isNextLineEmptyAfterIndex: () => Po, isPreviousLineEmpty: () => Yb, makeString: () => Wb, skip: () =>
|
|
8574
|
+
var xb = { join: Ap, line: Ep, softline: ky, hardline: Ln, literalline: Fp, group: xp, conditionalGroup: gy, fill: _p, lineSuffix: Qs, lineSuffixBoundary: yy, cursor: Zs, breakParent: ji, ifBreak: vy, trim: by, indent: Ci, indentIfBreak: Dy, align: yr, addAlignmentToDoc: $p, markAsRoot: fy, dedentToRoot: hy, dedent: my, hardlineWithoutBreakParent: _o, literallineWithoutBreakParent: Sp, label: wy, concat: (e) => e }, _b = { printDocToString: Li }, Sb = { willBreak: By, traverseDoc: xo, findInDoc: Eo, mapDoc: Pi, removeLines: Py, stripTrailingHardline: Tp, replaceEndOfLine: Iy, canBreak: Ry }, Eb = "3.3.3", sd = {};
|
|
8575
|
+
Ti(sd, { addDanglingComment: () => Nn, addLeadingComment: () => ur, addTrailingComment: () => cr, getAlignmentSize: () => Fo, getIndentSize: () => Nb, getMaxContinuousCount: () => Lb, getNextNonSpaceNonCommentCharacter: () => Ib, getNextNonSpaceNonCommentCharacterIndex: () => Vb, getStringWidth: () => So, hasNewline: () => mn, hasNewlineInRange: () => Rb, hasSpaces: () => Hb, isNextLineEmpty: () => Jb, isNextLineEmptyAfterIndex: () => Po, isPreviousLineEmpty: () => Yb, makeString: () => Wb, skip: () => Ca, skipEverythingButNewLine: () => Op, skipInlineComment: () => Bo, skipNewline: () => qn, skipSpaces: () => Dn, skipToLineEnd: () => Lp, skipTrailingComment: () => No, skipWhitespace: () => Ky });
|
|
8567
8576
|
function Fb(e, t) {
|
|
8568
8577
|
if (t === !1) return !1;
|
|
8569
8578
|
if (e.charAt(t) === "/" && e.charAt(t + 1) === "*") {
|
|
@@ -8815,20 +8824,20 @@ Expected it to be ${p}.`;
|
|
|
8815
8824
|
}
|
|
8816
8825
|
return a;
|
|
8817
8826
|
}
|
|
8818
|
-
function
|
|
8827
|
+
function Ea(a) {
|
|
8819
8828
|
return xr(a, (s) => qi(s));
|
|
8820
8829
|
}
|
|
8821
8830
|
function ht(a, s = Yn) {
|
|
8822
8831
|
return xr(a, (l) => typeof l == "string" ? pn(s, l.split(`
|
|
8823
8832
|
`)) : l);
|
|
8824
8833
|
}
|
|
8825
|
-
var Lt = "'",
|
|
8826
|
-
function
|
|
8827
|
-
let l = s === !0 || s === Lt ? Lt :
|
|
8834
|
+
var Lt = "'", Fa = '"';
|
|
8835
|
+
function Aa(a, s) {
|
|
8836
|
+
let l = s === !0 || s === Lt ? Lt : Fa, p = l === Lt ? Fa : Lt, f = 0, y = 0;
|
|
8828
8837
|
for (let S of a) S === l ? f++ : S === p && y++;
|
|
8829
8838
|
return f > y ? p : l;
|
|
8830
8839
|
}
|
|
8831
|
-
var
|
|
8840
|
+
var $a = Aa;
|
|
8832
8841
|
function _r(a) {
|
|
8833
8842
|
if (typeof a != "string") throw new TypeError("Expected a string");
|
|
8834
8843
|
return a.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
@@ -8898,10 +8907,10 @@ Expected it to be ${p}.`;
|
|
|
8898
8907
|
this.node = s;
|
|
8899
8908
|
}
|
|
8900
8909
|
}, Sr = Vi;
|
|
8901
|
-
function
|
|
8910
|
+
function Ta(a) {
|
|
8902
8911
|
return (a == null ? void 0 : a.type) === "front-matter";
|
|
8903
8912
|
}
|
|
8904
|
-
var $t =
|
|
8913
|
+
var $t = Ta, Er = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Fr = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
8905
8914
|
function Ar(a, s) {
|
|
8906
8915
|
var l;
|
|
8907
8916
|
if (a.type === "text" || a.type === "comment" || $t(a) || a.type === "yaml" || a.type === "toml") return null;
|
|
@@ -8910,13 +8919,13 @@ Expected it to be ${p}.`;
|
|
|
8910
8919
|
}
|
|
8911
8920
|
Ar.ignoredProperties = Er;
|
|
8912
8921
|
var Gi = Ar;
|
|
8913
|
-
async function
|
|
8922
|
+
async function Ba(a, s) {
|
|
8914
8923
|
if (a.language === "yaml") {
|
|
8915
8924
|
let l = a.value.trim(), p = l ? await s(l, { parser: "yaml" }) : "";
|
|
8916
8925
|
return jt([a.startDelimiter, a.explicitLanguage, Ce, p, p ? Ce : "", a.endDelimiter]);
|
|
8917
8926
|
}
|
|
8918
8927
|
}
|
|
8919
|
-
var Yi =
|
|
8928
|
+
var Yi = Ba;
|
|
8920
8929
|
function wn(a, s = !0) {
|
|
8921
8930
|
return [Se([je, a]), s ? je : ""];
|
|
8922
8931
|
}
|
|
@@ -8937,31 +8946,31 @@ Expected it to be ${p}.`;
|
|
|
8937
8946
|
let { node: f } = l, y = p.originalText.slice(f.sourceSpan.start.offset, f.sourceSpan.end.offset);
|
|
8938
8947
|
return /^\s*$/u.test(y) ? "" : wt(y, a, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, Vt);
|
|
8939
8948
|
}
|
|
8940
|
-
var
|
|
8941
|
-
function
|
|
8949
|
+
var Na = Ki, ja = (a) => String(a).split(/[/\\]/u).pop();
|
|
8950
|
+
function Pa(a, s) {
|
|
8942
8951
|
if (!s) return;
|
|
8943
|
-
let l =
|
|
8952
|
+
let l = ja(s).toLowerCase();
|
|
8944
8953
|
return a.find(({ filenames: p }) => p == null ? void 0 : p.some((f) => f.toLowerCase() === l)) ?? a.find(({ extensions: p }) => p == null ? void 0 : p.some((f) => l.endsWith(f)));
|
|
8945
8954
|
}
|
|
8946
8955
|
function Ji(a, s) {
|
|
8947
8956
|
if (s) return a.find(({ name: l }) => l.toLowerCase() === s) ?? a.find(({ aliases: l }) => l == null ? void 0 : l.includes(s)) ?? a.find(({ extensions: l }) => l == null ? void 0 : l.includes(`.${s}`));
|
|
8948
8957
|
}
|
|
8949
8958
|
function Xi(a, s) {
|
|
8950
|
-
let l = a.plugins.flatMap((f) => f.languages ?? []), p = Ji(l, s.language) ??
|
|
8959
|
+
let l = a.plugins.flatMap((f) => f.languages ?? []), p = Ji(l, s.language) ?? Pa(l, s.physicalFile) ?? Pa(l, s.file) ?? (s.physicalFile, void 0);
|
|
8951
8960
|
return p == null ? void 0 : p.parsers[0];
|
|
8952
8961
|
}
|
|
8953
8962
|
var Kn = Xi, w = "inline", M = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", marquee: "inline-block", source: "block", track: "block", details: "block", summary: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, H = "normal", Z = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
8954
8963
|
function ve(a) {
|
|
8955
8964
|
return a.type === "element" && !a.hasExplicitNamespace && !["html", "svg"].includes(a.namespace);
|
|
8956
8965
|
}
|
|
8957
|
-
var me = ve, pe = (a) => C(!1, a, /^[\t\f\r ]*\n/gu, ""), ae = (a) => pe(xt.trimEnd(a)),
|
|
8966
|
+
var me = ve, pe = (a) => C(!1, a, /^[\t\f\r ]*\n/gu, ""), ae = (a) => pe(xt.trimEnd(a)), Xe = (a) => {
|
|
8958
8967
|
let s = a, l = xt.getLeadingWhitespace(s);
|
|
8959
8968
|
l && (s = s.slice(l.length));
|
|
8960
8969
|
let p = xt.getTrailingWhitespace(s);
|
|
8961
8970
|
return p && (s = s.slice(0, -p.length)), { leadingWhitespace: l, trailingWhitespace: p, text: s };
|
|
8962
8971
|
};
|
|
8963
8972
|
function Te(a, s) {
|
|
8964
|
-
return !!(a.type === "ieConditionalComment" && a.lastChild && !a.lastChild.isSelfClosing && !a.lastChild.endSourceSpan || a.type === "ieConditionalComment" && !a.complete || Jn(a) && a.children.some((l) => l.type !== "text" && l.type !== "interpolation") || ts(a, s) && !
|
|
8973
|
+
return !!(a.type === "ieConditionalComment" && a.lastChild && !a.lastChild.isSelfClosing && !a.lastChild.endSourceSpan || a.type === "ieConditionalComment" && !a.complete || Jn(a) && a.children.some((l) => l.type !== "text" && l.type !== "interpolation") || ts(a, s) && !Qe(a) && a.type !== "interpolation");
|
|
8965
8974
|
}
|
|
8966
8975
|
function Ae(a) {
|
|
8967
8976
|
return a.type === "attribute" || !a.parent || !a.prev ? !1 : ft(a.prev);
|
|
@@ -8972,16 +8981,16 @@ Expected it to be ${p}.`;
|
|
|
8972
8981
|
function He(a) {
|
|
8973
8982
|
return a.type === "text" || a.type === "comment";
|
|
8974
8983
|
}
|
|
8975
|
-
function
|
|
8984
|
+
function Qe(a) {
|
|
8976
8985
|
return a.type === "element" && (a.fullName === "script" || a.fullName === "style" || a.fullName === "svg:style" || a.fullName === "svg:script" || me(a) && (a.name === "script" || a.name === "style"));
|
|
8977
8986
|
}
|
|
8978
8987
|
function it(a) {
|
|
8979
|
-
return a.children && !
|
|
8988
|
+
return a.children && !Qe(a);
|
|
8980
8989
|
}
|
|
8981
8990
|
function $r(a) {
|
|
8982
|
-
return
|
|
8991
|
+
return Qe(a) || a.type === "interpolation" || La(a);
|
|
8983
8992
|
}
|
|
8984
|
-
function
|
|
8993
|
+
function La(a) {
|
|
8985
8994
|
return ol(a).startsWith("pre");
|
|
8986
8995
|
}
|
|
8987
8996
|
function Qi(a, s) {
|
|
@@ -8990,16 +8999,16 @@ Expected it to be ${p}.`;
|
|
|
8990
8999
|
if (f && !a.prev && (p = (l = a.parent) == null ? void 0 : l.tagDefinition) != null && p.ignoreFirstLf) return a.type === "interpolation";
|
|
8991
9000
|
return f;
|
|
8992
9001
|
function y() {
|
|
8993
|
-
return $t(a) || a.type === "angularControlFlowBlock" ? !1 : (a.type === "text" || a.type === "interpolation") && a.prev && (a.prev.type === "text" || a.prev.type === "interpolation") ? !0 : !a.parent || a.parent.cssDisplay === "none" ? !1 : Jn(a.parent) ? !0 : !(!a.prev && (a.parent.type === "root" || Jn(a) && a.parent ||
|
|
9002
|
+
return $t(a) || a.type === "angularControlFlowBlock" ? !1 : (a.type === "text" || a.type === "interpolation") && a.prev && (a.prev.type === "text" || a.prev.type === "interpolation") ? !0 : !a.parent || a.parent.cssDisplay === "none" ? !1 : Jn(a.parent) ? !0 : !(!a.prev && (a.parent.type === "root" || Jn(a) && a.parent || Qe(a.parent) || Ia(a.parent, s) || !Jd(a.parent.cssDisplay)) || a.prev && !Zd(a.prev.cssDisplay));
|
|
8994
9003
|
}
|
|
8995
9004
|
}
|
|
8996
9005
|
function Hd(a, s) {
|
|
8997
|
-
return $t(a) || a.type === "angularControlFlowBlock" ? !1 : (a.type === "text" || a.type === "interpolation") && a.next && (a.next.type === "text" || a.next.type === "interpolation") ? !0 : !a.parent || a.parent.cssDisplay === "none" ? !1 : Jn(a.parent) ? !0 : !(!a.next && (a.parent.type === "root" || Jn(a) && a.parent ||
|
|
9006
|
+
return $t(a) || a.type === "angularControlFlowBlock" ? !1 : (a.type === "text" || a.type === "interpolation") && a.next && (a.next.type === "text" || a.next.type === "interpolation") ? !0 : !a.parent || a.parent.cssDisplay === "none" ? !1 : Jn(a.parent) ? !0 : !(!a.next && (a.parent.type === "root" || Jn(a) && a.parent || Qe(a.parent) || Ia(a.parent, s) || !Xd(a.parent.cssDisplay)) || a.next && !Qd(a.next.cssDisplay));
|
|
8998
9007
|
}
|
|
8999
9008
|
function Ud(a) {
|
|
9000
|
-
return eh(a.cssDisplay) && !
|
|
9009
|
+
return eh(a.cssDisplay) && !Qe(a);
|
|
9001
9010
|
}
|
|
9002
|
-
function
|
|
9011
|
+
function Oa(a) {
|
|
9003
9012
|
return $t(a) || a.next && a.sourceSpan.end && a.sourceSpan.end.line + 1 < a.next.sourceSpan.start.line;
|
|
9004
9013
|
}
|
|
9005
9014
|
function Wd(a) {
|
|
@@ -9155,14 +9164,14 @@ Expected it to be ${p}.`;
|
|
|
9155
9164
|
return ul(a.value);
|
|
9156
9165
|
}
|
|
9157
9166
|
var ah = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
9158
|
-
function
|
|
9167
|
+
function Ia(a, s) {
|
|
9159
9168
|
return Xn(a, s) && !ah.has(a.fullName);
|
|
9160
9169
|
}
|
|
9161
9170
|
function Xn(a, s) {
|
|
9162
9171
|
return s.parser === "vue" && a.type === "element" && a.parent.type === "root" && a.fullName.toLowerCase() !== "html";
|
|
9163
9172
|
}
|
|
9164
9173
|
function ts(a, s) {
|
|
9165
|
-
return Xn(a, s) && (
|
|
9174
|
+
return Xn(a, s) && (Ia(a, s) || a.attrMap.lang && a.attrMap.lang !== "html");
|
|
9166
9175
|
}
|
|
9167
9176
|
function ih(a) {
|
|
9168
9177
|
let s = a.fullName;
|
|
@@ -9254,9 +9263,9 @@ Expected it to be ${p}.`;
|
|
|
9254
9263
|
}
|
|
9255
9264
|
}
|
|
9256
9265
|
function fe() {
|
|
9257
|
-
let le = !1, Ee, Ue,
|
|
9258
|
-
for (st = 0; st < p.length; st++) ue = p[st], We = ue[ue.length - 1], Me = ue.substring(0, ue.length - 1), lt = parseInt(Me, 10), tr = parseFloat(Me), fl.test(Me) && We === "w" ? ((Ee || Ue) && (le = !0), lt === 0 ? le = !0 : Ee = lt) : yh.test(Me) && We === "x" ? ((Ee || Ue ||
|
|
9259
|
-
if (!le) z.source = { value: l, startOffset: R }, Ee && (z.width = { value: Ee }), Ue && (z.density = { value: Ue }),
|
|
9266
|
+
let le = !1, Ee, Ue, Ze, st, z = {}, ue, We, Me, lt, tr;
|
|
9267
|
+
for (st = 0; st < p.length; st++) ue = p[st], We = ue[ue.length - 1], Me = ue.substring(0, ue.length - 1), lt = parseInt(Me, 10), tr = parseFloat(Me), fl.test(Me) && We === "w" ? ((Ee || Ue) && (le = !0), lt === 0 ? le = !0 : Ee = lt) : yh.test(Me) && We === "x" ? ((Ee || Ue || Ze) && (le = !0), tr < 0 ? le = !0 : Ue = tr) : fl.test(Me) && We === "h" ? ((Ze || Ue) && (le = !0), lt === 0 ? le = !0 : Ze = lt) : le = !0;
|
|
9268
|
+
if (!le) z.source = { value: l, startOffset: R }, Ee && (z.width = { value: Ee }), Ue && (z.density = { value: Ue }), Ze && (z.height = { value: Ze }), U.push(z);
|
|
9260
9269
|
else throw new Error(`Invalid srcset descriptor found in "${a}" at "${ue}".`);
|
|
9261
9270
|
}
|
|
9262
9271
|
}
|
|
@@ -9275,8 +9284,8 @@ Expected it to be ${p}.`;
|
|
|
9275
9284
|
return wn(pn([",", ke], y.map((U, De) => {
|
|
9276
9285
|
let fe = [U], le = B[De];
|
|
9277
9286
|
if (le) {
|
|
9278
|
-
let Ee = S - U.length + 1, Ue = G - R[De],
|
|
9279
|
-
fe.push(yt(
|
|
9287
|
+
let Ee = S - U.length + 1, Ue = G - R[De], Ze = " ".repeat(Ee + Ue);
|
|
9288
|
+
fe.push(yt(Ze, " "), le + f);
|
|
9280
9289
|
}
|
|
9281
9290
|
return fe;
|
|
9282
9291
|
})));
|
|
@@ -9360,10 +9369,10 @@ Expected it to be ${p}.`;
|
|
|
9360
9369
|
return Array.isArray(a) && a.length > 0;
|
|
9361
9370
|
}
|
|
9362
9371
|
var is = Rh;
|
|
9363
|
-
function
|
|
9372
|
+
function Ma(a) {
|
|
9364
9373
|
return a.sourceSpan.start.offset;
|
|
9365
9374
|
}
|
|
9366
|
-
function
|
|
9375
|
+
function Ra(a) {
|
|
9367
9376
|
return a.sourceSpan.end.offset;
|
|
9368
9377
|
}
|
|
9369
9378
|
function ss(a, s) {
|
|
@@ -9379,7 +9388,7 @@ Expected it to be ${p}.`;
|
|
|
9379
9388
|
return jr(a) ? Nr(a.lastChild, s) : "";
|
|
9380
9389
|
}
|
|
9381
9390
|
function Cn(a, s) {
|
|
9382
|
-
return Pr(a) ? os(a.parent, s) :
|
|
9391
|
+
return Pr(a) ? os(a.parent, s) : qa(a) ? us(a.next) : "";
|
|
9383
9392
|
}
|
|
9384
9393
|
function os(a, s) {
|
|
9385
9394
|
if (Dl(!a.isSelfClosing), yl(a, s)) return "";
|
|
@@ -9423,35 +9432,35 @@ Expected it to be ${p}.`;
|
|
|
9423
9432
|
function Pr(a) {
|
|
9424
9433
|
return !a.next && !a.hasTrailingSpaces && a.isTrailingSpaceSensitive && He(es(a));
|
|
9425
9434
|
}
|
|
9426
|
-
function
|
|
9435
|
+
function qa(a) {
|
|
9427
9436
|
return a.next && !He(a.next) && He(a) && a.isTrailingSpaceSensitive && !a.hasTrailingSpaces;
|
|
9428
9437
|
}
|
|
9429
9438
|
function Uh(a) {
|
|
9430
9439
|
let s = a.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
9431
9440
|
return s ? s[1] ? s[1].split(/\s+/u) : !0 : !1;
|
|
9432
9441
|
}
|
|
9433
|
-
function
|
|
9442
|
+
function Ha(a) {
|
|
9434
9443
|
return !a.prev && a.isLeadingSpaceSensitive && !a.hasLeadingSpaces;
|
|
9435
9444
|
}
|
|
9436
9445
|
function Wh(a, s, l) {
|
|
9437
9446
|
var p;
|
|
9438
9447
|
let { node: f } = a;
|
|
9439
9448
|
if (!is(f.attrs)) return f.isSelfClosing ? " " : "";
|
|
9440
|
-
let y = ((p = f.prev) == null ? void 0 : p.type) === "comment" && Uh(f.prev.value), S = typeof y == "boolean" ? () => y : Array.isArray(y) ? (De) => y.includes(De.rawName) : () => !1, B = a.map(({ node: De }) => S(De) ? ht(s.originalText.slice(
|
|
9441
|
-
return f.firstChild &&
|
|
9449
|
+
let y = ((p = f.prev) == null ? void 0 : p.type) === "comment" && Uh(f.prev.value), S = typeof y == "boolean" ? () => y : Array.isArray(y) ? (De) => y.includes(De.rawName) : () => !1, B = a.map(({ node: De }) => S(De) ? ht(s.originalText.slice(Ma(De), Ra(De))) : l(), "attrs"), R = f.type === "element" && f.fullName === "script" && f.attrs.length === 1 && f.attrs[0].fullName === "src" && f.children.length === 0, G = s.singleAttributePerLine && f.attrs.length > 1 && !Xn(f, s) ? Ce : ke, U = [Se([R ? " " : ke, pn(G, B)])];
|
|
9450
|
+
return f.firstChild && Ha(f.firstChild) || f.isSelfClosing && jr(f.parent) || R ? U.push(f.isSelfClosing ? " " : "") : U.push(s.bracketSameLine ? f.isSelfClosing ? " " : "" : f.isSelfClosing ? ke : je), U;
|
|
9442
9451
|
}
|
|
9443
9452
|
function zh(a) {
|
|
9444
|
-
return a.firstChild &&
|
|
9453
|
+
return a.firstChild && Ha(a.firstChild) ? "" : cs(a);
|
|
9445
9454
|
}
|
|
9446
9455
|
function ls(a, s, l) {
|
|
9447
9456
|
let { node: p } = a;
|
|
9448
9457
|
return [Lr(p, s), Wh(a, s, l), p.isSelfClosing ? "" : zh(p)];
|
|
9449
9458
|
}
|
|
9450
9459
|
function Lr(a, s) {
|
|
9451
|
-
return a.prev &&
|
|
9460
|
+
return a.prev && qa(a.prev) ? "" : [_n(a, s), us(a)];
|
|
9452
9461
|
}
|
|
9453
9462
|
function _n(a, s) {
|
|
9454
|
-
return
|
|
9463
|
+
return Ha(a) ? cs(a.parent) : xn(a) ? Nr(a.prev, s) : "";
|
|
9455
9464
|
}
|
|
9456
9465
|
function us(a) {
|
|
9457
9466
|
switch (a.type) {
|
|
@@ -9485,7 +9494,7 @@ Expected it to be ${p}.`;
|
|
|
9485
9494
|
function Vh(a, s) {
|
|
9486
9495
|
if (!a.endSourceSpan) return "";
|
|
9487
9496
|
let l = a.startSourceSpan.end.offset;
|
|
9488
|
-
a.firstChild &&
|
|
9497
|
+
a.firstChild && Ha(a.firstChild) && (l -= cs(a).length);
|
|
9489
9498
|
let p = a.endSourceSpan.start.offset;
|
|
9490
9499
|
return a.lastChild && Pr(a.lastChild) ? p += os(a, s).length : jr(a) && (p -= Nr(a.lastChild, s).length), s.originalText.slice(l, p);
|
|
9491
9500
|
}
|
|
@@ -9494,7 +9503,7 @@ Expected it to be ${p}.`;
|
|
|
9494
9503
|
let { node: l } = a;
|
|
9495
9504
|
switch (l.type) {
|
|
9496
9505
|
case "element":
|
|
9497
|
-
if (
|
|
9506
|
+
if (Qe(l) || l.type === "interpolation") return;
|
|
9498
9507
|
if (!l.isSelfClosing && ts(l, s)) {
|
|
9499
9508
|
let p = sl(l, s);
|
|
9500
9509
|
return p ? async (f, y) => {
|
|
@@ -9504,7 +9513,7 @@ Expected it to be ${p}.`;
|
|
|
9504
9513
|
}
|
|
9505
9514
|
break;
|
|
9506
9515
|
case "text":
|
|
9507
|
-
if (
|
|
9516
|
+
if (Qe(l.parent)) {
|
|
9508
9517
|
let p = sl(l.parent, s);
|
|
9509
9518
|
if (p) return async (f) => {
|
|
9510
9519
|
let y = p === "markdown" ? ll(l.value.replace(/^[^\S\n]*\n/u, "")) : l.value, S = { parser: p, __embeddedInHtml: !0 };
|
|
@@ -9524,7 +9533,7 @@ Expected it to be ${p}.`;
|
|
|
9524
9533
|
case "front-matter":
|
|
9525
9534
|
return (p) => Yi(l, p);
|
|
9526
9535
|
case "angularControlFlowBlockParameters":
|
|
9527
|
-
return Gh.has(a.parent.name) ?
|
|
9536
|
+
return Gh.has(a.parent.name) ? Na : void 0;
|
|
9528
9537
|
case "angularLetDeclarationInitializer":
|
|
9529
9538
|
return (p) => wt(l.value, p, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
|
|
9530
9539
|
}
|
|
@@ -9562,38 +9571,38 @@ Expected it to be ${p}.`;
|
|
|
9562
9571
|
}
|
|
9563
9572
|
var of = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
|
|
9564
9573
|
function kl(a) {
|
|
9565
|
-
let s =
|
|
9574
|
+
let s = Ra(a);
|
|
9566
9575
|
return a.type === "element" && !a.endSourceSpan && is(a.children) ? Math.max(s, kl(zt(!1, a.children, -1))) : s;
|
|
9567
9576
|
}
|
|
9568
9577
|
function Mr(a, s, l) {
|
|
9569
9578
|
let p = a.node;
|
|
9570
9579
|
if (Ae(p)) {
|
|
9571
9580
|
let f = kl(p);
|
|
9572
|
-
return [_n(p, s), ht(xt.trimEnd(s.originalText.slice(
|
|
9581
|
+
return [_n(p, s), ht(xt.trimEnd(s.originalText.slice(Ma(p) + (p.prev && qa(p.prev) ? us(p).length : 0), f - (p.next && xn(p.next) ? Nr(p, s).length : 0)))), Cn(p, s)];
|
|
9573
9582
|
}
|
|
9574
9583
|
return l();
|
|
9575
9584
|
}
|
|
9576
|
-
function
|
|
9577
|
-
return He(a) && He(s) ? a.isTrailingSpaceSensitive ? a.hasTrailingSpaces ? Zi(s) ? Ce : ke : "" : Zi(s) ? Ce : je :
|
|
9585
|
+
function Ua(a, s) {
|
|
9586
|
+
return He(a) && He(s) ? a.isTrailingSpaceSensitive ? a.hasTrailingSpaces ? Zi(s) ? Ce : ke : "" : Zi(s) ? Ce : je : qa(a) && (Ae(s) || s.firstChild || s.isSelfClosing || s.type === "element" && s.attrs.length > 0) || a.type === "element" && a.isSelfClosing && xn(s) ? "" : !s.isLeadingSpaceSensitive || Zi(s) || xn(s) && a.lastChild && Pr(a.lastChild) && a.lastChild.lastChild && Pr(a.lastChild.lastChild) ? Ce : s.hasLeadingSpaces ? ke : je;
|
|
9578
9587
|
}
|
|
9579
9588
|
function ps(a, s, l) {
|
|
9580
9589
|
let { node: p } = a;
|
|
9581
9590
|
if (el(p)) return [bt, ...a.map((y) => {
|
|
9582
|
-
let S = y.node, B = S.prev ?
|
|
9583
|
-
return [B ? [B,
|
|
9591
|
+
let S = y.node, B = S.prev ? Ua(S.prev, S) : "";
|
|
9592
|
+
return [B ? [B, Oa(S.prev) ? Ce : ""] : "", Mr(y, s, l)];
|
|
9584
9593
|
}, "children")];
|
|
9585
9594
|
let f = p.children.map(() => Symbol(""));
|
|
9586
9595
|
return a.map((y, S) => {
|
|
9587
9596
|
let B = y.node;
|
|
9588
9597
|
if (He(B)) {
|
|
9589
9598
|
if (B.prev && He(B.prev)) {
|
|
9590
|
-
let Ee =
|
|
9591
|
-
if (Ee) return
|
|
9599
|
+
let Ee = Ua(B.prev, B);
|
|
9600
|
+
if (Ee) return Oa(B.prev) ? [Ce, Ce, Mr(y, s, l)] : [Ee, Mr(y, s, l)];
|
|
9592
9601
|
}
|
|
9593
9602
|
return Mr(y, s, l);
|
|
9594
9603
|
}
|
|
9595
|
-
let R = [], G = [], U = [], De = [], fe = B.prev ?
|
|
9596
|
-
return fe && (
|
|
9604
|
+
let R = [], G = [], U = [], De = [], fe = B.prev ? Ua(B.prev, B) : "", le = B.next ? Ua(B, B.next) : "";
|
|
9605
|
+
return fe && (Oa(B.prev) ? R.push(Ce, Ce) : fe === Ce ? R.push(Ce) : He(B.prev) ? G.push(fe) : G.push(yt("", je, { groupId: f[S - 1] }))), le && (Oa(B) ? He(B.next) && De.push(Ce, Ce) : le === Ce ? He(B.next) && De.push(Ce) : U.push(le)), [...R, ce([...G, ce([Mr(y, s, l), ...U], { id: f[S] })]), ...De];
|
|
9597
9606
|
}, "children");
|
|
9598
9607
|
}
|
|
9599
9608
|
function lf(a, s, l) {
|
|
@@ -9624,16 +9633,16 @@ Expected it to be ${p}.`;
|
|
|
9624
9633
|
function hf(a, s, l) {
|
|
9625
9634
|
let { node: p } = a;
|
|
9626
9635
|
if (Te(p, s)) return [_n(p, s), ce(ls(a, s, l)), ht(bl(p, s)), ...ss(p, s), Cn(p, s)];
|
|
9627
|
-
let f = p.children.length === 1 && (p.firstChild.type === "interpolation" || p.firstChild.type === "angularIcuExpression") && p.firstChild.isLeadingSpaceSensitive && !p.firstChild.hasLeadingSpaces && p.lastChild.isTrailingSpaceSensitive && !p.lastChild.hasTrailingSpaces, y = Symbol("element-attr-group-id"), S = (U) => ce([ce(ls(a, s, l), { id: y }), U, ss(p, s)]), B = (U) => f ? cn(U, { groupId: y }) : (
|
|
9636
|
+
let f = p.children.length === 1 && (p.firstChild.type === "interpolation" || p.firstChild.type === "angularIcuExpression") && p.firstChild.isLeadingSpaceSensitive && !p.firstChild.hasLeadingSpaces && p.lastChild.isTrailingSpaceSensitive && !p.lastChild.hasTrailingSpaces, y = Symbol("element-attr-group-id"), S = (U) => ce([ce(ls(a, s, l), { id: y }), U, ss(p, s)]), B = (U) => f ? cn(U, { groupId: y }) : (Qe(p) || Ia(p, s)) && p.parent.type === "root" && s.parser === "vue" && !s.vueIndentScriptAndStyle ? U : Se(U), R = () => f ? yt(je, "", { groupId: y }) : p.firstChild.hasLeadingSpaces && p.firstChild.isLeadingSpaceSensitive ? ke : p.firstChild.type === "text" && p.isWhitespaceSensitive && p.isIndentationSensitive ? dt(je) : je, G = () => (p.next ? xn(p.next) : jr(p.parent)) ? p.lastChild.hasTrailingSpaces && p.lastChild.isTrailingSpaceSensitive ? " " : "" : f ? yt(je, "", { groupId: y }) : p.lastChild.hasTrailingSpaces && p.lastChild.isTrailingSpaceSensitive ? ke : (p.lastChild.type === "comment" || p.lastChild.type === "text" && p.isWhitespaceSensitive && p.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${s.tabWidth * (a.ancestors.length - 1)}}$`, "u").test(p.lastChild.value) ? "" : je;
|
|
9628
9637
|
return p.children.length === 0 ? S(p.hasDanglingSpaces && p.isDanglingSpaceSensitive ? ke : "") : S([Wd(p) ? bt : "", B([R(), ps(a, s, l)]), G()]);
|
|
9629
9638
|
}
|
|
9630
|
-
function
|
|
9639
|
+
function Wa(a) {
|
|
9631
9640
|
return a >= 9 && a <= 32 || a == 160;
|
|
9632
9641
|
}
|
|
9633
9642
|
function ds(a) {
|
|
9634
9643
|
return 48 <= a && a <= 57;
|
|
9635
9644
|
}
|
|
9636
|
-
function
|
|
9645
|
+
function za(a) {
|
|
9637
9646
|
return a >= 97 && a <= 122 || a >= 65 && a <= 90;
|
|
9638
9647
|
}
|
|
9639
9648
|
function ff(a) {
|
|
@@ -9697,17 +9706,17 @@ Expected it to be ${p}.`;
|
|
|
9697
9706
|
toString() {
|
|
9698
9707
|
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
9699
9708
|
}
|
|
9700
|
-
},
|
|
9709
|
+
}, Va;
|
|
9701
9710
|
(function(a) {
|
|
9702
9711
|
a[a.WARNING = 0] = "WARNING", a[a.ERROR = 1] = "ERROR";
|
|
9703
|
-
})(
|
|
9712
|
+
})(Va || (Va = {}));
|
|
9704
9713
|
var _l = class {
|
|
9705
|
-
constructor(a, s, l =
|
|
9714
|
+
constructor(a, s, l = Va.ERROR) {
|
|
9706
9715
|
this.span = a, this.msg = s, this.level = l;
|
|
9707
9716
|
}
|
|
9708
9717
|
contextualMessage() {
|
|
9709
9718
|
let a = this.span.start.getContext(100, 3);
|
|
9710
|
-
return a ? `${this.msg} ("${a.before}[${
|
|
9719
|
+
return a ? `${this.msg} ("${a.before}[${Va[this.level]} ->]${a.after}")` : this.msg;
|
|
9711
9720
|
}
|
|
9712
9721
|
toString() {
|
|
9713
9722
|
let a = this.span.details ? `, ${this.span.details}` : "";
|
|
@@ -9797,11 +9806,11 @@ Expected it to be ${p}.`;
|
|
|
9797
9806
|
s.hasDanglingSpaces = s.children.length > 0, s.children = [];
|
|
9798
9807
|
return;
|
|
9799
9808
|
}
|
|
9800
|
-
let l = $r(s), p =
|
|
9809
|
+
let l = $r(s), p = La(s);
|
|
9801
9810
|
if (!l) for (let f = 0; f < s.children.length; f++) {
|
|
9802
9811
|
let y = s.children[f];
|
|
9803
9812
|
if (y.type !== "text") continue;
|
|
9804
|
-
let { leadingWhitespace: S, text: B, trailingWhitespace: R } =
|
|
9813
|
+
let { leadingWhitespace: S, text: B, trailingWhitespace: R } = Xe(y.value), G = y.prev, U = y.next;
|
|
9805
9814
|
B ? (y.value = B, y.sourceSpan = new ie(y.sourceSpan.start.moveBy(S.length), y.sourceSpan.end.moveBy(-R.length)), S && (G && (G.hasTrailingSpaces = !0), y.hasLeadingSpaces = !0), R && (y.hasTrailingSpaces = !0, U && (U.hasLeadingSpaces = !0))) : (s.removeChild(y), f--, (S || R) && (G && (G.hasTrailingSpaces = !0), U && (U.hasLeadingSpaces = !0)));
|
|
9806
9815
|
}
|
|
9807
9816
|
s.isWhitespaceSensitive = l, s.isIndentationSensitive = p;
|
|
@@ -9873,16 +9882,16 @@ Expected it to be ${p}.`;
|
|
|
9873
9882
|
let y = /\n[^\S\n]*$/u, S = y.test(p.value), B = S ? p.value.replace(y, "") : p.value;
|
|
9874
9883
|
return [ht(B), S ? Ce : ""];
|
|
9875
9884
|
}
|
|
9876
|
-
let f =
|
|
9885
|
+
let f = Ea([_n(p, s), ...cl(p), Cn(p, s)]);
|
|
9877
9886
|
return Array.isArray(f) ? Dt(f) : f;
|
|
9878
9887
|
}
|
|
9879
9888
|
case "docType":
|
|
9880
9889
|
return [ce([Lr(p, s), " ", C(!1, p.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Br(p, s)];
|
|
9881
9890
|
case "comment":
|
|
9882
|
-
return [_n(p, s), ht(s.originalText.slice(
|
|
9891
|
+
return [_n(p, s), ht(s.originalText.slice(Ma(p), Ra(p))), Cn(p, s)];
|
|
9883
9892
|
case "attribute": {
|
|
9884
9893
|
if (p.value === null) return p.rawName;
|
|
9885
|
-
let f = ul(p.value), y =
|
|
9894
|
+
let f = ul(p.value), y = $a(f, '"');
|
|
9886
9895
|
return [p.rawName, "=", y, ht(y === '"' ? C(!1, f, '"', """) : C(!1, f, "'", "'")), y];
|
|
9887
9896
|
}
|
|
9888
9897
|
case "cdata":
|
|
@@ -9916,7 +9925,7 @@ Expected it to be ${p}.`;
|
|
|
9916
9925
|
(function(a) {
|
|
9917
9926
|
a[a.RAW_TEXT = 0] = "RAW_TEXT", a[a.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", a[a.PARSABLE_DATA = 2] = "PARSABLE_DATA";
|
|
9918
9927
|
})(Tt || (Tt = {}));
|
|
9919
|
-
function
|
|
9928
|
+
function Ga(a, s = !0) {
|
|
9920
9929
|
if (a[0] != ":") return [null, a];
|
|
9921
9930
|
let l = a.indexOf(":", 1);
|
|
9922
9931
|
if (l === -1) {
|
|
@@ -9926,23 +9935,23 @@ Expected it to be ${p}.`;
|
|
|
9926
9935
|
return [a.slice(1, l), a.slice(l + 1)];
|
|
9927
9936
|
}
|
|
9928
9937
|
function Pl(a) {
|
|
9929
|
-
return
|
|
9938
|
+
return Ga(a)[1] === "ng-container";
|
|
9930
9939
|
}
|
|
9931
9940
|
function Ll(a) {
|
|
9932
|
-
return
|
|
9941
|
+
return Ga(a)[1] === "ng-content";
|
|
9933
9942
|
}
|
|
9934
|
-
function
|
|
9935
|
-
return a === null ? null :
|
|
9943
|
+
function Ya(a) {
|
|
9944
|
+
return a === null ? null : Ga(a)[0];
|
|
9936
9945
|
}
|
|
9937
|
-
function
|
|
9946
|
+
function Ka(a, s) {
|
|
9938
9947
|
return a ? `:${a}:${s}` : s;
|
|
9939
9948
|
}
|
|
9940
|
-
var
|
|
9949
|
+
var Ja;
|
|
9941
9950
|
function Ol() {
|
|
9942
|
-
return
|
|
9951
|
+
return Ja || (Ja = {}, Xa(Sn.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Xa(Sn.STYLE, ["*|style"]), Xa(Sn.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), Xa(Sn.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), Ja;
|
|
9943
9952
|
}
|
|
9944
|
-
function
|
|
9945
|
-
for (let l of s)
|
|
9953
|
+
function Xa(a, s) {
|
|
9954
|
+
for (let l of s) Ja[l.toLowerCase()] = a;
|
|
9946
9955
|
}
|
|
9947
9956
|
var Of = class {
|
|
9948
9957
|
}, If = "boolean", Mf = "number", Rf = "string", qf = "object", Hf = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Il = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Uf = Array.from(Il).reduce((a, [s, l]) => (a.set(s, l), a), /* @__PURE__ */ new Map()), Wf = class extends Of {
|
|
@@ -10077,7 +10086,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10077
10086
|
}, Ml, Rr;
|
|
10078
10087
|
function gs(a) {
|
|
10079
10088
|
return Rr || (Ml = new ne({ canSelfClose: !0 }), Rr = Object.assign(/* @__PURE__ */ Object.create(null), { base: new ne({ isVoid: !0 }), meta: new ne({ isVoid: !0 }), area: new ne({ isVoid: !0 }), embed: new ne({ isVoid: !0 }), link: new ne({ isVoid: !0 }), img: new ne({ isVoid: !0 }), input: new ne({ isVoid: !0 }), param: new ne({ isVoid: !0 }), hr: new ne({ isVoid: !0 }), br: new ne({ isVoid: !0 }), source: new ne({ isVoid: !0 }), track: new ne({ isVoid: !0 }), wbr: new ne({ isVoid: !0 }), p: new ne({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new ne({ closedByChildren: ["tbody", "tfoot"] }), tbody: new ne({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new ne({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new ne({ closedByChildren: ["tr"], closedByParent: !0 }), td: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new ne({ isVoid: !0 }), svg: new ne({ implicitNamespacePrefix: "svg" }), foreignObject: new ne({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new ne({ implicitNamespacePrefix: "math" }), li: new ne({ closedByChildren: ["li"], closedByParent: !0 }), dt: new ne({ closedByChildren: ["dt", "dd"] }), dd: new ne({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new ne({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new ne({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new ne({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new ne({ ignoreFirstLf: !0 }), listing: new ne({ ignoreFirstLf: !0 }), style: new ne({ contentType: Tt.RAW_TEXT }), script: new ne({ contentType: Tt.RAW_TEXT }), title: new ne({ contentType: { default: Tt.ESCAPABLE_RAW_TEXT, svg: Tt.PARSABLE_DATA } }), textarea: new ne({ contentType: Tt.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Wf().allKnownElementNames().forEach((s) => {
|
|
10080
|
-
!Rr[s] &&
|
|
10089
|
+
!Rr[s] && Ya(s) === null && (Rr[s] = new ne({ canSelfClose: !1 }));
|
|
10081
10090
|
})), Rr[a] ?? Ml;
|
|
10082
10091
|
}
|
|
10083
10092
|
var Qn = class {
|
|
@@ -10213,9 +10222,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10213
10222
|
}
|
|
10214
10223
|
return s(f), Array.prototype.concat.apply([], l);
|
|
10215
10224
|
}
|
|
10216
|
-
},
|
|
10225
|
+
}, Qa = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
10217
10226
|
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, em = "";
|
|
10218
|
-
|
|
10227
|
+
Qa.ngsp = em;
|
|
10219
10228
|
var tm = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
|
|
10220
10229
|
function nm(a, s) {
|
|
10221
10230
|
if (s != null && !(Array.isArray(s) && s.length == 2)) throw new Error(`Expected '${a}' to be an array, [start, end].`);
|
|
@@ -10256,10 +10265,10 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10256
10265
|
function om(a, s) {
|
|
10257
10266
|
return `Unable to parse entity "${s}" - ${a} character reference entities must end with ";"`;
|
|
10258
10267
|
}
|
|
10259
|
-
var
|
|
10268
|
+
var Za;
|
|
10260
10269
|
(function(a) {
|
|
10261
10270
|
a.HEX = "hexadecimal", a.DEC = "decimal";
|
|
10262
|
-
})(
|
|
10271
|
+
})(Za || (Za = {}));
|
|
10263
10272
|
var Ds = class {
|
|
10264
10273
|
constructor(a) {
|
|
10265
10274
|
this.error = a;
|
|
@@ -10298,7 +10307,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10298
10307
|
}
|
|
10299
10308
|
_getBlockName() {
|
|
10300
10309
|
let a = !1, s = this._cursor.clone();
|
|
10301
|
-
return this._attemptCharCodeUntilFn((l) =>
|
|
10310
|
+
return this._attemptCharCodeUntilFn((l) => Wa(l) ? !a : Gl(l) ? (a = !0, !1) : !0), this._cursor.getChars(s).trim();
|
|
10302
10311
|
}
|
|
10303
10312
|
_consumeBlockStart(a) {
|
|
10304
10313
|
this._beginToken(25, a);
|
|
@@ -10333,7 +10342,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10333
10342
|
}
|
|
10334
10343
|
}
|
|
10335
10344
|
_consumeLetDeclaration(a) {
|
|
10336
|
-
if (this._beginToken(30, a),
|
|
10345
|
+
if (this._beginToken(30, a), Wa(this._cursor.peek())) this._attemptCharCodeUntilFn(Ie);
|
|
10337
10346
|
else {
|
|
10338
10347
|
let l = this._endToken([this._cursor.getChars(a)]);
|
|
10339
10348
|
l.type = 33;
|
|
@@ -10348,7 +10357,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10348
10357
|
}
|
|
10349
10358
|
_getLetDeclarationName() {
|
|
10350
10359
|
let a = this._cursor.clone(), s = !1;
|
|
10351
|
-
return this._attemptCharCodeUntilFn((l) =>
|
|
10360
|
+
return this._attemptCharCodeUntilFn((l) => za(l) || l == 36 || l === 95 || s && ds(l) ? (s = !0, !1) : !0), this._cursor.getChars(a).trim();
|
|
10352
10361
|
}
|
|
10353
10362
|
_consumeLetDeclarationValue() {
|
|
10354
10363
|
let a = this._cursor.clone();
|
|
@@ -10436,7 +10445,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10436
10445
|
let l = this._attemptCharCode(120) || this._attemptCharCode(88), p = this._cursor.clone();
|
|
10437
10446
|
if (this._attemptCharCodeUntilFn(cm), this._cursor.peek() != 59) {
|
|
10438
10447
|
this._cursor.advance();
|
|
10439
|
-
let y = l ?
|
|
10448
|
+
let y = l ? Za.HEX : Za.DEC;
|
|
10440
10449
|
throw this._createError(om(y, this._cursor.getChars(s)), this._cursor.getSpan());
|
|
10441
10450
|
}
|
|
10442
10451
|
let f = this._cursor.getChars(p);
|
|
@@ -10453,7 +10462,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10453
10462
|
else {
|
|
10454
10463
|
let p = this._cursor.getChars(l);
|
|
10455
10464
|
this._cursor.advance();
|
|
10456
|
-
let f =
|
|
10465
|
+
let f = Qa[p];
|
|
10457
10466
|
if (!f) throw this._createError(Wl(p), this._cursor.getSpan(s));
|
|
10458
10467
|
this._endToken([f, `&${p};`]);
|
|
10459
10468
|
}
|
|
@@ -10492,7 +10501,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10492
10501
|
_consumeTagOpen(a) {
|
|
10493
10502
|
let s, l, p, f = [];
|
|
10494
10503
|
try {
|
|
10495
|
-
if (!
|
|
10504
|
+
if (!za(this._cursor.peek())) throw this._createError(er(this._cursor.peek()), this._cursor.getSpan(a));
|
|
10496
10505
|
for (p = this._consumeTagOpenStart(a), l = p.parts[0], s = p.parts[1], this._attemptCharCodeUntilFn(Ie); this._cursor.peek() !== 47 && this._cursor.peek() !== 62 && this._cursor.peek() !== 60 && this._cursor.peek() !== 0; ) {
|
|
10497
10506
|
let [S, B] = this._consumeAttributeName();
|
|
10498
10507
|
if (this._attemptCharCodeUntilFn(Ie), this._attemptCharCode(61)) {
|
|
@@ -10653,19 +10662,19 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10653
10662
|
return !0;
|
|
10654
10663
|
}
|
|
10655
10664
|
_handleFullNameStackForTagOpen(a, s) {
|
|
10656
|
-
let l =
|
|
10665
|
+
let l = Ka(a, s);
|
|
10657
10666
|
(this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === l) && this._fullNameStack.push(l);
|
|
10658
10667
|
}
|
|
10659
10668
|
_handleFullNameStackForTagClose(a, s) {
|
|
10660
|
-
let l =
|
|
10669
|
+
let l = Ka(a, s);
|
|
10661
10670
|
this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === l && this._fullNameStack.pop();
|
|
10662
10671
|
}
|
|
10663
10672
|
};
|
|
10664
10673
|
function Ie(a) {
|
|
10665
|
-
return !
|
|
10674
|
+
return !Wa(a) || a === 0;
|
|
10666
10675
|
}
|
|
10667
10676
|
function zl(a) {
|
|
10668
|
-
return
|
|
10677
|
+
return Wa(a) || a === 62 || a === 60 || a === 47 || a === 39 || a === 34 || a === 61 || a === 0;
|
|
10669
10678
|
}
|
|
10670
10679
|
function um(a) {
|
|
10671
10680
|
return (a < 97 || 122 < a) && (a < 65 || 90 < a) && (a < 48 || a > 57);
|
|
@@ -10674,7 +10683,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10674
10683
|
return a === 59 || a === 0 || !ff(a);
|
|
10675
10684
|
}
|
|
10676
10685
|
function pm(a) {
|
|
10677
|
-
return a === 59 || a === 0 || !
|
|
10686
|
+
return a === 59 || a === 0 || !za(a);
|
|
10678
10687
|
}
|
|
10679
10688
|
function dm(a) {
|
|
10680
10689
|
return a !== 125;
|
|
@@ -10686,7 +10695,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10686
10695
|
return a >= 97 && a <= 122 ? a - 97 + 65 : a;
|
|
10687
10696
|
}
|
|
10688
10697
|
function Gl(a) {
|
|
10689
|
-
return
|
|
10698
|
+
return za(a) || ds(a) || a === 95;
|
|
10690
10699
|
}
|
|
10691
10700
|
function Yl(a) {
|
|
10692
10701
|
return a !== 59 && Ie(a);
|
|
@@ -10822,8 +10831,8 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10822
10831
|
this.getTagDefinition = a;
|
|
10823
10832
|
}
|
|
10824
10833
|
parse(a, s, l, p = !1, f) {
|
|
10825
|
-
let y = (le) => (Ee, ...Ue) => le(Ee.toLowerCase(), ...Ue), S = p ? this.getTagDefinition : y(this.getTagDefinition), B = (le) => S(le).getContentType(), R = p ? f : y(f), G = im(a, s, f ? (le, Ee, Ue,
|
|
10826
|
-
let st = R(le, Ee, Ue,
|
|
10834
|
+
let y = (le) => (Ee, ...Ue) => le(Ee.toLowerCase(), ...Ue), S = p ? this.getTagDefinition : y(this.getTagDefinition), B = (le) => S(le).getContentType(), R = p ? f : y(f), G = im(a, s, f ? (le, Ee, Ue, Ze) => {
|
|
10835
|
+
let st = R(le, Ee, Ue, Ze);
|
|
10827
10836
|
return st !== void 0 ? st : B(le);
|
|
10828
10837
|
} : B, l), U = l && l.canSelfClose || !1, De = l && l.allowHtmComponentClosingTags || !1, fe = new Dm(G.tokens, S, U, De, p);
|
|
10829
10838
|
return fe.build(), new gm(fe.rootNodes, G.errors.concat(fe.errors));
|
|
@@ -10926,7 +10935,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10926
10935
|
if (this._peek.type === 2) {
|
|
10927
10936
|
this._advance(), S = !0;
|
|
10928
10937
|
let le = this.getTagDefinition(y);
|
|
10929
|
-
this.canSelfClose || le.canSelfClose ||
|
|
10938
|
+
this.canSelfClose || le.canSelfClose || Ya(y) !== null || le.isVoid || this.errors.push(ot.create(y, s.sourceSpan, `Only void, custom and foreign elements can be self closed "${s.parts[1]}"`));
|
|
10930
10939
|
} else this._peek.type === 1 && (this._advance(), S = !1);
|
|
10931
10940
|
let B = this._peek.sourceSpan.fullStart, R = new ie(s.sourceSpan.start, B, s.sourceSpan.fullStart), G = new ie(s.sourceSpan.start, B, s.sourceSpan.fullStart), U = new ie(s.sourceSpan.start.moveBy(1), s.sourceSpan.end), De = new hn(y, f, [], R, G, void 0, U), fe = this._getContainer();
|
|
10932
10941
|
this._pushContainer(De, fe instanceof hn && this.getTagDefinition(fe.name).isClosedByChild(De.name)), S ? this._popContainer(y, hn, R) : s.type === 4 && (this._popContainer(y, hn, null), this.errors.push(ot.create(y, R, `Opening tag "${y}" not terminated.`)));
|
|
@@ -10946,13 +10955,13 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
10946
10955
|
let f = !1;
|
|
10947
10956
|
for (let y = this._containerStack.length - 1; y >= 0; y--) {
|
|
10948
10957
|
let S = this._containerStack[y];
|
|
10949
|
-
if (
|
|
10958
|
+
if (Ya(S.name) ? S.name === s : (s == null || S.name.toLowerCase() === s.toLowerCase()) && S instanceof l) return S.endSourceSpan = p, S.sourceSpan.end = p !== null ? p.end : S.sourceSpan.end, this._containerStack.splice(y, this._containerStack.length - y), !f;
|
|
10950
10959
|
(S instanceof Zn || S instanceof hn && !this.getTagDefinition(S.name).closedByParent) && (f = !0);
|
|
10951
10960
|
}
|
|
10952
10961
|
return !1;
|
|
10953
10962
|
}
|
|
10954
10963
|
_consumeAttr(s) {
|
|
10955
|
-
let l =
|
|
10964
|
+
let l = Ka(s.parts[0], s.parts[1]), p = s.sourceSpan.end, f;
|
|
10956
10965
|
this._peek.type === 15 && (f = this._advance());
|
|
10957
10966
|
let y = "", S = [], B, R;
|
|
10958
10967
|
if (this._peek.type === 16) for (B = this._peek.sourceSpan, R = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
|
|
@@ -11019,17 +11028,17 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
|
|
|
11019
11028
|
}
|
|
11020
11029
|
_getElementFullName(s, l, p) {
|
|
11021
11030
|
if (s === "" && (s = this.getTagDefinition(l).implicitNamespacePrefix || "", s === "" && p != null)) {
|
|
11022
|
-
let f =
|
|
11023
|
-
this.getTagDefinition(f).preventNamespaceInheritance || (s =
|
|
11031
|
+
let f = Ga(p.name)[1];
|
|
11032
|
+
this.getTagDefinition(f).preventNamespaceInheritance || (s = Ya(p.name));
|
|
11024
11033
|
}
|
|
11025
|
-
return
|
|
11034
|
+
return Ka(s, l);
|
|
11026
11035
|
}
|
|
11027
11036
|
};
|
|
11028
11037
|
function Jl(a, s) {
|
|
11029
11038
|
return a.length > 0 && a[a.length - 1] === s;
|
|
11030
11039
|
}
|
|
11031
11040
|
function Xl(a, s) {
|
|
11032
|
-
return
|
|
11041
|
+
return Qa[s] !== void 0 ? Qa[s] || a : /^#x[a-f0-9]+$/i.test(s) ? String.fromCodePoint(parseInt(s.slice(2), 16)) : /^#\d+$/.test(s) ? String.fromCodePoint(parseInt(s.slice(1), 10)) : a;
|
|
11033
11042
|
}
|
|
11034
11043
|
var ym = class extends vm {
|
|
11035
11044
|
constructor() {
|
|
@@ -11069,13 +11078,13 @@ ${s}`, l), y = p;
|
|
|
11069
11078
|
let { raw: l } = s;
|
|
11070
11079
|
return { frontMatter: s, content: C(!1, l, /[^\n]/gu, " ") + a.slice(l.length) };
|
|
11071
11080
|
}
|
|
11072
|
-
var _m = xm,
|
|
11081
|
+
var _m = xm, ei = { attrs: !0, children: !0, cases: !0, expression: !0 }, Zl = /* @__PURE__ */ new Set(["parent"]), Sm = class Xr {
|
|
11073
11082
|
constructor(s = {}) {
|
|
11074
11083
|
for (let l of /* @__PURE__ */ new Set([...Zl, ...Object.keys(s)])) this.setProperty(l, s[l]);
|
|
11075
11084
|
}
|
|
11076
11085
|
setProperty(s, l) {
|
|
11077
11086
|
if (this[s] !== l) {
|
|
11078
|
-
if (s in
|
|
11087
|
+
if (s in ei && (l = l.map((p) => this.createChild(p))), !Zl.has(s)) {
|
|
11079
11088
|
this[s] = l;
|
|
11080
11089
|
return;
|
|
11081
11090
|
}
|
|
@@ -11084,18 +11093,18 @@ ${s}`, l), y = p;
|
|
|
11084
11093
|
}
|
|
11085
11094
|
map(s) {
|
|
11086
11095
|
let l;
|
|
11087
|
-
for (let p in
|
|
11096
|
+
for (let p in ei) {
|
|
11088
11097
|
let f = this[p];
|
|
11089
11098
|
if (f) {
|
|
11090
11099
|
let y = Em(f, (S) => S.map(s));
|
|
11091
11100
|
l !== f && (l || (l = new Xr({ parent: this.parent })), l.setProperty(p, y));
|
|
11092
11101
|
}
|
|
11093
11102
|
}
|
|
11094
|
-
if (l) for (let p in this) p in
|
|
11103
|
+
if (l) for (let p in this) p in ei || (l[p] = this[p]);
|
|
11095
11104
|
return s(l || this);
|
|
11096
11105
|
}
|
|
11097
11106
|
walk(s) {
|
|
11098
|
-
for (let l in
|
|
11107
|
+
for (let l in ei) {
|
|
11099
11108
|
let p = this[l];
|
|
11100
11109
|
if (p) for (let f = 0; f < p.length; f++) p[f].walk(s);
|
|
11101
11110
|
}
|
|
@@ -11225,7 +11234,7 @@ ${s}`, l), y = p;
|
|
|
11225
11234
|
return ue(We) ? We : z;
|
|
11226
11235
|
}, Ue = (z) => {
|
|
11227
11236
|
if (z.type === "element" && (y && (!z.namespace || z.namespace === z.tagDefinition.implicitNamespacePrefix || me(z)) && (z.name = Ee(z.name, (ue) => Nm.has(ue))), S)) for (let ue of z.attrs) ue.namespace || (ue.name = Ee(ue.name, (We) => ks.has(z.name) && (ks.get("*").has(We) || ks.get(z.name).has(We))));
|
|
11228
|
-
},
|
|
11237
|
+
}, Ze = (z) => {
|
|
11229
11238
|
z.sourceSpan && z.endSourceSpan && (z.sourceSpan = new ie(z.sourceSpan.start, z.endSourceSpan.end));
|
|
11230
11239
|
}, st = (z) => {
|
|
11231
11240
|
if (z.type === "element") {
|
|
@@ -11240,7 +11249,7 @@ ${s}`, l), y = p;
|
|
|
11240
11249
|
});
|
|
11241
11250
|
}
|
|
11242
11251
|
visit(z) {
|
|
11243
|
-
le(z), st(z), Ue(z),
|
|
11252
|
+
le(z), st(z), Ue(z), Ze(z);
|
|
11244
11253
|
}
|
|
11245
11254
|
}(), U), U;
|
|
11246
11255
|
}
|
|
@@ -11261,10 +11270,10 @@ ${s}`, l), y = p;
|
|
|
11261
11270
|
f.sourceSpan = new ie(fe, le), G.children.unshift(f);
|
|
11262
11271
|
}
|
|
11263
11272
|
let U = new Sm(G), De = (fe, le) => {
|
|
11264
|
-
let { offset: Ee } = le, Ue = C(!1, a.slice(0, Ee), /[^\n\r]/gu, " "),
|
|
11265
|
-
|
|
11266
|
-
let st =
|
|
11267
|
-
return st.length === Ee ?
|
|
11273
|
+
let { offset: Ee } = le, Ue = C(!1, a.slice(0, Ee), /[^\n\r]/gu, " "), Ze = nu(Ue + fe, s, l, !1);
|
|
11274
|
+
Ze.sourceSpan = new ie(le, zt(!1, Ze.children, -1).sourceSpan.end);
|
|
11275
|
+
let st = Ze.children[0];
|
|
11276
|
+
return st.length === Ee ? Ze.children.shift() : (st.sourceSpan = new ie(st.sourceSpan.start.moveBy(Ee), st.sourceSpan.end), st.value = st.value.slice(Ee)), Ze;
|
|
11268
11277
|
};
|
|
11269
11278
|
return U.walk((fe) => {
|
|
11270
11279
|
if (fe.type === "comment") {
|
|
@@ -11274,17 +11283,17 @@ ${s}`, l), y = p;
|
|
|
11274
11283
|
jm(fe), Pm(fe), Lm(fe);
|
|
11275
11284
|
}), U;
|
|
11276
11285
|
}
|
|
11277
|
-
function
|
|
11278
|
-
return { parse: (s, l) => nu(s, a, l), hasPragma: af, astFormat: "html", locStart:
|
|
11286
|
+
function ti(a) {
|
|
11287
|
+
return { parse: (s, l) => nu(s, a, l), hasPragma: af, astFormat: "html", locStart: Ma, locEnd: Ra };
|
|
11279
11288
|
}
|
|
11280
|
-
var ru = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, Im =
|
|
11289
|
+
var ru = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, Im = ti(ru), Mm = ti({ name: "angular" }), Rm = ti({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(a, s, l, p) {
|
|
11281
11290
|
return a.toLowerCase() !== "html" && !l && (a !== "template" || p.some(({ name: f, value: y }) => f === "lang" && y !== "html" && y !== "" && y !== void 0));
|
|
11282
|
-
} }), qm =
|
|
11291
|
+
} }), qm = ti({ name: "lwc", canSelfClose: !1 }), Hm = { html: Nf };
|
|
11283
11292
|
return h(k);
|
|
11284
11293
|
});
|
|
11285
11294
|
})(ld);
|
|
11286
11295
|
var hd = ld.exports;
|
|
11287
|
-
const e1 = /* @__PURE__ */
|
|
11296
|
+
const e1 = /* @__PURE__ */ xi(hd), t1 = /* @__PURE__ */ Jm({
|
|
11288
11297
|
__proto__: null,
|
|
11289
11298
|
default: e1
|
|
11290
11299
|
}, [hd]);
|
|
@@ -11544,7 +11553,7 @@ function vd(e, t, n) {
|
|
|
11544
11553
|
}, i = typeof e == "function" ? e(t) : e, o = Mt(Mt({}, r), i);
|
|
11545
11554
|
return o;
|
|
11546
11555
|
}
|
|
11547
|
-
function
|
|
11556
|
+
function fi(e) {
|
|
11548
11557
|
var t = e.children, n = e.lineNumber, r = e.lineNumberStyle, i = e.largestLineNumber, o = e.showInlineLineNumbers, u = e.lineProps, c = u === void 0 ? {} : u, d = e.className, h = d === void 0 ? [] : d, g = e.showLineNumbers, v = e.wrapLongLines, D = typeof c == "function" ? c(n) : c;
|
|
11549
11558
|
if (D.className = h, n && o) {
|
|
11550
11559
|
var b = vd(r, n, i);
|
|
@@ -11563,7 +11572,7 @@ function Dd(e) {
|
|
|
11563
11572
|
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = 0; r < e.length; r++) {
|
|
11564
11573
|
var i = e[r];
|
|
11565
11574
|
if (i.type === "text")
|
|
11566
|
-
n.push(
|
|
11575
|
+
n.push(fi({
|
|
11567
11576
|
children: [i],
|
|
11568
11577
|
className: l1(new Set(t))
|
|
11569
11578
|
}));
|
|
@@ -11580,7 +11589,7 @@ function w1(e, t, n, r, i, o, u, c, d) {
|
|
|
11580
11589
|
var h, g = Dd(e.value), v = [], D = -1, b = 0;
|
|
11581
11590
|
function k(A, $) {
|
|
11582
11591
|
var P = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
11583
|
-
return
|
|
11592
|
+
return fi({
|
|
11584
11593
|
children: A,
|
|
11585
11594
|
lineNumber: $,
|
|
11586
11595
|
lineNumberStyle: c,
|
|
@@ -11615,7 +11624,7 @@ function w1(e, t, n, r, i, o, u, c, d) {
|
|
|
11615
11624
|
`)
|
|
11616
11625
|
};
|
|
11617
11626
|
if (Y === 0) {
|
|
11618
|
-
var N = g.slice(D + 1, b).concat(
|
|
11627
|
+
var N = g.slice(D + 1, b).concat(fi({
|
|
11619
11628
|
children: [L],
|
|
11620
11629
|
className: $.properties.className
|
|
11621
11630
|
})), q = C(N, V);
|
|
@@ -11626,7 +11635,7 @@ function w1(e, t, n, r, i, o, u, c, d) {
|
|
|
11626
11635
|
value: "".concat(W)
|
|
11627
11636
|
};
|
|
11628
11637
|
if (X) {
|
|
11629
|
-
var Q =
|
|
11638
|
+
var Q = fi({
|
|
11630
11639
|
children: [de],
|
|
11631
11640
|
className: $.properties.className
|
|
11632
11641
|
});
|
|
@@ -11811,7 +11820,7 @@ function Mo(e, t, n, r) {
|
|
|
11811
11820
|
function xc(e, t, n) {
|
|
11812
11821
|
n && (e[t] = n);
|
|
11813
11822
|
}
|
|
11814
|
-
var _c = Io, P1 = bd, L1 = _d,
|
|
11823
|
+
var _c = Io, P1 = bd, L1 = _d, _a = O1;
|
|
11815
11824
|
function O1(e) {
|
|
11816
11825
|
var t = e.space, n = e.mustUseProperty || [], r = e.attributes || {}, i = e.properties, o = e.transform, u = {}, c = {}, d, h;
|
|
11817
11826
|
for (d in i)
|
|
@@ -11823,7 +11832,7 @@ function O1(e) {
|
|
|
11823
11832
|
), n.indexOf(d) !== -1 && (h.mustUseProperty = !0), u[d] = h, c[_c(d)] = d, c[_c(h.attribute)] = d;
|
|
11824
11833
|
return new P1(u, c, t);
|
|
11825
11834
|
}
|
|
11826
|
-
var I1 =
|
|
11835
|
+
var I1 = _a, M1 = I1({
|
|
11827
11836
|
space: "xlink",
|
|
11828
11837
|
transform: R1,
|
|
11829
11838
|
properties: {
|
|
@@ -11839,7 +11848,7 @@ var I1 = xa, M1 = I1({
|
|
|
11839
11848
|
function R1(e, t) {
|
|
11840
11849
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
11841
11850
|
}
|
|
11842
|
-
var q1 =
|
|
11851
|
+
var q1 = _a, H1 = q1({
|
|
11843
11852
|
space: "xml",
|
|
11844
11853
|
transform: U1,
|
|
11845
11854
|
properties: {
|
|
@@ -11859,7 +11868,7 @@ var V1 = W1, Ed = G1;
|
|
|
11859
11868
|
function G1(e, t) {
|
|
11860
11869
|
return V1(e, t.toLowerCase());
|
|
11861
11870
|
}
|
|
11862
|
-
var Y1 =
|
|
11871
|
+
var Y1 = _a, K1 = Ed, J1 = Y1({
|
|
11863
11872
|
space: "xmlns",
|
|
11864
11873
|
attributes: {
|
|
11865
11874
|
xmlnsxlink: "xmlns:xlink"
|
|
@@ -11869,7 +11878,7 @@ var Y1 = xa, K1 = Ed, J1 = Y1({
|
|
|
11869
11878
|
xmlns: null,
|
|
11870
11879
|
xmlnsXLink: null
|
|
11871
11880
|
}
|
|
11872
|
-
}), Ro = Wt, X1 =
|
|
11881
|
+
}), Ro = Wt, X1 = _a, mt = Ro.booleanish, St = Ro.number, $n = Ro.spaceSeparated, Q1 = X1({
|
|
11873
11882
|
transform: Z1,
|
|
11874
11883
|
properties: {
|
|
11875
11884
|
ariaActiveDescendant: null,
|
|
@@ -11926,7 +11935,7 @@ var Y1 = xa, K1 = Ed, J1 = Y1({
|
|
|
11926
11935
|
function Z1(e, t) {
|
|
11927
11936
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
11928
11937
|
}
|
|
11929
|
-
var Cr = Wt, ek =
|
|
11938
|
+
var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr = Cr.booleanish, $e = Cr.number, ut = Cr.spaceSeparated, ii = Cr.commaSeparated, rk = ek({
|
|
11930
11939
|
space: "html",
|
|
11931
11940
|
attributes: {
|
|
11932
11941
|
acceptcharset: "accept-charset",
|
|
@@ -11939,7 +11948,7 @@ var Cr = Wt, ek = xa, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
|
|
|
11939
11948
|
properties: {
|
|
11940
11949
|
// Standard Properties.
|
|
11941
11950
|
abbr: null,
|
|
11942
|
-
accept:
|
|
11951
|
+
accept: ii,
|
|
11943
11952
|
acceptCharset: ut,
|
|
11944
11953
|
accessKey: ut,
|
|
11945
11954
|
action: null,
|
|
@@ -11965,7 +11974,7 @@ var Cr = Wt, ek = xa, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
|
|
|
11965
11974
|
contentEditable: Jr,
|
|
11966
11975
|
controls: oe,
|
|
11967
11976
|
controlsList: ut,
|
|
11968
|
-
coords: $e |
|
|
11977
|
+
coords: $e | ii,
|
|
11969
11978
|
crossOrigin: null,
|
|
11970
11979
|
data: null,
|
|
11971
11980
|
dateTime: null,
|
|
@@ -11995,7 +12004,7 @@ var Cr = Wt, ek = xa, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
|
|
|
11995
12004
|
httpEquiv: ut,
|
|
11996
12005
|
id: null,
|
|
11997
12006
|
imageSizes: null,
|
|
11998
|
-
imageSrcSet:
|
|
12007
|
+
imageSrcSet: ii,
|
|
11999
12008
|
inputMode: null,
|
|
12000
12009
|
integrity: null,
|
|
12001
12010
|
is: null,
|
|
@@ -12138,7 +12147,7 @@ var Cr = Wt, ek = xa, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
|
|
|
12138
12147
|
src: null,
|
|
12139
12148
|
srcDoc: null,
|
|
12140
12149
|
srcLang: null,
|
|
12141
|
-
srcSet:
|
|
12150
|
+
srcSet: ii,
|
|
12142
12151
|
start: $e,
|
|
12143
12152
|
step: null,
|
|
12144
12153
|
style: null,
|
|
@@ -12541,10 +12550,10 @@ var KC = GC, JC = Td, XC = QC;
|
|
|
12541
12550
|
function QC(e) {
|
|
12542
12551
|
return KC(e) || JC(e);
|
|
12543
12552
|
}
|
|
12544
|
-
var
|
|
12553
|
+
var si, ZC = 59, ex = tx;
|
|
12545
12554
|
function tx(e) {
|
|
12546
12555
|
var t = "&" + e + ";", n;
|
|
12547
|
-
return
|
|
12556
|
+
return si = si || document.createElement("i"), si.innerHTML = t, n = si.textContent, n.charCodeAt(n.length - 1) === ZC && e !== "semi" || n === t ? !1 : n;
|
|
12548
12557
|
}
|
|
12549
12558
|
var Nc = HC, jc = UC, nx = Td, rx = zC, Bd = XC, ax = ex, ix = Dx, sx = {}.hasOwnProperty, ir = String.fromCharCode, ox = Function.prototype, Pc = {
|
|
12550
12559
|
warning: null,
|
|
@@ -13727,17 +13736,17 @@ function qd() {
|
|
|
13727
13736
|
qd.prototype = Rd;
|
|
13728
13737
|
var Re = new qd(), jx = Re;
|
|
13729
13738
|
Re.highlight = Lx;
|
|
13730
|
-
Re.register =
|
|
13739
|
+
Re.register = Sa;
|
|
13731
13740
|
Re.alias = Px;
|
|
13732
13741
|
Re.registered = Ox;
|
|
13733
13742
|
Re.listLanguages = Ix;
|
|
13734
|
-
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13743
|
+
Sa($x);
|
|
13744
|
+
Sa(Tx);
|
|
13745
|
+
Sa(Bx);
|
|
13746
|
+
Sa(Nx);
|
|
13738
13747
|
Re.util.encode = qx;
|
|
13739
13748
|
Re.Token.stringify = Mx;
|
|
13740
|
-
function
|
|
13749
|
+
function Sa(e) {
|
|
13741
13750
|
if (typeof e != "function" || !e.displayName)
|
|
13742
13751
|
throw new Error("Expected `function` for `grammar`, got `" + e + "`");
|
|
13743
13752
|
Re.languages[e.displayName] === void 0 && e(Re);
|
|
@@ -13815,7 +13824,7 @@ function Ux() {
|
|
|
13815
13824
|
e ? Zr.Prism = t : delete Zr.Prism, e = void 0, t = void 0;
|
|
13816
13825
|
}
|
|
13817
13826
|
}
|
|
13818
|
-
const Qo = /* @__PURE__ */
|
|
13827
|
+
const Qo = /* @__PURE__ */ xi(jx);
|
|
13819
13828
|
var ha = _1(Qo, {});
|
|
13820
13829
|
ha.registerLanguage = function(e, t) {
|
|
13821
13830
|
return Qo.register(t);
|
|
@@ -14086,7 +14095,7 @@ function Zo(e) {
|
|
|
14086
14095
|
});
|
|
14087
14096
|
})(e);
|
|
14088
14097
|
}
|
|
14089
|
-
const zx = /* @__PURE__ */
|
|
14098
|
+
const zx = /* @__PURE__ */ xi(Wx), Mc = Ne(
|
|
14090
14099
|
({
|
|
14091
14100
|
ariaDescribedby: e,
|
|
14092
14101
|
ariaLabelledby: t,
|
|
@@ -14111,7 +14120,7 @@ const zx = /* @__PURE__ */ Ci(Wx), Mc = Ne(
|
|
|
14111
14120
|
}, F) => {
|
|
14112
14121
|
const A = [r, "pkt-select"].join(" ");
|
|
14113
14122
|
return /* @__PURE__ */ m.jsx(
|
|
14114
|
-
|
|
14123
|
+
wa,
|
|
14115
14124
|
{
|
|
14116
14125
|
className: A,
|
|
14117
14126
|
forId: g,
|
|
@@ -14290,7 +14299,7 @@ const Vx = Ne(
|
|
|
14290
14299
|
return L(ge);
|
|
14291
14300
|
};
|
|
14292
14301
|
return /* @__PURE__ */ m.jsx(
|
|
14293
|
-
|
|
14302
|
+
wa,
|
|
14294
14303
|
{
|
|
14295
14304
|
ariaDescribedby: t,
|
|
14296
14305
|
className: X,
|
|
@@ -15279,7 +15288,7 @@ const Vx = Ne(
|
|
|
15279
15288
|
"table",
|
|
15280
15289
|
{
|
|
15281
15290
|
"data-testid": "pkt-table",
|
|
15282
|
-
className:
|
|
15291
|
+
className: nt(e, "pkt-table", {
|
|
15283
15292
|
"pkt-table--responsive": r,
|
|
15284
15293
|
"pkt-table--compact": t,
|
|
15285
15294
|
"pkt-table--basic": n === "basic",
|
|
@@ -15288,10 +15297,10 @@ const Vx = Ne(
|
|
|
15288
15297
|
role: "table",
|
|
15289
15298
|
children: i
|
|
15290
15299
|
}
|
|
15291
|
-
), Rs = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("thead", { className:
|
|
15300
|
+
), Rs = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("thead", { className: nt(e, "pkt-table__header", {}), role: "rowgroup", children: t }), qs = ({ children: e, className: t }) => /* @__PURE__ */ m.jsx("tbody", { className: nt(t, "pkt-table__body", {}), role: "rowgroup", children: e }), sr = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("tr", { className: nt(e, "pkt-table__row", {}), role: "row", children: t }), Yt = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("th", { className: nt(e, "pkt-table__header-cell", {}), role: "columnheader", children: t }), Bt = ({ children: e, className: t, dataLabel: n }) => /* @__PURE__ */ m.jsx(
|
|
15292
15301
|
"td",
|
|
15293
15302
|
{
|
|
15294
|
-
className:
|
|
15303
|
+
className: nt(t, "pkt-table__data-cell", {}),
|
|
15295
15304
|
"data-label": n,
|
|
15296
15305
|
role: "cell",
|
|
15297
15306
|
"data-testid": "pkt-table__data-cell",
|
|
@@ -15434,7 +15443,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
|
|
|
15434
15443
|
}, W = (L, N) => {
|
|
15435
15444
|
if (N.type === "boolean")
|
|
15436
15445
|
return /* @__PURE__ */ m.jsx(
|
|
15437
|
-
|
|
15446
|
+
wa,
|
|
15438
15447
|
{
|
|
15439
15448
|
label: N.name || L,
|
|
15440
15449
|
forId: L,
|
|
@@ -15569,17 +15578,17 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
|
|
|
15569
15578
|
] });
|
|
15570
15579
|
};
|
|
15571
15580
|
Kx.displayName = "PktPreview";
|
|
15572
|
-
var
|
|
15581
|
+
var tt = [];
|
|
15573
15582
|
for (var Hs = 0; Hs < 256; ++Hs)
|
|
15574
|
-
|
|
15583
|
+
tt.push((Hs + 256).toString(16).slice(1));
|
|
15575
15584
|
function Jx(e, t = 0) {
|
|
15576
|
-
return (
|
|
15585
|
+
return (tt[e[t + 0]] + tt[e[t + 1]] + tt[e[t + 2]] + tt[e[t + 3]] + "-" + tt[e[t + 4]] + tt[e[t + 5]] + "-" + tt[e[t + 6]] + tt[e[t + 7]] + "-" + tt[e[t + 8]] + tt[e[t + 9]] + "-" + tt[e[t + 10]] + tt[e[t + 11]] + tt[e[t + 12]] + tt[e[t + 13]] + tt[e[t + 14]] + tt[e[t + 15]]).toLowerCase();
|
|
15577
15586
|
}
|
|
15578
|
-
var
|
|
15587
|
+
var oi, Xx = new Uint8Array(16);
|
|
15579
15588
|
function Qx() {
|
|
15580
|
-
if (!
|
|
15589
|
+
if (!oi && (oi = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !oi))
|
|
15581
15590
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
15582
|
-
return
|
|
15591
|
+
return oi(Xx);
|
|
15583
15592
|
}
|
|
15584
15593
|
var Zx = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
15585
15594
|
const qc = {
|
|
@@ -15619,11 +15628,11 @@ const t_ = Ne(
|
|
|
15619
15628
|
E(N.getBoundingClientRect().width);
|
|
15620
15629
|
}
|
|
15621
15630
|
});
|
|
15622
|
-
const A = n - t, $ = e / A * 100, P = n !== 100 || t !== 0 ? Math.round($) : e, I = `${e} av ${n}`, j = u !== "none", W =
|
|
15631
|
+
const A = n - t, $ = e / A * 100, P = n !== 100 || t !== 0 ? Math.round($) : e, I = `${e} av ${n}`, j = u !== "none", W = nt("pkt-progressbar__bar", { [`pkt-progressbar__bar--${r}`]: r }), Y = nt("pkt-progressbar__title", {
|
|
15623
15632
|
"pkt-progressbar__title-center": o === "center"
|
|
15624
|
-
}), V =
|
|
15633
|
+
}), V = nt("pkt-progressbar__status", {
|
|
15625
15634
|
"pkt-progressbar__status--center": c === "center"
|
|
15626
|
-
}), L =
|
|
15635
|
+
}), L = nt({
|
|
15627
15636
|
"pkt-progressbar__status-placement--following": c === "following",
|
|
15628
15637
|
"pkt-progressbar__status-placement--center": c === "center",
|
|
15629
15638
|
"pkt-progressbar__status-placement--left": c === "left"
|
|
@@ -15633,7 +15642,7 @@ const t_ = Ne(
|
|
|
15633
15642
|
{
|
|
15634
15643
|
...k,
|
|
15635
15644
|
ref: x,
|
|
15636
|
-
className:
|
|
15645
|
+
className: nt("pkt-progressbar__container", D),
|
|
15637
15646
|
id: _,
|
|
15638
15647
|
style: {
|
|
15639
15648
|
"--pkt-progress-label-width": `${T}px`,
|
|
@@ -15790,12 +15799,12 @@ const I_ = Ne(
|
|
|
15790
15799
|
orientation: i = "vertical",
|
|
15791
15800
|
...o
|
|
15792
15801
|
}, u) => {
|
|
15793
|
-
const c =
|
|
15802
|
+
const c = nt(
|
|
15794
15803
|
t,
|
|
15795
15804
|
"pkt-stepper",
|
|
15796
15805
|
i === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
|
|
15797
15806
|
), d = xe.Children.map(n, (h, g) => xe.isValidElement(h) ? xe.cloneElement(h, {
|
|
15798
|
-
className:
|
|
15807
|
+
className: nt(h.props.className, {
|
|
15799
15808
|
"pkt-step--hidden": r && g !== e
|
|
15800
15809
|
})
|
|
15801
15810
|
}) : h);
|
|
@@ -15807,10 +15816,10 @@ const I_ = Ne(
|
|
|
15807
15816
|
] }), i_ = /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
|
|
15808
15817
|
/* @__PURE__ */ m.jsx("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
|
|
15809
15818
|
/* @__PURE__ */ m.jsx("path", { d: "m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z", fill: "#F1FDFF" })
|
|
15810
|
-
] }), R_ = ({ children: e, className: t, status: n = "incomplete", title: r }) => /* @__PURE__ */ m.jsxs("li", { className:
|
|
15819
|
+
] }), R_ = ({ children: e, className: t, status: n = "incomplete", title: r }) => /* @__PURE__ */ m.jsxs("li", { className: nt("pkt-step", t, `pkt-step--${n}`), "data-testid": "pkt-step", children: [
|
|
15811
15820
|
/* @__PURE__ */ m.jsx("span", { className: "pkt-step__line pkt-step__line--1", "aria-hidden": !0 }),
|
|
15812
15821
|
/* @__PURE__ */ m.jsx("span", { className: "pkt-step__line pkt-step__line--2", "aria-hidden": !0 }),
|
|
15813
|
-
/* @__PURE__ */ m.jsx("span", { className:
|
|
15822
|
+
/* @__PURE__ */ m.jsx("span", { className: nt("pkt-step__indicator"), children: n === "current" ? a_ : n === "completed" ? i_ : r_ }),
|
|
15814
15823
|
/* @__PURE__ */ m.jsx("span", { className: "pkt-step__line pkt-step__line--3", "aria-hidden": !0 }),
|
|
15815
15824
|
/* @__PURE__ */ m.jsxs("div", { className: "pkt-step__wrapper", children: [
|
|
15816
15825
|
/* @__PURE__ */ m.jsx("div", { className: "pkt-step__title", children: r }),
|
|
@@ -15853,7 +15862,7 @@ const I_ = Ne(
|
|
|
15853
15862
|
var X, de;
|
|
15854
15863
|
typeof j == "function" && j(V.current), r && N(((de = (X = V == null ? void 0 : V.current) == null ? void 0 : X.value) == null ? void 0 : de.length) || 0);
|
|
15855
15864
|
}, [j]), /* @__PURE__ */ m.jsx(
|
|
15856
|
-
|
|
15865
|
+
wa,
|
|
15857
15866
|
{
|
|
15858
15867
|
ariaDescribedby: t,
|
|
15859
15868
|
className: W,
|
|
@@ -15911,7 +15920,7 @@ export {
|
|
|
15911
15920
|
ee as PktIcon,
|
|
15912
15921
|
rg as PktIconContext,
|
|
15913
15922
|
H2 as PktInput,
|
|
15914
|
-
|
|
15923
|
+
wa as PktInputWrapper,
|
|
15915
15924
|
W2 as PktLink,
|
|
15916
15925
|
z2 as PktLinkCard,
|
|
15917
15926
|
V2 as PktLoader,
|