@vokril/ui-solid 0.7.0 → 0.8.0

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.
Files changed (102) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +19 -0
  3. package/dist/AttributeGrid-Bnn1w5XX.cjs +1 -0
  4. package/dist/AttributeGrid-DJdW32LQ.js +320 -0
  5. package/dist/CommandPalette-BBDBVARB.cjs +2 -0
  6. package/dist/{CommandPalette-Ds3xf2z7.js → CommandPalette-e6FePgys.js} +1126 -1097
  7. package/dist/{DateRangePicker-BSb6F_gs.js → DateRangePicker-BcqoUao4.js} +1 -1
  8. package/dist/{DateRangePicker-DUrJJjO7.cjs → DateRangePicker-DHI3SNna.cjs} +1 -1
  9. package/dist/{GuidedTour-C0Q_EEvI.js → GuidedTour-B-BXe3ul.js} +2236 -2220
  10. package/dist/{GuidedTour-CkGOxh2p.cjs → GuidedTour-c7XiyOmE.cjs} +7 -7
  11. package/dist/{StatusBarNotificationBell-C8nQZh4i.cjs → StatusBarNotificationBell-2bIRvg2s.cjs} +1 -1
  12. package/dist/{StatusBarNotificationBell-BMmjdBvj.js → StatusBarNotificationBell-B5knnCWK.js} +2 -2
  13. package/dist/forms/index.cjs +1 -1
  14. package/dist/forms/index.js +1 -1
  15. package/dist/grid/index.cjs +1 -1
  16. package/dist/grid/index.d.cts +1 -0
  17. package/dist/grid/index.d.ts +1 -0
  18. package/dist/grid/index.js +7 -6
  19. package/dist/grid/resultTabToolbarClasses.d.cts +47 -0
  20. package/dist/grid/resultTabToolbarClasses.d.ts +47 -0
  21. package/dist/iconScale.module-C3O0bxfp.js +13 -0
  22. package/dist/iconScale.module-CzmKG1rf.cjs +1 -0
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.d.cts +1 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +1096 -1008
  27. package/dist/notifications/index.cjs +1 -1
  28. package/dist/notifications/index.js +2 -2
  29. package/dist/overlay/index.cjs +1 -1
  30. package/dist/overlay/index.d.cts +1 -0
  31. package/dist/overlay/index.d.ts +1 -0
  32. package/dist/overlay/index.js +93 -92
  33. package/dist/overlay/panelClasses.d.cts +50 -0
  34. package/dist/overlay/panelClasses.d.ts +50 -0
  35. package/dist/server/AttributeGrid-BCYNwNjw.js +281 -0
  36. package/dist/server/AttributeGrid-BVAQshm3.cjs +1 -0
  37. package/dist/server/{CommandPalette-Bfm1R0KC.js → CommandPalette-4RCiBlmz.js} +1050 -1021
  38. package/dist/server/CommandPalette-Dd8AW-WZ.cjs +1 -0
  39. package/dist/server/{DateRangePicker-BOsd_ZH2.js → DateRangePicker-TW0Dy4u6.js} +1 -1
  40. package/dist/server/{DateRangePicker-CIKghxMx.cjs → DateRangePicker-sX2m4194.cjs} +1 -1
  41. package/dist/server/{GuidedTour-BVaym9s9.js → GuidedTour-Bc7SqDXY.js} +754 -738
  42. package/dist/server/{GuidedTour-B4IK-M3E.cjs → GuidedTour-DvMqeZIU.cjs} +8 -8
  43. package/dist/server/{StatusBarNotificationBell-DLrvONW3.js → StatusBarNotificationBell-Bk9ETGFK.js} +2 -2
  44. package/dist/server/{StatusBarNotificationBell-DufUCZwN.cjs → StatusBarNotificationBell-t7B7rSrd.cjs} +1 -1
  45. package/dist/server/forms/index.cjs +1 -1
  46. package/dist/server/forms/index.js +1 -1
  47. package/dist/server/grid/index.cjs +1 -1
  48. package/dist/server/grid/index.js +7 -6
  49. package/dist/server/iconScale.module-C3O0bxfp.js +13 -0
  50. package/dist/server/iconScale.module-CzmKG1rf.cjs +1 -0
  51. package/dist/server/index.cjs +1 -1
  52. package/dist/server/index.js +1445 -1357
  53. package/dist/server/notifications/index.cjs +1 -1
  54. package/dist/server/notifications/index.js +2 -2
  55. package/dist/server/overlay/index.cjs +1 -1
  56. package/dist/server/overlay/index.js +94 -93
  57. package/dist/solid/grid/index.js +1 -0
  58. package/dist/solid/grid/resultTabToolbarClasses.js +33 -0
  59. package/dist/solid/index.js +1 -0
  60. package/dist/solid/overlay/index.js +1 -0
  61. package/dist/solid/overlay/panelClasses.js +29 -0
  62. package/dist/solid/styles/detachedLayout.module.css.js +8 -0
  63. package/dist/solid/styles/detachedLayoutClasses.js +8 -0
  64. package/dist/solid/styles/hljsTheme.module.css.js +4 -0
  65. package/dist/solid/styles/hljsThemeClasses.js +4 -0
  66. package/dist/solid/styles/iconScaleClasses.js +11 -0
  67. package/dist/solid/styles/index.js +5 -0
  68. package/dist/solid/styles/recordTable.module.css.js +6 -0
  69. package/dist/solid/styles/recordTableClasses.js +6 -0
  70. package/dist/solid/styles/widgetChrome.module.css.js +13 -0
  71. package/dist/solid/styles/widgetChromeClasses.js +13 -0
  72. package/dist/solid/widgets/index.js +1 -0
  73. package/dist/solid/widgets/settingsFieldClasses.js +26 -0
  74. package/dist/style.css +1 -1
  75. package/dist/styles/detachedLayoutClasses.d.cts +17 -0
  76. package/dist/styles/detachedLayoutClasses.d.ts +17 -0
  77. package/dist/styles/hljsThemeClasses.d.cts +11 -0
  78. package/dist/styles/hljsThemeClasses.d.ts +11 -0
  79. package/dist/styles/iconScaleClasses.d.cts +19 -0
  80. package/dist/styles/iconScaleClasses.d.ts +19 -0
  81. package/dist/styles/index.d.cts +5 -0
  82. package/dist/styles/index.d.ts +5 -0
  83. package/dist/styles/recordTableClasses.d.cts +17 -0
  84. package/dist/styles/recordTableClasses.d.ts +17 -0
  85. package/dist/styles/widgetChromeClasses.d.cts +31 -0
  86. package/dist/styles/widgetChromeClasses.d.ts +31 -0
  87. package/dist/ui.css +1 -1
  88. package/dist/widgets/index.d.cts +1 -0
  89. package/dist/widgets/index.d.ts +1 -0
  90. package/dist/widgets/settingsFieldClasses.d.cts +41 -0
  91. package/dist/widgets/settingsFieldClasses.d.ts +41 -0
  92. package/package.json +1 -1
  93. package/dist/AttributeGrid-CX_GJHgz.js +0 -260
  94. package/dist/AttributeGrid-X7fHuuIb.cjs +0 -1
  95. package/dist/CommandPalette-C8JJMY79.cjs +0 -2
  96. package/dist/iconScale.module-BA7n9qSH.cjs +0 -1
  97. package/dist/iconScale.module-Cw_Yn8O6.js +0 -10
  98. package/dist/server/AttributeGrid-BkWsx39p.js +0 -221
  99. package/dist/server/AttributeGrid-PHZKkiBG.cjs +0 -1
  100. package/dist/server/CommandPalette-DIgBGmAh.cjs +0 -1
  101. package/dist/server/iconScale.module-BA7n9qSH.cjs +0 -1
  102. package/dist/server/iconScale.module-Cw_Yn8O6.js +0 -10
@@ -1,11 +1,11 @@
1
1
  import { ssr as Ae, escape as g, ssrAttribute as Z, createComponent as G, ssrElement as ct, mergeProps as nu, Dynamic as hr, memo as Yu, ssrStyleProperty as Xt } from "solid-js/web";
2
2
  import { onCleanup as Ye, createSignal as Me, Show as xe, splitProps as nn, useContext as lr, createMemo as Ru, createEffect as Ku, For as br, onMount as pr, createRenderEffect as Io, createUniqueId as Oo } from "solid-js";
3
3
  import { createStore as xo, reconcile as Do } from "solid-js/store";
4
- import { H as yo, q as Lo, k as ko } from "./format-CW_FVfq2.js";
4
+ import { H as yo, q as ko, k as Lo } from "./format-CW_FVfq2.js";
5
5
  import { O as Ar } from "./OverlayScrollArea-221dfKyz.js";
6
6
  import { H as xr } from "./dialogFocusRestore-B4ggeVAM.js";
7
7
  import { a as Mo } from "./HostWindowContext-KL4U1qUv.js";
8
- import { j as Ii, m as Oi, x as qt, f as wo, g as xi, r as mn, k as Di, u as yi, b as ot, J as Fo, t as Li, s as ki, F as vo, v as Po } from "./notificationSuppressions-DkrUMXHx.js";
8
+ import { j as Ii, m as Oi, x as qt, f as wo, g as xi, r as Tn, k as Di, u as yi, b as ot, J as vo, t as ki, s as Li, F as Fo, v as Po } from "./notificationSuppressions-DkrUMXHx.js";
9
9
  import { n as Kt } from "./notification-DFbp3S_f.js";
10
10
  import { u as Mi } from "./useSettingsSubscription-cu943hND.js";
11
11
  import { o as wi, g as Uo, T as Bo, W as Go } from "./visibleBrowserRegistry-Dw2Y4y_I.js";
@@ -16,10 +16,10 @@ import { t as ae, b as $o, l as zn } from "./i18n-CYq-dVvv.js";
16
16
  import { d as Vo } from "./rendererLogging-Edo4ALXU.js";
17
17
  import { D as Wo } from "./DesktopContextMenuContext-DJ3PnqAv.js";
18
18
  import { f as Yo } from "./windowRegistry-Bk5lXIVd.js";
19
- import { b as yr, A as Lr } from "./Popover-BRU2E-ek.js";
19
+ import { b as yr, A as kr } from "./Popover-BRU2E-ek.js";
20
20
  import { E as Xo } from "./EmptyState-Csydyy_7.js";
21
- import { i as $n } from "./iconScale.module-Cw_Yn8O6.js";
22
- import { g as kr } from "./announcerService-B7yicxvU.js";
21
+ import { i as $n } from "./iconScale.module-C3O0bxfp.js";
22
+ import { g as Lr } from "./announcerService-B7yicxvU.js";
23
23
  import { i as qo, V as Ko, k as Zo, l as jo, f as Jo, d as Qo, c as ec, h as uc, j as tc, a as nc, b as rc, g as ic, e as oc } from "./VpTerminal-Bouc2jnT.js";
24
24
  import { V as cc } from "./VpAlertTriangle-BX9COr3k.js";
25
25
  import { V as Mr } from "./VpClose-1RAQ20H9.js";
@@ -38,13 +38,13 @@ let Nn = 0, Zt;
38
38
  function gc() {
39
39
  Nn += 1, Zt === void 0 && (typeof window > "u" || (wr(Date.now()), Zt = setInterval(() => wr(Date.now()), pc)));
40
40
  }
