@oslokommune/punkt-react 12.3.2 → 12.3.3

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.
@@ -37,8 +37,8 @@
37
37
  var zm = (e, t, n) => t in e ? Wm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
38
38
  var nr = (e, t, n) => zm(e, typeof t != "symbol" ? t + "" : t, n);
39
39
  import * as Vm from "react";
40
- import xe, { forwardRef as Ne, createContext as Gm, useState as Ve, useContext as Ym, useEffect as sa, Fragment as ho, isValidElement as ea, useRef as ma, cloneElement as Km } from "react";
41
- import { Link as su } from "react-router-dom";
40
+ import xe, { forwardRef as Ne, createContext as Gm, useState as Ve, useContext as Ym, useEffect as oa, Fragment as fo, isValidElement as ta, useRef as ga, cloneElement as Km } from "react";
41
+ import { Link as ou } from "react-router-dom";
42
42
  function Jm(e, t) {
43
43
  for (var n = 0; n < t.length; n++) {
44
44
  const r = t[n];
@@ -59,7 +59,7 @@ var gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
59
59
  function xi(e) {
60
60
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
61
61
  }
62
- var Us = { exports: {} }, Hr = {};
62
+ var Ws = { exports: {} }, Ur = {};
63
63
  /**
64
64
  * @license React
65
65
  * react-jsx-runtime.production.min.js
@@ -69,10 +69,10 @@ var Us = { exports: {} }, Hr = {};
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
71
  */
72
- var ou;
72
+ var lu;
73
73
  function Xm() {
74
- if (ou) return Hr;
75
- ou = 1;
74
+ if (lu) return Ur;
75
+ lu = 1;
76
76
  var e = xe, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
77
77
  function u(c, d, h) {
78
78
  var g, v = {}, D = null, b = null;
@@ -81,9 +81,9 @@ function Xm() {
81
81
  if (c && c.defaultProps) for (g in d = c.defaultProps, d) v[g] === void 0 && (v[g] = d[g]);
82
82
  return { $$typeof: t, type: c, key: D, ref: b, props: v, _owner: i.current };
83
83
  }
84
- return Hr.Fragment = n, Hr.jsx = u, Hr.jsxs = u, Hr;
84
+ return Ur.Fragment = n, Ur.jsx = u, Ur.jsxs = u, Ur;
85
85
  }
86
- var Ur = {};
86
+ var Wr = {};
87
87
  /**
88
88
  * @license React
89
89
  * react-jsx-runtime.development.js
@@ -93,9 +93,9 @@ var Ur = {};
93
93
  * This source code is licensed under the MIT license found in the
94
94
  * LICENSE file in the root directory of this source tree.
95
95
  */
96
- var lu;
96
+ var uu;
97
97
  function Qm() {
98
- return lu || (lu = 1, process.env.NODE_ENV !== "production" && function() {
98
+ return uu || (uu = 1, process.env.NODE_ENV !== "production" && function() {
99
99
  var e = xe, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, x = "@@iterator";
100
100
  function C(w) {
101
101
  if (w === null || typeof w != "object")
@@ -404,7 +404,7 @@ function Qm() {
404
404
  function zt(w) {
405
405
  return Ri(w);
406
406
  }
407
- function xr(w) {
407
+ function _r(w) {
408
408
  {
409
409
  var M = typeof Symbol == "function" && Symbol.toStringTag, H = M && w[Symbol.toStringTag] || w.constructor.name || "Object";
410
410
  return H;
@@ -422,15 +422,15 @@ function Qm() {
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)), Ea(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.", _r(w)), Ea(w);
426
426
  }
427
427
  var Lt = T.ReactCurrentOwner, Fa = {
428
428
  key: !0,
429
429
  ref: !0,
430
430
  __self: !0,
431
431
  __source: !0
432
- }, Aa, $a, _r;
433
- _r = {};
432
+ }, Aa, $a, Sr;
433
+ Sr = {};
434
434
  function kt(w) {
435
435
  if (ke.call(w, "ref")) {
436
436
  var M = Object.getOwnPropertyDescriptor(w, "ref").get;
@@ -450,7 +450,7 @@ function Qm() {
450
450
  function Ui(w, M) {
451
451
  if (typeof w.ref == "string" && Lt.current && M && Lt.current.stateNode !== M) {
452
452
  var H = L(Lt.current.type);
453
- _r[H] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(Lt.current.type), w.ref), _r[H] = !0);
453
+ Sr[H] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(Lt.current.type), w.ref), Sr[H] = !0);
454
454
  }
455
455
  }
456
456
  function Wi(w, M) {
@@ -522,7 +522,7 @@ function Qm() {
522
522
  return xt(w, ae, Xe, ve, Z, Lt.current, pe);
523
523
  }
524
524
  }
525
- var Sr = T.ReactCurrentOwner, Ta = T.ReactDebugCurrentFrame;
525
+ var Er = 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);
@@ -530,15 +530,15 @@ function Qm() {
530
530
  } else
531
531
  Ta.setExtraStackFrame(null);
532
532
  }
533
- var Er;
534
- Er = !1;
535
- function Fr(w) {
533
+ var Fr;
534
+ Fr = !1;
535
+ function Ar(w) {
536
536
  return typeof w == "object" && w !== null && w.$$typeof === t;
537
537
  }
538
- function Ar() {
538
+ function $r() {
539
539
  {
540
- if (Sr.current) {
541
- var w = L(Sr.current.type);
540
+ if (Er.current) {
541
+ var w = L(Er.current.type);
542
542
  if (w)
543
543
  return `
544
544
 
@@ -553,7 +553,7 @@ Check the render method of \`` + w + "`.";
553
553
  var Ba = {};
554
554
  function Yi(w) {
555
555
  {
556
- var M = Ar();
556
+ var M = $r();
557
557
  if (!M) {
558
558
  var H = typeof w == "string" ? w : w.displayName || w.name;
559
559
  H && (M = `
@@ -563,7 +563,7 @@ Check the top-level render call using <` + H + ">.");
563
563
  return M;
564
564
  }
565
565
  }
566
- function wn(w, M) {
566
+ function Cn(w, M) {
567
567
  {
568
568
  if (!w._store || w._store.validated || w.key != null)
569
569
  return;
@@ -573,7 +573,7 @@ Check the top-level render call using <` + H + ">.");
573
573
  return;
574
574
  Ba[H] = !0;
575
575
  var Z = "";
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);
576
+ w && w._owner && w._owner !== Er.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
  }
578
578
  }
579
579
  function Vt(w, M) {
@@ -583,15 +583,15 @@ Check the top-level render call using <` + H + ">.");
583
583
  if (zt(w))
584
584
  for (var H = 0; H < w.length; H++) {
585
585
  var Z = w[H];
586
- Fr(Z) && wn(Z, M);
586
+ Ar(Z) && Cn(Z, M);
587
587
  }
588
- else if (Fr(w))
588
+ else if (Ar(w))
589
589
  w._store && (w._store.validated = !0);
590
590
  else if (w) {
591
591
  var ve = C(w);
592
592
  if (typeof ve == "function" && ve !== w.entries)
593
593
  for (var me = ve.call(w), pe; !(pe = me.next()).done; )
594
- Fr(pe.value) && wn(pe.value, M);
594
+ Ar(pe.value) && Cn(pe.value, M);
595
595
  }
596
596
  }
597
597
  }
@@ -612,8 +612,8 @@ Check the top-level render call using <` + H + ">.");
612
612
  if (H) {
613
613
  var Z = L(M);
614
614
  pn(H, w.props, "prop", Z, w);
615
- } else if (M.PropTypes !== void 0 && !Er) {
616
- Er = !0;
615
+ } else if (M.PropTypes !== void 0 && !Fr) {
616
+ Fr = !0;
617
617
  var ve = L(M);
618
618
  E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ve || "Unknown");
619
619
  }
@@ -640,7 +640,7 @@ Check the top-level render call using <` + H + ">.");
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
642
  var Xe = Gi();
643
- Xe ? ae += Xe : ae += Ar();
643
+ Xe ? ae += Xe : ae += $r();
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
  }
@@ -663,15 +663,15 @@ Check the top-level render call using <` + H + ">.");
663
663
  if (ke.call(M, "key")) {
664
664
  var Qe = L(w), it = Object.keys(M).filter(function(Qi) {
665
665
  return Qi !== "key";
666
- }), $r = it.length > 0 ? "{key: someKey, " + it.join(": ..., ") + ": ...}" : "{key: someKey}";
667
- if (!Na[Qe + $r]) {
666
+ }), Tr = it.length > 0 ? "{key: someKey, " + it.join(": ..., ") + ": ...}" : "{key: someKey}";
667
+ if (!Na[Qe + Tr]) {
668
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, Qe, La, Qe), Na[Qe + $r] = !0;
674
+ <%s key={someKey} {...props} />`, Tr, Qe, La, Qe), Na[Qe + Tr] = !0;
675
675
  }
676
676
  }
677
677
  return w === r ? Ki(Ae) : wt(Ae), Ae;
@@ -684,11 +684,11 @@ React keys must be passed directly to JSX without using spread:
684
684
  return ja(w, M, H, !1);
685
685
  }
686
686
  var Xi = Ji, Kn = Pa;
687
- Ur.Fragment = r, Ur.jsx = Xi, Ur.jsxs = Kn;
688
- }()), Ur;
687
+ Wr.Fragment = r, Wr.jsx = Xi, Wr.jsxs = Kn;
688
+ }()), Wr;
689
689
  }
690
- process.env.NODE_ENV === "production" ? Us.exports = Xm() : Us.exports = Qm();
691
- var m = Us.exports;
690
+ process.env.NODE_ENV === "production" ? Ws.exports = Xm() : Ws.exports = Qm();
691
+ var m = Ws.exports;
692
692
  const u_ = Ne(
693
693
  ({ compact: e = !1, skin: t = "borderless", className: n, children: r }, i) => {
694
694
  const o = [
@@ -714,7 +714,7 @@ const Cs = {}, tg = async (e, t) => {
714
714
  fetchIcon: async (e, t) => tg(e, t || Zm)
715
715
  }, rg = Gm(ng), ee = ({ name: e, path: t, className: n = "", ...r }) => {
716
716
  const [i, o] = Ve(null), u = Ym(rg);
717
- return sa(() => {
717
+ return oa(() => {
718
718
  e ? u.fetchIcon(e, t).then(o) : o(null);
719
719
  }, [e, t]), i ? /* @__PURE__ */ m.jsx("span", { className: `pkt-icon ${n}`, dangerouslySetInnerHTML: { __html: i }, ...r }) : null;
720
720
  };
@@ -855,7 +855,7 @@ const p_ = Ne(
855
855
  {
856
856
  className: "pkt-breadcrumbs__item",
857
857
  children: h === o.length - 1 ? /* @__PURE__ */ m.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ m.jsx("span", { className: "pkt-breadcrumbs__text", children: d.text }) }) : t === "router" ? /* @__PURE__ */ m.jsxs(
858
- su,
858
+ ou,
859
859
  {
860
860
  to: d.href,
861
861
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
@@ -893,7 +893,7 @@ const p_ = Ne(
893
893
  `breadcrumb-${h}`
894
894
  )) }),
895
895
  t === "router" ? /* @__PURE__ */ m.jsxs(
896
- su,
896
+ ou,
897
897
  {
898
898
  to: u.href,
899
899
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
@@ -975,23 +975,23 @@ fr.displayName = "PktButton";
975
975
  * Copyright 2018 Google LLC
976
976
  * SPDX-License-Identifier: BSD-3-Clause
977
977
  */
978
- const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), uu = /* @__PURE__ */ new WeakMap(), cu = (e, t, n, r, i) => {
978
+ const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), cu = /* @__PURE__ */ new WeakMap(), pu = (e, t, n, r, i) => {
979
979
  const o = i == null ? void 0 : i[t];
980
980
  o === void 0 ? (e[t] = n, n == null && t in HTMLElement.prototype && e.removeAttribute(t)) : n !== r && ((u, c, d) => {
981
- let h = uu.get(u);
982
- h === void 0 && uu.set(u, h = /* @__PURE__ */ new Map());
981
+ let h = cu.get(u);
982
+ h === void 0 && cu.set(u, h = /* @__PURE__ */ new Map());
983
983
  let g = h.get(c);
984
984
  d !== void 0 ? g === void 0 ? (h.set(c, g = { handleEvent: d }), u.addEventListener(c, g)) : g.handleEvent = d : g !== void 0 && (h.delete(c), u.removeEventListener(c, g));
985
985
  })(e, o, n);
986
- }, fo = ({ react: e, tagName: t, elementClass: n, events: r, displayName: i }) => {
986
+ }, mo = ({ react: e, tagName: t, elementClass: n, events: r, displayName: i }) => {
987
987
  const o = new Set(Object.keys(r ?? {})), u = e.forwardRef((c, d) => {
988
988
  const h = e.useRef(/* @__PURE__ */ new Map()), g = e.useRef(null), v = {}, D = {};
989
989
  for (const [b, k] of Object.entries(c)) sg.has(b) ? v[b === "className" ? "class" : b] = k : o.has(b) || b in n.prototype ? D[b] = k : v[b] = k;
990
990
  return e.useLayoutEffect(() => {
991
991
  if (g.current === null) return;
992
992
  const b = /* @__PURE__ */ new Map();
993
- for (const k in D) cu(g.current, k, c[k], h.current.get(k), r), h.current.delete(k), b.set(k, c[k]);
994
- for (const [k, x] of h.current) cu(g.current, k, void 0, x, r);
993
+ for (const k in D) pu(g.current, k, c[k], h.current.get(k), r), h.current.delete(k), b.set(k, c[k]);
994
+ for (const [k, x] of h.current) pu(g.current, k, void 0, x, r);
995
995
  h.current = b;
996
996
  }), e.useLayoutEffect(() => {
997
997
  var b;
@@ -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 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();
1010
+ const li = globalThis, go = li.ShadowRoot && (li.ShadyCSS === void 0 || li.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wc = Symbol(), du = /* @__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.");
@@ -1016,9 +1016,9 @@ let og = class {
1016
1016
  get styleSheet() {
1017
1017
  let t = this.o;
1018
1018
  const n = this.t;
1019
- if (mo && t === void 0) {
1019
+ if (go && t === void 0) {
1020
1020
  const r = n !== void 0 && n.length === 1;
1021
- r && (t = pu.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && pu.set(n, t));
1021
+ r && (t = du.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && du.set(n, t));
1022
1022
  }
1023
1023
  return t;
1024
1024
  }
@@ -1027,12 +1027,12 @@ let og = class {
1027
1027
  }
1028
1028
  };
1029
1029
  const lg = (e) => new og(typeof e == "string" ? e : e + "", void 0, Wc), ug = (e, t) => {
1030
- if (mo) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
1030
+ if (go) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
1031
1031
  else for (const n of t) {
1032
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
- }, du = mo ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
1035
+ }, hu = go ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
1036
1036
  let n = "";
1037
1037
  for (const r of t.cssRules) n += r.cssText;
1038
1038
  return lg(n);
@@ -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, mi = { toAttribute(e, t) {
1045
+ const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnPropertyNames: hg, getOwnPropertySymbols: fg, getPrototypeOf: mg } = Object, mr = globalThis, fu = mr.trustedTypes, gg = fu ? fu.emptyScript : "", mu = mr.reactiveElementPolyfillSupport, na = (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: mi, reflect: !1, hasChanged: go };
1073
+ } }, vo = (e, t) => !cg(e, t), gu = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: vo };
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) {
@@ -1079,7 +1079,7 @@ let or = class extends HTMLElement {
1079
1079
  static get observedAttributes() {
1080
1080
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1081
1081
  }
1082
- static createProperty(t, n = mu) {
1082
+ static createProperty(t, n = gu) {
1083
1083
  if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
1084
1084
  const r = Symbol(), i = this.getPropertyDescriptor(t, r, n);
1085
1085
  i !== void 0 && pg(this.prototype, t, i);
@@ -1099,16 +1099,16 @@ let or = class extends HTMLElement {
1099
1099
  }, configurable: !0, enumerable: !0 };
1100
1100
  }
1101
1101
  static getPropertyOptions(t) {
1102
- return this.elementProperties.get(t) ?? mu;
1102
+ return this.elementProperties.get(t) ?? gu;
1103
1103
  }
1104
1104
  static _$Ei() {
1105
- if (this.hasOwnProperty(ta("elementProperties"))) return;
1105
+ if (this.hasOwnProperty(na("elementProperties"))) return;
1106
1106
  const t = mg(this);
1107
1107
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1108
1108
  }
1109
1109
  static finalize() {
1110
- if (this.hasOwnProperty(ta("finalized"))) return;
1111
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ta("properties"))) {
1110
+ if (this.hasOwnProperty(na("finalized"))) return;
1111
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(na("properties"))) {
1112
1112
  const n = this.properties, r = [...hg(n), ...fg(n)];
1113
1113
  for (const i of r) this.createProperty(i, n[i]);
1114
1114
  }
@@ -1128,8 +1128,8 @@ let or = class extends HTMLElement {
1128
1128
  const n = [];
1129
1129
  if (Array.isArray(t)) {
1130
1130
  const r = new Set(t.flat(1 / 0).reverse());
1131
- for (const i of r) n.unshift(du(i));
1132
- } else t !== void 0 && n.push(du(t));
1131
+ for (const i of r) n.unshift(hu(i));
1132
+ } else t !== void 0 && n.push(hu(t));
1133
1133
  return n;
1134
1134
  }
1135
1135
  static _$Eu(t, n) {
@@ -1197,7 +1197,7 @@ let or = class extends HTMLElement {
1197
1197
  }
1198
1198
  requestUpdate(t, n, r) {
1199
1199
  if (t !== void 0) {
1200
- if (r ?? (r = this.constructor.getPropertyOptions(t)), !(r.hasChanged ?? go)(this[t], n)) return;
1200
+ if (r ?? (r = this.constructor.getPropertyOptions(t)), !(r.hasChanged ?? vo)(this[t], n)) return;
1201
1201
  this.P(t, n, r);
1202
1202
  }
1203
1203
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -1270,56 +1270,56 @@ let or = class extends HTMLElement {
1270
1270
  firstUpdated(t) {
1271
1271
  }
1272
1272
  };
1273
- or.elementStyles = [], or.shadowRootOptions = { mode: "open" }, or[ta("elementProperties")] = /* @__PURE__ */ new Map(), or[ta("finalized")] = /* @__PURE__ */ new Map(), fu == null || fu({ ReactiveElement: or }), (mr.reactiveElementVersions ?? (mr.reactiveElementVersions = [])).push("2.0.4");
1273
+ or.elementStyles = [], or.shadowRootOptions = { mode: "open" }, or[na("elementProperties")] = /* @__PURE__ */ new Map(), or[na("finalized")] = /* @__PURE__ */ new Map(), mu == null || mu({ ReactiveElement: or }), (mr.reactiveElementVersions ?? (mr.reactiveElementVersions = [])).push("2.0.4");
1274
1274
  /**
1275
1275
  * @license
1276
1276
  * Copyright 2017 Google LLC
1277
1277
  * SPDX-License-Identifier: BSD-3-Clause
1278
1278
  */
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
- \f\r]`, Wr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, vu = /-->/g, Du = />/g, En = RegExp(`>|${xs}(?:([^\\s"'>=/]+)(${xs}*=${xs}*(?:[^
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);
1279
+ const gi = globalThis, vi = gi.trustedTypes, vu = vi ? vi.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Do = "$lit$", Jt = `lit$${Math.random().toFixed(9).slice(2)}$`, yo = "?" + Jt, vg = `<${yo}>`, In = document, la = () => In.createComment(""), ua = (e) => e === null || typeof e != "object" && typeof e != "function", bo = Array.isArray, zc = (e) => bo(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", xs = `[
1280
+ \f\r]`, zr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Du = /-->/g, yu = />/g, Fn = RegExp(`>|${xs}(?:([^\\s"'>=/]+)(${xs}*=${xs}*(?:[^
1281
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), bu = /'/g, ku = /"/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"), wu = /* @__PURE__ */ new WeakMap(), Ln = In.createTreeWalker(In, 129);
1282
1282
  function Gc(e, t) {
1283
- if (!yo(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
1284
- return gu !== void 0 ? gu.createHTML(t) : t;
1283
+ if (!bo(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
1284
+ return vu !== void 0 ? vu.createHTML(t) : t;
1285
1285
  }
1286
1286
  const Yc = (e, t) => {
1287
1287
  const n = e.length - 1, r = [];
1288
- let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", u = Wr;
1288
+ let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", u = zr;
1289
1289
  for (let c = 0; c < n; c++) {
1290
1290
  const d = e[c];
1291
1291
  let h, g, v = -1, D = 0;
1292
- for (; D < d.length && (u.lastIndex = D, g = u.exec(d), g !== null); ) D = u.lastIndex, u === Wr ? g[1] === "!--" ? u = vu : g[1] !== void 0 ? u = Du : g[2] !== void 0 ? (Vc.test(g[2]) && (i = RegExp("</" + g[2], "g")), u = En) : g[3] !== void 0 && (u = En) : u === En ? g[0] === ">" ? (u = i ?? Wr, v = -1) : g[1] === void 0 ? v = -2 : (v = u.lastIndex - g[2].length, h = g[1], u = g[3] === void 0 ? En : g[3] === '"' ? bu : yu) : u === bu || u === yu ? u = En : u === vu || u === Du ? u = Wr : (u = En, i = void 0);
1293
- const b = u === En && e[c + 1].startsWith("/>") ? " " : "";
1294
- o += u === Wr ? d + vg : v >= 0 ? (r.push(h), d.slice(0, v) + vo + d.slice(v) + Jt + b) : d + Jt + (v === -2 ? c : b);
1292
+ for (; D < d.length && (u.lastIndex = D, g = u.exec(d), g !== null); ) D = u.lastIndex, u === zr ? g[1] === "!--" ? u = Du : g[1] !== void 0 ? u = yu : g[2] !== void 0 ? (Vc.test(g[2]) && (i = RegExp("</" + g[2], "g")), u = Fn) : g[3] !== void 0 && (u = Fn) : u === Fn ? g[0] === ">" ? (u = i ?? zr, v = -1) : g[1] === void 0 ? v = -2 : (v = u.lastIndex - g[2].length, h = g[1], u = g[3] === void 0 ? Fn : g[3] === '"' ? ku : bu) : u === ku || u === bu ? u = Fn : u === Du || u === yu ? u = zr : (u = Fn, i = void 0);
1293
+ const b = u === Fn && e[c + 1].startsWith("/>") ? " " : "";
1294
+ o += u === zr ? d + vg : v >= 0 ? (r.push(h), d.slice(0, v) + Do + d.slice(v) + Jt + b) : d + Jt + (v === -2 ? c : b);
1295
1295
  }
1296
1296
  return [Gc(e, o + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
1297
1297
  };
1298
- let Ws = class Kc {
1298
+ let zs = class Kc {
1299
1299
  constructor({ strings: t, _$litType$: n }, r) {
1300
1300
  let i;
1301
1301
  this.parts = [];
1302
1302
  let o = 0, u = 0;
1303
1303
  const c = t.length - 1, d = this.parts, [h, g] = Yc(t, n);
1304
- if (this.el = Kc.createElement(h, r), Pn.currentNode = this.el.content, n === 2 || n === 3) {
1304
+ if (this.el = Kc.createElement(h, r), Ln.currentNode = this.el.content, n === 2 || n === 3) {
1305
1305
  const v = this.el.content.firstChild;
1306
1306
  v.replaceWith(...v.childNodes);
1307
1307
  }
1308
- for (; (i = Pn.nextNode()) !== null && d.length < c; ) {
1308
+ for (; (i = Ln.nextNode()) !== null && d.length < c; ) {
1309
1309
  if (i.nodeType === 1) {
1310
- if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(vo)) {
1310
+ if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(Do)) {
1311
1311
  const D = g[u++], b = i.getAttribute(v).split(Jt), k = /([.?@])?(.*)/.exec(D);
1312
- d.push({ type: 1, index: o, name: k[2], strings: b, ctor: k[1] === "." ? Qc : k[1] === "?" ? Zc : k[1] === "@" ? ep : ga }), i.removeAttribute(v);
1312
+ d.push({ type: 1, index: o, name: k[2], strings: b, ctor: k[1] === "." ? Qc : k[1] === "?" ? Zc : k[1] === "@" ? ep : va }), i.removeAttribute(v);
1313
1313
  } else v.startsWith(Jt) && (d.push({ type: 6, index: o }), i.removeAttribute(v));
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
1317
  i.textContent = vi ? vi.emptyScript : "";
1318
- for (let b = 0; b < D; b++) i.append(v[b], oa()), Pn.nextNode(), d.push({ type: 2, index: ++o });
1319
- i.append(v[D], oa());
1318
+ for (let b = 0; b < D; b++) i.append(v[b], la()), Ln.nextNode(), d.push({ type: 2, index: ++o });
1319
+ i.append(v[D], la());
1320
1320
  }
1321
1321
  }
1322
- } else if (i.nodeType === 8) if (i.data === Do) d.push({ type: 2, index: o });
1322
+ } else if (i.nodeType === 8) if (i.data === yo) d.push({ type: 2, index: o });
1323
1323
  else {
1324
1324
  let v = -1;
1325
1325
  for (; (v = i.data.indexOf(Jt, v + 1)) !== -1; ) d.push({ type: 7, index: o }), v += Jt.length - 1;
@@ -1328,16 +1328,16 @@ let Ws = class Kc {
1328
1328
  }
1329
1329
  }
1330
1330
  static createElement(t, n) {
1331
- const r = On.createElement("template");
1331
+ const r = In.createElement("template");
1332
1332
  return r.innerHTML = t, r;
1333
1333
  }
1334
1334
  };
1335
- function In(e, t, n = e, r) {
1335
+ function Mn(e, t, n = e, r) {
1336
1336
  var i, o;
1337
1337
  if (t === Qt) return t;
1338
1338
  let u = r !== void 0 ? (i = n.o) == null ? void 0 : i[r] : n.l;
1339
- const c = la(t) ? void 0 : t._$litDirective$;
1340
- return (u == null ? void 0 : u.constructor) !== c && ((o = u == null ? void 0 : u._$AO) == null || o.call(u, !1), c === void 0 ? u = void 0 : (u = new c(e), u._$AT(e, n, r)), r !== void 0 ? (n.o ?? (n.o = []))[r] = u : n.l = u), u !== void 0 && (t = In(e, u._$AS(e, t.values), u, r)), t;
1339
+ const c = ua(t) ? void 0 : t._$litDirective$;
1340
+ return (u == null ? void 0 : u.constructor) !== c && ((o = u == null ? void 0 : u._$AO) == null || o.call(u, !1), c === void 0 ? u = void 0 : (u = new c(e), u._$AT(e, n, r)), r !== void 0 ? (n.o ?? (n.o = []))[r] = u : n.l = u), u !== void 0 && (t = Mn(e, u._$AS(e, t.values), u, r)), t;
1341
1341
  }
1342
1342
  let Jc = class {
1343
1343
  constructor(t, n) {
@@ -1350,17 +1350,17 @@ let Jc = class {
1350
1350
  return this._$AM._$AU;
1351
1351
  }
1352
1352
  u(t) {
1353
- const { el: { content: n }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? On).importNode(n, !0);
1354
- Pn.currentNode = i;
1355
- let o = Pn.nextNode(), u = 0, c = 0, d = r[0];
1353
+ const { el: { content: n }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? In).importNode(n, !0);
1354
+ Ln.currentNode = i;
1355
+ let o = Ln.nextNode(), u = 0, c = 0, d = r[0];
1356
1356
  for (; d !== void 0; ) {
1357
1357
  if (u === d.index) {
1358
1358
  let h;
1359
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
- u !== (d == null ? void 0 : d.index) && (o = Pn.nextNode(), u++);
1361
+ u !== (d == null ? void 0 : d.index) && (o = Ln.nextNode(), u++);
1362
1362
  }
1363
- return Pn.currentNode = On, i;
1363
+ return Ln.currentNode = In, i;
1364
1364
  }
1365
1365
  p(t) {
1366
1366
  let n = 0;
@@ -1386,7 +1386,7 @@ let Jc = class {
1386
1386
  return this._$AB;
1387
1387
  }
1388
1388
  _$AI(t, n = this) {
1389
- t = In(this, t, n), la(t) ? t === te || t == null || t === "" ? (this._$AH !== te && this._$AR(), this._$AH = te) : t !== this._$AH && t !== Qt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : zc(t) ? this.k(t) : this._(t);
1389
+ t = Mn(this, t, n), ua(t) ? t === te || t == null || t === "" ? (this._$AH !== te && this._$AR(), this._$AH = te) : t !== this._$AH && t !== Qt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : zc(t) ? this.k(t) : this._(t);
1390
1390
  }
1391
1391
  O(t) {
1392
1392
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1395,11 +1395,11 @@ let Jc = class {
1395
1395
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1396
1396
  }
1397
1397
  _(t) {
1398
- this._$AH !== te && la(this._$AH) ? this._$AA.nextSibling.data = t : this.T(On.createTextNode(t)), this._$AH = t;
1398
+ this._$AH !== te && ua(this._$AH) ? this._$AA.nextSibling.data = t : this.T(In.createTextNode(t)), this._$AH = t;
1399
1399
  }
1400
1400
  $(t) {
1401
1401
  var n;
1402
- const { values: r, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Ws.createElement(Gc(i.h, i.h[0]), this.options)), i);
1402
+ const { values: r, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = zs.createElement(Gc(i.h, i.h[0]), this.options)), i);
1403
1403
  if (((n = this._$AH) == null ? void 0 : n._$AD) === o) this._$AH.p(r);
1404
1404
  else {
1405
1405
  const u = new Jc(o, this), c = u.u(this.options);
@@ -1407,14 +1407,14 @@ let Jc = class {
1407
1407
  }
1408
1408
  }
1409
1409
  _$AC(t) {
1410
- let n = ku.get(t.strings);
1411
- return n === void 0 && ku.set(t.strings, n = new Ws(t)), n;
1410
+ let n = wu.get(t.strings);
1411
+ return n === void 0 && wu.set(t.strings, n = new zs(t)), n;
1412
1412
  }
1413
1413
  k(t) {
1414
- yo(this._$AH) || (this._$AH = [], this._$AR());
1414
+ bo(this._$AH) || (this._$AH = [], this._$AR());
1415
1415
  const n = this._$AH;
1416
1416
  let r, i = 0;
1417
- for (const o of t) i === n.length ? n.push(r = new Xc(this.O(oa()), this.O(oa()), this, this.options)) : r = n[i], r._$AI(o), i++;
1417
+ for (const o of t) i === n.length ? n.push(r = new Xc(this.O(la()), this.O(la()), this, this.options)) : r = n[i], r._$AI(o), i++;
1418
1418
  i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
1419
1419
  }
1420
1420
  _$AR(t = this._$AA.nextSibling, n) {
@@ -1428,7 +1428,7 @@ let Jc = class {
1428
1428
  var n;
1429
1429
  this._$AM === void 0 && (this.v = t, (n = this._$AP) == null || n.call(this, t));
1430
1430
  }
1431
- }, ga = class {
1431
+ }, va = class {
1432
1432
  get tagName() {
1433
1433
  return this.element.tagName;
1434
1434
  }
@@ -1441,37 +1441,37 @@ let Jc = class {
1441
1441
  _$AI(t, n = this, r, i) {
1442
1442
  const o = this.strings;
1443
1443
  let u = !1;
1444
- if (o === void 0) t = In(this, t, n, 0), u = !la(t) || t !== this._$AH && t !== Qt, u && (this._$AH = t);
1444
+ if (o === void 0) t = Mn(this, t, n, 0), u = !ua(t) || t !== this._$AH && t !== Qt, u && (this._$AH = t);
1445
1445
  else {
1446
1446
  const c = t;
1447
1447
  let d, h;
1448
- for (t = o[0], d = 0; d < o.length - 1; d++) h = In(this, c[r + d], n, d), h === Qt && (h = this._$AH[d]), u || (u = !la(h) || h !== this._$AH[d]), h === te ? t = te : t !== te && (t += (h ?? "") + o[d + 1]), this._$AH[d] = h;
1448
+ for (t = o[0], d = 0; d < o.length - 1; d++) h = Mn(this, c[r + d], n, d), h === Qt && (h = this._$AH[d]), u || (u = !ua(h) || h !== this._$AH[d]), h === te ? t = te : t !== te && (t += (h ?? "") + o[d + 1]), this._$AH[d] = h;
1449
1449
  }
1450
1450
  u && !i && this.j(t);
1451
1451
  }
1452
1452
  j(t) {
1453
1453
  t === te ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1454
1454
  }
1455
- }, Qc = class extends ga {
1455
+ }, Qc = class extends va {
1456
1456
  constructor() {
1457
1457
  super(...arguments), this.type = 3;
1458
1458
  }
1459
1459
  j(t) {
1460
1460
  this.element[this.name] = t === te ? void 0 : t;
1461
1461
  }
1462
- }, Zc = class extends ga {
1462
+ }, Zc = class extends va {
1463
1463
  constructor() {
1464
1464
  super(...arguments), this.type = 4;
1465
1465
  }
1466
1466
  j(t) {
1467
1467
  this.element.toggleAttribute(this.name, !!t && t !== te);
1468
1468
  }
1469
- }, ep = class extends ga {
1469
+ }, ep = class extends va {
1470
1470
  constructor(t, n, r, i, o) {
1471
1471
  super(t, n, r, i, o), this.type = 5;
1472
1472
  }
1473
1473
  _$AI(t, n = this) {
1474
- if ((t = In(this, t, n, 0) ?? te) === Qt) return;
1474
+ if ((t = Mn(this, t, n, 0) ?? te) === Qt) return;
1475
1475
  const r = this._$AH, i = t === te && r !== te || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, o = t !== te && (r === te || i);
1476
1476
  i && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
1477
1477
  }
@@ -1487,17 +1487,17 @@ let Jc = class {
1487
1487
  return this._$AM._$AU;
1488
1488
  }
1489
1489
  _$AI(t) {
1490
- In(this, t);
1490
+ Mn(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: _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");
1493
+ const yg = { M: Do, P: Jt, A: yo, C: 1, L: Yc, R: Jc, D: zc, V: Mn, I: _i, H: va, N: Zc, U: ep, B: Qc, F: tp }, Cu = gi.litHtmlPolyfillSupport;
1494
+ Cu == null || Cu(zs, _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 _i(t.insertBefore(oa(), o), o, void 0, n ?? {});
1500
+ r._$litPart$ = i = new _i(t.insertBefore(la(), o), o, void 0, n ?? {});
1501
1501
  }
1502
1502
  return i._$AI(e), i;
1503
1503
  };
@@ -1506,7 +1506,7 @@ const bg = (e, t, n) => {
1506
1506
  * Copyright 2017 Google LLC
1507
1507
  * SPDX-License-Identifier: BSD-3-Clause
1508
1508
  */
1509
- let na = class extends or {
1509
+ let ra = class extends or {
1510
1510
  constructor() {
1511
1511
  super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
1512
1512
  }
@@ -1531,17 +1531,17 @@ let na = class extends or {
1531
1531
  return Qt;
1532
1532
  }
1533
1533
  };
1534
- var Cu;
1535
- na._$litElement$ = !0, na.finalized = !0, (Cu = globalThis.litElementHydrateSupport) == null || Cu.call(globalThis, { LitElement: na });
1536
- const xu = globalThis.litElementPolyfillSupport;
1537
- xu == null || xu({ LitElement: na });
1534
+ var xu;
1535
+ ra._$litElement$ = !0, ra.finalized = !0, (xu = globalThis.litElementHydrateSupport) == null || xu.call(globalThis, { LitElement: ra });
1536
+ const _u = globalThis.litElementPolyfillSupport;
1537
+ _u == null || _u({ LitElement: ra });
1538
1538
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
1539
1539
  /**
1540
1540
  * @license
1541
1541
  * Copyright 2017 Google LLC
1542
1542
  * SPDX-License-Identifier: BSD-3-Clause
1543
1543
  */
1544
- const kg = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: go }, wg = (e = kg, t, n) => {
1544
+ const kg = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: vo }, 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") {
@@ -1573,7 +1573,7 @@ function O(e) {
1573
1573
  * Copyright 2017 Google LLC
1574
1574
  * SPDX-License-Identifier: BSD-3-Clause
1575
1575
  */
1576
- function va(e) {
1576
+ function Da(e) {
1577
1577
  return O({ ...e, state: !0, attribute: !1 });
1578
1578
  }
1579
1579
  var et = [];
@@ -1589,12 +1589,12 @@ function _g() {
1589
1589
  return ni(xg);
1590
1590
  }
1591
1591
  var Sg = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1592
- const _u = {
1592
+ const Su = {
1593
1593
  randomUUID: Sg
1594
1594
  };
1595
1595
  function np(e, t, n) {
1596
- if (_u.randomUUID && !t && !e)
1597
- return _u.randomUUID();
1596
+ if (Su.randomUUID && !t && !e)
1597
+ return Su.randomUUID();
1598
1598
  e = e || {};
1599
1599
  var r = e.random || (e.rng || _g)();
1600
1600
  return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Cg(r);
@@ -1683,7 +1683,7 @@ var Tg = Object.defineProperty, Ye = (e, t, n, r) => {
1683
1683
  (u = e[o]) && (i = u(t, n, i) || i);
1684
1684
  return i && Tg(t, n, i), i;
1685
1685
  };
1686
- let qt = class extends na {
1686
+ let qt = class extends ra {
1687
1687
  /**
1688
1688
  * Add extra stuff here whenever we decide what should be added here…
1689
1689
  */
@@ -1805,7 +1805,7 @@ Ye([
1805
1805
  O({ type: String, reflect: !0 })
1806
1806
  ], Ke.prototype, "errorMessage");
1807
1807
  Ye([
1808
- va()
1808
+ Da()
1809
1809
  ], Ke.prototype, "touched");
1810
1810
  const rp = (e) => {
1811
1811
  if (Array.isArray(e)) return e;
@@ -1835,7 +1835,7 @@ const tn = (e) => (t, n) => {
1835
1835
  * Copyright 2017 Google LLC
1836
1836
  * SPDX-License-Identifier: BSD-3-Clause
1837
1837
  */
1838
- const Si = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Da = (e) => (...t) => ({ _$litDirective$: e, values: t });
1838
+ const Si = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ya = (e) => (...t) => ({ _$litDirective$: e, values: t });
1839
1839
  let Ei = class {
1840
1840
  constructor(t) {
1841
1841
  }
@@ -1857,7 +1857,7 @@ let Ei = class {
1857
1857
  * Copyright 2018 Google LLC
1858
1858
  * SPDX-License-Identifier: BSD-3-Clause
1859
1859
  */
1860
- const Ge = Da(class extends Ei {
1860
+ const Ge = ya(class extends Ei {
1861
1861
  constructor(e) {
1862
1862
  var t;
1863
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.");
@@ -1901,17 +1901,17 @@ let Di = class extends Ei {
1901
1901
  }
1902
1902
  };
1903
1903
  Di.directiveName = "unsafeHTML", Di.resultType = 1;
1904
- const ri = Da(Di);
1904
+ const ri = ya(Di);
1905
1905
  /**
1906
1906
  * @license
1907
1907
  * Copyright 2017 Google LLC
1908
1908
  * SPDX-License-Identifier: BSD-3-Clause
1909
1909
  */
1910
- let zs = class extends Di {
1910
+ let Vs = class extends Di {
1911
1911
  };
1912
- zs.directiveName = "unsafeSVG", zs.resultType = 2;
1913
- const Su = Da(zs);
1914
- var jg = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, ya = (e, t, n, r) => {
1912
+ Vs.directiveName = "unsafeSVG", Vs.resultType = 2;
1913
+ const Eu = ya(Vs);
1914
+ var jg = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, ba = (e, t, n, r) => {
1915
1915
  for (var i = r > 1 ? void 0 : r ? Pg(t, n) : t, o = e.length - 1, u; o >= 0; o--)
1916
1916
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
1917
1917
  return r && i && jg(t, n, i), i;
@@ -1928,13 +1928,13 @@ const Lg = (e) => new Promise((t) => setTimeout(t, e)), ui = '<svg xmlns="http:/
1928
1928
  };
1929
1929
  let gr = class extends qt {
1930
1930
  constructor() {
1931
- super(), this.path = window.pktIconPath, this.name = "", this.icon = Su(ui), this._updatedProps = [], this.classList.add("pkt-icon");
1931
+ super(), this.path = window.pktIconPath, this.name = "", this.icon = Eu(ui), this._updatedProps = [], this.classList.add("pkt-icon");
1932
1932
  }
1933
1933
  willUpdate(t) {
1934
1934
  super.willUpdate(t), t.has("class") && this.classList.add("my-element");
1935
1935
  }
1936
1936
  async attributeChangedCallback(t, n, r) {
1937
- super.attributeChangedCallback(t, n, r), this._updatedProps.length > 0 ? (this.icon = Su(
1937
+ super.attributeChangedCallback(t, n, r), this._updatedProps.length > 0 ? (this.icon = Eu(
1938
1938
  await Og(this.name || "", this.path).then((i) => i)
1939
1939
  ), this._updatedProps = []) : this._updatedProps.includes(t) || this._updatedProps.push(t);
1940
1940
  }
@@ -1942,26 +1942,26 @@ let gr = class extends qt {
1942
1942
  return J`${this.name && this.icon}`;
1943
1943
  }
1944
1944
  };
1945
- ya([
1945
+ ba([
1946
1946
  O({ type: String, reflect: !1 })
1947
1947
  ], gr.prototype, "path", 2);
1948
- ya([
1948
+ ba([
1949
1949
  O({ type: String, reflect: !0 })
1950
1950
  ], gr.prototype, "name", 2);
1951
- ya([
1951
+ ba([
1952
1952
  O({ type: SVGElement })
1953
1953
  ], gr.prototype, "icon", 2);
1954
- ya([
1954
+ ba([
1955
1955
  O({ type: Array, noAccessor: !0 })
1956
1956
  ], gr.prototype, "_updatedProps", 2);
1957
- gr = ya([
1957
+ gr = ba([
1958
1958
  tn("pkt-icon")
1959
1959
  ], gr);
1960
1960
  function pt(e) {
1961
1961
  const t = Object.prototype.toString.call(e);
1962
1962
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
1963
1963
  }
1964
- function Mn(e, t) {
1964
+ function Rn(e, t) {
1965
1965
  return e instanceof Date ? new e.constructor(t) : new Date(t);
1966
1966
  }
1967
1967
  const ap = 6048e5, Ig = 864e5;
@@ -1969,7 +1969,7 @@ let Mg = {};
1969
1969
  function Fi() {
1970
1970
  return Mg;
1971
1971
  }
1972
- function ua(e, t) {
1972
+ function ca(e, t) {
1973
1973
  var n, r, i, o;
1974
1974
  const u = Fi(), c = (t == null ? void 0 : t.weekStartsOn) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? u.weekStartsOn ?? ((o = (i = u.locale) == null ? void 0 : i.options) == null ? void 0 : o.weekStartsOn) ?? 0, d = pt(e), h = d.getDay(), g = (h < c ? 7 : 0) + h - c;
1975
1975
  return d.setDate(d.getDate() - g), d.setHours(0, 0, 0, 0), d;
@@ -1987,20 +1987,20 @@ function Es(e, t) {
1987
1987
  }
1988
1988
  function ip(e, t) {
1989
1989
  var n, r, i, o;
1990
- const u = pt(e), c = u.getFullYear(), d = Fi(), h = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((o = (i = d.locale) == null ? void 0 : i.options) == null ? void 0 : o.firstWeekContainsDate) ?? 1, g = Mn(e, 0);
1990
+ const u = pt(e), c = u.getFullYear(), d = Fi(), h = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((o = (i = d.locale) == null ? void 0 : i.options) == null ? void 0 : o.firstWeekContainsDate) ?? 1, g = Rn(e, 0);
1991
1991
  g.setFullYear(c + 1, 0, h), g.setHours(0, 0, 0, 0);
1992
- const v = ua(g, t), D = Mn(e, 0);
1992
+ const v = ca(g, t), D = Rn(e, 0);
1993
1993
  D.setFullYear(c, 0, h), D.setHours(0, 0, 0, 0);
1994
- const b = ua(D, t);
1994
+ const b = ca(D, t);
1995
1995
  return u.getTime() >= v.getTime() ? c + 1 : u.getTime() >= b.getTime() ? c : c - 1;
1996
1996
  }
1997
1997
  function Rg(e, t) {
1998
1998
  var n, r, i, o;
1999
- const u = Fi(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? u.firstWeekContainsDate ?? ((o = (i = u.locale) == null ? void 0 : i.options) == null ? void 0 : o.firstWeekContainsDate) ?? 1, d = ip(e, t), h = Mn(e, 0);
2000
- return h.setFullYear(d, 0, c), h.setHours(0, 0, 0, 0), ua(h, t);
1999
+ const u = Fi(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? u.firstWeekContainsDate ?? ((o = (i = u.locale) == null ? void 0 : i.options) == null ? void 0 : o.firstWeekContainsDate) ?? 1, d = ip(e, t), h = Rn(e, 0);
2000
+ return h.setFullYear(d, 0, c), h.setHours(0, 0, 0, 0), ca(h, t);
2001
2001
  }
2002
- function Vs(e, t) {
2003
- const n = pt(e), r = +ua(n, t) - +Rg(n, t);
2002
+ function Gs(e, t) {
2003
+ const n = pt(e), r = +ca(n, t) - +Rg(n, t);
2004
2004
  return Math.round(r / ap) + 1;
2005
2005
  }
2006
2006
  function qg(e) {
@@ -2088,7 +2088,7 @@ const Hg = "pkt-calendar", Ug = {
2088
2088
  "date-selected": {
2089
2089
  description: "Returns ISO formatted date string"
2090
2090
  }
2091
- }, Fn = {
2091
+ }, An = {
2092
2092
  name: Hg,
2093
2093
  "css-class": "pkt-calendar",
2094
2094
  props: Ug,
@@ -2104,14 +2104,14 @@ let _e = class extends qt {
2104
2104
  * If we are initializing props, slots and events from specs, we should do it in the constructor
2105
2105
  */
2106
2106
  constructor() {
2107
- super(), this.multiple = Fn.props.multiple.default, this.maxMultiple = Fn.props.maxMultiple.default, this.range = Fn.props.range.default, this.weeknumbers = Fn.props.weeknumbers.default, this.withcontrols = Fn.props.withcontrols.default, this.focused = !1, this.selected = [], this.earliest = Fn.props.earliest.default, this.latest = Fn.props.latest.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = /* @__PURE__ */ new Date(), this.dayStrings = this.strings.dates.daysShort, this.monthStrings = this.strings.dates.months, this.weekString = this.strings.dates.week, this.prevMonthString = this.strings.dates.prevMonth, this.nextMonthString = this.strings.dates.nextMonth, this._selected = [], this.year = 0, this.month = 0, this.week = 0, this.rangeHovered = null, this.inRange = {}, this.focusedDate = null, this.selectableDates = [];
2107
+ super(), this.multiple = An.props.multiple.default, this.maxMultiple = An.props.maxMultiple.default, this.range = An.props.range.default, this.weeknumbers = An.props.weeknumbers.default, this.withcontrols = An.props.withcontrols.default, this.focused = !1, this.selected = [], this.earliest = An.props.earliest.default, this.latest = An.props.latest.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = /* @__PURE__ */ new Date(), this.dayStrings = this.strings.dates.daysShort, this.monthStrings = this.strings.dates.months, this.weekString = this.strings.dates.week, this.prevMonthString = this.strings.dates.prevMonth, this.nextMonthString = this.strings.dates.nextMonth, this._selected = [], this.year = 0, this.month = 0, this.week = 0, this.rangeHovered = null, this.inRange = {}, this.focusedDate = null, this.selectableDates = [];
2108
2108
  }
2109
2109
  /**
2110
2110
  * Runs on mount, used to set up various values and whatever you need to run
2111
2111
  */
2112
2112
  connectedCallback() {
2113
2113
  const t = this.currentmonth;
2114
- this.year = t.getFullYear(), this.month = t.getMonth(), this.week = Vs(new Date(this.year, this.month, 1, 12)), this.selected && this.selected.length && this.selected.forEach((n) => {
2114
+ this.year = t.getFullYear(), this.month = t.getMonth(), this.week = Gs(new Date(this.year, this.month, 1, 12)), this.selected && this.selected.length && this.selected.forEach((n) => {
2115
2115
  this._selected.push(new Date(n));
2116
2116
  }), super.connectedCallback();
2117
2117
  }
@@ -2298,7 +2298,7 @@ let _e = class extends qt {
2298
2298
  renderCalendarBody() {
2299
2299
  const t = /* @__PURE__ */ new Date(), n = new Date(this.year, this.month, 1, 12), r = new Date(this.year, this.month + 1, 0, 12), i = (n.getDay() + 6) % 7, o = r.getDate(), u = Math.ceil((o + i) / 7), c = new Date(this.year, this.month, 0, 12).getDate();
2300
2300
  let d = 1;
2301
- this.week = Vs(new Date(this.year, this.month, 1, 12));
2301
+ this.week = Gs(new Date(this.year, this.month, 1, 12));
2302
2302
  const h = [];
2303
2303
  for (let g = 0; g < u; g++) {
2304
2304
  const v = [];
@@ -2506,13 +2506,13 @@ Fe([
2506
2506
  O({ type: Date })
2507
2507
  ], _e.prototype, "rangeHovered", 2);
2508
2508
  Fe([
2509
- va()
2509
+ Da()
2510
2510
  ], _e.prototype, "inRange", 2);
2511
2511
  Fe([
2512
- va()
2512
+ Da()
2513
2513
  ], _e.prototype, "focusedDate", 2);
2514
2514
  Fe([
2515
- va()
2515
+ Da()
2516
2516
  ], _e.prototype, "selectableDates", 2);
2517
2517
  _e = Fe([
2518
2518
  tn("pkt-calendar")
@@ -2552,11 +2552,11 @@ let kr = class {
2552
2552
  * Copyright 2020 Google LLC
2553
2553
  * SPDX-License-Identifier: BSD-3-Clause
2554
2554
  */
2555
- const { I: Gg } = yg, Yg = (e) => e.strings === void 0, Eu = () => document.createComment(""), zr = (e, t, n) => {
2555
+ const { I: Gg } = yg, Yg = (e) => e.strings === void 0, Fu = () => document.createComment(""), Vr = (e, t, n) => {
2556
2556
  var r;
2557
2557
  const i = e._$AA.parentNode, o = t === void 0 ? e._$AB : t._$AA;
2558
2558
  if (n === void 0) {
2559
- const u = i.insertBefore(Eu(), o), c = i.insertBefore(Eu(), o);
2559
+ const u = i.insertBefore(Fu(), o), c = i.insertBefore(Fu(), o);
2560
2560
  n = new Gg(u, c, e, e.options);
2561
2561
  } else {
2562
2562
  const u = n._$AB.nextSibling, c = n._$AM, d = c !== e;
@@ -2573,7 +2573,7 @@ const { I: Gg } = yg, Yg = (e) => e.strings === void 0, Eu = () => document.crea
2573
2573
  }
2574
2574
  }
2575
2575
  return n;
2576
- }, An = (e, t, n = e) => (e._$AI(t, n), e), Kg = {}, Jg = (e, t = Kg) => e._$AH = t, Xg = (e) => e._$AH, Fs = (e) => {
2576
+ }, $n = (e, t, n = e) => (e._$AI(t, n), e), Kg = {}, Jg = (e, t = Kg) => e._$AH = t, Xg = (e) => e._$AH, Fs = (e) => {
2577
2577
  var t;
2578
2578
  (t = e._$AP) == null || t.call(e, !1, !0);
2579
2579
  let n = e._$AA;
@@ -2588,11 +2588,11 @@ const { I: Gg } = yg, Yg = (e) => e.strings === void 0, Eu = () => document.crea
2588
2588
  * Copyright 2017 Google LLC
2589
2589
  * SPDX-License-Identifier: BSD-3-Clause
2590
2590
  */
2591
- const ra = (e, t) => {
2591
+ const aa = (e, t) => {
2592
2592
  var n;
2593
2593
  const r = e._$AN;
2594
2594
  if (r === void 0) return !1;
2595
- for (const i of r) (n = i._$AO) == null || n.call(i, t, !1), ra(i, t);
2595
+ for (const i of r) (n = i._$AO) == null || n.call(i, t, !1), aa(i, t);
2596
2596
  return !0;
2597
2597
  }, yi = (e) => {
2598
2598
  let t, n;
@@ -2613,9 +2613,9 @@ function Qg(e) {
2613
2613
  }
2614
2614
  function Zg(e, t = !1, n = 0) {
2615
2615
  const r = this._$AH, i = this._$AN;
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));
2618
- else ra(this, e);
2616
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let o = n; o < r.length; o++) aa(r[o], !1), yi(r[o]);
2617
+ else r != null && (aa(r, !1), yi(r));
2618
+ else aa(this, e);
2619
2619
  }
2620
2620
  const ev = (e) => {
2621
2621
  e.type == Si.CHILD && (e._$AP ?? (e._$AP = Zg), e._$AQ ?? (e._$AQ = Qg));
@@ -2629,7 +2629,7 @@ let tv = class extends Ei {
2629
2629
  }
2630
2630
  _$AO(t, n = !0) {
2631
2631
  var r, i;
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));
2632
+ t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), n && (aa(this, t), yi(this));
2633
2633
  }
2634
2634
  setValue(t) {
2635
2635
  if (Yg(this.t)) this.t._$AI(t, this);
@@ -2651,7 +2651,7 @@ let tv = class extends Ei {
2651
2651
  const Et = () => new nv();
2652
2652
  let nv = class {
2653
2653
  };
2654
- const As = /* @__PURE__ */ new WeakMap(), ct = Da(class extends tv {
2654
+ const As = /* @__PURE__ */ new WeakMap(), ct = ya(class extends tv {
2655
2655
  render(e) {
2656
2656
  return te;
2657
2657
  }
@@ -2814,7 +2814,7 @@ nn([
2814
2814
  O({ type: String, reflect: !0 })
2815
2815
  ], Rt.prototype, "ariaLabel", 2);
2816
2816
  nn([
2817
- va()
2817
+ Da()
2818
2818
  ], Rt.prototype, "_isClosed", 2);
2819
2819
  Rt = nn([
2820
2820
  tn("pkt-tag")
@@ -2911,7 +2911,7 @@ const lv = "pkt-card", uv = !0, cv = {
2911
2911
  default: {
2912
2912
  description: "Innholdet i kortet"
2913
2913
  }
2914
- }, Fu = {
2914
+ }, Au = {
2915
2915
  name: lv,
2916
2916
  "css-class": "pkt-card",
2917
2917
  isElement: uv,
@@ -2925,7 +2925,7 @@ var dv = Object.defineProperty, hv = Object.getOwnPropertyDescriptor, Hn = (e, t
2925
2925
  };
2926
2926
  let Zt = class extends qt {
2927
2927
  constructor() {
2928
- super(), this.defaultSlot = Et(), this.skin = Fu.props.skin.default, this.direction = Fu.props.direction.default, this.image = {
2928
+ super(), this.defaultSlot = Et(), this.skin = Au.props.skin.default, this.direction = Au.props.direction.default, this.image = {
2929
2929
  src: "",
2930
2930
  alt: ""
2931
2931
  }, this.heading = "", this.subheading = "", this.tags = [], this.slotController = new kr(this, this.defaultSlot);
@@ -2987,7 +2987,7 @@ Hn([
2987
2987
  Zt = Hn([
2988
2988
  tn("pkt-card")
2989
2989
  ], Zt);
2990
- var fv = Object.defineProperty, mv = Object.getOwnPropertyDescriptor, ba = (e, t, n, r) => {
2990
+ var fv = Object.defineProperty, mv = Object.getOwnPropertyDescriptor, ka = (e, t, n, r) => {
2991
2991
  for (var i = r > 1 ? void 0 : r ? mv(t, n) : t, o = e.length - 1, u; o >= 0; o--)
2992
2992
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
2993
2993
  return r && i && fv(t, n, i), i;
@@ -3063,19 +3063,19 @@ let vr = class extends qt {
3063
3063
  );
3064
3064
  }
3065
3065
  };
3066
- ba([
3066
+ ka([
3067
3067
  O({ type: String })
3068
3068
  ], vr.prototype, "string", 2);
3069
- ba([
3069
+ ka([
3070
3070
  O({ converter: rp })
3071
3071
  ], vr.prototype, "strings", 2);
3072
- ba([
3072
+ ka([
3073
3073
  O({ type: Boolean })
3074
3074
  ], vr.prototype, "darkmode", 2);
3075
- ba([
3075
+ ka([
3076
3076
  O({ type: Array })
3077
3077
  ], vr.prototype, "_list", 2);
3078
- vr = ba([
3078
+ vr = ka([
3079
3079
  tn("pkt-component")
3080
3080
  ], vr);
3081
3081
  /**
@@ -3364,21 +3364,21 @@ Pe = Oe([
3364
3364
  tn("pkt-input-wrapper")
3365
3365
  ], Pe);
3366
3366
  function bi(e) {
3367
- return ua(e, { weekStartsOn: 1 });
3367
+ return ca(e, { weekStartsOn: 1 });
3368
3368
  }
3369
3369
  function op(e) {
3370
- const t = pt(e), n = t.getFullYear(), r = Mn(e, 0);
3370
+ const t = pt(e), n = t.getFullYear(), r = Rn(e, 0);
3371
3371
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
3372
- const i = bi(r), o = Mn(e, 0);
3372
+ const i = bi(r), o = Rn(e, 0);
3373
3373
  o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
3374
3374
  const u = bi(o);
3375
3375
  return t.getTime() >= i.getTime() ? n + 1 : t.getTime() >= u.getTime() ? n : n - 1;
3376
3376
  }
3377
- function Au(e) {
3377
+ function $u(e) {
3378
3378
  const t = pt(e);
3379
3379
  return t.setHours(0, 0, 0, 0), t;
3380
3380
  }
3381
- function $u(e) {
3381
+ function Tu(e) {
3382
3382
  const t = pt(e), n = new Date(
3383
3383
  Date.UTC(
3384
3384
  t.getFullYear(),
@@ -3393,11 +3393,11 @@ function $u(e) {
3393
3393
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
3394
3394
  }
3395
3395
  function wv(e, t) {
3396
- const n = Au(e), r = Au(t), i = +n - $u(n), o = +r - $u(r);
3396
+ const n = $u(e), r = $u(t), i = +n - Tu(n), o = +r - Tu(r);
3397
3397
  return Math.round((i - o) / Ig);
3398
3398
  }
3399
3399
  function Cv(e) {
3400
- const t = op(e), n = Mn(e, 0);
3400
+ const t = op(e), n = Rn(e, 0);
3401
3401
  return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), bi(n);
3402
3402
  }
3403
3403
  function xv(e) {
@@ -3410,7 +3410,7 @@ function _v(e) {
3410
3410
  return !isNaN(Number(t));
3411
3411
  }
3412
3412
  function Sv(e) {
3413
- const t = pt(e), n = Mn(e, 0);
3413
+ const t = pt(e), n = Rn(e, 0);
3414
3414
  return n.setFullYear(t.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
3415
3415
  }
3416
3416
  const Ev = {
@@ -3522,7 +3522,7 @@ const Av = {
3522
3522
  nextWeek: "eeee 'at' p",
3523
3523
  other: "P"
3524
3524
  }, jv = (e, t, n, r) => Nv[e];
3525
- function Vr(e) {
3525
+ function Gr(e) {
3526
3526
  return (t, n) => {
3527
3527
  const r = n != null && n.context ? String(n.context) : "standalone";
3528
3528
  let i;
@@ -3664,31 +3664,31 @@ const Pv = {
3664
3664
  return n + "th";
3665
3665
  }, Hv = {
3666
3666
  ordinalNumber: qv,
3667
- era: Vr({
3667
+ era: Gr({
3668
3668
  values: Pv,
3669
3669
  defaultWidth: "wide"
3670
3670
  }),
3671
- quarter: Vr({
3671
+ quarter: Gr({
3672
3672
  values: Lv,
3673
3673
  defaultWidth: "wide",
3674
3674
  argumentCallback: (e) => e - 1
3675
3675
  }),
3676
- month: Vr({
3676
+ month: Gr({
3677
3677
  values: Ov,
3678
3678
  defaultWidth: "wide"
3679
3679
  }),
3680
- day: Vr({
3680
+ day: Gr({
3681
3681
  values: Iv,
3682
3682
  defaultWidth: "wide"
3683
3683
  }),
3684
- dayPeriod: Vr({
3684
+ dayPeriod: Gr({
3685
3685
  values: Mv,
3686
3686
  defaultWidth: "wide",
3687
3687
  formattingValues: Rv,
3688
3688
  defaultFormattingWidth: "wide"
3689
3689
  })
3690
3690
  };
3691
- function Gr(e) {
3691
+ function Yr(e) {
3692
3692
  return (t, n = {}) => {
3693
3693
  const r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
3694
3694
  if (!o)
@@ -3801,32 +3801,32 @@ const Vv = /^(\d+)(th|st|nd|rd)?/i, Gv = /\d+/i, Yv = {
3801
3801
  parsePattern: Gv,
3802
3802
  valueCallback: (e) => parseInt(e, 10)
3803
3803
  }),
3804
- era: Gr({
3804
+ era: Yr({
3805
3805
  matchPatterns: Yv,
3806
3806
  defaultMatchWidth: "wide",
3807
3807
  parsePatterns: Kv,
3808
3808
  defaultParseWidth: "any"
3809
3809
  }),
3810
- quarter: Gr({
3810
+ quarter: Yr({
3811
3811
  matchPatterns: Jv,
3812
3812
  defaultMatchWidth: "wide",
3813
3813
  parsePatterns: Xv,
3814
3814
  defaultParseWidth: "any",
3815
3815
  valueCallback: (e) => e + 1
3816
3816
  }),
3817
- month: Gr({
3817
+ month: Yr({
3818
3818
  matchPatterns: Qv,
3819
3819
  defaultMatchWidth: "wide",
3820
3820
  parsePatterns: Zv,
3821
3821
  defaultParseWidth: "any"
3822
3822
  }),
3823
- day: Gr({
3823
+ day: Yr({
3824
3824
  matchPatterns: e2,
3825
3825
  defaultMatchWidth: "wide",
3826
3826
  parsePatterns: t2,
3827
3827
  defaultParseWidth: "any"
3828
3828
  }),
3829
- dayPeriod: Gr({
3829
+ dayPeriod: Yr({
3830
3830
  matchPatterns: n2,
3831
3831
  defaultMatchWidth: "any",
3832
3832
  parsePatterns: r2,
@@ -3919,7 +3919,7 @@ const fn = {
3919
3919
  afternoon: "afternoon",
3920
3920
  evening: "evening",
3921
3921
  night: "night"
3922
- }, Tu = {
3922
+ }, Bu = {
3923
3923
  // Era
3924
3924
  G: function(e, t, n) {
3925
3925
  const r = e.getFullYear() > 0 ? 1 : 0;
@@ -4077,7 +4077,7 @@ const fn = {
4077
4077
  },
4078
4078
  // Local week of year
4079
4079
  w: function(e, t, n, r) {
4080
- const i = Vs(e, r);
4080
+ const i = Gs(e, r);
4081
4081
  return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : we(i, t.length);
4082
4082
  },
4083
4083
  // ISO week of year
@@ -4345,14 +4345,14 @@ const fn = {
4345
4345
  return "Z";
4346
4346
  switch (t) {
4347
4347
  case "X":
4348
- return Nu(r);
4348
+ return ju(r);
4349
4349
  case "XXXX":
4350
4350
  case "XX":
4351
- return Tn(r);
4351
+ return Bn(r);
4352
4352
  case "XXXXX":
4353
4353
  case "XXX":
4354
4354
  default:
4355
- return Tn(r, ":");
4355
+ return Bn(r, ":");
4356
4356
  }
4357
4357
  },
4358
4358
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -4360,14 +4360,14 @@ const fn = {
4360
4360
  const r = e.getTimezoneOffset();
4361
4361
  switch (t) {
4362
4362
  case "x":
4363
- return Nu(r);
4363
+ return ju(r);
4364
4364
  case "xxxx":
4365
4365
  case "xx":
4366
- return Tn(r);
4366
+ return Bn(r);
4367
4367
  case "xxxxx":
4368
4368
  case "xxx":
4369
4369
  default:
4370
- return Tn(r, ":");
4370
+ return Bn(r, ":");
4371
4371
  }
4372
4372
  },
4373
4373
  // Timezone (GMT)
@@ -4377,10 +4377,10 @@ const fn = {
4377
4377
  case "O":
4378
4378
  case "OO":
4379
4379
  case "OOO":
4380
- return "GMT" + Bu(r, ":");
4380
+ return "GMT" + Nu(r, ":");
4381
4381
  case "OOOO":
4382
4382
  default:
4383
- return "GMT" + Tn(r, ":");
4383
+ return "GMT" + Bn(r, ":");
4384
4384
  }
4385
4385
  },
4386
4386
  // Timezone (specific non-location)
@@ -4390,10 +4390,10 @@ const fn = {
4390
4390
  case "z":
4391
4391
  case "zz":
4392
4392
  case "zzz":
4393
- return "GMT" + Bu(r, ":");
4393
+ return "GMT" + Nu(r, ":");
4394
4394
  case "zzzz":
4395
4395
  default:
4396
- return "GMT" + Tn(r, ":");
4396
+ return "GMT" + Bn(r, ":");
4397
4397
  }
4398
4398
  },
4399
4399
  // Seconds timestamp
@@ -4407,18 +4407,18 @@ const fn = {
4407
4407
  return we(r, t.length);
4408
4408
  }
4409
4409
  };
4410
- function Bu(e, t = "") {
4410
+ function Nu(e, t = "") {
4411
4411
  const n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), o = r % 60;
4412
4412
  return o === 0 ? n + String(i) : n + String(i) + t + we(o, 2);
4413
4413
  }
4414
- function Nu(e, t) {
4415
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + we(Math.abs(e) / 60, 2) : Tn(e, t);
4414
+ function ju(e, t) {
4415
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + we(Math.abs(e) / 60, 2) : Bn(e, t);
4416
4416
  }
4417
- function Tn(e, t = "") {
4417
+ function Bn(e, t = "") {
4418
4418
  const n = e > 0 ? "-" : "+", r = Math.abs(e), i = we(Math.trunc(r / 60), 2), o = we(r % 60, 2);
4419
4419
  return n + i + t + o;
4420
4420
  }
4421
- const ju = (e, t) => {
4421
+ const Pu = (e, t) => {
4422
4422
  switch (e) {
4423
4423
  case "P":
4424
4424
  return t.date({ width: "short" });
@@ -4445,7 +4445,7 @@ const ju = (e, t) => {
4445
4445
  }, l2 = (e, t) => {
4446
4446
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
4447
4447
  if (!i)
4448
- return ju(e, t);
4448
+ return Pu(e, t);
4449
4449
  let o;
4450
4450
  switch (r) {
4451
4451
  case "P":
@@ -4462,7 +4462,7 @@ const ju = (e, t) => {
4462
4462
  o = t.dateTime({ width: "full" });
4463
4463
  break;
4464
4464
  }
4465
- return o.replace("{{date}}", ju(r, t)).replace("{{time}}", lp(i, t));
4465
+ return o.replace("{{date}}", Pu(r, t)).replace("{{time}}", lp(i, t));
4466
4466
  }, u2 = {
4467
4467
  p: lp,
4468
4468
  P: l2
@@ -4500,7 +4500,7 @@ function w2(e, t, n) {
4500
4500
  const x = k[0];
4501
4501
  if (x === "'")
4502
4502
  return { isToken: !1, value: C2(k) };
4503
- if (Tu[x])
4503
+ if (Bu[x])
4504
4504
  return { isToken: !0, value: k };
4505
4505
  if (x.match(k2))
4506
4506
  throw new RangeError(
@@ -4518,7 +4518,7 @@ function w2(e, t, n) {
4518
4518
  if (!k.isToken) return k.value;
4519
4519
  const x = k.value;
4520
4520
  (f2(x) || h2(x)) && m2(x, t, String(e));
4521
- const C = Tu[x[0]];
4521
+ const C = Bu[x[0]];
4522
4522
  return C(v, x, d.localize, b);
4523
4523
  }).join("");
4524
4524
  }
@@ -4531,11 +4531,11 @@ function C2(e) {
4531
4531
  * Copyright 2017 Google LLC
4532
4532
  * SPDX-License-Identifier: BSD-3-Clause
4533
4533
  */
4534
- const Pu = (e, t, n) => {
4534
+ const Lu = (e, t, n) => {
4535
4535
  const r = /* @__PURE__ */ new Map();
4536
4536
  for (let i = t; i <= n; i++) r.set(e[i], i);
4537
4537
  return r;
4538
- }, x2 = Da(class extends Ei {
4538
+ }, x2 = ya(class extends Ei {
4539
4539
  constructor(e) {
4540
4540
  if (super(e), e.type !== Si.CHILD) throw Error("repeat() can only be used in text expressions");
4541
4541
  }
@@ -4557,22 +4557,22 @@ const Pu = (e, t, n) => {
4557
4557
  let h, g, v = 0, D = i.length - 1, b = 0, k = o.length - 1;
4558
4558
  for (; v <= D && b <= k; ) if (i[v] === null) v++;
4559
4559
  else if (i[D] === null) D--;
4560
- else if (c[v] === u[b]) d[b] = An(i[v], o[b]), v++, b++;
4561
- else if (c[D] === u[k]) d[k] = An(i[D], o[k]), D--, k--;
4562
- else if (c[v] === u[k]) d[k] = An(i[v], o[k]), zr(e, d[k + 1], i[v]), v++, k--;
4563
- else if (c[D] === u[b]) d[b] = An(i[D], o[b]), zr(e, i[v], i[D]), D--, b++;
4564
- else if (h === void 0 && (h = Pu(u, b, k), g = Pu(c, v, D)), h.has(c[v])) if (h.has(c[D])) {
4560
+ else if (c[v] === u[b]) d[b] = $n(i[v], o[b]), v++, b++;
4561
+ else if (c[D] === u[k]) d[k] = $n(i[D], o[k]), D--, k--;
4562
+ else if (c[v] === u[k]) d[k] = $n(i[v], o[k]), Vr(e, d[k + 1], i[v]), v++, k--;
4563
+ else if (c[D] === u[b]) d[b] = $n(i[D], o[b]), Vr(e, i[v], i[D]), D--, b++;
4564
+ else if (h === void 0 && (h = Lu(u, b, k), g = Lu(c, v, D)), h.has(c[v])) if (h.has(c[D])) {
4565
4565
  const x = g.get(u[b]), C = x !== void 0 ? i[x] : null;
4566
4566
  if (C === null) {
4567
- const T = zr(e, i[v]);
4568
- An(T, o[b]), d[b] = T;
4569
- } else d[b] = An(C, o[b]), zr(e, i[v], C), i[x] = null;
4567
+ const T = Vr(e, i[v]);
4568
+ $n(T, o[b]), d[b] = T;
4569
+ } else d[b] = $n(C, o[b]), Vr(e, i[v], C), i[x] = null;
4570
4570
  b++;
4571
4571
  } else Fs(i[D]), D--;
4572
4572
  else Fs(i[v]), v++;
4573
4573
  for (; b <= k; ) {
4574
- const x = zr(e, d[k + 1]);
4575
- An(x, o[b]), d[b++] = x;
4574
+ const x = Vr(e, d[k + 1]);
4575
+ $n(x, o[b]), d[b++] = x;
4576
4576
  }
4577
4577
  for (; v <= D; ) {
4578
4578
  const x = i[v++];
@@ -4764,7 +4764,7 @@ var A2 = Object.defineProperty, $2 = Object.getOwnPropertyDescriptor, Je = (e, t
4764
4764
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
4765
4765
  return r && i && A2(t, n, i), i;
4766
4766
  };
4767
- const Lu = (e) => new Promise((t) => setTimeout(t, e));
4767
+ const Ou = (e) => new Promise((t) => setTimeout(t, e));
4768
4768
  let qe = class extends Ke {
4769
4769
  constructor() {
4770
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 = {
@@ -4799,7 +4799,7 @@ let qe = class extends Ke {
4799
4799
  super.connectedCallback(), document && document.body.addEventListener("click", (e) => {
4800
4800
  var t, n;
4801
4801
  (t = this.inputRef) != null && t.value && (n = this.btnRef) != null && n.value && !this.inputRef.value.contains(e.target) && !(this.inputRefTo.value && this.inputRefTo.value.contains(e.target)) && !this.btnRef.value.contains(e.target) && !e.target.closest(".pkt-calendar-popup") && this.hideCalendar();
4802
- }), this.value.length && this._value.length === 0 && (this._value = Array.isArray(this.value) ? this.value : this.value.split(",")), this.min = this.min || Gt.props.min.default, this.max = this.max || Gt.props.max.default, typeof this.excludedates == "string" && (this.excludedates = this.excludedates.split(",")), typeof this.excludeweekdays == "string" && (this.excludeweekdays = this.excludeweekdays.split(",")), (this.multiple || this.range) && this.name && !this.name.endsWith("[]") && (this.name = this.name + "[]"), this.calendarOpen && (await Lu(20), this.handleCalendarPosition());
4802
+ }), this.value.length && this._value.length === 0 && (this._value = Array.isArray(this.value) ? this.value : this.value.split(",")), this.min = this.min || Gt.props.min.default, this.max = this.max || Gt.props.max.default, typeof this.excludedates == "string" && (this.excludedates = this.excludedates.split(",")), typeof this.excludeweekdays == "string" && (this.excludeweekdays = this.excludeweekdays.split(",")), (this.multiple || this.range) && this.name && !this.name.endsWith("[]") && (this.name = this.name + "[]"), this.calendarOpen && (await Ou(20), this.handleCalendarPosition());
4803
4803
  }
4804
4804
  disconnectedCallback() {
4805
4805
  super.disconnectedCallback(), document && document.body.removeEventListener("click", (e) => {
@@ -5059,7 +5059,7 @@ let qe = class extends Ke {
5059
5059
  this.contains(e.target) || this.hideCalendar();
5060
5060
  }
5061
5061
  async showCalendar() {
5062
- this.calendarOpen = !0, await Lu(20), this.handleCalendarPosition();
5062
+ this.calendarOpen = !0, await Ou(20), this.handleCalendarPosition();
5063
5063
  }
5064
5064
  hideCalendar() {
5065
5065
  this.calendarOpen = !1;
@@ -5129,6 +5129,17 @@ const T2 = "pkt-link", B2 = !0, N2 = {
5129
5129
  type: "string",
5130
5130
  default: "#"
5131
5131
  },
5132
+ target: {
5133
+ name: "Mål",
5134
+ description: "Mål for lenken",
5135
+ type: [
5136
+ "_blank",
5137
+ "_self",
5138
+ "_parent",
5139
+ "_top"
5140
+ ],
5141
+ default: "_self"
5142
+ },
5132
5143
  iconName: {
5133
5144
  name: "Ikon",
5134
5145
  description: "Ikon som skal vises ved siden av lenketeksten",
@@ -5152,7 +5163,7 @@ const T2 = "pkt-link", B2 = !0, N2 = {
5152
5163
  default: {
5153
5164
  description: "Innholdet i lenken"
5154
5165
  }
5155
- }, Ou = {
5166
+ }, Bs = {
5156
5167
  name: T2,
5157
5168
  "css-class": "pkt-link",
5158
5169
  "dark-mode": !0,
@@ -5160,14 +5171,14 @@ const T2 = "pkt-link", B2 = !0, N2 = {
5160
5171
  props: N2,
5161
5172
  slots: j2
5162
5173
  };
5163
- var P2 = Object.defineProperty, L2 = Object.getOwnPropertyDescriptor, ka = (e, t, n, r) => {
5174
+ var P2 = Object.defineProperty, L2 = Object.getOwnPropertyDescriptor, wr = (e, t, n, r) => {
5164
5175
  for (var i = r > 1 ? void 0 : r ? L2(t, n) : t, o = e.length - 1, u; o >= 0; o--)
5165
5176
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
5166
5177
  return r && i && P2(t, n, i), i;
5167
5178
  };
5168
- let Rn = class extends qt {
5179
+ let vn = class extends qt {
5169
5180
  constructor() {
5170
- super(), this.defaultSlot = Et(), this.href = Ou.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = Ou.props.external.default, this.slotController = new kr(this, this.defaultSlot);
5181
+ super(), this.defaultSlot = Et(), this.href = Bs.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = Bs.props.external.default, this.target = Bs.props.target.default, this.slotController = new kr(this, this.defaultSlot);
5171
5182
  }
5172
5183
  render() {
5173
5184
  const e = {
@@ -5176,7 +5187,12 @@ let Rn = class extends qt {
5176
5187
  "pkt-link--icon-right": !!this.iconName && this.iconPosition === "right",
5177
5188
  "pkt-link--external": this.external
5178
5189
  };
5179
- return J`<a class=${Ge(e)} href=${this.href} @click=${this.handleClick}
5190
+ return J`<a
5191
+ class=${Ge(e)}
5192
+ href=${this.href}
5193
+ @click=${this.handleClick}
5194
+ .target=${this.target}
5195
+ .rel=${this.external ? "noopener noreferrer" : te}
5180
5196
  >${this.iconName ? J`<pkt-icon name=${this.iconName} class="pkt-link__icon"></pkt-icon>` : ""} <span ${ct(this.defaultSlot)}>Link</span></a
5181
5197
  >`;
5182
5198
  }
@@ -5189,27 +5205,30 @@ let Rn = class extends qt {
5189
5205
  );
5190
5206
  }
5191
5207
  };
5192
- ka([
5208
+ wr([
5193
5209
  O({ type: String, reflect: !0 })
5194
- ], Rn.prototype, "href", 2);
5195
- ka([
5210
+ ], vn.prototype, "href", 2);
5211
+ wr([
5196
5212
  O({ type: String, reflect: !0 })
5197
- ], Rn.prototype, "iconName", 2);
5198
- ka([
5213
+ ], vn.prototype, "iconName", 2);
5214
+ wr([
5199
5215
  O({ type: String, reflect: !0 })
5200
- ], Rn.prototype, "iconPosition", 2);
5201
- ka([
5216
+ ], vn.prototype, "iconPosition", 2);
5217
+ wr([
5202
5218
  O({ type: Boolean, reflect: !0 })
5203
- ], Rn.prototype, "external", 2);
5204
- Rn = ka([
5219
+ ], vn.prototype, "external", 2);
5220
+ wr([
5221
+ O({ type: String, reflect: !0 })
5222
+ ], vn.prototype, "target", 2);
5223
+ vn = wr([
5205
5224
  tn("pkt-link")
5206
- ], Rn);
5225
+ ], vn);
5207
5226
  var O2 = Object.defineProperty, I2 = Object.getOwnPropertyDescriptor, Un = (e, t, n, r) => {
5208
5227
  for (var i = r > 1 ? void 0 : r ? I2(t, n) : t, o = e.length - 1, u; o >= 0; o--)
5209
5228
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
5210
5229
  return r && i && O2(t, n, i), i;
5211
5230
  };
5212
- let vn = class extends qt {
5231
+ let Dn = class extends qt {
5213
5232
  constructor() {
5214
5233
  super(), this.defaultSlot = Et(), this.closable = !1, this.compact = !1, this.title = "", this.skin = "beige", this.isDisplayed = !0, this.slotController = new kr(this, this.defaultSlot);
5215
5234
  }
@@ -5239,26 +5258,26 @@ let vn = class extends qt {
5239
5258
  };
5240
5259
  Un([
5241
5260
  O({ type: Boolean, reflect: !0 })
5242
- ], vn.prototype, "closable", 2);
5261
+ ], Dn.prototype, "closable", 2);
5243
5262
  Un([
5244
5263
  O({ type: Boolean, reflect: !0 })
5245
- ], vn.prototype, "compact", 2);
5264
+ ], Dn.prototype, "compact", 2);
5246
5265
  Un([
5247
5266
  O({ type: String, reflect: !0 })
5248
- ], vn.prototype, "title", 2);
5267
+ ], Dn.prototype, "title", 2);
5249
5268
  Un([
5250
5269
  O({ type: String, reflect: !0 })
5251
- ], vn.prototype, "skin", 2);
5270
+ ], Dn.prototype, "skin", 2);
5252
5271
  Un([
5253
5272
  O({ type: Boolean, reflect: !0 })
5254
- ], vn.prototype, "isDisplayed", 2);
5273
+ ], Dn.prototype, "isDisplayed", 2);
5255
5274
  Un([
5256
5275
  O({ type: Function, reflect: !0 })
5257
- ], vn.prototype, "onClose", 2);
5258
- vn = Un([
5276
+ ], Dn.prototype, "onClose", 2);
5277
+ Dn = Un([
5259
5278
  tn("pkt-messagebox")
5260
- ], vn);
5261
- const M2 = fo({
5279
+ ], Dn);
5280
+ const M2 = mo({
5262
5281
  tagName: "pkt-card",
5263
5282
  elementClass: Zt,
5264
5283
  react: xe,
@@ -5268,7 +5287,7 @@ const M2 = fo({
5268
5287
  ({ children: e, ...t }, n) => /* @__PURE__ */ m.jsx(M2, { ...t, ref: n, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-contents", children: e }) })
5269
5288
  );
5270
5289
  R2.displayName = "PktCard";
5271
- const Gs = Ne(
5290
+ const Ys = Ne(
5272
5291
  ({
5273
5292
  id: e,
5274
5293
  hasTile: t = !1,
@@ -5313,8 +5332,8 @@ const Gs = Ne(
5313
5332
  ) });
5314
5333
  }
5315
5334
  );
5316
- Gs.displayName = "PktCheckbox";
5317
- const q2 = fo({
5335
+ Ys.displayName = "PktCheckbox";
5336
+ const q2 = mo({
5318
5337
  tagName: "pkt-datepicker",
5319
5338
  elementClass: qe,
5320
5339
  react: xe,
@@ -5734,9 +5753,9 @@ const wa = Ne(
5734
5753
  }
5735
5754
  );
5736
5755
  wa.displayName = "PktInputWrapper";
5737
- const U2 = fo({
5756
+ const U2 = mo({
5738
5757
  tagName: "pkt-link",
5739
- elementClass: Rn,
5758
+ elementClass: vn,
5740
5759
  react: xe,
5741
5760
  displayName: "PktLink",
5742
5761
  events: {
@@ -5885,7 +5904,7 @@ var up = {}, ki = gn && gn.__assign || function() {
5885
5904
  return r;
5886
5905
  };
5887
5906
  Object.defineProperty(up, "__esModule", { value: !0 });
5888
- var Yr = [];
5907
+ var Kr = [];
5889
5908
  function J2(e) {
5890
5909
  var t = typeof e;
5891
5910
  return e !== null && (t === "object" || t === "function");
@@ -5924,7 +5943,7 @@ function ci(e, t, n) {
5924
5943
  return g.length <= i.inlineCharacterLimit ? g : h.replace(new RegExp(o.newLine + "|" + o.newLineOrSpace, "g"), `
5925
5944
  `).replace(new RegExp(o.pad, "g"), n).replace(new RegExp(o.indent, "g"), n + i.indent);
5926
5945
  };
5927
- if (Yr.indexOf(e) !== -1)
5946
+ if (Kr.indexOf(e) !== -1)
5928
5947
  return '"[Circular]"';
5929
5948
  if (e == null || typeof e == "number" || typeof e == "boolean" || typeof e == "function" || typeof e == "symbol" || X2(e))
5930
5949
  return String(e);
@@ -5933,12 +5952,12 @@ function ci(e, t, n) {
5933
5952
  if (Array.isArray(e)) {
5934
5953
  if (e.length === 0)
5935
5954
  return "[]";
5936
- Yr.push(e);
5955
+ Kr.push(e);
5937
5956
  var c = "[" + o.newLine + e.map(function(h, g) {
5938
5957
  var v = e.length - 1 === g ? o.newLine : "," + o.newLineOrSpace, D = ci(h, i, n + i.indent);
5939
5958
  return i.transform && (D = i.transform(e, g, D)), o.indent + D + v;
5940
5959
  }).join("") + o.pad + "]";
5941
- return Yr.pop(), u(c);
5960
+ return Kr.pop(), u(c);
5942
5961
  }
5943
5962
  if (J2(e)) {
5944
5963
  var d = K2(Object.keys(e), Q2(e));
@@ -5946,19 +5965,19 @@ function ci(e, t, n) {
5946
5965
  return i.filter && i.filter(e, g);
5947
5966
  })), d.length === 0)
5948
5967
  return "{}";
5949
- Yr.push(e);
5968
+ Kr.push(e);
5950
5969
  var c = "{" + o.newLine + d.map(function(g, v) {
5951
5970
  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);
5952
5971
  return i.transform && (C = i.transform(e, g, C)), o.indent + String(x) + ": " + C + D;
5953
5972
  }).join("") + o.pad + "}";
5954
- return Yr.pop(), u(c);
5973
+ return Kr.pop(), u(c);
5955
5974
  }
5956
5975
  return e = String(e).replace(/[\r\n]/g, function(h) {
5957
5976
  return h === `
5958
5977
  ` ? "\\n" : "\\r";
5959
5978
  }), i.singleQuotes ? (e = e.replace(/\\?'/g, "\\'"), "'" + e + "'") : (e = e.replace(/"/g, '\\"'), '"' + e + '"');
5960
5979
  }
5961
- var Z2 = up.prettyPrint = ci, Ys = { exports: {} }, ye = {};
5980
+ var Z2 = up.prettyPrint = ci, Ks = { exports: {} }, ye = {};
5962
5981
  /**
5963
5982
  * @license React
5964
5983
  * react-is.production.min.js
@@ -6136,36 +6155,36 @@ function tD() {
6136
6155
  be.ContextConsumer = $, be.ContextProvider = P, be.Element = I, be.ForwardRef = j, be.Fragment = W, be.Lazy = Y, be.Memo = V, be.Portal = L, be.Profiler = N, be.StrictMode = q, be.Suspense = X, be.SuspenseList = de, be.isAsyncMode = he, be.isConcurrentMode = re, be.isContextConsumer = ge, be.isContextProvider = at, be.isElement = Be, be.isForwardRef = Se, be.isFragment = Le, be.isLazy = ce, be.isMemo = dt, be.isPortal = jt, be.isProfiler = Dt, be.isStrictMode = yt, be.isSuspense = cn, be.isSuspenseList = bt, be.isValidElementType = F, be.typeOf = A;
6137
6156
  }()), be;
6138
6157
  }
6139
- process.env.NODE_ENV === "production" ? Ys.exports = eD() : Ys.exports = tD();
6140
- var It = Ys.exports, Xt = function(e, t) {
6158
+ process.env.NODE_ENV === "production" ? Ks.exports = eD() : Ks.exports = tD();
6159
+ var It = Ks.exports, Xt = function(e, t) {
6141
6160
  return e === 0 ? "" : new Array(e * t).fill(" ").join("");
6142
6161
  };
6143
- function ca(e) {
6162
+ function pa(e) {
6144
6163
  "@babel/helpers - typeof";
6145
- return ca = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
6164
+ return pa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
6146
6165
  return typeof t;
6147
6166
  } : function(t) {
6148
6167
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
6149
- }, ca(e);
6168
+ }, pa(e);
6150
6169
  }
6151
6170
  function qu(e) {
6152
6171
  return nD(e) || rD(e) || aD(e) || iD();
6153
6172
  }
6154
6173
  function nD(e) {
6155
- if (Array.isArray(e)) return Ks(e);
6174
+ if (Array.isArray(e)) return Js(e);
6156
6175
  }
6157
6176
  function rD(e) {
6158
6177
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
6159
6178
  }
6160
6179
  function aD(e, t) {
6161
6180
  if (e) {
6162
- if (typeof e == "string") return Ks(e, t);
6181
+ if (typeof e == "string") return Js(e, t);
6163
6182
  var n = Object.prototype.toString.call(e).slice(8, -1);
6164
6183
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
6165
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ks(e, t);
6184
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Js(e, t);
6166
6185
  }
6167
6186
  }
6168
- function Ks(e, t) {
6187
+ function Js(e, t) {
6169
6188
  (t == null || t > e.length) && (t = e.length);
6170
6189
  for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
6171
6190
  return r;
@@ -6174,15 +6193,15 @@ function iD() {
6174
6193
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
6175
6194
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6176
6195
  }
6177
- function Js(e, t) {
6178
- return e === null || ca(e) !== "object" || e instanceof Date || e instanceof RegExp || /* @__PURE__ */ Vm.isValidElement(e) ? e : (t.add(e), Array.isArray(e) ? e.map(function(n) {
6179
- return Js(n, t);
6196
+ function Xs(e, t) {
6197
+ return e === null || pa(e) !== "object" || e instanceof Date || e instanceof RegExp || /* @__PURE__ */ Vm.isValidElement(e) ? e : (t.add(e), Array.isArray(e) ? e.map(function(n) {
6198
+ return Xs(n, t);
6180
6199
  }) : Object.keys(e).sort().reduce(function(n, r) {
6181
- return r === "_owner" || (r === "current" || t.has(e[r]) ? n[r] = "[Circular]" : n[r] = Js(e[r], t)), n;
6200
+ return r === "_owner" || (r === "current" || t.has(e[r]) ? n[r] = "[Circular]" : n[r] = Xs(e[r], t)), n;
6182
6201
  }, {}));
6183
6202
  }
6184
6203
  function sD(e) {
6185
- return Js(e, /* @__PURE__ */ new WeakSet());
6204
+ return Xs(e, /* @__PURE__ */ new WeakSet());
6186
6205
  }
6187
6206
  var cp = function(t) {
6188
6207
  return {
@@ -6208,7 +6227,7 @@ var cp = function(t) {
6208
6227
  key: t,
6209
6228
  childrens: n
6210
6229
  };
6211
- }, cD = !!ho, pp = function(t) {
6230
+ }, cD = !!fo, pp = function(t) {
6212
6231
  return !t.name || t.name === "_default" ? "No Display Name" : t.name;
6213
6232
  }, pD = function e(t) {
6214
6233
  switch (!0) {
@@ -6256,14 +6275,14 @@ var cp = function(t) {
6256
6275
  }).forEach(function(i) {
6257
6276
  return r[i] = t[i];
6258
6277
  }), r;
6259
- }, bo = function e(t, n) {
6278
+ }, ko = function e(t, n) {
6260
6279
  var r = n.displayName, i = r === void 0 ? dD : r;
6261
6280
  if (typeof t == "string")
6262
6281
  return cp(t);
6263
6282
  if (typeof t == "number")
6264
6283
  return oD(t);
6265
6284
  if (!/* @__PURE__ */ xe.isValidElement(t))
6266
- throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(ca(t), "`"));
6285
+ throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(pa(t), "`"));
6267
6286
  var o = i(t), u = Uu(t.props, Hu);
6268
6287
  t.ref !== null && (u.ref = t.ref);
6269
6288
  var c = t.key;
@@ -6271,7 +6290,7 @@ var cp = function(t) {
6271
6290
  var d = Uu(t.type.defaultProps || {}, Hu), h = xe.Children.toArray(t.props.children).filter(hD).map(function(g) {
6272
6291
  return e(g, n);
6273
6292
  });
6274
- return cD && t.type === ho ? uD(c, h) : lD(o, u, d, h);
6293
+ return cD && t.type === fo ? uD(c, h) : lD(o, u, d, h);
6275
6294
  };
6276
6295
  function fD() {
6277
6296
  }
@@ -6287,7 +6306,7 @@ var mD = function(t) {
6287
6306
  var i = sD(e), o = Z2(i, {
6288
6307
  transform: function(c, d, h) {
6289
6308
  var g = c[d];
6290
- return g && /* @__PURE__ */ ea(g) ? Ai(bo(g, r), !0, n, r) : typeof g == "function" ? dp(g, r) : h;
6309
+ return g && /* @__PURE__ */ ta(g) ? Ai(ko(g, r), !0, n, r) : typeof g == "function" ? dp(g, r) : h;
6291
6310
  }
6292
6311
  });
6293
6312
  return t ? o.replace(/\s+/g, " ").replace(/{ /g, "{").replace(/ }/g, "}").replace(/\[ /g, "[").replace(/ ]/g, "]") : o.replace(/\t/g, Xt(1, r.tabStop)).replace(/\n([^$])/g, `
@@ -6299,11 +6318,11 @@ var mD = function(t) {
6299
6318
  return "{".concat(String(t), "}");
6300
6319
  if (typeof t == "string")
6301
6320
  return '"'.concat(vD(t), '"');
6302
- if (ca(t) === "symbol") {
6321
+ if (pa(t) === "symbol") {
6303
6322
  var o = t.valueOf().toString().replace(/Symbol\((.*)\)/, "$1");
6304
6323
  return o ? "{Symbol('".concat(o, "')}") : "{Symbol()}";
6305
6324
  }
6306
- return typeof t == "function" ? "{".concat(dp(t, i), "}") : /* @__PURE__ */ ea(t) ? "{".concat(Ai(bo(t, i), !0, r, i), "}") : t instanceof Date ? isNaN(t.valueOf()) ? "{new Date(NaN)}" : '{new Date("'.concat(t.toISOString(), '")}') : Y2(t) || Array.isArray(t) ? "{".concat(gD(t, n, r, i), "}") : "{".concat(String(t), "}");
6325
+ return typeof t == "function" ? "{".concat(dp(t, i), "}") : /* @__PURE__ */ ta(t) ? "{".concat(Ai(ko(t, i), !0, r, i), "}") : t instanceof Date ? isNaN(t.valueOf()) ? "{new Date(NaN)}" : '{new Date("'.concat(t.toISOString(), '")}') : Y2(t) || Array.isArray(t) ? "{".concat(gD(t, n, r, i), "}") : "{".concat(String(t), "}");
6307
6326
  }, yD = function(e, t, n, r, i, o, u, c) {
6308
6327
  if (!t && !r)
6309
6328
  throw new Error('The prop "'.concat(e, '" has no value and no default: could not be formatted'));
@@ -6443,27 +6462,27 @@ var xD = function(t, n, r, i, o) {
6443
6462
  maxInlineAttributesLineLength: E,
6444
6463
  displayName: _
6445
6464
  };
6446
- return OD(bo(t, F), F);
6465
+ return OD(ko(t, F), F);
6447
6466
  }, MD = Object.create, $i = Object.defineProperty, RD = Object.getOwnPropertyDescriptor, qD = Object.getOwnPropertyNames, HD = Object.getPrototypeOf, UD = Object.prototype.hasOwnProperty, mp = (e) => {
6448
6467
  throw TypeError(e);
6449
- }, WD = (e, t) => () => (e && (t = e(e = 0)), t), ko = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Ti = (e, t) => {
6468
+ }, WD = (e, t) => () => (e && (t = e(e = 0)), t), wo = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Ti = (e, t) => {
6450
6469
  for (var n in t) $i(e, n, { get: t[n], enumerable: !0 });
6451
6470
  }, gp = (e, t, n, r) => {
6452
6471
  if (t && typeof t == "object" || typeof t == "function") for (let i of qD(t)) !UD.call(e, i) && i !== n && $i(e, i, { get: () => t[i], enumerable: !(r = RD(t, i)) || r.enumerable });
6453
6472
  return e;
6454
- }, Bi = (e, t, n) => (n = e != null ? MD(HD(e)) : {}, gp($i(n, "default", { value: e, enumerable: !0 }), e)), zD = (e) => gp($i({}, "__esModule", { value: !0 }), e), VD = (e, t, n) => t.has(e) || mp("Cannot " + n), GD = (e, t, n) => t.has(e) ? mp("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Kr = (e, t, n) => (VD(e, t, "access private method"), n), wo = ko((e, t) => {
6473
+ }, Bi = (e, t, n) => (n = e != null ? MD(HD(e)) : {}, gp($i(n, "default", { value: e, enumerable: !0 }), e)), zD = (e) => gp($i({}, "__esModule", { value: !0 }), e), VD = (e, t, n) => t.has(e) || mp("Cannot " + n), GD = (e, t, n) => t.has(e) ? mp("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Jr = (e, t, n) => (VD(e, t, "access private method"), n), Co = wo((e, t) => {
6455
6474
  var n = new Proxy(String, { get: () => n });
6456
6475
  t.exports = n;
6457
6476
  }), vp = {};
6458
6477
  Ti(vp, { default: () => yp, shouldHighlight: () => Dp });
6459
6478
  var Dp, yp, YD = WD(() => {
6460
6479
  Dp = () => !1, yp = String;
6461
- }), KD = ko((e, t) => {
6480
+ }), KD = wo((e, t) => {
6462
6481
  var n = String, r = function() {
6463
6482
  return { isColorSupported: !1, reset: n, bold: n, dim: n, italic: n, underline: n, inverse: n, hidden: n, strikethrough: n, black: n, red: n, green: n, yellow: n, blue: n, magenta: n, cyan: n, white: n, gray: n, bgBlack: n, bgRed: n, bgGreen: n, bgYellow: n, bgBlue: n, bgMagenta: n, bgCyan: n, bgWhite: n };
6464
6483
  };
6465
6484
  t.exports = r(), t.exports.createColors = r;
6466
- }), JD = ko((e) => {
6485
+ }), JD = wo((e) => {
6467
6486
  Object.defineProperty(e, "__esModule", { value: !0 }), e.codeFrameColumns = b, e.default = k;
6468
6487
  var t = (YD(), zD(vp)), n = i(KD(), !0);
6469
6488
  function r(x) {
@@ -6541,13 +6560,13 @@ ${V}`), E ? _.reset(V) : V;
6541
6560
  return T = Math.max(T, 0), b(x, { start: { column: T, line: C } }, E);
6542
6561
  }
6543
6562
  }), XD = {};
6544
- Ti(XD, { __debug: () => Zb, check: () => Xb, doc: () => id, format: () => Lo, formatWithCursor: () => od, getSupportInfo: () => Qb, util: () => sd, version: () => Eb });
6563
+ Ti(XD, { __debug: () => Zb, check: () => Xb, doc: () => id, format: () => Oo, formatWithCursor: () => od, getSupportInfo: () => Qb, util: () => sd, version: () => Eb });
6545
6564
  var QD = (e, t, n, r) => {
6546
6565
  if (!(e && t == null)) return t.replaceAll ? t.replaceAll(n, r) : n.global ? t.replace(n, r) : t.split(n).join(r);
6547
6566
  }, Ni = QD;
6548
- function yn() {
6567
+ function bn() {
6549
6568
  }
6550
- yn.prototype = { diff: function(e, t) {
6569
+ bn.prototype = { diff: function(e, t) {
6551
6570
  var n, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = r.callback;
6552
6571
  typeof r == "function" && (i = r, r = {}), this.options = r;
6553
6572
  var o = this;
@@ -6633,7 +6652,7 @@ function ZD(e, t, n, r, i) {
6633
6652
  var k = o[d - 1];
6634
6653
  return d > 1 && typeof k.value == "string" && (k.added || k.removed) && e.equals("", k.value) && (o[d - 2].value += k.value, o.pop()), o;
6635
6654
  }
6636
- var Vu = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Gu = /\S/, bp = new yn();
6655
+ var Vu = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Gu = /\S/, bp = new bn();
6637
6656
  bp.equals = function(e, t) {
6638
6657
  return this.options.ignoreCase && (e = e.toLowerCase(), t = t.toLowerCase()), e === t || this.options.ignoreWhitespace && !Gu.test(e) && !Gu.test(t);
6639
6658
  };
@@ -6641,7 +6660,7 @@ bp.tokenize = function(e) {
6641
6660
  for (var t = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), n = 0; n < t.length - 1; n++) !t[n + 1] && t[n + 2] && Vu.test(t[n]) && Vu.test(t[n + 2]) && (t[n] += t[n + 2], t.splice(n + 1, 2), n--);
6642
6661
  return t;
6643
6662
  };
6644
- var kp = new yn();
6663
+ var kp = new bn();
6645
6664
  kp.tokenize = function(e) {
6646
6665
  this.options.stripTrailingCr && (e = e.replace(/\r\n/g, `
6647
6666
  `));
@@ -6653,11 +6672,11 @@ kp.tokenize = function(e) {
6653
6672
  }
6654
6673
  return t;
6655
6674
  };
6656
- var ey = new yn();
6675
+ var ey = new bn();
6657
6676
  ey.tokenize = function(e) {
6658
6677
  return e.split(/(\S.+?[.!?])(?=\s+|$)/);
6659
6678
  };
6660
- var ty = new yn();
6679
+ var ty = new bn();
6661
6680
  ty.tokenize = function(e) {
6662
6681
  return e.split(/([{}:;,]|\s+)/);
6663
6682
  };
@@ -6669,37 +6688,37 @@ function pi(e) {
6669
6688
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
6670
6689
  }, pi(e);
6671
6690
  }
6672
- var ny = Object.prototype.toString, pa = new yn();
6673
- pa.useLongestToken = !0;
6674
- pa.tokenize = kp.tokenize;
6675
- pa.castInput = function(e) {
6691
+ var ny = Object.prototype.toString, da = new bn();
6692
+ da.useLongestToken = !0;
6693
+ da.tokenize = kp.tokenize;
6694
+ da.castInput = function(e) {
6676
6695
  var t = this.options, n = t.undefinedReplacement, r = t.stringifyReplacer, i = r === void 0 ? function(o, u) {
6677
6696
  return typeof u > "u" ? n : u;
6678
6697
  } : r;
6679
- return typeof e == "string" ? e : JSON.stringify(Xs(e, null, null, i), i, " ");
6698
+ return typeof e == "string" ? e : JSON.stringify(Qs(e, null, null, i), i, " ");
6680
6699
  };
6681
- pa.equals = function(e, t) {
6682
- return yn.prototype.equals.call(pa, e.replace(/,([\r\n])/g, "$1"), t.replace(/,([\r\n])/g, "$1"));
6700
+ da.equals = function(e, t) {
6701
+ return bn.prototype.equals.call(da, e.replace(/,([\r\n])/g, "$1"), t.replace(/,([\r\n])/g, "$1"));
6683
6702
  };
6684
- function Xs(e, t, n, r, i) {
6703
+ function Qs(e, t, n, r, i) {
6685
6704
  t = t || [], n = n || [], r && (e = r(i, e));
6686
6705
  var o;
6687
6706
  for (o = 0; o < t.length; o += 1) if (t[o] === e) return n[o];
6688
6707
  var u;
6689
6708
  if (ny.call(e) === "[object Array]") {
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);
6709
+ for (t.push(e), u = new Array(e.length), n.push(u), o = 0; o < e.length; o += 1) u[o] = Qs(e[o], t, n, r, i);
6691
6710
  return t.pop(), n.pop(), u;
6692
6711
  }
6693
6712
  if (e && e.toJSON && (e = e.toJSON()), pi(e) === "object" && e !== null) {
6694
6713
  t.push(e), u = {}, n.push(u);
6695
6714
  var c = [], d;
6696
6715
  for (d in e) e.hasOwnProperty(d) && c.push(d);
6697
- for (c.sort(), o = 0; o < c.length; o += 1) d = c[o], u[d] = Xs(e[d], t, n, r, d);
6716
+ for (c.sort(), o = 0; o < c.length; o += 1) d = c[o], u[d] = Qs(e[d], t, n, r, d);
6698
6717
  t.pop(), n.pop();
6699
6718
  } else u = e;
6700
6719
  return u;
6701
6720
  }
6702
- var wi = new yn();
6721
+ var wi = new bn();
6703
6722
  wi.tokenize = function(e) {
6704
6723
  return e.slice();
6705
6724
  };
@@ -6714,7 +6733,7 @@ function ay(e) {
6714
6733
  return t >= 0 ? e.charAt(t + 1) === `
6715
6734
  ` ? "crlf" : "cr" : "lf";
6716
6735
  }
6717
- function Co(e) {
6736
+ function xo(e) {
6718
6737
  switch (e) {
6719
6738
  case "cr":
6720
6739
  return "\r";
@@ -6821,7 +6840,7 @@ function cy(e, t, n, r) {
6821
6840
  }
6822
6841
  }
6823
6842
  }
6824
- var xo = cy, py = () => {
6843
+ var _o = cy, py = () => {
6825
6844
  }, dy = py;
6826
6845
  function Ci(e) {
6827
6846
  return { type: rn, contents: e };
@@ -6853,10 +6872,10 @@ function vy(e, t = "", n = {}) {
6853
6872
  function Dy(e, t) {
6854
6873
  return { type: on, contents: e, groupId: t.groupId, negate: t.negate };
6855
6874
  }
6856
- function Qs(e) {
6875
+ function Zs(e) {
6857
6876
  return { type: ln, contents: e };
6858
6877
  }
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 };
6878
+ var yy = { type: un }, ji = { type: Ft }, by = { type: sn }, So = { type: rt, hard: !0 }, Sp = { type: rt, hard: !0, literal: !0 }, Ep = { type: rt }, ky = { type: rt, soft: !0 }, On = [So, ji], Fp = [Sp, ji], eo = { type: zn };
6860
6879
  function Ap(e, t) {
6861
6880
  let n = [];
6862
6881
  for (let r = 0; r < t.length; r++) r !== 0 && n.push(e), n.push(t[r]);
@@ -6955,7 +6974,7 @@ function $y(e) {
6955
6974
  }
6956
6975
  return t;
6957
6976
  }
6958
- var So = $y;
6977
+ var Eo = $y;
6959
6978
  function Pi(e, t) {
6960
6979
  if (typeof e == "string") return t(e);
6961
6980
  let n = /* @__PURE__ */ new Map();
@@ -6995,20 +7014,20 @@ function Pi(e, t) {
6995
7014
  }
6996
7015
  }
6997
7016
  }
6998
- function Eo(e, t, n) {
7017
+ function Fo(e, t, n) {
6999
7018
  let r = n, i = !1;
7000
7019
  function o(u) {
7001
7020
  if (i) return !1;
7002
7021
  let c = t(u);
7003
7022
  c !== void 0 && (i = !0, r = c);
7004
7023
  }
7005
- return xo(e, o), r;
7024
+ return _o(e, o), r;
7006
7025
  }
7007
7026
  function Ty(e) {
7008
7027
  if (e.type === vt && e.break || e.type === rt && e.hard || e.type === Ft) return !0;
7009
7028
  }
7010
7029
  function By(e) {
7011
- return Eo(e, Ty, !1);
7030
+ return Fo(e, Ty, !1);
7012
7031
  }
7013
7032
  function Ku(e) {
7014
7033
  if (e.length > 0) {
@@ -7028,7 +7047,7 @@ function Ny(e) {
7028
7047
  function i(o) {
7029
7048
  o.type === vt && n.pop().break && Ku(n);
7030
7049
  }
7031
- xo(e, r, i, !0);
7050
+ _o(e, r, i, !0);
7032
7051
  }
7033
7052
  function jy(e) {
7034
7053
  return e.type === rt && !e.hard ? e.soft ? "" : " " : e.type === Ct ? e.flatContents : e;
@@ -7039,23 +7058,23 @@ function Py(e) {
7039
7058
  function Ju(e) {
7040
7059
  for (e = [...e]; e.length >= 2 && ze(!1, e, -2).type === rt && ze(!1, e, -1).type === Ft; ) e.length -= 2;
7041
7060
  if (e.length > 0) {
7042
- let t = aa(ze(!1, e, -1));
7061
+ let t = ia(ze(!1, e, -1));
7043
7062
  e[e.length - 1] = t;
7044
7063
  }
7045
7064
  return e;
7046
7065
  }
7047
- function aa(e) {
7066
+ function ia(e) {
7048
7067
  switch (Vn(e)) {
7049
7068
  case rn:
7050
7069
  case on:
7051
7070
  case vt:
7052
7071
  case ln:
7053
7072
  case Ut: {
7054
- let t = aa(e.contents);
7073
+ let t = ia(e.contents);
7055
7074
  return { ...e, contents: t };
7056
7075
  }
7057
7076
  case Ct:
7058
- return { ...e, breakContents: aa(e.breakContents), flatContents: aa(e.flatContents) };
7077
+ return { ...e, breakContents: ia(e.breakContents), flatContents: ia(e.flatContents) };
7059
7078
  case Ht:
7060
7079
  return { ...e, parts: Ju(e.parts) };
7061
7080
  case en:
@@ -7075,7 +7094,7 @@ function aa(e) {
7075
7094
  return e;
7076
7095
  }
7077
7096
  function Tp(e) {
7078
- return aa(Oy(e));
7097
+ return ia(Oy(e));
7079
7098
  }
7080
7099
  function Ly(e) {
7081
7100
  switch (Vn(e)) {
@@ -7128,22 +7147,22 @@ function My(e) {
7128
7147
  if (e.type === rt) return !0;
7129
7148
  }
7130
7149
  function Ry(e) {
7131
- return Eo(e, My, !1);
7150
+ return Fo(e, My, !1);
7132
7151
  }
7133
7152
  function Bp(e, t) {
7134
7153
  return e.type === Ut ? { ...e, contents: t(e.contents) } : t(e);
7135
7154
  }
7136
- var gt = Symbol("MODE_BREAK"), Ot = Symbol("MODE_FLAT"), ia = Symbol("cursor");
7155
+ var gt = Symbol("MODE_BREAK"), Ot = Symbol("MODE_FLAT"), sa = Symbol("cursor");
7137
7156
  function Np() {
7138
7157
  return { value: "", length: 0, queue: [] };
7139
7158
  }
7140
7159
  function qy(e, t) {
7141
- return eo(e, { type: "indent" }, t);
7160
+ return to(e, { type: "indent" }, t);
7142
7161
  }
7143
7162
  function Hy(e, t, n) {
7144
- return t === Number.NEGATIVE_INFINITY ? e.root || Np() : t < 0 ? eo(e, { type: "dedent" }, n) : t ? t.type === "root" ? { ...e, root: e } : eo(e, { type: typeof t == "string" ? "stringAlign" : "numberAlign", n: t }, n) : e;
7163
+ return t === Number.NEGATIVE_INFINITY ? e.root || Np() : t < 0 ? to(e, { type: "dedent" }, n) : t ? t.type === "root" ? { ...e, root: e } : to(e, { type: typeof t == "string" ? "stringAlign" : "numberAlign", n: t }, n) : e;
7145
7164
  }
7146
- function eo(e, t, n) {
7165
+ function to(e, t, n) {
7147
7166
  let r = t.type === "dedent" ? e.queue.slice(0, -1) : [...e.queue, t], i = "", o = 0, u = 0, c = 0;
7148
7167
  for (let k of r) switch (k.type) {
7149
7168
  case "indent":
@@ -7178,11 +7197,11 @@ function eo(e, t, n) {
7178
7197
  u = 0, c = 0;
7179
7198
  }
7180
7199
  }
7181
- function to(e) {
7200
+ function no(e) {
7182
7201
  let t = 0, n = 0, r = e.length;
7183
7202
  e: for (; r--; ) {
7184
7203
  let i = e[r];
7185
- if (i === ia) {
7204
+ if (i === sa) {
7186
7205
  n++;
7187
7206
  continue;
7188
7207
  }
@@ -7195,7 +7214,7 @@ function to(e) {
7195
7214
  }
7196
7215
  }
7197
7216
  }
7198
- if (t > 0 || n > 0) for (e.length = r + 1; n-- > 0; ) e.push(ia);
7217
+ if (t > 0 || n > 0) for (e.length = r + 1; n-- > 0; ) e.push(sa);
7199
7218
  return t;
7200
7219
  }
7201
7220
  function ai(e, t, n, r, i, o) {
@@ -7210,7 +7229,7 @@ function ai(e, t, n, r, i, o) {
7210
7229
  let { mode: h, doc: g } = c.pop(), v = Vn(g);
7211
7230
  switch (v) {
7212
7231
  case Wn:
7213
- d.push(g), n -= So(g);
7232
+ d.push(g), n -= Eo(g);
7214
7233
  break;
7215
7234
  case en:
7216
7235
  case Ht: {
@@ -7225,7 +7244,7 @@ function ai(e, t, n, r, i, o) {
7225
7244
  c.push({ mode: h, doc: g.contents });
7226
7245
  break;
7227
7246
  case sn:
7228
- n += to(d);
7247
+ n += no(d);
7229
7248
  break;
7230
7249
  case vt: {
7231
7250
  if (o && g.break) return !1;
@@ -7253,7 +7272,7 @@ function ai(e, t, n, r, i, o) {
7253
7272
  return !1;
7254
7273
  }
7255
7274
  function Li(e, t) {
7256
- let n = {}, r = t.printWidth, i = Co(t.endOfLine), o = 0, u = [{ ind: Np(), mode: gt, doc: e }], c = [], d = !1, h = [], g = 0;
7275
+ let n = {}, r = t.printWidth, i = xo(t.endOfLine), o = 0, u = [{ ind: Np(), mode: gt, doc: e }], c = [], d = !1, h = [], g = 0;
7257
7276
  for (Ny(e); u.length > 0; ) {
7258
7277
  let { ind: D, mode: b, doc: k } = u.pop();
7259
7278
  switch (Vn(k)) {
@@ -7261,7 +7280,7 @@ function Li(e, t) {
7261
7280
  let x = i !== `
7262
7281
  ` ? Ni(!1, k, `
7263
7282
  `, i) : k;
7264
- c.push(x), u.length > 0 && (o += So(x));
7283
+ c.push(x), u.length > 0 && (o += Eo(x));
7265
7284
  break;
7266
7285
  }
7267
7286
  case en:
@@ -7269,7 +7288,7 @@ function Li(e, t) {
7269
7288
  break;
7270
7289
  case zn:
7271
7290
  if (g >= 2) throw new Error("There are too many 'cursor' in doc.");
7272
- c.push(ia), g++;
7291
+ c.push(sa), g++;
7273
7292
  break;
7274
7293
  case rn:
7275
7294
  u.push({ ind: qy(D, t), mode: b, doc: k.contents });
@@ -7278,7 +7297,7 @@ function Li(e, t) {
7278
7297
  u.push({ ind: Hy(D, k.n, t), mode: b, doc: k.contents });
7279
7298
  break;
7280
7299
  case sn:
7281
- o -= to(c);
7300
+ o -= no(c);
7282
7301
  break;
7283
7302
  case vt:
7284
7303
  switch (b) {
@@ -7347,7 +7366,7 @@ function Li(e, t) {
7347
7366
  h.push({ ind: D, mode: b, doc: k.contents });
7348
7367
  break;
7349
7368
  case un:
7350
- h.length > 0 && u.push({ ind: D, mode: b, doc: _o });
7369
+ h.length > 0 && u.push({ ind: D, mode: b, doc: So });
7351
7370
  break;
7352
7371
  case rt:
7353
7372
  switch (b) {
@@ -7362,7 +7381,7 @@ function Li(e, t) {
7362
7381
  u.push({ ind: D, mode: b, doc: k }, ...h.reverse()), h.length = 0;
7363
7382
  break;
7364
7383
  }
7365
- k.literal ? D.root ? (c.push(i, D.root.value), o = D.root.length) : (c.push(i), o = 0) : (o -= to(c), c.push(i + D.value), o = D.length);
7384
+ k.literal ? D.root ? (c.push(i, D.root.value), o = D.root.length) : (c.push(i), o = 0) : (o -= no(c), c.push(i + D.value), o = D.length);
7366
7385
  break;
7367
7386
  }
7368
7387
  break;
@@ -7376,9 +7395,9 @@ function Li(e, t) {
7376
7395
  }
7377
7396
  u.length === 0 && h.length > 0 && (u.push(...h.reverse()), h.length = 0);
7378
7397
  }
7379
- let v = c.indexOf(ia);
7398
+ let v = c.indexOf(sa);
7380
7399
  if (v !== -1) {
7381
- let D = c.indexOf(ia, v + 1), b = c.slice(0, v).join(""), k = c.slice(v + 1, D).join(""), x = c.slice(D + 1).join("");
7400
+ let D = c.indexOf(sa, v + 1), b = c.slice(0, v).join(""), k = c.slice(v + 1, D).join(""), x = c.slice(D + 1).join("");
7382
7401
  return { formatted: b + k + x, cursorNodeStart: b.length, cursorNodeText: k };
7383
7402
  }
7384
7403
  return { formatted: c.join("") };
@@ -7388,9 +7407,9 @@ function Uy(e, t, n = 0) {
7388
7407
  for (let i = n; i < e.length; ++i) e[i] === " " ? r = r + t - r % t : r++;
7389
7408
  return r;
7390
7409
  }
7391
- var Fo = Uy, Bn, no, di, Wy = class {
7410
+ var Ao = Uy, Nn, ro, di, Wy = class {
7392
7411
  constructor(e) {
7393
- GD(this, Bn), this.stack = [e];
7412
+ GD(this, Nn), this.stack = [e];
7394
7413
  }
7395
7414
  get key() {
7396
7415
  let { stack: e, siblings: t } = this;
@@ -7437,7 +7456,7 @@ var Fo = Uy, Bn, no, di, Wy = class {
7437
7456
  return this.stack[0];
7438
7457
  }
7439
7458
  get ancestors() {
7440
- return [...Kr(this, Bn, di).call(this)];
7459
+ return [...Jr(this, Nn, di).call(this)];
7441
7460
  }
7442
7461
  getName() {
7443
7462
  let { stack: e } = this, { length: t } = e;
@@ -7447,7 +7466,7 @@ var Fo = Uy, Bn, no, di, Wy = class {
7447
7466
  return ze(!1, this.stack, -1);
7448
7467
  }
7449
7468
  getNode(e = 0) {
7450
- let t = Kr(this, Bn, no).call(this, e);
7469
+ let t = Jr(this, Nn, ro).call(this, e);
7451
7470
  return t === -1 ? null : this.stack[t];
7452
7471
  }
7453
7472
  getParentNode(e = 0) {
@@ -7463,7 +7482,7 @@ var Fo = Uy, Bn, no, di, Wy = class {
7463
7482
  }
7464
7483
  }
7465
7484
  callParent(e, t = 0) {
7466
- let n = Kr(this, Bn, no).call(this, t + 1), r = this.stack.splice(n + 1);
7485
+ let n = Jr(this, Nn, ro).call(this, t + 1), r = this.stack.splice(n + 1);
7467
7486
  try {
7468
7487
  return e(this);
7469
7488
  } finally {
@@ -7496,14 +7515,14 @@ var Fo = Uy, Bn, no, di, Wy = class {
7496
7515
  return !0;
7497
7516
  }
7498
7517
  findAncestor(e) {
7499
- for (let t of Kr(this, Bn, di).call(this)) if (e(t)) return t;
7518
+ for (let t of Jr(this, Nn, di).call(this)) if (e(t)) return t;
7500
7519
  }
7501
7520
  hasAncestor(e) {
7502
- for (let t of Kr(this, Bn, di).call(this)) if (e(t)) return !0;
7521
+ for (let t of Jr(this, Nn, di).call(this)) if (e(t)) return !0;
7503
7522
  return !1;
7504
7523
  }
7505
7524
  };
7506
- Bn = /* @__PURE__ */ new WeakSet(), no = function(e) {
7525
+ Nn = /* @__PURE__ */ new WeakSet(), ro = function(e) {
7507
7526
  let { stack: t } = this;
7508
7527
  for (let n = t.length - 1; n >= 0; n -= 2) if (!Array.isArray(t[n]) && --e < 0) return n;
7509
7528
  return -1;
@@ -7515,7 +7534,7 @@ Bn = /* @__PURE__ */ new WeakSet(), no = function(e) {
7515
7534
  }
7516
7535
  };
7517
7536
  var zy = Wy, jp = new Proxy(() => {
7518
- }, { get: () => jp }), ro = jp;
7537
+ }, { get: () => jp }), ao = jp;
7519
7538
  function Vy(e) {
7520
7539
  return e !== null && typeof e == "object";
7521
7540
  }
@@ -7550,7 +7569,7 @@ function Ca(e) {
7550
7569
  return u === -1 || u === o ? u : !1;
7551
7570
  };
7552
7571
  }
7553
- var Ky = Ca(/\s/u), Dn = Ca(" "), Lp = Ca(",; "), Op = Ca(/[^\n\r]/u);
7572
+ var Ky = Ca(/\s/u), yn = Ca(" "), Lp = Ca(",; "), Op = Ca(/[^\n\r]/u);
7554
7573
  function Jy(e, t, n) {
7555
7574
  let r = !!(n != null && n.backwards);
7556
7575
  if (t === !1) return !1;
@@ -7570,7 +7589,7 @@ function Jy(e, t, n) {
7570
7589
  }
7571
7590
  var qn = Jy;
7572
7591
  function Xy(e, t, n = {}) {
7573
- let r = Dn(e, n.backwards ? t - 1 : t, n), i = qn(e, r, n);
7592
+ let r = yn(e, n.backwards ? t - 1 : t, n), i = qn(e, r, n);
7574
7593
  return r !== i;
7575
7594
  }
7576
7595
  var mn = Xy;
@@ -7586,28 +7605,28 @@ function n0(e) {
7586
7605
  let t = e.type || e.kind || "(unknown type)", n = String(e.name || e.id && (typeof e.id == "object" ? e.id.name : e.id) || e.key && (typeof e.key == "object" ? e.key.name : e.key) || e.value && (typeof e.value == "object" ? "" : String(e.value)) || e.operator || "");
7587
7606
  return n.length > 20 && (n = n.slice(0, 19) + "…"), t + (n ? " " + n : "");
7588
7607
  }
7589
- function Ao(e, t) {
7608
+ function $o(e, t) {
7590
7609
  (e.comments ?? (e.comments = [])).push(t), t.printed = !1, t.nodeDescription = n0(e);
7591
7610
  }
7592
7611
  function ur(e, t) {
7593
- t.leading = !0, t.trailing = !1, Ao(e, t);
7612
+ t.leading = !0, t.trailing = !1, $o(e, t);
7594
7613
  }
7595
- function Nn(e, t, n) {
7596
- t.leading = !1, t.trailing = !1, n && (t.marker = n), Ao(e, t);
7614
+ function jn(e, t, n) {
7615
+ t.leading = !1, t.trailing = !1, n && (t.marker = n), $o(e, t);
7597
7616
  }
7598
7617
  function cr(e, t) {
7599
- t.leading = !1, t.trailing = !0, Ao(e, t);
7618
+ t.leading = !1, t.trailing = !0, $o(e, t);
7600
7619
  }
7601
- var Bs = /* @__PURE__ */ new WeakMap();
7602
- function $o(e, t) {
7603
- if (Bs.has(e)) return Bs.get(e);
7620
+ var Ns = /* @__PURE__ */ new WeakMap();
7621
+ function To(e, t) {
7622
+ if (Ns.has(e)) return Ns.get(e);
7604
7623
  let { printer: { getCommentChildNodes: n, canAttachComment: r, getVisitorKeys: i }, locStart: o, locEnd: u } = t;
7605
7624
  if (!r) return [];
7606
- let c = ((n == null ? void 0 : n(e, t)) ?? [...Pp(e, { getVisitorKeys: Oi(i) })]).flatMap((d) => r(d) ? [d] : $o(d, t));
7607
- return c.sort((d, h) => o(d) - o(h) || u(d) - u(h)), Bs.set(e, c), c;
7625
+ let c = ((n == null ? void 0 : n(e, t)) ?? [...Pp(e, { getVisitorKeys: Oi(i) })]).flatMap((d) => r(d) ? [d] : To(d, t));
7626
+ return c.sort((d, h) => o(d) - o(h) || u(d) - u(h)), Ns.set(e, c), c;
7608
7627
  }
7609
7628
  function Mp(e, t, n, r) {
7610
- let { locStart: i, locEnd: o } = n, u = i(t), c = o(t), d = $o(e, n), h, g, v = 0, D = d.length;
7629
+ let { locStart: i, locEnd: o } = n, u = i(t), c = o(t), d = To(e, n), h, g, v = 0, D = d.length;
7611
7630
  for (; v < D; ) {
7612
7631
  let b = v + D >> 1, k = d[b], x = i(k), C = o(k);
7613
7632
  if (x <= u && c <= C) return Mp(k, t, n, k);
@@ -7622,16 +7641,16 @@ function Mp(e, t, n, r) {
7622
7641
  throw new Error("Comment location overlaps with node location");
7623
7642
  }
7624
7643
  if ((r == null ? void 0 : r.type) === "TemplateLiteral") {
7625
- let { quasis: b } = r, k = js(b, t, n);
7626
- h && js(b, h, n) !== k && (h = null), g && js(b, g, n) !== k && (g = null);
7644
+ let { quasis: b } = r, k = Ps(b, t, n);
7645
+ h && Ps(b, h, n) !== k && (h = null), g && Ps(b, g, n) !== k && (g = null);
7627
7646
  }
7628
7647
  return { enclosingNode: r, precedingNode: h, followingNode: g };
7629
7648
  }
7630
- var Ns = () => !1;
7649
+ var js = () => !1;
7631
7650
  function r0(e, t) {
7632
7651
  let { comments: n } = e;
7633
7652
  if (delete e.comments, !Zy(n) || !t.printer.canAttachComment) return;
7634
- let r = [], { locStart: i, locEnd: o, printer: { experimentalFeatures: { avoidAstMutation: u = !1 } = {}, handleComments: c = {} }, originalText: d } = t, { ownLine: h = Ns, endOfLine: g = Ns, remaining: v = Ns } = c, D = n.map((b, k) => ({ ...Mp(e, b, t), comment: b, text: d, options: t, ast: e, isLastComment: n.length - 1 === k }));
7653
+ let r = [], { locStart: i, locEnd: o, printer: { experimentalFeatures: { avoidAstMutation: u = !1 } = {}, handleComments: c = {} }, originalText: d } = t, { ownLine: h = js, endOfLine: g = js, remaining: v = js } = c, D = n.map((b, k) => ({ ...Mp(e, b, t), comment: b, text: d, options: t, ast: e, isLastComment: n.length - 1 === k }));
7635
7654
  for (let [b, k] of D.entries()) {
7636
7655
  let { comment: x, precedingNode: C, enclosingNode: T, followingNode: E, text: _, options: F, ast: A, isLastComment: $ } = k;
7637
7656
  if (F.parser === "json" || F.parser === "json5" || F.parser === "jsonc" || F.parser === "__js_expression" || F.parser === "__ts_expression" || F.parser === "__vue_expression" || F.parser === "__vue_ts_expression") {
@@ -7645,12 +7664,12 @@ function r0(e, t) {
7645
7664
  }
7646
7665
  }
7647
7666
  let P;
7648
- if (u ? P = [k] : (x.enclosingNode = T, x.precedingNode = C, x.followingNode = E, P = [x, _, F, A, $]), a0(_, F, D, b)) x.placement = "ownLine", h(...P) || (E ? ur(E, x) : C ? cr(C, x) : Nn(T || A, x));
7649
- else if (i0(_, F, D, b)) x.placement = "endOfLine", g(...P) || (C ? cr(C, x) : E ? ur(E, x) : Nn(T || A, x));
7667
+ if (u ? P = [k] : (x.enclosingNode = T, x.precedingNode = C, x.followingNode = E, P = [x, _, F, A, $]), a0(_, F, D, b)) x.placement = "ownLine", h(...P) || (E ? ur(E, x) : C ? cr(C, x) : jn(T || A, x));
7668
+ else if (i0(_, F, D, b)) x.placement = "endOfLine", g(...P) || (C ? cr(C, x) : E ? ur(E, x) : jn(T || A, x));
7650
7669
  else if (x.placement = "remaining", !v(...P)) if (C && E) {
7651
7670
  let I = r.length;
7652
7671
  I > 0 && r[I - 1].followingNode !== E && Xu(r, F), r.push(k);
7653
- } else C ? cr(C, x) : E ? ur(E, x) : Nn(T || A, x);
7672
+ } else C ? cr(C, x) : E ? ur(E, x) : jn(T || A, x);
7654
7673
  }
7655
7674
  if (Xu(r, t), !u) for (let b of n) delete b.precedingNode, delete b.enclosingNode, delete b.followingNode;
7656
7675
  }
@@ -7680,7 +7699,7 @@ function Xu(e, t) {
7680
7699
  let { precedingNode: o, followingNode: u } = e[0], c = t.locStart(u), d;
7681
7700
  for (d = i; d > 0; --d) {
7682
7701
  let { comment: h, precedingNode: g, followingNode: v } = e[d - 1];
7683
- ro.strictEqual(g, o), ro.strictEqual(v, u);
7702
+ ao.strictEqual(g, o), ao.strictEqual(v, u);
7684
7703
  let D = t.originalText.slice(t.locEnd(h), c);
7685
7704
  if (((r = (n = t.printer).isGap) == null ? void 0 : r.call(n, D, t)) ?? /^[\s(]*$/u.test(D)) c = t.locStart(h);
7686
7705
  else break;
@@ -7689,18 +7708,18 @@ function Xu(e, t) {
7689
7708
  for (let h of [o, u]) h.comments && h.comments.length > 1 && h.comments.sort((g, v) => t.locStart(g) - t.locStart(v));
7690
7709
  e.length = 0;
7691
7710
  }
7692
- function js(e, t, n) {
7711
+ function Ps(e, t, n) {
7693
7712
  let r = n.locStart(t) - 1;
7694
7713
  for (let i = 1; i < e.length; ++i) if (r < n.locStart(e[i])) return i - 1;
7695
7714
  return 0;
7696
7715
  }
7697
7716
  function s0(e, t) {
7698
7717
  let n = t - 1;
7699
- n = Dn(e, n, { backwards: !0 }), n = qn(e, n, { backwards: !0 }), n = Dn(e, n, { backwards: !0 });
7718
+ n = yn(e, n, { backwards: !0 }), n = qn(e, n, { backwards: !0 }), n = yn(e, n, { backwards: !0 });
7700
7719
  let r = qn(e, n, { backwards: !0 });
7701
7720
  return n !== r;
7702
7721
  }
7703
- var To = s0;
7722
+ var Bo = s0;
7704
7723
  function qp(e, t) {
7705
7724
  let n = e.node;
7706
7725
  return n.printed = !0, t.printer.printComment(e, t);
@@ -7709,20 +7728,20 @@ function o0(e, t) {
7709
7728
  var n;
7710
7729
  let r = e.node, i = [qp(e, t)], { printer: o, originalText: u, locStart: c, locEnd: d } = t;
7711
7730
  if ((n = o.isBlockComment) != null && n.call(o, r)) {
7712
- let g = mn(u, d(r)) ? mn(u, c(r), { backwards: !0 }) ? Ln : Ep : " ";
7731
+ let g = mn(u, d(r)) ? mn(u, c(r), { backwards: !0 }) ? On : Ep : " ";
7713
7732
  i.push(g);
7714
- } else i.push(Ln);
7715
- let h = qn(u, Dn(u, d(r)));
7716
- return h !== !1 && mn(u, h) && i.push(Ln), i;
7733
+ } else i.push(On);
7734
+ let h = qn(u, yn(u, d(r)));
7735
+ return h !== !1 && mn(u, h) && i.push(On), i;
7717
7736
  }
7718
7737
  function l0(e, t, n) {
7719
7738
  var r;
7720
7739
  let i = e.node, o = qp(e, t), { printer: u, originalText: c, locStart: d } = t, h = (r = u.isBlockComment) == null ? void 0 : r.call(u, i);
7721
7740
  if (n != null && n.hasLineSuffix && !(n != null && n.isBlock) || mn(c, d(i), { backwards: !0 })) {
7722
- let g = To(c, d(i));
7723
- return { doc: Qs([Ln, g ? Ln : "", o]), isBlock: h, hasLineSuffix: !0 };
7741
+ let g = Bo(c, d(i));
7742
+ return { doc: Zs([On, g ? On : "", o]), isBlock: h, hasLineSuffix: !0 };
7724
7743
  }
7725
- return !h || n != null && n.hasLineSuffix ? { doc: [Qs([" ", o]), ji], isBlock: h, hasLineSuffix: !0 } : { doc: [" ", o], isBlock: h, hasLineSuffix: !1 };
7744
+ return !h || n != null && n.hasLineSuffix ? { doc: [Zs([" ", o]), ji], isBlock: h, hasLineSuffix: !0 } : { doc: [" ", o], isBlock: h, hasLineSuffix: !1 };
7726
7745
  }
7727
7746
  function u0(e, t) {
7728
7747
  let n = e.node;
@@ -7807,10 +7826,10 @@ var D0 = v0, pr = { key: (e) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e) ? e : JSON.
7807
7826
  if (Array.isArray(e)) return `[${e.map((n) => pr.value(n)).join(", ")}]`;
7808
7827
  let t = Object.keys(e);
7809
7828
  return t.length === 0 ? "{}" : `{ ${t.map((n) => `${pr.key(n)}: ${pr.value(e[n])}`).join(", ")} }`;
7810
- }, pair: ({ key: e, value: t }) => pr.value({ [e]: t }) }, ec = Bi(wo()), y0 = (e, t, { descriptor: n }) => {
7829
+ }, pair: ({ key: e, value: t }) => pr.value({ [e]: t }) }, ec = Bi(Co()), y0 = (e, t, { descriptor: n }) => {
7811
7830
  let r = [`${ec.default.yellow(typeof e == "string" ? n.key(e) : n.pair(e))} is deprecated`];
7812
7831
  return t && r.push(`we now treat it as ${ec.default.blue(typeof t == "string" ? n.key(t) : n.pair(t))}`), r.join("; ") + ".";
7813
- }, dr = Bi(wo()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"), hi = Symbol.for("vnopts.VALUE_UNCHANGED"), tc = " ".repeat(2), b0 = (e, t, n) => {
7832
+ }, dr = Bi(Co()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"), hi = Symbol.for("vnopts.VALUE_UNCHANGED"), tc = " ".repeat(2), b0 = (e, t, n) => {
7814
7833
  let { text: r, list: i } = n.normalizeExpectedResult(n.schemas[e].expected(n)), o = [];
7815
7834
  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(`
7816
7835
  `)), Vp(o, n.loggerPrintWidth);
@@ -7829,7 +7848,7 @@ function Vp(e, t) {
7829
7848
  `, 1)[0].length);
7830
7849
  return i > t && i > o ? r : n;
7831
7850
  }
7832
- var rc = Bi(wo()), Ps = [], ac = [];
7851
+ var rc = Bi(Co()), Ls = [], ac = [];
7833
7852
  function k0(e, t) {
7834
7853
  if (e === t) return 0;
7835
7854
  let n = e;
@@ -7840,8 +7859,8 @@ function k0(e, t) {
7840
7859
  for (; o < r && e.charCodeAt(o) === t.charCodeAt(o); ) o++;
7841
7860
  if (r -= o, i -= o, r === 0) return i;
7842
7861
  let u, c, d, h, g = 0, v = 0;
7843
- for (; g < r; ) ac[g] = e.charCodeAt(o + g), Ps[g] = ++g;
7844
- for (; v < i; ) for (u = t.charCodeAt(o + v), d = v++, c = v, g = 0; g < r; g++) h = u === ac[g] ? d : d + 1, d = Ps[g], c = Ps[g] = d > c ? h > c ? c + 1 : h : h > d ? d + 1 : h;
7862
+ for (; g < r; ) ac[g] = e.charCodeAt(o + g), Ls[g] = ++g;
7863
+ for (; v < i; ) for (u = t.charCodeAt(o + v), d = v++, c = v, g = 0; g < r; g++) h = u === ac[g] ? d : d + 1, d = Ls[g], c = Ls[g] = d > c ? h > c ? c + 1 : h : h > d ? d + 1 : h;
7845
7864
  return c;
7846
7865
  }
7847
7866
  var Gp = (e, t, { descriptor: n, logger: r, schemas: i }) => {
@@ -7850,10 +7869,10 @@ var Gp = (e, t, { descriptor: n, logger: r, schemas: i }) => {
7850
7869
  }, w0 = ["default", "expected", "validate", "deprecated", "forward", "redirect", "overlap", "preprocess", "postprocess"];
7851
7870
  function C0(e, t) {
7852
7871
  let n = new e(t), r = Object.create(n);
7853
- for (let i of w0) i in t && (r[i] = x0(t[i], n, bn.prototype[i].length));
7872
+ for (let i of w0) i in t && (r[i] = x0(t[i], n, kn.prototype[i].length));
7854
7873
  return r;
7855
7874
  }
7856
- var bn = class {
7875
+ var kn = class {
7857
7876
  static create(e) {
7858
7877
  return C0(this, e);
7859
7878
  }
@@ -7888,7 +7907,7 @@ var bn = class {
7888
7907
  function x0(e, t, n) {
7889
7908
  return typeof e == "function" ? (...r) => e(...r.slice(0, n - 1), t, ...r.slice(n - 1)) : () => e;
7890
7909
  }
7891
- var _0 = class extends bn {
7910
+ var _0 = class extends kn {
7892
7911
  constructor(e) {
7893
7912
  super(e), this._sourceName = e.sourceName;
7894
7913
  }
@@ -7901,14 +7920,14 @@ var _0 = class extends bn {
7901
7920
  redirect(e, t) {
7902
7921
  return this._sourceName;
7903
7922
  }
7904
- }, S0 = class extends bn {
7923
+ }, S0 = class extends kn {
7905
7924
  expected() {
7906
7925
  return "anything";
7907
7926
  }
7908
7927
  validate() {
7909
7928
  return !0;
7910
7929
  }
7911
- }, E0 = class extends bn {
7930
+ }, E0 = class extends kn {
7912
7931
  constructor({ valueSchema: e, name: t = e.name, ...n }) {
7913
7932
  super({ ...n, name: t }), this._valueSchema = e;
7914
7933
  }
@@ -7956,7 +7975,7 @@ var _0 = class extends bn {
7956
7975
  function ic({ from: e, to: t }) {
7957
7976
  return { from: [e], to: t };
7958
7977
  }
7959
- var F0 = class extends bn {
7978
+ var F0 = class extends kn {
7960
7979
  expected() {
7961
7980
  return "true or false";
7962
7981
  }
@@ -8025,17 +8044,17 @@ function lc(e, t, n = !1) {
8025
8044
  function uc(e, t) {
8026
8045
  return typeof e == "string" || "key" in e ? { from: t, to: e } : "from" in e ? { from: e.from, to: e.to } : { from: t, to: e.to };
8027
8046
  }
8028
- function ao(e, t) {
8047
+ function io(e, t) {
8029
8048
  return e === void 0 ? [] : Array.isArray(e) ? e.map((n) => uc(n, t)) : [uc(e, t)];
8030
8049
  }
8031
8050
  function cc(e, t) {
8032
- let n = ao(typeof e == "object" && "redirect" in e ? e.redirect : e, t);
8051
+ let n = io(typeof e == "object" && "redirect" in e ? e.redirect : e, t);
8033
8052
  return n.length === 0 ? { remain: t, redirect: n } : typeof e == "object" && "remain" in e ? { remain: e.remain, redirect: n } : { redirect: n };
8034
8053
  }
8035
8054
  function L0(e, t) {
8036
8055
  if (!e) throw new Error(t);
8037
8056
  }
8038
- var O0 = class extends bn {
8057
+ var O0 = class extends kn {
8039
8058
  constructor(e) {
8040
8059
  super(e), this._choices = $0(e.choices.map((t) => t && typeof t == "object" ? t : { value: t }), "value");
8041
8060
  }
@@ -8058,7 +8077,7 @@ var O0 = class extends bn {
8058
8077
  let t = this._choices.get(e);
8059
8078
  return t ? t.redirect : void 0;
8060
8079
  }
8061
- }, I0 = class extends bn {
8080
+ }, I0 = class extends kn {
8062
8081
  expected() {
8063
8082
  return "a number";
8064
8083
  }
@@ -8072,7 +8091,7 @@ var O0 = class extends bn {
8072
8091
  validate(e, t) {
8073
8092
  return t.normalizeValidateResult(super.validate(e, t), e) === !0 && N0(e);
8074
8093
  }
8075
- }, pc = class extends bn {
8094
+ }, pc = class extends kn {
8076
8095
  expected() {
8077
8096
  return "a string";
8078
8097
  }
@@ -8083,7 +8102,7 @@ var O0 = class extends bn {
8083
8102
  constructor(e, t) {
8084
8103
  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 || {};
8085
8104
  this._utils = { descriptor: i, logger: n || { warn: () => {
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();
8105
+ } }, loggerPrintWidth: r, schemas: A0(e, "name"), normalizeDefaultResult: sc, normalizeExpectedResult: Yp, normalizeDeprecatedResult: lc, normalizeForwardResult: io, 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();
8087
8106
  }
8088
8107
  cleanHistory() {
8089
8108
  this._hasDeprecationWarned = T0();
@@ -8129,7 +8148,7 @@ var O0 = class extends bn {
8129
8148
  }
8130
8149
  }
8131
8150
  };
8132
- ao(u.forward(c, this._utils), c).forEach(d);
8151
+ io(u.forward(c, this._utils), c).forEach(d);
8133
8152
  let g = cc(u.redirect(c, this._utils), c);
8134
8153
  if (g.redirect.forEach(d), "remain" in g) {
8135
8154
  let v = g.remain;
@@ -8184,7 +8203,7 @@ var O0 = class extends bn {
8184
8203
  }
8185
8204
  }
8186
8205
  }
8187
- }, Ls;
8206
+ }, Os;
8188
8207
  function z0(e, t, { logger: n = !1, isCLI: r = !1, passThrough: i = !1, FlagSchema: o, descriptor: u } = {}) {
8189
8208
  if (r) {
8190
8209
  if (!o) throw new Error("'FlagSchema' option is required.");
@@ -8194,9 +8213,9 @@ function z0(e, t, { logger: n = !1, isCLI: r = !1, passThrough: i = !1, FlagSche
8194
8213
  let { _: x, ...C } = k.schemas;
8195
8214
  return Gp(D, b, { ...k, schemas: C });
8196
8215
  }, d = V0(t, { isCLI: r, FlagSchema: o }), h = new W0(d, { logger: n, unknown: c, descriptor: u }), g = n !== !1;
8197
- g && Ls && (h._hasDeprecationWarned = Ls);
8216
+ g && Os && (h._hasDeprecationWarned = Os);
8198
8217
  let v = h.normalize(e);
8199
- return g && (Ls = h._hasDeprecationWarned), v;
8218
+ return g && (Os = h._hasDeprecationWarned), v;
8200
8219
  }
8201
8220
  function V0(e, { isCLI: t, FlagSchema: n }) {
8202
8221
  let r = [];
@@ -8284,7 +8303,7 @@ async function Q0(e, t = {}) {
8284
8303
  for (let [D, b] of Object.entries(v)) (r[D] === null || r[D] === void 0) && (r[D] = b);
8285
8304
  return r.parser === "json" && (r.trailingComma = "none"), Y0(r, i, { passThrough: Object.keys(dc), ...t });
8286
8305
  }
8287
- var wr = Q0, Z0 = Bi(JD());
8306
+ var Cr = Q0, Z0 = Bi(JD());
8288
8307
  async function eb(e, t) {
8289
8308
  let n = await Xp(t), r = n.preprocess ? n.preprocess(e, t) : e;
8290
8309
  t.originalText = r;
@@ -8339,7 +8358,7 @@ async function nb(e, t, n, r, i) {
8339
8358
  }
8340
8359
  }
8341
8360
  async function rb(e, t, n, r) {
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);
8361
+ let i = await Cr({ ...n, ...t, parentParser: n.parser, originalText: e }, { passThrough: !0 }), { ast: o } = await xa(e, i), u = await r(o, i);
8343
8362
  return Tp(u);
8344
8363
  }
8345
8364
  function ab(e, t) {
@@ -8369,7 +8388,7 @@ async function Ii(e, t) {
8369
8388
  function hc(e, t, n, r, i) {
8370
8389
  var o;
8371
8390
  let { node: u } = e, { printer: c } = t, d;
8372
- return (o = c.hasPrettierIgnore) != null && o.call(c, e) ? d = ib(e, t) : i.has(u) ? d = i.get(u) : d = c.print(e, t, n, r), u === t.cursorNode && (d = Bp(d, (h) => [Zs, h, Zs])), c.printComment && (!c.willPrintOwnComments || !c.willPrintOwnComments(e, t)) && (d = c0(e, d, t)), d;
8391
+ return (o = c.hasPrettierIgnore) != null && o.call(c, e) ? d = ib(e, t) : i.has(u) ? d = i.get(u) : d = c.print(e, t, n, r), u === t.cursorNode && (d = Bp(d, (h) => [eo, h, eo])), c.printComment && (!c.willPrintOwnComments || !c.willPrintOwnComments(e, t)) && (d = c0(e, d, t)), d;
8373
8392
  }
8374
8393
  async function Zp(e, t) {
8375
8394
  let n = e.comments ?? [];
@@ -8429,11 +8448,11 @@ function fb(e, t, { locStart: n, locEnd: r }) {
8429
8448
  }
8430
8449
  return { startNode: i, endNode: o };
8431
8450
  }
8432
- function io(e, t, n, r, i = [], o) {
8451
+ function so(e, t, n, r, i = [], o) {
8433
8452
  let { locStart: u, locEnd: c } = n, d = u(e), h = c(e);
8434
8453
  if (!(t > h || t < d || o === "rangeEnd" && t === d || o === "rangeStart" && t === h)) {
8435
- for (let g of $o(e, n)) {
8436
- let v = io(g, t, n, r, [e, ...i], o);
8454
+ for (let g of To(e, n)) {
8455
+ let v = so(g, t, n, r, [e, ...i], o);
8437
8456
  if (v) return v;
8438
8457
  }
8439
8458
  if (!r || r(e, i[0])) return { node: e, parentNodes: i };
@@ -8470,10 +8489,10 @@ function mc(e, t, n) {
8470
8489
  }
8471
8490
  function vb(e, t, n) {
8472
8491
  let { rangeStart: r, rangeEnd: i, locStart: o, locEnd: u } = t;
8473
- ro.ok(i > r);
8492
+ ao.ok(i > r);
8474
8493
  let c = e.slice(r, i).search(/\S/u), d = c === -1;
8475
8494
  if (!d) for (r += c; i > r && !/\S/u.test(e[i - 1]); --i) ;
8476
- let h = io(n, r, t, (b, k) => mc(t, b, k), [], "rangeStart"), g = d ? h : io(n, i, t, (b) => mc(t, b), [], "rangeEnd");
8495
+ let h = so(n, r, t, (b, k) => mc(t, b, k), [], "rangeStart"), g = d ? h : so(n, i, t, (b) => mc(t, b), [], "rangeEnd");
8477
8496
  if (!h || !g) return { rangeStart: 0, rangeEnd: 0 };
8478
8497
  let v, D;
8479
8498
  if (db(t)) {
@@ -8488,11 +8507,11 @@ async function nd(e, t, n = 0) {
8488
8507
  let { ast: r, text: i } = await xa(e, t);
8489
8508
  t.cursorOffset >= 0 && (t.cursorNode = ob(r, t));
8490
8509
  let o = await Ii(r, t);
8491
- n > 0 && (o = $p([Ln, o], n, t.tabWidth));
8510
+ n > 0 && (o = $p([On, o], n, t.tabWidth));
8492
8511
  let u = Li(o, t);
8493
8512
  if (n > 0) {
8494
8513
  let d = u.formatted.trim();
8495
- u.cursorNodeStart !== void 0 && (u.cursorNodeStart -= u.formatted.indexOf(d)), u.formatted = d + Co(t.endOfLine);
8514
+ u.cursorNodeStart !== void 0 && (u.cursorNodeStart -= u.formatted.indexOf(d)), u.formatted = d + xo(t.endOfLine);
8496
8515
  }
8497
8516
  let c = t[Symbol.for("comments")];
8498
8517
  if (t.cursorOffset >= 0) {
@@ -8510,11 +8529,11 @@ async function nd(e, t, n = 0) {
8510
8529
  }
8511
8530
  async function Db(e, t) {
8512
8531
  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(`
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;
8532
+ `, i) + 1), d = r.slice(c, i).match(/^\s*/u)[0], h = Ao(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;
8514
8533
  D > o ? D += v.length - u.length : g.cursorOffset >= 0 && (D = g.cursorOffset + i);
8515
8534
  let b = r.slice(0, i) + v + r.slice(o);
8516
8535
  if (t.endOfLine !== "lf") {
8517
- let k = Co(t.endOfLine);
8536
+ let k = xo(t.endOfLine);
8518
8537
  D >= 0 && k === `\r
8519
8538
  ` && (D += wp(b.slice(0, D), `
8520
8539
  `)), b = Ni(!1, b, `
@@ -8522,12 +8541,12 @@ async function Db(e, t) {
8522
8541
  }
8523
8542
  return { formatted: b, cursorOffset: D, comments: g.comments };
8524
8543
  }
8525
- function Os(e, t, n) {
8544
+ function Is(e, t, n) {
8526
8545
  return typeof t != "number" || Number.isNaN(t) || t < 0 || t > e.length ? n : t;
8527
8546
  }
8528
8547
  function vc(e, t) {
8529
8548
  let { cursorOffset: n, rangeStart: r, rangeEnd: i } = t;
8530
- return n = Os(e, n, -1), r = Os(e, r, 0), i = Os(e, i, e.length), { ...t, cursorOffset: n, rangeStart: r, rangeEnd: i };
8549
+ return n = Is(e, n, -1), r = Is(e, r, 0), i = Is(e, i, e.length), { ...t, cursorOffset: n, rangeStart: r, rangeEnd: i };
8531
8550
  }
8532
8551
  function rd(e, t) {
8533
8552
  let { cursorOffset: n, rangeStart: r, rangeEnd: i, endOfLine: o } = vc(e, t), u = e.charAt(0) === td;
@@ -8543,17 +8562,17 @@ async function Dc(e, t) {
8543
8562
  return !n.hasPragma || n.hasPragma(e);
8544
8563
  }
8545
8564
  async function ad(e, t) {
8546
- let { hasBOM: n, text: r, options: i } = rd(e, await wr(t));
8565
+ let { hasBOM: n, text: r, options: i } = rd(e, await Cr(t));
8547
8566
  if (i.rangeStart >= i.rangeEnd && r !== "" || i.requirePragma && !await Dc(r, i)) return { formatted: e, cursorOffset: t.cursorOffset, comments: [] };
8548
8567
  let o;
8549
8568
  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;
8550
8569
  }
8551
8570
  async function yb(e, t, n) {
8552
- let { text: r, options: i } = rd(e, await wr(t)), o = await xa(r, i);
8571
+ let { text: r, options: i } = rd(e, await Cr(t)), o = await xa(r, i);
8553
8572
  return n && (n.preprocessForPrint && (o.ast = await Zp(o.ast, i)), n.massage && (o.ast = ub(o.ast, i))), o;
8554
8573
  }
8555
8574
  async function bb(e, t) {
8556
- t = await wr(t);
8575
+ t = await Cr(t);
8557
8576
  let n = await Ii(e, t);
8558
8577
  return Li(n, t);
8559
8578
  }
@@ -8562,17 +8581,17 @@ async function kb(e, t) {
8562
8581
  return r;
8563
8582
  }
8564
8583
  async function wb(e, t) {
8565
- t = await wr(t);
8584
+ t = await Cr(t);
8566
8585
  let { ast: n } = await xa(e, t);
8567
8586
  return Ii(n, t);
8568
8587
  }
8569
8588
  async function Cb(e, t) {
8570
- return Li(e, await wr(t));
8589
+ return Li(e, await Cr(t));
8571
8590
  }
8572
8591
  var id = {};
8573
8592
  Ti(id, { builders: () => xb, printer: () => _b, utils: () => Sb });
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 });
8593
+ var xb = { join: Ap, line: Ep, softline: ky, hardline: On, literalline: Fp, group: xp, conditionalGroup: gy, fill: _p, lineSuffix: Zs, lineSuffixBoundary: yy, cursor: eo, breakParent: ji, ifBreak: vy, trim: by, indent: Ci, indentIfBreak: Dy, align: yr, addAlignmentToDoc: $p, markAsRoot: fy, dedentToRoot: hy, dedent: my, hardlineWithoutBreakParent: So, literallineWithoutBreakParent: Sp, label: wy, concat: (e) => e }, _b = { printDocToString: Li }, Sb = { willBreak: By, traverseDoc: _o, findInDoc: Fo, mapDoc: Pi, removeLines: Py, stripTrailingHardline: Tp, replaceEndOfLine: Iy, canBreak: Ry }, Eb = "3.3.3", sd = {};
8594
+ Ti(sd, { addDanglingComment: () => jn, addLeadingComment: () => ur, addTrailingComment: () => cr, getAlignmentSize: () => Ao, getIndentSize: () => Nb, getMaxContinuousCount: () => Lb, getNextNonSpaceNonCommentCharacter: () => Ib, getNextNonSpaceNonCommentCharacterIndex: () => Vb, getStringWidth: () => Eo, hasNewline: () => mn, hasNewlineInRange: () => Rb, hasSpaces: () => Hb, isNextLineEmpty: () => Jb, isNextLineEmptyAfterIndex: () => Lo, isPreviousLineEmpty: () => Yb, makeString: () => Wb, skip: () => Ca, skipEverythingButNewLine: () => Op, skipInlineComment: () => No, skipNewline: () => qn, skipSpaces: () => yn, skipToLineEnd: () => Lp, skipTrailingComment: () => jo, skipWhitespace: () => Ky });
8576
8595
  function Fb(e, t) {
8577
8596
  if (t === !1) return !1;
8578
8597
  if (e.charAt(t) === "/" && e.charAt(t + 1) === "*") {
@@ -8580,27 +8599,27 @@ function Fb(e, t) {
8580
8599
  }
8581
8600
  return t;
8582
8601
  }
8583
- var Bo = Fb;
8602
+ var No = Fb;
8584
8603
  function Ab(e, t) {
8585
8604
  return t === !1 ? !1 : e.charAt(t) === "/" && e.charAt(t + 1) === "/" ? Op(e, t) : t;
8586
8605
  }
8587
- var No = Ab;
8606
+ var jo = Ab;
8588
8607
  function $b(e, t) {
8589
8608
  let n = null, r = t;
8590
- for (; r !== n; ) n = r, r = Dn(e, r), r = Bo(e, r), r = No(e, r), r = qn(e, r);
8609
+ for (; r !== n; ) n = r, r = yn(e, r), r = No(e, r), r = jo(e, r), r = qn(e, r);
8591
8610
  return r;
8592
8611
  }
8593
- var jo = $b;
8612
+ var Po = $b;
8594
8613
  function Tb(e, t) {
8595
8614
  let n = null, r = t;
8596
- for (; r !== n; ) n = r, r = Lp(e, r), r = Bo(e, r), r = Dn(e, r);
8597
- return r = No(e, r), r = qn(e, r), r !== !1 && mn(e, r);
8615
+ for (; r !== n; ) n = r, r = Lp(e, r), r = No(e, r), r = yn(e, r);
8616
+ return r = jo(e, r), r = qn(e, r), r !== !1 && mn(e, r);
8598
8617
  }
8599
- var Po = Tb;
8618
+ var Lo = Tb;
8600
8619
  function Bb(e, t) {
8601
8620
  let n = e.lastIndexOf(`
8602
8621
  `);
8603
- return n === -1 ? 0 : Fo(e.slice(n + 1).match(/^[\t ]*/u)[0], t);
8622
+ return n === -1 ? 0 : Ao(e.slice(n + 1).match(/^[\t ]*/u)[0], t);
8604
8623
  }
8605
8624
  var Nb = Bb;
8606
8625
  function jb(e) {
@@ -8613,7 +8632,7 @@ function Pb(e, t) {
8613
8632
  }
8614
8633
  var Lb = Pb;
8615
8634
  function Ob(e, t) {
8616
- let n = jo(e, t);
8635
+ let n = Po(e, t);
8617
8636
  return n === !1 ? "" : e.charAt(n);
8618
8637
  }
8619
8638
  var Ib = Ob;
@@ -8624,7 +8643,7 @@ function Mb(e, t, n) {
8624
8643
  }
8625
8644
  var Rb = Mb;
8626
8645
  function qb(e, t, n = {}) {
8627
- return Dn(e, n.backwards ? t - 1 : t, n) !== t;
8646
+ return yn(e, n.backwards ? t - 1 : t, n) !== t;
8628
8647
  }
8629
8648
  var Hb = qb;
8630
8649
  function Ub(e, t, n) {
@@ -8633,38 +8652,38 @@ function Ub(e, t, n) {
8633
8652
  }
8634
8653
  var Wb = Ub;
8635
8654
  function zb(e, t, n) {
8636
- return jo(e, n(t));
8655
+ return Po(e, n(t));
8637
8656
  }
8638
8657
  function Vb(e, t) {
8639
- return arguments.length === 2 || typeof t == "number" ? jo(e, t) : zb(...arguments);
8658
+ return arguments.length === 2 || typeof t == "number" ? Po(e, t) : zb(...arguments);
8640
8659
  }
8641
8660
  function Gb(e, t, n) {
8642
- return To(e, n(t));
8661
+ return Bo(e, n(t));
8643
8662
  }
8644
8663
  function Yb(e, t) {
8645
- return arguments.length === 2 || typeof t == "number" ? To(e, t) : Gb(...arguments);
8664
+ return arguments.length === 2 || typeof t == "number" ? Bo(e, t) : Gb(...arguments);
8646
8665
  }
8647
8666
  function Kb(e, t, n) {
8648
- return Po(e, n(t));
8667
+ return Lo(e, n(t));
8649
8668
  }
8650
8669
  function Jb(e, t) {
8651
- return arguments.length === 2 || typeof t == "number" ? Po(e, t) : Kb(...arguments);
8670
+ return arguments.length === 2 || typeof t == "number" ? Lo(e, t) : Kb(...arguments);
8652
8671
  }
8653
- function jn(e, t = 1) {
8672
+ function Pn(e, t = 1) {
8654
8673
  return async (...n) => {
8655
8674
  let r = n[t] ?? {}, i = r.plugins ?? [];
8656
8675
  return n[t] = { ...r, plugins: Array.isArray(i) ? i : Object.values(i) }, e(...n);
8657
8676
  };
8658
8677
  }
8659
- var od = jn(ad);
8660
- async function Lo(e, t) {
8678
+ var od = Pn(ad);
8679
+ async function Oo(e, t) {
8661
8680
  let { formatted: n } = await od(e, { ...t, cursorOffset: -1 });
8662
8681
  return n;
8663
8682
  }
8664
8683
  async function Xb(e, t) {
8665
- return await Lo(e, t) === e;
8684
+ return await Oo(e, t) === e;
8666
8685
  }
8667
- var Qb = jn(Up, 0), Zb = { parse: jn(yb), formatAST: jn(bb), formatDoc: jn(kb), printToDoc: jn(wb), printDocToString: jn(Cb) }, ld = { exports: {} };
8686
+ var Qb = Pn(Up, 0), Zb = { parse: Pn(yb), formatAST: Pn(bb), formatDoc: Pn(kb), printToDoc: Pn(wb), printDocToString: Pn(Cb) }, ld = { exports: {} };
8668
8687
  (function(e, t) {
8669
8688
  (function(n) {
8670
8689
  function r() {
@@ -8681,7 +8700,7 @@ var Qb = jn(Up, 0), Zb = { parse: jn(yb), formatAST: jn(bb), formatDoc: jn(kb),
8681
8700
  if (s && typeof s == "object" || typeof s == "function") for (let f of i(s)) !o.call(a, f) && f !== l && n(a, f, { get: () => s[f], enumerable: !(p = r(s, f)) || p.enumerable });
8682
8701
  return a;
8683
8702
  }, h = (a) => d(n({}, "__esModule", { value: !0 }), a), g = (a, s, l) => s.has(a) || u("Cannot " + l), v = (a, s, l) => (g(a, s, "read from private field"), s.get(a)), D = (a, s, l) => s.has(a) ? u("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(a) : s.set(a, l), b = (a, s, l, p) => (g(a, s, "write to private field"), s.set(a, l), l), k = {};
8684
- c(k, { languages: () => jf, options: () => Lf, parsers: () => Fl, printers: () => Hm });
8703
+ c(k, { languages: () => jf, options: () => Lf, parsers: () => Al, printers: () => Hm });
8685
8704
  var x = (a, s, l, p) => {
8686
8705
  if (!(a && s == null)) return s.replaceAll ? s.replaceAll(l, p) : l.global ? s.replace(l, p) : s.split(l).join(p);
8687
8706
  }, C = x, T = "string", E = "array", _ = "cursor", F = "indent", A = "align", $ = "trim", P = "group", I = "fill", j = "if-break", W = "indent-if-break", Y = "line-suffix", V = "line-suffix-boundary", L = "line", N = "label", q = "break-parent", X = /* @__PURE__ */ new Set([_, F, A, $, P, I, j, W, Y, V, L, N, q]);
@@ -8745,7 +8764,7 @@ Expected it to be ${p}.`;
8745
8764
  var Ri = (a, s, l) => {
8746
8765
  if (!(a && s == null)) return Array.isArray(s) || typeof s == "string" ? s[l < 0 ? s.length + l : l] : s.at(l);
8747
8766
  }, zt = Ri;
8748
- function xr(a, s) {
8767
+ function _r(a, s) {
8749
8768
  if (typeof a == "string") return s(a);
8750
8769
  let l = /* @__PURE__ */ new Map();
8751
8770
  return p(a);
@@ -8825,10 +8844,10 @@ Expected it to be ${p}.`;
8825
8844
  return a;
8826
8845
  }
8827
8846
  function Ea(a) {
8828
- return xr(a, (s) => qi(s));
8847
+ return _r(a, (s) => qi(s));
8829
8848
  }
8830
8849
  function ht(a, s = Yn) {
8831
- return xr(a, (l) => typeof l == "string" ? pn(s, l.split(`
8850
+ return _r(a, (l) => typeof l == "string" ? pn(s, l.split(`
8832
8851
  `)) : l);
8833
8852
  }
8834
8853
  var Lt = "'", Fa = '"';
@@ -8838,7 +8857,7 @@ Expected it to be ${p}.`;
8838
8857
  return f > y ? p : l;
8839
8858
  }
8840
8859
  var $a = Aa;
8841
- function _r(a) {
8860
+ function Sr(a) {
8842
8861
  if (typeof a != "string") throw new TypeError("Expected a string");
8843
8862
  return a.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
8844
8863
  }
@@ -8882,7 +8901,7 @@ Expected it to be ${p}.`;
8882
8901
  return this.trimEnd(this.trimStart(a));
8883
8902
  }
8884
8903
  split(a, s = !1) {
8885
- let l = `[${_r([...v(this, kt)].join(""))}]+`, p = new RegExp(s ? `(${l})` : l, "u");
8904
+ let l = `[${Sr([...v(this, kt)].join(""))}]+`, p = new RegExp(s ? `(${l})` : l, "u");
8886
8905
  return a.split(p);
8887
8906
  }
8888
8907
  hasWhitespaceCharacter(a) {
@@ -8906,19 +8925,19 @@ Expected it to be ${p}.`;
8906
8925
  nr(this, "name", "UnexpectedNodeError");
8907
8926
  this.node = s;
8908
8927
  }
8909
- }, Sr = Vi;
8928
+ }, Er = Vi;
8910
8929
  function Ta(a) {
8911
8930
  return (a == null ? void 0 : a.type) === "front-matter";
8912
8931
  }
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"]);
8914
- function Ar(a, s) {
8932
+ var $t = Ta, Fr = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Ar = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
8933
+ function $r(a, s) {
8915
8934
  var l;
8916
8935
  if (a.type === "text" || a.type === "comment" || $t(a) || a.type === "yaml" || a.type === "toml") return null;
8917
- if (a.type === "attribute" && delete s.value, a.type === "docType" && delete s.value, a.type === "angularControlFlowBlock" && (l = a.parameters) != null && l.children) for (let p of s.parameters.children) Fr.has(a.name) ? delete p.expression : p.expression = p.expression.trim();
8936
+ if (a.type === "attribute" && delete s.value, a.type === "docType" && delete s.value, a.type === "angularControlFlowBlock" && (l = a.parameters) != null && l.children) for (let p of s.parameters.children) Ar.has(a.name) ? delete p.expression : p.expression = p.expression.trim();
8918
8937
  a.type === "angularIcuExpression" && (s.switchValue = a.switchValue.trim()), a.type === "angularLetDeclarationInitializer" && delete s.value;
8919
8938
  }
8920
- Ar.ignoredProperties = Er;
8921
- var Gi = Ar;
8939
+ $r.ignoredProperties = Fr;
8940
+ var Gi = $r;
8922
8941
  async function Ba(a, s) {
8923
8942
  if (a.language === "yaml") {
8924
8943
  let l = a.value.trim(), p = l ? await s(l, { parser: "yaml" }) : "";
@@ -8926,7 +8945,7 @@ Expected it to be ${p}.`;
8926
8945
  }
8927
8946
  }
8928
8947
  var Yi = Ba;
8929
- function wn(a, s = !0) {
8948
+ function Cn(a, s = !0) {
8930
8949
  return [Se([je, a]), s ? je : ""];
8931
8950
  }
8932
8951
  function Vt(a, s) {
@@ -8940,7 +8959,7 @@ Expected it to be ${p}.`;
8940
8959
  f = p(S, B);
8941
8960
  });
8942
8961
  let y = await s(a, l, s);
8943
- return f ? ce(y) : wn(y);
8962
+ return f ? ce(y) : Cn(y);
8944
8963
  }
8945
8964
  function Ki(a, s, l, p) {
8946
8965
  let { node: f } = l, y = p.originalText.slice(f.sourceSpan.start.offset, f.sourceSpan.end.offset);
@@ -8987,11 +9006,11 @@ Expected it to be ${p}.`;
8987
9006
  function it(a) {
8988
9007
  return a.children && !Qe(a);
8989
9008
  }
8990
- function $r(a) {
9009
+ function Tr(a) {
8991
9010
  return Qe(a) || a.type === "interpolation" || La(a);
8992
9011
  }
8993
9012
  function La(a) {
8994
- return ol(a).startsWith("pre");
9013
+ return ll(a).startsWith("pre");
8995
9014
  }
8996
9015
  function Qi(a, s) {
8997
9016
  var l, p;
@@ -9012,27 +9031,27 @@ Expected it to be ${p}.`;
9012
9031
  return $t(a) || a.next && a.sourceSpan.end && a.sourceSpan.end.line + 1 < a.next.sourceSpan.start.line;
9013
9032
  }
9014
9033
  function Wd(a) {
9015
- return el(a) || a.type === "element" && a.children.length > 0 && (["body", "script", "style"].includes(a.name) || a.children.some((s) => Vd(s))) || a.firstChild && a.firstChild === a.lastChild && a.firstChild.type !== "text" && nl(a.firstChild) && (!a.lastChild.isTrailingSpaceSensitive || rl(a.lastChild));
9034
+ return tl(a) || a.type === "element" && a.children.length > 0 && (["body", "script", "style"].includes(a.name) || a.children.some((s) => Vd(s))) || a.firstChild && a.firstChild === a.lastChild && a.firstChild.type !== "text" && rl(a.firstChild) && (!a.lastChild.isTrailingSpaceSensitive || al(a.lastChild));
9016
9035
  }
9017
- function el(a) {
9036
+ function tl(a) {
9018
9037
  return a.type === "element" && a.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(a.name) || a.cssDisplay.startsWith("table") && a.cssDisplay !== "table-cell");
9019
9038
  }
9020
9039
  function Zi(a) {
9021
- return al(a) || a.prev && zd(a.prev) || tl(a);
9040
+ return il(a) || a.prev && zd(a.prev) || nl(a);
9022
9041
  }
9023
9042
  function zd(a) {
9024
- return al(a) || a.type === "element" && a.fullName === "br" || tl(a);
9025
- }
9026
- function tl(a) {
9027
- return nl(a) && rl(a);
9043
+ return il(a) || a.type === "element" && a.fullName === "br" || nl(a);
9028
9044
  }
9029
9045
  function nl(a) {
9030
- return a.hasLeadingSpaces && (a.prev ? a.prev.sourceSpan.end.line < a.sourceSpan.start.line : a.parent.type === "root" || a.parent.startSourceSpan.end.line < a.sourceSpan.start.line);
9046
+ return rl(a) && al(a);
9031
9047
  }
9032
9048
  function rl(a) {
9033
- return a.hasTrailingSpaces && (a.next ? a.next.sourceSpan.start.line > a.sourceSpan.end.line : a.parent.type === "root" || a.parent.endSourceSpan && a.parent.endSourceSpan.start.line > a.sourceSpan.end.line);
9049
+ return a.hasLeadingSpaces && (a.prev ? a.prev.sourceSpan.end.line < a.sourceSpan.start.line : a.parent.type === "root" || a.parent.startSourceSpan.end.line < a.sourceSpan.start.line);
9034
9050
  }
9035
9051
  function al(a) {
9052
+ return a.hasTrailingSpaces && (a.next ? a.next.sourceSpan.start.line > a.sourceSpan.end.line : a.parent.type === "root" || a.parent.endSourceSpan && a.parent.endSourceSpan.start.line > a.sourceSpan.end.line);
9053
+ }
9054
+ function il(a) {
9036
9055
  switch (a.type) {
9037
9056
  case "ieConditionalComment":
9038
9057
  case "comment":
@@ -9050,7 +9069,7 @@ Expected it to be ${p}.`;
9050
9069
  var s;
9051
9070
  return (s = a.children) == null ? void 0 : s.some((l) => l.type !== "text");
9052
9071
  }
9053
- function il(a) {
9072
+ function sl(a) {
9054
9073
  if (a) switch (a) {
9055
9074
  case "module":
9056
9075
  case "text/javascript":
@@ -9073,43 +9092,43 @@ Expected it to be ${p}.`;
9073
9092
  let { name: l, attrMap: p } = a;
9074
9093
  if (l !== "script" || Object.prototype.hasOwnProperty.call(p, "src")) return;
9075
9094
  let { type: f, lang: y } = a.attrMap;
9076
- return !y && !f ? "babel" : Kn(s, { language: y }) ?? il(f);
9095
+ return !y && !f ? "babel" : Kn(s, { language: y }) ?? sl(f);
9077
9096
  }
9078
9097
  function Yd(a, s) {
9079
9098
  if (!ts(a, s)) return;
9080
9099
  let { attrMap: l } = a;
9081
9100
  if (Object.prototype.hasOwnProperty.call(l, "src")) return;
9082
9101
  let { type: p, lang: f } = l;
9083
- return Kn(s, { language: f }) ?? il(p);
9102
+ return Kn(s, { language: f }) ?? sl(p);
9084
9103
  }
9085
9104
  function Kd(a, s) {
9086
9105
  if (a.name !== "style") return;
9087
9106
  let { lang: l } = a.attrMap;
9088
9107
  return l ? Kn(s, { language: l }) : "css";
9089
9108
  }
9090
- function sl(a, s) {
9109
+ function ol(a, s) {
9091
9110
  return Gd(a, s) ?? Kd(a, s) ?? Yd(a, s);
9092
9111
  }
9093
- function Tr(a) {
9112
+ function Br(a) {
9094
9113
  return a === "block" || a === "list-item" || a.startsWith("table");
9095
9114
  }
9096
9115
  function Jd(a) {
9097
- return !Tr(a) && a !== "inline-block";
9116
+ return !Br(a) && a !== "inline-block";
9098
9117
  }
9099
9118
  function Xd(a) {
9100
- return !Tr(a) && a !== "inline-block";
9119
+ return !Br(a) && a !== "inline-block";
9101
9120
  }
9102
9121
  function Qd(a) {
9103
- return !Tr(a);
9122
+ return !Br(a);
9104
9123
  }
9105
9124
  function Zd(a) {
9106
- return !Tr(a);
9125
+ return !Br(a);
9107
9126
  }
9108
9127
  function eh(a) {
9109
- return !Tr(a) && a !== "inline-block";
9128
+ return !Br(a) && a !== "inline-block";
9110
9129
  }
9111
9130
  function Jn(a) {
9112
- return ol(a).startsWith("pre");
9131
+ return ll(a).startsWith("pre");
9113
9132
  }
9114
9133
  function th(a, s) {
9115
9134
  let l = a;
@@ -9138,7 +9157,7 @@ Expected it to be ${p}.`;
9138
9157
  return a.type === "element" && (!a.namespace || p || me(a)) && M[a.name] || w;
9139
9158
  }
9140
9159
  }
9141
- function ol(a) {
9160
+ function ll(a) {
9142
9161
  return a.type === "element" && (!a.namespace || me(a)) && Z[a.name] || H;
9143
9162
  }
9144
9163
  function rh(a) {
@@ -9152,16 +9171,16 @@ Expected it to be ${p}.`;
9152
9171
  }
9153
9172
  return s === Number.POSITIVE_INFINITY ? 0 : s;
9154
9173
  }
9155
- function ll(a, s = rh(a)) {
9174
+ function ul(a, s = rh(a)) {
9156
9175
  return s === 0 ? a : a.split(`
9157
9176
  `).map((l) => l.slice(s)).join(`
9158
9177
  `);
9159
9178
  }
9160
- function ul(a) {
9179
+ function cl(a) {
9161
9180
  return C(!1, C(!1, a, "&apos;", "'"), "&quot;", '"');
9162
9181
  }
9163
9182
  function dn(a) {
9164
- return ul(a.value);
9183
+ return cl(a.value);
9165
9184
  }
9166
9185
  var ah = /* @__PURE__ */ new Set(["template", "style", "script"]);
9167
9186
  function Ia(a, s) {
@@ -9183,16 +9202,16 @@ Expected it to be ${p}.`;
9183
9202
  let p = l.fullName, f = a.fullName;
9184
9203
  return p === "script" && f === "setup" || p === "style" && f === "vars";
9185
9204
  }
9186
- function cl(a, s = a.value) {
9187
- return a.parent.isWhitespaceSensitive ? a.parent.isIndentationSensitive ? ht(s) : ht(ll(ae(s)), Ce) : pn(ke, xt.split(s));
9205
+ function pl(a, s = a.value) {
9206
+ return a.parent.isWhitespaceSensitive ? a.parent.isIndentationSensitive ? ht(s) : ht(ul(ae(s)), Ce) : pn(ke, xt.split(s));
9188
9207
  }
9189
- function pl(a, s) {
9208
+ function dl(a, s) {
9190
9209
  return Xn(a, s) && a.name === "script";
9191
9210
  }
9192
- var dl = /\{\{(.+?)\}\}/su;
9211
+ var hl = /\{\{(.+?)\}\}/su;
9193
9212
  async function oh(a, s) {
9194
9213
  let l = [];
9195
- for (let [p, f] of a.split(dl).entries()) if (p % 2 === 0) l.push(ht(f));
9214
+ for (let [p, f] of a.split(hl).entries()) if (p % 2 === 0) l.push(ht(f));
9196
9215
  else try {
9197
9216
  l.push(ce(["{{", Se([ke, await wt(f, s, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), ke, "}}"]));
9198
9217
  } catch {
@@ -9211,8 +9230,8 @@ Expected it to be ${p}.`;
9211
9230
  if (p.startsWith("[") && p.endsWith("]") || /^bind(?:on)?-/u.test(p) || /^ng-(?:if|show|hide|class|style)$/u.test(p)) return uh;
9212
9231
  if (p.startsWith("*")) return ch;
9213
9232
  let f = dn(l);
9214
- if (/^i18n(?:-.+)?$/u.test(p)) return () => wn(Dt(cl(l, f.trim())), !f.includes("@@"));
9215
- if (dl.test(f)) return (y) => oh(f, y);
9233
+ if (/^i18n(?:-.+)?$/u.test(p)) return () => Cn(Dt(pl(l, f.trim())), !f.includes("@@"));
9234
+ if (hl.test(f)) return (y) => oh(f, y);
9216
9235
  }
9217
9236
  var dh = ph;
9218
9237
  function hh(a, s) {
@@ -9220,11 +9239,11 @@ Expected it to be ${p}.`;
9220
9239
  if (l.fullName === "class" && !s.parentParser && !p.includes("{{")) return () => p.trim().split(/\s+/u).join(" ");
9221
9240
  }
9222
9241
  var fh = hh;
9223
- function hl(a) {
9242
+ function fl(a) {
9224
9243
  return a === " " || a === `
9225
9244
  ` || a === "\f" || a === "\r" || a === " ";
9226
9245
  }
9227
- var mh = /^[ \t\n\r\u000c]+/, gh = /^[, \t\n\r\u000c]+/, vh = /^[^ \t\n\r\u000c]+/, Dh = /[,]+$/, fl = /^\d+$/, yh = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
9246
+ var mh = /^[ \t\n\r\u000c]+/, gh = /^[, \t\n\r\u000c]+/, vh = /^[^ \t\n\r\u000c]+/, Dh = /[,]+$/, ml = /^\d+$/, yh = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
9228
9247
  function bh(a) {
9229
9248
  let s = a.length, l, p, f, y, S, B = 0, R;
9230
9249
  function G(le) {
@@ -9241,7 +9260,7 @@ Expected it to be ${p}.`;
9241
9260
  }
9242
9261
  function De() {
9243
9262
  for (G(mh), f = "", y = "in descriptor"; ; ) {
9244
- if (S = a.charAt(B), y === "in descriptor") if (hl(S)) f && (p.push(f), f = "", y = "after descriptor");
9263
+ if (S = a.charAt(B), y === "in descriptor") if (fl(S)) f && (p.push(f), f = "", y = "after descriptor");
9245
9264
  else if (S === ",") {
9246
9265
  B += 1, f && p.push(f), fe();
9247
9266
  return;
@@ -9255,7 +9274,7 @@ Expected it to be ${p}.`;
9255
9274
  p.push(f), fe();
9256
9275
  return;
9257
9276
  } else f += S;
9258
- else if (y === "after descriptor" && !hl(S)) if (S === "") {
9277
+ else if (y === "after descriptor" && !fl(S)) if (S === "") {
9259
9278
  fe();
9260
9279
  return;
9261
9280
  } else y = "in descriptor", B -= 1;
@@ -9264,7 +9283,7 @@ Expected it to be ${p}.`;
9264
9283
  }
9265
9284
  function fe() {
9266
9285
  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;
9286
+ 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), ml.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) : ml.test(Me) && We === "h" ? ((Ze || Ue) && (le = !0), lt === 0 ? le = !0 : Ze = lt) : le = !0;
9268
9287
  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);
9269
9288
  else throw new Error(`Invalid srcset descriptor found in "${a}" at "${ue}".`);
9270
9289
  }
@@ -9273,15 +9292,15 @@ Expected it to be ${p}.`;
9273
9292
  function wh(a) {
9274
9293
  if (a.node.fullName === "srcset" && (a.parent.fullName === "img" || a.parent.fullName === "source")) return () => xh(dn(a.node));
9275
9294
  }
9276
- var ml = { width: "w", height: "h", density: "x" }, Ch = Object.keys(ml);
9295
+ var gl = { width: "w", height: "h", density: "x" }, Ch = Object.keys(gl);
9277
9296
  function xh(a) {
9278
9297
  let s = kh(a), l = Ch.filter((U) => s.some((De) => Object.prototype.hasOwnProperty.call(De, U)));
9279
9298
  if (l.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
9280
- let [p] = l, f = ml[p], y = s.map((U) => U.source.value), S = Math.max(...y.map((U) => U.length)), B = s.map((U) => U[p] ? String(U[p].value) : ""), R = B.map((U) => {
9299
+ let [p] = l, f = gl[p], y = s.map((U) => U.source.value), S = Math.max(...y.map((U) => U.length)), B = s.map((U) => U[p] ? String(U[p].value) : ""), R = B.map((U) => {
9281
9300
  let De = U.indexOf(".");
9282
9301
  return De === -1 ? U.length : De;
9283
9302
  }), G = Math.max(...R);
9284
- return wn(pn([",", ke], y.map((U, De) => {
9303
+ return Cn(pn([",", ke], y.map((U, De) => {
9285
9304
  let fe = [U], le = B[De];
9286
9305
  if (le) {
9287
9306
  let Ee = S - U.length + 1, Ue = G - R[De], Ze = " ".repeat(Ee + Ue);
@@ -9293,12 +9312,12 @@ Expected it to be ${p}.`;
9293
9312
  var _h = wh;
9294
9313
  function Sh(a, s) {
9295
9314
  let { node: l } = a, p = dn(a.node).trim();
9296
- if (l.fullName === "style" && !s.parentParser && !p.includes("{{")) return async (f) => wn(await f(p, { parser: "css", __isHTMLStyleAttribute: !0 }));
9315
+ if (l.fullName === "style" && !s.parentParser && !p.includes("{{")) return async (f) => Cn(await f(p, { parser: "css", __isHTMLStyleAttribute: !0 }));
9297
9316
  }
9298
9317
  var rs = /* @__PURE__ */ new WeakMap();
9299
9318
  function Eh(a, s) {
9300
9319
  let { root: l } = a;
9301
- return rs.has(l) || rs.set(l, l.children.some((p) => pl(p, s) && ["ts", "typescript"].includes(p.attrMap.lang))), rs.get(l);
9320
+ return rs.has(l) || rs.set(l, l.children.some((p) => dl(p, s) && ["ts", "typescript"].includes(p.attrMap.lang))), rs.get(l);
9302
9321
  }
9303
9322
  var as = Eh;
9304
9323
  function Fh(a, s, l) {
@@ -9330,20 +9349,20 @@ Expected it to be ${p}.`;
9330
9349
  if (s.parser !== "vue") return;
9331
9350
  let { node: l } = a, p = l.fullName;
9332
9351
  if (p === "v-for") return Th;
9333
- if (p === "generic" && pl(l.parent, s)) return Fh;
9352
+ if (p === "generic" && dl(l.parent, s)) return Fh;
9334
9353
  let f = dn(l), y = as(a, s);
9335
9354
  if (ih(l) || sh(l, s)) return (S) => Ah(f, S, { parseWithTs: y });
9336
9355
  if (p.startsWith("@") || p.startsWith("v-on:")) return (S) => jh(f, S, { parseWithTs: y });
9337
9356
  if (p.startsWith(":") || p.startsWith("v-bind:")) return (S) => Ph(f, S, { parseWithTs: y });
9338
- if (p.startsWith("v-")) return (S) => gl(f, S, { parseWithTs: y });
9357
+ if (p.startsWith("v-")) return (S) => vl(f, S, { parseWithTs: y });
9339
9358
  }
9340
9359
  function jh(a, s, { parseWithTs: l }) {
9341
- return $h(a) ? gl(a, s, { parseWithTs: l }) : wt(a, s, { parser: l ? "__vue_ts_event_binding" : "__vue_event_binding" }, Vt);
9360
+ return $h(a) ? vl(a, s, { parseWithTs: l }) : wt(a, s, { parser: l ? "__vue_ts_event_binding" : "__vue_event_binding" }, Vt);
9342
9361
  }
9343
9362
  function Ph(a, s, { parseWithTs: l }) {
9344
9363
  return wt(a, s, { parser: l ? "__vue_ts_expression" : "__vue_expression" }, Vt);
9345
9364
  }
9346
- function gl(a, s, { parseWithTs: l }) {
9365
+ function vl(a, s, { parseWithTs: l }) {
9347
9366
  return wt(a, s, { parser: l ? "__ts_expression" : "__js_expression" }, Vt);
9348
9367
  }
9349
9368
  var Lh = Nh;
@@ -9360,11 +9379,11 @@ Expected it to be ${p}.`;
9360
9379
  function Ih(a) {
9361
9380
  return async (s, l, p, f) => {
9362
9381
  let y = await a(s, l, p, f);
9363
- if (y) return y = xr(y, (S) => typeof S == "string" ? C(!1, S, '"', "&quot;") : S), [p.node.rawName, '="', ce(y), '"'];
9382
+ if (y) return y = _r(y, (S) => typeof S == "string" ? C(!1, S, '"', "&quot;") : S), [p.node.rawName, '="', ce(y), '"'];
9364
9383
  };
9365
9384
  }
9366
- var Mh = Oh, vl = new Proxy(() => {
9367
- }, { get: () => vl }), Dl = vl;
9385
+ var Mh = Oh, Dl = new Proxy(() => {
9386
+ }, { get: () => Dl }), yl = Dl;
9368
9387
  function Rh(a) {
9369
9388
  return Array.isArray(a) && a.length > 0;
9370
9389
  }
@@ -9376,22 +9395,22 @@ Expected it to be ${p}.`;
9376
9395
  return a.sourceSpan.end.offset;
9377
9396
  }
9378
9397
  function ss(a, s) {
9379
- return [a.isSelfClosing ? "" : qh(a, s), Br(a, s)];
9398
+ return [a.isSelfClosing ? "" : qh(a, s), Nr(a, s)];
9380
9399
  }
9381
9400
  function qh(a, s) {
9382
- return a.lastChild && Pr(a.lastChild) ? "" : [Hh(a, s), os(a, s)];
9401
+ return a.lastChild && Lr(a.lastChild) ? "" : [Hh(a, s), os(a, s)];
9383
9402
  }
9384
- function Br(a, s) {
9385
- return (a.next ? xn(a.next) : jr(a.parent)) ? "" : [Nr(a, s), Cn(a, s)];
9403
+ function Nr(a, s) {
9404
+ return (a.next ? _n(a.next) : Pr(a.parent)) ? "" : [jr(a, s), xn(a, s)];
9386
9405
  }
9387
9406
  function Hh(a, s) {
9388
- return jr(a) ? Nr(a.lastChild, s) : "";
9407
+ return Pr(a) ? jr(a.lastChild, s) : "";
9389
9408
  }
9390
- function Cn(a, s) {
9391
- return Pr(a) ? os(a.parent, s) : qa(a) ? us(a.next) : "";
9409
+ function xn(a, s) {
9410
+ return Lr(a) ? os(a.parent, s) : qa(a) ? us(a.next) : "";
9392
9411
  }
9393
9412
  function os(a, s) {
9394
- if (Dl(!a.isSelfClosing), yl(a, s)) return "";
9413
+ if (yl(!a.isSelfClosing), bl(a, s)) return "";
9395
9414
  switch (a.type) {
9396
9415
  case "ieConditionalComment":
9397
9416
  return "<!";
@@ -9401,8 +9420,8 @@ Expected it to be ${p}.`;
9401
9420
  return `</${a.rawName}`;
9402
9421
  }
9403
9422
  }
9404
- function Nr(a, s) {
9405
- if (yl(a, s)) return "";
9423
+ function jr(a, s) {
9424
+ if (bl(a, s)) return "";
9406
9425
  switch (a.type) {
9407
9426
  case "ieConditionalComment":
9408
9427
  case "ieConditionalEndComment":
@@ -9419,17 +9438,17 @@ Expected it to be ${p}.`;
9419
9438
  return ">";
9420
9439
  }
9421
9440
  }
9422
- function yl(a, s) {
9441
+ function bl(a, s) {
9423
9442
  return !a.isSelfClosing && !a.endSourceSpan && (Ae(a) || Te(a.parent, s));
9424
9443
  }
9425
- function xn(a) {
9444
+ function _n(a) {
9426
9445
  return a.prev && a.prev.type !== "docType" && a.type !== "angularControlFlowBlock" && !He(a.prev) && a.isLeadingSpaceSensitive && !a.hasLeadingSpaces;
9427
9446
  }
9428
- function jr(a) {
9447
+ function Pr(a) {
9429
9448
  var s;
9430
9449
  return ((s = a.lastChild) == null ? void 0 : s.isTrailingSpaceSensitive) && !a.lastChild.hasTrailingSpaces && !He(es(a.lastChild)) && !Jn(a);
9431
9450
  }
9432
- function Pr(a) {
9451
+ function Lr(a) {
9433
9452
  return !a.next && !a.hasTrailingSpaces && a.isTrailingSpaceSensitive && He(es(a));
9434
9453
  }
9435
9454
  function qa(a) {
@@ -9447,20 +9466,20 @@ Expected it to be ${p}.`;
9447
9466
  let { node: f } = a;
9448
9467
  if (!is(f.attrs)) return f.isSelfClosing ? " " : "";
9449
9468
  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;
9469
+ return f.firstChild && Ha(f.firstChild) || f.isSelfClosing && Pr(f.parent) || R ? U.push(f.isSelfClosing ? " " : "") : U.push(s.bracketSameLine ? f.isSelfClosing ? " " : "" : f.isSelfClosing ? ke : je), U;
9451
9470
  }
9452
9471
  function zh(a) {
9453
9472
  return a.firstChild && Ha(a.firstChild) ? "" : cs(a);
9454
9473
  }
9455
9474
  function ls(a, s, l) {
9456
9475
  let { node: p } = a;
9457
- return [Lr(p, s), Wh(a, s, l), p.isSelfClosing ? "" : zh(p)];
9476
+ return [Or(p, s), Wh(a, s, l), p.isSelfClosing ? "" : zh(p)];
9458
9477
  }
9459
- function Lr(a, s) {
9460
- return a.prev && qa(a.prev) ? "" : [_n(a, s), us(a)];
9478
+ function Or(a, s) {
9479
+ return a.prev && qa(a.prev) ? "" : [Sn(a, s), us(a)];
9461
9480
  }
9462
- function _n(a, s) {
9463
- return Ha(a) ? cs(a.parent) : xn(a) ? Nr(a.prev, s) : "";
9481
+ function Sn(a, s) {
9482
+ return Ha(a) ? cs(a.parent) : _n(a) ? jr(a.prev, s) : "";
9464
9483
  }
9465
9484
  function us(a) {
9466
9485
  switch (a.type) {
@@ -9482,7 +9501,7 @@ Expected it to be ${p}.`;
9482
9501
  }
9483
9502
  }
9484
9503
  function cs(a) {
9485
- switch (Dl(!a.isSelfClosing), a.type) {
9504
+ switch (yl(!a.isSelfClosing), a.type) {
9486
9505
  case "ieConditionalComment":
9487
9506
  return "]>";
9488
9507
  case "element":
@@ -9496,36 +9515,36 @@ Expected it to be ${p}.`;
9496
9515
  let l = a.startSourceSpan.end.offset;
9497
9516
  a.firstChild && Ha(a.firstChild) && (l -= cs(a).length);
9498
9517
  let p = a.endSourceSpan.start.offset;
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);
9518
+ return a.lastChild && Lr(a.lastChild) ? p += os(a, s).length : Pr(a) && (p -= jr(a.lastChild, s).length), s.originalText.slice(l, p);
9500
9519
  }
9501
- var bl = Vh, Gh = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
9520
+ var kl = Vh, Gh = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
9502
9521
  function Yh(a, s) {
9503
9522
  let { node: l } = a;
9504
9523
  switch (l.type) {
9505
9524
  case "element":
9506
9525
  if (Qe(l) || l.type === "interpolation") return;
9507
9526
  if (!l.isSelfClosing && ts(l, s)) {
9508
- let p = sl(l, s);
9527
+ let p = ol(l, s);
9509
9528
  return p ? async (f, y) => {
9510
- let S = bl(l, s), B = /^\s*$/u.test(S), R = "";
9511
- return B || (R = await f(ae(S), { parser: p, __embeddedInHtml: !0 }), B = R === ""), [_n(l, s), ce(ls(a, s, y)), B ? "" : Ce, R, B ? "" : Ce, ss(l, s), Cn(l, s)];
9529
+ let S = kl(l, s), B = /^\s*$/u.test(S), R = "";
9530
+ return B || (R = await f(ae(S), { parser: p, __embeddedInHtml: !0 }), B = R === ""), [Sn(l, s), ce(ls(a, s, y)), B ? "" : Ce, R, B ? "" : Ce, ss(l, s), xn(l, s)];
9512
9531
  } : void 0;
9513
9532
  }
9514
9533
  break;
9515
9534
  case "text":
9516
9535
  if (Qe(l.parent)) {
9517
- let p = sl(l.parent, s);
9536
+ let p = ol(l.parent, s);
9518
9537
  if (p) return async (f) => {
9519
- let y = p === "markdown" ? ll(l.value.replace(/^[^\S\n]*\n/u, "")) : l.value, S = { parser: p, __embeddedInHtml: !0 };
9538
+ let y = p === "markdown" ? ul(l.value.replace(/^[^\S\n]*\n/u, "")) : l.value, S = { parser: p, __embeddedInHtml: !0 };
9520
9539
  if (s.parser === "html" && p === "babel") {
9521
9540
  let B = "script", { attrMap: R } = l.parent;
9522
9541
  R && (R.type === "module" || R.type === "text/babel" && R["data-type"] === "module") && (B = "module"), S.__babelSourceType = B;
9523
9542
  }
9524
- return [bt, _n(l, s), await f(y, S), Cn(l, s)];
9543
+ return [bt, Sn(l, s), await f(y, S), xn(l, s)];
9525
9544
  };
9526
9545
  } else if (l.parent.type === "interpolation") return async (p) => {
9527
9546
  let f = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
9528
- return s.parser === "angular" ? f.parser = "__ng_interpolation" : s.parser === "vue" ? f.parser = as(a, s) ? "__vue_ts_expression" : "__vue_expression" : f.parser = "__js_expression", [Se([ke, await p(l.value, f)]), l.parent.next && xn(l.parent.next) ? " " : ke];
9547
+ return s.parser === "angular" ? f.parser = "__ng_interpolation" : s.parser === "vue" ? f.parser = as(a, s) ? "__vue_ts_expression" : "__vue_expression" : f.parser = "__js_expression", [Se([ke, await p(l.value, f)]), l.parent.next && _n(l.parent.next) ? " " : ke];
9529
9548
  };
9530
9549
  break;
9531
9550
  case "attribute":
@@ -9538,18 +9557,18 @@ Expected it to be ${p}.`;
9538
9557
  return (p) => wt(l.value, p, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
9539
9558
  }
9540
9559
  }
9541
- var Kh = Yh, Or = null;
9542
- function Ir(a) {
9543
- if (Or !== null && typeof Or.property) {
9544
- let s = Or;
9545
- return Or = Ir.prototype = null, s;
9560
+ var Kh = Yh, Ir = null;
9561
+ function Mr(a) {
9562
+ if (Ir !== null && typeof Ir.property) {
9563
+ let s = Ir;
9564
+ return Ir = Mr.prototype = null, s;
9546
9565
  }
9547
- return Or = Ir.prototype = a ?? /* @__PURE__ */ Object.create(null), new Ir();
9566
+ return Ir = Mr.prototype = a ?? /* @__PURE__ */ Object.create(null), new Mr();
9548
9567
  }
9549
9568
  var Jh = 10;
9550
- for (let a = 0; a <= Jh; a++) Ir();
9569
+ for (let a = 0; a <= Jh; a++) Mr();
9551
9570
  function Xh(a) {
9552
- return Ir(a);
9571
+ return Mr(a);
9553
9572
  }
9554
9573
  function Qh(a, s = "type") {
9555
9574
  Xh(a);
@@ -9570,26 +9589,26 @@ Expected it to be ${p}.`;
9570
9589
  ` + a;
9571
9590
  }
9572
9591
  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"])]]);
9573
- function kl(a) {
9592
+ function wl(a) {
9574
9593
  let s = Ra(a);
9575
- return a.type === "element" && !a.endSourceSpan && is(a.children) ? Math.max(s, kl(zt(!1, a.children, -1))) : s;
9594
+ return a.type === "element" && !a.endSourceSpan && is(a.children) ? Math.max(s, wl(zt(!1, a.children, -1))) : s;
9576
9595
  }
9577
- function Mr(a, s, l) {
9596
+ function Rr(a, s, l) {
9578
9597
  let p = a.node;
9579
9598
  if (Ae(p)) {
9580
- let f = kl(p);
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)];
9599
+ let f = wl(p);
9600
+ return [Sn(p, s), ht(xt.trimEnd(s.originalText.slice(Ma(p) + (p.prev && qa(p.prev) ? us(p).length : 0), f - (p.next && _n(p.next) ? jr(p, s).length : 0)))), xn(p, s)];
9582
9601
  }
9583
9602
  return l();
9584
9603
  }
9585
9604
  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;
9605
+ 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 && _n(s) ? "" : !s.isLeadingSpaceSensitive || Zi(s) || _n(s) && a.lastChild && Lr(a.lastChild) && a.lastChild.lastChild && Lr(a.lastChild.lastChild) ? Ce : s.hasLeadingSpaces ? ke : je;
9587
9606
  }
9588
9607
  function ps(a, s, l) {
9589
9608
  let { node: p } = a;
9590
- if (el(p)) return [bt, ...a.map((y) => {
9609
+ if (tl(p)) return [bt, ...a.map((y) => {
9591
9610
  let S = y.node, B = S.prev ? Ua(S.prev, S) : "";
9592
- return [B ? [B, Oa(S.prev) ? Ce : ""] : "", Mr(y, s, l)];
9611
+ return [B ? [B, Oa(S.prev) ? Ce : ""] : "", Rr(y, s, l)];
9593
9612
  }, "children")];
9594
9613
  let f = p.children.map(() => Symbol(""));
9595
9614
  return a.map((y, S) => {
@@ -9597,34 +9616,34 @@ Expected it to be ${p}.`;
9597
9616
  if (He(B)) {
9598
9617
  if (B.prev && He(B.prev)) {
9599
9618
  let Ee = Ua(B.prev, B);
9600
- if (Ee) return Oa(B.prev) ? [Ce, Ce, Mr(y, s, l)] : [Ee, Mr(y, s, l)];
9619
+ if (Ee) return Oa(B.prev) ? [Ce, Ce, Rr(y, s, l)] : [Ee, Rr(y, s, l)];
9601
9620
  }
9602
- return Mr(y, s, l);
9621
+ return Rr(y, s, l);
9603
9622
  }
9604
9623
  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];
9624
+ 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([Rr(y, s, l), ...U], { id: f[S] })]), ...De];
9606
9625
  }, "children");
9607
9626
  }
9608
9627
  function lf(a, s, l) {
9609
9628
  let { node: p } = a, f = [];
9610
9629
  uf(a) && f.push("} "), f.push("@", p.name), p.parameters && f.push(" (", ce(l("parameters")), ")"), f.push(" {");
9611
- let y = wl(p);
9630
+ let y = Cl(p);
9612
9631
  return p.children.length > 0 ? (p.firstChild.hasLeadingSpaces = !0, p.lastChild.hasTrailingSpaces = !0, f.push(Se([Ce, ps(a, s, l)])), y && f.push(Ce, "}")) : y && f.push("}"), ce(f, { shouldBreak: !0 });
9613
9632
  }
9614
- function wl(a) {
9633
+ function Cl(a) {
9615
9634
  var s, l;
9616
9635
  return !(((s = a.next) == null ? void 0 : s.type) === "angularControlFlowBlock" && (l = of.get(a.name)) != null && l.has(a.next.name));
9617
9636
  }
9618
9637
  function uf(a) {
9619
9638
  let { previous: s } = a;
9620
- return (s == null ? void 0 : s.type) === "angularControlFlowBlock" && !Ae(s) && !wl(s);
9639
+ return (s == null ? void 0 : s.type) === "angularControlFlowBlock" && !Ae(s) && !Cl(s);
9621
9640
  }
9622
9641
  function cf(a, s, l) {
9623
9642
  return [Se([je, pn([";", ke], a.map(l, "children"))]), je];
9624
9643
  }
9625
9644
  function pf(a, s, l) {
9626
9645
  let { node: p } = a;
9627
- return [Lr(p, s), ce([p.switchValue.trim(), ", ", p.clause, p.cases.length > 0 ? [",", Se([ke, pn(ke, a.map(l, "cases"))])] : "", je]), Br(p, s)];
9646
+ return [Or(p, s), ce([p.switchValue.trim(), ", ", p.clause, p.cases.length > 0 ? [",", Se([ke, pn(ke, a.map(l, "cases"))])] : "", je]), Nr(p, s)];
9628
9647
  }
9629
9648
  function df(a, s, l) {
9630
9649
  let { node: p } = a;
@@ -9632,8 +9651,8 @@ Expected it to be ${p}.`;
9632
9651
  }
9633
9652
  function hf(a, s, l) {
9634
9653
  let { node: p } = a;
9635
- if (Te(p, s)) return [_n(p, s), ce(ls(a, s, l)), ht(bl(p, s)), ...ss(p, s), Cn(p, s)];
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;
9654
+ if (Te(p, s)) return [Sn(p, s), ce(ls(a, s, l)), ht(kl(p, s)), ...ss(p, s), xn(p, s)];
9655
+ 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 ? _n(p.next) : Pr(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;
9637
9656
  return p.children.length === 0 ? S(p.hasDanglingSpaces && p.isDanglingSpaceSensitive ? ke : "") : S([Wd(p) ? bt : "", B([R(), ps(a, s, l)]), G()]);
9638
9657
  }
9639
9658
  function Wa(a) {
@@ -9651,7 +9670,7 @@ Expected it to be ${p}.`;
9651
9670
  function hs(a) {
9652
9671
  return a === 10 || a === 13;
9653
9672
  }
9654
- function Cl(a) {
9673
+ function xl(a) {
9655
9674
  return 48 <= a && a <= 55;
9656
9675
  }
9657
9676
  function fs(a) {
@@ -9695,7 +9714,7 @@ Expected it to be ${p}.`;
9695
9714
  }
9696
9715
  return null;
9697
9716
  }
9698
- }, xl = class {
9717
+ }, _l = class {
9699
9718
  constructor(a, s) {
9700
9719
  this.content = a, this.url = s;
9701
9720
  }
@@ -9710,7 +9729,7 @@ Expected it to be ${p}.`;
9710
9729
  (function(a) {
9711
9730
  a[a.WARNING = 0] = "WARNING", a[a.ERROR = 1] = "ERROR";
9712
9731
  })(Va || (Va = {}));
9713
- var _l = class {
9732
+ var Sl = class {
9714
9733
  constructor(a, s, l = Va.ERROR) {
9715
9734
  this.span = a, this.msg = s, this.level = l;
9716
9735
  }
@@ -9806,7 +9825,7 @@ Expected it to be ${p}.`;
9806
9825
  s.hasDanglingSpaces = s.children.length > 0, s.children = [];
9807
9826
  return;
9808
9827
  }
9809
- let l = $r(s), p = La(s);
9828
+ let l = Tr(s), p = La(s);
9810
9829
  if (!l) for (let f = 0; f < s.children.length; f++) {
9811
9830
  let y = s.children[f];
9812
9831
  if (y.type !== "text") continue;
@@ -9874,53 +9893,53 @@ Expected it to be ${p}.`;
9874
9893
  return df(a, s, l);
9875
9894
  case "ieConditionalStartComment":
9876
9895
  case "ieConditionalEndComment":
9877
- return [Lr(p), Br(p)];
9896
+ return [Or(p), Nr(p)];
9878
9897
  case "interpolation":
9879
- return [Lr(p, s), ...a.map(l, "children"), Br(p, s)];
9898
+ return [Or(p, s), ...a.map(l, "children"), Nr(p, s)];
9880
9899
  case "text": {
9881
9900
  if (p.parent.type === "interpolation") {
9882
9901
  let y = /\n[^\S\n]*$/u, S = y.test(p.value), B = S ? p.value.replace(y, "") : p.value;
9883
9902
  return [ht(B), S ? Ce : ""];
9884
9903
  }
9885
- let f = Ea([_n(p, s), ...cl(p), Cn(p, s)]);
9904
+ let f = Ea([Sn(p, s), ...pl(p), xn(p, s)]);
9886
9905
  return Array.isArray(f) ? Dt(f) : f;
9887
9906
  }
9888
9907
  case "docType":
9889
- return [ce([Lr(p, s), " ", C(!1, p.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Br(p, s)];
9908
+ return [ce([Or(p, s), " ", C(!1, p.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Nr(p, s)];
9890
9909
  case "comment":
9891
- return [_n(p, s), ht(s.originalText.slice(Ma(p), Ra(p))), Cn(p, s)];
9910
+ return [Sn(p, s), ht(s.originalText.slice(Ma(p), Ra(p))), xn(p, s)];
9892
9911
  case "attribute": {
9893
9912
  if (p.value === null) return p.rawName;
9894
- let f = ul(p.value), y = $a(f, '"');
9913
+ let f = cl(p.value), y = $a(f, '"');
9895
9914
  return [p.rawName, "=", y, ht(y === '"' ? C(!1, f, '"', "&quot;") : C(!1, f, "'", "&apos;")), y];
9896
9915
  }
9897
9916
  case "cdata":
9898
9917
  default:
9899
- throw new Sr(p, "HTML");
9918
+ throw new Er(p, "HTML");
9900
9919
  }
9901
9920
  }
9902
- var Bf = { preprocess: $f, print: Tf, insertPragma: sf, massageAstNode: Gi, embed: Kh, getVisitorKeys: rf }, Nf = Bf, jf = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], Sl = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, El = "HTML", Pf = { bracketSameLine: Sl.bracketSameLine, htmlWhitespaceSensitivity: { category: El, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Sl.singleAttributePerLine, vueIndentScriptAndStyle: { category: El, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, Lf = Pf, Fl = {};
9903
- c(Fl, { angular: () => Mm, html: () => Im, lwc: () => qm, vue: () => Rm });
9904
- var Al;
9905
- (function(a) {
9906
- a[a.Emulated = 0] = "Emulated", a[a.None = 2] = "None", a[a.ShadowDom = 3] = "ShadowDom";
9907
- })(Al || (Al = {}));
9921
+ var Bf = { preprocess: $f, print: Tf, insertPragma: sf, massageAstNode: Gi, embed: Kh, getVisitorKeys: rf }, Nf = Bf, jf = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], El = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, Fl = "HTML", Pf = { bracketSameLine: El.bracketSameLine, htmlWhitespaceSensitivity: { category: Fl, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: El.singleAttributePerLine, vueIndentScriptAndStyle: { category: Fl, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, Lf = Pf, Al = {};
9922
+ c(Al, { angular: () => Mm, html: () => Im, lwc: () => qm, vue: () => Rm });
9908
9923
  var $l;
9909
9924
  (function(a) {
9910
- a[a.OnPush = 0] = "OnPush", a[a.Default = 1] = "Default";
9925
+ a[a.Emulated = 0] = "Emulated", a[a.None = 2] = "None", a[a.ShadowDom = 3] = "ShadowDom";
9911
9926
  })($l || ($l = {}));
9912
9927
  var Tl;
9913
9928
  (function(a) {
9914
- a[a.None = 0] = "None", a[a.SignalBased = 1] = "SignalBased", a[a.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
9929
+ a[a.OnPush = 0] = "OnPush", a[a.Default = 1] = "Default";
9915
9930
  })(Tl || (Tl = {}));
9916
- var Bl = { name: "custom-elements" }, Nl = { name: "no-errors-schema" }, Sn;
9931
+ var Bl;
9932
+ (function(a) {
9933
+ a[a.None = 0] = "None", a[a.SignalBased = 1] = "SignalBased", a[a.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
9934
+ })(Bl || (Bl = {}));
9935
+ var Nl = { name: "custom-elements" }, jl = { name: "no-errors-schema" }, En;
9917
9936
  (function(a) {
9918
9937
  a[a.NONE = 0] = "NONE", a[a.HTML = 1] = "HTML", a[a.STYLE = 2] = "STYLE", a[a.SCRIPT = 3] = "SCRIPT", a[a.URL = 4] = "URL", a[a.RESOURCE_URL = 5] = "RESOURCE_URL";
9919
- })(Sn || (Sn = {}));
9920
- var jl;
9938
+ })(En || (En = {}));
9939
+ var Pl;
9921
9940
  (function(a) {
9922
9941
  a[a.Error = 0] = "Error", a[a.Warning = 1] = "Warning", a[a.Ignore = 2] = "Ignore";
9923
- })(jl || (jl = {}));
9942
+ })(Pl || (Pl = {}));
9924
9943
  var Tt;
9925
9944
  (function(a) {
9926
9945
  a[a.RAW_TEXT = 0] = "RAW_TEXT", a[a.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", a[a.PARSABLE_DATA = 2] = "PARSABLE_DATA";
@@ -9934,10 +9953,10 @@ Expected it to be ${p}.`;
9934
9953
  }
9935
9954
  return [a.slice(1, l), a.slice(l + 1)];
9936
9955
  }
9937
- function Pl(a) {
9956
+ function Ll(a) {
9938
9957
  return Ga(a)[1] === "ng-container";
9939
9958
  }
9940
- function Ll(a) {
9959
+ function Ol(a) {
9941
9960
  return Ga(a)[1] === "ng-content";
9942
9961
  }
9943
9962
  function Ya(a) {
@@ -9947,14 +9966,14 @@ Expected it to be ${p}.`;
9947
9966
  return a ? `:${a}:${s}` : s;
9948
9967
  }
9949
9968
  var Ja;
9950
- function Ol() {
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;
9969
+ function Il() {
9970
+ return Ja || (Ja = {}, Xa(En.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Xa(En.STYLE, ["*|style"]), Xa(En.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(En.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;
9952
9971
  }
9953
9972
  function Xa(a, s) {
9954
9973
  for (let l of s) Ja[l.toLowerCase()] = a;
9955
9974
  }
9956
9975
  var Of = class {
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 {
9976
+ }, 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:|"], Ml = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Uf = Array.from(Ml).reduce((a, [s, l]) => (a.set(s, l), a), /* @__PURE__ */ new Map()), Wf = class extends Of {
9958
9977
  constructor() {
9959
9978
  super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), Hf.forEach((a) => {
9960
9979
  let s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set(), [p, f] = a.split("|"), y = f.split(","), [S, B] = p.split("^");
@@ -9987,23 +10006,23 @@ Expected it to be ${p}.`;
9987
10006
  });
9988
10007
  }
9989
10008
  hasProperty(a, s, l) {
9990
- if (l.some((p) => p.name === Nl.name)) return !0;
10009
+ if (l.some((p) => p.name === jl.name)) return !0;
9991
10010
  if (a.indexOf("-") > -1) {
9992
- if (Pl(a) || Ll(a)) return !1;
9993
- if (l.some((p) => p.name === Bl.name)) return !0;
10011
+ if (Ll(a) || Ol(a)) return !1;
10012
+ if (l.some((p) => p.name === Nl.name)) return !0;
9994
10013
  }
9995
10014
  return (this._schema.get(a.toLowerCase()) || this._schema.get("unknown")).has(s);
9996
10015
  }
9997
10016
  hasElement(a, s) {
9998
- return s.some((l) => l.name === Nl.name) || a.indexOf("-") > -1 && (Pl(a) || Ll(a) || s.some((l) => l.name === Bl.name)) ? !0 : this._schema.has(a.toLowerCase());
10017
+ return s.some((l) => l.name === jl.name) || a.indexOf("-") > -1 && (Ll(a) || Ol(a) || s.some((l) => l.name === Nl.name)) ? !0 : this._schema.has(a.toLowerCase());
9999
10018
  }
10000
10019
  securityContext(a, s, l) {
10001
10020
  l && (s = this.getMappedPropName(s)), a = a.toLowerCase(), s = s.toLowerCase();
10002
- let p = Ol()[a + "|" + s];
10003
- return p || (p = Ol()["*|" + s], p || Sn.NONE);
10021
+ let p = Il()[a + "|" + s];
10022
+ return p || (p = Il()["*|" + s], p || En.NONE);
10004
10023
  }
10005
10024
  getMappedPropName(a) {
10006
- return Il.get(a) ?? a;
10025
+ return Ml.get(a) ?? a;
10007
10026
  }
10008
10027
  getDefaultComponentElementName() {
10009
10028
  return "ng-component";
@@ -10083,11 +10102,11 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10083
10102
  getContentType(a) {
10084
10103
  return typeof this.contentType == "object" ? (a === void 0 ? void 0 : this.contentType[a]) ?? this.contentType.default : this.contentType;
10085
10104
  }
10086
- }, Ml, Rr;
10105
+ }, Rl, qr;
10087
10106
  function gs(a) {
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) => {
10089
- !Rr[s] && Ya(s) === null && (Rr[s] = new ne({ canSelfClose: !1 }));
10090
- })), Rr[a] ?? Ml;
10107
+ return qr || (Rl = new ne({ canSelfClose: !0 }), qr = 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) => {
10108
+ !qr[s] && Ya(s) === null && (qr[s] = new ne({ canSelfClose: !1 }));
10109
+ })), qr[a] ?? Rl;
10091
10110
  }
10092
10111
  var Qn = class {
10093
10112
  constructor(a, s) {
@@ -10159,14 +10178,14 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10159
10178
  visit(a, s) {
10160
10179
  return a.visitBlock(this, s);
10161
10180
  }
10162
- }, Rl = class {
10181
+ }, ql = class {
10163
10182
  constructor(a, s) {
10164
10183
  this.expression = a, this.sourceSpan = s, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
10165
10184
  }
10166
10185
  visit(a, s) {
10167
10186
  return a.visitBlockParameter(this, s);
10168
10187
  }
10169
- }, ql = class {
10188
+ }, Hl = class {
10170
10189
  constructor(a, s, l, p, f) {
10171
10190
  this.name = a, this.value = s, this.sourceSpan = l, this.nameSpan = p, this.valueSpan = f, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
10172
10191
  }
@@ -10174,7 +10193,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10174
10193
  return a.visitLetDeclaration(this, s);
10175
10194
  }
10176
10195
  };
10177
- function Hl(a, s, l = null) {
10196
+ function Ul(a, s, l = null) {
10178
10197
  let p = [], f = a.visit ? (y) => a.visit(y, l) || y.visit(a, l) : (y) => y.visit(a, l);
10179
10198
  return s.forEach((y) => {
10180
10199
  let S = f(y);
@@ -10218,7 +10237,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10218
10237
  visitChildren(a, s) {
10219
10238
  let l = [], p = this;
10220
10239
  function f(y) {
10221
- y && l.push(Hl(p, y, a));
10240
+ y && l.push(Ul(p, y, a));
10222
10241
  }
10223
10242
  return s(f), Array.prototype.concat.apply([], l);
10224
10243
  }
@@ -10237,12 +10256,12 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10237
10256
  }
10238
10257
  var rm = class cd {
10239
10258
  static fromArray(s) {
10240
- return s ? (nm("interpolation", s), new cd(s[0], s[1])) : Ul;
10259
+ return s ? (nm("interpolation", s), new cd(s[0], s[1])) : Wl;
10241
10260
  }
10242
10261
  constructor(s, l) {
10243
10262
  this.start = s, this.end = l;
10244
10263
  }
10245
- }, Ul = new rm("{{", "}}"), vs = class extends _l {
10264
+ }, Wl = new rm("{{", "}}"), vs = class extends Sl {
10246
10265
  constructor(a, s, l) {
10247
10266
  super(l, a), this.tokenType = s;
10248
10267
  }
@@ -10252,14 +10271,14 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10252
10271
  }
10253
10272
  };
10254
10273
  function im(a, s, l, p = {}) {
10255
- let f = new lm(new xl(a, s), l, p);
10274
+ let f = new lm(new _l(a, s), l, p);
10256
10275
  return f.tokenize(), new am(fm(f.tokens), f.errors, f.nonNormalizedIcuExpressions);
10257
10276
  }
10258
10277
  var sm = /\r\n?/g;
10259
10278
  function er(a) {
10260
10279
  return `Unexpected character "${a === 0 ? "EOF" : String.fromCharCode(a)}"`;
10261
10280
  }
10262
- function Wl(a) {
10281
+ function zl(a) {
10263
10282
  return `Unknown entity "${a}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
10264
10283
  }
10265
10284
  function om(a, s) {
@@ -10275,9 +10294,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10275
10294
  }
10276
10295
  }, lm = class {
10277
10296
  constructor(a, s, l) {
10278
- this._getTagContentType = s, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = l.tokenizeExpansionForms || !1, this._interpolationConfig = l.interpolationConfig || Ul, this._leadingTriviaCodePoints = l.leadingTriviaChars && l.leadingTriviaChars.map((f) => f.codePointAt(0) || 0), this._canSelfClose = l.canSelfClose || !1, this._allowHtmComponentClosingTags = l.allowHtmComponentClosingTags || !1;
10297
+ this._getTagContentType = s, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = l.tokenizeExpansionForms || !1, this._interpolationConfig = l.interpolationConfig || Wl, this._leadingTriviaCodePoints = l.leadingTriviaChars && l.leadingTriviaChars.map((f) => f.codePointAt(0) || 0), this._canSelfClose = l.canSelfClose || !1, this._allowHtmComponentClosingTags = l.allowHtmComponentClosingTags || !1;
10279
10298
  let p = l.range || { endPos: a.content.length, startPos: 0, startLine: 0, startCol: 0 };
10280
- this._cursor = l.escapedString ? new mm(a, p) : new Kl(a, p), this._preserveLineEndings = l.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = l.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = l.tokenizeBlocks ?? !0, this._tokenizeLet = l.tokenizeLet ?? !0;
10299
+ this._cursor = l.escapedString ? new mm(a, p) : new Jl(a, p), this._preserveLineEndings = l.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = l.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = l.tokenizeBlocks ?? !0, this._tokenizeLet = l.tokenizeLet ?? !0;
10281
10300
  try {
10282
10301
  this._cursor.init();
10283
10302
  } catch (f) {
@@ -10307,7 +10326,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10307
10326
  }
10308
10327
  _getBlockName() {
10309
10328
  let a = !1, s = this._cursor.clone();
10310
- return this._attemptCharCodeUntilFn((l) => Wa(l) ? !a : Gl(l) ? (a = !0, !1) : !0), this._cursor.getChars(s).trim();
10329
+ return this._attemptCharCodeUntilFn((l) => Wa(l) ? !a : Yl(l) ? (a = !0, !1) : !0), this._cursor.getChars(s).trim();
10311
10330
  }
10312
10331
  _consumeBlockStart(a) {
10313
10332
  this._beginToken(25, a);
@@ -10323,7 +10342,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10323
10342
  this._beginToken(27, a), this._endToken([]);
10324
10343
  }
10325
10344
  _consumeBlockParameters() {
10326
- for (this._attemptCharCodeUntilFn(Yl); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
10345
+ for (this._attemptCharCodeUntilFn(Kl); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
10327
10346
  this._beginToken(28);
10328
10347
  let a = this._cursor.clone(), s = null, l = 0;
10329
10348
  for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || s !== null; ) {
@@ -10338,7 +10357,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10338
10357
  }
10339
10358
  this._cursor.advance();
10340
10359
  }
10341
- this._endToken([this._cursor.getChars(a)]), this._attemptCharCodeUntilFn(Yl);
10360
+ this._endToken([this._cursor.getChars(a)]), this._attemptCharCodeUntilFn(Kl);
10342
10361
  }
10343
10362
  }
10344
10363
  _consumeLetDeclaration(a) {
@@ -10454,7 +10473,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10454
10473
  let y = parseInt(f, l ? 16 : 10);
10455
10474
  this._endToken([String.fromCharCode(y), this._cursor.getChars(s)]);
10456
10475
  } catch {
10457
- throw this._createError(Wl(this._cursor.getChars(s)), this._cursor.getSpan());
10476
+ throw this._createError(zl(this._cursor.getChars(s)), this._cursor.getSpan());
10458
10477
  }
10459
10478
  } else {
10460
10479
  let l = this._cursor.clone();
@@ -10463,7 +10482,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10463
10482
  let p = this._cursor.getChars(l);
10464
10483
  this._cursor.advance();
10465
10484
  let f = Qa[p];
10466
- if (!f) throw this._createError(Wl(p), this._cursor.getSpan(s));
10485
+ if (!f) throw this._createError(zl(p), this._cursor.getSpan(s));
10467
10486
  this._endToken([f, `&${p};`]);
10468
10487
  }
10469
10488
  }
@@ -10494,7 +10513,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10494
10513
  let a = this._cursor.clone(), s = "";
10495
10514
  for (; this._cursor.peek() !== 58 && !um(this._cursor.peek()); ) this._cursor.advance();
10496
10515
  let l;
10497
- this._cursor.peek() === 58 ? (s = this._cursor.getChars(a), this._cursor.advance(), l = this._cursor.clone()) : l = a, this._requireCharCodeUntilFn(zl, s === "" ? 0 : 1);
10516
+ this._cursor.peek() === 58 ? (s = this._cursor.getChars(a), this._cursor.advance(), l = this._cursor.clone()) : l = a, this._requireCharCodeUntilFn(Vl, s === "" ? 0 : 1);
10498
10517
  let p = this._cursor.getChars(l);
10499
10518
  return [s, p];
10500
10519
  }
@@ -10546,7 +10565,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10546
10565
  let l = () => this._cursor.peek() === s;
10547
10566
  a = this._consumeWithInterpolation(16, 17, l, l), this._consumeQuote(s);
10548
10567
  } else {
10549
- let s = () => zl(this._cursor.peek());
10568
+ let s = () => Vl(this._cursor.peek());
10550
10569
  a = this._consumeWithInterpolation(16, 17, s, s);
10551
10570
  }
10552
10571
  return a;
@@ -10636,7 +10655,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10636
10655
  _isBlockStart() {
10637
10656
  if (this._tokenizeBlocks && this._cursor.peek() === 64) {
10638
10657
  let a = this._cursor.clone();
10639
- if (a.advance(), Gl(a.peek())) return !0;
10658
+ if (a.advance(), Yl(a.peek())) return !0;
10640
10659
  }
10641
10660
  return !1;
10642
10661
  }
@@ -10673,7 +10692,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10673
10692
  function Ie(a) {
10674
10693
  return !Wa(a) || a === 0;
10675
10694
  }
10676
- function zl(a) {
10695
+ function Vl(a) {
10677
10696
  return Wa(a) || a === 62 || a === 60 || a === 47 || a === 39 || a === 34 || a === 61 || a === 0;
10678
10697
  }
10679
10698
  function um(a) {
@@ -10689,15 +10708,15 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10689
10708
  return a !== 125;
10690
10709
  }
10691
10710
  function hm(a, s) {
10692
- return Vl(a) === Vl(s);
10711
+ return Gl(a) === Gl(s);
10693
10712
  }
10694
- function Vl(a) {
10713
+ function Gl(a) {
10695
10714
  return a >= 97 && a <= 122 ? a - 97 + 65 : a;
10696
10715
  }
10697
- function Gl(a) {
10716
+ function Yl(a) {
10698
10717
  return za(a) || ds(a) || a === 95;
10699
10718
  }
10700
- function Yl(a) {
10719
+ function Kl(a) {
10701
10720
  return a !== 59 && Ie(a);
10702
10721
  }
10703
10722
  function fm(a) {
@@ -10708,9 +10727,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10708
10727
  }
10709
10728
  return s;
10710
10729
  }
10711
- var Kl = class so {
10730
+ var Jl = class oo {
10712
10731
  constructor(s, l) {
10713
- if (s instanceof so) {
10732
+ if (s instanceof oo) {
10714
10733
  this.file = s.file, this.input = s.input, this.end = s.end;
10715
10734
  let p = s.state;
10716
10735
  this.state = { peek: p.peek, offset: p.offset, line: p.line, column: p.column };
@@ -10720,7 +10739,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10720
10739
  }
10721
10740
  }
10722
10741
  clone() {
10723
- return new so(this);
10742
+ return new oo(this);
10724
10743
  }
10725
10744
  peek() {
10726
10745
  return this.state.peek;
@@ -10761,9 +10780,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10761
10780
  locationFromCursor(s) {
10762
10781
  return new ms(s.file, s.state.offset, s.state.line, s.state.column);
10763
10782
  }
10764
- }, mm = class oo extends Kl {
10783
+ }, mm = class lo extends Jl {
10765
10784
  constructor(s, l) {
10766
- s instanceof oo ? (super(s), this.internalState = { ...s.internalState }) : (super(s, l), this.internalState = this.state);
10785
+ s instanceof lo ? (super(s), this.internalState = { ...s.internalState }) : (super(s, l), this.internalState = this.state);
10767
10786
  }
10768
10787
  advance() {
10769
10788
  this.state = this.internalState, super.advance(), this.processEscapeSequence();
@@ -10772,7 +10791,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10772
10791
  super.init(), this.processEscapeSequence();
10773
10792
  }
10774
10793
  clone() {
10775
- return new oo(this);
10794
+ return new lo(this);
10776
10795
  }
10777
10796
  getChars(s) {
10778
10797
  let l = s.clone(), p = "";
@@ -10800,9 +10819,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10800
10819
  this.advanceState(this.internalState);
10801
10820
  let l = this.clone();
10802
10821
  this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(l, 2);
10803
- } else if (Cl(s())) {
10822
+ } else if (xl(s())) {
10804
10823
  let l = "", p = 0, f = this.clone();
10805
- for (; Cl(s()) && p < 3; ) f = this.clone(), l += String.fromCodePoint(s()), this.advanceState(this.internalState), p++;
10824
+ for (; xl(s()) && p < 3; ) f = this.clone(), l += String.fromCodePoint(s()), this.advanceState(this.internalState), p++;
10806
10825
  this.state.peek = parseInt(l, 8), this.internalState = f.internalState;
10807
10826
  } else hs(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
10808
10827
  }
@@ -10815,7 +10834,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10815
10834
  constructor(a, s) {
10816
10835
  this.msg = a, this.cursor = s;
10817
10836
  }
10818
- }, ot = class pd extends _l {
10837
+ }, ot = class pd extends Sl {
10819
10838
  static create(s, l, p) {
10820
10839
  return new pd(s, l, p);
10821
10840
  }
@@ -10893,10 +10912,10 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10893
10912
  _collectExpansionExpTokens(s) {
10894
10913
  let l = [], p = [22];
10895
10914
  for (; ; ) {
10896
- if ((this._peek.type === 20 || this._peek.type === 22) && p.push(this._peek.type), this._peek.type === 23) if (Jl(p, 22)) {
10915
+ if ((this._peek.type === 20 || this._peek.type === 22) && p.push(this._peek.type), this._peek.type === 23) if (Xl(p, 22)) {
10897
10916
  if (p.pop(), p.length === 0) return l;
10898
10917
  } else return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10899
- if (this._peek.type === 24) if (Jl(p, 20)) p.pop();
10918
+ if (this._peek.type === 24) if (Xl(p, 20)) p.pop();
10900
10919
  else return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10901
10920
  if (this._peek.type === 34) return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10902
10921
  l.push(this._advance());
@@ -10918,7 +10937,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10918
10937
  let y = this._getContainer();
10919
10938
  y != null && y.children.length === 0 && this.getTagDefinition(y.name).ignoreFirstLf && (f = f.substring(1), l[0] = { type: s.type, sourceSpan: s.sourceSpan, parts: [f] });
10920
10939
  }
10921
- for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) s = this._advance(), l.push(s), s.type === 8 ? f += s.parts.join("").replace(/&([^;]+);/g, Xl) : s.type === 9 ? f += s.parts[0] : f += s.parts.join("");
10940
+ for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) s = this._advance(), l.push(s), s.type === 8 ? f += s.parts.join("").replace(/&([^;]+);/g, Ql) : s.type === 9 ? f += s.parts[0] : f += s.parts.join("");
10922
10941
  if (f.length > 0) {
10923
10942
  let y = s.sourceSpan;
10924
10943
  this._addToParent(new Vf(f, new ie(p.start, y.end, p.fullStart, p.details), l));
@@ -10966,7 +10985,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10966
10985
  let y = "", S = [], B, R;
10967
10986
  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; ) {
10968
10987
  let U = this._advance();
10969
- S.push(U), U.type === 17 ? y += U.parts.join("").replace(/&([^;]+);/g, Xl) : U.type === 9 ? y += U.parts[0] : y += U.parts.join(""), R = p = U.sourceSpan.end;
10988
+ S.push(U), U.type === 17 ? y += U.parts.join("").replace(/&([^;]+);/g, Ql) : U.type === 9 ? y += U.parts[0] : y += U.parts.join(""), R = p = U.sourceSpan.end;
10970
10989
  }
10971
10990
  this._peek.type === 15 && (R = p = this._advance().sourceSpan.end);
10972
10991
  let G = B && R && new ie((f == null ? void 0 : f.sourceSpan.start) ?? B.start, R, (f == null ? void 0 : f.sourceSpan.fullStart) ?? B.fullStart);
@@ -10976,7 +10995,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10976
10995
  let l = [];
10977
10996
  for (; this._peek.type === 28; ) {
10978
10997
  let B = this._advance();
10979
- l.push(new Rl(B.parts[0], B.sourceSpan));
10998
+ l.push(new ql(B.parts[0], B.sourceSpan));
10980
10999
  }
10981
11000
  this._peek.type === 26 && this._advance();
10982
11001
  let p = this._peek.sourceSpan.fullStart, f = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), y = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), S = new Zn(s.parts[0], l, [], f, s.sourceSpan, y);
@@ -10989,7 +11008,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10989
11008
  let l = [];
10990
11009
  for (; this._peek.type === 28; ) {
10991
11010
  let B = this._advance();
10992
- l.push(new Rl(B.parts[0], B.sourceSpan));
11011
+ l.push(new ql(B.parts[0], B.sourceSpan));
10993
11012
  }
10994
11013
  let p = this._peek.sourceSpan.fullStart, f = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), y = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), S = new Zn(s.parts[0], l, [], f, s.sourceSpan, y);
10995
11014
  this._pushContainer(S, !1), this._popContainer(null, Zn, null), this.errors.push(ot.create(s.parts[0], f, `Incomplete block "${s.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
@@ -11004,13 +11023,13 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
11004
11023
  this.errors.push(ot.create(s.parts[0], s.sourceSpan, `Unterminated @let declaration "${l}". Declaration must be terminated with a semicolon.`));
11005
11024
  return;
11006
11025
  } else f = this._advance();
11007
- let y = f.sourceSpan.fullStart, S = new ie(s.sourceSpan.start, y, s.sourceSpan.fullStart), B = s.sourceSpan.toString().lastIndexOf(l), R = s.sourceSpan.start.moveBy(B), G = new ie(R, s.sourceSpan.end), U = new ql(l, p.parts[0], S, G, p.sourceSpan);
11026
+ let y = f.sourceSpan.fullStart, S = new ie(s.sourceSpan.start, y, s.sourceSpan.fullStart), B = s.sourceSpan.toString().lastIndexOf(l), R = s.sourceSpan.start.moveBy(B), G = new ie(R, s.sourceSpan.end), U = new Hl(l, p.parts[0], S, G, p.sourceSpan);
11008
11027
  this._addToParent(U);
11009
11028
  }
11010
11029
  _consumeIncompleteLet(s) {
11011
11030
  let l = s.parts[0] ?? "", p = l ? ` "${l}"` : "";
11012
11031
  if (l.length > 0) {
11013
- let f = s.sourceSpan.toString().lastIndexOf(l), y = s.sourceSpan.start.moveBy(f), S = new ie(y, s.sourceSpan.end), B = new ie(s.sourceSpan.start, s.sourceSpan.start.moveBy(0)), R = new ql(l, "", s.sourceSpan, S, B);
11032
+ let f = s.sourceSpan.toString().lastIndexOf(l), y = s.sourceSpan.start.moveBy(f), S = new ie(y, s.sourceSpan.end), B = new ie(s.sourceSpan.start, s.sourceSpan.start.moveBy(0)), R = new Hl(l, "", s.sourceSpan, S, B);
11014
11033
  this._addToParent(R);
11015
11034
  }
11016
11035
  this.errors.push(ot.create(s.parts[0], s.sourceSpan, `Incomplete @let declaration${p}. @let declarations must be written as \`@let <name> = <value>;\``));
@@ -11034,10 +11053,10 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
11034
11053
  return Ka(s, l);
11035
11054
  }
11036
11055
  };
11037
- function Jl(a, s) {
11056
+ function Xl(a, s) {
11038
11057
  return a.length > 0 && a[a.length - 1] === s;
11039
11058
  }
11040
- function Xl(a, s) {
11059
+ function Ql(a, s) {
11041
11060
  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;
11042
11061
  }
11043
11062
  var ym = class extends vm {
@@ -11048,7 +11067,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
11048
11067
  return super.parse(a, s, l, p, f);
11049
11068
  }
11050
11069
  }, bs = null, bm = () => (bs || (bs = new ym()), bs);
11051
- function Ql(a, s = {}) {
11070
+ function Zl(a, s = {}) {
11052
11071
  let { canSelfClose: l = !1, allowHtmComponentClosingTags: p = !1, isTagNameCaseSensitive: f = !1, getTagContentType: y, tokenizeAngularBlocks: S = !1, tokenizeAngularLetDeclaration: B = !1 } = s;
11053
11072
  return bm().parse(a, "angular-html-parser", { tokenizeExpansionForms: S, interpolationConfig: void 0, canSelfClose: l, allowHtmComponentClosingTags: p, tokenizeBlocks: S, tokenizeLet: B }, f, y);
11054
11073
  }
@@ -11056,21 +11075,21 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
11056
11075
  let l = new SyntaxError(a + " (" + s.loc.start.line + ":" + s.loc.start.column + ")");
11057
11076
  return Object.assign(l, s);
11058
11077
  }
11059
- var wm = km, qr = 3;
11078
+ var wm = km, Hr = 3;
11060
11079
  function Cm(a) {
11061
- let s = a.slice(0, qr);
11080
+ let s = a.slice(0, Hr);
11062
11081
  if (s !== "---" && s !== "+++") return;
11063
11082
  let l = a.indexOf(`
11064
- `, qr);
11083
+ `, Hr);
11065
11084
  if (l === -1) return;
11066
- let p = a.slice(qr, l).trim(), f = a.indexOf(`
11085
+ let p = a.slice(Hr, l).trim(), f = a.indexOf(`
11067
11086
  ${s}`, l), y = p;
11068
11087
  if (y || (y = s === "+++" ? "toml" : "yaml"), f === -1 && s === "---" && y === "yaml" && (f = a.indexOf(`
11069
11088
  ...`, l)), f === -1) return;
11070
- let S = f + 1 + qr, B = a.charAt(S + 1);
11089
+ let S = f + 1 + Hr, B = a.charAt(S + 1);
11071
11090
  if (!/\s?/u.test(B)) return;
11072
11091
  let R = a.slice(0, S);
11073
- return { type: "front-matter", language: y, explicitLanguage: p, value: a.slice(l + 1, f), startDelimiter: s, endDelimiter: R.slice(-qr), raw: R };
11092
+ return { type: "front-matter", language: y, explicitLanguage: p, value: a.slice(l + 1, f), startDelimiter: s, endDelimiter: R.slice(-Hr), raw: R };
11074
11093
  }
11075
11094
  function xm(a) {
11076
11095
  let s = Cm(a);
@@ -11078,13 +11097,13 @@ ${s}`, l), y = p;
11078
11097
  let { raw: l } = s;
11079
11098
  return { frontMatter: s, content: C(!1, l, /[^\n]/gu, " ") + a.slice(l.length) };
11080
11099
  }
11081
- var _m = xm, ei = { attrs: !0, children: !0, cases: !0, expression: !0 }, Zl = /* @__PURE__ */ new Set(["parent"]), Sm = class Xr {
11100
+ var _m = xm, ei = { attrs: !0, children: !0, cases: !0, expression: !0 }, eu = /* @__PURE__ */ new Set(["parent"]), Sm = class Qr {
11082
11101
  constructor(s = {}) {
11083
- for (let l of /* @__PURE__ */ new Set([...Zl, ...Object.keys(s)])) this.setProperty(l, s[l]);
11102
+ for (let l of /* @__PURE__ */ new Set([...eu, ...Object.keys(s)])) this.setProperty(l, s[l]);
11084
11103
  }
11085
11104
  setProperty(s, l) {
11086
11105
  if (this[s] !== l) {
11087
- if (s in ei && (l = l.map((p) => this.createChild(p))), !Zl.has(s)) {
11106
+ if (s in ei && (l = l.map((p) => this.createChild(p))), !eu.has(s)) {
11088
11107
  this[s] = l;
11089
11108
  return;
11090
11109
  }
@@ -11097,7 +11116,7 @@ ${s}`, l), y = p;
11097
11116
  let f = this[p];
11098
11117
  if (f) {
11099
11118
  let y = Em(f, (S) => S.map(s));
11100
- l !== f && (l || (l = new Xr({ parent: this.parent })), l.setProperty(p, y));
11119
+ l !== f && (l || (l = new Qr({ parent: this.parent })), l.setProperty(p, y));
11101
11120
  }
11102
11121
  }
11103
11122
  if (l) for (let p in this) p in ei || (l[p] = this[p]);
@@ -11111,7 +11130,7 @@ ${s}`, l), y = p;
11111
11130
  s(this);
11112
11131
  }
11113
11132
  createChild(s) {
11114
- let l = s instanceof Xr ? s.clone() : new Xr(s);
11133
+ let l = s instanceof Qr ? s.clone() : new Qr(s);
11115
11134
  return l.setProperty("parent", this), l;
11116
11135
  }
11117
11136
  insertChildBefore(s, l) {
@@ -11124,7 +11143,7 @@ ${s}`, l), y = p;
11124
11143
  this.children[this.children.indexOf(s)] = this.createChild(l);
11125
11144
  }
11126
11145
  clone() {
11127
- return new Xr(this);
11146
+ return new Qr(this);
11128
11147
  }
11129
11148
  get firstChild() {
11130
11149
  var s;
@@ -11198,21 +11217,21 @@ ${s}`, l), y = p;
11198
11217
  function Lm(a) {
11199
11218
  (a.type === "plural" || a.type === "select") && (a.clause = a.type, a.type = "angularIcuExpression"), a.type === "expansionCase" && (a.type = "angularIcuCase");
11200
11219
  }
11201
- function eu(a, s, l) {
11202
- let { name: p, canSelfClose: f = !0, normalizeTagName: y = !1, normalizeAttributeName: S = !1, allowHtmComponentClosingTags: B = !1, isTagNameCaseSensitive: R = !1, shouldParseAsRawText: G } = s, { rootNodes: U, errors: De } = Ql(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R, getTagContentType: G ? (...z) => G(...z) ? Tt.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: p === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: p === "angular" ? !0 : void 0 });
11220
+ function tu(a, s, l) {
11221
+ let { name: p, canSelfClose: f = !0, normalizeTagName: y = !1, normalizeAttributeName: S = !1, allowHtmComponentClosingTags: B = !1, isTagNameCaseSensitive: R = !1, shouldParseAsRawText: G } = s, { rootNodes: U, errors: De } = Zl(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R, getTagContentType: G ? (...z) => G(...z) ? Tt.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: p === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: p === "angular" ? !0 : void 0 });
11203
11222
  if (p === "vue") {
11204
- if (U.some((Me) => Me.type === "docType" && Me.value === "html" || Me.type === "element" && Me.name.toLowerCase() === "html")) return eu(a, ru, l);
11205
- let z, ue = () => z ?? (z = Ql(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R })), We = (Me) => ue().rootNodes.find(({ startSourceSpan: lt }) => lt && lt.start.offset === Me.startSourceSpan.start.offset) ?? Me;
11223
+ if (U.some((Me) => Me.type === "docType" && Me.value === "html" || Me.type === "element" && Me.name.toLowerCase() === "html")) return tu(a, au, l);
11224
+ let z, ue = () => z ?? (z = Zl(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R })), We = (Me) => ue().rootNodes.find(({ startSourceSpan: lt }) => lt && lt.start.offset === Me.startSourceSpan.start.offset) ?? Me;
11206
11225
  for (let [Me, lt] of U.entries()) {
11207
11226
  let { endSourceSpan: tr, startSourceSpan: Um } = lt;
11208
11227
  if (tr === null) De = ue().errors, U[Me] = We(lt);
11209
11228
  else if (Om(lt, l)) {
11210
- let au = ue().errors.find((iu) => iu.span.start.offset > Um.start.offset && iu.span.start.offset < tr.end.offset);
11211
- au && tu(au), U[Me] = We(lt);
11229
+ let iu = ue().errors.find((su) => su.span.start.offset > Um.start.offset && su.span.start.offset < tr.end.offset);
11230
+ iu && nu(iu), U[Me] = We(lt);
11212
11231
  }
11213
11232
  }
11214
11233
  }
11215
- De.length > 0 && tu(De[0]);
11234
+ De.length > 0 && nu(De[0]);
11216
11235
  let fe = (z) => {
11217
11236
  let ue = z.name.startsWith(":") ? z.name.slice(1).split(":")[0] : null, We = z.nameSpan.toString(), Me = ue !== null && We.startsWith(`${ue}:`), lt = Me ? We.slice(ue.length + 1) : We;
11218
11237
  z.name = lt, z.namespace = ue, z.hasExplicitNamespace = Me;
@@ -11242,7 +11261,7 @@ ${s}`, l), y = p;
11242
11261
  !z.namespace || z.namespace === ue.implicitNamespacePrefix || me(z) ? z.tagDefinition = ue : z.tagDefinition = gs("");
11243
11262
  }
11244
11263
  };
11245
- return Hl(new class extends Zf {
11264
+ return Ul(new class extends Zf {
11246
11265
  visitExpansionCase(z, ue) {
11247
11266
  p === "angular" && this.visitChildren(ue, (We) => {
11248
11267
  We(z.expression);
@@ -11259,18 +11278,18 @@ ${s}`, l), y = p;
11259
11278
  let p = (l = a.attrs.find((f) => f.name === "lang")) == null ? void 0 : l.value;
11260
11279
  return !p || Kn(s, { language: p }) === "html";
11261
11280
  }
11262
- function tu(a) {
11281
+ function nu(a) {
11263
11282
  let { msg: s, span: { start: l, end: p } } = a;
11264
11283
  throw wm(s, { loc: { start: { line: l.line + 1, column: l.col + 1 }, end: { line: p.line + 1, column: p.col + 1 } }, cause: a });
11265
11284
  }
11266
- function nu(a, s, l = {}, p = !0) {
11267
- let { frontMatter: f, content: y } = p ? _m(a) : { frontMatter: null, content: a }, S = new xl(a, l.filepath), B = new ms(S, 0, 0, 0), R = B.moveBy(a.length), G = { type: "root", sourceSpan: new ie(B, R), children: eu(y, s, l) };
11285
+ function ru(a, s, l = {}, p = !0) {
11286
+ let { frontMatter: f, content: y } = p ? _m(a) : { frontMatter: null, content: a }, S = new _l(a, l.filepath), B = new ms(S, 0, 0, 0), R = B.moveBy(a.length), G = { type: "root", sourceSpan: new ie(B, R), children: tu(y, s, l) };
11268
11287
  if (f) {
11269
11288
  let fe = new ms(S, 0, 0, 0), le = fe.moveBy(f.raw.length);
11270
11289
  f.sourceSpan = new ie(fe, le), G.children.unshift(f);
11271
11290
  }
11272
11291
  let U = new Sm(G), De = (fe, le) => {
11273
- let { offset: Ee } = le, Ue = C(!1, a.slice(0, Ee), /[^\n\r]/gu, " "), Ze = nu(Ue + fe, s, l, !1);
11292
+ let { offset: Ee } = le, Ue = C(!1, a.slice(0, Ee), /[^\n\r]/gu, " "), Ze = ru(Ue + fe, s, l, !1);
11274
11293
  Ze.sourceSpan = new ie(le, zt(!1, Ze.children, -1).sourceSpan.end);
11275
11294
  let st = Ze.children[0];
11276
11295
  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;
@@ -11284,9 +11303,9 @@ ${s}`, l), y = p;
11284
11303
  }), U;
11285
11304
  }
11286
11305
  function ti(a) {
11287
- return { parse: (s, l) => nu(s, a, l), hasPragma: af, astFormat: "html", locStart: Ma, locEnd: Ra };
11306
+ return { parse: (s, l) => ru(s, a, l), hasPragma: af, astFormat: "html", locStart: Ma, locEnd: Ra };
11288
11307
  }
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) {
11308
+ var au = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, Im = ti(au), Mm = ti({ name: "angular" }), Rm = ti({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(a, s, l, p) {
11290
11309
  return a.toLowerCase() !== "html" && !l && (a !== "template" || p.some(({ name: f, value: y }) => f === "lang" && y !== "html" && y !== "" && y !== void 0));
11291
11310
  } }), qm = ti({ name: "lwc", canSelfClose: !1 }), Hm = { html: Nf };
11292
11311
  return h(k);
@@ -11315,22 +11334,22 @@ function r1(e, t) {
11315
11334
  }
11316
11335
  return i;
11317
11336
  }
11318
- function lo(e, t) {
11337
+ function uo(e, t) {
11319
11338
  (t == null || t > e.length) && (t = e.length);
11320
11339
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
11321
11340
  return r;
11322
11341
  }
11323
11342
  function a1(e) {
11324
- if (Array.isArray(e)) return lo(e);
11343
+ if (Array.isArray(e)) return uo(e);
11325
11344
  }
11326
11345
  function i1(e) {
11327
11346
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
11328
11347
  }
11329
11348
  function s1(e, t) {
11330
11349
  if (e) {
11331
- if (typeof e == "string") return lo(e, t);
11350
+ if (typeof e == "string") return uo(e, t);
11332
11351
  var n = {}.toString.call(e).slice(8, -1);
11333
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lo(e, t) : void 0;
11352
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uo(e, t) : void 0;
11334
11353
  }
11335
11354
  }
11336
11355
  function o1() {
@@ -11340,27 +11359,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11340
11359
  function l1(e) {
11341
11360
  return a1(e) || i1(e) || s1(e) || o1();
11342
11361
  }
11343
- function da(e) {
11362
+ function ha(e) {
11344
11363
  "@babel/helpers - typeof";
11345
- return da = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
11364
+ return ha = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
11346
11365
  return typeof t;
11347
11366
  } : function(t) {
11348
11367
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
11349
- }, da(e);
11368
+ }, ha(e);
11350
11369
  }
11351
11370
  function u1(e, t) {
11352
- if (da(e) != "object" || !e) return e;
11371
+ if (ha(e) != "object" || !e) return e;
11353
11372
  var n = e[Symbol.toPrimitive];
11354
11373
  if (n !== void 0) {
11355
11374
  var r = n.call(e, t || "default");
11356
- if (da(r) != "object") return r;
11375
+ if (ha(r) != "object") return r;
11357
11376
  throw new TypeError("@@toPrimitive must return a primitive value.");
11358
11377
  }
11359
11378
  return (t === "string" ? String : Number)(e);
11360
11379
  }
11361
11380
  function c1(e) {
11362
11381
  var t = u1(e, "string");
11363
- return da(t) == "symbol" ? t : t + "";
11382
+ return ha(t) == "symbol" ? t : t + "";
11364
11383
  }
11365
11384
  function fd(e, t, n) {
11366
11385
  return (t = c1(t)) in e ? Object.defineProperty(e, t, {
@@ -11370,14 +11389,14 @@ function fd(e, t, n) {
11370
11389
  writable: !0
11371
11390
  }) : e[t] = n, e;
11372
11391
  }
11373
- function uo() {
11374
- return uo = Object.assign ? Object.assign.bind() : function(e) {
11392
+ function co() {
11393
+ return co = Object.assign ? Object.assign.bind() : function(e) {
11375
11394
  for (var t = 1; t < arguments.length; t++) {
11376
11395
  var n = arguments[t];
11377
11396
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
11378
11397
  }
11379
11398
  return e;
11380
- }, uo.apply(null, arguments);
11399
+ }, co.apply(null, arguments);
11381
11400
  }
11382
11401
  function yc(e, t) {
11383
11402
  var n = Object.keys(e);
@@ -11410,11 +11429,11 @@ function p1(e) {
11410
11429
  if (t >= 4)
11411
11430
  return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])];
11412
11431
  }
11413
- var Is = {};
11432
+ var Ms = {};
11414
11433
  function d1(e) {
11415
11434
  if (e.length === 0 || e.length === 1) return e;
11416
11435
  var t = e.join(".");
11417
- return Is[t] || (Is[t] = p1(e)), Is[t];
11436
+ return Ms[t] || (Ms[t] = p1(e)), Ms[t];
11418
11437
  }
11419
11438
  function h1(e) {
11420
11439
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0, r = e.filter(function(o) {
@@ -11464,7 +11483,7 @@ function md(e) {
11464
11483
  });
11465
11484
  }
11466
11485
  var C = v(t.children);
11467
- return /* @__PURE__ */ xe.createElement(h, uo({
11486
+ return /* @__PURE__ */ xe.createElement(h, co({
11468
11487
  key: u
11469
11488
  }, D), C);
11470
11489
  }
@@ -11752,10 +11771,10 @@ function F1() {
11752
11771
  }
11753
11772
  return e;
11754
11773
  }
11755
- var bd = kd, Oo = kd.prototype;
11756
- Oo.space = null;
11757
- Oo.normal = {};
11758
- Oo.property = {};
11774
+ var bd = kd, Io = kd.prototype;
11775
+ Io.space = null;
11776
+ Io.normal = {};
11777
+ Io.property = {};
11759
11778
  function kd(e, t, n) {
11760
11779
  this.property = e, this.normal = t, n && (this.space = n);
11761
11780
  }
@@ -11769,7 +11788,7 @@ function T1(e) {
11769
11788
  u
11770
11789
  );
11771
11790
  }
11772
- var Io = B1;
11791
+ var Mo = B1;
11773
11792
  function B1(e) {
11774
11793
  return e.toLowerCase();
11775
11794
  }
@@ -11800,9 +11819,9 @@ Wt.commaOrSpaceSeparated = Gn();
11800
11819
  function Gn() {
11801
11820
  return Math.pow(2, ++N1);
11802
11821
  }
11803
- var xd = wd, Cc = Wt, _d = Mo;
11804
- Mo.prototype = new xd();
11805
- Mo.prototype.defined = !0;
11822
+ var xd = wd, Cc = Wt, _d = Ro;
11823
+ Ro.prototype = new xd();
11824
+ Ro.prototype.defined = !0;
11806
11825
  var Sd = [
11807
11826
  "boolean",
11808
11827
  "booleanish",
@@ -11812,7 +11831,7 @@ var Sd = [
11812
11831
  "spaceSeparated",
11813
11832
  "commaOrSpaceSeparated"
11814
11833
  ], j1 = Sd.length;
11815
- function Mo(e, t, n, r) {
11834
+ function Ro(e, t, n, r) {
11816
11835
  var i = -1, o;
11817
11836
  for (xc(this, "space", r), xd.call(this, e, t); ++i < j1; )
11818
11837
  o = Sd[i], xc(this, o, (n & Cc[o]) === Cc[o]);
@@ -11820,7 +11839,7 @@ function Mo(e, t, n, r) {
11820
11839
  function xc(e, t, n) {
11821
11840
  n && (e[t] = n);
11822
11841
  }
11823
- var _c = Io, P1 = bd, L1 = _d, _a = O1;
11842
+ var _c = Mo, P1 = bd, L1 = _d, _a = O1;
11824
11843
  function O1(e) {
11825
11844
  var t = e.space, n = e.mustUseProperty || [], r = e.attributes || {}, i = e.properties, o = e.transform, u = {}, c = {}, d, h;
11826
11845
  for (d in i)
@@ -11878,7 +11897,7 @@ var Y1 = _a, K1 = Ed, J1 = Y1({
11878
11897
  xmlns: null,
11879
11898
  xmlnsXLink: null
11880
11899
  }
11881
- }), Ro = Wt, X1 = _a, mt = Ro.booleanish, St = Ro.number, $n = Ro.spaceSeparated, Q1 = X1({
11900
+ }), qo = Wt, X1 = _a, mt = qo.booleanish, St = qo.number, Tn = qo.spaceSeparated, Q1 = X1({
11882
11901
  transform: Z1,
11883
11902
  properties: {
11884
11903
  ariaActiveDescendant: null,
@@ -11889,36 +11908,36 @@ var Y1 = _a, K1 = Ed, J1 = Y1({
11889
11908
  ariaColCount: St,
11890
11909
  ariaColIndex: St,
11891
11910
  ariaColSpan: St,
11892
- ariaControls: $n,
11911
+ ariaControls: Tn,
11893
11912
  ariaCurrent: null,
11894
- ariaDescribedBy: $n,
11913
+ ariaDescribedBy: Tn,
11895
11914
  ariaDetails: null,
11896
11915
  ariaDisabled: mt,
11897
- ariaDropEffect: $n,
11916
+ ariaDropEffect: Tn,
11898
11917
  ariaErrorMessage: null,
11899
11918
  ariaExpanded: mt,
11900
- ariaFlowTo: $n,
11919
+ ariaFlowTo: Tn,
11901
11920
  ariaGrabbed: mt,
11902
11921
  ariaHasPopup: null,
11903
11922
  ariaHidden: mt,
11904
11923
  ariaInvalid: null,
11905
11924
  ariaKeyShortcuts: null,
11906
11925
  ariaLabel: null,
11907
- ariaLabelledBy: $n,
11926
+ ariaLabelledBy: Tn,
11908
11927
  ariaLevel: St,
11909
11928
  ariaLive: null,
11910
11929
  ariaModal: mt,
11911
11930
  ariaMultiLine: mt,
11912
11931
  ariaMultiSelectable: mt,
11913
11932
  ariaOrientation: null,
11914
- ariaOwns: $n,
11933
+ ariaOwns: Tn,
11915
11934
  ariaPlaceholder: null,
11916
11935
  ariaPosInSet: St,
11917
11936
  ariaPressed: mt,
11918
11937
  ariaReadOnly: mt,
11919
11938
  ariaRelevant: null,
11920
11939
  ariaRequired: mt,
11921
- ariaRoleDescription: $n,
11940
+ ariaRoleDescription: Tn,
11922
11941
  ariaRowCount: St,
11923
11942
  ariaRowIndex: St,
11924
11943
  ariaRowSpan: St,
@@ -11935,7 +11954,7 @@ var Y1 = _a, K1 = Ed, J1 = Y1({
11935
11954
  function Z1(e, t) {
11936
11955
  return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
11937
11956
  }
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({
11957
+ var xr = Wt, ek = _a, tk = Ed, oe = xr.boolean, nk = xr.overloadedBoolean, Xr = xr.booleanish, $e = xr.number, ut = xr.spaceSeparated, ii = xr.commaSeparated, rk = ek({
11939
11958
  space: "html",
11940
11959
  attributes: {
11941
11960
  acceptcharset: "accept-charset",
@@ -11971,7 +11990,7 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
11971
11990
  cols: $e,
11972
11991
  colSpan: null,
11973
11992
  content: null,
11974
- contentEditable: Jr,
11993
+ contentEditable: Xr,
11975
11994
  controls: oe,
11976
11995
  controlsList: ut,
11977
11996
  coords: $e | ii,
@@ -11985,7 +12004,7 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
11985
12004
  dirName: null,
11986
12005
  disabled: oe,
11987
12006
  download: nk,
11988
- draggable: Jr,
12007
+ draggable: Xr,
11989
12008
  encType: null,
11990
12009
  enterKeyHint: null,
11991
12010
  form: null,
@@ -12143,7 +12162,7 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
12143
12162
  sizes: null,
12144
12163
  slot: null,
12145
12164
  span: $e,
12146
- spellCheck: Jr,
12165
+ spellCheck: Xr,
12147
12166
  src: null,
12148
12167
  srcDoc: null,
12149
12168
  srcLang: null,
@@ -12158,7 +12177,7 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
12158
12177
  type: null,
12159
12178
  typeMustMatch: oe,
12160
12179
  useMap: null,
12161
- value: Jr,
12180
+ value: Xr,
12162
12181
  width: $e,
12163
12182
  wrap: null,
12164
12183
  // Legacy.
@@ -12249,7 +12268,7 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
12249
12268
  // `<table>`
12250
12269
  scheme: null,
12251
12270
  // `<meta>`
12252
- scrolling: Jr,
12271
+ scrolling: Xr,
12253
12272
  // `<frame>`. Use overflow in the child context
12254
12273
  standby: null,
12255
12274
  // `<object>`
@@ -12281,18 +12300,18 @@ var Cr = Wt, ek = _a, tk = Ed, oe = Cr.boolean, nk = Cr.overloadedBoolean, Jr =
12281
12300
  security: null,
12282
12301
  unselectable: null
12283
12302
  }
12284
- }), ak = $1, ik = M1, sk = H1, ok = J1, lk = Q1, uk = rk, ck = ak([sk, ik, ok, lk, uk]), pk = Io, dk = _d, hk = wd, qo = "data", fk = vk, mk = /^data[-\w.:]+$/i, Fd = /-[a-z]/g, gk = /[A-Z]/g;
12303
+ }), ak = $1, ik = M1, sk = H1, ok = J1, lk = Q1, uk = rk, ck = ak([sk, ik, ok, lk, uk]), pk = Mo, dk = _d, hk = wd, Ho = "data", fk = vk, mk = /^data[-\w.:]+$/i, Fd = /-[a-z]/g, gk = /[A-Z]/g;
12285
12304
  function vk(e, t) {
12286
12305
  var n = pk(t), r = t, i = hk;
12287
- return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === qo && mk.test(t) && (t.charAt(4) === "-" ? r = Dk(t) : t = yk(t), i = dk), new i(r, t));
12306
+ return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === Ho && mk.test(t) && (t.charAt(4) === "-" ? r = Dk(t) : t = yk(t), i = dk), new i(r, t));
12288
12307
  }
12289
12308
  function Dk(e) {
12290
12309
  var t = e.slice(5).replace(Fd, kk);
12291
- return qo + t.charAt(0).toUpperCase() + t.slice(1);
12310
+ return Ho + t.charAt(0).toUpperCase() + t.slice(1);
12292
12311
  }
12293
12312
  function yk(e) {
12294
12313
  var t = e.slice(4);
12295
- return Fd.test(t) ? e : (t = t.replace(gk, bk), t.charAt(0) !== "-" && (t = "-" + t), qo + t);
12314
+ return Fd.test(t) ? e : (t = t.replace(gk, bk), t.charAt(0) !== "-" && (t = "-" + t), Ho + t);
12296
12315
  }
12297
12316
  function bk(e) {
12298
12317
  return "-" + e.toLowerCase();
@@ -12306,9 +12325,9 @@ function Ck(e, t) {
12306
12325
  Sc.lastIndex = o, d = Sc.exec(n), u = n.slice(o, d ? d.index : n.length), u && (c ? c === "#" ? i.id = u : i.className ? i.className.push(u) : i.className = [u] : r = u, o += u.length), d && (c = d[0], o++);
12307
12326
  return { type: "element", tagName: r, properties: i, children: [] };
12308
12327
  }
12309
- var Ho = {};
12310
- Ho.parse = Sk;
12311
- Ho.stringify = Ek;
12328
+ var Uo = {};
12329
+ Uo.parse = Sk;
12330
+ Uo.stringify = Ek;
12312
12331
  var Ec = "", xk = " ", _k = /[ \t\n\r\f]+/g;
12313
12332
  function Sk(e) {
12314
12333
  var t = String(e || Ec).trim();
@@ -12317,20 +12336,20 @@ function Sk(e) {
12317
12336
  function Ek(e) {
12318
12337
  return e.join(xk).trim();
12319
12338
  }
12320
- var Uo = {};
12321
- Uo.parse = Fk;
12322
- Uo.stringify = Ak;
12323
- var co = ",", Fc = " ", Qr = "";
12339
+ var Wo = {};
12340
+ Wo.parse = Fk;
12341
+ Wo.stringify = Ak;
12342
+ var po = ",", Fc = " ", Zr = "";
12324
12343
  function Fk(e) {
12325
- for (var t = [], n = String(e || Qr), r = n.indexOf(co), i = 0, o = !1, u; !o; )
12326
- r === -1 && (r = n.length, o = !0), u = n.slice(i, r).trim(), (u || !o) && t.push(u), i = r + 1, r = n.indexOf(co, i);
12344
+ for (var t = [], n = String(e || Zr), r = n.indexOf(po), i = 0, o = !1, u; !o; )
12345
+ r === -1 && (r = n.length, o = !0), u = n.slice(i, r).trim(), (u || !o) && t.push(u), i = r + 1, r = n.indexOf(po, i);
12327
12346
  return t;
12328
12347
  }
12329
12348
  function Ak(e, t) {
12330
- var n = t || {}, r = n.padLeft === !1 ? Qr : Fc, i = n.padRight ? Fc : Qr;
12331
- return e[e.length - 1] === Qr && (e = e.concat(Qr)), e.join(i + co + r).trim();
12349
+ var n = t || {}, r = n.padLeft === !1 ? Zr : Fc, i = n.padRight ? Fc : Zr;
12350
+ return e[e.length - 1] === Zr && (e = e.concat(Zr)), e.join(i + po + r).trim();
12332
12351
  }
12333
- var $k = fk, Ac = Io, Tk = wk, $c = Ho.parse, Tc = Uo.parse, Bk = jk, Nk = {}.hasOwnProperty;
12352
+ var $k = fk, Ac = Mo, Tk = wk, $c = Uo.parse, Tc = Wo.parse, Bk = jk, Nk = {}.hasOwnProperty;
12334
12353
  function jk(e, t, n) {
12335
12354
  var r = n ? Mk(n) : null;
12336
12355
  return i;
@@ -12566,21 +12585,21 @@ var Nc = HC, jc = UC, nx = Td, rx = zC, Bd = XC, ax = ex, ix = Dx, sx = {}.hasOw
12566
12585
  additional: null,
12567
12586
  attribute: !1,
12568
12587
  nonTerminated: !0
12569
- }, lx = 9, Lc = 10, ux = 12, cx = 32, Oc = 38, px = 59, dx = 60, hx = 61, fx = 35, mx = 88, gx = 120, vx = 65533, lr = "named", Wo = "hexadecimal", zo = "decimal", Vo = {};
12570
- Vo[Wo] = 16;
12571
- Vo[zo] = 10;
12588
+ }, lx = 9, Lc = 10, ux = 12, cx = 32, Oc = 38, px = 59, dx = 60, hx = 61, fx = 35, mx = 88, gx = 120, vx = 65533, lr = "named", zo = "hexadecimal", Vo = "decimal", Go = {};
12589
+ Go[zo] = 16;
12590
+ Go[Vo] = 10;
12572
12591
  var Mi = {};
12573
12592
  Mi[lr] = Bd;
12574
- Mi[zo] = nx;
12575
- Mi[Wo] = rx;
12576
- var Nd = 1, jd = 2, Pd = 3, Ld = 4, Od = 5, po = 6, Id = 7, kn = {};
12577
- kn[Nd] = "Named character references must be terminated by a semicolon";
12578
- kn[jd] = "Numeric character references must be terminated by a semicolon";
12579
- kn[Pd] = "Named character references cannot be empty";
12580
- kn[Ld] = "Numeric character references cannot be empty";
12581
- kn[Od] = "Named character references must be known";
12582
- kn[po] = "Numeric character references cannot be disallowed";
12583
- kn[Id] = "Numeric character references cannot be outside the permissible Unicode range";
12593
+ Mi[Vo] = nx;
12594
+ Mi[zo] = rx;
12595
+ var Nd = 1, jd = 2, Pd = 3, Ld = 4, Od = 5, ho = 6, Id = 7, wn = {};
12596
+ wn[Nd] = "Named character references must be terminated by a semicolon";
12597
+ wn[jd] = "Numeric character references must be terminated by a semicolon";
12598
+ wn[Pd] = "Named character references cannot be empty";
12599
+ wn[Ld] = "Numeric character references cannot be empty";
12600
+ wn[Od] = "Named character references must be known";
12601
+ wn[ho] = "Numeric character references cannot be disallowed";
12602
+ wn[Id] = "Numeric character references cannot be outside the permissible Unicode range";
12584
12603
  function Dx(e, t) {
12585
12604
  var n = {}, r, i;
12586
12605
  t || (t = {});
@@ -12596,9 +12615,9 @@ function yx(e, t) {
12596
12615
  T += ir(P), x++;
12597
12616
  continue;
12598
12617
  }
12599
- for (q = b + 1, N = q, re = q, j === fx ? (re = ++N, j = e.charCodeAt(re), j === mx || j === gx ? (X = Wo, re = ++N) : X = zo) : X = lr, _ = "", L = "", $ = "", de = Mi[X], re--; ++re < D && (j = e.charCodeAt(re), !!de(j)); )
12618
+ for (q = b + 1, N = q, re = q, j === fx ? (re = ++N, j = e.charCodeAt(re), j === mx || j === gx ? (X = zo, re = ++N) : X = Vo) : X = lr, _ = "", L = "", $ = "", de = Mi[X], re--; ++re < D && (j = e.charCodeAt(re), !!de(j)); )
12600
12619
  $ += ir(j), X === lr && sx.call(Nc, $) && (_ = $, L = Nc[$]);
12601
- A = e.charCodeAt(re) === px, A && (re++, F = X === lr ? ax($) : !1, F && (_ = $, L = F)), he = 1 + re - q, !A && !r || ($ ? X === lr ? (A && !L ? W(Od, 1) : (_ !== $ && (re = N + _.length, he = 1 + re - N, A = !1), A || (Y = _ ? Nd : Pd, t.attribute ? (j = e.charCodeAt(re), j === hx ? (W(Y, he), L = null) : Bd(j) ? L = null : W(Y, he)) : W(Y, he))), I = L) : (A || W(jd, he), I = parseInt($, Vo[X]), bx(I) ? (W(Id, he), I = ir(vx)) : I in jc ? (W(po, he), I = jc[I]) : (V = "", kx(I) && W(po, he), I > 65535 && (I -= 65536, V += ir(I >>> 10 | 55296), I = 56320 | I & 1023), I = V + ir(I))) : X !== lr && W(Ld, he)), I ? (Be(), Q = ge(), b = re - 1, x += re - q + 1, E.push(I), se = ge(), se.offset++, o && o.call(
12620
+ A = e.charCodeAt(re) === px, A && (re++, F = X === lr ? ax($) : !1, F && (_ = $, L = F)), he = 1 + re - q, !A && !r || ($ ? X === lr ? (A && !L ? W(Od, 1) : (_ !== $ && (re = N + _.length, he = 1 + re - N, A = !1), A || (Y = _ ? Nd : Pd, t.attribute ? (j = e.charCodeAt(re), j === hx ? (W(Y, he), L = null) : Bd(j) ? L = null : W(Y, he)) : W(Y, he))), I = L) : (A || W(jd, he), I = parseInt($, Go[X]), bx(I) ? (W(Id, he), I = ir(vx)) : I in jc ? (W(ho, he), I = jc[I]) : (V = "", kx(I) && W(ho, he), I > 65535 && (I -= 65536, V += ir(I >>> 10 | 55296), I = 56320 | I & 1023), I = V + ir(I))) : X !== lr && W(Ld, he)), I ? (Be(), Q = ge(), b = re - 1, x += re - q + 1, E.push(I), se = ge(), se.offset++, o && o.call(
12602
12621
  d,
12603
12622
  I,
12604
12623
  { start: Q, end: se },
@@ -12616,7 +12635,7 @@ function yx(e, t) {
12616
12635
  }
12617
12636
  function at(Se, Le) {
12618
12637
  var ce = ge();
12619
- ce.column += Le, ce.offset += Le, u.call(h, kn[Se], ce, Se);
12638
+ ce.column += Le, ce.offset += Le, u.call(h, wn[Se], ce, Se);
12620
12639
  }
12621
12640
  function Be() {
12622
12641
  T && (E.push(T), i && i.call(c, T, { start: Q, end: ge() }), T = "");
@@ -13329,10 +13348,10 @@ var Md = { exports: {} };
13329
13348
  }(t);
13330
13349
  e.exports && (e.exports = n), typeof gn < "u" && (gn.Prism = n);
13331
13350
  })(Md);
13332
- var wx = Md.exports, Cx = Go;
13333
- Go.displayName = "markup";
13334
- Go.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
13335
- function Go(e) {
13351
+ var wx = Md.exports, Cx = Yo;
13352
+ Yo.displayName = "markup";
13353
+ Yo.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
13354
+ function Yo(e) {
13336
13355
  e.languages.markup = {
13337
13356
  comment: {
13338
13357
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
@@ -13498,10 +13517,10 @@ function Go(e) {
13498
13517
  }
13499
13518
  }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml = e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.xml;
13500
13519
  }
13501
- var xx = Yo;
13502
- Yo.displayName = "css";
13503
- Yo.aliases = [];
13504
- function Yo(e) {
13520
+ var xx = Ko;
13521
+ Ko.displayName = "css";
13522
+ Ko.aliases = [];
13523
+ function Ko(e) {
13505
13524
  (function(t) {
13506
13525
  var n = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
13507
13526
  t.languages.css = {
@@ -13563,10 +13582,10 @@ function Yo(e) {
13563
13582
  r && (r.tag.addInlined("style", "css"), r.tag.addAttribute("style", "css"));
13564
13583
  })(e);
13565
13584
  }
13566
- var _x = Ko;
13567
- Ko.displayName = "clike";
13568
- Ko.aliases = [];
13569
- function Ko(e) {
13585
+ var _x = Jo;
13586
+ Jo.displayName = "clike";
13587
+ Jo.aliases = [];
13588
+ function Jo(e) {
13570
13589
  e.languages.clike = {
13571
13590
  comment: [
13572
13591
  {
@@ -13599,10 +13618,10 @@ function Ko(e) {
13599
13618
  punctuation: /[{}[\];(),.:]/
13600
13619
  };
13601
13620
  }
13602
- var Sx = Jo;
13603
- Jo.displayName = "javascript";
13604
- Jo.aliases = ["js"];
13605
- function Jo(e) {
13621
+ var Sx = Xo;
13622
+ Xo.displayName = "javascript";
13623
+ Xo.aliases = ["js"];
13624
+ function Xo(e) {
13606
13625
  e.languages.javascript = e.languages.extend("clike", {
13607
13626
  "class-name": [
13608
13627
  e.languages.clike["class-name"],
@@ -13726,11 +13745,11 @@ function Jo(e) {
13726
13745
  "javascript"
13727
13746
  )), e.languages.js = e.languages.javascript;
13728
13747
  }
13729
- var Zr = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof gn == "object" ? gn : {}, Ex = Ux();
13730
- Zr.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
13748
+ var ea = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof gn == "object" ? gn : {}, Ex = Ux();
13749
+ ea.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
13731
13750
  var Fx = Uk, Ax = ix, Rd = wx, $x = Cx, Tx = xx, Bx = _x, Nx = Sx;
13732
13751
  Ex();
13733
- var Xo = {}.hasOwnProperty;
13752
+ var Qo = {}.hasOwnProperty;
13734
13753
  function qd() {
13735
13754
  }
13736
13755
  qd.prototype = Rd;
@@ -13767,7 +13786,7 @@ function Lx(e, t) {
13767
13786
  else {
13768
13787
  if (typeof t != "string")
13769
13788
  throw new Error("Expected `string` for `name`, got `" + t + "`");
13770
- if (Xo.call(Re.languages, t))
13789
+ if (Qo.call(Re.languages, t))
13771
13790
  r = Re.languages[t];
13772
13791
  else
13773
13792
  throw new Error("Unknown language: `" + t + "` is not registered");
@@ -13777,12 +13796,12 @@ function Lx(e, t) {
13777
13796
  function Ox(e) {
13778
13797
  if (typeof e != "string")
13779
13798
  throw new Error("Expected `string` for `language`, got `" + e + "`");
13780
- return Xo.call(Re.languages, e);
13799
+ return Qo.call(Re.languages, e);
13781
13800
  }
13782
13801
  function Ix() {
13783
13802
  var e = Re.languages, t = [], n;
13784
13803
  for (n in e)
13785
- Xo.call(e, n) && typeof e[n] == "object" && t.push(n);
13804
+ Qo.call(e, n) && typeof e[n] == "object" && t.push(n);
13786
13805
  return t;
13787
13806
  }
13788
13807
  function Mx(e, t, n) {
@@ -13818,19 +13837,19 @@ function Hx(e) {
13818
13837
  return e;
13819
13838
  }
13820
13839
  function Ux() {
13821
- var e = "Prism" in Zr, t = e ? Zr.Prism : void 0;
13840
+ var e = "Prism" in ea, t = e ? ea.Prism : void 0;
13822
13841
  return n;
13823
13842
  function n() {
13824
- e ? Zr.Prism = t : delete Zr.Prism, e = void 0, t = void 0;
13843
+ e ? ea.Prism = t : delete ea.Prism, e = void 0, t = void 0;
13825
13844
  }
13826
13845
  }
13827
- const Qo = /* @__PURE__ */ xi(jx);
13828
- var ha = _1(Qo, {});
13829
- ha.registerLanguage = function(e, t) {
13830
- return Qo.register(t);
13846
+ const Zo = /* @__PURE__ */ xi(jx);
13847
+ var fa = _1(Zo, {});
13848
+ fa.registerLanguage = function(e, t) {
13849
+ return Zo.register(t);
13831
13850
  };
13832
- ha.alias = function(e, t) {
13833
- return Qo.alias(e, t);
13851
+ fa.alias = function(e, t) {
13852
+ return Zo.alias(e, t);
13834
13853
  };
13835
13854
  const Ic = {
13836
13855
  'code[class*="language-"]': {
@@ -14024,10 +14043,10 @@ const Ic = {
14024
14043
  fontStyle: "italic"
14025
14044
  }
14026
14045
  };
14027
- var Wx = Zo;
14028
- Zo.displayName = "jsx";
14029
- Zo.aliases = [];
14030
- function Zo(e) {
14046
+ var Wx = el;
14047
+ el.displayName = "jsx";
14048
+ el.aliases = [];
14049
+ function el(e) {
14031
14050
  (function(t) {
14032
14051
  var n = t.util.clone(t.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, o = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
14033
14052
  function u(h, g) {
@@ -14155,7 +14174,7 @@ const zx = /* @__PURE__ */ xi(Wx), Mc = Ne(
14155
14174
  }
14156
14175
  );
14157
14176
  }
14158
- ), fa = Ne(
14177
+ ), ma = Ne(
14159
14178
  ({
14160
14179
  children: e,
14161
14180
  className: t,
@@ -14201,11 +14220,11 @@ const zx = /* @__PURE__ */ xi(Wx), Mc = Ne(
14201
14220
  ] }) : /* @__PURE__ */ m.jsx("span", { className: k, children: e });
14202
14221
  }
14203
14222
  );
14204
- fa.displayName = "PktTag";
14223
+ ma.displayName = "PktTag";
14205
14224
  const Vx = Ne(
14206
14225
  ({ arrowNav: e = !0, tabs: t, onTabSelected: n }, r) => {
14207
- const i = ma([]);
14208
- sa(() => {
14226
+ const i = ga([]);
14227
+ oa(() => {
14209
14228
  i.current = i.current.slice(0, t.length);
14210
14229
  }, [t]);
14211
14230
  const o = (c, d) => {
@@ -14214,7 +14233,7 @@ const Vx = Ne(
14214
14233
  var h, g;
14215
14234
  e && (d.code === "ArrowLeft" && c !== 0 && ((h = i.current[c - 1]) == null || h.focus()), d.code === "ArrowRight" && c < t.length - 1 && ((g = i.current[c + 1]) == null || g.focus()), (d.code === "ArrowDown" || d.code === "Space") && o(c, t[c]));
14216
14235
  };
14217
- return /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs", ref: r, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs__list", role: e ? "tablist" : "navigation", children: t.map((c, d) => /* @__PURE__ */ m.jsx(ho, { children: c.href ? /* @__PURE__ */ m.jsxs(
14236
+ return /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs", ref: r, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs__list", role: e ? "tablist" : "navigation", children: t.map((c, d) => /* @__PURE__ */ m.jsx(fo, { children: c.href ? /* @__PURE__ */ m.jsxs(
14218
14237
  "a",
14219
14238
  {
14220
14239
  "aria-selected": !!c.active,
@@ -14231,7 +14250,7 @@ const Vx = Ne(
14231
14250
  children: [
14232
14251
  c.icon && /* @__PURE__ */ m.jsx(ee, { name: c.icon, className: "pkt-icon--small" }),
14233
14252
  c.text,
14234
- c.tag && /* @__PURE__ */ m.jsx(fa, { skin: c.tag.skin, size: "small", children: c.tag.text })
14253
+ c.tag && /* @__PURE__ */ m.jsx(ma, { skin: c.tag.skin, size: "small", children: c.tag.text })
14235
14254
  ]
14236
14255
  }
14237
14256
  ) : /* @__PURE__ */ m.jsxs(
@@ -14251,7 +14270,7 @@ const Vx = Ne(
14251
14270
  children: [
14252
14271
  c.icon && /* @__PURE__ */ m.jsx(ee, { name: c.icon, className: "pkt-icon--small" }),
14253
14272
  c.text,
14254
- c.tag && /* @__PURE__ */ m.jsx(fa, { skin: c.tag.skin, size: "small", children: c.tag.text })
14273
+ c.tag && /* @__PURE__ */ m.jsx(ma, { skin: c.tag.skin, size: "small", children: c.tag.text })
14255
14274
  ]
14256
14275
  },
14257
14276
  "b-" + d
@@ -14292,7 +14311,7 @@ const Vx = Ne(
14292
14311
  ...N
14293
14312
  }, q) => {
14294
14313
  const X = [u, "pkt-textinput"].join(" "), de = n || `${e}-label`, Q = j === "search" && !b && !Y;
14295
- ma(null);
14314
+ ga(null);
14296
14315
  const [se, he] = Ve(0), re = (ge) => {
14297
14316
  var at, Be;
14298
14317
  if (i && he(((Be = (at = ge.currentTarget) == null ? void 0 : at.value) == null ? void 0 : Be.length) || 0), L)
@@ -15278,7 +15297,7 @@ const Vx = Ne(
15278
15297
  fn: "workplace.svg",
15279
15298
  cat: "social"
15280
15299
  }
15281
- ], Ms = ({
15300
+ ], Rs = ({
15282
15301
  className: e,
15283
15302
  compact: t = !1,
15284
15303
  skin: n = "basic",
@@ -15297,7 +15316,7 @@ const Vx = Ne(
15297
15316
  role: "table",
15298
15317
  children: i
15299
15318
  }
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(
15319
+ ), qs = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("thead", { className: nt(e, "pkt-table__header", {}), role: "rowgroup", children: t }), Hs = ({ 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(
15301
15320
  "td",
15302
15321
  {
15303
15322
  className: nt(t, "pkt-table__data-cell", {}),
@@ -15311,15 +15330,15 @@ const Vx = Ne(
15311
15330
  `) : r, n = (r) => typeof r == "boolean" ? r ? "true" : "false" : r;
15312
15331
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15313
15332
  /* @__PURE__ */ m.jsx("h2", { children: "Egenskaper" }),
15314
- /* @__PURE__ */ m.jsxs(Ms, { compact: !0, children: [
15315
- /* @__PURE__ */ m.jsx(Rs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15333
+ /* @__PURE__ */ m.jsxs(Rs, { compact: !0, children: [
15334
+ /* @__PURE__ */ m.jsx(qs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15316
15335
  /* @__PURE__ */ m.jsx(Yt, { children: "Navn" }),
15317
15336
  /* @__PURE__ */ m.jsx(Yt, { children: "Prop" }),
15318
15337
  /* @__PURE__ */ m.jsx(Yt, { children: "Beskrivelse" }),
15319
15338
  /* @__PURE__ */ m.jsx(Yt, { children: "Type" }),
15320
15339
  /* @__PURE__ */ m.jsx(Yt, { children: "Standardverdi" })
15321
15340
  ] }) }),
15322
- /* @__PURE__ */ m.jsx(qs, { children: Object.entries(e.props || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15341
+ /* @__PURE__ */ m.jsx(Hs, { children: Object.entries(e.props || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15323
15342
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Prop", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15324
15343
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Navn", children: !Array.isArray(i) && i.name || r }),
15325
15344
  Array.isArray(i) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
@@ -15335,12 +15354,12 @@ const Vx = Ne(
15335
15354
  ] }),
15336
15355
  e.events && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15337
15356
  /* @__PURE__ */ m.jsx("h2", { children: "Hendelser / handlinger" }),
15338
- /* @__PURE__ */ m.jsxs(Ms, { compact: !0, children: [
15339
- /* @__PURE__ */ m.jsx(Rs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15357
+ /* @__PURE__ */ m.jsxs(Rs, { compact: !0, children: [
15358
+ /* @__PURE__ */ m.jsx(qs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15340
15359
  /* @__PURE__ */ m.jsx(Yt, { children: "Event" }),
15341
15360
  /* @__PURE__ */ m.jsx(Yt, { children: "Beskrivelse" })
15342
15361
  ] }) }),
15343
- /* @__PURE__ */ m.jsx(qs, { children: Object.entries(e.events || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15362
+ /* @__PURE__ */ m.jsx(Hs, { children: Object.entries(e.events || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15344
15363
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Event", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15345
15364
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ m.jsx("span", { dangerouslySetInnerHTML: { __html: i.description || "" } }) })
15346
15365
  ] }, r)) })
@@ -15348,12 +15367,12 @@ const Vx = Ne(
15348
15367
  ] }),
15349
15368
  e.slots && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15350
15369
  /* @__PURE__ */ m.jsx("h2", { children: "Innhold" }),
15351
- /* @__PURE__ */ m.jsxs(Ms, { compact: !0, children: [
15352
- /* @__PURE__ */ m.jsx(Rs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15370
+ /* @__PURE__ */ m.jsxs(Rs, { compact: !0, children: [
15371
+ /* @__PURE__ */ m.jsx(qs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15353
15372
  /* @__PURE__ */ m.jsx(Yt, { children: "Slot" }),
15354
15373
  /* @__PURE__ */ m.jsx(Yt, { children: "Beskrivelse" })
15355
15374
  ] }) }),
15356
- /* @__PURE__ */ m.jsx(qs, { children: Object.entries(e.slots || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15375
+ /* @__PURE__ */ m.jsx(Hs, { children: Object.entries(e.slots || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15357
15376
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Slot", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15358
15377
  /* @__PURE__ */ m.jsx(Bt, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ m.jsx("span", { dangerouslySetInnerHTML: { __html: i.description || "" } }) })
15359
15378
  ] }, r)) })
@@ -15361,7 +15380,7 @@ const Vx = Ne(
15361
15380
  ] })
15362
15381
  ] });
15363
15382
  };
15364
- ha.registerLanguage("jsx", zx);
15383
+ fa.registerLanguage("jsx", zx);
15365
15384
  const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15366
15385
  var Y, V;
15367
15386
  const r = e.props && typeof e.props == "object" && !Array.isArray(e.props) ? Object.entries(e.props).reduce((L, [N, q]) => (typeof q == "object" && !Array.isArray(q) && q.default !== void 0 && q.default !== null && (q.default === "false" && (q.default = !1), q.default === "true" && (q.default = !0), L[N] = q.default), L), {}) : {}, [i, o] = Ve(r), [u, c] = Ve("light"), [d, h] = Ve(""), [g, v] = Ve(""), [D, b] = Ve(""), [k, x] = Ve("Rediger innhold"), [C, T] = Ve([
@@ -15392,16 +15411,16 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15392
15411
  active: X === L
15393
15412
  }))
15394
15413
  );
15395
- }, _ = ma(null), F = async () => {
15396
- if (e.isElement && ea(I))
15414
+ }, _ = ga(null), F = async () => {
15415
+ if (e.isElement && ta(I))
15397
15416
  A().then(() => {
15398
- const L = ea(I) ? I.type.displayName || I.type.name : e.name;
15417
+ const L = ta(I) ? I.type.displayName || I.type.name : e.name;
15399
15418
  h(
15400
15419
  g.replaceAll(L, e.name || "").replaceAll("{", '"').replaceAll("}", '"')
15401
15420
  );
15402
15421
  });
15403
15422
  else {
15404
- const L = await Lo(_.current.innerHTML, {
15423
+ const L = await Oo(_.current.innerHTML, {
15405
15424
  parser: "html",
15406
15425
  plugins: [t1]
15407
15426
  });
@@ -15427,7 +15446,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15427
15446
  children: "Kopier kode"
15428
15447
  }
15429
15448
  )
15430
- ] }), I = ea(t) && Km(
15449
+ ] }), I = ta(t) && Km(
15431
15450
  t,
15432
15451
  { ...i },
15433
15452
  t.props.children ? t.props.children : (Y = e.slots) != null && Y.default ? k : null
@@ -15451,7 +15470,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15451
15470
  hasFieldset: !0,
15452
15471
  requiredTag: N.required,
15453
15472
  children: /* @__PURE__ */ m.jsx(
15454
- Gs,
15473
+ Ys,
15455
15474
  {
15456
15475
  id: L,
15457
15476
  label: L,
@@ -15525,7 +15544,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15525
15544
  return /* @__PURE__ */ m.jsxs("div", { className: "pkt-preview", children: [
15526
15545
  /* @__PURE__ */ m.jsxs("div", { className: "pkt-preview__component-container", "data-mode": u, children: [
15527
15546
  e["dark-mode"] && /* @__PURE__ */ m.jsx("div", { className: "pkt-preview__mode", children: /* @__PURE__ */ m.jsx(
15528
- Gs,
15547
+ Ys,
15529
15548
  {
15530
15549
  id: "mode",
15531
15550
  label: "Dark mode",
@@ -15548,7 +15567,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15548
15567
  /* @__PURE__ */ m.jsx(Vx, { tabs: C, onTabSelected: E }),
15549
15568
  /* @__PURE__ */ m.jsxs("div", { className: `pkt-grid pkt-preview__opts ${C[0].active ? "" : "pkt-hide"}`, children: [
15550
15569
  ((V = e.slots) == null ? void 0 : V.default) && !t.props.children && /* @__PURE__ */ m.jsxs("div", { className: "pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up", children: [
15551
- /* @__PURE__ */ m.jsx(fa, { size: "small", skin: "blue-light", textStyle: "thin-text", children: "children" }),
15570
+ /* @__PURE__ */ m.jsx(ma, { size: "small", skin: "blue-light", textStyle: "thin-text", children: "children" }),
15552
15571
  /* @__PURE__ */ m.jsx(
15553
15572
  Rc,
15554
15573
  {
@@ -15562,16 +15581,16 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15562
15581
  )
15563
15582
  ] }),
15564
15583
  e.props && typeof e.props == "object" && !Array.isArray(e.props) ? Object.entries(e.props).map(([L, N]) => /* @__PURE__ */ m.jsxs("div", { className: "pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up", children: [
15565
- /* @__PURE__ */ m.jsx(fa, { size: "small", skin: "blue-light", textStyle: "thin-text", children: L }),
15584
+ /* @__PURE__ */ m.jsx(ma, { size: "small", skin: "blue-light", textStyle: "thin-text", children: L }),
15566
15585
  W(L, N)
15567
15586
  ] }, L)) : /* @__PURE__ */ m.jsx("p", { children: "OBS! Specs mangler props!" })
15568
15587
  ] }),
15569
15588
  /* @__PURE__ */ m.jsxs("div", { className: `pkt-preview__code ${C[1].active ? "" : "pkt-hide"}`, children: [
15570
- /* @__PURE__ */ m.jsx(ha, { language: "jsx", style: Ic, children: g }),
15589
+ /* @__PURE__ */ m.jsx(fa, { language: "jsx", style: Ic, children: g }),
15571
15590
  P("jsx", g)
15572
15591
  ] }),
15573
15592
  /* @__PURE__ */ m.jsxs("div", { className: `pkt-preview__code ${C[2].active ? "" : "pkt-hide"}`, children: [
15574
- /* @__PURE__ */ m.jsx(ha, { language: "html", style: Ic, children: d }),
15593
+ /* @__PURE__ */ m.jsx(fa, { language: "html", style: Ic, children: d }),
15575
15594
  P("html", d)
15576
15595
  ] }),
15577
15596
  /* @__PURE__ */ m.jsx("div", { className: `pkt-preview__specs ${C[3].active ? "" : "pkt-hide"}`, children: /* @__PURE__ */ m.jsx(Yx, { specs: e }) })
@@ -15579,8 +15598,8 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15579
15598
  };
15580
15599
  Kx.displayName = "PktPreview";
15581
15600
  var tt = [];
15582
- for (var Hs = 0; Hs < 256; ++Hs)
15583
- tt.push((Hs + 256).toString(16).slice(1));
15601
+ for (var Us = 0; Us < 256; ++Us)
15602
+ tt.push((Us + 256).toString(16).slice(1));
15584
15603
  function Jx(e, t = 0) {
15585
15604
  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();
15586
15605
  }
@@ -15619,10 +15638,10 @@ const t_ = Ne(
15619
15638
  ariaValueText: b,
15620
15639
  ...k
15621
15640
  }, x) => {
15622
- const C = ma(null), [T, E] = Ve(0), [_, F] = Ve(d);
15623
- sa(() => {
15641
+ const C = ga(null), [T, E] = Ve(0), [_, F] = Ve(d);
15642
+ oa(() => {
15624
15643
  d || F(e_());
15625
- }, [d]), sa(() => {
15644
+ }, [d]), oa(() => {
15626
15645
  if (C.current) {
15627
15646
  const N = C.current;
15628
15647
  E(N.getBoundingClientRect().width);
@@ -15853,12 +15872,12 @@ const I_ = Ne(
15853
15872
  onChange: P,
15854
15873
  ...I
15855
15874
  }, j) => {
15856
- const W = [o, "pkt-textinput", "pkt-textarea"].join(" "), Y = n || `${e}-label`, V = ma(null), [L, N] = Ve(0), q = (X) => {
15875
+ const W = [o, "pkt-textinput", "pkt-textarea"].join(" "), Y = n || `${e}-label`, V = ga(null), [L, N] = Ve(0), q = (X) => {
15857
15876
  var de, Q;
15858
15877
  if (r && N(((Q = (de = X.currentTarget) == null ? void 0 : de.value) == null ? void 0 : Q.length) || 0), P)
15859
15878
  return P(X);
15860
15879
  };
15861
- return sa(() => {
15880
+ return oa(() => {
15862
15881
  var X, de;
15863
15882
  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);
15864
15883
  }, [j]), /* @__PURE__ */ m.jsx(
@@ -15912,7 +15931,7 @@ export {
15912
15931
  p_ as PktBreadcrumbs,
15913
15932
  fr as PktButton,
15914
15933
  R2 as PktCard,
15915
- Gs as PktCheckbox,
15934
+ Ys as PktCheckbox,
15916
15935
  q2 as PktDatepicker,
15917
15936
  j_ as PktFooter,
15918
15937
  P_ as PktFooterSimple,
@@ -15932,14 +15951,14 @@ export {
15932
15951
  Mc as PktSelect,
15933
15952
  R_ as PktStep,
15934
15953
  M_ as PktStepper,
15935
- Ms as PktTable,
15936
- qs as PktTableBody,
15954
+ Rs as PktTable,
15955
+ Hs as PktTableBody,
15937
15956
  Bt as PktTableDataCell,
15938
- Rs as PktTableHeader,
15957
+ qs as PktTableHeader,
15939
15958
  Yt as PktTableHeaderCell,
15940
15959
  sr as PktTableRow,
15941
15960
  Vx as PktTabs,
15942
- fa as PktTag,
15961
+ ma as PktTag,
15943
15962
  q_ as PktTextarea,
15944
15963
  Rc as PktTextinput
15945
15964
  };