@everymatrix/cashier-session-expiration-modal 1.54.10 → 1.54.12

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.
@@ -1,4 +1,4 @@
1
- function he() {
1
+ function pe() {
2
2
  }
3
3
  const kr = (e) => e;
4
4
  function ki(e, t) {
@@ -34,7 +34,7 @@ function zr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const r of t)
36
36
  r(void 0);
37
- return he;
37
+ return pe;
38
38
  }
39
39
  const n = e.subscribe(...t);
40
40
  return n.unsubscribe ? () => n.unsubscribe() : n;
@@ -82,7 +82,7 @@ function Pt(e) {
82
82
  return -1;
83
83
  }
84
84
  const Wr = typeof window < "u";
85
- let zi = Wr ? () => window.performance.now() : () => Date.now(), Hn = Wr ? (e) => requestAnimationFrame(e) : he;
85
+ let zi = Wr ? () => window.performance.now() : () => Date.now(), Hn = Wr ? (e) => requestAnimationFrame(e) : pe;
86
86
  const Ze = /* @__PURE__ */ new Set();
87
87
  function Zr(e) {
88
88
  Ze.forEach((t) => {
@@ -100,13 +100,13 @@ function ji(e) {
100
100
  }
101
101
  };
102
102
  }
103
- function q(e, t) {
103
+ function $(e, t) {
104
104
  e.appendChild(t);
105
105
  }
106
106
  function Wi(e, t, n) {
107
107
  const r = Nn(e);
108
108
  if (!r.getElementById(t)) {
109
- const i = K("style");
109
+ const i = te("style");
110
110
  i.id = t, i.textContent = n, Vr(r, i);
111
111
  }
112
112
  }
@@ -120,23 +120,23 @@ function Nn(e) {
120
120
  ) : e.ownerDocument;
121
121
  }
122
122
  function Zi(e) {
123
- const t = K("style");
123
+ const t = te("style");
124
124
  return t.textContent = "/* empty */", Vr(Nn(e), t), t.sheet;
125
125
  }
126
126
  function Vr(e, t) {
127
- return q(
127
+ return $(
128
128
  /** @type {Document} */
129
129
  e.head || e,
130
130
  t
131
131
  ), t.sheet;
132
132
  }
133
- function we(e, t, n) {
133
+ function Ae(e, t, n) {
134
134
  e.insertBefore(t, n || null);
135
135
  }
136
- function me(e) {
136
+ function be(e) {
137
137
  e.parentNode && e.parentNode.removeChild(e);
138
138
  }
139
- function K(e) {
139
+ function te(e) {
140
140
  return document.createElement(e);
141
141
  }
142
142
  function rr(e) {
@@ -178,7 +178,7 @@ function Xi() {
178
178
  }
179
179
  function Ji(e, t) {
180
180
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
181
- const r = K("iframe");
181
+ const r = te("iframe");
182
182
  r.setAttribute(
183
183
  "style",
184
184
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -194,8 +194,8 @@ function Ji(e, t) {
194
194
  }
195
195
  )) : (r.src = "about:blank", r.onload = () => {
196
196
  s = Ut(r.contentWindow, "resize", t), t();
197
- }), q(e, r), () => {
198
- (i || s && r.contentWindow) && s(), me(r);
197
+ }), $(e, r), () => {
198
+ (i || s && r.contentWindow) && s(), be(r);
199
199
  };
200
200
  }
201
201
  function Yi(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
@@ -226,13 +226,13 @@ function ir(e, t, n, r, i, s, l, a = 0) {
226
226
  let u = `{
227
227
  `;
228
228
  for (let M = 0; M <= 1; M += c) {
229
- const j = t + (n - t) * s(M);
230
- u += M * 100 + `%{${l(j, 1 - j)}}
229
+ const W = t + (n - t) * s(M);
230
+ u += M * 100 + `%{${l(W, 1 - W)}}
231
231
  `;
232
232
  }
233
233
  const h = u + `100% {${l(n, 1 - n)}}
234
- }`, g = `__svelte_${Qi(h)}_${a}`, T = Nn(e), { stylesheet: C, rules: E } = kt.get(T) || Ki(T, e);
235
- E[g] || (E[g] = !0, C.insertRule(`@keyframes ${g} ${h}`, C.cssRules.length));
234
+ }`, g = `__svelte_${Qi(h)}_${a}`, T = Nn(e), { stylesheet: C, rules: y } = kt.get(T) || Ki(T, e);
235
+ y[g] || (y[g] = !0, C.insertRule(`@keyframes ${g} ${h}`, C.cssRules.length));
236
236
  const m = e.style.animation || "";
237
237
  return e.style.animation = `${m ? `${m}, ` : ""}${g} ${r}ms linear ${i}ms 1 both`, Gt += 1, g;
238
238
  }
@@ -247,7 +247,7 @@ function es() {
247
247
  Hn(() => {
248
248
  Gt || (kt.forEach((e) => {
249
249
  const { ownerNode: t } = e.stylesheet;
250
- t && me(t);
250
+ t && be(t);
251
251
  }), kt.clear());
252
252
  });
253
253
  }
@@ -270,14 +270,14 @@ let Ve = [];
270
270
  const sr = [], rs = /* @__PURE__ */ Promise.resolve();
271
271
  let yn = !1;
272
272
  function is() {
273
- yn || (yn = !0, rs.then(ce));
273
+ yn || (yn = !0, rs.then(me));
274
274
  }
275
275
  function Xe(e) {
276
276
  Ve.push(e);
277
277
  }
278
278
  const sn = /* @__PURE__ */ new Set();
279
279
  let ze = 0;
280
- function ce() {
280
+ function me() {
281
281
  if (ze !== 0)
282
282
  return;
283
283
  const e = pt;
@@ -322,25 +322,25 @@ function on(e, t, n) {
322
322
  e.dispatchEvent(Yi(`${t ? "intro" : "outro"}${n}`));
323
323
  }
324
324
  const Rt = /* @__PURE__ */ new Set();
325
- let Oe;
325
+ let Ce;
326
326
  function Yr() {
327
- Oe = {
327
+ Ce = {
328
328
  r: 0,
329
329
  c: [],
330
- p: Oe
330
+ p: Ce
331
331
  // parent group
332
332
  };
333
333
  }
334
334
  function qr() {
335
- Oe.r || Pe(Oe.c), Oe = Oe.p;
335
+ Ce.r || Pe(Ce.c), Ce = Ce.p;
336
336
  }
337
- function Se(e, t) {
337
+ function we(e, t) {
338
338
  e && e.i && (Rt.delete(e), e.i(t));
339
339
  }
340
340
  function He(e, t, n, r) {
341
341
  if (e && e.o) {
342
342
  if (Rt.has(e)) return;
343
- Rt.add(e), Oe.c.push(() => {
343
+ Rt.add(e), Ce.c.push(() => {
344
344
  Rt.delete(e), r && (n && e.d(1), r());
345
345
  }), e.o(t);
346
346
  } else r && r();
@@ -351,58 +351,58 @@ function or(e, t, n, r) {
351
351
  function g() {
352
352
  u && $i(e, u);
353
353
  }
354
- function T(E, m) {
354
+ function T(y, m) {
355
355
  const M = (
356
356
  /** @type {Program['d']} */
357
- E.b - l
357
+ y.b - l
358
358
  );
359
359
  return m *= Math.abs(M), {
360
360
  a: l,
361
- b: E.b,
361
+ b: y.b,
362
362
  d: M,
363
363
  duration: m,
364
- start: E.start,
365
- end: E.start + m,
366
- group: E.group
364
+ start: y.start,
365
+ end: y.start + m,
366
+ group: y.group
367
367
  };
368
368
  }
369
- function C(E) {
369
+ function C(y) {
370
370
  const {
371
371
  delay: m = 0,
372
372
  duration: M = 300,
373
- easing: j = kr,
374
- tick: R = he,
373
+ easing: W = kr,
374
+ tick: P = pe,
375
375
  css: A
376
- } = s || ls, L = {
376
+ } = s || ls, R = {
377
377
  start: zi() + m,
378
- b: E
378
+ b: y
379
379
  };
380
- E || (L.group = Oe, Oe.r += 1), "inert" in e && (E ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
381
- e.inert, e.inert = !0)), a || c ? c = L : (A && (g(), u = ir(e, l, E, M, m, j, A)), E && R(0, 1), a = T(L, M), Xe(() => on(e, E, "start")), ji((D) => {
382
- if (c && D > c.start && (a = T(c, M), c = null, on(e, a.b, "start"), A && (g(), u = ir(
380
+ y || (R.group = Ce, Ce.r += 1), "inert" in e && (y ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
381
+ e.inert, e.inert = !0)), a || c ? c = R : (A && (g(), u = ir(e, l, y, M, m, W, A)), y && P(0, 1), a = T(R, M), Xe(() => on(e, y, "start")), ji((I) => {
382
+ if (c && I > c.start && (a = T(c, M), c = null, on(e, a.b, "start"), A && (g(), u = ir(
383
383
  e,
384
384
  l,
385
385
  a.b,
386
386
  a.duration,
387
387
  0,
388
- j,
388
+ W,
389
389
  s.css
390
390
  ))), a) {
391
- if (D >= a.end)
392
- R(l = a.b, 1 - l), on(e, a.b, "end"), c || (a.b ? g() : --a.group.r || Pe(a.group.c)), a = null;
393
- else if (D >= a.start) {
394
- const z = D - a.start;
395
- l = a.a + a.d * j(z / a.duration), R(l, 1 - l);
391
+ if (I >= a.end)
392
+ P(l = a.b, 1 - l), on(e, a.b, "end"), c || (a.b ? g() : --a.group.r || Pe(a.group.c)), a = null;
393
+ else if (I >= a.start) {
394
+ const j = I - a.start;
395
+ l = a.a + a.d * W(j / a.duration), P(l, 1 - l);
396
396
  }
397
397
  }
398
398
  return !!(a || c);
399
399
  }));
400
400
  }
401
401
  return {
402
- run(E) {
402
+ run(y) {
403
403
  Zt(s) ? as().then(() => {
404
- s = s({ direction: E ? "in" : "out" }), C(E);
405
- }) : C(E);
404
+ s = s({ direction: y ? "in" : "out" }), C(y);
405
+ }) : C(y);
406
406
  },
407
407
  end() {
408
408
  g(), a = c = null;
@@ -431,7 +431,7 @@ function fs(e, t, n, r, i, s, l = null, a = [-1]) {
431
431
  ctx: [],
432
432
  // state
433
433
  props: s,
434
- update: he,
434
+ update: pe,
435
435
  not_equal: i,
436
436
  bound: nr(),
437
437
  // lifecycle
@@ -450,15 +450,15 @@ function fs(e, t, n, r, i, s, l = null, a = [-1]) {
450
450
  l && l(u.root);
451
451
  let h = !1;
452
452
  if (u.ctx = n ? n(e, t.props || {}, (g, T, ...C) => {
453
- const E = C.length ? C[0] : T;
454
- return u.ctx && i(u.ctx[g], u.ctx[g] = E) && (!u.skip_bound && u.bound[g] && u.bound[g](E), h && hs(e, g)), T;
453
+ const y = C.length ? C[0] : T;
454
+ return u.ctx && i(u.ctx[g], u.ctx[g] = y) && (!u.skip_bound && u.bound[g] && u.bound[g](y), h && hs(e, g)), T;
455
455
  }) : [], u.update(), h = !0, Pe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
456
456
  if (t.hydrate) {
457
457
  const g = Vi(t.target);
458
- u.fragment && u.fragment.l(g), g.forEach(me);
458
+ u.fragment && u.fragment.l(g), g.forEach(be);
459
459
  } else
460
460
  u.fragment && u.fragment.c();
461
- t.intro && Se(e.$$.fragment), us(e, t.target, t.anchor), ce();
461
+ t.intro && we(e.$$.fragment), us(e, t.target, t.anchor), me();
462
462
  }
463
463
  mt(c);
464
464
  }
@@ -505,17 +505,17 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
505
505
  let s;
506
506
  return {
507
507
  c: function() {
508
- s = K("slot"), i !== "default" && G(s, "name", i);
508
+ s = te("slot"), i !== "default" && G(s, "name", i);
509
509
  },
510
510
  /**
511
511
  * @param {HTMLElement} target
512
512
  * @param {HTMLElement} [anchor]
513
513
  */
514
514
  m: function(c, u) {
515
- we(c, s, u);
515
+ Ae(c, s, u);
516
516
  },
517
517
  d: function(c) {
518
- c && me(s);
518
+ c && be(s);
519
519
  }
520
520
  };
521
521
  };
@@ -657,7 +657,7 @@ class ps {
657
657
  $$set = void 0;
658
658
  /** @returns {void} */
659
659
  $destroy() {
660
- cs(this, 1), this.$destroy = he;
660
+ cs(this, 1), this.$destroy = pe;
661
661
  }
662
662
  /**
663
663
  * @template {Extract<keyof Events, string>} K
@@ -667,7 +667,7 @@ class ps {
667
667
  */
668
668
  $on(t, n) {
669
669
  if (!Zt(n))
670
- return he;
670
+ return pe;
671
671
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
672
672
  return r.push(n), () => {
673
673
  const i = r.indexOf(n);
@@ -699,7 +699,7 @@ function gs(e, t) {
699
699
  subscribe: Xt(e, t).subscribe
700
700
  };
701
701
  }
702
- function Xt(e, t = he) {
702
+ function Xt(e, t = pe) {
703
703
  let n;
704
704
  const r = /* @__PURE__ */ new Set();
705
705
  function i(a) {
@@ -717,9 +717,9 @@ function Xt(e, t = he) {
717
717
  function s(a) {
718
718
  i(a(e));
719
719
  }
720
- function l(a, c = he) {
720
+ function l(a, c = pe) {
721
721
  const u = [a, c];
722
- return r.add(u), r.size === 1 && (n = t(i, s) || he), a(e), () => {
722
+ return r.add(u), r.size === 1 && (n = t(i, s) || pe), a(e), () => {
723
723
  r.delete(u), r.size === 0 && n && (n(), n = null);
724
724
  };
725
725
  }
@@ -733,16 +733,16 @@ function $e(e, t, n) {
733
733
  return gs(n, (l, a) => {
734
734
  let c = !1;
735
735
  const u = [];
736
- let h = 0, g = he;
736
+ let h = 0, g = pe;
737
737
  const T = () => {
738
738
  if (h)
739
739
  return;
740
740
  g();
741
- const E = t(r ? u[0] : u, l, a);
742
- s ? l(E) : g = Zt(E) ? E : he;
741
+ const y = t(r ? u[0] : u, l, a);
742
+ s ? l(y) : g = Zt(y) ? y : pe;
743
743
  }, C = i.map(
744
- (E, m) => zr(
745
- E,
744
+ (y, m) => zr(
745
+ y,
746
746
  (M) => {
747
747
  u[m] = M, h &= ~(1 << m), c && T();
748
748
  },
@@ -847,14 +847,14 @@ function Jt(e, t) {
847
847
  }
848
848
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
849
849
  }
850
- var F = function() {
851
- return F = Object.assign || function(t) {
850
+ var z = function() {
851
+ return z = Object.assign || function(t) {
852
852
  for (var n, r = 1, i = arguments.length; r < i; r++) {
853
853
  n = arguments[r];
854
854
  for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
855
855
  }
856
856
  return t;
857
- }, F.apply(this, arguments);
857
+ }, z.apply(this, arguments);
858
858
  };
859
859
  function Ps(e, t) {
860
860
  var n = {};
@@ -921,40 +921,40 @@ var Bs = function() {
921
921
  (function(e) {
922
922
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
923
923
  })(U || (U = {}));
924
- var X;
924
+ var J;
925
925
  (function(e) {
926
926
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
927
- })(X || (X = {}));
927
+ })(J || (J = {}));
928
928
  var Ye;
929
929
  (function(e) {
930
930
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
931
931
  })(Ye || (Ye = {}));
932
932
  function ur(e) {
933
- return e.type === X.literal;
933
+ return e.type === J.literal;
934
934
  }
935
935
  function Gs(e) {
936
- return e.type === X.argument;
936
+ return e.type === J.argument;
937
937
  }
938
938
  function ni(e) {
939
- return e.type === X.number;
939
+ return e.type === J.number;
940
940
  }
941
941
  function ri(e) {
942
- return e.type === X.date;
942
+ return e.type === J.date;
943
943
  }
944
944
  function ii(e) {
945
- return e.type === X.time;
945
+ return e.type === J.time;
946
946
  }
947
947
  function si(e) {
948
- return e.type === X.select;
948
+ return e.type === J.select;
949
949
  }
950
950
  function oi(e) {
951
- return e.type === X.plural;
951
+ return e.type === J.plural;
952
952
  }
953
953
  function Fs(e) {
954
- return e.type === X.pound;
954
+ return e.type === J.pound;
955
955
  }
956
956
  function ai(e) {
957
- return e.type === X.tag;
957
+ return e.type === J.tag;
958
958
  }
959
959
  function li(e) {
960
960
  return !!(e && typeof e == "object" && e.type === Ye.number);
@@ -1176,13 +1176,13 @@ function Ys(e) {
1176
1176
  t.notation = "compact", t.compactDisplay = "long";
1177
1177
  continue;
1178
1178
  case "scientific":
1179
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1180
- return F(F({}, c), fr(u));
1179
+ t = z(z(z({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1180
+ return z(z({}, c), fr(u));
1181
1181
  }, {}));
1182
1182
  continue;
1183
1183
  case "engineering":
1184
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1185
- return F(F({}, c), fr(u));
1184
+ t = z(z(z({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1185
+ return z(z({}, c), fr(u));
1186
1186
  }, {}));
1187
1187
  continue;
1188
1188
  case "notation-simple":
@@ -1251,17 +1251,17 @@ function Ys(e) {
1251
1251
  return h === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : T && C ? (t.minimumFractionDigits = T.length, t.maximumFractionDigits = T.length + C.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1252
1252
  });
1253
1253
  var s = i.options[0];
1254
- s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), hr(s)));
1254
+ s === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = z(z({}, t), hr(s)));
1255
1255
  continue;
1256
1256
  }
1257
1257
  if (ci.test(i.stem)) {
1258
- t = F(F({}, t), hr(i.stem));
1258
+ t = z(z({}, t), hr(i.stem));
1259
1259
  continue;
1260
1260
  }
1261
1261
  var l = fi(i.stem);
1262
- l && (t = F(F({}, t), l));
1262
+ l && (t = z(z({}, t), l));
1263
1263
  var a = Js(i.stem);
1264
- a && (t = F(F({}, t), a));
1264
+ a && (t = z(z({}, t), a));
1265
1265
  }
1266
1266
  return t;
1267
1267
  }
@@ -2845,7 +2845,7 @@ var ho = (
2845
2845
  if (s === 35 && (n === "plural" || n === "selectordinal")) {
2846
2846
  var a = this.clonePosition();
2847
2847
  this.bump(), i.push({
2848
- type: X.pound,
2848
+ type: J.pound,
2849
2849
  location: k(a, this.clonePosition())
2850
2850
  });
2851
2851
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2873,7 +2873,7 @@ var ho = (
2873
2873
  if (this.bumpSpace(), this.bumpIf("/>"))
2874
2874
  return {
2875
2875
  val: {
2876
- type: X.literal,
2876
+ type: J.literal,
2877
2877
  value: "<".concat(i, "/>"),
2878
2878
  location: k(r, this.clonePosition())
2879
2879
  },
@@ -2890,7 +2890,7 @@ var ho = (
2890
2890
  var c = this.clonePosition(), u = this.parseTagName();
2891
2891
  return i !== u ? this.error(U.UNMATCHED_CLOSING_TAG, k(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2892
2892
  val: {
2893
- type: X.tag,
2893
+ type: J.tag,
2894
2894
  value: i,
2895
2895
  children: l,
2896
2896
  location: k(r, this.clonePosition())
@@ -2927,7 +2927,7 @@ var ho = (
2927
2927
  }
2928
2928
  var c = k(r, this.clonePosition());
2929
2929
  return {
2930
- val: { type: X.literal, value: i, location: c },
2930
+ val: { type: J.literal, value: i, location: c },
2931
2931
  err: null
2932
2932
  };
2933
2933
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2987,7 +2987,7 @@ var ho = (
2987
2987
  case 125:
2988
2988
  return this.bump(), {
2989
2989
  val: {
2990
- type: X.argument,
2990
+ type: J.argument,
2991
2991
  // value does not include the opening and closing braces.
2992
2992
  value: i,
2993
2993
  location: k(r, this.clonePosition())
@@ -3025,38 +3025,38 @@ var ho = (
3025
3025
  var C = k(h, this.clonePosition());
3026
3026
  u = { style: T, styleLocation: C };
3027
3027
  }
3028
- var E = this.tryParseArgumentClose(i);
3029
- if (E.err)
3030
- return E;
3028
+ var y = this.tryParseArgumentClose(i);
3029
+ if (y.err)
3030
+ return y;
3031
3031
  var m = k(i, this.clonePosition());
3032
3032
  if (u && mr(u?.style, "::", 0)) {
3033
3033
  var M = uo(u.style.slice(2));
3034
3034
  if (a === "number") {
3035
3035
  var g = this.parseNumberSkeletonFromString(M, u.styleLocation);
3036
3036
  return g.err ? g : {
3037
- val: { type: X.number, value: r, location: m, style: g.val },
3037
+ val: { type: J.number, value: r, location: m, style: g.val },
3038
3038
  err: null
3039
3039
  };
3040
3040
  } else {
3041
3041
  if (M.length === 0)
3042
3042
  return this.error(U.EXPECT_DATE_TIME_SKELETON, m);
3043
- var j = M;
3044
- this.locale && (j = qs(M, this.locale));
3043
+ var W = M;
3044
+ this.locale && (W = qs(M, this.locale));
3045
3045
  var T = {
3046
3046
  type: Ye.dateTime,
3047
- pattern: j,
3047
+ pattern: W,
3048
3048
  location: u.styleLocation,
3049
- parsedOptions: this.shouldParseSkeletons ? js(j) : {}
3050
- }, R = a === "date" ? X.date : X.time;
3049
+ parsedOptions: this.shouldParseSkeletons ? js(W) : {}
3050
+ }, P = a === "date" ? J.date : J.time;
3051
3051
  return {
3052
- val: { type: R, value: r, location: m, style: T },
3052
+ val: { type: P, value: r, location: m, style: T },
3053
3053
  err: null
3054
3054
  };
3055
3055
  }
3056
3056
  }
3057
3057
  return {
3058
3058
  val: {
3059
- type: a === "number" ? X.number : a === "date" ? X.date : X.time,
3059
+ type: a === "number" ? J.number : a === "date" ? J.date : J.time,
3060
3060
  value: r,
3061
3061
  location: m,
3062
3062
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3069,41 +3069,41 @@ var ho = (
3069
3069
  case "select": {
3070
3070
  var A = this.clonePosition();
3071
3071
  if (this.bumpSpace(), !this.bumpIf(","))
3072
- return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, F({}, A)));
3072
+ return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, z({}, A)));
3073
3073
  this.bumpSpace();
3074
- var L = this.parseIdentifierIfPossible(), D = 0;
3075
- if (a !== "select" && L.value === "offset") {
3074
+ var R = this.parseIdentifierIfPossible(), I = 0;
3075
+ if (a !== "select" && R.value === "offset") {
3076
3076
  if (!this.bumpIf(":"))
3077
3077
  return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
3078
3078
  this.bumpSpace();
3079
3079
  var g = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3080
3080
  if (g.err)
3081
3081
  return g;
3082
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), D = g.val;
3082
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), I = g.val;
3083
3083
  }
3084
- var z = this.tryParsePluralOrSelectOptions(t, a, n, L);
3085
- if (z.err)
3086
- return z;
3087
- var E = this.tryParseArgumentClose(i);
3088
- if (E.err)
3089
- return E;
3090
- var J = k(i, this.clonePosition());
3084
+ var j = this.tryParsePluralOrSelectOptions(t, a, n, R);
3085
+ if (j.err)
3086
+ return j;
3087
+ var y = this.tryParseArgumentClose(i);
3088
+ if (y.err)
3089
+ return y;
3090
+ var Y = k(i, this.clonePosition());
3091
3091
  return a === "select" ? {
3092
3092
  val: {
3093
- type: X.select,
3093
+ type: J.select,
3094
3094
  value: r,
3095
- options: pr(z.val),
3096
- location: J
3095
+ options: pr(j.val),
3096
+ location: Y
3097
3097
  },
3098
3098
  err: null
3099
3099
  } : {
3100
3100
  val: {
3101
- type: X.plural,
3101
+ type: J.plural,
3102
3102
  value: r,
3103
- options: pr(z.val),
3104
- offset: D,
3103
+ options: pr(j.val),
3104
+ offset: I,
3105
3105
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3106
- location: J
3106
+ location: Y
3107
3107
  },
3108
3108
  err: null
3109
3109
  };
@@ -3182,16 +3182,16 @@ var ho = (
3182
3182
  var C = this.clonePosition();
3183
3183
  if (!this.bumpIf("{"))
3184
3184
  return this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
3185
- var E = this.parseMessage(t + 1, n, r);
3186
- if (E.err)
3187
- return E;
3185
+ var y = this.parseMessage(t + 1, n, r);
3186
+ if (y.err)
3187
+ return y;
3188
3188
  var m = this.tryParseArgumentClose(C);
3189
3189
  if (m.err)
3190
3190
  return m;
3191
3191
  a.push([
3192
3192
  u,
3193
3193
  {
3194
- value: E.val,
3194
+ value: y.val,
3195
3195
  location: k(C, this.clonePosition())
3196
3196
  }
3197
3197
  ]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
@@ -3298,7 +3298,7 @@ function _n(e) {
3298
3298
  });
3299
3299
  }
3300
3300
  function go(e, t) {
3301
- t === void 0 && (t = {}), t = F({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3301
+ t === void 0 && (t = {}), t = z({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3302
3302
  var n = new ho(e, t).parse();
3303
3303
  if (n.err) {
3304
3304
  var r = SyntaxError(U[n.err.kind]);
@@ -3349,14 +3349,14 @@ var Yt = (
3349
3349
  }
3350
3350
  return t;
3351
3351
  }(Yt)
3352
- ), oe;
3352
+ ), ce;
3353
3353
  (function(e) {
3354
3354
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3355
- })(oe || (oe = {}));
3355
+ })(ce || (ce = {}));
3356
3356
  function yo(e) {
3357
3357
  return e.length < 2 ? e : e.reduce(function(t, n) {
3358
3358
  var r = t[t.length - 1];
3359
- return !r || r.type !== oe.literal || n.type !== oe.literal ? t.push(n) : r.value += n.value, t;
3359
+ return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
3360
3360
  }, []);
3361
3361
  }
3362
3362
  function To(e) {
@@ -3366,7 +3366,7 @@ function It(e, t, n, r, i, s, l) {
3366
3366
  if (e.length === 1 && ur(e[0]))
3367
3367
  return [
3368
3368
  {
3369
- type: oe.literal,
3369
+ type: ce.literal,
3370
3370
  value: e[0].value
3371
3371
  }
3372
3372
  ];
@@ -3374,14 +3374,14 @@ function It(e, t, n, r, i, s, l) {
3374
3374
  var h = u[c];
3375
3375
  if (ur(h)) {
3376
3376
  a.push({
3377
- type: oe.literal,
3377
+ type: ce.literal,
3378
3378
  value: h.value
3379
3379
  });
3380
3380
  continue;
3381
3381
  }
3382
3382
  if (Fs(h)) {
3383
3383
  typeof s == "number" && a.push({
3384
- type: oe.literal,
3384
+ type: ce.literal,
3385
3385
  value: n.getNumberFormat(t).format(s)
3386
3386
  });
3387
3387
  continue;
@@ -3392,7 +3392,7 @@ function It(e, t, n, r, i, s, l) {
3392
3392
  var T = i[g];
3393
3393
  if (Gs(h)) {
3394
3394
  (!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""), a.push({
3395
- type: typeof T == "string" ? oe.literal : oe.object,
3395
+ type: typeof T == "string" ? ce.literal : ce.object,
3396
3396
  value: T
3397
3397
  });
3398
3398
  continue;
@@ -3400,7 +3400,7 @@ function It(e, t, n, r, i, s, l) {
3400
3400
  if (ri(h)) {
3401
3401
  var C = typeof h.style == "string" ? r.date[h.style] : xn(h.style) ? h.style.parsedOptions : void 0;
3402
3402
  a.push({
3403
- type: oe.literal,
3403
+ type: ce.literal,
3404
3404
  value: n.getDateTimeFormat(t, C).format(T)
3405
3405
  });
3406
3406
  continue;
@@ -3408,7 +3408,7 @@ function It(e, t, n, r, i, s, l) {
3408
3408
  if (ii(h)) {
3409
3409
  var C = typeof h.style == "string" ? r.time[h.style] : xn(h.style) ? h.style.parsedOptions : r.time.medium;
3410
3410
  a.push({
3411
- type: oe.literal,
3411
+ type: ce.literal,
3412
3412
  value: n.getDateTimeFormat(t, C).format(T)
3413
3413
  });
3414
3414
  continue;
@@ -3416,22 +3416,22 @@ function It(e, t, n, r, i, s, l) {
3416
3416
  if (ni(h)) {
3417
3417
  var C = typeof h.style == "string" ? r.number[h.style] : li(h.style) ? h.style.parsedOptions : void 0;
3418
3418
  C && C.scale && (T = T * (C.scale || 1)), a.push({
3419
- type: oe.literal,
3419
+ type: ce.literal,
3420
3420
  value: n.getNumberFormat(t, C).format(T)
3421
3421
  });
3422
3422
  continue;
3423
3423
  }
3424
3424
  if (ai(h)) {
3425
- var E = h.children, m = h.value, M = i[m];
3425
+ var y = h.children, m = h.value, M = i[m];
3426
3426
  if (!To(M))
3427
3427
  throw new bo(m, "function", l);
3428
- var j = It(E, t, n, r, i, s), R = M(j.map(function(D) {
3429
- return D.value;
3428
+ var W = It(y, t, n, r, i, s), P = M(W.map(function(I) {
3429
+ return I.value;
3430
3430
  }));
3431
- Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(D) {
3431
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
3432
3432
  return {
3433
- type: typeof D == "string" ? oe.literal : oe.object,
3434
- value: D
3433
+ type: typeof I == "string" ? ce.literal : ce.object,
3434
+ value: I
3435
3435
  };
3436
3436
  }));
3437
3437
  }
@@ -3449,8 +3449,8 @@ function It(e, t, n, r, i, s, l) {
3449
3449
  throw new Yt(`Intl.PluralRules is not available in this environment.
3450
3450
  Try polyfilling it using "@formatjs/intl-pluralrules"
3451
3451
  `, qe.MISSING_INTL_API, l);
3452
- var L = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
3453
- A = h.options[L] || h.options.other;
3452
+ var R = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
3453
+ A = h.options[R] || h.options.other;
3454
3454
  }
3455
3455
  if (!A)
3456
3456
  throw new gr(h.value, T, Object.keys(h.options), l);
@@ -3461,14 +3461,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3461
3461
  return yo(a);
3462
3462
  }
3463
3463
  function xo(e, t) {
3464
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3465
- return n[r] = F(F({}, e[r]), t[r] || {}), n;
3464
+ return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3465
+ return n[r] = z(z({}, e[r]), t[r] || {}), n;
3466
3466
  }, {})) : e;
3467
3467
  }
3468
3468
  function vo(e, t) {
3469
3469
  return t ? Object.keys(e).reduce(function(n, r) {
3470
3470
  return n[r] = xo(e[r], t[r]), n;
3471
- }, F({}, e)) : e;
3471
+ }, z({}, e)) : e;
3472
3472
  }
3473
3473
  function hn(e) {
3474
3474
  return {
@@ -3531,7 +3531,7 @@ var gi = (
3531
3531
  if (u.length === 1)
3532
3532
  return u[0].value;
3533
3533
  var h = u.reduce(function(g, T) {
3534
- return !g.length || T.type !== oe.literal || typeof g[g.length - 1] != "string" ? g.push(T.value) : g[g.length - 1] += T.value, g;
3534
+ return !g.length || T.type !== ce.literal || typeof g[g.length - 1] != "string" ? g.push(T.value) : g[g.length - 1] += T.value, g;
3535
3535
  }, []);
3536
3536
  return h.length <= 1 ? h[0] || "" : h;
3537
3537
  }, this.formatToParts = function(c) {
@@ -3549,7 +3549,7 @@ var gi = (
3549
3549
  var l = i || {};
3550
3550
  l.formatters;
3551
3551
  var a = Ps(l, ["formatters"]);
3552
- this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3552
+ this.ast = e.__parse(t, z(z({}, a), { locale: this.resolvedLocale }));
3553
3553
  } else
3554
3554
  this.ast = t;
3555
3555
  if (!Array.isArray(this.ast))
@@ -4002,17 +4002,17 @@ const {
4002
4002
  getOwnPropertyDescriptor: ca
4003
4003
  } = Object;
4004
4004
  let {
4005
- freeze: ae,
4006
- seal: ge,
4005
+ freeze: he,
4006
+ seal: ye,
4007
4007
  create: Ai
4008
4008
  } = Object, {
4009
4009
  apply: Cn,
4010
4010
  construct: Mn
4011
4011
  } = typeof Reflect < "u" && Reflect;
4012
- ae || (ae = function(t) {
4012
+ he || (he = function(t) {
4013
4013
  return t;
4014
4014
  });
4015
- ge || (ge = function(t) {
4015
+ ye || (ye = function(t) {
4016
4016
  return t;
4017
4017
  });
4018
4018
  Cn || (Cn = function(t, n, r) {
@@ -4021,8 +4021,8 @@ Cn || (Cn = function(t, n, r) {
4021
4021
  Mn || (Mn = function(t, n) {
4022
4022
  return new t(...n);
4023
4023
  });
4024
- const Ot = fe(Array.prototype.forEach), Ar = fe(Array.prototype.pop), ot = fe(Array.prototype.push), Bt = fe(String.prototype.toLowerCase), mn = fe(String.prototype.toString), _r = fe(String.prototype.match), at = fe(String.prototype.replace), ha = fe(String.prototype.indexOf), fa = fe(String.prototype.trim), Te = fe(Object.prototype.hasOwnProperty), se = fe(RegExp.prototype.test), lt = ma(TypeError);
4025
- function fe(e) {
4024
+ const Ot = ge(Array.prototype.forEach), Ar = ge(Array.prototype.pop), ot = ge(Array.prototype.push), Bt = ge(String.prototype.toLowerCase), mn = ge(String.prototype.toString), _r = ge(String.prototype.match), at = ge(String.prototype.replace), ha = ge(String.prototype.indexOf), fa = ge(String.prototype.trim), xe = ge(Object.prototype.hasOwnProperty), ue = ge(RegExp.prototype.test), lt = ma(TypeError);
4025
+ function ge(e) {
4026
4026
  return function(t) {
4027
4027
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4028
4028
  r[i - 1] = arguments[i];
@@ -4036,7 +4036,7 @@ function ma(e) {
4036
4036
  return Mn(e, n);
4037
4037
  };
4038
4038
  }
4039
- function B(e, t) {
4039
+ function D(e, t) {
4040
4040
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Bt;
4041
4041
  wr && wr(e, null);
4042
4042
  let r = t.length;
@@ -4052,13 +4052,13 @@ function B(e, t) {
4052
4052
  }
4053
4053
  function pa(e) {
4054
4054
  for (let t = 0; t < e.length; t++)
4055
- Te(e, t) || (e[t] = null);
4055
+ xe(e, t) || (e[t] = null);
4056
4056
  return e;
4057
4057
  }
4058
4058
  function Ie(e) {
4059
4059
  const t = Ai(null);
4060
4060
  for (const [n, r] of wi(e))
4061
- Te(e, n) && (Array.isArray(r) ? t[n] = pa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Ie(r) : t[n] = r);
4061
+ xe(e, n) && (Array.isArray(r) ? t[n] = pa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Ie(r) : t[n] = r);
4062
4062
  return t;
4063
4063
  }
4064
4064
  function ut(e, t) {
@@ -4066,9 +4066,9 @@ function ut(e, t) {
4066
4066
  const r = ca(e, t);
4067
4067
  if (r) {
4068
4068
  if (r.get)
4069
- return fe(r.get);
4069
+ return ge(r.get);
4070
4070
  if (typeof r.value == "function")
4071
- return fe(r.value);
4071
+ return ge(r.value);
4072
4072
  }
4073
4073
  e = ua(e);
4074
4074
  }
@@ -4077,13 +4077,13 @@ function ut(e, t) {
4077
4077
  }
4078
4078
  return n;
4079
4079
  }
4080
- const Or = ae(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pn = ae(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), dn = ae(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), da = ae(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gn = ae(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ga = ae(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Cr = ae(["#text"]), Mr = ae(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), bn = ae(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Hr = ae(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ct = ae(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ba = ge(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ea = ge(/<%[\w\W]*|[\w\W]*%>/gm), ya = ge(/\${[\w\W]*}/gm), Ta = ge(/^data-[\-\w.\u00B7-\uFFFF]/), xa = ge(/^aria-[\-\w]+$/), _i = ge(
4080
+ const Or = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pn = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), dn = he(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), da = he(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gn = he(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ga = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Cr = he(["#text"]), Mr = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), bn = he(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Hr = he(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ct = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ba = ye(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ea = ye(/<%[\w\W]*|[\w\W]*%>/gm), ya = ye(/\${[\w\W]*}/gm), Ta = ye(/^data-[\-\w.\u00B7-\uFFFF]/), xa = ye(/^aria-[\-\w]+$/), _i = ye(
4081
4081
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4082
4082
  // eslint-disable-line no-useless-escape
4083
- ), va = ge(/^(?:\w+script|data):/i), Sa = ge(
4083
+ ), va = ye(/^(?:\w+script|data):/i), Sa = ye(
4084
4084
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4085
4085
  // eslint-disable-line no-control-regex
4086
- ), Oi = ge(/^html$/i), wa = ge(/^[a-z][.\w]*(-[.\w]+)+$/i);
4086
+ ), Oi = ye(/^html$/i), wa = ye(/^[a-z][.\w]*(-[.\w]+)+$/i);
4087
4087
  var Nr = /* @__PURE__ */ Object.freeze({
4088
4088
  __proto__: null,
4089
4089
  MUSTACHE_EXPR: ba,
@@ -4144,39 +4144,39 @@ function Ci() {
4144
4144
  HTMLFormElement: g,
4145
4145
  DOMParser: T,
4146
4146
  trustedTypes: C
4147
- } = e, E = c.prototype, m = ut(E, "cloneNode"), M = ut(E, "remove"), j = ut(E, "nextSibling"), R = ut(E, "childNodes"), A = ut(E, "parentNode");
4147
+ } = e, y = c.prototype, m = ut(y, "cloneNode"), M = ut(y, "remove"), W = ut(y, "nextSibling"), P = ut(y, "childNodes"), A = ut(y, "parentNode");
4148
4148
  if (typeof l == "function") {
4149
4149
  const O = n.createElement("template");
4150
4150
  O.content && O.content.ownerDocument && (n = O.content.ownerDocument);
4151
4151
  }
4152
- let L, D = "";
4152
+ let R, I = "";
4153
4153
  const {
4154
- implementation: z,
4155
- createNodeIterator: J,
4156
- createDocumentFragment: Y,
4157
- getElementsByTagName: Q
4154
+ implementation: j,
4155
+ createNodeIterator: Y,
4156
+ createDocumentFragment: q,
4157
+ getElementsByTagName: ee
4158
4158
  } = n, {
4159
- importNode: W
4159
+ importNode: Z
4160
4160
  } = r;
4161
- let H = {};
4162
- t.isSupported = typeof wi == "function" && typeof A == "function" && z && z.createHTMLDocument !== void 0;
4161
+ let _ = {};
4162
+ t.isSupported = typeof wi == "function" && typeof A == "function" && j && j.createHTMLDocument !== void 0;
4163
4163
  const {
4164
- MUSTACHE_EXPR: re,
4165
- ERB_EXPR: le,
4164
+ MUSTACHE_EXPR: ae,
4165
+ ERB_EXPR: de,
4166
4166
  TMPLIT_EXPR: v,
4167
- DATA_ATTR: y,
4168
- ARIA_ATTR: d,
4167
+ DATA_ATTR: E,
4168
+ ARIA_ATTR: p,
4169
4169
  IS_SCRIPT_OR_DATA: S,
4170
4170
  ATTR_WHITESPACE: f,
4171
4171
  CUSTOM_ELEMENT: x
4172
4172
  } = Nr;
4173
4173
  let {
4174
- IS_ALLOWED_URI: N
4175
- } = Nr, P = null;
4176
- const b = B({}, [...Or, ...pn, ...dn, ...gn, ...Cr]);
4177
- let _ = null;
4178
- const Z = B({}, [...Mr, ...bn, ...Hr, ...Ct]);
4179
- let I = Object.seal(Ai(null, {
4174
+ IS_ALLOWED_URI: H
4175
+ } = Nr, N = null;
4176
+ const V = D({}, [...Or, ...pn, ...dn, ...gn, ...Cr]);
4177
+ let L = null;
4178
+ const K = D({}, [...Mr, ...bn, ...Hr, ...Ct]);
4179
+ let B = Object.seal(Ai(null, {
4180
4180
  tagNameCheck: {
4181
4181
  writable: !0,
4182
4182
  configurable: !1,
@@ -4195,58 +4195,58 @@ function Ci() {
4195
4195
  enumerable: !0,
4196
4196
  value: !1
4197
4197
  }
4198
- })), pe = null, be = null, Ce = !0, Ee = !0, ee = !1, ye = !0, de = !1, Me = !0, Le = !1, Qt = !1, Kt = !1, Be = !1, yt = !1, Tt = !1, In = !0, Dn = !1;
4198
+ })), b = null, F = null, re = !0, Q = !0, ie = !1, Te = !0, Ee = !1, Me = !0, Le = !1, Qt = !1, Kt = !1, Be = !1, yt = !1, Tt = !1, In = !0, Dn = !1;
4199
4199
  const Ni = "user-content-";
4200
4200
  let $t = !0, tt = !1, Ue = {}, ke = null;
4201
- const Bn = B({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4201
+ const Bn = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4202
4202
  let Un = null;
4203
- const kn = B({}, ["audio", "video", "img", "source", "image", "track"]);
4203
+ const kn = D({}, ["audio", "video", "img", "source", "image", "track"]);
4204
4204
  let en = null;
4205
- const Gn = B({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), xt = "http://www.w3.org/1998/Math/MathML", vt = "http://www.w3.org/2000/svg", Ae = "http://www.w3.org/1999/xhtml";
4206
- let Ge = Ae, tn = !1, nn = null;
4207
- const Pi = B({}, [xt, vt, Ae], mn);
4205
+ const Gn = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), xt = "http://www.w3.org/1998/Math/MathML", vt = "http://www.w3.org/2000/svg", _e = "http://www.w3.org/1999/xhtml";
4206
+ let Ge = _e, tn = !1, nn = null;
4207
+ const Pi = D({}, [xt, vt, _e], mn);
4208
4208
  let nt = null;
4209
4209
  const Ri = ["application/xhtml+xml", "text/html"], Li = "text/html";
4210
- let $ = null, Fe = null;
4210
+ let ne = null, Fe = null;
4211
4211
  const Ii = n.createElement("form"), Fn = function(o) {
4212
4212
  return o instanceof RegExp || o instanceof Function;
4213
4213
  }, rn = function() {
4214
4214
  let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4215
4215
  if (!(Fe && Fe === o)) {
4216
4216
  if ((!o || typeof o != "object") && (o = {}), o = Ie(o), nt = // eslint-disable-next-line unicorn/prefer-includes
4217
- Ri.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Li : o.PARSER_MEDIA_TYPE, $ = nt === "application/xhtml+xml" ? mn : Bt, P = Te(o, "ALLOWED_TAGS") ? B({}, o.ALLOWED_TAGS, $) : b, _ = Te(o, "ALLOWED_ATTR") ? B({}, o.ALLOWED_ATTR, $) : Z, nn = Te(o, "ALLOWED_NAMESPACES") ? B({}, o.ALLOWED_NAMESPACES, mn) : Pi, en = Te(o, "ADD_URI_SAFE_ATTR") ? B(
4217
+ Ri.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Li : o.PARSER_MEDIA_TYPE, ne = nt === "application/xhtml+xml" ? mn : Bt, N = xe(o, "ALLOWED_TAGS") ? D({}, o.ALLOWED_TAGS, ne) : V, L = xe(o, "ALLOWED_ATTR") ? D({}, o.ALLOWED_ATTR, ne) : K, nn = xe(o, "ALLOWED_NAMESPACES") ? D({}, o.ALLOWED_NAMESPACES, mn) : Pi, en = xe(o, "ADD_URI_SAFE_ATTR") ? D(
4218
4218
  Ie(Gn),
4219
4219
  // eslint-disable-line indent
4220
4220
  o.ADD_URI_SAFE_ATTR,
4221
4221
  // eslint-disable-line indent
4222
- $
4222
+ ne
4223
4223
  // eslint-disable-line indent
4224
- ) : Gn, Un = Te(o, "ADD_DATA_URI_TAGS") ? B(
4224
+ ) : Gn, Un = xe(o, "ADD_DATA_URI_TAGS") ? D(
4225
4225
  Ie(kn),
4226
4226
  // eslint-disable-line indent
4227
4227
  o.ADD_DATA_URI_TAGS,
4228
4228
  // eslint-disable-line indent
4229
- $
4229
+ ne
4230
4230
  // eslint-disable-line indent
4231
- ) : kn, ke = Te(o, "FORBID_CONTENTS") ? B({}, o.FORBID_CONTENTS, $) : Bn, pe = Te(o, "FORBID_TAGS") ? B({}, o.FORBID_TAGS, $) : {}, be = Te(o, "FORBID_ATTR") ? B({}, o.FORBID_ATTR, $) : {}, Ue = Te(o, "USE_PROFILES") ? o.USE_PROFILES : !1, Ce = o.ALLOW_ARIA_ATTR !== !1, Ee = o.ALLOW_DATA_ATTR !== !1, ee = o.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, de = o.SAFE_FOR_TEMPLATES || !1, Me = o.SAFE_FOR_XML !== !1, Le = o.WHOLE_DOCUMENT || !1, Be = o.RETURN_DOM || !1, yt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, In = o.SANITIZE_DOM !== !1, Dn = o.SANITIZE_NAMED_PROPS || !1, $t = o.KEEP_CONTENT !== !1, tt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || _i, Ge = o.NAMESPACE || Ae, I = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), de && (Ee = !1), yt && (Be = !0), Ue && (P = B({}, Cr), _ = [], Ue.html === !0 && (B(P, Or), B(_, Mr)), Ue.svg === !0 && (B(P, pn), B(_, bn), B(_, Ct)), Ue.svgFilters === !0 && (B(P, dn), B(_, bn), B(_, Ct)), Ue.mathMl === !0 && (B(P, gn), B(_, Hr), B(_, Ct))), o.ADD_TAGS && (P === b && (P = Ie(P)), B(P, o.ADD_TAGS, $)), o.ADD_ATTR && (_ === Z && (_ = Ie(_)), B(_, o.ADD_ATTR, $)), o.ADD_URI_SAFE_ATTR && B(en, o.ADD_URI_SAFE_ATTR, $), o.FORBID_CONTENTS && (ke === Bn && (ke = Ie(ke)), B(ke, o.FORBID_CONTENTS, $)), $t && (P["#text"] = !0), Le && B(P, ["html", "head", "body"]), P.table && (B(P, ["tbody"]), delete pe.tbody), o.TRUSTED_TYPES_POLICY) {
4231
+ ) : kn, ke = xe(o, "FORBID_CONTENTS") ? D({}, o.FORBID_CONTENTS, ne) : Bn, b = xe(o, "FORBID_TAGS") ? D({}, o.FORBID_TAGS, ne) : {}, F = xe(o, "FORBID_ATTR") ? D({}, o.FORBID_ATTR, ne) : {}, Ue = xe(o, "USE_PROFILES") ? o.USE_PROFILES : !1, re = o.ALLOW_ARIA_ATTR !== !1, Q = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = o.SAFE_FOR_TEMPLATES || !1, Me = o.SAFE_FOR_XML !== !1, Le = o.WHOLE_DOCUMENT || !1, Be = o.RETURN_DOM || !1, yt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, In = o.SANITIZE_DOM !== !1, Dn = o.SANITIZE_NAMED_PROPS || !1, $t = o.KEEP_CONTENT !== !1, tt = o.IN_PLACE || !1, H = o.ALLOWED_URI_REGEXP || _i, Ge = o.NAMESPACE || _e, B = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (B.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (B.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (Q = !1), yt && (Be = !0), Ue && (N = D({}, Cr), L = [], Ue.html === !0 && (D(N, Or), D(L, Mr)), Ue.svg === !0 && (D(N, pn), D(L, bn), D(L, Ct)), Ue.svgFilters === !0 && (D(N, dn), D(L, bn), D(L, Ct)), Ue.mathMl === !0 && (D(N, gn), D(L, Hr), D(L, Ct))), o.ADD_TAGS && (N === V && (N = Ie(N)), D(N, o.ADD_TAGS, ne)), o.ADD_ATTR && (L === K && (L = Ie(L)), D(L, o.ADD_ATTR, ne)), o.ADD_URI_SAFE_ATTR && D(en, o.ADD_URI_SAFE_ATTR, ne), o.FORBID_CONTENTS && (ke === Bn && (ke = Ie(ke)), D(ke, o.FORBID_CONTENTS, ne)), $t && (N["#text"] = !0), Le && D(N, ["html", "head", "body"]), N.table && (D(N, ["tbody"]), delete b.tbody), o.TRUSTED_TYPES_POLICY) {
4232
4232
  if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
4233
4233
  throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4234
4234
  if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4235
4235
  throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4236
- L = o.TRUSTED_TYPES_POLICY, D = L.createHTML("");
4236
+ R = o.TRUSTED_TYPES_POLICY, I = R.createHTML("");
4237
4237
  } else
4238
- L === void 0 && (L = _a(C, i)), L !== null && typeof D == "string" && (D = L.createHTML(""));
4239
- ae && ae(o), Fe = o;
4238
+ R === void 0 && (R = _a(C, i)), R !== null && typeof I == "string" && (I = R.createHTML(""));
4239
+ he && he(o), Fe = o;
4240
4240
  }
4241
- }, zn = B({}, ["mi", "mo", "mn", "ms", "mtext"]), jn = B({}, ["foreignobject", "annotation-xml"]), Di = B({}, ["title", "style", "font", "a", "script"]), Wn = B({}, [...pn, ...dn, ...da]), Zn = B({}, [...gn, ...ga]), Bi = function(o) {
4242
- let p = A(o);
4243
- (!p || !p.tagName) && (p = {
4241
+ }, zn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), jn = D({}, ["foreignobject", "annotation-xml"]), Di = D({}, ["title", "style", "font", "a", "script"]), Wn = D({}, [...pn, ...dn, ...da]), Zn = D({}, [...gn, ...ga]), Bi = function(o) {
4242
+ let d = A(o);
4243
+ (!d || !d.tagName) && (d = {
4244
4244
  namespaceURI: Ge,
4245
4245
  tagName: "template"
4246
4246
  });
4247
- const w = Bt(o.tagName), V = Bt(p.tagName);
4248
- return nn[o.namespaceURI] ? o.namespaceURI === vt ? p.namespaceURI === Ae ? w === "svg" : p.namespaceURI === xt ? w === "svg" && (V === "annotation-xml" || zn[V]) : !!Wn[w] : o.namespaceURI === xt ? p.namespaceURI === Ae ? w === "math" : p.namespaceURI === vt ? w === "math" && jn[V] : !!Zn[w] : o.namespaceURI === Ae ? p.namespaceURI === vt && !jn[V] || p.namespaceURI === xt && !zn[V] ? !1 : !Zn[w] && (Di[w] || !Wn[w]) : !!(nt === "application/xhtml+xml" && nn[o.namespaceURI]) : !1;
4249
- }, xe = function(o) {
4247
+ const w = Bt(o.tagName), X = Bt(d.tagName);
4248
+ return nn[o.namespaceURI] ? o.namespaceURI === vt ? d.namespaceURI === _e ? w === "svg" : d.namespaceURI === xt ? w === "svg" && (X === "annotation-xml" || zn[X]) : !!Wn[w] : o.namespaceURI === xt ? d.namespaceURI === _e ? w === "math" : d.namespaceURI === vt ? w === "math" && jn[X] : !!Zn[w] : o.namespaceURI === _e ? d.namespaceURI === vt && !jn[X] || d.namespaceURI === xt && !zn[X] ? !1 : !Zn[w] && (Di[w] || !Wn[w]) : !!(nt === "application/xhtml+xml" && nn[o.namespaceURI]) : !1;
4249
+ }, ve = function(o) {
4250
4250
  ot(t.removed, {
4251
4251
  element: o
4252
4252
  });
@@ -4255,55 +4255,55 @@ function Ci() {
4255
4255
  } catch {
4256
4256
  M(o);
4257
4257
  }
4258
- }, St = function(o, p) {
4258
+ }, St = function(o, d) {
4259
4259
  try {
4260
4260
  ot(t.removed, {
4261
- attribute: p.getAttributeNode(o),
4262
- from: p
4261
+ attribute: d.getAttributeNode(o),
4262
+ from: d
4263
4263
  });
4264
4264
  } catch {
4265
4265
  ot(t.removed, {
4266
4266
  attribute: null,
4267
- from: p
4267
+ from: d
4268
4268
  });
4269
4269
  }
4270
- if (p.removeAttribute(o), o === "is" && !_[o])
4270
+ if (d.removeAttribute(o), o === "is" && !L[o])
4271
4271
  if (Be || yt)
4272
4272
  try {
4273
- xe(p);
4273
+ ve(d);
4274
4274
  } catch {
4275
4275
  }
4276
4276
  else
4277
4277
  try {
4278
- p.setAttribute(o, "");
4278
+ d.setAttribute(o, "");
4279
4279
  } catch {
4280
4280
  }
4281
4281
  }, Vn = function(o) {
4282
- let p = null, w = null;
4282
+ let d = null, w = null;
4283
4283
  if (Kt)
4284
4284
  o = "<remove></remove>" + o;
4285
4285
  else {
4286
- const te = _r(o, /^[\r\n\t ]+/);
4287
- w = te && te[0];
4286
+ const se = _r(o, /^[\r\n\t ]+/);
4287
+ w = se && se[0];
4288
4288
  }
4289
- nt === "application/xhtml+xml" && Ge === Ae && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4290
- const V = L ? L.createHTML(o) : o;
4291
- if (Ge === Ae)
4289
+ nt === "application/xhtml+xml" && Ge === _e && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4290
+ const X = R ? R.createHTML(o) : o;
4291
+ if (Ge === _e)
4292
4292
  try {
4293
- p = new T().parseFromString(V, nt);
4293
+ d = new T().parseFromString(X, nt);
4294
4294
  } catch {
4295
4295
  }
4296
- if (!p || !p.documentElement) {
4297
- p = z.createDocument(Ge, "template", null);
4296
+ if (!d || !d.documentElement) {
4297
+ d = j.createDocument(Ge, "template", null);
4298
4298
  try {
4299
- p.documentElement.innerHTML = tn ? D : V;
4299
+ d.documentElement.innerHTML = tn ? I : X;
4300
4300
  } catch {
4301
4301
  }
4302
4302
  }
4303
- const ne = p.body || p.documentElement;
4304
- return o && w && ne.insertBefore(n.createTextNode(w), ne.childNodes[0] || null), Ge === Ae ? Q.call(p, Le ? "html" : "body")[0] : Le ? p.documentElement : ne;
4303
+ const oe = d.body || d.documentElement;
4304
+ return o && w && oe.insertBefore(n.createTextNode(w), oe.childNodes[0] || null), Ge === _e ? ee.call(d, Le ? "html" : "body")[0] : Le ? d.documentElement : oe;
4305
4305
  }, Xn = function(o) {
4306
- return J.call(
4306
+ return Y.call(
4307
4307
  o.ownerDocument || o,
4308
4308
  o,
4309
4309
  // eslint-disable-next-line no-bitwise
@@ -4314,58 +4314,58 @@ function Ci() {
4314
4314
  return o instanceof g && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof h) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
4315
4315
  }, Yn = function(o) {
4316
4316
  return typeof a == "function" && o instanceof a;
4317
- }, _e = function(o, p, w) {
4318
- H[o] && Ot(H[o], (V) => {
4319
- V.call(t, p, w, Fe);
4317
+ }, Oe = function(o, d, w) {
4318
+ _[o] && Ot(_[o], (X) => {
4319
+ X.call(t, d, w, Fe);
4320
4320
  });
4321
4321
  }, qn = function(o) {
4322
- let p = null;
4323
- if (_e("beforeSanitizeElements", o, null), Jn(o))
4324
- return xe(o), !0;
4325
- const w = $(o.nodeName);
4326
- if (_e("uponSanitizeElement", o, {
4322
+ let d = null;
4323
+ if (Oe("beforeSanitizeElements", o, null), Jn(o))
4324
+ return ve(o), !0;
4325
+ const w = ne(o.nodeName);
4326
+ if (Oe("uponSanitizeElement", o, {
4327
4327
  tagName: w,
4328
- allowedTags: P
4329
- }), o.hasChildNodes() && !Yn(o.firstElementChild) && se(/<[/\w]/g, o.innerHTML) && se(/<[/\w]/g, o.textContent) || o.nodeType === ct.progressingInstruction || Me && o.nodeType === ct.comment && se(/<[/\w]/g, o.data))
4330
- return xe(o), !0;
4331
- if (!P[w] || pe[w]) {
4332
- if (!pe[w] && Kn(w) && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
4328
+ allowedTags: N
4329
+ }), o.hasChildNodes() && !Yn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ct.progressingInstruction || Me && o.nodeType === ct.comment && ue(/<[/\w]/g, o.data))
4330
+ return ve(o), !0;
4331
+ if (!N[w] || b[w]) {
4332
+ if (!b[w] && Kn(w) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4333
4333
  return !1;
4334
4334
  if ($t && !ke[w]) {
4335
- const V = A(o) || o.parentNode, ne = R(o) || o.childNodes;
4336
- if (ne && V) {
4337
- const te = ne.length;
4338
- for (let ue = te - 1; ue >= 0; --ue) {
4339
- const ve = m(ne[ue], !0);
4340
- ve.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(ve, j(o));
4335
+ const X = A(o) || o.parentNode, oe = P(o) || o.childNodes;
4336
+ if (oe && X) {
4337
+ const se = oe.length;
4338
+ for (let fe = se - 1; fe >= 0; --fe) {
4339
+ const Se = m(oe[fe], !0);
4340
+ Se.__removalCount = (o.__removalCount || 0) + 1, X.insertBefore(Se, W(o));
4341
4341
  }
4342
4342
  }
4343
4343
  }
4344
- return xe(o), !0;
4344
+ return ve(o), !0;
4345
4345
  }
4346
- return o instanceof c && !Bi(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (xe(o), !0) : (de && o.nodeType === ct.text && (p = o.textContent, Ot([re, le, v], (V) => {
4347
- p = at(p, V, " ");
4348
- }), o.textContent !== p && (ot(t.removed, {
4346
+ return o instanceof c && !Bi(o) || (w === "noscript" || w === "noembed" || w === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (Ee && o.nodeType === ct.text && (d = o.textContent, Ot([ae, de, v], (X) => {
4347
+ d = at(d, X, " ");
4348
+ }), o.textContent !== d && (ot(t.removed, {
4349
4349
  element: o.cloneNode()
4350
- }), o.textContent = p)), _e("afterSanitizeElements", o, null), !1);
4351
- }, Qn = function(o, p, w) {
4352
- if (In && (p === "id" || p === "name") && (w in n || w in Ii))
4350
+ }), o.textContent = d)), Oe("afterSanitizeElements", o, null), !1);
4351
+ }, Qn = function(o, d, w) {
4352
+ if (In && (d === "id" || d === "name") && (w in n || w in Ii))
4353
4353
  return !1;
4354
- if (!(Ee && !be[p] && se(y, p))) {
4355
- if (!(Ce && se(d, p))) {
4356
- if (!_[p] || be[p]) {
4354
+ if (!(Q && !F[d] && ue(E, d))) {
4355
+ if (!(re && ue(p, d))) {
4356
+ if (!L[d] || F[d]) {
4357
4357
  if (
4358
4358
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4359
4359
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4360
4360
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4361
- !(Kn(o) && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, o) || I.tagNameCheck instanceof Function && I.tagNameCheck(o)) && (I.attributeNameCheck instanceof RegExp && se(I.attributeNameCheck, p) || I.attributeNameCheck instanceof Function && I.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4361
+ !(Kn(o) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, o) || B.tagNameCheck instanceof Function && B.tagNameCheck(o)) && (B.attributeNameCheck instanceof RegExp && ue(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4362
4362
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4363
- p === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
4363
+ d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4364
4364
  ) return !1;
4365
- } else if (!en[p]) {
4366
- if (!se(N, at(w, f, ""))) {
4367
- if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ha(w, "data:") === 0 && Un[o])) {
4368
- if (!(ee && !se(S, at(w, f, "")))) {
4365
+ } else if (!en[d]) {
4366
+ if (!ue(H, at(w, f, ""))) {
4367
+ if (!((d === "src" || d === "xlink:href" || d === "href") && o !== "script" && ha(w, "data:") === 0 && Un[o])) {
4368
+ if (!(ie && !ue(S, at(w, f, "")))) {
4369
4369
  if (w)
4370
4370
  return !1;
4371
4371
  }
@@ -4378,68 +4378,68 @@ function Ci() {
4378
4378
  }, Kn = function(o) {
4379
4379
  return o !== "annotation-xml" && _r(o, x);
4380
4380
  }, $n = function(o) {
4381
- _e("beforeSanitizeAttributes", o, null);
4381
+ Oe("beforeSanitizeAttributes", o, null);
4382
4382
  const {
4383
- attributes: p
4383
+ attributes: d
4384
4384
  } = o;
4385
- if (!p)
4385
+ if (!d)
4386
4386
  return;
4387
4387
  const w = {
4388
4388
  attrName: "",
4389
4389
  attrValue: "",
4390
4390
  keepAttr: !0,
4391
- allowedAttributes: _
4391
+ allowedAttributes: L
4392
4392
  };
4393
- let V = p.length;
4394
- for (; V--; ) {
4395
- const ne = p[V], {
4396
- name: te,
4397
- namespaceURI: ue,
4398
- value: ve
4399
- } = ne, rt = $(te);
4400
- let ie = te === "value" ? ve : fa(ve);
4401
- if (w.attrName = rt, w.attrValue = ie, w.keepAttr = !0, w.forceKeepAttr = void 0, _e("uponSanitizeAttribute", o, w), ie = w.attrValue, Me && se(/((--!?|])>)|<\/(style|title)/i, ie)) {
4402
- St(te, o);
4393
+ let X = d.length;
4394
+ for (; X--; ) {
4395
+ const oe = d[X], {
4396
+ name: se,
4397
+ namespaceURI: fe,
4398
+ value: Se
4399
+ } = oe, rt = ne(se);
4400
+ let le = se === "value" ? Se : fa(Se);
4401
+ if (w.attrName = rt, w.attrValue = le, w.keepAttr = !0, w.forceKeepAttr = void 0, Oe("uponSanitizeAttribute", o, w), le = w.attrValue, Me && ue(/((--!?|])>)|<\/(style|title)/i, le)) {
4402
+ St(se, o);
4403
4403
  continue;
4404
4404
  }
4405
- if (w.forceKeepAttr || (St(te, o), !w.keepAttr))
4405
+ if (w.forceKeepAttr || (St(se, o), !w.keepAttr))
4406
4406
  continue;
4407
- if (!ye && se(/\/>/i, ie)) {
4408
- St(te, o);
4407
+ if (!Te && ue(/\/>/i, le)) {
4408
+ St(se, o);
4409
4409
  continue;
4410
4410
  }
4411
- de && Ot([re, le, v], (tr) => {
4412
- ie = at(ie, tr, " ");
4411
+ Ee && Ot([ae, de, v], (tr) => {
4412
+ le = at(le, tr, " ");
4413
4413
  });
4414
- const er = $(o.nodeName);
4415
- if (Qn(er, rt, ie)) {
4416
- if (Dn && (rt === "id" || rt === "name") && (St(te, o), ie = Ni + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !ue)
4414
+ const er = ne(o.nodeName);
4415
+ if (Qn(er, rt, le)) {
4416
+ if (Dn && (rt === "id" || rt === "name") && (St(se, o), le = Ni + le), R && typeof C == "object" && typeof C.getAttributeType == "function" && !fe)
4417
4417
  switch (C.getAttributeType(er, rt)) {
4418
4418
  case "TrustedHTML": {
4419
- ie = L.createHTML(ie);
4419
+ le = R.createHTML(le);
4420
4420
  break;
4421
4421
  }
4422
4422
  case "TrustedScriptURL": {
4423
- ie = L.createScriptURL(ie);
4423
+ le = R.createScriptURL(le);
4424
4424
  break;
4425
4425
  }
4426
4426
  }
4427
4427
  try {
4428
- ue ? o.setAttributeNS(ue, te, ie) : o.setAttribute(te, ie), Jn(o) ? xe(o) : Ar(t.removed);
4428
+ fe ? o.setAttributeNS(fe, se, le) : o.setAttribute(se, le), Jn(o) ? ve(o) : Ar(t.removed);
4429
4429
  } catch {
4430
4430
  }
4431
4431
  }
4432
4432
  }
4433
- _e("afterSanitizeAttributes", o, null);
4433
+ Oe("afterSanitizeAttributes", o, null);
4434
4434
  }, Ui = function O(o) {
4435
- let p = null;
4435
+ let d = null;
4436
4436
  const w = Xn(o);
4437
- for (_e("beforeSanitizeShadowDOM", o, null); p = w.nextNode(); )
4438
- _e("uponSanitizeShadowNode", p, null), !qn(p) && (p.content instanceof s && O(p.content), $n(p));
4439
- _e("afterSanitizeShadowDOM", o, null);
4437
+ for (Oe("beforeSanitizeShadowDOM", o, null); d = w.nextNode(); )
4438
+ Oe("uponSanitizeShadowNode", d, null), !qn(d) && (d.content instanceof s && O(d.content), $n(d));
4439
+ Oe("afterSanitizeShadowDOM", o, null);
4440
4440
  };
4441
4441
  return t.sanitize = function(O) {
4442
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, w = null, V = null, ne = null;
4442
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, w = null, X = null, oe = null;
4443
4443
  if (tn = !O, tn && (O = "<!-->"), typeof O != "string" && !Yn(O))
4444
4444
  if (typeof O.toString == "function") {
4445
4445
  if (O = O.toString(), typeof O != "string")
@@ -4450,56 +4450,56 @@ function Ci() {
4450
4450
  return O;
4451
4451
  if (Qt || rn(o), t.removed = [], typeof O == "string" && (tt = !1), tt) {
4452
4452
  if (O.nodeName) {
4453
- const ve = $(O.nodeName);
4454
- if (!P[ve] || pe[ve])
4453
+ const Se = ne(O.nodeName);
4454
+ if (!N[Se] || b[Se])
4455
4455
  throw lt("root node is forbidden and cannot be sanitized in-place");
4456
4456
  }
4457
4457
  } else if (O instanceof a)
4458
- p = Vn("<!---->"), w = p.ownerDocument.importNode(O, !0), w.nodeType === ct.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? p = w : p.appendChild(w);
4458
+ d = Vn("<!---->"), w = d.ownerDocument.importNode(O, !0), w.nodeType === ct.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? d = w : d.appendChild(w);
4459
4459
  else {
4460
- if (!Be && !de && !Le && // eslint-disable-next-line unicorn/prefer-includes
4460
+ if (!Be && !Ee && !Le && // eslint-disable-next-line unicorn/prefer-includes
4461
4461
  O.indexOf("<") === -1)
4462
- return L && Tt ? L.createHTML(O) : O;
4463
- if (p = Vn(O), !p)
4464
- return Be ? null : Tt ? D : "";
4462
+ return R && Tt ? R.createHTML(O) : O;
4463
+ if (d = Vn(O), !d)
4464
+ return Be ? null : Tt ? I : "";
4465
4465
  }
4466
- p && Kt && xe(p.firstChild);
4467
- const te = Xn(tt ? O : p);
4468
- for (; V = te.nextNode(); )
4469
- qn(V) || (V.content instanceof s && Ui(V.content), $n(V));
4466
+ d && Kt && ve(d.firstChild);
4467
+ const se = Xn(tt ? O : d);
4468
+ for (; X = se.nextNode(); )
4469
+ qn(X) || (X.content instanceof s && Ui(X.content), $n(X));
4470
4470
  if (tt)
4471
4471
  return O;
4472
4472
  if (Be) {
4473
4473
  if (yt)
4474
- for (ne = Y.call(p.ownerDocument); p.firstChild; )
4475
- ne.appendChild(p.firstChild);
4474
+ for (oe = q.call(d.ownerDocument); d.firstChild; )
4475
+ oe.appendChild(d.firstChild);
4476
4476
  else
4477
- ne = p;
4478
- return (_.shadowroot || _.shadowrootmode) && (ne = W.call(r, ne, !0)), ne;
4477
+ oe = d;
4478
+ return (L.shadowroot || L.shadowrootmode) && (oe = Z.call(r, oe, !0)), oe;
4479
4479
  }
4480
- let ue = Le ? p.outerHTML : p.innerHTML;
4481
- return Le && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Oi, p.ownerDocument.doctype.name) && (ue = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4482
- ` + ue), de && Ot([re, le, v], (ve) => {
4483
- ue = at(ue, ve, " ");
4484
- }), L && Tt ? L.createHTML(ue) : ue;
4480
+ let fe = Le ? d.outerHTML : d.innerHTML;
4481
+ return Le && N["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && ue(Oi, d.ownerDocument.doctype.name) && (fe = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
4482
+ ` + fe), Ee && Ot([ae, de, v], (Se) => {
4483
+ fe = at(fe, Se, " ");
4484
+ }), R && Tt ? R.createHTML(fe) : fe;
4485
4485
  }, t.setConfig = function() {
4486
4486
  let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4487
4487
  rn(O), Qt = !0;
4488
4488
  }, t.clearConfig = function() {
4489
4489
  Fe = null, Qt = !1;
4490
- }, t.isValidAttribute = function(O, o, p) {
4490
+ }, t.isValidAttribute = function(O, o, d) {
4491
4491
  Fe || rn({});
4492
- const w = $(O), V = $(o);
4493
- return Qn(w, V, p);
4492
+ const w = ne(O), X = ne(o);
4493
+ return Qn(w, X, d);
4494
4494
  }, t.addHook = function(O, o) {
4495
- typeof o == "function" && (H[O] = H[O] || [], ot(H[O], o));
4495
+ typeof o == "function" && (_[O] = _[O] || [], ot(_[O], o));
4496
4496
  }, t.removeHook = function(O) {
4497
- if (H[O])
4498
- return Ar(H[O]);
4497
+ if (_[O])
4498
+ return Ar(_[O]);
4499
4499
  }, t.removeHooks = function(O) {
4500
- H[O] && (H[O] = []);
4500
+ _[O] && (_[O] = []);
4501
4501
  }, t.removeAllHooks = function() {
4502
- H = {};
4502
+ _ = {};
4503
4503
  }, t;
4504
4504
  }
4505
4505
  var Pr = Ci();
@@ -4509,275 +4509,275 @@ var Mi = { exports: {} };
4509
4509
  (function(n, r) {
4510
4510
  e.exports = r();
4511
4511
  })(Kr, function() {
4512
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", l = "second", a = "minute", c = "hour", u = "day", h = "week", g = "month", T = "quarter", C = "year", E = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
4513
- var y = ["th", "st", "nd", "rd"], d = v % 100;
4514
- return "[" + v + (y[(d - 20) % 10] || y[d] || y[0]) + "]";
4515
- } }, A = function(v, y, d) {
4512
+ var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", l = "second", a = "minute", c = "hour", u = "day", h = "week", g = "month", T = "quarter", C = "year", y = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
4513
+ var E = ["th", "st", "nd", "rd"], p = v % 100;
4514
+ return "[" + v + (E[(p - 20) % 10] || E[p] || E[0]) + "]";
4515
+ } }, A = function(v, E, p) {
4516
4516
  var S = String(v);
4517
- return !S || S.length >= y ? v : "" + Array(y + 1 - S.length).join(d) + v;
4518
- }, L = { s: A, z: function(v) {
4519
- var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60), f = d % 60;
4520
- return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4521
- }, m: function v(y, d) {
4522
- if (y.date() < d.date()) return -v(d, y);
4523
- var S = 12 * (d.year() - y.year()) + (d.month() - y.month()), f = y.clone().add(S, g), x = d - f < 0, N = y.clone().add(S + (x ? -1 : 1), g);
4524
- return +(-(S + (d - f) / (x ? f - N : N - f)) || 0);
4517
+ return !S || S.length >= E ? v : "" + Array(E + 1 - S.length).join(p) + v;
4518
+ }, R = { s: A, z: function(v) {
4519
+ var E = -v.utcOffset(), p = Math.abs(E), S = Math.floor(p / 60), f = p % 60;
4520
+ return (E <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4521
+ }, m: function v(E, p) {
4522
+ if (E.date() < p.date()) return -v(p, E);
4523
+ var S = 12 * (p.year() - E.year()) + (p.month() - E.month()), f = E.clone().add(S, g), x = p - f < 0, H = E.clone().add(S + (x ? -1 : 1), g);
4524
+ return +(-(S + (p - f) / (x ? f - H : H - f)) || 0);
4525
4525
  }, a: function(v) {
4526
4526
  return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
4527
4527
  }, p: function(v) {
4528
- return { M: g, y: C, w: h, d: u, D: E, h: c, m: a, s: l, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4528
+ return { M: g, y: C, w: h, d: u, D: y, h: c, m: a, s: l, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4529
4529
  }, u: function(v) {
4530
4530
  return v === void 0;
4531
- } }, D = "en", z = {};
4532
- z[D] = R;
4533
- var J = "$isDayjsObject", Y = function(v) {
4534
- return v instanceof re || !(!v || !v[J]);
4535
- }, Q = function v(y, d, S) {
4531
+ } }, I = "en", j = {};
4532
+ j[I] = P;
4533
+ var Y = "$isDayjsObject", q = function(v) {
4534
+ return v instanceof ae || !(!v || !v[Y]);
4535
+ }, ee = function v(E, p, S) {
4536
4536
  var f;
4537
- if (!y) return D;
4538
- if (typeof y == "string") {
4539
- var x = y.toLowerCase();
4540
- z[x] && (f = x), d && (z[x] = d, f = x);
4541
- var N = y.split("-");
4542
- if (!f && N.length > 1) return v(N[0]);
4537
+ if (!E) return I;
4538
+ if (typeof E == "string") {
4539
+ var x = E.toLowerCase();
4540
+ j[x] && (f = x), p && (j[x] = p, f = x);
4541
+ var H = E.split("-");
4542
+ if (!f && H.length > 1) return v(H[0]);
4543
4543
  } else {
4544
- var P = y.name;
4545
- z[P] = y, f = P;
4544
+ var N = E.name;
4545
+ j[N] = E, f = N;
4546
4546
  }
4547
- return !S && f && (D = f), f || !S && D;
4548
- }, W = function(v, y) {
4549
- if (Y(v)) return v.clone();
4550
- var d = typeof y == "object" ? y : {};
4551
- return d.date = v, d.args = arguments, new re(d);
4552
- }, H = L;
4553
- H.l = Q, H.i = Y, H.w = function(v, y) {
4554
- return W(v, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
4547
+ return !S && f && (I = f), f || !S && I;
4548
+ }, Z = function(v, E) {
4549
+ if (q(v)) return v.clone();
4550
+ var p = typeof E == "object" ? E : {};
4551
+ return p.date = v, p.args = arguments, new ae(p);
4552
+ }, _ = R;
4553
+ _.l = ee, _.i = q, _.w = function(v, E) {
4554
+ return Z(v, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4555
4555
  };
4556
- var re = function() {
4557
- function v(d) {
4558
- this.$L = Q(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[J] = !0;
4556
+ var ae = function() {
4557
+ function v(p) {
4558
+ this.$L = ee(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[Y] = !0;
4559
4559
  }
4560
- var y = v.prototype;
4561
- return y.parse = function(d) {
4560
+ var E = v.prototype;
4561
+ return E.parse = function(p) {
4562
4562
  this.$d = function(S) {
4563
4563
  var f = S.date, x = S.utc;
4564
4564
  if (f === null) return /* @__PURE__ */ new Date(NaN);
4565
- if (H.u(f)) return /* @__PURE__ */ new Date();
4565
+ if (_.u(f)) return /* @__PURE__ */ new Date();
4566
4566
  if (f instanceof Date) return new Date(f);
4567
4567
  if (typeof f == "string" && !/Z$/i.test(f)) {
4568
- var N = f.match(M);
4569
- if (N) {
4570
- var P = N[2] - 1 || 0, b = (N[7] || "0").substring(0, 3);
4571
- return x ? new Date(Date.UTC(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, b)) : new Date(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, b);
4568
+ var H = f.match(M);
4569
+ if (H) {
4570
+ var N = H[2] - 1 || 0, V = (H[7] || "0").substring(0, 3);
4571
+ return x ? new Date(Date.UTC(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V)) : new Date(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V);
4572
4572
  }
4573
4573
  }
4574
4574
  return new Date(f);
4575
- }(d), this.init();
4576
- }, y.init = function() {
4577
- var d = this.$d;
4578
- this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
4579
- }, y.$utils = function() {
4580
- return H;
4581
- }, y.isValid = function() {
4575
+ }(p), this.init();
4576
+ }, E.init = function() {
4577
+ var p = this.$d;
4578
+ this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
4579
+ }, E.$utils = function() {
4580
+ return _;
4581
+ }, E.isValid = function() {
4582
4582
  return this.$d.toString() !== m;
4583
- }, y.isSame = function(d, S) {
4584
- var f = W(d);
4583
+ }, E.isSame = function(p, S) {
4584
+ var f = Z(p);
4585
4585
  return this.startOf(S) <= f && f <= this.endOf(S);
4586
- }, y.isAfter = function(d, S) {
4587
- return W(d) < this.startOf(S);
4588
- }, y.isBefore = function(d, S) {
4589
- return this.endOf(S) < W(d);
4590
- }, y.$g = function(d, S, f) {
4591
- return H.u(d) ? this[S] : this.set(f, d);
4592
- }, y.unix = function() {
4586
+ }, E.isAfter = function(p, S) {
4587
+ return Z(p) < this.startOf(S);
4588
+ }, E.isBefore = function(p, S) {
4589
+ return this.endOf(S) < Z(p);
4590
+ }, E.$g = function(p, S, f) {
4591
+ return _.u(p) ? this[S] : this.set(f, p);
4592
+ }, E.unix = function() {
4593
4593
  return Math.floor(this.valueOf() / 1e3);
4594
- }, y.valueOf = function() {
4594
+ }, E.valueOf = function() {
4595
4595
  return this.$d.getTime();
4596
- }, y.startOf = function(d, S) {
4597
- var f = this, x = !!H.u(S) || S, N = H.p(d), P = function(Ee, ee) {
4598
- var ye = H.w(f.$u ? Date.UTC(f.$y, ee, Ee) : new Date(f.$y, ee, Ee), f);
4599
- return x ? ye : ye.endOf(u);
4600
- }, b = function(Ee, ee) {
4601
- return H.w(f.toDate()[Ee].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), f);
4602
- }, _ = this.$W, Z = this.$M, I = this.$D, pe = "set" + (this.$u ? "UTC" : "");
4603
- switch (N) {
4596
+ }, E.startOf = function(p, S) {
4597
+ var f = this, x = !!_.u(S) || S, H = _.p(p), N = function(Q, ie) {
4598
+ var Te = _.w(f.$u ? Date.UTC(f.$y, ie, Q) : new Date(f.$y, ie, Q), f);
4599
+ return x ? Te : Te.endOf(u);
4600
+ }, V = function(Q, ie) {
4601
+ return _.w(f.toDate()[Q].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), f);
4602
+ }, L = this.$W, K = this.$M, B = this.$D, b = "set" + (this.$u ? "UTC" : "");
4603
+ switch (H) {
4604
4604
  case C:
4605
- return x ? P(1, 0) : P(31, 11);
4605
+ return x ? N(1, 0) : N(31, 11);
4606
4606
  case g:
4607
- return x ? P(1, Z) : P(0, Z + 1);
4607
+ return x ? N(1, K) : N(0, K + 1);
4608
4608
  case h:
4609
- var be = this.$locale().weekStart || 0, Ce = (_ < be ? _ + 7 : _) - be;
4610
- return P(x ? I - Ce : I + (6 - Ce), Z);
4609
+ var F = this.$locale().weekStart || 0, re = (L < F ? L + 7 : L) - F;
4610
+ return N(x ? B - re : B + (6 - re), K);
4611
4611
  case u:
4612
- case E:
4613
- return b(pe + "Hours", 0);
4612
+ case y:
4613
+ return V(b + "Hours", 0);
4614
4614
  case c:
4615
- return b(pe + "Minutes", 1);
4615
+ return V(b + "Minutes", 1);
4616
4616
  case a:
4617
- return b(pe + "Seconds", 2);
4617
+ return V(b + "Seconds", 2);
4618
4618
  case l:
4619
- return b(pe + "Milliseconds", 3);
4619
+ return V(b + "Milliseconds", 3);
4620
4620
  default:
4621
4621
  return this.clone();
4622
4622
  }
4623
- }, y.endOf = function(d) {
4624
- return this.startOf(d, !1);
4625
- }, y.$set = function(d, S) {
4626
- var f, x = H.p(d), N = "set" + (this.$u ? "UTC" : ""), P = (f = {}, f[u] = N + "Date", f[E] = N + "Date", f[g] = N + "Month", f[C] = N + "FullYear", f[c] = N + "Hours", f[a] = N + "Minutes", f[l] = N + "Seconds", f[s] = N + "Milliseconds", f)[x], b = x === u ? this.$D + (S - this.$W) : S;
4623
+ }, E.endOf = function(p) {
4624
+ return this.startOf(p, !1);
4625
+ }, E.$set = function(p, S) {
4626
+ var f, x = _.p(p), H = "set" + (this.$u ? "UTC" : ""), N = (f = {}, f[u] = H + "Date", f[y] = H + "Date", f[g] = H + "Month", f[C] = H + "FullYear", f[c] = H + "Hours", f[a] = H + "Minutes", f[l] = H + "Seconds", f[s] = H + "Milliseconds", f)[x], V = x === u ? this.$D + (S - this.$W) : S;
4627
4627
  if (x === g || x === C) {
4628
- var _ = this.clone().set(E, 1);
4629
- _.$d[P](b), _.init(), this.$d = _.set(E, Math.min(this.$D, _.daysInMonth())).$d;
4630
- } else P && this.$d[P](b);
4628
+ var L = this.clone().set(y, 1);
4629
+ L.$d[N](V), L.init(), this.$d = L.set(y, Math.min(this.$D, L.daysInMonth())).$d;
4630
+ } else N && this.$d[N](V);
4631
4631
  return this.init(), this;
4632
- }, y.set = function(d, S) {
4633
- return this.clone().$set(d, S);
4634
- }, y.get = function(d) {
4635
- return this[H.p(d)]();
4636
- }, y.add = function(d, S) {
4632
+ }, E.set = function(p, S) {
4633
+ return this.clone().$set(p, S);
4634
+ }, E.get = function(p) {
4635
+ return this[_.p(p)]();
4636
+ }, E.add = function(p, S) {
4637
4637
  var f, x = this;
4638
- d = Number(d);
4639
- var N = H.p(S), P = function(Z) {
4640
- var I = W(x);
4641
- return H.w(I.date(I.date() + Math.round(Z * d)), x);
4638
+ p = Number(p);
4639
+ var H = _.p(S), N = function(K) {
4640
+ var B = Z(x);
4641
+ return _.w(B.date(B.date() + Math.round(K * p)), x);
4642
4642
  };
4643
- if (N === g) return this.set(g, this.$M + d);
4644
- if (N === C) return this.set(C, this.$y + d);
4645
- if (N === u) return P(1);
4646
- if (N === h) return P(7);
4647
- var b = (f = {}, f[a] = r, f[c] = i, f[l] = n, f)[N] || 1, _ = this.$d.getTime() + d * b;
4648
- return H.w(_, this);
4649
- }, y.subtract = function(d, S) {
4650
- return this.add(-1 * d, S);
4651
- }, y.format = function(d) {
4643
+ if (H === g) return this.set(g, this.$M + p);
4644
+ if (H === C) return this.set(C, this.$y + p);
4645
+ if (H === u) return N(1);
4646
+ if (H === h) return N(7);
4647
+ var V = (f = {}, f[a] = r, f[c] = i, f[l] = n, f)[H] || 1, L = this.$d.getTime() + p * V;
4648
+ return _.w(L, this);
4649
+ }, E.subtract = function(p, S) {
4650
+ return this.add(-1 * p, S);
4651
+ }, E.format = function(p) {
4652
4652
  var S = this, f = this.$locale();
4653
4653
  if (!this.isValid()) return f.invalidDate || m;
4654
- var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, b = this.$m, _ = this.$M, Z = f.weekdays, I = f.months, pe = f.meridiem, be = function(ee, ye, de, Me) {
4655
- return ee && (ee[ye] || ee(S, x)) || de[ye].slice(0, Me);
4656
- }, Ce = function(ee) {
4657
- return H.s(P % 12 || 12, ee, "0");
4658
- }, Ee = pe || function(ee, ye, de) {
4659
- var Me = ee < 12 ? "AM" : "PM";
4660
- return de ? Me.toLowerCase() : Me;
4654
+ var x = p || "YYYY-MM-DDTHH:mm:ssZ", H = _.z(this), N = this.$H, V = this.$m, L = this.$M, K = f.weekdays, B = f.months, b = f.meridiem, F = function(ie, Te, Ee, Me) {
4655
+ return ie && (ie[Te] || ie(S, x)) || Ee[Te].slice(0, Me);
4656
+ }, re = function(ie) {
4657
+ return _.s(N % 12 || 12, ie, "0");
4658
+ }, Q = b || function(ie, Te, Ee) {
4659
+ var Me = ie < 12 ? "AM" : "PM";
4660
+ return Ee ? Me.toLowerCase() : Me;
4661
4661
  };
4662
- return x.replace(j, function(ee, ye) {
4663
- return ye || function(de) {
4664
- switch (de) {
4662
+ return x.replace(W, function(ie, Te) {
4663
+ return Te || function(Ee) {
4664
+ switch (Ee) {
4665
4665
  case "YY":
4666
4666
  return String(S.$y).slice(-2);
4667
4667
  case "YYYY":
4668
- return H.s(S.$y, 4, "0");
4668
+ return _.s(S.$y, 4, "0");
4669
4669
  case "M":
4670
- return _ + 1;
4670
+ return L + 1;
4671
4671
  case "MM":
4672
- return H.s(_ + 1, 2, "0");
4672
+ return _.s(L + 1, 2, "0");
4673
4673
  case "MMM":
4674
- return be(f.monthsShort, _, I, 3);
4674
+ return F(f.monthsShort, L, B, 3);
4675
4675
  case "MMMM":
4676
- return be(I, _);
4676
+ return F(B, L);
4677
4677
  case "D":
4678
4678
  return S.$D;
4679
4679
  case "DD":
4680
- return H.s(S.$D, 2, "0");
4680
+ return _.s(S.$D, 2, "0");
4681
4681
  case "d":
4682
4682
  return String(S.$W);
4683
4683
  case "dd":
4684
- return be(f.weekdaysMin, S.$W, Z, 2);
4684
+ return F(f.weekdaysMin, S.$W, K, 2);
4685
4685
  case "ddd":
4686
- return be(f.weekdaysShort, S.$W, Z, 3);
4686
+ return F(f.weekdaysShort, S.$W, K, 3);
4687
4687
  case "dddd":
4688
- return Z[S.$W];
4688
+ return K[S.$W];
4689
4689
  case "H":
4690
- return String(P);
4690
+ return String(N);
4691
4691
  case "HH":
4692
- return H.s(P, 2, "0");
4692
+ return _.s(N, 2, "0");
4693
4693
  case "h":
4694
- return Ce(1);
4694
+ return re(1);
4695
4695
  case "hh":
4696
- return Ce(2);
4696
+ return re(2);
4697
4697
  case "a":
4698
- return Ee(P, b, !0);
4698
+ return Q(N, V, !0);
4699
4699
  case "A":
4700
- return Ee(P, b, !1);
4700
+ return Q(N, V, !1);
4701
4701
  case "m":
4702
- return String(b);
4702
+ return String(V);
4703
4703
  case "mm":
4704
- return H.s(b, 2, "0");
4704
+ return _.s(V, 2, "0");
4705
4705
  case "s":
4706
4706
  return String(S.$s);
4707
4707
  case "ss":
4708
- return H.s(S.$s, 2, "0");
4708
+ return _.s(S.$s, 2, "0");
4709
4709
  case "SSS":
4710
- return H.s(S.$ms, 3, "0");
4710
+ return _.s(S.$ms, 3, "0");
4711
4711
  case "Z":
4712
- return N;
4712
+ return H;
4713
4713
  }
4714
4714
  return null;
4715
- }(ee) || N.replace(":", "");
4715
+ }(ie) || H.replace(":", "");
4716
4716
  });
4717
- }, y.utcOffset = function() {
4717
+ }, E.utcOffset = function() {
4718
4718
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4719
- }, y.diff = function(d, S, f) {
4720
- var x, N = this, P = H.p(S), b = W(d), _ = (b.utcOffset() - this.utcOffset()) * r, Z = this - b, I = function() {
4721
- return H.m(N, b);
4719
+ }, E.diff = function(p, S, f) {
4720
+ var x, H = this, N = _.p(S), V = Z(p), L = (V.utcOffset() - this.utcOffset()) * r, K = this - V, B = function() {
4721
+ return _.m(H, V);
4722
4722
  };
4723
- switch (P) {
4723
+ switch (N) {
4724
4724
  case C:
4725
- x = I() / 12;
4725
+ x = B() / 12;
4726
4726
  break;
4727
4727
  case g:
4728
- x = I();
4728
+ x = B();
4729
4729
  break;
4730
4730
  case T:
4731
- x = I() / 3;
4731
+ x = B() / 3;
4732
4732
  break;
4733
4733
  case h:
4734
- x = (Z - _) / 6048e5;
4734
+ x = (K - L) / 6048e5;
4735
4735
  break;
4736
4736
  case u:
4737
- x = (Z - _) / 864e5;
4737
+ x = (K - L) / 864e5;
4738
4738
  break;
4739
4739
  case c:
4740
- x = Z / i;
4740
+ x = K / i;
4741
4741
  break;
4742
4742
  case a:
4743
- x = Z / r;
4743
+ x = K / r;
4744
4744
  break;
4745
4745
  case l:
4746
- x = Z / n;
4746
+ x = K / n;
4747
4747
  break;
4748
4748
  default:
4749
- x = Z;
4749
+ x = K;
4750
4750
  }
4751
- return f ? x : H.a(x);
4752
- }, y.daysInMonth = function() {
4751
+ return f ? x : _.a(x);
4752
+ }, E.daysInMonth = function() {
4753
4753
  return this.endOf(g).$D;
4754
- }, y.$locale = function() {
4755
- return z[this.$L];
4756
- }, y.locale = function(d, S) {
4757
- if (!d) return this.$L;
4758
- var f = this.clone(), x = Q(d, S, !0);
4754
+ }, E.$locale = function() {
4755
+ return j[this.$L];
4756
+ }, E.locale = function(p, S) {
4757
+ if (!p) return this.$L;
4758
+ var f = this.clone(), x = ee(p, S, !0);
4759
4759
  return x && (f.$L = x), f;
4760
- }, y.clone = function() {
4761
- return H.w(this.$d, this);
4762
- }, y.toDate = function() {
4760
+ }, E.clone = function() {
4761
+ return _.w(this.$d, this);
4762
+ }, E.toDate = function() {
4763
4763
  return new Date(this.valueOf());
4764
- }, y.toJSON = function() {
4764
+ }, E.toJSON = function() {
4765
4765
  return this.isValid() ? this.toISOString() : null;
4766
- }, y.toISOString = function() {
4766
+ }, E.toISOString = function() {
4767
4767
  return this.$d.toISOString();
4768
- }, y.toString = function() {
4768
+ }, E.toString = function() {
4769
4769
  return this.$d.toUTCString();
4770
4770
  }, v;
4771
- }(), le = re.prototype;
4772
- return W.prototype = le, [["$ms", s], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", g], ["$y", C], ["$D", E]].forEach(function(v) {
4773
- le[v[1]] = function(y) {
4774
- return this.$g(y, v[0], v[1]);
4771
+ }(), de = ae.prototype;
4772
+ return Z.prototype = de, [["$ms", s], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", g], ["$y", C], ["$D", y]].forEach(function(v) {
4773
+ de[v[1]] = function(E) {
4774
+ return this.$g(E, v[0], v[1]);
4775
4775
  };
4776
- }), W.extend = function(v, y) {
4777
- return v.$i || (v(y, re, W), v.$i = !0), W;
4778
- }, W.locale = Q, W.isDayjs = Y, W.unix = function(v) {
4779
- return W(1e3 * v);
4780
- }, W.en = z[D], W.Ls = z, W.p = {}, W;
4776
+ }), Z.extend = function(v, E) {
4777
+ return v.$i || (v(E, ae, Z), v.$i = !0), Z;
4778
+ }, Z.locale = ee, Z.isDayjs = q, Z.unix = function(v) {
4779
+ return Z(1e3 * v);
4780
+ }, Z.en = j[I], Z.Ls = j, Z.p = {}, Z;
4781
4781
  });
4782
4782
  })(Mi);
4783
4783
  var Ca = Mi.exports;
@@ -4812,20 +4812,20 @@ var Hi = { exports: {} };
4812
4812
  };
4813
4813
  var g = c.utcOffset;
4814
4814
  c.utcOffset = function(m, M) {
4815
- var j = this.$utils().u;
4816
- if (j(m)) return this.$u ? 0 : j(this.$offset) ? g.call(this) : this.$offset;
4817
- if (typeof m == "string" && (m = function(D) {
4818
- D === void 0 && (D = "");
4819
- var z = D.match(r);
4820
- if (!z) return null;
4821
- var J = ("" + z[0]).match(i) || ["-", 0, 0], Y = J[0], Q = 60 * +J[1] + +J[2];
4822
- return Q === 0 ? 0 : Y === "+" ? Q : -Q;
4815
+ var W = this.$utils().u;
4816
+ if (W(m)) return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4817
+ if (typeof m == "string" && (m = function(I) {
4818
+ I === void 0 && (I = "");
4819
+ var j = I.match(r);
4820
+ if (!j) return null;
4821
+ var Y = ("" + j[0]).match(i) || ["-", 0, 0], q = Y[0], ee = 60 * +Y[1] + +Y[2];
4822
+ return ee === 0 ? 0 : q === "+" ? ee : -ee;
4823
4823
  }(m), m === null)) return this;
4824
- var R = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4825
- if (M) return A.$offset = R, A.$u = m === 0, A;
4824
+ var P = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4825
+ if (M) return A.$offset = P, A.$u = m === 0, A;
4826
4826
  if (m !== 0) {
4827
- var L = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4828
- (A = this.local().add(R + L, n)).$offset = R, A.$x.$localOffset = L;
4827
+ var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4828
+ (A = this.local().add(P + R, n)).$offset = P, A.$x.$localOffset = R;
4829
4829
  } else A = this.utc();
4830
4830
  return A;
4831
4831
  };
@@ -4847,11 +4847,11 @@ var Hi = { exports: {} };
4847
4847
  c.toDate = function(m) {
4848
4848
  return m === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
4849
4849
  };
4850
- var E = c.diff;
4851
- c.diff = function(m, M, j) {
4852
- if (m && this.$u === m.$u) return E.call(this, m, M, j);
4853
- var R = this.local(), A = a(m).local();
4854
- return E.call(R, A, M, j);
4850
+ var y = c.diff;
4851
+ c.diff = function(m, M, W) {
4852
+ if (m && this.$u === m.$u) return y.call(this, m, M, W);
4853
+ var P = this.local(), A = a(m).local();
4854
+ return y.call(P, A, M, W);
4855
4855
  };
4856
4856
  };
4857
4857
  });
@@ -4866,57 +4866,57 @@ function Ur(e) {
4866
4866
  let t, n, r, i, s, l = (
4867
4867
  /*$_*/
4868
4868
  e[8]("sessionExpirationHeader") + ""
4869
- ), a, c, u, h, g, T, C, E, m, M, j, R, A, L, D;
4870
- const z = (
4869
+ ), a, c, u, h, g, T, C, y, m, M, W, P, A, R, I;
4870
+ const j = (
4871
4871
  /*#slots*/
4872
4872
  e[20].icon
4873
- ), J = Mt(
4874
- z,
4873
+ ), Y = Mt(
4874
+ j,
4875
4875
  e,
4876
4876
  /*$$scope*/
4877
4877
  e[19],
4878
4878
  Br
4879
- ), Y = J || Ua(e), Q = (
4879
+ ), q = Y || Ua(e), ee = (
4880
4880
  /*#slots*/
4881
4881
  e[20].title
4882
- ), W = Mt(
4883
- Q,
4882
+ ), Z = Mt(
4883
+ ee,
4884
4884
  e,
4885
4885
  /*$$scope*/
4886
4886
  e[19],
4887
4887
  Dr
4888
- ), H = W || ka(e), re = (
4888
+ ), _ = Z || ka(e), ae = (
4889
4889
  /*#slots*/
4890
4890
  e[20].text
4891
- ), le = Mt(
4892
- re,
4891
+ ), de = Mt(
4892
+ ae,
4893
4893
  e,
4894
4894
  /*$$scope*/
4895
4895
  e[19],
4896
4896
  Ir
4897
- ), v = le || Ga(e), y = [za, Fa], d = [];
4897
+ ), v = de || Ga(e), E = [za, Fa], p = [];
4898
4898
  function S(f, x) {
4899
4899
  return (
4900
4900
  /*showLoaderButton*/
4901
4901
  f[6] ? 0 : 1
4902
4902
  );
4903
4903
  }
4904
- return m = S(e), M = d[m] = y[m](e), {
4904
+ return m = S(e), M = p[m] = E[m](e), {
4905
4905
  c() {
4906
- t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"), a = Ke(l), c = ht(), u = K("div"), h = K("div"), Y && Y.c(), g = ht(), H && H.c(), T = ht(), v && v.c(), C = ht(), E = K("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(E, "type", "button"), E.disabled = /*showLoaderButton*/
4907
- e[6], G(E, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Xe(() => (
4906
+ t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), a = Ke(l), c = ht(), u = te("div"), h = te("div"), q && q.c(), g = ht(), _ && _.c(), T = ht(), v && v.c(), C = ht(), y = te("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(y, "type", "button"), y.disabled = /*showLoaderButton*/
4907
+ e[6], G(y, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Xe(() => (
4908
4908
  /*div5_elementresize_handler*/
4909
4909
  e[22].call(n)
4910
4910
  )), G(t, "part", "CustomStylingContainer");
4911
4911
  },
4912
4912
  m(f, x) {
4913
- we(f, t, x), q(t, n), q(n, r), q(r, i), q(i, s), q(s, a), q(r, c), q(r, u), q(u, h), Y && Y.m(h, null), q(h, g), H && H.m(h, null), q(h, T), v && v.m(h, null), q(h, C), q(h, E), d[m].m(E, null), e[21](h), j = Ji(
4913
+ Ae(f, t, x), $(t, n), $(n, r), $(r, i), $(i, s), $(s, a), $(r, c), $(r, u), $(u, h), q && q.m(h, null), $(h, g), _ && _.m(h, null), $(h, T), v && v.m(h, null), $(h, C), $(h, y), p[m].m(y, null), e[21](h), W = Ji(
4914
4914
  n,
4915
4915
  /*div5_elementresize_handler*/
4916
4916
  e[22].bind(n)
4917
- ), e[23](t), A = !0, L || (D = [
4917
+ ), e[23](t), A = !0, R || (I = [
4918
4918
  Ut(
4919
- E,
4919
+ y,
4920
4920
  "click",
4921
4921
  /*renewSession*/
4922
4922
  e[9]
@@ -4927,20 +4927,20 @@ function Ur(e) {
4927
4927
  /*outOfModalClick*/
4928
4928
  e[10]
4929
4929
  )
4930
- ], L = !0);
4930
+ ], R = !0);
4931
4931
  },
4932
4932
  p(f, x) {
4933
4933
  e = f, (!A || x[0] & /*$_*/
4934
4934
  256) && l !== (l = /*$_*/
4935
- e[8]("sessionExpirationHeader") + "") && Vt(a, l), J ? J.p && (!A || x[0] & /*$$scope*/
4935
+ e[8]("sessionExpirationHeader") + "") && Vt(a, l), Y ? Y.p && (!A || x[0] & /*$$scope*/
4936
4936
  524288) && Nt(
4937
- J,
4938
- z,
4937
+ Y,
4938
+ j,
4939
4939
  e,
4940
4940
  /*$$scope*/
4941
4941
  e[19],
4942
4942
  A ? Ht(
4943
- z,
4943
+ j,
4944
4944
  /*$$scope*/
4945
4945
  e[19],
4946
4946
  x,
@@ -4950,16 +4950,16 @@ function Ur(e) {
4950
4950
  e[19]
4951
4951
  ),
4952
4952
  Br
4953
- ) : Y && Y.p && (!A || x[0] & /*assetsurl*/
4954
- 8) && Y.p(e, A ? x : [-1, -1]), W ? W.p && (!A || x[0] & /*$$scope*/
4953
+ ) : q && q.p && (!A || x[0] & /*assetsurl*/
4954
+ 8) && q.p(e, A ? x : [-1, -1]), Z ? Z.p && (!A || x[0] & /*$$scope*/
4955
4955
  524288) && Nt(
4956
- W,
4957
- Q,
4956
+ Z,
4957
+ ee,
4958
4958
  e,
4959
4959
  /*$$scope*/
4960
4960
  e[19],
4961
4961
  A ? Ht(
4962
- Q,
4962
+ ee,
4963
4963
  /*$$scope*/
4964
4964
  e[19],
4965
4965
  x,
@@ -4969,16 +4969,16 @@ function Ur(e) {
4969
4969
  e[19]
4970
4970
  ),
4971
4971
  Dr
4972
- ) : H && H.p && (!A || x[0] & /*$_*/
4973
- 256) && H.p(e, A ? x : [-1, -1]), le ? le.p && (!A || x[0] & /*$$scope*/
4972
+ ) : _ && _.p && (!A || x[0] & /*$_*/
4973
+ 256) && _.p(e, A ? x : [-1, -1]), de ? de.p && (!A || x[0] & /*$$scope*/
4974
4974
  524288) && Nt(
4975
- le,
4976
- re,
4975
+ de,
4976
+ ae,
4977
4977
  e,
4978
4978
  /*$$scope*/
4979
4979
  e[19],
4980
4980
  A ? Ht(
4981
- re,
4981
+ ae,
4982
4982
  /*$$scope*/
4983
4983
  e[19],
4984
4984
  x,
@@ -4990,29 +4990,29 @@ function Ur(e) {
4990
4990
  Ir
4991
4991
  ) : v && v.p && (!A || x[0] & /*$_, timeLeft*/
4992
4992
  384) && v.p(e, A ? x : [-1, -1]);
4993
- let N = m;
4994
- m = S(e), m === N ? d[m].p(e, x) : (Yr(), He(d[N], 1, 1, () => {
4995
- d[N] = null;
4996
- }), qr(), M = d[m], M ? M.p(e, x) : (M = d[m] = y[m](e), M.c()), Se(M, 1), M.m(E, null)), (!A || x[0] & /*showLoaderButton*/
4997
- 64) && (E.disabled = /*showLoaderButton*/
4993
+ let H = m;
4994
+ m = S(e), m === H ? p[m].p(e, x) : (Yr(), He(p[H], 1, 1, () => {
4995
+ p[H] = null;
4996
+ }), qr(), M = p[m], M ? M.p(e, x) : (M = p[m] = E[m](e), M.c()), we(M, 1), M.m(y, null)), (!A || x[0] & /*showLoaderButton*/
4997
+ 64) && (y.disabled = /*showLoaderButton*/
4998
4998
  e[6]);
4999
4999
  },
5000
5000
  i(f) {
5001
- A || (Se(Y, f), Se(H, f), Se(v, f), Se(M), f && Xe(() => {
5002
- A && (R || (R = or(n, ar, { duration: (
5001
+ A || (we(q, f), we(_, f), we(v, f), we(M), f && Xe(() => {
5002
+ A && (P || (P = or(n, ar, { duration: (
5003
5003
  /*duration*/
5004
5004
  e[2]
5005
- ) }, !0)), R.run(1));
5005
+ ) }, !0)), P.run(1));
5006
5006
  }), A = !0);
5007
5007
  },
5008
5008
  o(f) {
5009
- He(Y, f), He(H, f), He(v, f), He(M), f && (R || (R = or(n, ar, { duration: (
5009
+ He(q, f), He(_, f), He(v, f), He(M), f && (P || (P = or(n, ar, { duration: (
5010
5010
  /*duration*/
5011
5011
  e[2]
5012
- ) }, !1)), R.run(0)), A = !1;
5012
+ ) }, !1)), P.run(0)), A = !1;
5013
5013
  },
5014
5014
  d(f) {
5015
- f && me(t), Y && Y.d(f), H && H.d(f), v && v.d(f), d[m].d(), e[21](null), j(), f && R && R.end(), e[23](null), L = !1, Pe(D);
5015
+ f && be(t), q && q.d(f), _ && _.d(f), v && v.d(f), p[m].d(), e[21](null), W(), f && P && P.end(), e[23](null), R = !1, Pe(I);
5016
5016
  }
5017
5017
  };
5018
5018
  }
@@ -5020,14 +5020,14 @@ function Da(e) {
5020
5020
  let t, n;
5021
5021
  return {
5022
5022
  c() {
5023
- t = K("img"), En(t.src, n = Oa) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5023
+ t = te("img"), En(t.src, n = Oa) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5024
5024
  },
5025
5025
  m(r, i) {
5026
- we(r, t, i);
5026
+ Ae(r, t, i);
5027
5027
  },
5028
- p: he,
5028
+ p: pe,
5029
5029
  d(r) {
5030
- r && me(t);
5030
+ r && be(t);
5031
5031
  }
5032
5032
  };
5033
5033
  }
@@ -5035,11 +5035,11 @@ function Ba(e) {
5035
5035
  let t, n;
5036
5036
  return {
5037
5037
  c() {
5038
- t = K("img"), En(t.src, n = `${/*assetsurl*/
5038
+ t = te("img"), En(t.src, n = `${/*assetsurl*/
5039
5039
  e[3]}/set-timeout-icon.png`) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5040
5040
  },
5041
5041
  m(r, i) {
5042
- we(r, t, i);
5042
+ Ae(r, t, i);
5043
5043
  },
5044
5044
  p(r, i) {
5045
5045
  i[0] & /*assetsurl*/
@@ -5047,7 +5047,7 @@ function Ba(e) {
5047
5047
  r[3]}/set-timeout-icon.png`) && G(t, "src", n);
5048
5048
  },
5049
5049
  d(r) {
5050
- r && me(t);
5050
+ r && be(t);
5051
5051
  }
5052
5052
  };
5053
5053
  }
@@ -5065,13 +5065,13 @@ function Ua(e) {
5065
5065
  i.c(), t = Xr();
5066
5066
  },
5067
5067
  m(s, l) {
5068
- i.m(s, l), we(s, t, l);
5068
+ i.m(s, l), Ae(s, t, l);
5069
5069
  },
5070
5070
  p(s, l) {
5071
5071
  r === (r = n(s)) && i ? i.p(s, l) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
5072
5072
  },
5073
5073
  d(s) {
5074
- s && me(t), i.d(s);
5074
+ s && be(t), i.d(s);
5075
5075
  }
5076
5076
  };
5077
5077
  }
@@ -5082,10 +5082,10 @@ function ka(e) {
5082
5082
  ), r;
5083
5083
  return {
5084
5084
  c() {
5085
- t = K("span"), r = Ke(n), G(t, "class", "CashierSessionExpirationTitle");
5085
+ t = te("span"), r = Ke(n), G(t, "class", "CashierSessionExpirationTitle");
5086
5086
  },
5087
5087
  m(i, s) {
5088
- we(i, t, s), q(t, r);
5088
+ Ae(i, t, s), $(t, r);
5089
5089
  },
5090
5090
  p(i, s) {
5091
5091
  s[0] & /*$_*/
@@ -5093,7 +5093,7 @@ function ka(e) {
5093
5093
  i[8]("sessionExpirationTitle") + "") && Vt(r, n);
5094
5094
  },
5095
5095
  d(i) {
5096
- i && me(t);
5096
+ i && be(t);
5097
5097
  }
5098
5098
  };
5099
5099
  }
@@ -5107,10 +5107,10 @@ function Ga(e) {
5107
5107
  ) + "";
5108
5108
  return {
5109
5109
  c() {
5110
- t = K("span"), G(t, "class", "CashierSessionExpirationText");
5110
+ t = te("span"), G(t, "class", "CashierSessionExpirationText");
5111
5111
  },
5112
5112
  m(r, i) {
5113
- we(r, t, i), t.innerHTML = n;
5113
+ Ae(r, t, i), t.innerHTML = n;
5114
5114
  },
5115
5115
  p(r, i) {
5116
5116
  i[0] & /*$_, timeLeft*/
@@ -5123,7 +5123,7 @@ function Ga(e) {
5123
5123
  ) + "") && (t.innerHTML = n);
5124
5124
  },
5125
5125
  d(r) {
5126
- r && me(t);
5126
+ r && be(t);
5127
5127
  }
5128
5128
  };
5129
5129
  }
@@ -5169,7 +5169,7 @@ function Fa(e) {
5169
5169
  256) && i.p(s, t ? l : [-1, -1]);
5170
5170
  },
5171
5171
  i(s) {
5172
- t || (Se(i, s), t = !0);
5172
+ t || (we(i, s), t = !0);
5173
5173
  },
5174
5174
  o(s) {
5175
5175
  He(i, s), t = !1;
@@ -5186,20 +5186,20 @@ function za(e) {
5186
5186
  ), a;
5187
5187
  return {
5188
5188
  c() {
5189
- t = K("div"), n = rr("svg"), r = rr("path"), i = ht(), s = K("span"), a = Ke(l), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
5189
+ t = te("div"), n = rr("svg"), r = rr("path"), i = ht(), s = te("span"), a = Ke(l), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
5190
5190
  },
5191
5191
  m(c, u) {
5192
- we(c, t, u), q(t, n), q(n, r), q(t, i), q(t, s), q(s, a);
5192
+ Ae(c, t, u), $(t, n), $(n, r), $(t, i), $(t, s), $(s, a);
5193
5193
  },
5194
5194
  p(c, u) {
5195
5195
  u[0] & /*$_*/
5196
5196
  256 && l !== (l = /*$_*/
5197
5197
  c[8]("sessionExpirationLoadingButton") + "") && Vt(a, l);
5198
5198
  },
5199
- i: he,
5200
- o: he,
5199
+ i: pe,
5200
+ o: pe,
5201
5201
  d(c) {
5202
- c && me(t);
5202
+ c && be(t);
5203
5203
  }
5204
5204
  };
5205
5205
  }
@@ -5210,10 +5210,10 @@ function ja(e) {
5210
5210
  ), r;
5211
5211
  return {
5212
5212
  c() {
5213
- t = K("span"), r = Ke(n), G(t, "class", "CashierSessionExpirationButtonText");
5213
+ t = te("span"), r = Ke(n), G(t, "class", "CashierSessionExpirationButtonText");
5214
5214
  },
5215
5215
  m(i, s) {
5216
- we(i, t, s), q(t, r);
5216
+ Ae(i, t, s), $(t, r);
5217
5217
  },
5218
5218
  p(i, s) {
5219
5219
  s[0] & /*$_*/
@@ -5221,7 +5221,7 @@ function ja(e) {
5221
5221
  i[8]("sessionExpirationGeneralButton") + "") && Vt(r, n);
5222
5222
  },
5223
5223
  d(i) {
5224
- i && me(t);
5224
+ i && be(t);
5225
5225
  }
5226
5226
  };
5227
5227
  }
@@ -5235,23 +5235,23 @@ function Wa(e) {
5235
5235
  r && r.c(), t = Xr();
5236
5236
  },
5237
5237
  m(i, s) {
5238
- r && r.m(i, s), we(i, t, s), n = !0;
5238
+ r && r.m(i, s), Ae(i, t, s), n = !0;
5239
5239
  },
5240
5240
  p(i, s) {
5241
5241
  /*show*/
5242
5242
  i[5] ? r ? (r.p(i, s), s[0] & /*show*/
5243
- 32 && Se(r, 1)) : (r = Ur(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (Yr(), He(r, 1, 1, () => {
5243
+ 32 && we(r, 1)) : (r = Ur(i), r.c(), we(r, 1), r.m(t.parentNode, t)) : r && (Yr(), He(r, 1, 1, () => {
5244
5244
  r = null;
5245
5245
  }), qr());
5246
5246
  },
5247
5247
  i(i) {
5248
- n || (Se(r), n = !0);
5248
+ n || (we(r), n = !0);
5249
5249
  },
5250
5250
  o(i) {
5251
5251
  He(r), n = !1;
5252
5252
  },
5253
5253
  d(i) {
5254
- i && me(t), r && r.d(i);
5254
+ i && be(t), r && r.d(i);
5255
5255
  }
5256
5256
  };
5257
5257
  }
@@ -5261,124 +5261,156 @@ function Va(e, t, n) {
5261
5261
  Fi(e, oa, (b) => n(8, r = b));
5262
5262
  let { $$slots: i = {}, $$scope: s } = t;
5263
5263
  Rr.extend(Ha);
5264
- let { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: g = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: E } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: j } = t, R, A = !1, L = !1, D, z, J, Y, Q;
5265
- const W = (b) => {
5266
- b.data.type === "StartSessionCountdown" && (Q = b.data.xPaymentSessionToken, Y = b.data.paymentMethodName, re());
5267
- }, H = (b) => {
5264
+ let { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: g = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: y } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: W } = t, P, A = !1, R = !1, I, j, Y, q, ee, Z;
5265
+ var _;
5266
+ (function(b) {
5267
+ b.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", b.Success = "Success", b.JwtTokenError = "JwtTokenError";
5268
+ })(_ || (_ = {}));
5269
+ const ae = (b) => {
5270
+ b.data.type === "StartSessionCountdown" && (ee = b.data.xPaymentSessionToken, q = b.data.paymentMethodName, E());
5271
+ }, de = (b) => {
5268
5272
  try {
5269
5273
  return JSON.parse(atob(b.split(".")[1]));
5270
5274
  } catch {
5271
5275
  return null;
5272
5276
  }
5273
- }, re = () => {
5277
+ }, v = () => {
5278
+ window.postMessage(
5279
+ {
5280
+ type: "ErrorResponseCode",
5281
+ errorResponseCode: Z
5282
+ },
5283
+ window.location.href
5284
+ );
5285
+ }, E = () => {
5274
5286
  n(5, A = !1);
5275
- const b = H(Q);
5276
- b && (z = b?.exp, n(7, D = z), J && clearInterval(J), J = setInterval(
5287
+ const b = de(ee);
5288
+ b && (j = b?.exp, n(7, I = j), Y && clearInterval(Y), Y = setInterval(
5277
5289
  () => {
5278
- const _ = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5279
- n(7, D = z - _), D <= Za && n(5, A = !0), _ >= z && (n(7, D = 0), n(5, A = !1), clearInterval(J), window.postMessage({ type: "SessionExpired" }, window.location.href));
5290
+ const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5291
+ n(7, I = j - F), I <= Za && n(5, A = !0), F >= j && (p(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5280
5292
  },
5281
5293
  1e3
5282
5294
  ));
5283
- }, le = () => {
5284
- if (L) return;
5285
- const b = new URL(`${E}/v1/player/${M}/payment/GetPaymentMethod`), _ = new Headers();
5286
- n(6, L = !0), _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("X-Client-Request-Timestamp", Rr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5287
- const Z = {
5295
+ }, p = () => {
5296
+ n(7, I = 0), n(5, A = !1), clearInterval(Y);
5297
+ }, S = () => {
5298
+ if (R) return;
5299
+ const b = new URL(`${y}/v1/player/${M}/payment/GetPaymentMethod`), F = new Headers();
5300
+ n(6, R = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", Rr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5301
+ const re = {
5288
5302
  method: "POST",
5289
5303
  mode: "cors",
5290
- headers: _,
5304
+ headers: F,
5291
5305
  body: JSON.stringify({
5292
- PaymentMethodName: Y || j,
5306
+ PaymentMethodName: q || W,
5293
5307
  Currency: m,
5294
- XPaymentSessionToken: Q
5308
+ XPaymentSessionToken: ee
5295
5309
  })
5296
5310
  };
5297
- fetch(b, Z).then((I) => I.json()).then((I) => {
5298
- Q = I.XPaymentSessionToken, re();
5299
- }).finally(() => n(6, L = !1));
5300
- }, v = (b) => {
5301
- const _ = b.currentTarget;
5302
- b.target === _ && le();
5303
- }, y = () => {
5304
- fetch(C).then((_) => _.json()).then((_) => {
5305
- Object.keys(_).forEach((Z) => {
5306
- vr(Z, _[Z]);
5311
+ fetch(b, re).then((Q) => Q.json()).then((Q) => {
5312
+ if (Q.error) {
5313
+ window.postMessage(
5314
+ {
5315
+ type: "ShowSessionError",
5316
+ error: Q.error
5317
+ },
5318
+ window.location.href
5319
+ ), p();
5320
+ return;
5321
+ }
5322
+ if (Q.ResponseCode === _.PlayerSessionIsNotValid || Q.ResponseCode === _.JwtTokenError) {
5323
+ Z = Q.ResponseCode, p(), v();
5324
+ return;
5325
+ }
5326
+ if (Q.ResponseCode !== _.Success) {
5327
+ Z = Q.ResponseCode, p();
5328
+ return;
5329
+ }
5330
+ ee = Q.XPaymentSessionToken, E();
5331
+ }).finally(() => n(6, R = !1));
5332
+ }, f = (b) => {
5333
+ const F = b.currentTarget;
5334
+ b.target === F && S();
5335
+ }, x = () => {
5336
+ fetch(C).then((F) => F.json()).then((F) => {
5337
+ Object.keys(F).forEach((re) => {
5338
+ vr(re, F[re]);
5307
5339
  });
5308
- }).catch((_) => {
5309
- console.log(_);
5340
+ }).catch((F) => {
5341
+ console.log(F);
5310
5342
  });
5311
5343
  };
5312
5344
  Object.keys(Sr).forEach((b) => {
5313
5345
  vr(b, Sr[b]);
5314
5346
  });
5315
- const d = () => {
5347
+ const H = () => {
5316
5348
  aa(T);
5317
- }, S = () => {
5349
+ }, N = () => {
5318
5350
  let b = document.createElement("style");
5319
- b.innerHTML = l, R.appendChild(b);
5320
- }, f = () => {
5321
- let b = new URL(a), _ = document.createElement("style");
5322
- fetch(b.href).then((Z) => Z.text()).then((Z) => {
5323
- _.innerHTML = Z, setTimeout(
5351
+ b.innerHTML = l, P.appendChild(b);
5352
+ }, V = () => {
5353
+ let b = new URL(a), F = document.createElement("style");
5354
+ fetch(b.href).then((re) => re.text()).then((re) => {
5355
+ F.innerHTML = re, setTimeout(
5324
5356
  () => {
5325
- R.appendChild(_);
5357
+ P.appendChild(F);
5326
5358
  },
5327
5359
  1
5328
5360
  );
5329
5361
  });
5330
5362
  };
5331
- ts(() => (window.addEventListener("message", W, !1), () => {
5332
- window.removeEventListener("message", W);
5363
+ ts(() => (window.addEventListener("message", ae, !1), () => {
5364
+ window.removeEventListener("message", ae);
5333
5365
  })), ns(() => {
5334
- clearInterval(J);
5366
+ clearInterval(Y);
5335
5367
  });
5336
- function x(b) {
5368
+ function L(b) {
5337
5369
  Ft[b ? "unshift" : "push"](() => {
5338
- R = b, n(4, R);
5370
+ P = b, n(4, P);
5339
5371
  });
5340
5372
  }
5341
- function N() {
5373
+ function K() {
5342
5374
  c = this.clientWidth, u = this.clientHeight, n(0, c), n(1, u);
5343
5375
  }
5344
- function P(b) {
5376
+ function B(b) {
5345
5377
  Ft[b ? "unshift" : "push"](() => {
5346
- R = b, n(4, R);
5378
+ P = b, n(4, P);
5347
5379
  });
5348
5380
  }
5349
5381
  return e.$$set = (b) => {
5350
- "clientstyling" in b && n(11, l = b.clientstyling), "clientstylingurl" in b && n(12, a = b.clientstylingurl), "width" in b && n(0, c = b.width), "height" in b && n(1, u = b.height), "duration" in b && n(2, h = b.duration), "assetsurl" in b && n(3, g = b.assetsurl), "lang" in b && n(13, T = b.lang), "translationurl" in b && n(14, C = b.translationurl), "endpoint" in b && n(15, E = b.endpoint), "currency" in b && n(16, m = b.currency), "customerid" in b && n(17, M = b.customerid), "selectedpaymentmethodname" in b && n(18, j = b.selectedpaymentmethodname), "$$scope" in b && n(19, s = b.$$scope);
5382
+ "clientstyling" in b && n(11, l = b.clientstyling), "clientstylingurl" in b && n(12, a = b.clientstylingurl), "width" in b && n(0, c = b.width), "height" in b && n(1, u = b.height), "duration" in b && n(2, h = b.duration), "assetsurl" in b && n(3, g = b.assetsurl), "lang" in b && n(13, T = b.lang), "translationurl" in b && n(14, C = b.translationurl), "endpoint" in b && n(15, y = b.endpoint), "currency" in b && n(16, m = b.currency), "customerid" in b && n(17, M = b.customerid), "selectedpaymentmethodname" in b && n(18, W = b.selectedpaymentmethodname), "$$scope" in b && n(19, s = b.$$scope);
5351
5383
  }, e.$$.update = () => {
5352
5384
  e.$$.dirty[0] & /*lang*/
5353
- 8192 && T && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5354
- 2064 && l && R && S(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5355
- 4112 && a && R && f(), e.$$.dirty[0] & /*translationurl*/
5356
- 16384 && C && y();
5385
+ 8192 && T && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5386
+ 2064 && l && P && N(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5387
+ 4112 && a && P && V(), e.$$.dirty[0] & /*translationurl*/
5388
+ 16384 && C && x();
5357
5389
  }, [
5358
5390
  c,
5359
5391
  u,
5360
5392
  h,
5361
5393
  g,
5362
- R,
5394
+ P,
5363
5395
  A,
5364
- L,
5365
- D,
5396
+ R,
5397
+ I,
5366
5398
  r,
5367
- le,
5368
- v,
5399
+ S,
5400
+ f,
5369
5401
  l,
5370
5402
  a,
5371
5403
  T,
5372
5404
  C,
5373
- E,
5405
+ y,
5374
5406
  m,
5375
5407
  M,
5376
- j,
5408
+ W,
5377
5409
  s,
5378
5410
  i,
5379
- x,
5380
- N,
5381
- P
5411
+ L,
5412
+ K,
5413
+ B
5382
5414
  ];
5383
5415
  }
5384
5416
  class Xa extends ps {
@@ -5411,73 +5443,73 @@ class Xa extends ps {
5411
5443
  return this.$$.ctx[11];
5412
5444
  }
5413
5445
  set clientstyling(t) {
5414
- this.$$set({ clientstyling: t }), ce();
5446
+ this.$$set({ clientstyling: t }), me();
5415
5447
  }
5416
5448
  get clientstylingurl() {
5417
5449
  return this.$$.ctx[12];
5418
5450
  }
5419
5451
  set clientstylingurl(t) {
5420
- this.$$set({ clientstylingurl: t }), ce();
5452
+ this.$$set({ clientstylingurl: t }), me();
5421
5453
  }
5422
5454
  get width() {
5423
5455
  return this.$$.ctx[0];
5424
5456
  }
5425
5457
  set width(t) {
5426
- this.$$set({ width: t }), ce();
5458
+ this.$$set({ width: t }), me();
5427
5459
  }
5428
5460
  get height() {
5429
5461
  return this.$$.ctx[1];
5430
5462
  }
5431
5463
  set height(t) {
5432
- this.$$set({ height: t }), ce();
5464
+ this.$$set({ height: t }), me();
5433
5465
  }
5434
5466
  get duration() {
5435
5467
  return this.$$.ctx[2];
5436
5468
  }
5437
5469
  set duration(t) {
5438
- this.$$set({ duration: t }), ce();
5470
+ this.$$set({ duration: t }), me();
5439
5471
  }
5440
5472
  get assetsurl() {
5441
5473
  return this.$$.ctx[3];
5442
5474
  }
5443
5475
  set assetsurl(t) {
5444
- this.$$set({ assetsurl: t }), ce();
5476
+ this.$$set({ assetsurl: t }), me();
5445
5477
  }
5446
5478
  get lang() {
5447
5479
  return this.$$.ctx[13];
5448
5480
  }
5449
5481
  set lang(t) {
5450
- this.$$set({ lang: t }), ce();
5482
+ this.$$set({ lang: t }), me();
5451
5483
  }
5452
5484
  get translationurl() {
5453
5485
  return this.$$.ctx[14];
5454
5486
  }
5455
5487
  set translationurl(t) {
5456
- this.$$set({ translationurl: t }), ce();
5488
+ this.$$set({ translationurl: t }), me();
5457
5489
  }
5458
5490
  get endpoint() {
5459
5491
  return this.$$.ctx[15];
5460
5492
  }
5461
5493
  set endpoint(t) {
5462
- this.$$set({ endpoint: t }), ce();
5494
+ this.$$set({ endpoint: t }), me();
5463
5495
  }
5464
5496
  get currency() {
5465
5497
  return this.$$.ctx[16];
5466
5498
  }
5467
5499
  set currency(t) {
5468
- this.$$set({ currency: t }), ce();
5500
+ this.$$set({ currency: t }), me();
5469
5501
  }
5470
5502
  get customerid() {
5471
5503
  return this.$$.ctx[17];
5472
5504
  }
5473
5505
  set customerid(t) {
5474
- this.$$set({ customerid: t }), ce();
5506
+ this.$$set({ customerid: t }), me();
5475
5507
  }
5476
5508
  get selectedpaymentmethodname() {
5477
5509
  return this.$$.ctx[18];
5478
5510
  }
5479
5511
  set selectedpaymentmethodname(t) {
5480
- this.$$set({ selectedpaymentmethodname: t }), ce();
5512
+ this.$$set({ selectedpaymentmethodname: t }), me();
5481
5513
  }
5482
5514
  }
5483
5515
  ms(Xa, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);