41
- function Tc() {
41
+ function mc() {
42
42
  Nn = Math.max(0, Nn - 1), !(Nn > 0 || Zt === void 0) && (clearInterval(Zt), Zt = void 0);
43
43
  }
44
- function mc() {
45
- return gc(), Ye(Tc), Ac;
44
+ function Tc() {
45
+ return gc(), Ye(mc), Ac;
46
46
  }
47
- const Nc = 1e3, Rc = 6e4, Sc = 60, Cc = 60, Fr = 24, Ic = 30;
47
+ const Nc = 1e3, Rc = 6e4, Sc = 60, Cc = 60, vr = 24, Ic = 30;
48
48
  function Oc(e) {
49
49
  const u = Math.max(0, e);
50
50
  if (Math.floor(u / Nc) < Ic) return { key: "now" };
@@ -53,14 +53,14 @@ function Oc(e) {
53
53
  if (n < Cc)
54
54
  return { key: "{n}m ago", values: { n } };
55
55
  const r = Math.floor(n / Sc);
56
- return r < Fr ? { key: "{n}h ago", values: { n: r } } : { key: "{n}d ago", values: { n: Math.floor(r / Fr) } };
56
+ return r < vr ? { key: "{n}h ago", values: { n: r } } : { key: "{n}d ago", values: { n: Math.floor(r / vr) } };
57
57
  }
58
- const vr = {};
58
+ const Fr = {};
59
59
  function xc(e) {
60
- let u = vr[e];
60
+ let u = Fr[e];
61
61
  if (u)
62
62
  return u;
63
- u = vr[e] = [];
63
+ u = Fr[e] = [];
64
64
  for (let t = 0; t < 128; t++) {
65
65
  const n = String.fromCharCode(t);
66
66
  u.push(n);
@@ -165,8 +165,8 @@ function gr(e) {
165
165
  function Sn() {
166
166
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
167
167
  }
168
- const yc = /^([a-z0-9.+-]+:)/i, Lc = /:[0-9]*$/, kc = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Mc = ["<", ">", '"', "`", " ", "\r", `
169
- `, " "], wc = ["{", "}", "|", "\\", "^", "`"].concat(Mc), Fc = ["'"].concat(wc), Ur = ["%", "/", "?", ";", "#"].concat(Fc), Br = ["/", "?", "#"], vc = 255, Gr = /^[+a-z0-9A-Z_-]{0,63}$/, Pc = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Hr = {
168
+ const yc = /^([a-z0-9.+-]+:)/i, kc = /:[0-9]*$/, Lc = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Mc = ["<", ">", '"', "`", " ", "\r", `
169
+ `, " "], wc = ["{", "}", "|", "\\", "^", "`"].concat(Mc), vc = ["'"].concat(wc), Ur = ["%", "/", "?", ";", "#"].concat(vc), Br = ["/", "?", "#"], Fc = 255, Gr = /^[+a-z0-9A-Z_-]{0,63}$/, Pc = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Hr = {
170
170
  javascript: !0,
171
171
  "javascript:": !0
172
172
  }, zr = {
@@ -181,7 +181,7 @@ const yc = /^([a-z0-9.+-]+:)/i, Lc = /:[0-9]*$/, kc = /^(\/\/?(?!\/)[^\?\s]*)(\?
181
181
  "gopher:": !0,
182
182
  "file:": !0
183
183
  };
184
- function Tr(e, u) {
184
+ function mr(e, u) {
185
185
  if (e && e instanceof Sn) return e;
186
186
  const t = new Sn();
187
187
  return t.parse(e, u), t;
@@ -189,7 +189,7 @@ function Tr(e, u) {
189
189
  Sn.prototype.parse = function(e, u) {
190
190
  let t, n, r, i = e;
191
191
  if (i = i.trim(), !u && e.split("#").length === 1) {
192
- const l = kc.exec(i);
192
+ const l = Lc.exec(i);
193
193
  if (l)
194
194
  return this.pathname = l[1], l[2] && (this.search = l[2]), this;
195
195
  }
@@ -212,17 +212,17 @@ Sn.prototype.parse = function(e, u) {
212
212
  const w = h[R];
213
213
  if (w && !w.match(Gr)) {
214
214
  let y = "";
215
- for (let L = 0, k = w.length; L < k; L++)
216
- w.charCodeAt(L) > 127 ? y += "x" : y += w[L];
215
+ for (let k = 0, L = w.length; k < L; k++)
216
+ w.charCodeAt(k) > 127 ? y += "x" : y += w[k];
217
217
  if (!y.match(Gr)) {
218
- const L = h.slice(0, R), k = h.slice(R + 1), I = w.match(Pc);
219
- I && (L.push(I[1]), k.unshift(I[2])), k.length && (i = k.join(".") + i), this.hostname = L.join(".");
218
+ const k = h.slice(0, R), L = h.slice(R + 1), I = w.match(Pc);
219
+ I && (k.push(I[1]), L.unshift(I[2])), L.length && (i = L.join(".") + i), this.hostname = k.join(".");
220
220
  break;
221
221
  }
222
222
  }
223
223
  }
224
224
  }
225
- this.hostname.length > vc && (this.hostname = ""), p && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
225
+ this.hostname.length > Fc && (this.hostname = ""), p && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
226
226
  }
227
227
  const c = i.indexOf("#");
228
228
  c !== -1 && (this.hash = i.substr(c), i = i.slice(0, c));
@@ -230,7 +230,7 @@ Sn.prototype.parse = function(e, u) {
230
230
  return s !== -1 && (this.search = i.substr(s), i = i.slice(0, s)), i && (this.pathname = i), zr[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
231
231
  };
232
232
  Sn.prototype.parseHost = function(e) {
233
- let u = Lc.exec(e);
233
+ let u = kc.exec(e);
234
234
  u && (u = u[0], u !== ":" && (this.port = u.substr(1)), e = e.substr(0, e.length - u.length)), e && (this.hostname = e);
235
235
  };
236
236
  const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -238,13 +238,13 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
238
238
  decode: Ot,
239
239
  encode: rn,
240
240
  format: gr,
241
- parse: Tr
242
- }, Symbol.toStringTag, { value: "Module" })), Fi = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, vi = /[\0-\x1F\x7F-\x9F]/, Bc = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, mr = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Pi = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Ui = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
241
+ parse: mr
242
+ }, Symbol.toStringTag, { value: "Module" })), vi = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Fi = /[\0-\x1F\x7F-\x9F]/, Bc = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Tr = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Pi = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Ui = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
243
243
  __proto__: null,
244
- Any: Fi,
245
- Cc: vi,
244
+ Any: vi,
245
+ Cc: Fi,
246
246
  Cf: Bc,
247
- P: mr,
247
+ P: Tr,
248
248
  S: Pi,
249
249
  Z: Ui
250
250
  }, Symbol.toStringTag, { value: "Module" })), Hc = new Uint16Array(
@@ -321,13 +321,13 @@ var Be;
321
321
  (function(e) {
322
322
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
323
323
  })(Be || (Be = {}));
324
- var vu;
324
+ var Fu;
325
325
  (function(e) {
326
326
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
327
- })(vu || (vu = {}));
327
+ })(Fu || (Fu = {}));
328
328
  class Zc {
329
329
  constructor(u, t, n) {
330
- this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = Be.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = vu.Strict;
330
+ this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = Be.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Fu.Strict;
331
331
  }
332
332
  /** Resets the instance to make it reusable. */
333
333
  startEntity(u) {
@@ -435,7 +435,7 @@ class Zc {
435
435
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
436
436
  if (u === Ge.SEMI)
437
437
  this.consumed += 1;
438
- else if (this.decodeMode === vu.Strict)
438
+ else if (this.decodeMode === Fu.Strict)
439
439
  return 0;
440
440
  return this.emitCodePoint(Wc(this.result), this.consumed), this.errors && (u !== Ge.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
441
441
  }
@@ -455,13 +455,13 @@ class Zc {
455
455
  const o = u.charCodeAt(t);
456
456
  if (this.treeIndex = jc(n, r, this.treeIndex + Math.max(1, i), o), this.treeIndex < 0)
457
457
  return this.result === 0 || // If we are parsing an attribute
458
- this.decodeMode === vu.Attribute && // We shouldn't have consumed any characters after the entity,
458
+ this.decodeMode === Fu.Attribute && // We shouldn't have consumed any characters after the entity,
459
459
  (i === 0 || // And there should be no invalid characters.
460
460
  Kc(o)) ? 0 : this.emitNotTerminatedNamedEntity();
461
461
  if (r = n[this.treeIndex], i = (r & qu.VALUE_LENGTH) >> 14, i !== 0) {
462
462
  if (o === Ge.SEMI)
463
463
  return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
464
- this.decodeMode !== vu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
464
+ this.decodeMode !== Fu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
465
465
  }
466
466
  }
467
467
  return -1;
@@ -500,7 +500,7 @@ class Zc {
500
500
  var u;
501
501
  switch (this.state) {
502
502
  case Be.NamedEntity:
503
- return this.result !== 0 && (this.decodeMode !== vu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
503
+ return this.result !== 0 && (this.decodeMode !== Fu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
504
504
  // Otherwise, emit a numeric entity if we have one.
505
505
  case Be.NumericDecimal:
506
506
  return this.emitNumericEntity(0, 2);
@@ -557,11 +557,11 @@ function jc(e, u, t, n) {
557
557
  }
558
558
  const Gi = Bi(Hc);
559
559
  Bi(zc);
560
- function Jc(e, u = vu.Legacy) {
560
+ function Jc(e, u = Fu.Legacy) {
561
561
  return Gi(e, u);
562
562
  }
563
563
  function Qc(e) {
564
- return Gi(e, vu.Strict);
564
+ return Gi(e, Fu.Strict);
565
565
  }
566
566
  function es(e) {
567
567
  return Object.prototype.toString.call(e);
@@ -664,7 +664,7 @@ function Jt(e) {
664
664
  return !1;
665
665
  }
666
666
  function zi(e) {
667
- return mr.test(e) || Pi.test(e);
667
+ return Tr.test(e) || Pi.test(e);
668
668
  }
669
669
  function Qt(e) {
670
670
  return zi(jt(e));
@@ -837,7 +837,7 @@ function gs(e, u, t, n) {
837
837
  }
838
838
  return o.can_continue = !0, o.str += xt(e.slice(u, i)), o;
839
839
  }
840
- const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
840
+ const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
841
841
  __proto__: null,
842
842
  parseLinkDestination: As,
843
843
  parseLinkLabel: ps,
@@ -1089,10 +1089,10 @@ function $i(e, u, t) {
1089
1089
  this.src = e, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = u;
1090
1090
  }
1091
1091
  $i.prototype.Token = pu;
1092
- const ms = /\r\n?|\n/g, Ns = /\0/g;
1092
+ const Ts = /\r\n?|\n/g, Ns = /\0/g;
1093
1093
  function Rs(e) {
1094
1094
  let u;
1095
- u = e.src.replace(ms, `
1095
+ u = e.src.replace(Ts, `
1096
1096
  `), u = u.replace(Ns, "�"), e.src = u;
1097
1097
  }
1098
1098
  function Ss(e) {
@@ -1144,10 +1144,10 @@ function xs(e) {
1144
1144
  const P = new e.Token("text", "", 0);
1145
1145
  P.content = l.slice(p, y), P.level = b, d.push(P);
1146
1146
  }
1147
- const L = new e.Token("link_open", "a", 1);
1148
- L.attrs = [["href", D]], L.level = b++, L.markup = "linkify", L.info = "auto", d.push(L);
1149
- const k = new e.Token("text", "", 0);
1150
- k.content = w, k.level = b, d.push(k);
1147
+ const k = new e.Token("link_open", "a", 1);
1148
+ k.attrs = [["href", D]], k.level = b++, k.markup = "linkify", k.info = "auto", d.push(k);
1149
+ const L = new e.Token("text", "", 0);
1150
+ L.content = w, L.level = b, d.push(L);
1151
1151
  const I = new e.Token("link_close", "a", -1);
1152
1152
  I.level = --b, I.markup = "linkify", I.info = "auto", d.push(I), p = E[h].lastIndex;
1153
1153
  }
@@ -1178,19 +1178,19 @@ function xs(e) {
1178
1178
  }
1179
1179
  }
1180
1180
  }
1181
- const Vi = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ds = /\((c|tm|r)\)/i, ys = /\((c|tm|r)\)/ig, Ls = {
1181
+ const Vi = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ds = /\((c|tm|r)\)/i, ys = /\((c|tm|r)\)/ig, ks = {
1182
1182
  c: "©",
1183
1183
  r: "®",
1184
1184
  tm: "™"
1185
1185
  };
1186
- function ks(e, u) {
1187
- return Ls[u.toLowerCase()];
1186
+ function Ls(e, u) {
1187
+ return ks[u.toLowerCase()];
1188
1188
  }
1189
1189
  function Ms(e) {
1190
1190
  let u = 0;
1191
1191
  for (let t = e.length - 1; t >= 0; t--) {
1192
1192
  const n = e[t];
1193
- n.type === "text" && !u && (n.content = n.content.replace(ys, ks)), n.type === "link_open" && n.info === "auto" && u--, n.type === "link_close" && n.info === "auto" && u++;
1193
+ n.type === "text" && !u && (n.content = n.content.replace(ys, Ls)), n.type === "link_open" && n.info === "auto" && u--, n.type === "link_close" && n.info === "auto" && u++;
1194
1194
  }
1195
1195
  }
1196
1196
  function ws(e) {
@@ -1200,13 +1200,13 @@ function ws(e) {
1200
1200
  n.type === "text" && !u && Vi.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && u--, n.type === "link_close" && n.info === "auto" && u++;
1201
1201
  }
1202
1202
  }
1203
- function Fs(e) {
1203
+ function vs(e) {
1204
1204
  let u;
1205
1205
  if (e.md.options.typographer)
1206
1206
  for (u = e.tokens.length - 1; u >= 0; u--)
1207
1207
  e.tokens[u].type === "inline" && (Ds.test(e.tokens[u].content) && Ms(e.tokens[u].children), Vi.test(e.tokens[u].content) && ws(e.tokens[u].children));
1208
1208
  }
1209
- const vs = /['"]/, Vr = /['"]/g, Wr = "’", Ps = 1e3;
1209
+ const Fs = /['"]/, Vr = /['"]/g, Wr = "’", Ps = 1e3;
1210
1210
  function Yr(e, u, t) {
1211
1211
  for (; e.length > t; ) {
1212
1212
  const n = e.pop();
@@ -1264,8 +1264,8 @@ function Bs(e, u) {
1264
1264
  w = e[t].content.charCodeAt(0);
1265
1265
  break;
1266
1266
  }
1267
- const y = en(D) || Qt(D), L = en(w) || Qt(w), k = Jt(D), I = Jt(w);
1268
- if (I ? p = !1 : L && (k || y || (p = !1)), k ? h = !1 : y && (I || L || (h = !1)), w === 34 && b[0] === '"' && D >= 48 && D <= 57 && (h = p = !1), p && h && (p = y, h = L), !p && !h) {
1267
+ const y = en(D) || Qt(D), k = en(w) || Qt(w), L = Jt(D), I = Jt(w);
1268
+ if (I ? p = !1 : k && (L || y || (p = !1)), L ? h = !1 : y && (I || k || (h = !1)), w === 34 && b[0] === '"' && D >= 48 && D <= 57 && (h = p = !1), p && h && (p = y, h = k), !p && !h) {
1269
1269
  R && pn(i, o, b.index, Wr);
1270
1270
  continue;
1271
1271
  }
@@ -1296,7 +1296,7 @@ function Bs(e, u) {
1296
1296
  function Gs(e) {
1297
1297
  if (e.md.options.typographer)
1298
1298
  for (let u = e.tokens.length - 1; u >= 0; u--)
1299
- e.tokens[u].type !== "inline" || !vs.test(e.tokens[u].content) || Bs(e.tokens[u].children, e);
1299
+ e.tokens[u].type !== "inline" || !Fs.test(e.tokens[u].content) || Bs(e.tokens[u].children, e);
1300
1300
  }
1301
1301
  function Hs(e) {
1302
1302
  let u, t;
@@ -1316,7 +1316,7 @@ const Wn = [
1316
1316
  ["block", Ss],
1317
1317
  ["inline", Cs],
1318
1318
  ["linkify", xs],
1319
- ["replacements", Fs],
1319
+ ["replacements", vs],
1320
1320
  ["smartquotes", Gs],
1321
1321
  // `text_join` finds `text_special` tokens (for escape sequences)
1322
1322
  // and joins them with the rest of the text
@@ -1440,17 +1440,17 @@ function $s(e, u, t, n) {
1440
1440
  if (c !== 124 && c !== 45 && c !== 58 && !ge(c) || o === 45 && ge(c))
1441
1441
  return !1;
1442
1442
  for (; i < e.eMarks[r]; ) {
1443
- const k = e.src.charCodeAt(i);
1444
- if (k !== 124 && k !== 45 && k !== 58 && !ge(k))
1443
+ const L = e.src.charCodeAt(i);
1444
+ if (L !== 124 && L !== 45 && L !== 58 && !ge(L))
1445
1445
  return !1;
1446
1446
  i++;
1447
1447
  }
1448
1448
  let s = Yn(e, u + 1), l = s.split("|");
1449
1449
  const E = [];
1450
- for (let k = 0; k < l.length; k++) {
1451
- const I = l[k].trim();
1450
+ for (let L = 0; L < l.length; L++) {
1451
+ const I = l[L].trim();
1452
1452
  if (!I) {
1453
- if (k === 0 || k === l.length - 1)
1453
+ if (L === 0 || L === l.length - 1)
1454
1454
  continue;
1455
1455
  return !1;
1456
1456
  }
@@ -1474,22 +1474,22 @@ function $s(e, u, t, n) {
1474
1474
  D.map = [u, u + 1];
1475
1475
  const w = e.push("tr_open", "tr", 1);
1476
1476
  w.map = [u, u + 1];
1477
- for (let k = 0; k < l.length; k++) {
1477
+ for (let L = 0; L < l.length; L++) {
1478
1478
  const I = e.push("th_open", "th", 1);
1479
- E[k] && (I.attrs = [["style", "text-align:" + E[k]]]);
1479
+ E[L] && (I.attrs = [["style", "text-align:" + E[L]]]);
1480
1480
  const P = e.push("inline", "", 0);
1481
- P.content = l[k].trim(), P.children = [], e.push("th_close", "th", -1);
1481
+ P.content = l[L].trim(), P.children = [], e.push("th_close", "th", -1);
1482
1482
  }
1483
1483
  e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
1484
- let y, L = 0;
1484
+ let y, k = 0;
1485
1485
  for (r = u + 2; r < t && !(e.sCount[r] < e.blkIndent); r++) {
1486
- let k = !1;
1486
+ let L = !1;
1487
1487
  for (let P = 0, $ = p.length; P < $; P++)
1488
1488
  if (p[P](e, r, t, !0)) {
1489
- k = !0;
1489
+ L = !0;
1490
1490
  break;
1491
1491
  }
1492
- if (k || (s = Yn(e, r).trim(), !s) || e.sCount[r] - e.blkIndent >= 4 || (l = Xr(s), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), L += d - l.length, L > zs))
1492
+ if (L || (s = Yn(e, r).trim(), !s) || e.sCount[r] - e.blkIndent >= 4 || (l = Xr(s), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), k += d - l.length, k > zs))
1493
1493
  break;
1494
1494
  if (r === u + 2) {
1495
1495
  const P = e.push("tbody_open", "tbody", 1);
@@ -1565,10 +1565,10 @@ function Ys(e, u, t, n) {
1565
1565
  e.parentType = "blockquote";
1566
1566
  let p = !1, h;
1567
1567
  for (h = u; h < t; h++) {
1568
- const L = e.sCount[h] < e.blkIndent;
1568
+ const k = e.sCount[h] < e.blkIndent;
1569
1569
  if (r = e.bMarks[h] + e.tShift[h], i = e.eMarks[h], r >= i)
1570
1570
  break;
1571
- if (e.src.charCodeAt(r++) === 62 && !L) {
1571
+ if (e.src.charCodeAt(r++) === 62 && !k) {
1572
1572
  let I = e.sCount[h] + 1, P, $;
1573
1573
  e.src.charCodeAt(r) === 32 ? (r++, I++, $ = !1, P = !0) : e.src.charCodeAt(r) === 9 ? (P = !0, (e.bsCount[h] + I) % 4 === 3 ? (r++, I++, $ = !1) : $ = !0) : P = !1;
1574
1574
  let J = I;
@@ -1585,13 +1585,13 @@ function Ys(e, u, t, n) {
1585
1585
  }
1586
1586
  if (p)
1587
1587
  break;
1588
- let k = !1;
1588
+ let L = !1;
1589
1589
  for (let I = 0, P = d.length; I < P; I++)
1590
1590
  if (d[I](e, h, t, !0)) {
1591
- k = !0;
1591
+ L = !0;
1592
1592
  break;
1593
1593
  }
1594
- if (k) {
1594
+ if (L) {
1595
1595
  e.lineMax = h, e.blkIndent !== 0 && (c.push(e.bMarks[h]), s.push(e.bsCount[h]), E.push(e.tShift[h]), l.push(e.sCount[h]), e.sCount[h] -= e.blkIndent);
1596
1596
  break;
1597
1597
  }
@@ -1605,8 +1605,8 @@ function Ys(e, u, t, n) {
1605
1605
  D.map = w, e.md.block.tokenize(e, u, h);
1606
1606
  const y = e.push("blockquote_close", "blockquote", -1);
1607
1607
  y.markup = ">", e.lineMax = o, e.parentType = b, w[1] = e.line;
1608
- for (let L = 0; L < E.length; L++)
1609
- e.bMarks[L + u] = c[L], e.tShift[L + u] = E[L], e.sCount[L + u] = l[L], e.bsCount[L + u] = s[L];
1608
+ for (let k = 0; k < E.length; k++)
1609
+ e.bMarks[k + u] = c[k], e.tShift[k + u] = E[k], e.sCount[k + u] = l[k], e.bsCount[k + u] = s[k];
1610
1610
  return e.blkIndent = R, !0;
1611
1611
  }
1612
1612
  function Xs(e, u, t, n) {
@@ -1694,11 +1694,11 @@ function Ks(e, u, t, n) {
1694
1694
  const D = [s, 0];
1695
1695
  c.map = D, c.markup = String.fromCharCode(h);
1696
1696
  let w = !1;
1697
- const y = e.md.block.ruler.getRules("list"), L = e.parentType;
1697
+ const y = e.md.block.ruler.getRules("list"), k = e.parentType;
1698
1698
  for (e.parentType = "list"; s < t; ) {
1699
1699
  i = p, r = e.eMarks[s];
1700
- const k = e.sCount[s] + p - (e.bMarks[s] + e.tShift[s]);
1701
- let I = k;
1700
+ const L = e.sCount[s] + p - (e.bMarks[s] + e.tShift[s]);
1701
+ let I = L;
1702
1702
  for (; i < r; ) {
1703
1703
  const te = e.src.charCodeAt(i);
1704
1704
  if (te === 9)
@@ -1711,13 +1711,13 @@ function Ks(e, u, t, n) {
1711
1711
  }
1712
1712
  const P = i;
1713
1713
  let $;
1714
- P >= r ? $ = 1 : $ = I - k, $ > 4 && ($ = 1);
1715
- const J = k + $;
1714
+ P >= r ? $ = 1 : $ = I - L, $ > 4 && ($ = 1);
1715
+ const J = L + $;
1716
1716
  c = e.push("list_item_open", "li", 1), c.markup = String.fromCharCode(h);
1717
1717
  const oe = [s, 0];
1718
1718
  c.map = oe, d && (c.info = e.src.slice(o, p - 1));
1719
- const Le = e.tight, ie = e.tShift[s], Ne = e.sCount[s], M = e.listIndent;
1720
- if (e.listIndent = e.blkIndent, e.blkIndent = J, e.tight = !0, e.tShift[s] = P - e.bMarks[s], e.sCount[s] = I, P >= r && e.isEmpty(s + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, s, t, !0), (!e.tight || w) && (l = !1), w = e.line - s > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = M, e.tShift[s] = ie, e.sCount[s] = Ne, e.tight = Le, c = e.push("list_item_close", "li", -1), c.markup = String.fromCharCode(h), s = e.line, oe[1] = s, s >= t || e.sCount[s] < e.blkIndent || e.sCount[s] - e.blkIndent >= 4)
1719
+ const ke = e.tight, ie = e.tShift[s], Ne = e.sCount[s], M = e.listIndent;
1720
+ if (e.listIndent = e.blkIndent, e.blkIndent = J, e.tight = !0, e.tShift[s] = P - e.bMarks[s], e.sCount[s] = I, P >= r && e.isEmpty(s + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, s, t, !0), (!e.tight || w) && (l = !1), w = e.line - s > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = M, e.tShift[s] = ie, e.sCount[s] = Ne, e.tight = ke, c = e.push("list_item_close", "li", -1), c.markup = String.fromCharCode(h), s = e.line, oe[1] = s, s >= t || e.sCount[s] < e.blkIndent || e.sCount[s] - e.blkIndent >= 4)
1721
1721
  break;
1722
1722
  let j = !1;
1723
1723
  for (let te = 0, De = y.length; te < De; te++)
@@ -1736,23 +1736,23 @@ function Ks(e, u, t, n) {
1736
1736
  if (h !== e.src.charCodeAt(p - 1))
1737
1737
  break;
1738
1738
  }
1739
- return d ? c = e.push("ordered_list_close", "ol", -1) : c = e.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(h), D[1] = s, e.line = s, e.parentType = L, l && qs(e, R), !0;
1739
+ return d ? c = e.push("ordered_list_close", "ol", -1) : c = e.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(h), D[1] = s, e.line = s, e.parentType = k, l && qs(e, R), !0;
1740
1740
  }
1741
1741
  function Zs(e, u, t, n) {
1742
1742
  let r = e.bMarks[u] + e.tShift[u], i = e.eMarks[u], o = u + 1;
1743
1743
  if (e.sCount[u] - e.blkIndent >= 4 || e.src.charCodeAt(r) !== 91)
1744
1744
  return !1;
1745
1745
  function c(y) {
1746
- const L = e.lineMax;
1747
- if (y >= L || e.isEmpty(y))
1746
+ const k = e.lineMax;
1747
+ if (y >= k || e.isEmpty(y))
1748
1748
  return null;
1749
- let k = !1;
1750
- if (e.sCount[y] - e.blkIndent > 3 && (k = !0), e.sCount[y] < 0 && (k = !0), !k) {
1749
+ let L = !1;
1750
+ if (e.sCount[y] - e.blkIndent > 3 && (L = !0), e.sCount[y] < 0 && (L = !0), !L) {
1751
1751
  const $ = e.md.block.ruler.getRules("reference"), J = e.parentType;
1752
1752
  e.parentType = "reference";
1753
1753
  let oe = !1;
1754
- for (let Le = 0, ie = $.length; Le < ie; Le++)
1755
- if ($[Le](e, y, L, !0)) {
1754
+ for (let ke = 0, ie = $.length; ke < ie; ke++)
1755
+ if ($[ke](e, y, k, !0)) {
1756
1756
  oe = !0;
1757
1757
  break;
1758
1758
  }
@@ -1773,11 +1773,11 @@ function Zs(e, u, t, n) {
1773
1773
  l = r;
1774
1774
  break;
1775
1775
  } else if (y === 10) {
1776
- const L = c(o);
1777
- L !== null && (s += L, i = s.length, o++);
1776
+ const k = c(o);
1777
+ k !== null && (s += k, i = s.length, o++);
1778
1778
  } else if (y === 92 && (r++, r < i && s.charCodeAt(r) === 10)) {
1779
- const L = c(o);
1780
- L !== null && (s += L, i = s.length, o++);
1779
+ const k = c(o);
1780
+ k !== null && (s += k, i = s.length, o++);
1781
1781
  }
1782
1782
  }
1783
1783
  if (l < 0 || s.charCodeAt(l + 1) !== 58)
@@ -1785,8 +1785,8 @@ function Zs(e, u, t, n) {
1785
1785
  for (r = l + 2; r < i; r++) {
1786
1786
  const y = s.charCodeAt(r);
1787
1787
  if (y === 10) {
1788
- const L = c(o);
1789
- L !== null && (s += L, i = s.length, o++);
1788
+ const k = c(o);
1789
+ k !== null && (s += k, i = s.length, o++);
1790
1790
  } else if (!ge(y)) break;
1791
1791
  }
1792
1792
  const E = e.md.helpers.parseLinkDestination(s, r, i);
@@ -1800,8 +1800,8 @@ function Zs(e, u, t, n) {
1800
1800
  for (; r < i; r++) {
1801
1801
  const y = s.charCodeAt(r);
1802
1802
  if (y === 10) {
1803
- const L = c(o);
1804
- L !== null && (s += L, i = s.length, o++);
1803
+ const k = c(o);
1804
+ k !== null && (s += k, i = s.length, o++);
1805
1805
  } else if (!ge(y)) break;
1806
1806
  }
1807
1807
  let R = e.md.helpers.parseLinkTitle(s, r, i);
@@ -2192,7 +2192,7 @@ for (let e = 0; e < 256; e++)
2192
2192
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e) {
2193
2193
  Cr[e.charCodeAt(0)] = 1;
2194
2194
  });
2195
- function Ta(e, u) {
2195
+ function ma(e, u) {
2196
2196
  let t = e.pos;
2197
2197
  const n = e.posMax;
2198
2198
  if (e.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
@@ -2221,7 +2221,7 @@ function Ta(e, u) {
2221
2221
  }
2222
2222
  return e.pos = t + 1, !0;
2223
2223
  }
2224
- function ma(e, u) {
2224
+ function Ta(e, u) {
2225
2225
  let t = e.pos;
2226
2226
  if (e.src.charCodeAt(t) !== 96)
2227
2227
  return !1;
@@ -2477,10 +2477,10 @@ function ya(e, u) {
2477
2477
  }
2478
2478
  return !1;
2479
2479
  }
2480
- function La(e) {
2480
+ function ka(e) {
2481
2481
  return /^<a[>\s]/i.test(e);
2482
2482
  }
2483
- function ka(e) {
2483
+ function La(e) {
2484
2484
  return /^<\/a\s*>/i.test(e);
2485
2485
  }
2486
2486
  function Ma(e) {
@@ -2501,16 +2501,16 @@ function wa(e, u) {
2501
2501
  return !1;
2502
2502
  if (!u) {
2503
2503
  const o = e.push("html_inline", "", 0);
2504
- o.content = i[0], La(o.content) && e.linkLevel++, ka(o.content) && e.linkLevel--;
2504
+ o.content = i[0], ka(o.content) && e.linkLevel++, La(o.content) && e.linkLevel--;
2505
2505
  }
2506
2506
  return e.pos += i[0].length, !0;
2507
2507
  }
2508
- const Fa = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, va = /^&([a-z][a-z0-9]{1,31});/i;
2508
+ const va = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Fa = /^&([a-z][a-z0-9]{1,31});/i;
2509
2509
  function Pa(e, u) {
2510
2510
  const t = e.pos, n = e.posMax;
2511
2511
  if (e.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
2512
2512
  if (e.src.charCodeAt(t + 1) === 35) {
2513
- const i = e.src.slice(t).match(Fa);
2513
+ const i = e.src.slice(t).match(va);
2514
2514
  if (i) {
2515
2515
  if (!u) {
2516
2516
  const o = i[1][0].toLowerCase() === "x" ? parseInt(i[1].slice(1), 16) : parseInt(i[1], 10), c = e.push("text_special", "", 0);
@@ -2519,7 +2519,7 @@ function Pa(e, u) {
2519
2519
  return e.pos += i[0].length, !0;
2520
2520
  }
2521
2521
  } else {
2522
- const i = e.src.slice(t).match(va);
2522
+ const i = e.src.slice(t).match(Fa);
2523
2523
  if (i) {
2524
2524
  const o = Qc(i[0]);
2525
2525
  if (o !== i[0]) {
@@ -2575,8 +2575,8 @@ const Xn = [
2575
2575
  ["text", ha],
2576
2576
  ["linkify", Aa],
2577
2577
  ["newline", ga],
2578
- ["escape", Ta],
2579
- ["backticks", ma],
2578
+ ["escape", ma],
2579
+ ["backticks", Ta],
2580
2580
  ["strikethrough", Xi.tokenize],
2581
2581
  ["emphasis", qi.tokenize],
2582
2582
  ["link", Ia],
@@ -2650,7 +2650,7 @@ cn.prototype.parse = function(e, u, t, n) {
2650
2650
  cn.prototype.State = on;
2651
2651
  function Ga(e) {
2652
2652
  const u = {};
2653
- e = e || {}, u.src_Any = Fi.source, u.src_Cc = vi.source, u.src_Z = Ui.source, u.src_P = mr.source, u.src_ZPCc = [u.src_Z, u.src_P, u.src_Cc].join("|"), u.src_ZCc = [u.src_Z, u.src_Cc].join("|");
2653
+ e = e || {}, u.src_Any = vi.source, u.src_Cc = Fi.source, u.src_Z = Ui.source, u.src_P = Tr.source, u.src_ZPCc = [u.src_Z, u.src_P, u.src_Cc].join("|"), u.src_ZCc = [u.src_Z, u.src_Cc].join("|");
2654
2654
  const t = "[><|]";
2655
2655
  return u.src_pseudo_letter = `(?:(?!${t}|${u.src_ZPCc})${u.src_Any})`, u.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", u.src_auth = `(?:(?:(?!${u.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`, u.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", u.src_host_terminator = `(?=$|${t}|${u.src_ZPCc})(?!${e["---"] ? "-(?!--)|" : "-|"}_|:\\d|\\.-|\\.(?!$|${u.src_ZPCc}))`, u.src_path = `(?:[/?#](?:(?!${u.src_ZCc}|${t}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${u.src_ZCc}|\\]).)*\\]|\\((?:(?!${u.src_ZCc}|[)]).)*\\)|\\{(?:(?!${u.src_ZCc}|[}]).)*\\}|\\"(?:(?!${u.src_ZCc}|["]).)+\\"|\\'(?:(?!${u.src_ZCc}|[']).)+\\'|\\'(?=${u.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${u.src_ZCc}|[.]|$)|` + (e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
2656
2656
  `,(?!${u.src_ZCc}|$)|;(?!${u.src_ZCc}|$)|\\!+(?!${u.src_ZCc}|[!]|$)|\\?(?!${u.src_ZCc}|[?]|$))+|\\/)?`, u.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}', u.src_xn = "xn--[a-z0-9\\-]{1,59}", u.src_domain_root = // Allow letters & digits (http://test1)
@@ -2667,20 +2667,20 @@ function dr(e) {
2667
2667
  });
2668
2668
  }), e;
2669
2669
  }
2670
- function Ln(e) {
2670
+ function kn(e) {
2671
2671
  return Object.prototype.toString.call(e);
2672
2672
  }
2673
2673
  function Ha(e) {
2674
- return Ln(e) === "[object String]";
2674
+ return kn(e) === "[object String]";
2675
2675
  }
2676
2676
  function za(e) {
2677
- return Ln(e) === "[object Object]";
2677
+ return kn(e) === "[object Object]";
2678
2678
  }
2679
2679
  function $a(e) {
2680
- return Ln(e) === "[object RegExp]";
2680
+ return kn(e) === "[object RegExp]";
2681
2681
  }
2682
2682
  function Qr(e) {
2683
- return Ln(e) === "[object Function]";
2683
+ return kn(e) === "[object Function]";
2684
2684
  }
2685
2685
  function Va(e) {
2686
2686
  return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
@@ -3178,7 +3178,7 @@ function E0(e) {
3178
3178
  }
3179
3179
  const oo = ["http:", "https:", "mailto:"];
3180
3180
  function _0(e) {
3181
- const u = Tr(e, !0);
3181
+ const u = mr(e, !0);
3182
3182
  if (u.hostname && (!u.protocol || oo.indexOf(u.protocol) >= 0))
3183
3183
  try {
3184
3184
  u.hostname = io.toASCII(u.hostname);
@@ -3187,7 +3187,7 @@ function _0(e) {
3187
3187
  return rn(gr(u));
3188
3188
  }
3189
3189
  function h0(e) {
3190
- const u = Tr(e, !0);
3190
+ const u = mr(e, !0);
3191
3191
  if (u.hostname && (!u.protocol || oo.indexOf(u.protocol) >= 0))
3192
3192
  try {
3193
3193
  u.hostname = io.toUnicode(u.hostname);
@@ -3198,7 +3198,7 @@ function h0(e) {
3198
3198
  function du(e, u) {
3199
3199
  if (!(this instanceof du))
3200
3200
  return new du(e, u);
3201
- u || Nr(e) || (u = e || {}, e = "default"), this.inline = new cn(), this.block = new yn(), this.core = new Sr(), this.renderer = new Dt(), this.linkify = new ru(), this.validateLink = E0, this.normalizeLink = _0, this.normalizeLinkText = h0, this.utils = bs, this.helpers = On({}, Ts), this.options = {}, this.configure(e), u && this.set(u);
3201
+ u || Nr(e) || (u = e || {}, e = "default"), this.inline = new cn(), this.block = new yn(), this.core = new Sr(), this.renderer = new Dt(), this.linkify = new ru(), this.validateLink = E0, this.normalizeLink = _0, this.normalizeLinkText = h0, this.utils = bs, this.helpers = On({}, ms), this.options = {}, this.configure(e), u && this.set(u);
3202
3202
  }
3203
3203
  du.prototype.set = function(e) {
3204
3204
  return On(this.options, e), this;
@@ -3293,16 +3293,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3293
3293
  }
3294
3294
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3295
3295
  function g0(e, u) {
3296
- return b0(e) || p0(e, u) || T0(e, u) || A0();
3296
+ return b0(e) || p0(e, u) || m0(e, u) || A0();
3297
3297
  }
3298
- function T0(e, u) {
3298
+ function m0(e, u) {
3299
3299
  if (e) {
3300
3300
  if (typeof e == "string") return ti(e, u);
3301
3301
  var t = {}.toString.call(e).slice(8, -1);
3302
3302
  return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ti(e, u) : void 0;
3303
3303
  }
3304
3304
  }
3305
- const co = Object.entries, ni = Object.setPrototypeOf, m0 = Object.isFrozen, so = Object.getPrototypeOf, ao = Object.getOwnPropertyDescriptor;
3305
+ const co = Object.entries, ni = Object.setPrototypeOf, T0 = Object.isFrozen, so = Object.getPrototypeOf, ao = Object.getOwnPropertyDescriptor;
3306
3306
  let He = Object.freeze, Ve = Object.seal, St = Object.create, lo = typeof Reflect < "u" && Reflect, Er = lo.apply, _r = lo.construct;
3307
3307
  He || (He = function(u) {
3308
3308
  return u;
@@ -3340,7 +3340,7 @@ function re(e, u) {
3340
3340
  let r = u[n];
3341
3341
  if (typeof r == "string") {
3342
3342
  const i = t(r);
3343
- i !== r && (m0(u) || (u[n] = i), r = i);
3343
+ i !== r && (T0(u) || (u[n] = i), r = i);
3344
3344
  }
3345
3345
  e[r] = !0;
3346
3346
  }
@@ -3409,7 +3409,7 @@ function y0(e, u) {
3409
3409
  }
3410
3410
  return null;
3411
3411
  }
3412
- function L0(e) {
3412
+ function k0(e) {
3413
3413
  try {
3414
3414
  return $e(e, ""), !0;
3415
3415
  } catch {
@@ -3610,7 +3610,7 @@ const ai = He([
3610
3610
  "feSpotLight",
3611
3611
  "feTile",
3612
3612
  "feTurbulence"
3613
- ]), k0 = He([
3613
+ ]), L0 = He([
3614
3614
  "animate",
3615
3615
  "color-profile",
3616
3616
  "cursor",
@@ -4053,7 +4053,7 @@ const ai = He([
4053
4053
  "xlink:title",
4054
4054
  "xml:space",
4055
4055
  "xmlns:xlink"
4056
- ]), w0 = Ve(/{{[\w\W]*|^[\w\W]*}}/g), F0 = Ve(/<%[\w\W]*|^[\w\W]*%>/g), v0 = Ve(/\${[\w\W]*/g), P0 = Ve(/^data-[\-\w.\u00B7-\uFFFF]+$/), U0 = Ve(/^aria-[\-\w]+$/), Ei = Ve(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), B0 = Ve(/^(?:\w+script|data):/i), G0 = Ve(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), H0 = Ve(/^html$/i), z0 = Ve(/^[a-z][.\w]*(-[.\w]+)+$/i), rr = Ve(/<[/\w!]/g), _i = Ve(/<[/\w]/g), $0 = Ve(/<\/no(script|embed|frames)/i), hi = Ve(/\/>/i), we = {
4056
+ ]), w0 = Ve(/{{[\w\W]*|^[\w\W]*}}/g), v0 = Ve(/<%[\w\W]*|^[\w\W]*%>/g), F0 = Ve(/\${[\w\W]*/g), P0 = Ve(/^data-[\-\w.\u00B7-\uFFFF]+$/), U0 = Ve(/^aria-[\-\w]+$/), Ei = Ve(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), B0 = Ve(/^(?:\w+script|data):/i), G0 = Ve(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), H0 = Ve(/^html$/i), z0 = Ve(/^[a-z][.\w]*(-[.\w]+)+$/i), rr = Ve(/<[/\w!]/g), _i = Ve(/<[/\w]/g), $0 = Ve(/<\/no(script|embed|frames)/i), hi = Ve(/\/>/i), we = {
4057
4057
  element: 1,
4058
4058
  attribute: 2,
4059
4059
  text: 3,
@@ -4123,11 +4123,11 @@ function Eo() {
4123
4123
  e.DocumentFragment;
4124
4124
  const i = e.HTMLTemplateElement, o = e.Node, c = e.Element, s = e.NodeFilter;
4125
4125
  e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
4126
- const l = e.DOMParser, E = e.trustedTypes, d = c.prototype, b = lu(d, "cloneNode"), p = lu(d, "remove"), h = lu(d, "removeAttributeNode"), R = lu(d, "nextSibling"), D = lu(d, "childNodes"), w = lu(d, "parentNode"), y = lu(d, "shadowRoot"), L = lu(d, "attributes"), k = o && o.prototype ? lu(o.prototype, "nodeType") : null, I = o && o.prototype ? lu(o.prototype, "nodeName") : null, P = o && o.prototype ? lu(o.prototype, "ownerDocument") : null, $ = function(a) {
4127
- return k ? k(a) : a.nodeType;
4126
+ const l = e.DOMParser, E = e.trustedTypes, d = c.prototype, b = lu(d, "cloneNode"), p = lu(d, "remove"), h = lu(d, "removeAttributeNode"), R = lu(d, "nextSibling"), D = lu(d, "childNodes"), w = lu(d, "parentNode"), y = lu(d, "shadowRoot"), k = lu(d, "attributes"), L = o && o.prototype ? lu(o.prototype, "nodeType") : null, I = o && o.prototype ? lu(o.prototype, "nodeName") : null, P = o && o.prototype ? lu(o.prototype, "ownerDocument") : null, $ = function(a) {
4127
+ return L ? L(a) : a.nodeType;
4128
4128
  }, J = function(a) {
4129
4129
  return I ? I(a) : a.nodeName;
4130
- }, oe = y0(d, "namespaceURI"), Le = function(a) {
4130
+ }, oe = y0(d, "namespaceURI"), ke = function(a) {
4131
4131
  return oe ? oe(a) : a.namespaceURI;
4132
4132
  };
4133
4133
  if (typeof i == "function") {
@@ -4153,10 +4153,10 @@ function Eo() {
4153
4153
  }
4154
4154
  }, ne = function() {
4155
4155
  return j || (M = Y0(E, r), j = !0), M;
4156
- }, Te = t, Ee = Te.implementation, Ue = Te.createNodeIterator, me = Te.createDocumentFragment, Au = Te.getElementsByTagName, Pu = n.importNode;
4156
+ }, me = t, Ee = me.implementation, Ue = me.createNodeIterator, Te = me.createDocumentFragment, Au = me.getElementsByTagName, Pu = n.importNode;
4157
4157
  let X = bi();
4158
4158
  u.isSupported = typeof co == "function" && typeof w == "function" && Ee && Ee.createHTMLDocument !== void 0;
4159
- const C = w0, ce = F0, ye = v0, Fe = P0, ke = U0, Eu = B0, Ju = G0, gu = z0;
4159
+ const C = w0, ce = v0, ye = F0, ve = P0, Le = U0, Eu = B0, Ju = G0, gu = z0;
4160
4160
  let Uu = Ei, _e = null;
4161
4161
  const yt = re({}, [
4162
4162
  ...ai,
@@ -4166,7 +4166,7 @@ function Eo() {
4166
4166
  ...li
4167
4167
  ]);
4168
4168
  let he = null;
4169
- const Lt = re({}, [
4169
+ const kt = re({}, [
4170
4170
  ...fi,
4171
4171
  ...nr,
4172
4172
  ...di,
@@ -4206,9 +4206,9 @@ function Eo() {
4206
4206
  value: null
4207
4207
  }
4208
4208
  }));
4209
- let Tu = !0, st = !0, Du = !1, Bu = !0, iu = !1, yu = !0, Lu = !1, kt = !1, at = null, lt = null, ft = !1, Gu = !1, dt = !1, Et = !1, _t = !0, Mt = !1;
4209
+ let mu = !0, st = !0, Du = !1, Bu = !0, iu = !1, yu = !0, ku = !1, Lt = !1, at = null, lt = null, ft = !1, Gu = !1, dt = !1, Et = !1, _t = !0, Mt = !1;
4210
4210
  const wt = "user-content-";
4211
- let Ft = !0, ht = !1, Ke = null, f = {}, A = null;
4211
+ let vt = !0, ht = !1, Ke = null, f = {}, A = null;
4212
4212
  const x = re({}, [
4213
4213
  "annotation-xml",
4214
4214
  "audio",
@@ -4262,10 +4262,10 @@ function Eo() {
4262
4262
  "value",
4263
4263
  "style",
4264
4264
  "xmlns"
4265
- ]), F = "http://www.w3.org/1998/Math/MathML", z = "http://www.w3.org/2000/svg", fe = "http://www.w3.org/1999/xhtml";
4266
- let de = fe, ku = !1, et = null;
4267
- const vt = re({}, [
4268
- F,
4265
+ ]), v = "http://www.w3.org/1998/Math/MathML", z = "http://www.w3.org/2000/svg", fe = "http://www.w3.org/1999/xhtml";
4266
+ let de = fe, Lu = !1, et = null;
4267
+ const Ft = re({}, [
4268
+ v,
4269
4269
  z,
4270
4270
  fe
4271
4271
  ], Qn), an = He([
@@ -4278,7 +4278,7 @@ function Eo() {
4278
4278
  let ut = re({}, an);
4279
4279
  const ln = He(["annotation-xml"]);
4280
4280
  let Pt = re({}, ln);
4281
- const kn = re({}, [
4281
+ const Ln = re({}, [
4282
4282
  "title",
4283
4283
  "style",
4284
4284
  "font",
@@ -4288,91 +4288,91 @@ function Eo() {
4288
4288
  let Hu = null;
4289
4289
  const bt = ["application/xhtml+xml", "text/html"], Mn = "text/html";
4290
4290
  let Ie = null, zu = null;
4291
- const mu = t.createElement("form"), Ut = function(a) {
4291
+ const Tu = t.createElement("form"), Ut = function(a) {
4292
4292
  return a instanceof RegExp || a instanceof Function;
4293
4293
  }, pt = function() {
4294
4294
  let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4295
4295
  if (zu && zu === a) return;
4296
- (!a || typeof a != "object") && (a = {}), a = tu(a), Hu = bt.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? Mn : a.PARSER_MEDIA_TYPE, Ie = Hu === "application/xhtml+xml" ? Qn : it, _e = Vu(a, "ALLOWED_TAGS", yt, { transform: Ie }), he = Vu(a, "ALLOWED_ATTR", Lt, { transform: Ie }), et = Vu(a, "ALLOWED_NAMESPACES", vt, { transform: Qn }), Se = Vu(a, "ADD_URI_SAFE_ATTR", U, {
4296
+ (!a || typeof a != "object") && (a = {}), a = tu(a), Hu = bt.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? Mn : a.PARSER_MEDIA_TYPE, Ie = Hu === "application/xhtml+xml" ? Qn : it, _e = Vu(a, "ALLOWED_TAGS", yt, { transform: Ie }), he = Vu(a, "ALLOWED_ATTR", kt, { transform: Ie }), et = Vu(a, "ALLOWED_NAMESPACES", Ft, { transform: Qn }), Se = Vu(a, "ADD_URI_SAFE_ATTR", U, {
4297
4297
  transform: Ie,
4298
4298
  base: U
4299
4299
  }), Y = Vu(a, "ADD_DATA_URI_TAGS", Re, {
4300
4300
  transform: Ie,
4301
4301
  base: Re
4302
- }), A = Vu(a, "FORBID_CONTENTS", x, { transform: Ie }), Qu = Vu(a, "FORBID_TAGS", tu({}), { transform: Ie }), sn = Vu(a, "FORBID_ATTR", tu({}), { transform: Ie }), f = Qe(a, "USE_PROFILES") ? a.USE_PROFILES && typeof a.USE_PROFILES == "object" ? tu(a.USE_PROFILES) : a.USE_PROFILES : !1, Tu = a.ALLOW_ARIA_ATTR !== !1, st = a.ALLOW_DATA_ATTR !== !1, Du = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Bu = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, iu = a.SAFE_FOR_TEMPLATES || !1, yu = a.SAFE_FOR_XML !== !1, Lu = a.WHOLE_DOCUMENT || !1, Gu = a.RETURN_DOM || !1, dt = a.RETURN_DOM_FRAGMENT || !1, Et = a.RETURN_TRUSTED_TYPE || !1, ft = a.FORCE_BODY || !1, _t = a.SANITIZE_DOM !== !1, Mt = a.SANITIZE_NAMED_PROPS || !1, Ft = a.KEEP_CONTENT !== !1, ht = a.IN_PLACE || !1, Uu = L0(a.ALLOWED_URI_REGEXP) ? a.ALLOWED_URI_REGEXP : Ei, de = typeof a.NAMESPACE == "string" ? a.NAMESPACE : fe, ut = ir(a, "MATHML_TEXT_INTEGRATION_POINTS", () => re({}, an)), Pt = ir(a, "HTML_INTEGRATION_POINTS", () => re({}, ln));
4302
+ }), A = Vu(a, "FORBID_CONTENTS", x, { transform: Ie }), Qu = Vu(a, "FORBID_TAGS", tu({}), { transform: Ie }), sn = Vu(a, "FORBID_ATTR", tu({}), { transform: Ie }), f = Qe(a, "USE_PROFILES") ? a.USE_PROFILES && typeof a.USE_PROFILES == "object" ? tu(a.USE_PROFILES) : a.USE_PROFILES : !1, mu = a.ALLOW_ARIA_ATTR !== !1, st = a.ALLOW_DATA_ATTR !== !1, Du = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Bu = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, iu = a.SAFE_FOR_TEMPLATES || !1, yu = a.SAFE_FOR_XML !== !1, ku = a.WHOLE_DOCUMENT || !1, Gu = a.RETURN_DOM || !1, dt = a.RETURN_DOM_FRAGMENT || !1, Et = a.RETURN_TRUSTED_TYPE || !1, ft = a.FORCE_BODY || !1, _t = a.SANITIZE_DOM !== !1, Mt = a.SANITIZE_NAMED_PROPS || !1, vt = a.KEEP_CONTENT !== !1, ht = a.IN_PLACE || !1, Uu = k0(a.ALLOWED_URI_REGEXP) ? a.ALLOWED_URI_REGEXP : Ei, de = typeof a.NAMESPACE == "string" ? a.NAMESPACE : fe, ut = ir(a, "MATHML_TEXT_INTEGRATION_POINTS", () => re({}, an)), Pt = ir(a, "HTML_INTEGRATION_POINTS", () => re({}, ln));
4303
4303
  const _ = ir(a, "CUSTOM_ELEMENT_HANDLING", () => St(null));
4304
- if (uu = St(null), Qe(_, "tagNameCheck") && Ut(_.tagNameCheck) && (uu.tagNameCheck = _.tagNameCheck), Qe(_, "attributeNameCheck") && Ut(_.attributeNameCheck) && (uu.attributeNameCheck = _.attributeNameCheck), Qe(_, "allowCustomizedBuiltInElements") && typeof _.allowCustomizedBuiltInElements == "boolean" && (uu.allowCustomizedBuiltInElements = _.allowCustomizedBuiltInElements), Ve(uu), iu && (st = !1), dt && (Gu = !0), f && (_e = re({}, li), he = St(null), f.html === !0 && (re(_e, ai), re(he, fi)), f.svg === !0 && (re(_e, er), re(he, nr), re(he, gn)), f.svgFilters === !0 && (re(_e, ur), re(he, nr), re(he, gn)), f.mathMl === !0 && (re(_e, tr), re(he, di), re(he, gn))), _u.tagCheck = null, _u.attributeCheck = null, Qe(a, "ADD_TAGS") && (typeof a.ADD_TAGS == "function" ? _u.tagCheck = a.ADD_TAGS : It(a.ADD_TAGS) && (_e === yt && (_e = tu(_e)), re(_e, a.ADD_TAGS, Ie))), Qe(a, "ADD_ATTR") && (typeof a.ADD_ATTR == "function" ? _u.attributeCheck = a.ADD_ATTR : It(a.ADD_ATTR) && (he === Lt && (he = tu(he)), re(he, a.ADD_ATTR, Ie))), Qe(a, "ADD_FORBID_CONTENTS") && It(a.ADD_FORBID_CONTENTS) && (A === x && (A = tu(A)), re(A, a.ADD_FORBID_CONTENTS, Ie)), Ft && (_e["#text"] = !0), Lu && re(_e, [
4304
+ if (uu = St(null), Qe(_, "tagNameCheck") && Ut(_.tagNameCheck) && (uu.tagNameCheck = _.tagNameCheck), Qe(_, "attributeNameCheck") && Ut(_.attributeNameCheck) && (uu.attributeNameCheck = _.attributeNameCheck), Qe(_, "allowCustomizedBuiltInElements") && typeof _.allowCustomizedBuiltInElements == "boolean" && (uu.allowCustomizedBuiltInElements = _.allowCustomizedBuiltInElements), Ve(uu), iu && (st = !1), dt && (Gu = !0), f && (_e = re({}, li), he = St(null), f.html === !0 && (re(_e, ai), re(he, fi)), f.svg === !0 && (re(_e, er), re(he, nr), re(he, gn)), f.svgFilters === !0 && (re(_e, ur), re(he, nr), re(he, gn)), f.mathMl === !0 && (re(_e, tr), re(he, di), re(he, gn))), _u.tagCheck = null, _u.attributeCheck = null, Qe(a, "ADD_TAGS") && (typeof a.ADD_TAGS == "function" ? _u.tagCheck = a.ADD_TAGS : It(a.ADD_TAGS) && (_e === yt && (_e = tu(_e)), re(_e, a.ADD_TAGS, Ie))), Qe(a, "ADD_ATTR") && (typeof a.ADD_ATTR == "function" ? _u.attributeCheck = a.ADD_ATTR : It(a.ADD_ATTR) && (he === kt && (he = tu(he)), re(he, a.ADD_ATTR, Ie))), Qe(a, "ADD_FORBID_CONTENTS") && It(a.ADD_FORBID_CONTENTS) && (A === x && (A = tu(A)), re(A, a.ADD_FORBID_CONTENTS, Ie)), vt && (_e["#text"] = !0), ku && re(_e, [
4305
4305
  "html",
4306
4306
  "head",
4307
4307
  "body"
4308
4308
  ]), _e.table && (re(_e, ["tbody"]), delete Qu.tbody), a.TRUSTED_TYPES_POLICY) {
4309
4309
  if (typeof a.TRUSTED_TYPES_POLICY.createHTML != "function") throw wu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4310
4310
  if (typeof a.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw wu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4311
- const T = ie;
4311
+ const m = ie;
4312
4312
  ie = a.TRUSTED_TYPES_POLICY;
4313
4313
  try {
4314
4314
  Ne = We("");
4315
- } catch (m) {
4316
- throw ie = T, m;
4315
+ } catch (T) {
4316
+ throw ie = m, T;
4317
4317
  }
4318
4318
  } else a.TRUSTED_TYPES_POLICY === null ? (ie = void 0, Ne = "") : (ie === void 0 && (ie = ne()), ie && typeof Ne == "string" && (Ne = We("")));
4319
4319
  He && He(a), zu = a;
4320
4320
  }, fn = re({}, [
4321
4321
  ...er,
4322
4322
  ...ur,
4323
- ...k0
4324
- ]), dn = re({}, [...tr, ...M0]), wn = function(a, _, T) {
4325
- return _.namespaceURI === fe ? a === "svg" : _.namespaceURI === F ? a === "svg" && (T === "annotation-xml" || ut[T]) : !!fn[a];
4326
- }, At = function(a, _, T) {
4327
- return _.namespaceURI === fe ? a === "math" : _.namespaceURI === z ? a === "math" && Pt[T] : !!dn[a];
4328
- }, Fn = function(a, _, T) {
4329
- return _.namespaceURI === z && !Pt[T] || _.namespaceURI === F && !ut[T] ? !1 : !dn[a] && (kn[a] || !fn[a]);
4323
+ ...L0
4324
+ ]), dn = re({}, [...tr, ...M0]), wn = function(a, _, m) {
4325
+ return _.namespaceURI === fe ? a === "svg" : _.namespaceURI === v ? a === "svg" && (m === "annotation-xml" || ut[m]) : !!fn[a];
4326
+ }, At = function(a, _, m) {
4327
+ return _.namespaceURI === fe ? a === "math" : _.namespaceURI === z ? a === "math" && Pt[m] : !!dn[a];
4328
+ }, vn = function(a, _, m) {
4329
+ return _.namespaceURI === z && !Pt[m] || _.namespaceURI === v && !ut[m] ? !1 : !dn[a] && (Ln[a] || !fn[a]);
4330
4330
  }, S = function(a) {
4331
- const _ = Le(a), T = it(J(a)), m = w(a);
4331
+ const _ = ke(a), m = it(J(a)), T = w(a);
4332
4332
  let H, W;
4333
- return m && $(m) === we.element ? (H = { namespaceURI: Le(m) }, W = it(J(m))) : (H = { namespaceURI: de }, W = "template"), et[_] ? _ === z ? wn(T, H, W) : _ === F ? At(T, H, W) : _ === fe ? Fn(T, H, W) : !!(Hu === "application/xhtml+xml" && et[_]) : !1;
4334
- }, v = function(a) {
4333
+ return T && $(T) === we.element ? (H = { namespaceURI: ke(T) }, W = it(J(T))) : (H = { namespaceURI: de }, W = "template"), et[_] ? _ === z ? wn(m, H, W) : _ === v ? At(m, H, W) : _ === fe ? vn(m, H, W) : !!(Hu === "application/xhtml+xml" && et[_]) : !1;
4334
+ }, F = function(a) {
4335
4335
  $t(u.removed, { element: a });
4336
4336
  try {
4337
4337
  w(a).removeChild(a);
4338
4338
  } catch {
4339
4339
  if (p(a), !w(a)) throw wu("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
4340
4340
  }
4341
- }, Q = function(a, _, T) {
4341
+ }, Q = function(a, _, m) {
4342
4342
  try {
4343
4343
  h(a, _);
4344
4344
  } catch {
4345
4345
  try {
4346
- a.removeAttribute(T);
4346
+ a.removeAttribute(m);
4347
4347
  } catch {
4348
4348
  }
4349
4349
  }
4350
4350
  }, le = function(a) {
4351
4351
  $u(a);
4352
4352
  const _ = D(a);
4353
- _ && Mu(R0(_), (m) => {
4353
+ _ && Mu(R0(_), (T) => {
4354
4354
  try {
4355
- p(m);
4355
+ p(T);
4356
4356
  } catch {
4357
4357
  }
4358
4358
  });
4359
- const T = $(a) === we.element ? L(a) : null;
4360
- if (T) for (let m = T.length - 1; m >= 0; --m) {
4361
- const H = T[m], W = H && H.name;
4359
+ const m = $(a) === we.element ? k(a) : null;
4360
+ if (m) for (let T = m.length - 1; T >= 0; --T) {
4361
+ const H = m[T], W = H && H.name;
4362
4362
  typeof W == "string" && Q(a, H, W);
4363
4363
  }
4364
- }, be = function(a, _, T) {
4365
- if (!T) try {
4366
- T = _.getAttributeNode(a);
4364
+ }, be = function(a, _, m) {
4365
+ if (!m) try {
4366
+ m = _.getAttributeNode(a);
4367
4367
  } catch {
4368
- T = null;
4368
+ m = null;
4369
4369
  }
4370
4370
  $t(u.removed, {
4371
- attribute: T || null,
4371
+ attribute: m || null,
4372
4372
  from: _
4373
4373
  });
4374
4374
  try {
4375
- T ? h(_, T) : _.removeAttribute(a);
4375
+ m ? h(_, m) : _.removeAttribute(a);
4376
4376
  } catch {
4377
4377
  try {
4378
4378
  _.removeAttribute(a);
@@ -4381,7 +4381,7 @@ function Eo() {
4381
4381
  }
4382
4382
  if (a === "is")
4383
4383
  if (Gu || dt) try {
4384
- v(_);
4384
+ F(_);
4385
4385
  } catch {
4386
4386
  }
4387
4387
  else try {
@@ -4389,24 +4389,24 @@ function Eo() {
4389
4389
  } catch {
4390
4390
  }
4391
4391
  }, Ze = function(a) {
4392
- const _ = L(a);
4392
+ const _ = k(a);
4393
4393
  if (_)
4394
- for (let T = _.length - 1; T >= 0; --T) {
4395
- const m = _[T], H = m && m.name;
4396
- typeof H != "string" || he[Ie(H)] || Q(a, m, H);
4394
+ for (let m = _.length - 1; m >= 0; --m) {
4395
+ const T = _[m], H = T && T.name;
4396
+ typeof H != "string" || he[Ie(H)] || Q(a, T, H);
4397
4397
  }
4398
4398
  }, ou = function(a, _) {
4399
- let T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
4400
- const m = [a];
4401
- for (; m.length > 0; ) {
4402
- const H = m.pop();
4399
+ let m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
4400
+ const T = [a];
4401
+ for (; T.length > 0; ) {
4402
+ const H = T.pop();
4403
4403
  if (_(H) === !1) continue;
4404
- if (T && $(H) === we.element) {
4404
+ if (m && $(H) === we.element) {
4405
4405
  const ue = y(H);
4406
- hu(ue) && m.push(ue);
4406
+ hu(ue) && T.push(ue);
4407
4407
  }
4408
4408
  const W = D(H);
4409
- if (W) for (let ue = W.length - 1; ue >= 0; --ue) m.push(W[ue]);
4409
+ if (W) for (let ue = W.length - 1; ue >= 0; --ue) T.push(W[ue]);
4410
4410
  }
4411
4411
  }, $u = function(a) {
4412
4412
  ou(a, (_) => {
@@ -4414,88 +4414,88 @@ function Eo() {
4414
4414
  });
4415
4415
  }, ze = function(a) {
4416
4416
  const _ = [];
4417
- return ou(a, (T) => {
4418
- _.push(T);
4417
+ return ou(a, (m) => {
4418
+ _.push(m);
4419
4419
  }, !0), _;
4420
4420
  }, cu = function(a, _) {
4421
- const T = jn();
4422
- Mu(ze(a), (m) => {
4423
- $(m) === we.element && Jn(T, m);
4424
- }), Mu(_, (m) => {
4425
- $(m) === we.element && !Vt(T, m) && Ze(m);
4421
+ const m = jn();
4422
+ Mu(ze(a), (T) => {
4423
+ $(T) === we.element && Jn(m, T);
4424
+ }), Mu(_, (T) => {
4425
+ $(T) === we.element && !Vt(m, T) && Ze(T);
4426
4426
  });
4427
4427
  }, Bt = function(a, _) {
4428
- let T = !1;
4429
- return Mu(u.removed, (m) => {
4430
- m.element && (T = T || m.element === a, $u(m.element));
4431
- }), cu(a, _), T;
4428
+ let m = !1;
4429
+ return Mu(u.removed, (T) => {
4430
+ T.element && (m = m || T.element === a, $u(T.element));
4431
+ }), cu(a, _), m;
4432
4432
  }, En = 8, _n = function(a, _) {
4433
- const T = Ke;
4434
- let m = null;
4435
- const H = () => (m || (m = jn(), Mu(_, (W) => {
4436
- Jn(m, W);
4437
- })), m);
4433
+ const m = Ke;
4434
+ let T = null;
4435
+ const H = () => (T || (T = jn(), Mu(_, (W) => {
4436
+ Jn(T, W);
4437
+ })), T);
4438
4438
  for (let W = 0; ; W++) {
4439
4439
  const ue = ze(a), Pe = [a];
4440
4440
  let Nu = !1;
4441
4441
  if (Mu(ue, (qe) => {
4442
- $(qe) === we.documentFragment ? $t(Pe, qe) : !Nu && !Vt(T, qe) && (Nu = Vt(H(), qe));
4442
+ $(qe) === we.documentFragment ? $t(Pe, qe) : !Nu && !Vt(m, qe) && (Nu = Vt(H(), qe));
4443
4443
  }), !Nu) return;
4444
4444
  if (W >= En) throw wu("the tree kept changing during in-place sanitization; refusing to return it");
4445
4445
  Mu(Pe, (qe, je) => {
4446
- vn(qe, je > 0, a, H());
4446
+ Fn(qe, je > 0, a, H());
4447
4447
  });
4448
4448
  }
4449
- }, vn = function(a, _, T, m) {
4449
+ }, Fn = function(a, _, m, T) {
4450
4450
  const H = gt(a);
4451
4451
  let W;
4452
4452
  for (; W = H.nextNode(); )
4453
- !Vt(m, W) || Vt(Ke, W) || (_ && ee(X.uponSanitizeShadowNode, W, null), B(W, T), Gn(W, T), hu(W.content) && zt(W.content));
4453
+ !Vt(T, W) || Vt(Ke, W) || (_ && ee(X.uponSanitizeShadowNode, W, null), B(W, m), Gn(W, m), hu(W.content) && zt(W.content));
4454
4454
  }, Pn = function(a) {
4455
4455
  Ke && Jn(Ke, a);
4456
4456
  }, hn = function(a, _) {
4457
4457
  return yu ? a === "patchsrc" ? !0 : a === "for" && _ !== "label" && _ !== "output" : !1;
4458
4458
  }, Un = function(a) {
4459
4459
  yu && ou(a, (_) => {
4460
- const T = $(_);
4461
- if (T === we.processingInstruction || T === we.comment && $e(_i, _.data)) {
4460
+ const m = $(_);
4461
+ if (m === we.processingInstruction || m === we.comment && $e(_i, _.data)) {
4462
4462
  try {
4463
4463
  p(_);
4464
4464
  } catch {
4465
4465
  }
4466
4466
  return !1;
4467
4467
  }
4468
- if (T === we.element) {
4469
- const m = _, H = Ie(J(_));
4468
+ if (m === we.element) {
4469
+ const T = _, H = Ie(J(_));
4470
4470
  try {
4471
- m.hasAttribute && m.hasAttribute("patchsrc") && m.removeAttribute("patchsrc"), m.hasAttribute && m.hasAttribute("for") && hn("for", H) && m.removeAttribute("for");
4471
+ T.hasAttribute && T.hasAttribute("patchsrc") && T.removeAttribute("patchsrc"), T.hasAttribute && T.hasAttribute("for") && hn("for", H) && T.removeAttribute("for");
4472
4472
  } catch {
4473
4473
  }
4474
4474
  }
4475
4475
  return !0;
4476
4476
  });
4477
4477
  }, tt = function(a) {
4478
- let _ = null, T = null;
4478
+ let _ = null, m = null;
4479
4479
  if (ft) a = "<remove></remove>" + a;
4480
4480
  else {
4481
4481
  const W = ii(a, /^[\r\n\t ]+/);
4482
- T = W && W[0];
4482
+ m = W && W[0];
4483
4483
  }
4484
4484
  Hu === "application/xhtml+xml" && de === fe && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
4485
- const m = ie ? We(a) : a;
4485
+ const T = ie ? We(a) : a;
4486
4486
  if (de === fe) try {
4487
- _ = new l().parseFromString(m, Hu);
4487
+ _ = new l().parseFromString(T, Hu);
4488
4488
  } catch {
4489
4489
  }
4490
4490
  if (!_ || !_.documentElement) {
4491
4491
  _ = Ee.createDocument(de, "template", null);
4492
4492
  try {
4493
- _.documentElement.innerHTML = ku ? Ne : m;
4493
+ _.documentElement.innerHTML = Lu ? Ne : T;
4494
4494
  } catch {
4495
4495
  }
4496
4496
  }
4497
4497
  const H = _.body || _.documentElement;
4498
- return a && T && H.insertBefore(t.createTextNode(T), H.childNodes[0] || null), de === fe ? Au.call(_, Lu ? "html" : "body")[0] : Lu ? _.documentElement : H;
4498
+ return a && m && H.insertBefore(t.createTextNode(m), H.childNodes[0] || null), de === fe ? Au.call(_, ku ? "html" : "body")[0] : ku ? _.documentElement : H;
4499
4499
  }, gt = function(a) {
4500
4500
  const _ = P ? P(a) : a.ownerDocument;
4501
4501
  return Ue.call(_ || a, a, s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION, null);
@@ -4503,92 +4503,92 @@ function Eo() {
4503
4503
  return a = Wt(a, C, " "), a = Wt(a, ce, " "), a = Wt(a, ye, " "), a;
4504
4504
  }, Gt = function(a) {
4505
4505
  var _;
4506
- Tt(a);
4507
- const T = (_ = a.querySelectorAll) === null || _ === void 0 ? void 0 : _.call(a, "template");
4508
- T && Mu(T, (m) => {
4509
- hu(m.content) && Gt(m.content);
4506
+ mt(a);
4507
+ const m = (_ = a.querySelectorAll) === null || _ === void 0 ? void 0 : _.call(a, "template");
4508
+ m && Mu(m, (T) => {
4509
+ hu(T.content) && Gt(T.content);
4510
4510
  });
4511
- }, Tt = function(a) {
4511
+ }, mt = function(a) {
4512
4512
  a.normalize();
4513
- const _ = P ? P(a) : a.ownerDocument, T = Ue.call(_ || a, a, s.SHOW_TEXT | s.SHOW_COMMENT | s.SHOW_CDATA_SECTION | s.SHOW_PROCESSING_INSTRUCTION, null);
4514
- let m = T.nextNode();
4515
- for (; m; )
4516
- m.data = Xe(m.data), m = T.nextNode();
4513
+ const _ = P ? P(a) : a.ownerDocument, m = Ue.call(_ || a, a, s.SHOW_TEXT | s.SHOW_COMMENT | s.SHOW_CDATA_SECTION | s.SHOW_PROCESSING_INSTRUCTION, null);
4514
+ let T = m.nextNode();
4515
+ for (; T; )
4516
+ T.data = Xe(T.data), T = m.nextNode();
4517
4517
  }, V = function(a) {
4518
4518
  const _ = I ? I(a) : null;
4519
- return typeof _ != "string" || Ie(_) !== "form" ? !1 : typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || a.attributes !== L(a) || typeof a.removeAttribute != "function" || typeof a.removeAttributeNode != "function" || typeof a.getAttributeNode != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function" || a.nodeType !== k(a) || a.childNodes !== D(a);
4519
+ return typeof _ != "string" || Ie(_) !== "form" ? !1 : typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || a.attributes !== k(a) || typeof a.removeAttribute != "function" || typeof a.removeAttributeNode != "function" || typeof a.getAttributeNode != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function" || a.nodeType !== L(a) || a.childNodes !== D(a);
4520
4520
  }, hu = function(a) {
4521
- if (!k || typeof a != "object" || a === null) return !1;
4521
+ if (!L || typeof a != "object" || a === null) return !1;
4522
4522
  try {
4523
- return k(a) === we.documentFragment;
4523
+ return L(a) === we.documentFragment;
4524
4524
  } catch {
4525
4525
  return !1;
4526
4526
  }
4527
4527
  }, Oe = function(a) {
4528
- if (!k || typeof a != "object" || a === null) return !1;
4528
+ if (!L || typeof a != "object" || a === null) return !1;
4529
4529
  try {
4530
- return typeof k(a) == "number";
4530
+ return typeof L(a) == "number";
4531
4531
  } catch {
4532
4532
  return !1;
4533
4533
  }
4534
4534
  };
4535
4535
  function ee(N, a, _) {
4536
- N.length !== 0 && Mu(N, (T) => {
4537
- T.call(u, a, _, zu);
4536
+ N.length !== 0 && Mu(N, (m) => {
4537
+ m.call(u, a, _, zu);
4538
4538
  });
4539
4539
  }
4540
- const mt = function(a, _) {
4541
- return !!(yu && a.hasChildNodes() && !Oe(a.firstElementChild) && $e(rr, a.textContent) && $e(rr, a.innerHTML) || yu && V0[_] && $(a) === we.element && Le(a) === fe && (Oe(a.firstElementChild) || typeof a.textContent == "string" && $e(rr, a.textContent)) || a.nodeType === we.processingInstruction || yu && a.nodeType === we.comment && $e(_i, a.data));
4540
+ const Tt = function(a, _) {
4541
+ return !!(yu && a.hasChildNodes() && !Oe(a.firstElementChild) && $e(rr, a.textContent) && $e(rr, a.innerHTML) || yu && V0[_] && $(a) === we.element && ke(a) === fe && (Oe(a.firstElementChild) || typeof a.textContent == "string" && $e(rr, a.textContent)) || a.nodeType === we.processingInstruction || yu && a.nodeType === we.comment && $e(_i, a.data));
4542
4542
  }, su = function(a, _) {
4543
4543
  if (a instanceof RegExp) return $e(a, _);
4544
4544
  if (a instanceof Function) {
4545
- for (var T = arguments.length, m = new Array(T > 2 ? T - 2 : 0), H = 2; H < T; H++) m[H - 2] = arguments[H];
4546
- return !!a(_, ...m);
4545
+ for (var m = arguments.length, T = new Array(m > 2 ? m - 2 : 0), H = 2; H < m; H++) T[H - 2] = arguments[H];
4546
+ return !!a(_, ...T);
4547
4547
  }
4548
4548
  return !1;
4549
- }, Ht = function(a, _, T) {
4550
- if (!Qu[_] && ve(_) && su(uu.tagNameCheck, _)) return !1;
4551
- if (Ft && !A[_] && !A[it(_)]) {
4552
- const m = w(a), H = D(a);
4553
- if (H && m) {
4549
+ }, Ht = function(a, _, m) {
4550
+ if (!Qu[_] && Fe(_) && su(uu.tagNameCheck, _)) return !1;
4551
+ if (vt && !A[_] && !A[it(_)]) {
4552
+ const T = w(a), H = D(a);
4553
+ if (H && T) {
4554
4554
  const W = H.length;
4555
4555
  for (let ue = W - 1; ue >= 0; --ue) {
4556
- const Pe = a === T ? b(H[ue], !0) : H[ue];
4557
- m.insertBefore(Pe, R(a));
4556
+ const Pe = a === m ? b(H[ue], !0) : H[ue];
4557
+ T.insertBefore(Pe, R(a));
4558
4558
  }
4559
4559
  }
4560
4560
  }
4561
- return v(a), !0;
4562
- }, Nt = function(a, _, T, m) {
4563
- return a.length === 0 ? _ : _ === T || _ === m ? tu(_) : _;
4561
+ return F(a), !0;
4562
+ }, Nt = function(a, _, m, T) {
4563
+ return a.length === 0 ? _ : _ === m || _ === T ? tu(_) : _;
4564
4564
  }, O = function(a, _) {
4565
4565
  return a === _ || w(a) !== null ? !1 : (ht && $u(a), !0);
4566
4566
  }, B = function(a, _) {
4567
4567
  if (Pn(a), ee(X.beforeSanitizeElements, a, null), O(a, _)) return !0;
4568
4568
  if (V(a))
4569
- return v(a), !0;
4570
- const T = Ie(J(a));
4569
+ return F(a), !0;
4570
+ const m = Ie(J(a));
4571
4571
  if (_e = Nt(X.uponSanitizeElement, _e, yt, at), ee(X.uponSanitizeElement, a, {
4572
- tagName: T,
4572
+ tagName: m,
4573
4573
  allowedTags: _e
4574
4574
  }), O(a, _)) return !0;
4575
- if (mt(a, T))
4576
- return v(a), !0;
4577
- if (Qu[T] || !(_u.tagCheck instanceof Function && _u.tagCheck(T)) && !_e[T]) {
4578
- const m = Ht(a, T, _);
4579
- return m === !1 && (ee(X.afterSanitizeElements, a, null), O(a, _)) ? !0 : m;
4580
- }
4581
- if ($(a) === we.element && !S(a) || (T === "noscript" || T === "noembed" || T === "noframes") && $e($0, a.innerHTML))
4582
- return v(a), !0;
4575
+ if (Tt(a, m))
4576
+ return F(a), !0;
4577
+ if (Qu[m] || !(_u.tagCheck instanceof Function && _u.tagCheck(m)) && !_e[m]) {
4578
+ const T = Ht(a, m, _);
4579
+ return T === !1 && (ee(X.afterSanitizeElements, a, null), O(a, _)) ? !0 : T;
4580
+ }
4581
+ if ($(a) === we.element && !S(a) || (m === "noscript" || m === "noembed" || m === "noframes") && $e($0, a.innerHTML))
4582
+ return F(a), !0;
4583
4583
  if (iu && a.nodeType === we.text) {
4584
- const m = Xe(a.textContent);
4585
- a.textContent !== m && ($t(u.removed, { element: a.cloneNode() }), a.textContent = m);
4584
+ const T = Xe(a.textContent);
4585
+ a.textContent !== T && ($t(u.removed, { element: a.cloneNode() }), a.textContent = T);
4586
4586
  }
4587
4587
  return ee(X.afterSanitizeElements, a, null), O(a, _);
4588
- }, q = function(a, _, T) {
4589
- if (sn[_] || hn(_, a) || _t && (_ === "id" || _ === "name") && (T in t || T in mu)) return !1;
4590
- const m = he[_] || _u.attributeCheck instanceof Function && _u.attributeCheck(_, a);
4591
- return st && $e(Fe, _) || Tu && $e(ke, _) ? !0 : m ? Se[_] || $e(Uu, Wt(T, Ju, "")) || (_ === "src" || _ === "xlink:href" || _ === "href") && a !== "script" && oi(T, "data:") === 0 && Y[a] || Du && !$e(Eu, Wt(T, Ju, "")) ? !0 : !T : ve(a) && su(uu.tagNameCheck, a) && su(uu.attributeNameCheck, _, a) || _ === "is" && uu.allowCustomizedBuiltInElements && su(uu.tagNameCheck, T);
4588
+ }, q = function(a, _, m) {
4589
+ if (sn[_] || hn(_, a) || _t && (_ === "id" || _ === "name") && (m in t || m in Tu)) return !1;
4590
+ const T = he[_] || _u.attributeCheck instanceof Function && _u.attributeCheck(_, a);
4591
+ return st && $e(ve, _) || mu && $e(Le, _) ? !0 : T ? Se[_] || $e(Uu, Wt(m, Ju, "")) || (_ === "src" || _ === "xlink:href" || _ === "href") && a !== "script" && oi(m, "data:") === 0 && Y[a] || Du && !$e(Eu, Wt(m, Ju, "")) ? !0 : !m : Fe(a) && su(uu.tagNameCheck, a) && su(uu.attributeNameCheck, _, a) || _ === "is" && uu.allowCustomizedBuiltInElements && su(uu.tagNameCheck, m);
4592
4592
  }, se = re({}, [
4593
4593
  "annotation-xml",
4594
4594
  "color-profile",
@@ -4598,19 +4598,19 @@ function Eo() {
4598
4598
  "font-face-src",
4599
4599
  "font-face-uri",
4600
4600
  "missing-glyph"
4601
- ]), ve = function(a) {
4601
+ ]), Fe = function(a) {
4602
4602
  return !se[it(a)] && $e(gu, a);
4603
- }, bu = function(a, _, T, m) {
4604
- if (ie && typeof E == "object" && typeof E.getAttributeType == "function" && !T) switch (E.getAttributeType(a, _)) {
4603
+ }, bu = function(a, _, m, T) {
4604
+ if (ie && typeof E == "object" && typeof E.getAttributeType == "function" && !m) switch (E.getAttributeType(a, _)) {
4605
4605
  case "TrustedHTML":
4606
- return We(m);
4606
+ return We(T);
4607
4607
  case "TrustedScriptURL":
4608
- return K(m);
4608
+ return K(T);
4609
4609
  }
4610
- return m;
4611
- }, Bn = function(a, _, T, m) {
4610
+ return T;
4611
+ }, Bn = function(a, _, m, T) {
4612
4612
  try {
4613
- return T ? a.setAttributeNS(T, _, m) : a.setAttribute(_, m), V(a) ? (v(a), !1) : !0;
4613
+ return m ? a.setAttributeNS(m, _, T) : a.setAttribute(_, T), V(a) ? (F(a), !1) : !0;
4614
4614
  } catch {
4615
4615
  return be(_, a), !1;
4616
4616
  }
@@ -4618,27 +4618,27 @@ function Eo() {
4618
4618
  return yu && $e(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, _) ? !0 : it(a) === "attributename" && ii(_, "href") !== null;
4619
4619
  }, Gn = function(a, _) {
4620
4620
  if (ee(X.beforeSanitizeAttributes, a, null), O(a, _)) return;
4621
- const T = a.attributes;
4622
- if (!T || V(a)) return;
4623
- he = Nt(X.uponSanitizeAttribute, he, Lt, lt);
4624
- const m = {
4621
+ const m = a.attributes;
4622
+ if (!m || V(a)) return;
4623
+ he = Nt(X.uponSanitizeAttribute, he, kt, lt);
4624
+ const T = {
4625
4625
  attrName: "",
4626
4626
  attrValue: "",
4627
4627
  keepAttr: !0,
4628
4628
  allowedAttributes: he,
4629
4629
  forceKeepAttr: void 0
4630
4630
  };
4631
- let H = T.length;
4631
+ let H = m.length;
4632
4632
  const W = Ie(a.nodeName);
4633
4633
  for (; H--; ) {
4634
- const ue = T[H], Pe = ue.name, Nu = ue.namespaceURI, qe = ue.value, je = Ie(Pe), Rt = qe;
4634
+ const ue = m[H], Pe = ue.name, Nu = ue.namespaceURI, qe = ue.value, je = Ie(Pe), Rt = qe;
4635
4635
  let Je = Pe === "value" ? Rt : C0(Rt), Or = !1;
4636
- if (m.attrName = je, m.attrValue = Je, m.keepAttr = !0, m.forceKeepAttr = void 0, ee(X.uponSanitizeAttribute, a, m), Je = m.attrValue, Mt && (je === "id" || je === "name") && oi(Je, wt) !== 0 && (be(Pe, a, ue), Je = wt + Je, Or = !0), bn(Pe, Je)) {
4636
+ if (T.attrName = je, T.attrValue = Je, T.keepAttr = !0, T.forceKeepAttr = void 0, ee(X.uponSanitizeAttribute, a, T), Je = T.attrValue, Mt && (je === "id" || je === "name") && oi(Je, wt) !== 0 && (be(Pe, a, ue), Je = wt + Je, Or = !0), bn(Pe, Je)) {
4637
4637
  be(Pe, a, ue);
4638
4638
  continue;
4639
4639
  }
4640
- if (!m.forceKeepAttr) {
4641
- if (!m.keepAttr) {
4640
+ if (!T.forceKeepAttr) {
4641
+ if (!T.keepAttr) {
4642
4642
  be(Pe, a, ue);
4643
4643
  continue;
4644
4644
  }
@@ -4656,33 +4656,33 @@ function Eo() {
4656
4656
  ee(X.afterSanitizeAttributes, a, null), O(a, _);
4657
4657
  }, zt = function(a) {
4658
4658
  let _ = null;
4659
- const T = gt(a);
4660
- for (ee(X.beforeSanitizeShadowDOM, a, null); _ = T.nextNode(); )
4659
+ const m = gt(a);
4660
+ for (ee(X.beforeSanitizeShadowDOM, a, null); _ = m.nextNode(); )
4661
4661
  if (ee(X.uponSanitizeShadowNode, _, null), B(_, a), Gn(_, a), hu(_.content) && zt(_.content), $(_) === we.element) {
4662
- const m = y(_);
4663
- hu(m) && (Hn(m), zt(m));
4662
+ const T = y(_);
4663
+ hu(T) && (Hn(T), zt(T));
4664
4664
  }
4665
- iu && Tt(a), ee(X.afterSanitizeShadowDOM, a, null);
4665
+ iu && mt(a), ee(X.afterSanitizeShadowDOM, a, null);
4666
4666
  }, Hn = function(a) {
4667
4667
  const _ = [{
4668
4668
  node: a,
4669
4669
  shadow: null
4670
4670
  }];
4671
4671
  for (; _.length > 0; ) {
4672
- const T = _.pop();
4673
- if (T.shadow) {
4674
- zt(T.shadow);
4672
+ const m = _.pop();
4673
+ if (m.shadow) {
4674
+ zt(m.shadow);
4675
4675
  continue;
4676
4676
  }
4677
- const m = T.node, H = $(m) === we.element, W = D(m);
4677
+ const T = m.node, H = $(T) === we.element, W = D(T);
4678
4678
  if (W) for (let ue = W.length - 1; ue >= 0; --ue) _.push({
4679
4679
  node: W[ue],
4680
4680
  shadow: null
4681
4681
  });
4682
4682
  if (H) {
4683
- const ue = I ? I(m) : null;
4683
+ const ue = I ? I(T) : null;
4684
4684
  if (typeof ue == "string" && Ie(ue) === "template") {
4685
- const Pe = m.content;
4685
+ const Pe = T.content;
4686
4686
  hu(Pe) && _.push({
4687
4687
  node: Pe,
4688
4688
  shadow: null
@@ -4690,7 +4690,7 @@ function Eo() {
4690
4690
  }
4691
4691
  }
4692
4692
  if (H) {
4693
- const ue = y(m);
4693
+ const ue = y(T);
4694
4694
  hu(ue) && _.push({
4695
4695
  node: null,
4696
4696
  shadow: ue
@@ -4702,11 +4702,11 @@ function Eo() {
4702
4702
  }
4703
4703
  };
4704
4704
  return u.sanitize = function(N) {
4705
- let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null, T = null, m = null, H = null;
4706
- if (ku = !N, ku && (N = "<!-->"), typeof N != "string" && !Oe(N) && (N = D0(N), typeof N != "string"))
4705
+ let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null, m = null, T = null, H = null;
4706
+ if (Lu = !N, Lu && (N = "<!-->"), typeof N != "string" && !Oe(N) && (N = D0(N), typeof N != "string"))
4707
4707
  throw wu("dirty is not a string, aborting");
4708
4708
  if (!u.isSupported) return N;
4709
- kt ? (_e = at, he = lt) : pt(a), (X.uponSanitizeElement.length > 0 || X.uponSanitizeAttribute.length > 0) && (_e = tu(_e)), X.uponSanitizeAttribute.length > 0 && (he = tu(he)), u.removed = [];
4709
+ Lt ? (_e = at, he = lt) : pt(a), (X.uponSanitizeElement.length > 0 || X.uponSanitizeAttribute.length > 0) && (_e = tu(_e)), X.uponSanitizeAttribute.length > 0 && (he = tu(he)), u.removed = [];
4710
4710
  const W = ht && typeof N != "string" && Oe(N);
4711
4711
  let ue = [];
4712
4712
  const Pe = Ke;
@@ -4722,18 +4722,18 @@ function Eo() {
4722
4722
  throw le(N), wu("root node is clobbered and cannot be sanitized in-place");
4723
4723
  ue = ze(N), Ke = jn();
4724
4724
  } else if (Oe(N))
4725
- _ = tt("<!---->"), T = _.ownerDocument.importNode(N, !0), T.nodeType === we.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? _ = T : _.appendChild(T), Hn(_);
4725
+ _ = tt("<!---->"), m = _.ownerDocument.importNode(N, !0), m.nodeType === we.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? _ = m : _.appendChild(m), Hn(_);
4726
4726
  else {
4727
- if (!Gu && !iu && !Lu && N.indexOf("<") === -1) return ie && Et ? We(N) : N;
4727
+ if (!Gu && !iu && !ku && N.indexOf("<") === -1) return ie && Et ? We(N) : N;
4728
4728
  if (_ = tt(N), !_) return Gu ? null : Et ? Ne : "";
4729
4729
  }
4730
- _ && ft && v(_.firstChild);
4730
+ _ && ft && F(_.firstChild);
4731
4731
  const Nu = W ? N : _;
4732
4732
  try {
4733
4733
  W && Hn(N);
4734
4734
  const je = gt(Nu);
4735
- for (; m = je.nextNode(); )
4736
- B(m, Nu), Gn(m, Nu), hu(m.content) && zt(m.content);
4735
+ for (; T = je.nextNode(); )
4736
+ B(T, Nu), Gn(T, Nu), hu(T.content) && zt(T.content);
4737
4737
  W && _n(N, ue);
4738
4738
  } catch (je) {
4739
4739
  throw W && (le(N), Bt(N, ue)), je;
@@ -4746,22 +4746,22 @@ function Eo() {
4746
4746
  }
4747
4747
  if (Gu) {
4748
4748
  if (iu && Gt(_), dt)
4749
- for (H = me.call(_.ownerDocument); _.firstChild; ) H.appendChild(_.firstChild);
4749
+ for (H = Te.call(_.ownerDocument); _.firstChild; ) H.appendChild(_.firstChild);
4750
4750
  else H = _;
4751
4751
  return (he.shadowroot || he.shadowrootmode) && (H = Pu.call(n, H, !0)), H;
4752
4752
  }
4753
- let qe = Lu ? _.outerHTML : _.innerHTML;
4754
- return Lu && _e["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && $e(H0, _.ownerDocument.doctype.name) && (qe = "<!DOCTYPE " + _.ownerDocument.doctype.name + `>
4753
+ let qe = ku ? _.outerHTML : _.innerHTML;
4754
+ return ku && _e["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && $e(H0, _.ownerDocument.doctype.name) && (qe = "<!DOCTYPE " + _.ownerDocument.doctype.name + `>
4755
4755
  ` + qe), iu && (qe = Xe(qe)), ie && Et ? We(qe) : qe;
4756
4756
  }, u.setConfig = function() {
4757
4757
  let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4758
- pt(N), kt = !0, at = _e, lt = he;
4758
+ pt(N), Lt = !0, at = _e, lt = he;
4759
4759
  }, u.clearConfig = function() {
4760
- zu = null, kt = !1, at = null, lt = null, ie = M, Ne = "";
4760
+ zu = null, Lt = !1, at = null, lt = null, ie = M, Ne = "";
4761
4761
  }, u.isValidAttribute = function(N, a, _) {
4762
4762
  zu || pt({});
4763
- const T = Ie(N), m = Ie(a);
4764
- return typeof _ == "string" && (bn(a, _) || !Bu && $e(hi, _)) ? !1 : q(T, m, _);
4763
+ const m = Ie(N), T = Ie(a);
4764
+ return typeof _ == "string" && (bn(a, _) || !Bu && $e(hi, _)) ? !1 : q(m, T, _);
4765
4765
  }, u.addHook = function(N, a) {
4766
4766
  typeof a == "function" && Qe(X, N) && $t(X[N], a);
4767
4767
  }, u.removeHook = function(N, a) {
@@ -4999,11 +4999,11 @@ function K0() {
4999
4999
  function y(f) {
5000
5000
  return new RegExp(f.toString() + "|").exec("").length - 1;
5001
5001
  }
5002
- function L(f, A) {
5002
+ function k(f, A) {
5003
5003
  const x = f && f.exec(A);
5004
5004
  return x && x.index === 0;
5005
5005
  }
5006
- const k = new RegExp(w(
5006
+ const L = new RegExp(w(
5007
5007
  /\[(?:[^\\\]]|\\.)*\]/,
5008
5008
  // a character class, inside which ( and \ lose their meaning
5009
5009
  /\(\?<(?![=!])[^>]+>/,
@@ -5024,17 +5024,17 @@ function K0() {
5024
5024
  const Re = x;
5025
5025
  let Se = d(Y), U = "";
5026
5026
  for (; Se.length > 0; ) {
5027
- const F = k.exec(Se);
5028
- if (!F) {
5027
+ const v = L.exec(Se);
5028
+ if (!v) {
5029
5029
  U += Se;
5030
5030
  break;
5031
5031
  }
5032
- U += Se.substring(0, F.index), Se = Se.substring(F.index + F[0].length), F[0][0] === "\\" && F[1] ? U += "\\" + String(Number(F[1]) + Re) : (U += F[0], (F[0] === "(" || /^\(\?[<']/.test(F[0])) && x++);
5032
+ U += Se.substring(0, v.index), Se = Se.substring(v.index + v[0].length), v[0][0] === "\\" && v[1] ? U += "\\" + String(Number(v[1]) + Re) : (U += v[0], (v[0] === "(" || /^\(\?[<']/.test(v[0])) && x++);
5033
5033
  }
5034
5034
  return U;
5035
5035
  }).map((Y) => `(${Y})`).join(A);
5036
5036
  }
5037
- const P = /\b\B/, $ = "[a-zA-Z]\\w*", J = "[a-zA-Z_]\\w*", oe = "\\b\\d+(\\.\\d+)?", Le = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", ie = "\\b(0b[01]+)", Ne = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", M = (f = {}) => {
5037
+ const P = /\b\B/, $ = "[a-zA-Z]\\w*", J = "[a-zA-Z_]\\w*", oe = "\\b\\d+(\\.\\d+)?", ke = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", ie = "\\b(0b[01]+)", Ne = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", M = (f = {}) => {
5038
5038
  const A = /^#![ ]*\//;
5039
5039
  return f.binary && (f.begin = R(
5040
5040
  A,
@@ -5134,13 +5134,13 @@ function K0() {
5134
5134
  // look for 3 words in a row
5135
5135
  }
5136
5136
  ), Y;
5137
- }, ne = K("//", "$"), Te = K("/\\*", "\\*/"), Ee = K("#", "$"), Ue = {
5137
+ }, ne = K("//", "$"), me = K("/\\*", "\\*/"), Ee = K("#", "$"), Ue = {
5138
5138
  scope: "number",
5139
5139
  begin: oe,
5140
5140
  relevance: 0
5141
- }, me = {
5141
+ }, Te = {
5142
5142
  scope: "number",
5143
- begin: Le,
5143
+ begin: ke,
5144
5144
  relevance: 0
5145
5145
  }, Au = {
5146
5146
  scope: "number",
@@ -5172,17 +5172,17 @@ function K0() {
5172
5172
  begin: "\\.\\s*" + J,
5173
5173
  relevance: 0
5174
5174
  };
5175
- var Fe = /* @__PURE__ */ Object.freeze({
5175
+ var ve = /* @__PURE__ */ Object.freeze({
5176
5176
  __proto__: null,
5177
5177
  APOS_STRING_MODE: te,
5178
5178
  BACKSLASH_ESCAPE: j,
5179
5179
  BINARY_NUMBER_MODE: Au,
5180
5180
  BINARY_NUMBER_RE: ie,
5181
5181
  COMMENT: K,
5182
- C_BLOCK_COMMENT_MODE: Te,
5182
+ C_BLOCK_COMMENT_MODE: me,
5183
5183
  C_LINE_COMMENT_MODE: ne,
5184
- C_NUMBER_MODE: me,
5185
- C_NUMBER_RE: Le,
5184
+ C_NUMBER_MODE: Te,
5185
+ C_NUMBER_RE: ke,
5186
5186
  END_SAME_AS_BEGIN: function(f) {
5187
5187
  return Object.assign(
5188
5188
  f,
@@ -5213,14 +5213,14 @@ function K0() {
5213
5213
  UNDERSCORE_IDENT_RE: J,
5214
5214
  UNDERSCORE_TITLE_MODE: C
5215
5215
  });
5216
- function ke(f, A) {
5216
+ function Le(f, A) {
5217
5217
  f.input[f.index - 1] === "." && A.ignoreMatch();
5218
5218
  }
5219
5219
  function Eu(f, A) {
5220
5220
  f.className !== void 0 && (f.scope = f.className, delete f.className);
5221
5221
  }
5222
5222
  function Ju(f, A) {
5223
- A && f.beginKeywords && (f.begin = "\\b(" + f.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", f.__beforeBegin = ke, f.keywords = f.keywords || f.beginKeywords, delete f.beginKeywords, f.relevance === void 0 && (f.relevance = 0));
5223
+ A && f.beginKeywords && (f.begin = "\\b(" + f.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", f.__beforeBegin = Le, f.keywords = f.keywords || f.beginKeywords, delete f.beginKeywords, f.relevance === void 0 && (f.relevance = 0));
5224
5224
  }
5225
5225
  function gu(f, A) {
5226
5226
  Array.isArray(f.illegal) && (f.illegal = w(...f.illegal));
@@ -5261,8 +5261,8 @@ function K0() {
5261
5261
  // common variable name
5262
5262
  "value"
5263
5263
  // common variable name
5264
- ], Lt = "keyword";
5265
- function uu(f, A, x = Lt) {
5264
+ ], kt = "keyword";
5265
+ function uu(f, A, x = kt) {
5266
5266
  const Y = /* @__PURE__ */ Object.create(null);
5267
5267
  return typeof f == "string" ? Re(x, f.split(" ")) : Array.isArray(f) ? Re(x, f) : Object.keys(f).forEach(function(Se) {
5268
5268
  Object.assign(
@@ -5271,8 +5271,8 @@ function K0() {
5271
5271
  );
5272
5272
  }), Y;
5273
5273
  function Re(Se, U) {
5274
- A && (U = U.map((F) => F.toLowerCase())), U.forEach(function(F) {
5275
- const z = F.split("|");
5274
+ A && (U = U.map((v) => v.toLowerCase())), U.forEach(function(v) {
5275
+ const z = v.split("|");
5276
5276
  Y[z[0]] = [Se, Qu(z[0], z[1])];
5277
5277
  });
5278
5278
  }
@@ -5283,7 +5283,7 @@ function K0() {
5283
5283
  function sn(f) {
5284
5284
  return he.includes(f.toLowerCase());
5285
5285
  }
5286
- const _u = {}, Tu = (f) => {
5286
+ const _u = {}, mu = (f) => {
5287
5287
  console.error(f);
5288
5288
  }, st = (f, ...A) => {
5289
5289
  console.log(`WARN: ${f}`, ...A);
@@ -5293,39 +5293,39 @@ function K0() {
5293
5293
  function iu(f, A, { key: x }) {
5294
5294
  let Y = 0;
5295
5295
  const Re = f[x], Se = {}, U = {};
5296
- for (let F = 1; F <= A.length; F++)
5297
- U[F + Y] = Re[F], Se[F + Y] = !0, Y += y(A[F - 1]);
5296
+ for (let v = 1; v <= A.length; v++)
5297
+ U[v + Y] = Re[v], Se[v + Y] = !0, Y += y(A[v - 1]);
5298
5298
  f[x] = U, f[x]._emit = Se, f[x]._multi = !0;
5299
5299
  }
5300
5300
  function yu(f) {
5301
5301
  if (Array.isArray(f.begin)) {
5302
5302
  if (f.skip || f.excludeBegin || f.returnBegin)
5303
- throw Tu("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Bu;
5303
+ throw mu("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Bu;
5304
5304
  if (typeof f.beginScope != "object" || f.beginScope === null)
5305
- throw Tu("beginScope must be object"), Bu;
5305
+ throw mu("beginScope must be object"), Bu;
5306
5306
  iu(f, f.begin, { key: "beginScope" }), f.begin = I(f.begin, { joinWith: "" });
5307
5307
  }
5308
5308
  }
5309
- function Lu(f) {
5309
+ function ku(f) {
5310
5310
  if (Array.isArray(f.end)) {
5311
5311
  if (f.skip || f.excludeEnd || f.returnEnd)
5312
- throw Tu("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Bu;
5312
+ throw mu("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Bu;
5313
5313
  if (typeof f.endScope != "object" || f.endScope === null)
5314
- throw Tu("endScope must be object"), Bu;
5314
+ throw mu("endScope must be object"), Bu;
5315
5315
  iu(f, f.end, { key: "endScope" }), f.end = I(f.end, { joinWith: "" });
5316
5316
  }
5317
5317
  }
5318
- function kt(f) {
5318
+ function Lt(f) {
5319
5319
  f.scope && typeof f.scope == "object" && f.scope !== null && (f.beginScope = f.scope, delete f.scope);
5320
5320
  }
5321
5321
  function at(f) {
5322
- kt(f), typeof f.beginScope == "string" && (f.beginScope = { _wrap: f.beginScope }), typeof f.endScope == "string" && (f.endScope = { _wrap: f.endScope }), yu(f), Lu(f);
5322
+ Lt(f), typeof f.beginScope == "string" && (f.beginScope = { _wrap: f.beginScope }), typeof f.endScope == "string" && (f.endScope = { _wrap: f.endScope }), yu(f), ku(f);
5323
5323
  }
5324
5324
  function lt(f) {
5325
- function A(U, F) {
5325
+ function A(U, v) {
5326
5326
  return new RegExp(
5327
5327
  d(U),
5328
- "m" + (f.case_insensitive ? "i" : "") + (f.unicodeRegex ? "u" : "") + (F ? "g" : "")
5328
+ "m" + (f.case_insensitive ? "i" : "") + (f.unicodeRegex ? "u" : "") + (v ? "g" : "")
5329
5329
  );
5330
5330
  }
5331
5331
  class x {
@@ -5333,21 +5333,21 @@ function K0() {
5333
5333
  this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
5334
5334
  }
5335
5335
  // @ts-ignore
5336
- addRule(F, z) {
5337
- z.position = this.position++, this.matchIndexes[this.matchAt] = z, this.regexes.push([z, F]), this.matchAt += y(F) + 1;
5336
+ addRule(v, z) {
5337
+ z.position = this.position++, this.matchIndexes[this.matchAt] = z, this.regexes.push([z, v]), this.matchAt += y(v) + 1;
5338
5338
  }
5339
5339
  compile() {
5340
5340
  this.regexes.length === 0 && (this.exec = () => null);
5341
- const F = this.regexes.map((z) => z[1]);
5342
- this.matcherRe = A(I(F, { joinWith: "|" }), !0), this.lastIndex = 0;
5341
+ const v = this.regexes.map((z) => z[1]);
5342
+ this.matcherRe = A(I(v, { joinWith: "|" }), !0), this.lastIndex = 0;
5343
5343
  }
5344
5344
  /** @param {string} s */
5345
- exec(F) {
5345
+ exec(v) {
5346
5346
  this.matcherRe.lastIndex = this.lastIndex;
5347
- const z = this.matcherRe.exec(F);
5347
+ const z = this.matcherRe.exec(v);
5348
5348
  if (!z)
5349
5349
  return null;
5350
- const fe = z.findIndex((ku, et) => et > 0 && ku !== void 0), de = this.matchIndexes[fe];
5350
+ const fe = z.findIndex((Lu, et) => et > 0 && Lu !== void 0), de = this.matchIndexes[fe];
5351
5351
  return z.splice(0, fe), Object.assign(z, de);
5352
5352
  }
5353
5353
  }
@@ -5356,10 +5356,10 @@ function K0() {
5356
5356
  this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
5357
5357
  }
5358
5358
  // @ts-ignore
5359
- getMatcher(F) {
5360
- if (this.multiRegexes[F]) return this.multiRegexes[F];
5359
+ getMatcher(v) {
5360
+ if (this.multiRegexes[v]) return this.multiRegexes[v];
5361
5361
  const z = new x();
5362
- return this.rules.slice(F).forEach(([fe, de]) => z.addRule(fe, de)), z.compile(), this.multiRegexes[F] = z, z;
5362
+ return this.rules.slice(v).forEach(([fe, de]) => z.addRule(fe, de)), z.compile(), this.multiRegexes[v] = z, z;
5363
5363
  }
5364
5364
  resumingScanAtSamePosition() {
5365
5365
  return this.regexIndex !== 0;
@@ -5368,26 +5368,26 @@ function K0() {
5368
5368
  this.regexIndex = 0;
5369
5369
  }
5370
5370
  // @ts-ignore
5371
- addRule(F, z) {
5372
- this.rules.push([F, z]), z.type === "begin" && this.count++;
5371
+ addRule(v, z) {
5372
+ this.rules.push([v, z]), z.type === "begin" && this.count++;
5373
5373
  }
5374
5374
  /** @param {string} s */
5375
- exec(F) {
5375
+ exec(v) {
5376
5376
  const z = this.getMatcher(this.regexIndex);
5377
5377
  z.lastIndex = this.lastIndex;
5378
- let fe = z.exec(F);
5378
+ let fe = z.exec(v);
5379
5379
  if (this.resumingScanAtSamePosition() && !(fe && fe.index === this.lastIndex)) {
5380
5380
  const de = this.getMatcher(0);
5381
- de.lastIndex = this.lastIndex + 1, fe = de.exec(F);
5381
+ de.lastIndex = this.lastIndex + 1, fe = de.exec(v);
5382
5382
  }
5383
5383
  return fe && (this.regexIndex += fe.position + 1, this.regexIndex === this.count && this.considerAll()), fe;
5384
5384
  }
5385
5385
  }
5386
5386
  function Re(U) {
5387
- const F = new Y();
5388
- return U.contains.forEach((z) => F.addRule(z.begin, { rule: z, type: "begin" })), U.terminatorEnd && F.addRule(U.terminatorEnd, { type: "end" }), U.illegal && F.addRule(U.illegal, { type: "illegal" }), F;
5387
+ const v = new Y();
5388
+ return U.contains.forEach((z) => v.addRule(z.begin, { rule: z, type: "begin" })), U.terminatorEnd && v.addRule(U.terminatorEnd, { type: "end" }), U.illegal && v.addRule(U.illegal, { type: "illegal" }), v;
5389
5389
  }
5390
- function Se(U, F) {
5390
+ function Se(U, v) {
5391
5391
  const z = (
5392
5392
  /** @type CompiledMode */
5393
5393
  U
@@ -5400,16 +5400,16 @@ function K0() {
5400
5400
  Uu,
5401
5401
  at,
5402
5402
  yt
5403
- ].forEach((de) => de(U, F)), f.compilerExtensions.forEach((de) => de(U, F)), U.__beforeBegin = null, [
5403
+ ].forEach((de) => de(U, v)), f.compilerExtensions.forEach((de) => de(U, v)), U.__beforeBegin = null, [
5404
5404
  Ju,
5405
5405
  // do this later so compiler extensions that come earlier have access to the
5406
5406
  // raw array if they wanted to perhaps manipulate it, etc.
5407
5407
  gu,
5408
5408
  // default to 1 relevance if not specified
5409
5409
  _e
5410
- ].forEach((de) => de(U, F)), U.isCompiled = !0;
5410
+ ].forEach((de) => de(U, v)), U.isCompiled = !0;
5411
5411
  let fe = null;
5412
- return typeof U.keywords == "object" && U.keywords.$pattern && (U.keywords = Object.assign({}, U.keywords), fe = U.keywords.$pattern, delete U.keywords.$pattern), fe = fe || /\w+/, U.keywords && (U.keywords = uu(U.keywords, f.case_insensitive)), z.keywordPatternRe = A(fe, !0), F && (U.begin || (U.begin = /\B|\b/), z.beginRe = A(z.begin), !U.end && !U.endsWithParent && (U.end = /\B|\b/), U.end && (z.endRe = A(z.end)), z.terminatorEnd = d(z.end) || "", U.endsWithParent && F.terminatorEnd && (z.terminatorEnd += (U.end ? "|" : "") + F.terminatorEnd)), U.illegal && (z.illegalRe = A(
5412
+ return typeof U.keywords == "object" && U.keywords.$pattern && (U.keywords = Object.assign({}, U.keywords), fe = U.keywords.$pattern, delete U.keywords.$pattern), fe = fe || /\w+/, U.keywords && (U.keywords = uu(U.keywords, f.case_insensitive)), z.keywordPatternRe = A(fe, !0), v && (U.begin || (U.begin = /\B|\b/), z.beginRe = A(z.begin), !U.end && !U.endsWithParent && (U.end = /\B|\b/), U.end && (z.endRe = A(z.end)), z.terminatorEnd = d(z.end) || "", U.endsWithParent && v.terminatorEnd && (z.terminatorEnd += (U.end ? "|" : "") + v.terminatorEnd)), U.illegal && (z.illegalRe = A(
5413
5413
  /** @type {RegExp | string} */
5414
5414
  U.illegal
5415
5415
  )), U.contains || (U.contains = []), U.contains = [].concat(...U.contains.map(function(de) {
@@ -5420,7 +5420,7 @@ function K0() {
5420
5420
  de,
5421
5421
  z
5422
5422
  );
5423
- }), U.starts && Se(U.starts, F), z.matcher = Re(z), z;
5423
+ }), U.starts && Se(U.starts, v), z.matcher = Re(z), z;
5424
5424
  }
5425
5425
  if (f.compilerExtensions || (f.compilerExtensions = []), f.contains && f.contains.includes("self"))
5426
5426
  throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
@@ -5443,11 +5443,11 @@ function K0() {
5443
5443
  super(A), this.name = "HTMLInjectionError", this.html = x;
5444
5444
  }
5445
5445
  }
5446
- const _t = t, Mt = n, wt = Symbol("nomatch"), Ft = 7, ht = function(f) {
5446
+ const _t = t, Mt = n, wt = Symbol("nomatch"), vt = 7, ht = function(f) {
5447
5447
  const A = /* @__PURE__ */ Object.create(null), x = /* @__PURE__ */ Object.create(null), Y = [];
5448
5448
  let Re = !0;
5449
5449
  const Se = "Could not find the language '{}', did you forget to load/include a language module?", U = { disableAutodetect: !0, name: "Plain text", contains: [] };
5450
- let F = {
5450
+ let v = {
5451
5451
  ignoreUnescapedHTML: !1,
5452
5452
  throwUnescapedHTML: !1,
5453
5453
  noHighlightRe: /^(no-?highlight)$/i,
@@ -5460,31 +5460,31 @@ function K0() {
5460
5460
  __emitter: E
5461
5461
  };
5462
5462
  function z(S) {
5463
- return F.noHighlightRe.test(S);
5463
+ return v.noHighlightRe.test(S);
5464
5464
  }
5465
5465
  function fe(S) {
5466
- let v = S.className + " ";
5467
- v += S.parentNode ? S.parentNode.className : "";
5468
- const Q = F.languageDetectRe.exec(v);
5466
+ let F = S.className + " ";
5467
+ F += S.parentNode ? S.parentNode.className : "";
5468
+ const Q = v.languageDetectRe.exec(F);
5469
5469
  if (Q) {
5470
- const le = mu(Q[1]);
5470
+ const le = Tu(Q[1]);
5471
5471
  return le || (st(Se.replace("{}", Q[1])), st("Falling back to no-highlight mode for this block.", S)), le ? Q[1] : "no-highlight";
5472
5472
  }
5473
- return v.split(/\s+/).find((le) => z(le) || mu(le));
5473
+ return F.split(/\s+/).find((le) => z(le) || Tu(le));
5474
5474
  }
5475
- function de(S, v, Q) {
5475
+ function de(S, F, Q) {
5476
5476
  let le = "", be = "";
5477
- typeof v == "object" ? (le = S, Q = v.ignoreIllegals, be = v.language) : (Du("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Du("10.7.0", `Please use highlight(code, options) instead.
5478
- https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q === void 0 && (Q = !0);
5477
+ typeof F == "object" ? (le = S, Q = F.ignoreIllegals, be = F.language) : (Du("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Du("10.7.0", `Please use highlight(code, options) instead.
5478
+ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = F), Q === void 0 && (Q = !0);
5479
5479
  const Ze = {
5480
5480
  code: le,
5481
5481
  language: be
5482
5482
  };
5483
5483
  At("before:highlight", Ze);
5484
- const ou = Ze.result ? Ze.result : ku(Ze.language, Ze.code, Q);
5484
+ const ou = Ze.result ? Ze.result : Lu(Ze.language, Ze.code, Q);
5485
5485
  return ou.code = Ze.code, At("after:highlight", ou), ou;
5486
5486
  }
5487
- function ku(S, v, Q, le) {
5487
+ function Lu(S, F, Q, le) {
5488
5488
  const be = /* @__PURE__ */ Object.create(null);
5489
5489
  function Ze(O, B) {
5490
5490
  return O.keywords[B];
@@ -5499,10 +5499,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5499
5499
  let B = V.keywordPatternRe.exec(ee), q = "";
5500
5500
  for (; B; ) {
5501
5501
  q += ee.substring(O, B.index);
5502
- const se = Xe.case_insensitive ? B[0].toLowerCase() : B[0], ve = Ze(V, se);
5503
- if (ve) {
5504
- const [bu, Bn] = ve;
5505
- if (Oe.addText(q), q = "", be[se] = (be[se] || 0) + 1, be[se] <= Ft && (mt += Bn), bu.startsWith("_"))
5502
+ const se = Xe.case_insensitive ? B[0].toLowerCase() : B[0], Fe = Ze(V, se);
5503
+ if (Fe) {
5504
+ const [bu, Bn] = Fe;
5505
+ if (Oe.addText(q), q = "", be[se] = (be[se] || 0) + 1, be[se] <= vt && (Tt += Bn), bu.startsWith("_"))
5506
5506
  q += B[0];
5507
5507
  else {
5508
5508
  const bn = Xe.classNameAliases[bu] || bu;
@@ -5522,11 +5522,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5522
5522
  Oe.addText(ee);
5523
5523
  return;
5524
5524
  }
5525
- O = ku(V.subLanguage, ee, !0, hu[V.subLanguage]), hu[V.subLanguage] = /** @type {CompiledMode} */
5525
+ O = Lu(V.subLanguage, ee, !0, hu[V.subLanguage]), hu[V.subLanguage] = /** @type {CompiledMode} */
5526
5526
  O._top;
5527
5527
  } else
5528
- O = vt(ee, V.subLanguage.length ? V.subLanguage : null);
5529
- V.relevance > 0 && (mt += O.relevance), Oe.__addSublanguage(O._emitter, O.language);
5528
+ O = Ft(ee, V.subLanguage.length ? V.subLanguage : null);
5529
+ V.relevance > 0 && (Tt += O.relevance), Oe.__addSublanguage(O._emitter, O.language);
5530
5530
  }
5531
5531
  function ze() {
5532
5532
  V.subLanguage != null ? $u() : ou(), ee = "";
@@ -5542,19 +5542,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5542
5542
  q++;
5543
5543
  continue;
5544
5544
  }
5545
- const ve = Xe.classNameAliases[O[q]] || O[q], bu = B[q];
5546
- ve ? cu(bu, ve) : (ee = bu, ou(), ee = ""), q++;
5545
+ const Fe = Xe.classNameAliases[O[q]] || O[q], bu = B[q];
5546
+ Fe ? cu(bu, Fe) : (ee = bu, ou(), ee = ""), q++;
5547
5547
  }
5548
5548
  }
5549
5549
  function En(O, B) {
5550
5550
  return O.scope && typeof O.scope == "string" && Oe.openNode(Xe.classNameAliases[O.scope] || O.scope), O.beginScope && (O.beginScope._wrap ? (cu(ee, Xe.classNameAliases[O.beginScope._wrap] || O.beginScope._wrap), ee = "") : O.beginScope._multi && (Bt(O.beginScope, B), ee = "")), V = Object.create(O, { parent: { value: V } }), V;
5551
5551
  }
5552
5552
  function _n(O, B, q) {
5553
- let se = L(O.endRe, q);
5553
+ let se = k(O.endRe, q);
5554
5554
  if (se) {
5555
5555
  if (O["on:end"]) {
5556
- const ve = new u(O);
5557
- O["on:end"](B, ve), ve.isMatchIgnored && (se = !1);
5556
+ const Fe = new u(O);
5557
+ O["on:end"](B, Fe), Fe.isMatchIgnored && (se = !1);
5558
5558
  }
5559
5559
  if (se) {
5560
5560
  for (; O.endsParent && O.parent; )
@@ -5565,26 +5565,26 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5565
5565
  if (O.endsWithParent)
5566
5566
  return _n(O.parent, B, q);
5567
5567
  }
5568
- function vn(O) {
5568
+ function Fn(O) {
5569
5569
  return V.matcher.regexIndex === 0 ? (ee += O[0], 1) : (Nt = !0, 0);
5570
5570
  }
5571
5571
  function Pn(O) {
5572
- const B = O[0], q = O.rule, se = new u(q), ve = [q.__beforeBegin, q["on:begin"]];
5573
- for (const bu of ve)
5572
+ const B = O[0], q = O.rule, se = new u(q), Fe = [q.__beforeBegin, q["on:begin"]];
5573
+ for (const bu of Fe)
5574
5574
  if (bu && (bu(O, se), se.isMatchIgnored))
5575
- return vn(B);
5575
+ return Fn(B);
5576
5576
  return q.skip ? ee += B : (q.excludeBegin && (ee += B), ze(), !q.returnBegin && !q.excludeBegin && (ee = B)), En(q, O), q.returnBegin ? 0 : B.length;
5577
5577
  }
5578
5578
  function hn(O) {
5579
- const B = O[0], q = v.substring(O.index), se = _n(V, O, q);
5579
+ const B = O[0], q = F.substring(O.index), se = _n(V, O, q);
5580
5580
  if (!se)
5581
5581
  return wt;
5582
- const ve = V;
5583
- V.endScope && V.endScope._wrap ? (ze(), cu(B, V.endScope._wrap)) : V.endScope && V.endScope._multi ? (ze(), Bt(V.endScope, O)) : ve.skip ? ee += B : (ve.returnEnd || ve.excludeEnd || (ee += B), ze(), ve.excludeEnd && (ee = B));
5582
+ const Fe = V;
5583
+ V.endScope && V.endScope._wrap ? (ze(), cu(B, V.endScope._wrap)) : V.endScope && V.endScope._multi ? (ze(), Bt(V.endScope, O)) : Fe.skip ? ee += B : (Fe.returnEnd || Fe.excludeEnd || (ee += B), ze(), Fe.excludeEnd && (ee = B));
5584
5584
  do
5585
- V.scope && Oe.closeNode(), !V.skip && !V.subLanguage && (mt += V.relevance), V = V.parent;
5585
+ V.scope && Oe.closeNode(), !V.skip && !V.subLanguage && (Tt += V.relevance), V = V.parent;
5586
5586
  while (V !== se.parent);
5587
- return se.starts && En(se.starts, O), ve.returnEnd ? 0 : B.length;
5587
+ return se.starts && En(se.starts, O), Fe.returnEnd ? 0 : B.length;
5588
5588
  }
5589
5589
  function Un() {
5590
5590
  const O = [];
@@ -5598,7 +5598,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5598
5598
  if (ee += O, q == null)
5599
5599
  return ze(), 0;
5600
5600
  if (tt.type === "begin" && B.type === "end" && tt.index === B.index && q === "") {
5601
- if (ee += v.slice(B.index, B.index + 1), !Re) {
5601
+ if (ee += F.slice(B.index, B.index + 1), !Re) {
5602
5602
  const se = new Error(`0 width match regex (${S})`);
5603
5603
  throw se.languageName = S, se.badRule = tt.rule, se;
5604
5604
  }
@@ -5615,37 +5615,37 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5615
5615
  return se;
5616
5616
  }
5617
5617
  if (B.type === "illegal" && q === "")
5618
- return B.index === v.length || (ee += `
5618
+ return B.index === F.length || (ee += `
5619
5619
  `), 1;
5620
5620
  if (Ht > 1e5 && Ht > B.index * 3)
5621
5621
  throw new Error("potential infinite loop, way more iterations than matches");
5622
5622
  return ee += q, q.length;
5623
5623
  }
5624
- const Xe = mu(S);
5624
+ const Xe = Tu(S);
5625
5625
  if (!Xe)
5626
- throw Tu(Se.replace("{}", S)), new Error('Unknown language: "' + S + '"');
5626
+ throw mu(Se.replace("{}", S)), new Error('Unknown language: "' + S + '"');
5627
5627
  const Gt = lt(Xe);
5628
- let Tt = "", V = le || Gt;
5629
- const hu = {}, Oe = new F.__emitter(F);
5628
+ let mt = "", V = le || Gt;
5629
+ const hu = {}, Oe = new v.__emitter(v);
5630
5630
  Un();
5631
- let ee = "", mt = 0, su = 0, Ht = 0, Nt = !1;
5631
+ let ee = "", Tt = 0, su = 0, Ht = 0, Nt = !1;
5632
5632
  try {
5633
5633
  if (Xe.__emitTokens)
5634
- Xe.__emitTokens(v, Oe);
5634
+ Xe.__emitTokens(F, Oe);
5635
5635
  else {
5636
5636
  for (V.matcher.considerAll(); ; ) {
5637
5637
  Ht++, Nt ? Nt = !1 : V.matcher.considerAll(), V.matcher.lastIndex = su;
5638
- const O = V.matcher.exec(v);
5638
+ const O = V.matcher.exec(F);
5639
5639
  if (!O) break;
5640
- const B = v.substring(su, O.index), q = gt(B, O);
5640
+ const B = F.substring(su, O.index), q = gt(B, O);
5641
5641
  su = O.index + q;
5642
5642
  }
5643
- gt(v.substring(su));
5643
+ gt(F.substring(su));
5644
5644
  }
5645
- return Oe.finalize(), Tt = Oe.toHTML(), {
5645
+ return Oe.finalize(), mt = Oe.toHTML(), {
5646
5646
  language: S,
5647
- value: Tt,
5648
- relevance: mt,
5647
+ value: mt,
5648
+ relevance: Tt,
5649
5649
  illegal: !1,
5650
5650
  _emitter: Oe,
5651
5651
  _top: V
@@ -5654,22 +5654,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5654
5654
  if (O.message && O.message.includes("Illegal"))
5655
5655
  return {
5656
5656
  language: S,
5657
- value: _t(v),
5657
+ value: _t(F),
5658
5658
  illegal: !0,
5659
5659
  relevance: 0,
5660
5660
  _illegalBy: {
5661
5661
  message: O.message,
5662
5662
  index: su,
5663
- context: v.slice(su - 100, su + 100),
5663
+ context: F.slice(su - 100, su + 100),
5664
5664
  mode: O.mode,
5665
- resultSoFar: Tt
5665
+ resultSoFar: mt
5666
5666
  },
5667
5667
  _emitter: Oe
5668
5668
  };
5669
5669
  if (Re)
5670
5670
  return {
5671
5671
  language: S,
5672
- value: _t(v),
5672
+ value: _t(F),
5673
5673
  illegal: !1,
5674
5674
  relevance: 0,
5675
5675
  errorRaised: O,
@@ -5680,39 +5680,39 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5680
5680
  }
5681
5681
  }
5682
5682
  function et(S) {
5683
- const v = {
5683
+ const F = {
5684
5684
  value: _t(S),
5685
5685
  illegal: !1,
5686
5686
  relevance: 0,
5687
5687
  _top: U,
5688
- _emitter: new F.__emitter(F)
5688
+ _emitter: new v.__emitter(v)
5689
5689
  };
5690
- return v._emitter.addText(S), v;
5690
+ return F._emitter.addText(S), F;
5691
5691
  }
5692
- function vt(S, v) {
5693
- v = v || F.languages || Object.keys(A);
5694
- const Q = et(S), le = v.filter(mu).filter(pt).map(
5695
- (ze) => ku(ze, S, !1)
5692
+ function Ft(S, F) {
5693
+ F = F || v.languages || Object.keys(A);
5694
+ const Q = et(S), le = F.filter(Tu).filter(pt).map(
5695
+ (ze) => Lu(ze, S, !1)
5696
5696
  );
5697
5697
  le.unshift(Q);
5698
5698
  const be = le.sort((ze, cu) => {
5699
5699
  if (ze.relevance !== cu.relevance) return cu.relevance - ze.relevance;
5700
5700
  if (ze.language && cu.language) {
5701
- if (mu(ze.language).supersetOf === cu.language)
5701
+ if (Tu(ze.language).supersetOf === cu.language)
5702
5702
  return 1;
5703
- if (mu(cu.language).supersetOf === ze.language)
5703
+ if (Tu(cu.language).supersetOf === ze.language)
5704
5704
  return -1;
5705
5705
  }
5706
5706
  return 0;
5707
5707
  }), [Ze, ou] = be, $u = Ze;
5708
5708
  return $u.secondBest = ou, $u;
5709
5709
  }
5710
- function an(S, v, Q) {
5711
- const le = v && x[v] || Q;
5710
+ function an(S, F, Q) {
5711
+ const le = F && x[F] || Q;
5712
5712
  S.classList.add("hljs"), S.classList.add(`language-${le}`);
5713
5713
  }
5714
5714
  function ut(S) {
5715
- let v = null;
5715
+ let F = null;
5716
5716
  const Q = fe(S);
5717
5717
  if (z(Q)) return;
5718
5718
  if (At(
@@ -5722,13 +5722,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5722
5722
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", S);
5723
5723
  return;
5724
5724
  }
5725
- if (S.children.length > 0 && (F.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(S)), F.throwUnescapedHTML))
5725
+ if (S.children.length > 0 && (v.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(S)), v.throwUnescapedHTML))
5726
5726
  throw new Et(
5727
5727
  "One of your code blocks includes unescaped HTML.",
5728
5728
  S.innerHTML
5729
5729
  );
5730
- v = S;
5731
- const le = v.textContent, be = Q ? de(le, { language: Q, ignoreIllegals: !0 }) : vt(le);
5730
+ F = S;
5731
+ const le = F.textContent, be = Q ? de(le, { language: Q, ignoreIllegals: !0 }) : Ft(le);
5732
5732
  S.innerHTML = be.value, S.dataset.highlighted = "yes", an(S, Q, be.language), S.result = {
5733
5733
  language: be.language,
5734
5734
  // TODO: remove with version 11.0
@@ -5740,12 +5740,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5740
5740
  }), At("after:highlightElement", { el: S, result: be, text: le });
5741
5741
  }
5742
5742
  function ln(S) {
5743
- F = Mt(F, S);
5743
+ v = Mt(v, S);
5744
5744
  }
5745
5745
  const Pt = () => {
5746
5746
  bt(), Du("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
5747
5747
  };
5748
- function kn() {
5748
+ function Ln() {
5749
5749
  bt(), Du("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
5750
5750
  }
5751
5751
  let Hu = !1;
@@ -5757,49 +5757,49 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5757
5757
  Hu || window.addEventListener("DOMContentLoaded", S, !1), Hu = !0;
5758
5758
  return;
5759
5759
  }
5760
- document.querySelectorAll(F.cssSelector).forEach(ut);
5760
+ document.querySelectorAll(v.cssSelector).forEach(ut);
5761
5761
  }
5762
- function Mn(S, v) {
5762
+ function Mn(S, F) {
5763
5763
  let Q = null;
5764
5764
  try {
5765
- Q = v(f);
5765
+ Q = F(f);
5766
5766
  } catch (le) {
5767
- if (Tu("Language definition for '{}' could not be registered.".replace("{}", S)), Re)
5768
- Tu(le);
5767
+ if (mu("Language definition for '{}' could not be registered.".replace("{}", S)), Re)
5768
+ mu(le);
5769
5769
  else
5770
5770
  throw le;
5771
5771
  Q = U;
5772
5772
  }
5773
- Q.name || (Q.name = S), A[S] = Q, Q.rawDefinition = v.bind(null, f), Q.aliases && Ut(Q.aliases, { languageName: S });
5773
+ Q.name || (Q.name = S), A[S] = Q, Q.rawDefinition = F.bind(null, f), Q.aliases && Ut(Q.aliases, { languageName: S });
5774
5774
  }
5775
5775
  function Ie(S) {
5776
5776
  delete A[S];
5777
- for (const v of Object.keys(x))
5778
- x[v] === S && delete x[v];
5777
+ for (const F of Object.keys(x))
5778
+ x[F] === S && delete x[F];
5779
5779
  }
5780
5780
  function zu() {
5781
5781
  return Object.keys(A);
5782
5782
  }
5783
- function mu(S) {
5783
+ function Tu(S) {
5784
5784
  return S = (S || "").toLowerCase(), A[S] || A[x[S]];
5785
5785
  }
5786
- function Ut(S, { languageName: v }) {
5786
+ function Ut(S, { languageName: F }) {
5787
5787
  typeof S == "string" && (S = [S]), S.forEach((Q) => {
5788
- x[Q.toLowerCase()] = v;
5788
+ x[Q.toLowerCase()] = F;
5789
5789
  });
5790
5790
  }
5791
5791
  function pt(S) {
5792
- const v = mu(S);
5793
- return v && !v.disableAutodetect;
5792
+ const F = Tu(S);
5793
+ return F && !F.disableAutodetect;
5794
5794
  }
5795
5795
  function fn(S) {
5796
- S["before:highlightBlock"] && !S["before:highlightElement"] && (S["before:highlightElement"] = (v) => {
5796
+ S["before:highlightBlock"] && !S["before:highlightElement"] && (S["before:highlightElement"] = (F) => {
5797
5797
  S["before:highlightBlock"](
5798
- Object.assign({ block: v.el }, v)
5798
+ Object.assign({ block: F.el }, F)
5799
5799
  );
5800
- }), S["after:highlightBlock"] && !S["after:highlightElement"] && (S["after:highlightElement"] = (v) => {
5800
+ }), S["after:highlightBlock"] && !S["after:highlightElement"] && (S["after:highlightElement"] = (F) => {
5801
5801
  S["after:highlightBlock"](
5802
- Object.assign({ block: v.el }, v)
5802
+ Object.assign({ block: F.el }, F)
5803
5803
  );
5804
5804
  });
5805
5805
  }
@@ -5807,32 +5807,32 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5807
5807
  fn(S), Y.push(S);
5808
5808
  }
5809
5809
  function wn(S) {
5810
- const v = Y.indexOf(S);
5811
- v !== -1 && Y.splice(v, 1);
5810
+ const F = Y.indexOf(S);
5811
+ F !== -1 && Y.splice(F, 1);
5812
5812
  }
5813
- function At(S, v) {
5813
+ function At(S, F) {
5814
5814
  const Q = S;
5815
5815
  Y.forEach(function(le) {
5816
- le[Q] && le[Q](v);
5816
+ le[Q] && le[Q](F);
5817
5817
  });
5818
5818
  }
5819
- function Fn(S) {
5819
+ function vn(S) {
5820
5820
  return Du("10.7.0", "highlightBlock will be removed entirely in v12.0"), Du("10.7.0", "Please use highlightElement now."), ut(S);
5821
5821
  }
5822
5822
  Object.assign(f, {
5823
5823
  highlight: de,
5824
- highlightAuto: vt,
5824
+ highlightAuto: Ft,
5825
5825
  highlightAll: bt,
5826
5826
  highlightElement: ut,
5827
5827
  // TODO: Remove with v12 API
5828
- highlightBlock: Fn,
5828
+ highlightBlock: vn,
5829
5829
  configure: ln,
5830
5830
  initHighlighting: Pt,
5831
- initHighlightingOnLoad: kn,
5831
+ initHighlightingOnLoad: Ln,
5832
5832
  registerLanguage: Mn,
5833
5833
  unregisterLanguage: Ie,
5834
5834
  listLanguages: zu,
5835
- getLanguage: mu,
5835
+ getLanguage: Tu,
5836
5836
  registerAliases: Ut,
5837
5837
  autoDetection: pt,
5838
5838
  inherit: Mt,
@@ -5849,9 +5849,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), be = S, le = v), Q ==
5849
5849
  optional: h,
5850
5850
  anyNumberOfTimes: p
5851
5851
  };
5852
- for (const S in Fe)
5853
- typeof Fe[S] == "object" && e(Fe[S]);
5854
- return Object.assign(f, Fe), f;
5852
+ for (const S in ve)
5853
+ typeof ve[S] == "object" && e(ve[S]);
5854
+ return Object.assign(f, ve), f;
5855
5855
  }, Ke = ht({});
5856
5856
  return Ke.newInstance = () => ht({}), or = Ke, Ke.HighlightJS = Ke, Ke.default = Ke, or;
5857
5857
  }
@@ -6428,12 +6428,12 @@ function j0(e) {
6428
6428
  /\b/
6429
6429
  );
6430
6430
  }
6431
- const L = {
6431
+ const k = {
6432
6432
  scope: "keyword",
6433
6433
  match: y(b),
6434
6434
  relevance: 0
6435
6435
  };
6436
- function k(I, {
6436
+ function L(I, {
6437
6437
  exceptions: P,
6438
6438
  when: $
6439
6439
  } = {}) {
@@ -6447,7 +6447,7 @@ function j0(e) {
6447
6447
  illegal: /[{}]|<\//,
6448
6448
  keywords: {
6449
6449
  $pattern: /\b[\w\.]+/,
6450
- keyword: k(h, { when: (I) => I.length < 3 }),
6450
+ keyword: L(h, { when: (I) => I.length < 3 }),
6451
6451
  literal: i,
6452
6452
  type: c,
6453
6453
  built_in: d
@@ -6457,7 +6457,7 @@ function j0(e) {
6457
6457
  scope: "type",
6458
6458
  match: y(o)
6459
6459
  },
6460
- L,
6460
+ k,
6461
6461
  w,
6462
6462
  R,
6463
6463
  n,
@@ -6880,8 +6880,8 @@ const Ai = "[A-Za-z$_][0-9A-Za-z$_]*", Q0 = [
6880
6880
  );
6881
6881
  function nl(e) {
6882
6882
  const u = e.regex, t = (K, { after: ne }) => {
6883
- const Te = "</" + K[0].slice(1);
6884
- return K.input.indexOf(Te, ne) !== -1;
6883
+ const me = "</" + K[0].slice(1);
6884
+ return K.input.indexOf(me, ne) !== -1;
6885
6885
  }, n = Ai, r = {
6886
6886
  begin: "<>",
6887
6887
  end: "</>"
@@ -6893,7 +6893,7 @@ function nl(e) {
6893
6893
  * @param {CallbackResponse} response
6894
6894
  */
6895
6895
  isTrulyOpeningTag: (K, ne) => {
6896
- const Te = K[0].length + K.index, Ee = K.input[Te];
6896
+ const me = K[0].length + K.index, Ee = K.input[me];
6897
6897
  if (
6898
6898
  // HTML should not include another raw `<` inside a tag
6899
6899
  // nested type?
@@ -6905,14 +6905,14 @@ function nl(e) {
6905
6905
  ne.ignoreMatch();
6906
6906
  return;
6907
6907
  }
6908
- Ee === ">" && (t(K, { after: Te }) || ne.ignoreMatch());
6908
+ Ee === ">" && (t(K, { after: me }) || ne.ignoreMatch());
6909
6909
  let Ue;
6910
- const me = K.input.substring(Te);
6911
- if (Ue = me.match(/^\s*=/)) {
6910
+ const Te = K.input.substring(me);
6911
+ if (Ue = Te.match(/^\s*=/)) {
6912
6912
  ne.ignoreMatch();
6913
6913
  return;
6914
6914
  }
6915
- if ((Ue = me.match(/^\s+extends\s+/)) && Ue.index === 0) {
6915
+ if ((Ue = Te.match(/^\s+extends\s+/)) && Ue.index === 0) {
6916
6916
  ne.ignoreMatch();
6917
6917
  return;
6918
6918
  }
@@ -7036,7 +7036,7 @@ function nl(e) {
7036
7036
  e.C_BLOCK_COMMENT_MODE,
7037
7037
  e.C_LINE_COMMENT_MODE
7038
7038
  ]
7039
- }, L = [
7039
+ }, k = [
7040
7040
  e.APOS_STRING_MODE,
7041
7041
  e.QUOTE_STRING_MODE,
7042
7042
  p,
@@ -7050,7 +7050,7 @@ function nl(e) {
7050
7050
  // See https://github.com/highlightjs/highlight.js/issues/3288
7051
7051
  // hljs.REGEXP_MODE
7052
7052
  ];
7053
- b.contains = L.concat({
7053
+ b.contains = k.concat({
7054
7054
  // we need to pair up {} inside our subst to prevent
7055
7055
  // it from ending too early by matching another }
7056
7056
  begin: /\{/,
@@ -7058,15 +7058,15 @@ function nl(e) {
7058
7058
  keywords: c,
7059
7059
  contains: [
7060
7060
  "self"
7061
- ].concat(L)
7061
+ ].concat(k)
7062
7062
  });
7063
- const k = [].concat(y, b.contains), I = k.concat([
7063
+ const L = [].concat(y, b.contains), I = L.concat([
7064
7064
  // eat recursive parens in sub expressions
7065
7065
  {
7066
7066
  begin: /(\s*)\(/,
7067
7067
  end: /\)/,
7068
7068
  keywords: c,
7069
- contains: ["self"].concat(k)
7069
+ contains: ["self"].concat(L)
7070
7070
  }
7071
7071
  ]), P = {
7072
7072
  className: "params",
@@ -7140,7 +7140,7 @@ function nl(e) {
7140
7140
  className: "meta",
7141
7141
  relevance: 10,
7142
7142
  begin: /^\s*['"]use (strict|asm)['"]/
7143
- }, Le = {
7143
+ }, ke = {
7144
7144
  variants: [
7145
7145
  {
7146
7146
  match: [
@@ -7340,7 +7340,7 @@ function nl(e) {
7340
7340
  }
7341
7341
  ]
7342
7342
  },
7343
- Le,
7343
+ ke,
7344
7344
  {
7345
7345
  // prevent this from getting swallowed up by function
7346
7346
  // since they appear "function like"
@@ -7490,7 +7490,7 @@ const In = "[A-Za-z$_][0-9A-Za-z$_]*", po = [
7490
7490
  "Intl",
7491
7491
  // WebAssembly
7492
7492
  "WebAssembly"
7493
- ], To = [
7493
+ ], mo = [
7494
7494
  "Error",
7495
7495
  "EvalError",
7496
7496
  "InternalError",
@@ -7499,7 +7499,7 @@ const In = "[A-Za-z$_][0-9A-Za-z$_]*", po = [
7499
7499
  "SyntaxError",
7500
7500
  "TypeError",
7501
7501
  "URIError"
7502
- ], mo = [
7502
+ ], To = [
7503
7503
  "setInterval",
7504
7504
  "setTimeout",
7505
7505
  "clearInterval",
@@ -7531,14 +7531,14 @@ const In = "[A-Za-z$_][0-9A-Za-z$_]*", po = [
7531
7531
  "global"
7532
7532
  // Node.js
7533
7533
  ], Ro = [].concat(
7534
- mo,
7534
+ To,
7535
7535
  go,
7536
- To
7536
+ mo
7537
7537
  );
7538
7538
  function rl(e) {
7539
7539
  const u = e.regex, t = (K, { after: ne }) => {
7540
- const Te = "</" + K[0].slice(1);
7541
- return K.input.indexOf(Te, ne) !== -1;
7540
+ const me = "</" + K[0].slice(1);
7541
+ return K.input.indexOf(me, ne) !== -1;
7542
7542
  }, n = In, r = {
7543
7543
  begin: "<>",
7544
7544
  end: "</>"
@@ -7550,7 +7550,7 @@ function rl(e) {
7550
7550
  * @param {CallbackResponse} response
7551
7551
  */
7552
7552
  isTrulyOpeningTag: (K, ne) => {
7553
- const Te = K[0].length + K.index, Ee = K.input[Te];
7553
+ const me = K[0].length + K.index, Ee = K.input[me];
7554
7554
  if (
7555
7555
  // HTML should not include another raw `<` inside a tag
7556
7556
  // nested type?
@@ -7562,14 +7562,14 @@ function rl(e) {
7562
7562
  ne.ignoreMatch();
7563
7563
  return;
7564
7564
  }
7565
- Ee === ">" && (t(K, { after: Te }) || ne.ignoreMatch());
7565
+ Ee === ">" && (t(K, { after: me }) || ne.ignoreMatch());
7566
7566
  let Ue;
7567
- const me = K.input.substring(Te);
7568
- if (Ue = me.match(/^\s*=/)) {
7567
+ const Te = K.input.substring(me);
7568
+ if (Ue = Te.match(/^\s*=/)) {
7569
7569
  ne.ignoreMatch();
7570
7570
  return;
7571
7571
  }
7572
- if ((Ue = me.match(/^\s+extends\s+/)) && Ue.index === 0) {
7572
+ if ((Ue = Te.match(/^\s+extends\s+/)) && Ue.index === 0) {
7573
7573
  ne.ignoreMatch();
7574
7574
  return;
7575
7575
  }
@@ -7693,7 +7693,7 @@ function rl(e) {
7693
7693
  e.C_BLOCK_COMMENT_MODE,
7694
7694
  e.C_LINE_COMMENT_MODE
7695
7695
  ]
7696
- }, L = [
7696
+ }, k = [
7697
7697
  e.APOS_STRING_MODE,
7698
7698
  e.QUOTE_STRING_MODE,
7699
7699
  p,
@@ -7707,7 +7707,7 @@ function rl(e) {
7707
7707
  // See https://github.com/highlightjs/highlight.js/issues/3288
7708
7708
  // hljs.REGEXP_MODE
7709
7709
  ];
7710
- b.contains = L.concat({
7710
+ b.contains = k.concat({
7711
7711
  // we need to pair up {} inside our subst to prevent
7712
7712
  // it from ending too early by matching another }
7713
7713
  begin: /\{/,
@@ -7715,15 +7715,15 @@ function rl(e) {
7715
7715
  keywords: c,
7716
7716
  contains: [
7717
7717
  "self"
7718
- ].concat(L)
7718
+ ].concat(k)
7719
7719
  });
7720
- const k = [].concat(y, b.contains), I = k.concat([
7720
+ const L = [].concat(y, b.contains), I = L.concat([
7721
7721
  // eat recursive parens in sub expressions
7722
7722
  {
7723
7723
  begin: /(\s*)\(/,
7724
7724
  end: /\)/,
7725
7725
  keywords: c,
7726
- contains: ["self"].concat(k)
7726
+ contains: ["self"].concat(L)
7727
7727
  }
7728
7728
  ]), P = {
7729
7729
  className: "params",
@@ -7789,7 +7789,7 @@ function rl(e) {
7789
7789
  _: [
7790
7790
  // se we still get relevance credit for JS library classes
7791
7791
  ...go,
7792
- ...To
7792
+ ...mo
7793
7793
  ]
7794
7794
  }
7795
7795
  }, oe = {
@@ -7797,7 +7797,7 @@ function rl(e) {
7797
7797
  className: "meta",
7798
7798
  relevance: 10,
7799
7799
  begin: /^\s*['"]use (strict|asm)['"]/
7800
- }, Le = {
7800
+ }, ke = {
7801
7801
  variants: [
7802
7802
  {
7803
7803
  match: [
@@ -7834,7 +7834,7 @@ function rl(e) {
7834
7834
  match: u.concat(
7835
7835
  /\b/,
7836
7836
  Ne([
7837
- ...mo,
7837
+ ...To,
7838
7838
  "super",
7839
7839
  "import",
7840
7840
  "await"
@@ -7997,7 +7997,7 @@ function rl(e) {
7997
7997
  }
7998
7998
  ]
7999
7999
  },
8000
- Le,
8000
+ ke,
8001
8001
  {
8002
8002
  // prevent this from getting swallowed up by function
8003
8003
  // since they appear "function like"
@@ -8104,7 +8104,7 @@ function il(e) {
8104
8104
  className: "meta",
8105
8105
  begin: "@" + n
8106
8106
  }, d = (R, D, w) => {
8107
- const y = R.contains.findIndex((L) => L.label === D);
8107
+ const y = R.contains.findIndex((k) => k.label === D);
8108
8108
  if (y === -1)
8109
8109
  throw new Error("can not find mode to replace");
8110
8110
  R.contains.splice(y, 1, w);
@@ -8529,7 +8529,7 @@ function ll(e) {
8529
8529
  "trap",
8530
8530
  "umask",
8531
8531
  "unset"
8532
- ], L = [
8532
+ ], k = [
8533
8533
  "alias",
8534
8534
  "bind",
8535
8535
  "builtin",
@@ -8552,7 +8552,7 @@ function ll(e) {
8552
8552
  "typeset",
8553
8553
  "ulimit",
8554
8554
  "unalias"
8555
- ], k = [
8555
+ ], L = [
8556
8556
  "autoload",
8557
8557
  "bg",
8558
8558
  "bindkey",
@@ -8738,11 +8738,11 @@ function ll(e) {
8738
8738
  literal: D,
8739
8739
  built_in: [
8740
8740
  ...y,
8741
- ...L,
8741
+ ...k,
8742
8742
  // Shell modifiers
8743
8743
  "set",
8744
8744
  "shopt",
8745
- ...k,
8745
+ ...L,
8746
8746
  ...I
8747
8747
  ]
8748
8748
  },
@@ -9358,7 +9358,7 @@ function El(e) {
9358
9358
  const _l = { sql: j0, pgsql: J0, javascript: nl, typescript: il, json: sl, xml: al, bash: ll, python: fl, yaml: dl, plaintext: El };
9359
9359
  for (const [e, u] of Object.entries(_l)) tn.registerLanguage(e, u);
9360
9360
  const So = [];
9361
- function h1(e, u) {
9361
+ function y1(e, u) {
9362
9362
  So.push({ aliases: e, languageName: u }), tn.registerAliases([...e], { languageName: u });
9363
9363
  }
9364
9364
  let cr = null;
@@ -9447,7 +9447,7 @@ const gi = [
9447
9447
  "tr",
9448
9448
  "th",
9449
9449
  "td"
9450
- ], gl = "img", Tl = [
9450
+ ], gl = "img", ml = [
9451
9451
  "href",
9452
9452
  "target",
9453
9453
  "rel",
@@ -9468,14 +9468,14 @@ const gi = [
9468
9468
  * invalidate this reasoning.
9469
9469
  */
9470
9470
  "class"
9471
- ], ml = /^(?:https?:|mailto:|tel:|data:image\/(?:png|jpe?g|gif|webp|svg\+xml);base64,)/i, Nl = ["target", "rel"];
9471
+ ], Tl = /^(?:https?:|mailto:|tel:|data:image\/(?:png|jpe?g|gif|webp|svg\+xml);base64,)/i, Nl = ["target", "rel"];
9472
9472
  function Rl(e, u) {
9473
9473
  if (!e) return "";
9474
9474
  const t = Al().render(e);
9475
9475
  return X0.sanitize(t, {
9476
9476
  ALLOWED_TAGS: u != null && u.allowImages ? [...gi, gl] : gi,
9477
- ALLOWED_ATTR: Tl,
9478
- ALLOWED_URI_REGEXP: ml,
9477
+ ALLOWED_ATTR: ml,
9478
+ ALLOWED_URI_REGEXP: Tl,
9479
9479
  ADD_URI_SAFE_ATTR: Nl
9480
9480
  });
9481
9481
  }
@@ -9492,7 +9492,7 @@ function Il(e) {
9492
9492
  return e === "above" ? yr.ABOVE : yr.BELOW;
9493
9493
  }
9494
9494
  function Ol(e) {
9495
- return e === "right" ? Lr.RIGHT : Lr.LEFT;
9495
+ return e === "right" ? kr.RIGHT : kr.LEFT;
9496
9496
  }
9497
9497
  function xl(e, u = {}) {
9498
9498
  const t = e.getBoundingClientRect();
@@ -9511,21 +9511,36 @@ function xl(e, u = {}) {
9511
9511
  anchorPosition: Il(u.vertical)
9512
9512
  };
9513
9513
  }
9514
- const Dl = "vk_root_qZljN", yl = "vk_header_uQHlk", Ll = "vk_headerMain_iXZsi", kl = "vk_headerActions_pwEIs", Ml = "vk_title_yTxmv vk_titleSmMargin_PPvAx", wl = "vk_toolbar_GoAAR", Fl = "vk_toolbarSeparator_L-seZ", vl = "vk_toolbarSeparatorHorizontal_hRkKp", Pl = "vk_bodyNoScroll_sBCEz vk_stackFillH_HVQrH", Ul = "vk_emptyFill_5tKW-", Bl = "vk_footer_oDjY7 vk_footerActions_S0ErS", fu = {
9514
+ const Dl = "vk_root_qZljN", yl = "vk_header_uQHlk", kl = "vk_headerMain_iXZsi", Ll = "vk_headerActions_pwEIs", Ml = "vk_title_yTxmv vk_titleSmMargin_PPvAx", wl = "vk_toolbar_GoAAR", vl = "vk_toolbarSeparator_L-seZ", Fl = "vk_toolbarSeparatorHorizontal_hRkKp", Pl = "vk_bodyNoScroll_sBCEz vk_stackFillH_HVQrH", Ul = "vk_emptyFill_5tKW-", Bl = "vk_footer_oDjY7 vk_footerActions_S0ErS", Gl = "vk_headerRail_CLLzD", Hl = "vk_titleRail_JXigp vk_titleSmMargin_PPvAx", zl = "vk_titleWrapRail_b0Czp", $l = "vk_actionsRail_QqUv8", Vl = "vk_countRail_phoxU", Wl = "vk_headerAdmin_z5Ixq", Yl = "vk_titleAdmin_OEhMB vk_titleMd_R3sTy", Xl = "vk_titleWrapAdmin_nosUw", ql = "vk_actionsAdmin_7zVCj", Kl = "vk_countAdmin_ufXzH", Zl = "vk_bodyAdmin_AwOir", jl = "vk_titleStackAdmin_fVK--", Jl = "vk_titleRowAdmin_hx8-7", Ql = "vk_subtitleAdmin_-rKt8", ef = "vk_headerAdminStacked_zmZOW vk_headerAdmin_z5Ixq", fu = {
9515
9515
  root: Dl,
9516
9516
  header: yl,
9517
- headerMain: Ll,
9518
- headerActions: kl,
9517
+ headerMain: kl,
9518
+ headerActions: Ll,
9519
9519
  title: Ml,
9520
9520
  toolbar: wl,
9521
- toolbarSeparator: Fl,
9522
- toolbarSeparatorHorizontal: vl,
9521
+ toolbarSeparator: vl,
9522
+ toolbarSeparatorHorizontal: Fl,
9523
9523
  bodyNoScroll: Pl,
9524
9524
  emptyFill: Ul,
9525
- footer: Bl
9525
+ footer: Bl,
9526
+ headerRail: Gl,
9527
+ titleRail: Hl,
9528
+ titleWrapRail: zl,
9529
+ actionsRail: $l,
9530
+ countRail: Vl,
9531
+ headerAdmin: Wl,
9532
+ titleAdmin: Yl,
9533
+ titleWrapAdmin: Xl,
9534
+ actionsAdmin: ql,
9535
+ countAdmin: Kl,
9536
+ bodyAdmin: Zl,
9537
+ titleStackAdmin: jl,
9538
+ titleRowAdmin: Jl,
9539
+ subtitleAdmin: Ql,
9540
+ headerAdminStacked: ef
9526
9541
  };
9527
- var Gl = ["<span", ">", "</span>"], Hl = ["<div", ">", "", "</div>"], Co = ["<div", ">", "</div>"], zl = ['<div class="', '">', "</div>"];
9528
- function $l(e) {
9542
+ var uf = ["<span", ">", "</span>"], tf = ["<div", ">", "", "</div>"], Co = ["<div", ">", "</div>"], nf = ['<div class="', '">', "</div>"];
9543
+ function rf(e) {
9529
9544
  const [u, t] = nn(e, ["as", "ref", "class", "style", "children"]);
9530
9545
  return G(hr, nu({
9531
9546
  get component() {
@@ -9543,7 +9558,7 @@ function $l(e) {
9543
9558
  }
9544
9559
  }));
9545
9560
  }
9546
- function Vl(e) {
9561
+ function of(e) {
9547
9562
  const [u, t] = nn(e, ["title", "titleClass", "mainClass", "actionsClass", "badge", "actions", "children", "class"]);
9548
9563
  return G(xe, {
9549
9564
  get when() {
@@ -9554,12 +9569,12 @@ function Vl(e) {
9554
9569
  get class() {
9555
9570
  return `${fu.header} ${u.class ?? ""}`;
9556
9571
  }
9557
- }, t), [Ae(Hl, Z("class", g(u.mainClass ?? fu.headerMain, !0), !1), g(G(xe, {
9572
+ }, t), [Ae(tf, Z("class", g(u.mainClass ?? fu.headerMain, !0), !1), g(G(xe, {
9558
9573
  get when() {
9559
9574
  return u.title != null;
9560
9575
  },
9561
9576
  get children() {
9562
- return Ae(Gl, Z("class", g(u.titleClass ?? fu.title, !0), !1), g(u.title));
9577
+ return Ae(uf, Z("class", g(u.titleClass ?? fu.title, !0), !1), g(u.title));
9563
9578
  }
9564
9579
  })), g(u.badge)), g(G(xe, {
9565
9580
  get when() {
@@ -9579,7 +9594,7 @@ function Vl(e) {
9579
9594
  }
9580
9595
  });
9581
9596
  }
9582
- function Wl(e) {
9597
+ function cf(e) {
9583
9598
  const [u, t] = nn(e, ["as", "class", "children"]);
9584
9599
  return G(hr, nu({
9585
9600
  get component() {
@@ -9594,7 +9609,7 @@ function Wl(e) {
9594
9609
  }
9595
9610
  }));
9596
9611
  }
9597
- function Yl(e) {
9612
+ function sf(e) {
9598
9613
  const [u, t] = nn(e, ["class", "children"]);
9599
9614
  return ct("div", nu({
9600
9615
  get class() {
@@ -9602,7 +9617,7 @@ function Yl(e) {
9602
9617
  }
9603
9618
  }, t), g(u.children), !1);
9604
9619
  }
9605
- function Xl(e) {
9620
+ function af(e) {
9606
9621
  const [u, t] = nn(e, ["class", "orientation"]), n = () => u.orientation ?? "vertical";
9607
9622
  return ct("div", nu({
9608
9623
  role: "separator",
@@ -9614,7 +9629,7 @@ function Xl(e) {
9614
9629
  }
9615
9630
  }, t), void 0, !1);
9616
9631
  }
9617
- function ql(e) {
9632
+ function lf(e) {
9618
9633
  const u = () => e.viewportRef ? {
9619
9634
  viewportRef: e.viewportRef
9620
9635
  } : {}, t = () => e.onScroll ? {
@@ -9647,65 +9662,65 @@ function ql(e) {
9647
9662
  }
9648
9663
  });
9649
9664
  }
9650
- function Kl(e) {
9665
+ function ff(e) {
9651
9666
  return Ae(Co, Z("class", g(fu.emptyFill, !0), !1), g(G(Xo, e)));
9652
9667
  }
9653
- function Zl(e) {
9654
- return Ae(zl, `${g(fu.footer, !0)} ${g(e.class ?? "", !0)}`, g(e.children));
9655
- }
9656
- const jl = {
9657
- Root: $l,
9658
- Header: Vl,
9659
- Title: Wl,
9660
- Toolbar: Yl,
9661
- Separator: Xl,
9662
- Body: ql,
9663
- Empty: Kl,
9664
- Footer: Zl
9665
- }, Jl = "vk_item_iu5b9", Ql = "vk_itemExiting_1AEmJ", ef = "vk_closeFuse_uJM3j", uf = "vk_subtitleCollapse_TrzAH", tf = "vk_detailsCollapse_nY1gW", nf = "vk_subtitle_XM9-h", rf = "vk_detailsRow_QOjtY", of = "vk_chevron_8399G", cf = "vk_mainRow_Or-HS", sf = "vk_icon_tpHzZ", af = "vk_body_M1AsL", lf = "vk_titleRow_P14EL", ff = "vk_title_LULCY", df = "vk_timestamp_oi-zj", Ef = "vk_subtitleViewport_-M4DV", _f = "vk_toolbar_Pojzw", hf = "vk_actions_c2fy8", bf = "vk_source_0ZwCJ", pf = "vk_progressRow_HGeTR vk_rowCenter_saaBE", Af = "vk_progress_oqKTw", gf = "vk_progressCancel_d41du", Tf = "vk_closeWrapper_al-7O", mf = "vk_closeButton_PbZLT", Nf = "vk_fuseTrack_oN787", Rf = "vk_fusePath_vX094", pe = {
9666
- item: Jl,
9667
- itemExiting: Ql,
9668
- closeFuse: ef,
9669
- subtitleCollapse: uf,
9670
- detailsCollapse: tf,
9671
- subtitle: nf,
9672
- detailsRow: rf,
9673
- chevron: of,
9674
- mainRow: cf,
9675
- icon: sf,
9676
- body: af,
9677
- titleRow: lf,
9678
- title: ff,
9679
- timestamp: df,
9680
- subtitleViewport: Ef,
9681
- toolbar: _f,
9682
- actions: hf,
9683
- source: bf,
9684
- progressRow: pf,
9685
- progress: Af,
9686
- progressCancel: gf,
9687
- closeWrapper: Tf,
9688
- closeButton: mf,
9689
- fuseTrack: Nf,
9690
- fusePath: Rf
9668
+ function df(e) {
9669
+ return Ae(nf, `${g(fu.footer, !0)} ${g(e.class ?? "", !0)}`, g(e.children));
9670
+ }
9671
+ const Ef = {
9672
+ Root: rf,
9673
+ Header: of,
9674
+ Title: cf,
9675
+ Toolbar: sf,
9676
+ Separator: af,
9677
+ Body: lf,
9678
+ Empty: ff,
9679
+ Footer: df
9680
+ }, _f = "vk_item_iu5b9", hf = "vk_itemExiting_1AEmJ", bf = "vk_closeFuse_uJM3j", pf = "vk_subtitleCollapse_TrzAH", Af = "vk_detailsCollapse_nY1gW", gf = "vk_subtitle_XM9-h", mf = "vk_detailsRow_QOjtY", Tf = "vk_chevron_8399G", Nf = "vk_mainRow_Or-HS", Rf = "vk_icon_tpHzZ", Sf = "vk_body_M1AsL", Cf = "vk_titleRow_P14EL", If = "vk_title_LULCY", Of = "vk_timestamp_oi-zj", xf = "vk_subtitleViewport_-M4DV", Df = "vk_toolbar_Pojzw", yf = "vk_actions_c2fy8", kf = "vk_source_0ZwCJ", Lf = "vk_progressRow_HGeTR vk_rowCenter_saaBE", Mf = "vk_progress_oqKTw", wf = "vk_progressCancel_d41du", vf = "vk_closeWrapper_al-7O", Ff = "vk_closeButton_PbZLT", Pf = "vk_fuseTrack_oN787", Uf = "vk_fusePath_vX094", pe = {
9681
+ item: _f,
9682
+ itemExiting: hf,
9683
+ closeFuse: bf,
9684
+ subtitleCollapse: pf,
9685
+ detailsCollapse: Af,
9686
+ subtitle: gf,
9687
+ detailsRow: mf,
9688
+ chevron: Tf,
9689
+ mainRow: Nf,
9690
+ icon: Rf,
9691
+ body: Sf,
9692
+ titleRow: Cf,
9693
+ title: If,
9694
+ timestamp: Of,
9695
+ subtitleViewport: xf,
9696
+ toolbar: Df,
9697
+ actions: yf,
9698
+ source: kf,
9699
+ progressRow: Lf,
9700
+ progress: Mf,
9701
+ progressCancel: wf,
9702
+ closeWrapper: vf,
9703
+ closeButton: Ff,
9704
+ fuseTrack: Pf,
9705
+ fusePath: Uf
9691
9706
  };
9692
- function Sf(e) {
9707
+ function Bf(e) {
9693
9708
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
9694
9709
  }
9695
- var Ti = ["<span", ">", "</span>"], Cf = ["<div", ' tabindex="-1">', "</div>"], mi = ["<div", ">", "", "</div>"], If = ["<div", "><span", ' aria-hidden="true">', '</span><div class="', '"><div', '><span class="', '">', "</span>", "</div>", "</div>", "</div>"], Of = ["<div", ">", "</div>"], xf = ["<div", "><div", ">", "", "</div></div>"], Df = ["<svg", ' viewBox="0 0 100 100" aria-hidden="true"', ' style="', '"><path', ' d="M 50 3 H 79 A 18 18 0 0 1 97 21 V 79 A 18 18 0 0 1 79 97 H 21 A 18 18 0 0 1 3 79 V 21 A 18 18 0 0 1 21 3 Z"></path><path', ' pathLength="100" stroke-dasharray="100 100" stroke-dashoffset="0" d="M 50 3 H 79 A 18 18 0 0 1 97 21 V 79 A 18 18 0 0 1 79 97 H 21 A 18 18 0 0 1 3 79 V 21 A 18 18 0 0 1 21 3 Z"></path></svg>'];
9710
+ var mi = ["<span", ">", "</span>"], Gf = ["<div", ' tabindex="-1">', "</div>"], Ti = ["<div", ">", "", "</div>"], Hf = ["<div", "><span", ' aria-hidden="true">', '</span><div class="', '"><div', '><span class="', '">', "</span>", "</div>", "</div>", "</div>"], zf = ["<div", ">", "</div>"], $f = ["<div", "><div", ">", "", "</div></div>"], Vf = ["<svg", ' viewBox="0 0 100 100" aria-hidden="true"', ' style="', '"><path', ' d="M 50 3 H 79 A 18 18 0 0 1 97 21 V 79 A 18 18 0 0 1 79 97 H 21 A 18 18 0 0 1 3 79 V 21 A 18 18 0 0 1 21 3 Z"></path><path', ' pathLength="100" stroke-dasharray="100 100" stroke-dashoffset="0" d="M 50 3 H 79 A 18 18 0 0 1 97 21 V 79 A 18 18 0 0 1 79 97 H 21 A 18 18 0 0 1 3 79 V 21 A 18 18 0 0 1 21 3 Z"></path></svg>'];
9696
9711
  const sr = /* @__PURE__ */ new WeakMap();
9697
- function yf(e, u) {
9712
+ function Wf(e, u) {
9698
9713
  const t = Oc(u - e);
9699
9714
  return ae(t.key, t.values);
9700
9715
  }
9701
- function Lf(e) {
9716
+ function Yf(e) {
9702
9717
  try {
9703
- return Lo(new Date(e));
9718
+ return ko(new Date(e));
9704
9719
  } catch {
9705
9720
  return new Date(e).toISOString();
9706
9721
  }
9707
9722
  }
9708
- const kf = {
9723
+ const Xf = {
9709
9724
  info: ic,
9710
9725
  warning: cc,
9711
9726
  error: rc,
@@ -9721,7 +9736,7 @@ const kf = {
9721
9736
  bell: Ko,
9722
9737
  lock: qo
9723
9738
  }, Ri = (e) => {
9724
- const u = mc(), t = lr(Wo), [n, r] = Me(!1);
9739
+ const u = Tc(), t = lr(Wo), [n, r] = Me(!1);
9725
9740
  let i;
9726
9741
  Ye(() => {
9727
9742
  i !== void 0 && clearTimeout(i);
@@ -9740,8 +9755,8 @@ const kf = {
9740
9755
  e.controller ? e.controller.toggleExpanded(e.item.id) : qt(e.item.id);
9741
9756
  }, s = Ru(() => {
9742
9757
  const M = e.item.icon;
9743
- return M && Ni[M] ? Ni[M] : kf[e.item.severity];
9744
- }), l = Ru(() => yf(e.item.createdAt, u())), E = Ru(() => Lf(e.item.createdAt)), [d, b] = Me(Kt.get());
9758
+ return M && Ni[M] ? Ni[M] : Xf[e.item.severity];
9759
+ }), l = Ru(() => Wf(e.item.createdAt, u())), E = Ru(() => Yf(e.item.createdAt)), [d, b] = Me(Kt.get());
9745
9760
  Mi(Kt, (M) => b(M));
9746
9761
  const p = Ru(() => {
9747
9762
  var M, j;
@@ -9750,7 +9765,7 @@ const kf = {
9750
9765
  if (p()) return !1;
9751
9766
  const M = h();
9752
9767
  return Number.isFinite(M) && M > 0;
9753
- }), [D, w] = Me(!1), [y, L] = Me(!1), [k, I] = Me(0), P = Ru(() => D() || y() || !!(e.item.hovered || e.item.focused));
9768
+ }), [D, w] = Me(!1), [y, k] = Me(!1), [L, I] = Me(0), P = Ru(() => D() || y() || !!(e.item.hovered || e.item.focused));
9754
9769
  let $ = !1;
9755
9770
  Ku(() => {
9756
9771
  const M = P();
@@ -9761,14 +9776,14 @@ const kf = {
9761
9776
  const M = e.item.expanded;
9762
9777
  M !== J && (J = M, I((j) => j + 1));
9763
9778
  });
9764
- const oe = Ru(() => R() ? `${e.item.id}-${h()}-${k()}` : null);
9779
+ const oe = Ru(() => R() ? `${e.item.id}-${h()}-${L()}` : null);
9765
9780
  Ku(() => {
9766
9781
  const M = e.item.title, j = e.item.body, te = j ? `${M}: ${j}` : M;
9767
- e.item.severity === "error" ? kr().assertive(te) : kr().polite(te);
9782
+ e.item.severity === "error" ? Lr().assertive(te) : Lr().polite(te);
9768
9783
  });
9769
- const Le = Ru(() => {
9784
+ const ke = Ru(() => {
9770
9785
  const M = e.item.body;
9771
- return M ? e.item.markdown ? Sl(M, !e.isolated) : Sf(M).replace(/\n/g, "<br>") : "";
9786
+ return M ? e.item.markdown ? Sl(M, !e.isolated) : Bf(M).replace(/\n/g, "<br>") : "";
9772
9787
  }), ie = (M) => {
9773
9788
  var Ee, Ue;
9774
9789
  if (e.isolated || !t) return;
@@ -9781,8 +9796,8 @@ const kf = {
9781
9796
  if (De && ne.push({
9782
9797
  label: ae("Don't show again"),
9783
9798
  onSelect: () => {
9784
- var me;
9785
- (me = e.controller) != null && me.onDismissKey ? e.controller.onDismissKey(De) : xi(De), o();
9799
+ var Te;
9800
+ (Te = e.controller) != null && Te.onDismissKey ? e.controller.onDismissKey(De) : xi(De), o();
9786
9801
  }
9787
9802
  }), Kt.get().remindLaterEnabled) {
9788
9803
  const Pu = () => {
@@ -9793,42 +9808,42 @@ const kf = {
9793
9808
  label: ae("Remind me in 15 minutes"),
9794
9809
  onSelect: () => {
9795
9810
  var X;
9796
- (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, 15 * 6e4) : mn(K, 15 * 6e4), o();
9811
+ (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, 15 * 6e4) : Tn(K, 15 * 6e4), o();
9797
9812
  }
9798
9813
  }), ne.push({
9799
9814
  label: ae("Remind me in 1 hour"),
9800
9815
  onSelect: () => {
9801
9816
  var X;
9802
- (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, 36e5) : mn(K, 36e5), o();
9817
+ (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, 36e5) : Tn(K, 36e5), o();
9803
9818
  }
9804
9819
  }), ne.push({
9805
9820
  label: ae("Remind me tomorrow morning"),
9806
9821
  onSelect: () => {
9807
9822
  var X;
9808
- (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, Pu()) : mn(K, Pu()), o();
9823
+ (X = e.controller) != null && X.onRemindLater ? e.controller.onRemindLater(K, Pu()) : Tn(K, Pu()), o();
9809
9824
  }
9810
9825
  });
9811
9826
  }
9812
9827
  if (te && te !== "general") {
9813
- const me = ((Ue = (Ee = e.controller) == null ? void 0 : Ee.isSourceMuted) == null ? void 0 : Ue.call(Ee, te)) ?? Di(te);
9828
+ const Te = ((Ue = (Ee = e.controller) == null ? void 0 : Ee.isSourceMuted) == null ? void 0 : Ue.call(Ee, te)) ?? Di(te);
9814
9829
  ne.push({
9815
- label: me ? ae("Unmute notifications from this source") : ae("Mute notifications from this source"),
9830
+ label: Te ? ae("Unmute notifications from this source") : ae("Mute notifications from this source"),
9816
9831
  onSelect: () => {
9817
9832
  var Au;
9818
- (Au = e.controller) != null && Au.onMuteSource ? e.controller.onMuteSource(te, !me) : yi(te, !me);
9833
+ (Au = e.controller) != null && Au.onMuteSource ? e.controller.onMuteSource(te, !Te) : yi(te, !Te);
9819
9834
  }
9820
9835
  });
9821
9836
  }
9822
- const Te = e.item.secondaryActions;
9823
- if (Te && Te.length > 0) {
9837
+ const me = e.item.secondaryActions;
9838
+ if (me && me.length > 0) {
9824
9839
  ne.length > 0 && ne.push({
9825
9840
  type: "separator"
9826
9841
  });
9827
- for (const me of Te)
9842
+ for (const Te of me)
9828
9843
  ne.push({
9829
- label: me.label,
9844
+ label: Te.label,
9830
9845
  onSelect: () => {
9831
- me.onClick();
9846
+ Te.onClick();
9832
9847
  }
9833
9848
  });
9834
9849
  }
@@ -9837,8 +9852,8 @@ const kf = {
9837
9852
  }), ne.push({
9838
9853
  label: ae("Notification settings…"),
9839
9854
  onSelect: () => {
9840
- var me;
9841
- (me = e.controller) != null && me.onOpenSettings ? e.controller.onOpenSettings() : wi("notification");
9855
+ var Te;
9856
+ (Te = e.controller) != null && Te.onOpenSettings ? e.controller.onOpenSettings() : wi("notification");
9842
9857
  }
9843
9858
  }), t.openWithPlacement(xl(j, {
9844
9859
  vertical: "auto",
@@ -9881,7 +9896,7 @@ const kf = {
9881
9896
  title: e.item.title
9882
9897
  });
9883
9898
  }
9884
- }), [Ae(If, Z("class", g(pe.mainRow, !0), !1), Z("class", g(pe.icon, !0), !1) + Z("data-severity", g(e.item.severity, !0), !1), g(G(hr, {
9899
+ }), [Ae(Hf, Z("class", g(pe.mainRow, !0), !1), Z("class", g(pe.icon, !0), !1) + Z("data-severity", g(e.item.severity, !0), !1), g(G(hr, {
9885
9900
  get component() {
9886
9901
  return s();
9887
9902
  },
@@ -9892,7 +9907,7 @@ const kf = {
9892
9907
  },
9893
9908
  delayMs: 400,
9894
9909
  get children() {
9895
- return Ae(Ti, Z("class", g(pe.timestamp, !0), !1), g(l()));
9910
+ return Ae(mi, Z("class", g(pe.timestamp, !0), !1), g(l()));
9896
9911
  }
9897
9912
  })), g(G(xe, {
9898
9913
  get when() {
@@ -9908,11 +9923,11 @@ const kf = {
9908
9923
  },
9909
9924
  hideHorizontal: !0,
9910
9925
  get children() {
9911
- return Ae(Cf, Z("class", g(pe.subtitle, !0), !1), Le());
9926
+ return Ae(Gf, Z("class", g(pe.subtitle, !0), !1), ke());
9912
9927
  }
9913
9928
  });
9914
9929
  }
9915
- })), g(G(jl.Toolbar, {
9930
+ })), g(G(Ef.Toolbar, {
9916
9931
  get class() {
9917
9932
  return pe.toolbar;
9918
9933
  },
@@ -9968,7 +9983,7 @@ const kf = {
9968
9983
  }
9969
9984
  });
9970
9985
  }
9971
- }), Ae(mi, Z("class", g(pe.closeWrapper, !0), !1), g(G(Su, {
9986
+ }), Ae(Ti, Z("class", g(pe.closeWrapper, !0), !1), g(G(Su, {
9972
9987
  variant: "ghost",
9973
9988
  size: "sm",
9974
9989
  iconOnly: !0,
@@ -9995,7 +10010,7 @@ const kf = {
9995
10010
  get when() {
9996
10011
  return oe();
9997
10012
  },
9998
- children: (M) => Ae(Df, Z("class", g(pe.closeFuse, !0), !1), Z("data-fuse-key", g(M, !0), !1), Xt("--fuse-duration:", `${g(h(), !0)}ms`), Z("class", g(pe.fuseTrack, !0), !1), Z("class", g(pe.fusePath, !0), !1))
10013
+ children: (M) => Ae(Vf, Z("class", g(pe.closeFuse, !0), !1), Z("data-fuse-key", g(M, !0), !1), Xt("--fuse-duration:", `${g(h(), !0)}ms`), Z("class", g(pe.fuseTrack, !0), !1), Z("class", g(pe.fusePath, !0), !1))
9999
10014
  })))];
10000
10015
  }
10001
10016
  }))), g(G(xe, {
@@ -10003,12 +10018,12 @@ const kf = {
10003
10018
  return Yu(() => !!e.item.actions)() && e.item.actions.length > 0 || typeof e.item.source == "string" && e.item.source.length > 0 && e.item.source !== "general" && e.item.source !== "undefined";
10004
10019
  },
10005
10020
  get children() {
10006
- return Ae(xf, Z("class", g(pe.detailsCollapse, !0), !1), Z("class", g(pe.detailsRow, !0), !1), g(G(xe, {
10021
+ return Ae($f, Z("class", g(pe.detailsCollapse, !0), !1), Z("class", g(pe.detailsRow, !0), !1), g(G(xe, {
10007
10022
  get when() {
10008
10023
  return Yu(() => !!e.item.actions)() && e.item.actions.length > 0;
10009
10024
  },
10010
10025
  get children() {
10011
- return Ae(Of, Z("class", g(pe.actions, !0), !1), g(G(br, {
10026
+ return Ae(zf, Z("class", g(pe.actions, !0), !1), g(G(br, {
10012
10027
  get each() {
10013
10028
  return e.item.actions;
10014
10029
  },
@@ -10032,7 +10047,7 @@ const kf = {
10032
10047
  return Yu(() => typeof e.item.source == "string" && e.item.source.length > 0 && e.item.source !== "general")() && e.item.source !== "undefined";
10033
10048
  },
10034
10049
  get children() {
10035
- return Ae(Ti, Z("class", g(pe.source, !0), !1), g(ae("Source: {source}", {
10050
+ return Ae(mi, Z("class", g(pe.source, !0), !1), g(ae("Source: {source}", {
10036
10051
  source: String(e.item.source)
10037
10052
  })));
10038
10053
  }
@@ -10043,7 +10058,7 @@ const kf = {
10043
10058
  return Yu(() => !!e.item.progress)() && !e.item.progress.done;
10044
10059
  },
10045
10060
  get children() {
10046
- return Ae(mi, Z("class", g(pe.progressRow, !0), !1), g(G(xe, {
10061
+ return Ae(Ti, Z("class", g(pe.progressRow, !0), !1), g(G(xe, {
10047
10062
  get when() {
10048
10063
  var M;
10049
10064
  return typeof ((M = e.item.progress) == null ? void 0 : M.value) == "number";
@@ -10107,8 +10122,8 @@ const kf = {
10107
10122
  })));
10108
10123
  }
10109
10124
  }))], !1);
10110
- }, Tn = 200, Si = "notification.acceptPrimaryAction", Ci = "notification.clear", ar = "notifications.hideToasts", Mf = `${ac} && (${Zu.notificationFocus} || ${Zu.notificationToastsVisible})`, wf = Zu.notificationToastsVisible, Ff = `${Zu.notificationToastsVisible} && ${Zu.notificationFocus}`;
10111
- function vf(e, u) {
10125
+ }, mn = 200, Si = "notification.acceptPrimaryAction", Ci = "notification.clear", ar = "notifications.hideToasts", qf = `${ac} && (${Zu.notificationFocus} || ${Zu.notificationToastsVisible})`, Kf = Zu.notificationToastsVisible, Zf = `${Zu.notificationToastsVisible} && ${Zu.notificationFocus}`;
10126
+ function jf(e, u) {
10112
10127
  const t = [
10113
10128
  e.commands.register({
10114
10129
  id: Si,
@@ -10121,8 +10136,8 @@ function vf(e, u) {
10121
10136
  e.bindings.register({
10122
10137
  command: Si,
10123
10138
  key: "CmdOrCtrl+Shift+A",
10124
- when: Mf,
10125
- weight: Tn + 1,
10139
+ when: qf,
10140
+ weight: mn + 1,
10126
10141
  source: "core"
10127
10142
  }),
10128
10143
  e.commands.register({
@@ -10135,7 +10150,7 @@ function vf(e, u) {
10135
10150
  key: "Delete",
10136
10151
  mac: "Cmd+Backspace",
10137
10152
  when: Zu.notificationFocus,
10138
- weight: Tn,
10153
+ weight: mn,
10139
10154
  source: "core"
10140
10155
  }),
10141
10156
  e.commands.register({
@@ -10148,16 +10163,16 @@ function vf(e, u) {
10148
10163
  e.bindings.register({
10149
10164
  command: ar,
10150
10165
  key: "Escape",
10151
- when: wf,
10152
- weight: Tn - 50,
10166
+ when: Kf,
10167
+ weight: mn - 50,
10153
10168
  source: "core"
10154
10169
  }),
10155
10170
  // … and above everything while focus is in the toast stack itself.
10156
10171
  e.bindings.register({
10157
10172
  command: ar,
10158
10173
  key: "Escape",
10159
- when: Ff,
10160
- weight: Tn + 100,
10174
+ when: Zf,
10175
+ weight: mn + 100,
10161
10176
  source: "core"
10162
10177
  })
10163
10178
  ];
@@ -10165,17 +10180,17 @@ function vf(e, u) {
10165
10180
  for (const n of t.reverse()) n();
10166
10181
  };
10167
10182
  }
10168
- const Pf = {
10183
+ const Jf = {
10169
10184
  kind: "none"
10170
10185
  };
10171
- function Uf() {
10172
- const e = Fo(typeof window > "u" ? void 0 : window);
10173
- return e ? { kind: "native", port: e } : Pf;
10186
+ function Qf() {
10187
+ const e = vo(typeof window > "u" ? void 0 : window);
10188
+ return e ? { kind: "native", port: e } : Jf;
10174
10189
  }
10175
10190
  function Rn(e) {
10176
10191
  return e && e.width > 0 && e.height > 0 ? { x: e.x, y: e.y, width: e.width, height: e.height } : void 0;
10177
10192
  }
10178
- function Bf(e) {
10193
+ function ed(e) {
10179
10194
  var u;
10180
10195
  return [
10181
10196
  (u = e.progress) == null ? void 0 : u.onCancel,
@@ -10195,14 +10210,14 @@ function Bf(e) {
10195
10210
  ])
10196
10211
  ];
10197
10212
  }
10198
- function Gf(e) {
10213
+ function ud(e) {
10199
10214
  return {
10200
10215
  ...e.value !== void 0 ? { value: e.value } : {},
10201
10216
  done: e.done ?? !1,
10202
10217
  hasCancel: typeof e.onCancel == "function"
10203
10218
  };
10204
10219
  }
10205
- function Hf(e) {
10220
+ function td(e) {
10206
10221
  return e.map((u) => ({
10207
10222
  label: u.label,
10208
10223
  ...u.id ? { id: u.id } : {},
@@ -10210,7 +10225,7 @@ function Hf(e) {
10210
10225
  ...u.keepOpen !== void 0 ? { keepOpen: u.keepOpen } : {}
10211
10226
  }));
10212
10227
  }
10213
- function zf(e, u) {
10228
+ function nd(e, u) {
10214
10229
  const t = Oi(e, u.settings);
10215
10230
  return {
10216
10231
  id: e.id,
@@ -10221,7 +10236,7 @@ function zf(e, u) {
10221
10236
  ...e.markdown !== void 0 ? { markdown: e.markdown } : {},
10222
10237
  ...e.icon ? { icon: e.icon } : {},
10223
10238
  ...e.expanded !== void 0 ? { expanded: e.expanded } : {},
10224
- ...e.progress ? { progress: Gf(e.progress) } : {},
10239
+ ...e.progress ? { progress: ud(e.progress) } : {},
10225
10240
  duration: Number.isFinite(t) ? t : 0,
10226
10241
  sticky: Ii(e, u.settings),
10227
10242
  hovered: e.hovered,
@@ -10231,7 +10246,7 @@ function zf(e, u) {
10231
10246
  ...e.source ? { source: e.source } : {},
10232
10247
  ...e.neverShowAgainKey ? { neverShowAgainKey: e.neverShowAgainKey } : {},
10233
10248
  ...e.defaultRoute ? { defaultRoute: e.defaultRoute } : {},
10234
- ...e.actions ? { actions: Hf(e.actions) } : {},
10249
+ ...e.actions ? { actions: td(e.actions) } : {},
10235
10250
  ...e.secondaryActions ? {
10236
10251
  secondaryActions: e.secondaryActions.map((n) => ({
10237
10252
  label: n.label
@@ -10240,7 +10255,7 @@ function zf(e, u) {
10240
10255
  createdAt: e.createdAt
10241
10256
  };
10242
10257
  }
10243
- function $f(e) {
10258
+ function rd(e) {
10244
10259
  return {
10245
10260
  visible: e.visible,
10246
10261
  position: e.position,
@@ -10257,12 +10272,12 @@ function $f(e) {
10257
10272
  items: e.items
10258
10273
  };
10259
10274
  }
10260
- function Vf() {
10275
+ function id() {
10261
10276
  const e = /* @__PURE__ */ new Map();
10262
10277
  let u = 0;
10263
10278
  return {
10264
10279
  revisionOf(t) {
10265
- const n = Bf(t), r = e.get(t.id);
10280
+ const n = ed(t), r = e.get(t.id);
10266
10281
  if (r && r.callbacks.length === n.length && n.every((o, c) => o === r.callbacks[c]))
10267
10282
  return r.revision;
10268
10283
  const i = ++u;
@@ -10279,14 +10294,14 @@ function Vf() {
10279
10294
  }
10280
10295
  };
10281
10296
  }
10282
- function Wf(e) {
10297
+ function od(e) {
10283
10298
  const u = Math.min(...e.map((i) => i.x)), t = Math.min(...e.map((i) => i.y)), n = Math.max(...e.map((i) => i.x + i.width)), r = Math.max(...e.map((i) => i.y + i.height));
10284
10299
  return { x: u, y: t, width: n - u, height: r - t };
10285
10300
  }
10286
- function Yf(e, u) {
10301
+ function cd(e, u) {
10287
10302
  return !(e.x >= u.x + u.width || e.x + e.width <= u.x || e.y >= u.y + u.height || e.y + e.height <= u.y);
10288
10303
  }
10289
- function Xf(e) {
10304
+ function sd(e) {
10290
10305
  return e ? {
10291
10306
  x: Math.round(e.x),
10292
10307
  y: Math.round(e.y),
@@ -10294,7 +10309,7 @@ function Xf(e) {
10294
10309
  height: Math.round(e.height)
10295
10310
  } : void 0;
10296
10311
  }
10297
- function qf(e) {
10312
+ function ad(e) {
10298
10313
  const u = (i) => {
10299
10314
  var d, b;
10300
10315
  const o = e.hostEl(), c = (o == null ? void 0 : o.getBoundingClientRect()) ?? i.getBoundingClientRect();
@@ -10311,7 +10326,7 @@ function qf(e) {
10311
10326
  const i = e.hostEl();
10312
10327
  if (!i) return;
10313
10328
  const o = e.cards().map(u).filter((c) => c.width > 0 && c.height > 0);
10314
- return o.length > 0 ? Wf(o) : Rn(i.getBoundingClientRect());
10329
+ return o.length > 0 ? od(o) : Rn(i.getBoundingClientRect());
10315
10330
  }, [n, r] = Me();
10316
10331
  return Ku(() => {
10317
10332
  const i = e.hostEl(), o = e.hostWindow.ResizeObserver;
@@ -10325,17 +10340,17 @@ function qf(e) {
10325
10340
  });
10326
10341
  }), { cardBounds: u, stackBounds: t, hostRect: n };
10327
10342
  }
10328
- function Kf(e, u) {
10343
+ function ld(e, u) {
10329
10344
  return Ru(() => {
10330
10345
  const t = Uo(e.hostWindow);
10331
10346
  if (t.length === 0) return !1;
10332
10347
  const n = e.hostEl();
10333
10348
  if (!n) return !1;
10334
10349
  const r = u.hostRect() ?? u.stackBounds() ?? n.getBoundingClientRect();
10335
- return r.width <= 0 || r.height <= 0 ? !1 : t.some((i) => Yf(i.bounds, r));
10350
+ return r.width <= 0 || r.height <= 0 ? !1 : t.some((i) => cd(i.bounds, r));
10336
10351
  });
10337
10352
  }
10338
- function Zf(e, u) {
10353
+ function fd(e, u) {
10339
10354
  var n, r;
10340
10355
  if (u.actionType === "secondary") {
10341
10356
  const i = (n = e == null ? void 0 : e.secondaryActions) == null ? void 0 : n[u.actionIndex];
@@ -10345,7 +10360,7 @@ function Zf(e, u) {
10345
10360
  const t = (r = e == null ? void 0 : e.actions) == null ? void 0 : r[u.actionIndex];
10346
10361
  t && (t.onClick(), t.keepOpen || ot(u.id));
10347
10362
  }
10348
- function jf(e, u, t) {
10363
+ function dd(e, u, t) {
10349
10364
  var n, r, i;
10350
10365
  switch (e.type) {
10351
10366
  case "scroll-stack":
@@ -10365,20 +10380,20 @@ function jf(e, u, t) {
10365
10380
  );
10366
10381
  break;
10367
10382
  case "open-external":
10368
- vo(e.url);
10383
+ Fo(e.url);
10369
10384
  break;
10370
10385
  case "dismiss-key":
10371
10386
  xi(e.key);
10372
10387
  break;
10373
10388
  case "remind-later":
10374
- mn(e.key, e.ttlMs);
10389
+ Tn(e.key, e.ttlMs);
10375
10390
  break;
10376
10391
  case "mute-source":
10377
10392
  yi(e.source, e.muted);
10378
10393
  break;
10379
10394
  }
10380
10395
  }
10381
- function Jf(e, u) {
10396
+ function Ed(e, u) {
10382
10397
  const t = (n) => u.items().find((r) => r.id === n);
10383
10398
  Ye(
10384
10399
  e.onNotificationOverlayClose((n) => {
@@ -10386,15 +10401,15 @@ function Jf(e, u) {
10386
10401
  })
10387
10402
  ), Ye(
10388
10403
  e.onNotificationOverlayAction((n) => {
10389
- u.isCurrent(n, !0) && Zf(t(n.id), n);
10404
+ u.isCurrent(n, !0) && fd(t(n.id), n);
10390
10405
  })
10391
10406
  ), Ye(
10392
10407
  e.onNotificationOverlayHover((n) => {
10393
- u.isCurrent(n) && Li(n.id, n.hovered);
10408
+ u.isCurrent(n) && ki(n.id, n.hovered);
10394
10409
  })
10395
10410
  ), Ye(
10396
10411
  e.onNotificationOverlayFocus((n) => {
10397
- u.isCurrent(n) && ki(n.id, n.focused);
10412
+ u.isCurrent(n) && Li(n.id, n.focused);
10398
10413
  })
10399
10414
  ), Ye(e.onNotificationOverlayPresented(u.onPresented)), Ye(
10400
10415
  e.onNotificationOverlayToggleExpanded((n) => {
@@ -10404,21 +10419,21 @@ function Jf(e, u) {
10404
10419
  e.onNotificationOverlayCommand((n) => {
10405
10420
  if (!u.isCurrent(n, n.type !== "scroll-stack")) return;
10406
10421
  const r = t(n.id);
10407
- r && jf(n, r, u);
10422
+ r && dd(n, r, u);
10408
10423
  })
10409
10424
  );
10410
10425
  }
10411
- function Qf(e) {
10426
+ function _d(e) {
10412
10427
  for (const u of e)
10413
- u.hovered && Li(u.id, !1), u.focused && ki(u.id, !1);
10428
+ u.hovered && ki(u.id, !1), u.focused && Li(u.id, !1);
10414
10429
  }
10415
- function ed(e, u, t, n) {
10430
+ function hd(e, u, t, n) {
10416
10431
  var c, s, l;
10417
10432
  const r = e.hostEl(), i = r ? u.stackBounds() ?? u.hostRect() ?? r.getBoundingClientRect() : void 0, o = (E) => {
10418
10433
  const d = r == null ? void 0 : r.ownerDocument.getElementById(`notification-card-${E}`);
10419
10434
  return Rn(d ? u.cardBounds(d) : void 0);
10420
10435
  };
10421
- return $f({
10436
+ return rd({
10422
10437
  visible: n.active,
10423
10438
  position: e.position(),
10424
10439
  width: e.width(),
@@ -10429,10 +10444,10 @@ function ed(e, u, t, n) {
10429
10444
  sequence: n.sequence,
10430
10445
  reduceMotion: e.reduceMotion(),
10431
10446
  animationDuration: e.animationDuration(),
10432
- bounds: Xf(Rn(i)),
10447
+ bounds: sd(Rn(i)),
10433
10448
  clipBounds: Rn(r == null ? void 0 : r.getBoundingClientRect()),
10434
10449
  items: e.visible().map(
10435
- (E) => zf(E, {
10450
+ (E) => nd(E, {
10436
10451
  revision: t.revisionOf(E),
10437
10452
  settings: e.settings(),
10438
10453
  bounds: o(E.id)
@@ -10440,16 +10455,16 @@ function ed(e, u, t, n) {
10440
10455
  )
10441
10456
  });
10442
10457
  }
10443
- function ud(e) {
10458
+ function bd(e) {
10444
10459
  const u = e.channel;
10445
10460
  if (u.kind === "none") return { nativeRendered: () => !1 };
10446
10461
  const t = u.port, n = Math.floor(
10447
10462
  performance.timeOrigin * 1e3 + performance.now()
10448
10463
  );
10449
10464
  let r = 0, i = !1;
10450
- const o = Vf(), c = qf(e), s = Kf(e, c), [l, E] = Me(!1), d = (b, p = !1) => e.ownsDisplay() && i && b.generation === n && b.sequence <= r && (!p || o.current(b.id) === b.itemRevision);
10465
+ const o = id(), c = ad(e), s = ld(e, c), [l, E] = Me(!1), d = (b, p = !1) => e.ownsDisplay() && i && b.generation === n && b.sequence <= r && (!p || o.current(b.id) === b.itemRevision);
10451
10466
  return pr(
10452
- () => Jf(t, {
10467
+ () => Ed(t, {
10453
10468
  ...e,
10454
10469
  isCurrent: d,
10455
10470
  onPresented: (b) => {
@@ -10459,9 +10474,9 @@ function ud(e) {
10459
10474
  ), Ku(() => {
10460
10475
  const b = e.visible(), p = e.ownsDisplay() && !e.isCenterOpen() && b.length > 0, h = s() && p, R = i;
10461
10476
  i = h, R && !h && queueMicrotask(() => {
10462
- i || Qf(e.items());
10477
+ i || _d(e.items());
10463
10478
  }), o.prune(e.items()), h || E(!1), t.setNotificationOverlay(
10464
- ed(e, c, o, {
10479
+ hd(e, c, o, {
10465
10480
  active: h,
10466
10481
  generation: n,
10467
10482
  sequence: ++r
@@ -10478,63 +10493,63 @@ function ud(e) {
10478
10493
  });
10479
10494
  }), { nativeRendered: l };
10480
10495
  }
10481
- const td = "vk_host_-dTTD", nd = "vk_scrollArea_FaEtH", rd = "vk_stack_4LHtI", id = "vk_enter_GAjwE", od = "vk_ackOverlay_1dc3n", cd = "vk_ackCenterWrap_ZPFTX", sd = "vk_ackQueueHint_HL0SL", Wu = {
10482
- host: td,
10483
- scrollArea: nd,
10484
- stack: rd,
10485
- enter: id,
10486
- ackOverlay: od,
10487
- ackCenterWrap: cd,
10488
- ackQueueHint: sd
10496
+ const pd = "vk_host_-dTTD", Ad = "vk_scrollArea_FaEtH", gd = "vk_stack_4LHtI", md = "vk_enter_GAjwE", Td = "vk_ackOverlay_1dc3n", Nd = "vk_ackCenterWrap_ZPFTX", Rd = "vk_ackQueueHint_HL0SL", Wu = {
10497
+ host: pd,
10498
+ scrollArea: Ad,
10499
+ stack: gd,
10500
+ enter: md,
10501
+ ackOverlay: Td,
10502
+ ackCenterWrap: Nd,
10503
+ ackQueueHint: Rd
10489
10504
  };
10490
- var ad = ["<div", ">", "</div>"], ld = ["<p", ">", "</p>"], fd = ["<div", ' role="alertdialog" aria-modal="true" aria-labelledby="', '"', "><div", ' id="', '">', "", "</div></div>"];
10491
- const b1 = (e) => {
10505
+ var Sd = ["<div", ">", "</div>"], Cd = ["<p", ">", "</p>"], Id = ["<div", ' role="alertdialog" aria-modal="true" aria-labelledby="', '"', "><div", ' id="', '">', "", "</div></div>"];
10506
+ const k1 = (e) => {
10492
10507
  var X;
10493
10508
  const u = Mo().window, t = dc(u);
10494
10509
  Ye(t.dispose);
10495
10510
  const [n, r] = xo({
10496
10511
  items: []
10497
- }), i = Kt.get(), [o, c] = Me(i), [s, l] = Me(), [E, d] = Me(i.toastPosition), b = () => E(), [p, h] = Me(i.notificationWidth), [R, D] = Me(i.maxVisibleNotifications), [w, y] = Me(i.animationDuration), [L, k] = Me(i.reduceMotion), [I, P] = Me(), [$, J] = Me(), oe = lr(Bo), Le = lr(Go), [ie, Ne] = Me(null), M = () => n.items.filter((C) => C.priority === "acknowledgment-required"), j = () => {
10512
+ }), i = Kt.get(), [o, c] = Me(i), [s, l] = Me(), [E, d] = Me(i.toastPosition), b = () => E(), [p, h] = Me(i.notificationWidth), [R, D] = Me(i.maxVisibleNotifications), [w, y] = Me(i.animationDuration), [k, L] = Me(i.reduceMotion), [I, P] = Me(), [$, J] = Me(), oe = lr(Bo), ke = lr(Go), [ie, Ne] = Me(null), M = () => n.items.filter((C) => C.priority === "acknowledgment-required"), j = () => {
10498
10513
  const C = Math.max(1, R()), ce = n.items.filter((ye) => ye.priority !== "acknowledgment-required");
10499
10514
  return ce.length <= C ? ce : ce.slice(ce.length - C);
10500
10515
  }, te = () => M()[0] ?? null, De = () => {
10501
10516
  var ce;
10502
- if (!oe || Le && Le.activePage() !== "sql") return !1;
10517
+ if (!oe || ke && ke.activePage() !== "sql") return !1;
10503
10518
  const C = oe.windows().find((ye) => ye.id === "notifications");
10504
10519
  return !C || C.type === "floating" ? !1 : ((ce = oe.activeWindowForEdge(C.anchor, C.isSplit)) == null ? void 0 : ce.id) === "notifications";
10505
10520
  }, We = (C) => {
10506
10521
  C && (c((ce) => ({
10507
10522
  ...ce,
10508
10523
  ...C
10509
- })), C.toastPosition && d(C.toastPosition), typeof C.notificationWidth == "number" && h(C.notificationWidth), typeof C.maxVisibleNotifications == "number" && D(C.maxVisibleNotifications), (C.animationDuration === "fast" || C.animationDuration === "normal" || C.animationDuration === "slow") && y(C.animationDuration), typeof C.reduceMotion == "boolean" && k(C.reduceMotion));
10524
+ })), C.toastPosition && d(C.toastPosition), typeof C.notificationWidth == "number" && h(C.notificationWidth), typeof C.maxVisibleNotifications == "number" && D(C.maxVisibleNotifications), (C.animationDuration === "fast" || C.animationDuration === "normal" || C.animationDuration === "slow") && y(C.animationDuration), typeof C.reduceMotion == "boolean" && L(C.reduceMotion));
10510
10525
  }, K = () => {
10511
- var ke;
10512
- const C = j(), ce = ie(), ye = ce !== null ? C[ce] : C[0], Fe = (ke = ye == null ? void 0 : ye.actions) == null ? void 0 : ke.find((Eu) => Eu.primary);
10513
- !ye || !Fe || (Fe.onClick(), Fe.keepOpen || ot(ye.id));
10526
+ var Le;
10527
+ const C = j(), ce = ie(), ye = ce !== null ? C[ce] : C[0], ve = (Le = ye == null ? void 0 : ye.actions) == null ? void 0 : Le.find((Eu) => Eu.primary);
10528
+ !ye || !ve || (ve.onClick(), ve.keepOpen || ot(ye.id));
10514
10529
  }, ne = () => {
10515
10530
  const C = j(), ce = ie();
10516
10531
  if (ce === null) return;
10517
10532
  const ye = C[ce];
10518
10533
  ye && (ot(ye.id), Ne(C.length <= 1 ? null : Math.min(ce, C.length - 2)));
10519
- }, Te = () => {
10534
+ }, me = () => {
10520
10535
  j().length !== 0 && (bc(n.items).forEach((C) => ot(C)), Ne(null));
10521
- }, Ee = lc(), Ue = Ee === null, me = /Mac OS X|Macintosh/i.test(((X = u.navigator) == null ? void 0 : X.userAgent) ?? ""), Au = (C) => {
10536
+ }, Ee = lc(), Ue = Ee === null, Te = /Mac OS X|Macintosh/i.test(((X = u.navigator) == null ? void 0 : X.userAgent) ?? ""), Au = (C) => {
10522
10537
  var Eu;
10523
10538
  const ce = j();
10524
10539
  if (ce.length === 0) return;
10525
10540
  if (Ue && !C.defaultPrevented && au(C, "Escape")) {
10526
- C.preventDefault(), Te();
10541
+ C.preventDefault(), me();
10527
10542
  return;
10528
10543
  }
10529
10544
  const ye = C.target;
10530
10545
  if (!ye || typeof ye.nodeType != "number" || !((Eu = I()) != null && Eu.contains(ye))) return;
10531
- const Fe = ie();
10546
+ const ve = ie();
10532
10547
  if (au(C, "ArrowDown") || au(C, "PageDown")) {
10533
- C.preventDefault(), Ne(Fe === null ? 0 : Math.min(ce.length - 1, Fe + 1));
10548
+ C.preventDefault(), Ne(ve === null ? 0 : Math.min(ce.length - 1, ve + 1));
10534
10549
  return;
10535
10550
  }
10536
10551
  if (au(C, "ArrowUp") || au(C, "PageUp")) {
10537
- C.preventDefault(), Ne(Fe === null ? ce.length - 1 : Math.max(0, Fe - 1));
10552
+ C.preventDefault(), Ne(ve === null ? ce.length - 1 : Math.max(0, ve - 1));
10538
10553
  return;
10539
10554
  }
10540
10555
  if (au(C, "Home")) {
@@ -10545,22 +10560,22 @@ const b1 = (e) => {
10545
10560
  C.preventDefault(), Ne(ce.length - 1);
10546
10561
  return;
10547
10562
  }
10548
- if (Fe === null) return;
10549
- const ke = ce[Fe];
10550
- if (ke) {
10551
- if (au(C, "ArrowRight") && !ke.expanded) {
10552
- C.preventDefault(), qt(ke.id);
10563
+ if (ve === null) return;
10564
+ const Le = ce[ve];
10565
+ if (Le) {
10566
+ if (au(C, "ArrowRight") && !Le.expanded) {
10567
+ C.preventDefault(), qt(Le.id);
10553
10568
  return;
10554
10569
  }
10555
- if (au(C, "ArrowLeft") && ke.expanded) {
10556
- C.preventDefault(), qt(ke.id);
10570
+ if (au(C, "ArrowLeft") && Le.expanded) {
10571
+ C.preventDefault(), qt(Le.id);
10557
10572
  return;
10558
10573
  }
10559
- if (Ue && !C.defaultPrevented && (au(C, "Delete") || me && au(C, "Backspace") && C.metaKey)) {
10574
+ if (Ue && !C.defaultPrevented && (au(C, "Delete") || Te && au(C, "Backspace") && C.metaKey)) {
10560
10575
  C.preventDefault(), ne();
10561
10576
  return;
10562
10577
  }
10563
- (C.key === " " || au(C, "Enter")) && (C.preventDefault(), qt(ke.id));
10578
+ (C.key === " " || au(C, "Enter")) && (C.preventDefault(), qt(Le.id));
10564
10579
  }
10565
10580
  };
10566
10581
  Mi(Kt, We), Ee && (fc({
@@ -10569,21 +10584,21 @@ const b1 = (e) => {
10569
10584
  containerRef: I
10570
10585
  }), Io(() => {
10571
10586
  Ee.contextKeys.setContext(Zu.notificationToastsVisible, t.ownsDisplay() && !De() && j().length > 0);
10572
- }), Ye(vf(Ee, {
10587
+ }), Ye(jf(Ee, {
10573
10588
  acceptPrimaryAction: K,
10574
10589
  clearFocused: ne,
10575
- hideToasts: Te
10590
+ hideToasts: me
10576
10591
  }))), pr(() => {
10577
10592
  const C = u.document.documentElement, ce = () => {
10578
- const ke = u.getComputedStyle(C), Eu = {};
10579
- for (let gu = 0; gu < ke.length; gu++) {
10580
- const Uu = ke.item(gu);
10581
- Uu.startsWith("--") && (Eu[Uu] = ke.getPropertyValue(Uu));
10593
+ const Le = u.getComputedStyle(C), Eu = {};
10594
+ for (let gu = 0; gu < Le.length; gu++) {
10595
+ const Uu = Le.item(gu);
10596
+ Uu.startsWith("--") && (Eu[Uu] = Le.getPropertyValue(Uu));
10582
10597
  }
10583
10598
  const Ju = {
10584
10599
  cssVariables: Eu,
10585
- fontFamily: ke.fontFamily,
10586
- fontSize: ke.fontSize,
10600
+ fontFamily: Le.fontFamily,
10601
+ fontSize: Le.fontSize,
10587
10602
  theme: C.classList.contains("light") ? "light" : "dark"
10588
10603
  };
10589
10604
  l((gu) => JSON.stringify(gu) === JSON.stringify(Ju) ? gu : Ju);
@@ -10594,21 +10609,21 @@ const b1 = (e) => {
10594
10609
  attributes: !0,
10595
10610
  attributeFilter: ["class", "style", "data-theme", "data-palette"]
10596
10611
  }), Ye(() => ye.disconnect());
10597
- const Fe = Po((ke) => {
10598
- r("items", Do(ke, {
10612
+ const ve = Po((Le) => {
10613
+ r("items", Do(Le, {
10599
10614
  key: "id",
10600
10615
  merge: !0
10601
10616
  }));
10602
10617
  });
10603
10618
  u.addEventListener("keydown", Au), Ye(() => {
10604
- Fe(), u.removeEventListener("keydown", Au);
10619
+ ve(), u.removeEventListener("keydown", Au);
10605
10620
  });
10606
10621
  }), Ku(() => {
10607
10622
  var C;
10608
10623
  (C = I()) == null || C.style.setProperty("--notif-width", `${p()}px`);
10609
10624
  });
10610
- const Pu = ud({
10611
- channel: e.overlay ?? Uf(),
10625
+ const Pu = bd({
10626
+ channel: e.overlay ?? Qf(),
10612
10627
  hostWindow: u,
10613
10628
  ownsDisplay: t.ownsDisplay,
10614
10629
  items: () => n.items,
@@ -10623,14 +10638,14 @@ const b1 = (e) => {
10623
10638
  position: E,
10624
10639
  width: p,
10625
10640
  appearance: s,
10626
- reduceMotion: L,
10641
+ reduceMotion: k,
10627
10642
  animationDuration: w,
10628
10643
  settings: o
10629
10644
  });
10630
10645
  return Ku(() => {
10631
10646
  const C = I();
10632
10647
  if (C) {
10633
- if (L()) {
10648
+ if (k()) {
10634
10649
  C.style.setProperty("--notif-anim-duration", "0ms");
10635
10650
  return;
10636
10651
  }
@@ -10646,7 +10661,7 @@ const b1 = (e) => {
10646
10661
  break;
10647
10662
  }
10648
10663
  }
10649
- }), ko({
10664
+ }), Lo({
10650
10665
  open: () => t.ownsDisplay() && te() !== null,
10651
10666
  onDismiss: () => {
10652
10667
  },
@@ -10689,7 +10704,7 @@ const b1 = (e) => {
10689
10704
  get each() {
10690
10705
  return j();
10691
10706
  },
10692
- children: (C, ce) => Ae(ad, Z("class", g(Wu.enter, !0), !1) + Z("data-focused", ie() === ce() ? "true" : "false", !1), g(G(Ri, nu({
10707
+ children: (C, ce) => Ae(Sd, Z("class", g(Wu.enter, !0), !1) + Z("data-focused", ie() === ce() ? "true" : "false", !1), g(G(Ri, nu({
10693
10708
  item: C
10694
10709
  }, () => C.isolated ? {
10695
10710
  isolated: !0
@@ -10710,7 +10725,7 @@ const b1 = (e) => {
10710
10725
  get when() {
10711
10726
  return Yu(() => !!t.ownsDisplay())() ? te() : null;
10712
10727
  },
10713
- children: (C) => Ae(fd, Z("class", g(Wu.ackOverlay, !0), !1), `notif-ack-${g(C.id, !0)}`, Z("data-ack-queue-size", M().length > 1 ? g(M().length, !0) : g(void 0, !0), !1), Z("class", g(Wu.ackCenterWrap, !0), !1), `notif-ack-${g(C.id, !0)}`, g(G(Ri, nu({
10728
+ children: (C) => Ae(Id, Z("class", g(Wu.ackOverlay, !0), !1), `notif-ack-${g(C.id, !0)}`, Z("data-ack-queue-size", M().length > 1 ? g(M().length, !0) : g(void 0, !0), !1), Z("class", g(Wu.ackCenterWrap, !0), !1), `notif-ack-${g(C.id, !0)}`, g(G(Ri, nu({
10714
10729
  item: C
10715
10730
  }, () => C.isolated ? {
10716
10731
  isolated: !0
@@ -10719,7 +10734,7 @@ const b1 = (e) => {
10719
10734
  return M().length > 1;
10720
10735
  },
10721
10736
  get children() {
10722
- return Ae(ld, Z("class", g(Wu.ackQueueHint, !0), !1), g(ae("+{count} pending acknowledgment", {
10737
+ return Ae(Cd, Z("class", g(Wu.ackQueueHint, !0), !1), g(ae("+{count} pending acknowledgment", {
10723
10738
  count: M().length - 1
10724
10739
  })));
10725
10740
  }
@@ -10727,23 +10742,23 @@ const b1 = (e) => {
10727
10742
  });
10728
10743
  }
10729
10744
  })];
10730
- }, dd = "vk_disclosure_ZxdKw", Ed = "vk_header_utVSq", _d = "vk_toggle_hOXHl vk_buttonReset_3WpyU", hd = "vk_chevron_wjXX7", bd = "vk_chevronOpen_GMDOS", pd = "vk_title_4Y1yZ vk_titleSm_IecPV", Ad = "vk_count_n7gb5", gd = "vk_actions_DHG-3", Td = "vk_body_QsVd1", Fu = {
10731
- disclosure: dd,
10732
- header: Ed,
10733
- toggle: _d,
10734
- chevron: hd,
10735
- chevronOpen: bd,
10736
- title: pd,
10737
- count: Ad,
10738
- actions: gd,
10739
- body: Td
10745
+ }, Od = "vk_disclosure_ZxdKw", xd = "vk_header_utVSq", Dd = "vk_toggle_hOXHl vk_buttonReset_3WpyU", yd = "vk_chevron_wjXX7", kd = "vk_chevronOpen_GMDOS", Ld = "vk_title_4Y1yZ vk_titleSm_IecPV", Md = "vk_count_n7gb5", wd = "vk_actions_DHG-3", vd = "vk_body_QsVd1", vu = {
10746
+ disclosure: Od,
10747
+ header: xd,
10748
+ toggle: Dd,
10749
+ chevron: yd,
10750
+ chevronOpen: kd,
10751
+ title: Ld,
10752
+ count: Md,
10753
+ actions: wd,
10754
+ body: vd
10740
10755
  };
10741
- var md = ['<span class="', '">', "</span>"], Nd = ["<div", ">", "</div>"], Rd = ["<div", ' class="', '">', "</div>"], Sd = ['<div class="', '"><div class="', '"><button type="button" class="', '"', ">", "", '<span class="', '">', "</span>", "</button>", "</div>", "</div>"];
10742
- function p1(e) {
10756
+ var Fd = ['<span class="', '">', "</span>"], Pd = ["<div", ">", "</div>"], Ud = ["<div", ' class="', '">', "</div>"], Bd = ['<div class="', '"><div class="', '"><button type="button" class="', '"', ">", "", '<span class="', '">', "</span>", "</button>", "</div>", "</div>"];
10757
+ function L1(e) {
10743
10758
  const u = () => e.open !== void 0, [t, n] = Me(e.defaultOpen ?? !0), r = () => u() ? e.open === !0 : t(), i = Oo();
10744
- return Ae(Sd, `${g(Fu.disclosure, !0)} ${g(e.class ?? "", !0)}`, `${g(Fu.header, !0)} ${g(e.headerClass ?? "", !0)}`, `${g(Fu.toggle, !0)} ${g(e.toggleClass ?? "", !0)}`, Z("aria-expanded", r() ? "true" : "false", !1) + Z("aria-controls", g(i, !0), !1) + Z("aria-label", g(e["aria-label"], !0), !1), g(G(Ec, {
10759
+ return Ae(Bd, `${g(vu.disclosure, !0)} ${g(e.class ?? "", !0)}`, `${g(vu.header, !0)} ${g(e.headerClass ?? "", !0)}`, `${g(vu.toggle, !0)} ${g(e.toggleClass ?? "", !0)}`, Z("aria-expanded", r() ? "true" : "false", !1) + Z("aria-controls", g(i, !0), !1) + Z("aria-label", g(e["aria-label"], !0), !1), g(G(Ec, {
10745
10760
  get class() {
10746
- return `${Fu.chevron} ${r() ? Fu.chevronOpen : ""} ${e.chevronClass ?? ""}`;
10761
+ return `${vu.chevron} ${r() ? vu.chevronOpen : ""} ${e.chevronClass ?? ""}`;
10747
10762
  },
10748
10763
  "aria-hidden": "true"
10749
10764
  })), g(G(xe, {
@@ -10753,30 +10768,30 @@ function p1(e) {
10753
10768
  get children() {
10754
10769
  return e.leadingIcon;
10755
10770
  }
10756
- })), `${g(Fu.title, !0)} ${g(e.titleClass ?? "", !0)}`, g(e.title), g(G(xe, {
10771
+ })), `${g(vu.title, !0)} ${g(e.titleClass ?? "", !0)}`, g(e.title), g(G(xe, {
10757
10772
  get when() {
10758
10773
  return e.count !== void 0;
10759
10774
  },
10760
10775
  get children() {
10761
- return Ae(md, `${g(Fu.count, !0)} ${g(e.countClass ?? "", !0)}`, g(e.count));
10776
+ return Ae(Fd, `${g(vu.count, !0)} ${g(e.countClass ?? "", !0)}`, g(e.count));
10762
10777
  }
10763
10778
  })), g(G(xe, {
10764
10779
  get when() {
10765
10780
  return e.actions !== void 0;
10766
10781
  },
10767
10782
  get children() {
10768
- return Ae(Nd, Z("class", g(Fu.actions, !0), !1), g(e.actions));
10783
+ return Ae(Pd, Z("class", g(vu.actions, !0), !1), g(e.actions));
10769
10784
  }
10770
10785
  })), g(G(xe, {
10771
10786
  get when() {
10772
10787
  return r();
10773
10788
  },
10774
10789
  get children() {
10775
- return Ae(Rd, Z("id", g(i, !0), !1), `${g(Fu.body, !0)} ${g(e.bodyClass ?? "", !0)}`, g(e.children));
10790
+ return Ae(Ud, Z("id", g(i, !0), !1), `${g(vu.body, !0)} ${g(e.bodyClass ?? "", !0)}`, g(e.children));
10776
10791
  }
10777
10792
  })));
10778
10793
  }
10779
- function Cd(e, u, t, n, r) {
10794
+ function Gd(e, u, t, n, r) {
10780
10795
  const o = (l, E, d) => Math.max(16, Math.min(l, d - E - 16));
10781
10796
  let c = (n - u) / 2, s = (r - t) / 2;
10782
10797
  return e && (e.left + e.width + u + 32 <= n ? (c = e.left + e.width + 16, s = e.top) : e.left >= u + 32 ? (c = e.left - u - 16, s = e.top) : e.top + e.height + t + 32 <= r ? s = e.top + e.height + 16 : e.top >= t + 32 && (s = e.top - t - 16)), {
@@ -10784,17 +10799,17 @@ function Cd(e, u, t, n, r) {
10784
10799
  top: o(s, t, r)
10785
10800
  };
10786
10801
  }
10787
- const Id = "vk_backdrop_CQkAS", Od = "vk_spotlight_zHC0Q", xd = "vk_footer_NYv6Q", Dd = "vk_progress_SPlxc", yd = "vk_actions_kpv1N", Ld = "vk_dot_b1cLk", kd = "vk_announcement_Hw72S", rt = {
10788
- backdrop: Id,
10789
- spotlight: Od,
10790
- footer: xd,
10791
- progress: Dd,
10792
- actions: yd,
10793
- dot: Ld,
10794
- announcement: kd
10802
+ const Hd = "vk_backdrop_CQkAS", zd = "vk_spotlight_zHC0Q", $d = "vk_footer_NYv6Q", Vd = "vk_progress_SPlxc", Wd = "vk_actions_kpv1N", Yd = "vk_dot_b1cLk", Xd = "vk_announcement_Hw72S", rt = {
10803
+ backdrop: Hd,
10804
+ spotlight: zd,
10805
+ footer: $d,
10806
+ progress: Vd,
10807
+ actions: Wd,
10808
+ dot: Yd,
10809
+ announcement: Xd
10795
10810
  };
10796
- var Md = ["<div", ' aria-live="polite" aria-atomic="true"><p>', "</p><span", ">", ": ", "</span></div>"], wd = ["<div", ' aria-hidden="true"></div>'], Fd = ["<div", ' aria-hidden="true" style="', '"></div>'], vd = ["<div", "><div", ">", "<span>", " / ", "</span></div><div", ">", "", "", "", "</div></div>"], Pd = ["<span", "></span>"];
10797
- function A1(e) {
10811
+ var qd = ["<div", ' aria-live="polite" aria-atomic="true"><p>', "</p><span", ">", ": ", "</span></div>"], Kd = ["<div", ' aria-hidden="true"></div>'], Zd = ["<div", ' aria-hidden="true" style="', '"></div>'], jd = ["<div", "><div", ">", "<span>", " / ", "</span></div><div", ">", "", "", "", "</div></div>"], Jd = ["<span", "></span>"];
10812
+ function M1(e) {
10798
10813
  const [u, t] = Me(null), [n, r] = Me({
10799
10814
  left: 16,
10800
10815
  top: 64
@@ -10818,9 +10833,9 @@ function A1(e) {
10818
10833
  width: Math.min(D.right, d.innerWidth) - Math.max(0, D.left),
10819
10834
  height: Math.min(D.bottom, d.innerHeight) - Math.max(0, D.top)
10820
10835
  } : null, y = w && w.width > 0 && w.height > 0 ? w : null;
10821
- t((k) => JSON.stringify(k) === JSON.stringify(y) ? k : y);
10822
- const L = Cd(y, (i == null ? void 0 : i.offsetWidth) ?? 440, (i == null ? void 0 : i.offsetHeight) ?? 280, d.innerWidth, d.innerHeight);
10823
- r((k) => k.left === L.left && k.top === L.top ? k : L);
10836
+ t((L) => JSON.stringify(L) === JSON.stringify(y) ? L : y);
10837
+ const k = Gd(y, (i == null ? void 0 : i.offsetWidth) ?? 440, (i == null ? void 0 : i.offsetHeight) ?? 280, d.innerWidth, d.innerHeight);
10838
+ r((L) => L.left === k.left && L.top === k.top ? L : k);
10824
10839
  }, h = () => {
10825
10840
  b === 0 && (b = d.requestAnimationFrame(() => {
10826
10841
  b = 0, p();
@@ -10865,13 +10880,13 @@ function A1(e) {
10865
10880
  return u();
10866
10881
  },
10867
10882
  get fallback() {
10868
- return Ae(wd, Z("class", g(rt.backdrop, !0), !1));
10883
+ return Ae(Kd, Z("class", g(rt.backdrop, !0), !1));
10869
10884
  },
10870
- children: (d) => Ae(Fd, Z("class", g(rt.spotlight, !0), !1), Xt("left:", `${g(d().left, !0)}px`) + Xt(";top:", `${g(d().top, !0)}px`) + Xt(";width:", `${g(d().width, !0)}px`) + Xt(";height:", `${g(d().height, !0)}px`))
10885
+ children: (d) => Ae(Zd, Z("class", g(rt.spotlight, !0), !1), Xt("left:", `${g(d().left, !0)}px`) + Xt(";top:", `${g(d().top, !0)}px`) + Xt(";width:", `${g(d().width, !0)}px`) + Xt(";height:", `${g(d().height, !0)}px`))
10871
10886
  });
10872
10887
  },
10873
10888
  get footer() {
10874
- return Ae(vd, Z("class", g(rt.footer, !0), !1), Z("class", g(rt.progress, !0), !1) + Z("aria-label", g(ae("Tour progress"), !0), !1), g(G(br, {
10889
+ return Ae(jd, Z("class", g(rt.footer, !0), !1), Z("class", g(rt.progress, !0), !1) + Z("aria-label", g(ae("Tour progress"), !0), !1), g(G(br, {
10875
10890
  get each() {
10876
10891
  return e.steps;
10877
10892
  },
@@ -10890,7 +10905,7 @@ function A1(e) {
10890
10905
  },
10891
10906
  onClick: () => e.onSelect(b()),
10892
10907
  get children() {
10893
- return Ae(Pd, Z("class", g(rt.dot, !0), !1) + Z("data-current", g(b(), !0) === g(e.index, !0), !1));
10908
+ return Ae(Jd, Z("class", g(rt.dot, !0), !1) + Z("data-current", g(b(), !0) === g(e.index, !0), !1));
10894
10909
  }
10895
10910
  })
10896
10911
  })), g(e.index) + 1, g(e.steps.length), Z("class", g(rt.actions, !0), !1), g(G(xe, {
@@ -10938,7 +10953,7 @@ function A1(e) {
10938
10953
  },
10939
10954
  get children() {
10940
10955
  var d;
10941
- return Ae(Md, Z("data-page-tour-step", g((d = s()) == null ? void 0 : d.id, !0), !1), g(E()), Z("class", g(rt.announcement, !0), !1), g(ae("Step {number} of {total}", {
10956
+ return Ae(qd, Z("data-page-tour-step", g((d = s()) == null ? void 0 : d.id, !0), !1), g(E()), Z("class", g(rt.announcement, !0), !1), g(ae("Step {number} of {total}", {
10942
10957
  number: String(e.index + 1),
10943
10958
  total: String(e.steps.length)
10944
10959
  })), g(l()));
@@ -10948,19 +10963,20 @@ function A1(e) {
10948
10963
  export {
10949
10964
  Si as A,
10950
10965
  Ci as C,
10951
- p1 as D,
10952
- A1 as G,
10966
+ L1 as D,
10967
+ M1 as G,
10953
10968
  ar as H,
10954
- Pf as N,
10955
- jl as P,
10956
- b1 as a,
10969
+ Jf as N,
10970
+ Ef as P,
10971
+ k1 as a,
10957
10972
  Ri as b,
10958
- Uf as c,
10973
+ Qf as c,
10959
10974
  bc as d,
10960
- vf as e,
10961
- Xl as f,
10975
+ jf as e,
10976
+ af as f,
10962
10977
  xl as g,
10963
10978
  Cl as h,
10964
- Cd as p,
10965
- h1 as r
10979
+ fu as i,
10980
+ Gd as p,
10981
+ y1 as r
10966
10982
  };