@everymatrix/cashier-session-expiration-modal 1.86.3 → 1.86.5

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.
@@ -15,18 +15,18 @@ function Wr(e) {
15
15
  function ir() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function Be(e) {
18
+ function $e(e) {
19
19
  e.forEach(Wr);
20
20
  }
21
- function qt(e) {
21
+ function Qt(e) {
22
22
  return typeof e == "function";
23
23
  }
24
24
  function Vr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Lt;
27
+ let Ht;
28
28
  function or(e, t) {
29
- return e === t ? !0 : (Lt || (Lt = document.createElement("a")), Lt.href = t, e === Lt.href);
29
+ return e === t ? !0 : (Ht || (Ht = document.createElement("a")), Ht.href = t, e === Ht.href);
30
30
  }
31
31
  function zi(e) {
32
32
  return Object.keys(e).length === 0;
@@ -43,7 +43,7 @@ function Xr(e, ...t) {
43
43
  function sr(e, t, n) {
44
44
  e.$$.on_destroy.push(Xr(t, n));
45
45
  }
46
- function Rt(e, t, n, r) {
46
+ function Dt(e, t, n, r) {
47
47
  if (e) {
48
48
  const i = Yr(e, t, n, r);
49
49
  return e[0](i);
@@ -52,7 +52,7 @@ function Rt(e, t, n, r) {
52
52
  function Yr(e, t, n, r) {
53
53
  return e[1] && r ? ji(n.ctx.slice(), e[1](r(t))) : n.ctx;
54
54
  }
55
- function Dt(e, t, n, r) {
55
+ function Bt(e, t, n, r) {
56
56
  if (e[2] && r) {
57
57
  const i = e[2](r(n));
58
58
  if (t.dirty === void 0)
@@ -67,13 +67,13 @@ function Dt(e, t, n, r) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Bt(e, t, n, r, i, o) {
70
+ function $t(e, t, n, r, i, o) {
71
71
  if (i) {
72
72
  const l = Yr(t, n, r, o);
73
73
  e.p(l, i);
74
74
  }
75
75
  }
76
- function $t(e) {
76
+ function Ut(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], n = e.ctx.length / 32;
79
79
  for (let r = 0; r < n; r++)
@@ -83,21 +83,21 @@ function $t(e) {
83
83
  return -1;
84
84
  }
85
85
  const Zr = typeof window < "u";
86
- let Wi = Zr ? () => window.performance.now() : () => Date.now(), Ln = Zr ? (e) => requestAnimationFrame(e) : ye;
87
- const Je = /* @__PURE__ */ new Set();
86
+ let Wi = Zr ? () => window.performance.now() : () => Date.now(), Nn = Zr ? (e) => requestAnimationFrame(e) : ye;
87
+ const Qe = /* @__PURE__ */ new Set();
88
88
  function qr(e) {
89
- Je.forEach((t) => {
90
- t.c(e) || (Je.delete(t), t.f());
91
- }), Je.size !== 0 && Ln(qr);
89
+ Qe.forEach((t) => {
90
+ t.c(e) || (Qe.delete(t), t.f());
91
+ }), Qe.size !== 0 && Nn(qr);
92
92
  }
93
93
  function Vi(e) {
94
94
  let t;
95
- return Je.size === 0 && Ln(qr), {
95
+ return Qe.size === 0 && Nn(qr), {
96
96
  promise: new Promise((n) => {
97
- Je.add(t = { c: e, f: n });
97
+ Qe.add(t = { c: e, f: n });
98
98
  }),
99
99
  abort() {
100
- Je.delete(t);
100
+ Qe.delete(t);
101
101
  }
102
102
  };
103
103
  }
@@ -105,13 +105,13 @@ function B(e, t) {
105
105
  e.appendChild(t);
106
106
  }
107
107
  function Xi(e, t, n) {
108
- const r = Hn(e);
108
+ const r = In(e);
109
109
  if (!r.getElementById(t)) {
110
- const i = ne("style");
110
+ const i = te("style");
111
111
  i.id = t, i.textContent = n, Jr(r, i);
112
112
  }
113
113
  }
114
- function Hn(e) {
114
+ function In(e) {
115
115
  if (!e)
116
116
  return document;
117
117
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -122,8 +122,8 @@ function Hn(e) {
122
122
  ) : e.ownerDocument;
123
123
  }
124
124
  function Yi(e) {
125
- const t = ne("style");
126
- return t.textContent = "/* empty */", Jr(Hn(e), t), t.sheet;
125
+ const t = te("style");
126
+ return t.textContent = "/* empty */", Jr(In(e), t), t.sheet;
127
127
  }
128
128
  function Jr(e, t) {
129
129
  return B(
@@ -132,28 +132,28 @@ function Jr(e, t) {
132
132
  t
133
133
  ), t.sheet;
134
134
  }
135
- function $e(e, t, n) {
135
+ function Ue(e, t, n) {
136
136
  e.insertBefore(t, n || null);
137
137
  }
138
138
  function we(e) {
139
139
  e.parentNode && e.parentNode.removeChild(e);
140
140
  }
141
- function ne(e) {
141
+ function te(e) {
142
142
  return document.createElement(e);
143
143
  }
144
144
  function Te(e) {
145
145
  return document.createElementNS("http://www.w3.org/2000/svg", e);
146
146
  }
147
- function Fe(e) {
147
+ function Ge(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
- function Ie() {
151
- return Fe(" ");
150
+ function Pe() {
151
+ return Ge(" ");
152
152
  }
153
153
  function Zi() {
154
- return Fe("");
154
+ return Ge("");
155
155
  }
156
- function qe(e, t, n, r) {
156
+ function Je(e, t, n, r) {
157
157
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
158
158
  }
159
159
  function w(e, t, n) {
@@ -162,32 +162,32 @@ function w(e, t, n) {
162
162
  function qi(e) {
163
163
  return Array.from(e.childNodes);
164
164
  }
165
- function bt(e, t) {
165
+ function Et(e, t) {
166
166
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
167
167
  t);
168
168
  }
169
- let Ht;
169
+ let Nt;
170
170
  function Ji() {
171
- if (Ht === void 0) {
172
- Ht = !1;
171
+ if (Nt === void 0) {
172
+ Nt = !1;
173
173
  try {
174
174
  typeof window < "u" && window.parent && window.parent.document;
175
175
  } catch {
176
- Ht = !0;
176
+ Nt = !0;
177
177
  }
178
178
  }
179
- return Ht;
179
+ return Nt;
180
180
  }
181
181
  function Qi(e, t) {
182
182
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
183
- const r = ne("iframe");
183
+ const r = te("iframe");
184
184
  r.setAttribute(
185
185
  "style",
186
186
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
187
187
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
188
188
  const i = Ji();
189
189
  let o;
190
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = qe(
190
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Je(
191
191
  window,
192
192
  "message",
193
193
  /** @param {MessageEvent} event */
@@ -195,7 +195,7 @@ function Qi(e, t) {
195
195
  l.source === r.contentWindow && t();
196
196
  }
197
197
  )) : (r.src = "about:blank", r.onload = () => {
198
- o = qe(r.contentWindow, "resize", t), t();
198
+ o = Je(r.contentWindow, "resize", t), t();
199
199
  }), B(e, r), () => {
200
200
  (i || o && r.contentWindow) && o(), we(r);
201
201
  };
@@ -212,8 +212,8 @@ function eo(e) {
212
212
  }
213
213
  ), t;
214
214
  }
215
- const zt = /* @__PURE__ */ new Map();
216
- let Wt = 0;
215
+ const Wt = /* @__PURE__ */ new Map();
216
+ let Vt = 0;
217
217
  function to(e) {
218
218
  let t = 5381, n = e.length;
219
219
  for (; n--; )
@@ -222,7 +222,7 @@ function to(e) {
222
222
  }
223
223
  function no(e, t) {
224
224
  const n = { stylesheet: Yi(t), rules: {} };
225
- return zt.set(e, n), n;
225
+ return Wt.set(e, n), n;
226
226
  }
227
227
  function ar(e, t, n, r, i, o, l, a = 0) {
228
228
  const c = 16.666 / r;
@@ -234,34 +234,34 @@ function ar(e, t, n, r, i, o, l, a = 0) {
234
234
  `;
235
235
  }
236
236
  const f = u + `100% {${l(n, 1 - n)}}
237
- }`, m = `__svelte_${to(f)}_${a}`, y = Hn(e), { stylesheet: A, rules: x } = zt.get(y) || no(y, e);
237
+ }`, m = `__svelte_${to(f)}_${a}`, y = In(e), { stylesheet: A, rules: x } = Wt.get(y) || no(y, e);
238
238
  x[m] || (x[m] = !0, A.insertRule(`@keyframes ${m} ${f}`, A.cssRules.length));
239
239
  const g = e.style.animation || "";
240
- return e.style.animation = `${g ? `${g}, ` : ""}${m} ${r}ms linear ${i}ms 1 both`, Wt += 1, m;
240
+ return e.style.animation = `${g ? `${g}, ` : ""}${m} ${r}ms linear ${i}ms 1 both`, Vt += 1, m;
241
241
  }
242
242
  function ro(e, t) {
243
243
  const n = (e.style.animation || "").split(", "), r = n.filter(
244
244
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
245
245
  // remove all Svelte animations
246
246
  ), i = n.length - r.length;
247
- i && (e.style.animation = r.join(", "), Wt -= i, Wt || io());
247
+ i && (e.style.animation = r.join(", "), Vt -= i, Vt || io());
248
248
  }
249
249
  function io() {
250
- Ln(() => {
251
- Wt || (zt.forEach((e) => {
250
+ Nn(() => {
251
+ Vt || (Wt.forEach((e) => {
252
252
  const { ownerNode: t } = e.stylesheet;
253
253
  t && we(t);
254
- }), zt.clear());
254
+ }), Wt.clear());
255
255
  });
256
256
  }
257
- let Et;
258
- function _t(e) {
259
- Et = e;
257
+ let yt;
258
+ function bt(e) {
259
+ yt = e;
260
260
  }
261
261
  function Qr() {
262
- if (!Et)
262
+ if (!yt)
263
263
  throw new Error("Function called outside component initialization");
264
- return Et;
264
+ return yt;
265
265
  }
266
266
  function oo(e) {
267
267
  Qr().$$.on_mount.push(e);
@@ -269,85 +269,85 @@ function oo(e) {
269
269
  function so(e) {
270
270
  Qr().$$.on_destroy.push(e);
271
271
  }
272
- const Ze = [], Vt = [];
273
- let Qe = [];
272
+ const qe = [], Xt = [];
273
+ let Ke = [];
274
274
  const lr = [], ao = /* @__PURE__ */ Promise.resolve();
275
- let En = !1;
275
+ let xn = !1;
276
276
  function lo() {
277
- En || (En = !0, ao.then(pe));
277
+ xn || (xn = !0, ao.then(de));
278
278
  }
279
- function Ke(e) {
280
- Qe.push(e);
279
+ function et(e) {
280
+ Ke.push(e);
281
281
  }
282
- const sn = /* @__PURE__ */ new Set();
283
- let Xe = 0;
284
- function pe() {
285
- if (Xe !== 0)
282
+ const ln = /* @__PURE__ */ new Set();
283
+ let Ye = 0;
284
+ function de() {
285
+ if (Ye !== 0)
286
286
  return;
287
- const e = Et;
287
+ const e = yt;
288
288
  do {
289
289
  try {
290
- for (; Xe < Ze.length; ) {
291
- const t = Ze[Xe];
292
- Xe++, _t(t), uo(t.$$);
290
+ for (; Ye < qe.length; ) {
291
+ const t = qe[Ye];
292
+ Ye++, bt(t), uo(t.$$);
293
293
  }
294
294
  } catch (t) {
295
- throw Ze.length = 0, Xe = 0, t;
295
+ throw qe.length = 0, Ye = 0, t;
296
296
  }
297
- for (_t(null), Ze.length = 0, Xe = 0; Vt.length; )
298
- Vt.pop()();
299
- for (let t = 0; t < Qe.length; t += 1) {
300
- const n = Qe[t];
301
- sn.has(n) || (sn.add(n), n());
297
+ for (bt(null), qe.length = 0, Ye = 0; Xt.length; )
298
+ Xt.pop()();
299
+ for (let t = 0; t < Ke.length; t += 1) {
300
+ const n = Ke[t];
301
+ ln.has(n) || (ln.add(n), n());
302
302
  }
303
- Qe.length = 0;
304
- } while (Ze.length);
303
+ Ke.length = 0;
304
+ } while (qe.length);
305
305
  for (; lr.length; )
306
306
  lr.pop()();
307
- En = !1, sn.clear(), _t(e);
307
+ xn = !1, ln.clear(), bt(e);
308
308
  }
309
309
  function uo(e) {
310
310
  if (e.fragment !== null) {
311
- e.update(), Be(e.before_update);
311
+ e.update(), $e(e.before_update);
312
312
  const t = e.dirty;
313
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
313
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
314
314
  }
315
315
  }
316
316
  function co(e) {
317
317
  const t = [], n = [];
318
- Qe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Qe = t;
318
+ Ke.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ke = t;
319
319
  }
320
- let ut;
320
+ let ct;
321
321
  function fo() {
322
- return ut || (ut = Promise.resolve(), ut.then(() => {
323
- ut = null;
324
- })), ut;
322
+ return ct || (ct = Promise.resolve(), ct.then(() => {
323
+ ct = null;
324
+ })), ct;
325
325
  }
326
- function an(e, t, n) {
326
+ function un(e, t, n) {
327
327
  e.dispatchEvent(Ki(`${t ? "intro" : "outro"}${n}`));
328
328
  }
329
- const Ut = /* @__PURE__ */ new Set();
330
- let Pe;
329
+ const kt = /* @__PURE__ */ new Set();
330
+ let Re;
331
331
  function Kr() {
332
- Pe = {
332
+ Re = {
333
333
  r: 0,
334
334
  c: [],
335
- p: Pe
335
+ p: Re
336
336
  // parent group
337
337
  };
338
338
  }
339
339
  function ei() {
340
- Pe.r || Be(Pe.c), Pe = Pe.p;
340
+ Re.r || $e(Re.c), Re = Re.p;
341
341
  }
342
342
  function Le(e, t) {
343
- e && e.i && (Ut.delete(e), e.i(t));
343
+ e && e.i && (kt.delete(e), e.i(t));
344
344
  }
345
- function Re(e, t, n, r) {
345
+ function De(e, t, n, r) {
346
346
  if (e && e.o) {
347
- if (Ut.has(e))
347
+ if (kt.has(e))
348
348
  return;
349
- Ut.add(e), Pe.c.push(() => {
350
- Ut.delete(e), r && (n && e.d(1), r());
349
+ kt.add(e), Re.c.push(() => {
350
+ kt.delete(e), r && (n && e.d(1), r());
351
351
  }), e.o(t);
352
352
  } else
353
353
  r && r();
@@ -378,15 +378,15 @@ function ur(e, t, n, r) {
378
378
  delay: g = 0,
379
379
  duration: N = 300,
380
380
  easing: U = zr,
381
- tick: X = ye,
381
+ tick: V = ye,
382
382
  css: R
383
383
  } = o || ho, H = {
384
384
  start: Wi() + g,
385
385
  b: x
386
386
  };
387
- x || (H.group = Pe, Pe.r += 1), "inert" in e && (x ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
388
- e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u = ar(e, l, x, N, g, U, R)), x && X(0, 1), a = y(H, N), Ke(() => an(e, x, "start")), Vi((I) => {
389
- if (c && I > c.start && (a = y(c, N), c = null, an(e, a.b, "start"), R && (m(), u = ar(
387
+ x || (H.group = Re, Re.r += 1), "inert" in e && (x ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
388
+ e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u = ar(e, l, x, N, g, U, R)), x && V(0, 1), a = y(H, N), et(() => un(e, x, "start")), Vi((I) => {
389
+ if (c && I > c.start && (a = y(c, N), c = null, un(e, a.b, "start"), R && (m(), u = ar(
390
390
  e,
391
391
  l,
392
392
  a.b,
@@ -396,10 +396,10 @@ function ur(e, t, n, r) {
396
396
  o.css
397
397
  ))), a) {
398
398
  if (I >= a.end)
399
- X(l = a.b, 1 - l), an(e, a.b, "end"), c || (a.b ? m() : --a.group.r || Be(a.group.c)), a = null;
399
+ V(l = a.b, 1 - l), un(e, a.b, "end"), c || (a.b ? m() : --a.group.r || $e(a.group.c)), a = null;
400
400
  else if (I >= a.start) {
401
- const V = I - a.start;
402
- l = a.a + a.d * U(V / a.duration), X(l, 1 - l);
401
+ const W = I - a.start;
402
+ l = a.a + a.d * U(W / a.duration), V(l, 1 - l);
403
403
  }
404
404
  }
405
405
  return !!(a || c);
@@ -407,7 +407,7 @@ function ur(e, t, n, r) {
407
407
  }
408
408
  return {
409
409
  run(x) {
410
- qt(o) ? fo().then(() => {
410
+ Qt(o) ? fo().then(() => {
411
411
  o = o({ direction: x ? "in" : "out" }), A(x);
412
412
  }) : A(x);
413
413
  },
@@ -418,21 +418,21 @@ function ur(e, t, n, r) {
418
418
  }
419
419
  function mo(e, t, n) {
420
420
  const { fragment: r, after_update: i } = e.$$;
421
- r && r.m(t, n), Ke(() => {
422
- const o = e.$$.on_mount.map(Wr).filter(qt);
423
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Be(o), e.$$.on_mount = [];
424
- }), i.forEach(Ke);
421
+ r && r.m(t, n), et(() => {
422
+ const o = e.$$.on_mount.map(Wr).filter(Qt);
423
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : $e(o), e.$$.on_mount = [];
424
+ }), i.forEach(et);
425
425
  }
426
426
  function po(e, t) {
427
427
  const n = e.$$;
428
- n.fragment !== null && (co(n.after_update), Be(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
428
+ n.fragment !== null && (co(n.after_update), $e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
429
429
  }
430
430
  function go(e, t) {
431
- e.$$.dirty[0] === -1 && (Ze.push(e), lo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
431
+ e.$$.dirty[0] === -1 && (qe.push(e), lo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
432
432
  }
433
433
  function _o(e, t, n, r, i, o, l = null, a = [-1]) {
434
- const c = Et;
435
- _t(e);
434
+ const c = yt;
435
+ bt(e);
436
436
  const u = e.$$ = {
437
437
  fragment: null,
438
438
  ctx: [],
@@ -459,15 +459,15 @@ function _o(e, t, n, r, i, o, l = null, a = [-1]) {
459
459
  if (u.ctx = n ? n(e, t.props || {}, (m, y, ...A) => {
460
460
  const x = A.length ? A[0] : y;
461
461
  return u.ctx && i(u.ctx[m], u.ctx[m] = x) && (!u.skip_bound && u.bound[m] && u.bound[m](x), f && go(e, m)), y;
462
- }) : [], u.update(), f = !0, Be(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
462
+ }) : [], u.update(), f = !0, $e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
463
463
  if (t.hydrate) {
464
464
  const m = qi(t.target);
465
465
  u.fragment && u.fragment.l(m), m.forEach(we);
466
466
  } else
467
467
  u.fragment && u.fragment.c();
468
- t.intro && Le(e.$$.fragment), mo(e, t.target, t.anchor), pe();
468
+ t.intro && Le(e.$$.fragment), mo(e, t.target, t.anchor), de();
469
469
  }
470
- _t(c);
470
+ bt(c);
471
471
  }
472
472
  let ti;
473
473
  typeof HTMLElement == "function" && (ti = class extends HTMLElement {
@@ -512,14 +512,14 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
512
512
  let o;
513
513
  return {
514
514
  c: function() {
515
- o = ne("slot"), i !== "default" && w(o, "name", i);
515
+ o = te("slot"), i !== "default" && w(o, "name", i);
516
516
  },
517
517
  /**
518
518
  * @param {HTMLElement} target
519
519
  * @param {HTMLElement} [anchor]
520
520
  */
521
521
  m: function(c, u) {
522
- $e(c, o, u);
522
+ Ue(c, o, u);
523
523
  },
524
524
  d: function(c) {
525
525
  c && we(o);
@@ -534,7 +534,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
534
534
  i in n && (t[i] = [e(i)]);
535
535
  for (const i of this.attributes) {
536
536
  const o = this.$$g_p(i.name);
537
- o in this.$$d || (this.$$d[o] = kt(o, i.value, this.$$p_d, "toProp"));
537
+ o in this.$$d || (this.$$d[o] = Ft(o, i.value, this.$$p_d, "toProp"));
538
538
  }
539
539
  for (const i in this.$$p_d)
540
540
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -552,7 +552,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
552
552
  this.$$r = !0;
553
553
  for (const i in this.$$p_d)
554
554
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
555
- const o = kt(
555
+ const o = Ft(
556
556
  i,
557
557
  this.$$d[i],
558
558
  this.$$p_d,
@@ -574,7 +574,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
574
574
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
575
575
  // and setting attributes through setAttribute etc, this is helpful
576
576
  attributeChangedCallback(e, t, n) {
577
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = kt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
577
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ft(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
578
578
  }
579
579
  disconnectedCallback() {
580
580
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -587,7 +587,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
587
587
  ) || e;
588
588
  }
589
589
  });
590
- function kt(e, t, n, r) {
590
+ function Ft(e, t, n, r) {
591
591
  const i = n[e]?.type;
592
592
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
593
593
  return t;
@@ -633,7 +633,7 @@ function bo(e, t, n, r, i, o) {
633
633
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
634
634
  },
635
635
  set(c) {
636
- c = kt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
636
+ c = Ft(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
637
637
  }
638
638
  });
639
639
  }), r.forEach((a) => {
@@ -673,7 +673,7 @@ class Eo {
673
673
  * @returns {() => void}
674
674
  */
675
675
  $on(t, n) {
676
- if (!qt(n))
676
+ if (!Qt(n))
677
677
  return ye;
678
678
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
679
679
  return r.push(n), () => {
@@ -700,24 +700,24 @@ function cr(e, { delay: t = 0, duration: n = 400, easing: r = zr } = {}) {
700
700
  css: (o) => `opacity: ${o * i}`
701
701
  };
702
702
  }
703
- const Ye = [];
703
+ const Ze = [];
704
704
  function xo(e, t) {
705
705
  return {
706
- subscribe: vt(e, t).subscribe
706
+ subscribe: Tt(e, t).subscribe
707
707
  };
708
708
  }
709
- function vt(e, t = ye) {
709
+ function Tt(e, t = ye) {
710
710
  let n;
711
711
  const r = /* @__PURE__ */ new Set();
712
712
  function i(a) {
713
713
  if (Vr(e, a) && (e = a, n)) {
714
- const c = !Ye.length;
714
+ const c = !Ze.length;
715
715
  for (const u of r)
716
- u[1](), Ye.push(u, e);
716
+ u[1](), Ze.push(u, e);
717
717
  if (c) {
718
- for (let u = 0; u < Ye.length; u += 2)
719
- Ye[u][0](Ye[u + 1]);
720
- Ye.length = 0;
718
+ for (let u = 0; u < Ze.length; u += 2)
719
+ Ze[u][0](Ze[u + 1]);
720
+ Ze.length = 0;
721
721
  }
722
722
  }
723
723
  }
@@ -732,7 +732,7 @@ function vt(e, t = ye) {
732
732
  }
733
733
  return { set: i, update: o, subscribe: l };
734
734
  }
735
- function it(e, t, n) {
735
+ function ot(e, t, n) {
736
736
  const r = !Array.isArray(e), i = r ? [e] : e;
737
737
  if (!i.every(Boolean))
738
738
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -746,7 +746,7 @@ function it(e, t, n) {
746
746
  return;
747
747
  m();
748
748
  const x = t(r ? u[0] : u, l, a);
749
- o ? l(x) : m = qt(x) ? x : ye;
749
+ o ? l(x) : m = Qt(x) ? x : ye;
750
750
  }, A = i.map(
751
751
  (x, g) => Xr(
752
752
  x,
@@ -759,12 +759,12 @@ function it(e, t, n) {
759
759
  )
760
760
  );
761
761
  return c = !0, y(), function() {
762
- Be(A), m(), c = !1;
762
+ $e(A), m(), c = !1;
763
763
  };
764
764
  });
765
765
  }
766
766
  var ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
767
- function Nn(e) {
767
+ function Pn(e) {
768
768
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
769
769
  }
770
770
  var vo = function(t) {
@@ -775,28 +775,28 @@ function To(e) {
775
775
  }
776
776
  function So(e) {
777
777
  var t = Object.prototype.toString.call(e);
778
- return t === "[object RegExp]" || t === "[object Date]" || Mo(e);
778
+ return t === "[object RegExp]" || t === "[object Date]" || Oo(e);
779
779
  }
780
780
  var wo = typeof Symbol == "function" && Symbol.for, Ao = wo ? Symbol.for("react.element") : 60103;
781
- function Mo(e) {
781
+ function Oo(e) {
782
782
  return e.$$typeof === Ao;
783
783
  }
784
- function Co(e) {
784
+ function Mo(e) {
785
785
  return Array.isArray(e) ? [] : {};
786
786
  }
787
- function yt(e, t) {
788
- return t.clone !== !1 && t.isMergeableObject(e) ? et(Co(e), e, t) : e;
787
+ function xt(e, t) {
788
+ return t.clone !== !1 && t.isMergeableObject(e) ? tt(Mo(e), e, t) : e;
789
789
  }
790
- function Oo(e, t, n) {
790
+ function Co(e, t, n) {
791
791
  return e.concat(t).map(function(r) {
792
- return yt(r, n);
792
+ return xt(r, n);
793
793
  });
794
794
  }
795
795
  function Lo(e, t) {
796
796
  if (!t.customMerge)
797
- return et;
797
+ return tt;
798
798
  var n = t.customMerge(e);
799
- return typeof n == "function" ? n : et;
799
+ return typeof n == "function" ? n : tt;
800
800
  }
801
801
  function Ho(e) {
802
802
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -819,65 +819,51 @@ function No(e, t) {
819
819
  function Io(e, t, n) {
820
820
  var r = {};
821
821
  return n.isMergeableObject(e) && fr(e).forEach(function(i) {
822
- r[i] = yt(e[i], n);
822
+ r[i] = xt(e[i], n);
823
823
  }), fr(t).forEach(function(i) {
824
- No(e, i) || (ri(e, i) && n.isMergeableObject(t[i]) ? r[i] = Lo(i, n)(e[i], t[i], n) : r[i] = yt(t[i], n));
824
+ No(e, i) || (ri(e, i) && n.isMergeableObject(t[i]) ? r[i] = Lo(i, n)(e[i], t[i], n) : r[i] = xt(t[i], n));
825
825
  }), r;
826
826
  }
827
- function et(e, t, n) {
828
- n = n || {}, n.arrayMerge = n.arrayMerge || Oo, n.isMergeableObject = n.isMergeableObject || vo, n.cloneUnlessOtherwiseSpecified = yt;
827
+ function tt(e, t, n) {
828
+ n = n || {}, n.arrayMerge = n.arrayMerge || Co, n.isMergeableObject = n.isMergeableObject || vo, n.cloneUnlessOtherwiseSpecified = xt;
829
829
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
830
- return o ? r ? n.arrayMerge(e, t, n) : Io(e, t, n) : yt(t, n);
830
+ return o ? r ? n.arrayMerge(e, t, n) : Io(e, t, n) : xt(t, n);
831
831
  }
832
- et.all = function(t, n) {
832
+ tt.all = function(t, n) {
833
833
  if (!Array.isArray(t))
834
834
  throw new Error("first argument should be an array");
835
835
  return t.reduce(function(r, i) {
836
- return et(r, i, n);
836
+ return tt(r, i, n);
837
837
  }, {});
838
838
  };
839
- var Po = et, Ro = Po;
840
- const Do = /* @__PURE__ */ Nn(Ro);
841
- /*! *****************************************************************************
842
- Copyright (c) Microsoft Corporation.
843
-
844
- Permission to use, copy, modify, and/or distribute this software for any
845
- purpose with or without fee is hereby granted.
846
-
847
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
848
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
849
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
850
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
851
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
852
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
853
- PERFORMANCE OF THIS SOFTWARE.
854
- ***************************************************************************** */
855
- var yn = function(e, t) {
856
- return yn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
839
+ var Po = tt, Ro = Po;
840
+ const Do = /* @__PURE__ */ Pn(Ro);
841
+ var vn = function(e, t) {
842
+ return vn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
857
843
  n.__proto__ = r;
858
844
  } || function(n, r) {
859
845
  for (var i in r)
860
846
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
861
- }, yn(e, t);
847
+ }, vn(e, t);
862
848
  };
863
- function Jt(e, t) {
849
+ function Kt(e, t) {
864
850
  if (typeof t != "function" && t !== null)
865
851
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
866
- yn(e, t);
852
+ vn(e, t);
867
853
  function n() {
868
854
  this.constructor = e;
869
855
  }
870
856
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
871
857
  }
872
- var j = function() {
873
- return j = Object.assign || function(t) {
858
+ var He = function() {
859
+ return He = Object.assign || function(t) {
874
860
  for (var n, r = 1, i = arguments.length; r < i; r++) {
875
861
  n = arguments[r];
876
862
  for (var o in n)
877
863
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
878
864
  }
879
865
  return t;
880
- }, j.apply(this, arguments);
866
+ }, He.apply(this, arguments);
881
867
  };
882
868
  function Bo(e, t) {
883
869
  var n = {};
@@ -888,14 +874,14 @@ function Bo(e, t) {
888
874
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
889
875
  return n;
890
876
  }
891
- function ln(e, t, n) {
892
- if (arguments.length === 2)
877
+ function cn(e, t, n) {
878
+ if (n || arguments.length === 2)
893
879
  for (var r = 0, i = t.length, o; r < i; r++)
894
880
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
895
- return e.concat(o || t);
881
+ return e.concat(o || Array.prototype.slice.call(t));
896
882
  }
897
- function un(e, t) {
898
- var n = t && t.cache ? t.cache : jo, r = t && t.serializer ? t.serializer : Go, i = t && t.strategy ? t.strategy : Uo;
883
+ function fn(e, t) {
884
+ var n = t && t.cache ? t.cache : zo, r = t && t.serializer ? t.serializer : Go, i = t && t.strategy ? t.strategy : ko;
899
885
  return i(e, {
900
886
  cache: n,
901
887
  serializer: r
@@ -904,95 +890,103 @@ function un(e, t) {
904
890
  function $o(e) {
905
891
  return e == null || typeof e == "number" || typeof e == "boolean";
906
892
  }
907
- function ii(e, t, n, r) {
893
+ function Uo(e, t, n, r) {
908
894
  var i = $o(r) ? r : n(r), o = t.get(i);
909
895
  return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
910
896
  }
911
- function oi(e, t, n) {
897
+ function ii(e, t, n) {
912
898
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
913
899
  return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
914
900
  }
915
- function In(e, t, n, r, i) {
901
+ function oi(e, t, n, r, i) {
916
902
  return n.bind(t, e, r, i);
917
903
  }
918
- function Uo(e, t) {
919
- var n = e.length === 1 ? ii : oi;
920
- return In(e, this, n, t.cache.create(), t.serializer);
921
- }
922
904
  function ko(e, t) {
923
- return In(e, this, oi, t.cache.create(), t.serializer);
905
+ var n = e.length === 1 ? Uo : ii;
906
+ return oi(e, this, n, t.cache.create(), t.serializer);
924
907
  }
925
908
  function Fo(e, t) {
926
- return In(e, this, ii, t.cache.create(), t.serializer);
909
+ return oi(e, this, ii, t.cache.create(), t.serializer);
927
910
  }
928
911
  var Go = function() {
929
912
  return JSON.stringify(arguments);
930
- };
931
- function Pn() {
932
- this.cache = /* @__PURE__ */ Object.create(null);
933
- }
934
- Pn.prototype.get = function(e) {
935
- return this.cache[e];
936
- };
937
- Pn.prototype.set = function(e, t) {
938
- this.cache[e] = t;
939
- };
940
- var jo = {
913
+ }, jo = (
914
+ /** @class */
915
+ function() {
916
+ function e() {
917
+ this.cache = /* @__PURE__ */ Object.create(null);
918
+ }
919
+ return e.prototype.get = function(t) {
920
+ return this.cache[t];
921
+ }, e.prototype.set = function(t, n) {
922
+ this.cache[t] = n;
923
+ }, e;
924
+ }()
925
+ ), zo = {
941
926
  create: function() {
942
- return new Pn();
927
+ return new jo();
943
928
  }
944
- }, cn = {
945
- variadic: ko,
946
- monadic: Fo
947
- }, k;
929
+ }, hn = {
930
+ variadic: Fo
931
+ }, Yt = function() {
932
+ return Yt = Object.assign || function(t) {
933
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
934
+ n = arguments[r];
935
+ for (var o in n)
936
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
937
+ }
938
+ return t;
939
+ }, Yt.apply(this, arguments);
940
+ };
941
+ var k;
948
942
  (function(e) {
949
943
  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";
950
944
  })(k || (k = {}));
951
- var K;
945
+ var Q;
952
946
  (function(e) {
953
947
  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";
954
- })(K || (K = {}));
955
- var tt;
948
+ })(Q || (Q = {}));
949
+ var nt;
956
950
  (function(e) {
957
951
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
958
- })(tt || (tt = {}));
952
+ })(nt || (nt = {}));
959
953
  function hr(e) {
960
- return e.type === K.literal;
954
+ return e.type === Q.literal;
961
955
  }
962
- function zo(e) {
963
- return e.type === K.argument;
956
+ function Wo(e) {
957
+ return e.type === Q.argument;
964
958
  }
965
959
  function si(e) {
966
- return e.type === K.number;
960
+ return e.type === Q.number;
967
961
  }
968
962
  function ai(e) {
969
- return e.type === K.date;
963
+ return e.type === Q.date;
970
964
  }
971
965
  function li(e) {
972
- return e.type === K.time;
966
+ return e.type === Q.time;
973
967
  }
974
968
  function ui(e) {
975
- return e.type === K.select;
969
+ return e.type === Q.select;
976
970
  }
977
971
  function ci(e) {
978
- return e.type === K.plural;
972
+ return e.type === Q.plural;
979
973
  }
980
- function Wo(e) {
981
- return e.type === K.pound;
974
+ function Vo(e) {
975
+ return e.type === Q.pound;
982
976
  }
983
977
  function fi(e) {
984
- return e.type === K.tag;
978
+ return e.type === Q.tag;
985
979
  }
986
980
  function hi(e) {
987
- return !!(e && typeof e == "object" && e.type === tt.number);
981
+ return !!(e && typeof e == "object" && e.type === nt.number);
988
982
  }
989
- function xn(e) {
990
- return !!(e && typeof e == "object" && e.type === tt.dateTime);
983
+ function Tn(e) {
984
+ return !!(e && typeof e == "object" && e.type === nt.dateTime);
991
985
  }
992
- var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
993
- function Xo(e) {
986
+ var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
987
+ function Yo(e) {
994
988
  var t = {};
995
- return e.replace(Vo, function(n) {
989
+ return e.replace(Xo, function(n) {
996
990
  var r = n.length;
997
991
  switch (n[0]) {
998
992
  case "G":
@@ -1081,11 +1075,21 @@ function Xo(e) {
1081
1075
  return "";
1082
1076
  }), t;
1083
1077
  }
1084
- var Yo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1085
- function Zo(e) {
1078
+ var ie = function() {
1079
+ return ie = Object.assign || function(t) {
1080
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
1081
+ n = arguments[r];
1082
+ for (var o in n)
1083
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1084
+ }
1085
+ return t;
1086
+ }, ie.apply(this, arguments);
1087
+ };
1088
+ var Zo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1089
+ function qo(e) {
1086
1090
  if (e.length === 0)
1087
1091
  throw new Error("Number skeleton cannot be empty");
1088
- for (var t = e.split(Yo).filter(function(y) {
1092
+ for (var t = e.split(Zo).filter(function(y) {
1089
1093
  return y.length > 0;
1090
1094
  }), n = [], r = 0, i = t; r < i.length; r++) {
1091
1095
  var o = i[r], l = o.split("/");
@@ -1100,13 +1104,13 @@ function Zo(e) {
1100
1104
  }
1101
1105
  return n;
1102
1106
  }
1103
- function qo(e) {
1107
+ function Jo(e) {
1104
1108
  return e.replace(/^(.*?)-/, "");
1105
1109
  }
1106
- var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, Jo = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
1107
- function dr(e) {
1110
+ var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pi = /^(@+)?(\+|#+)?[rs]?$/g, Qo = /(\*)(0+)|(#+)(0+)|(0+)/g, di = /^(0+)$/;
1111
+ function pr(e) {
1108
1112
  var t = {};
1109
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(di, function(n, r, i) {
1113
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pi, function(n, r, i) {
1110
1114
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1111
1115
  }), t;
1112
1116
  }
@@ -1150,7 +1154,7 @@ function gi(e) {
1150
1154
  };
1151
1155
  }
1152
1156
  }
1153
- function Qo(e) {
1157
+ function Ko(e) {
1154
1158
  var t;
1155
1159
  if (e[0] === "E" && e[1] === "E" ? (t = {
1156
1160
  notation: "engineering"
@@ -1158,17 +1162,17 @@ function Qo(e) {
1158
1162
  notation: "scientific"
1159
1163
  }, e = e.slice(1)), t) {
1160
1164
  var n = e.slice(0, 2);
1161
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
1165
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !di.test(e))
1162
1166
  throw new Error("Malformed concise eng/scientific notation");
1163
1167
  t.minimumIntegerDigits = e.length;
1164
1168
  }
1165
1169
  return t;
1166
1170
  }
1167
- function pr(e) {
1171
+ function dr(e) {
1168
1172
  var t = {}, n = gi(e);
1169
1173
  return n || t;
1170
1174
  }
1171
- function Ko(e) {
1175
+ function es(e) {
1172
1176
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1173
1177
  var i = r[n];
1174
1178
  switch (i.stem) {
@@ -1192,7 +1196,7 @@ function Ko(e) {
1192
1196
  continue;
1193
1197
  case "measure-unit":
1194
1198
  case "unit":
1195
- t.style = "unit", t.unit = qo(i.options[0]);
1199
+ t.style = "unit", t.unit = Jo(i.options[0]);
1196
1200
  continue;
1197
1201
  case "compact-short":
1198
1202
  case "K":
@@ -1203,13 +1207,13 @@ function Ko(e) {
1203
1207
  t.notation = "compact", t.compactDisplay = "long";
1204
1208
  continue;
1205
1209
  case "scientific":
1206
- t = j(j(j({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1207
- return j(j({}, c), pr(u));
1210
+ t = ie(ie(ie({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1211
+ return ie(ie({}, c), dr(u));
1208
1212
  }, {}));
1209
1213
  continue;
1210
1214
  case "engineering":
1211
- t = j(j(j({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1212
- return j(j({}, c), pr(u));
1215
+ t = ie(ie(ie({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1216
+ return ie(ie({}, c), dr(u));
1213
1217
  }, {}));
1214
1218
  continue;
1215
1219
  case "notation-simple":
@@ -1254,7 +1258,7 @@ function Ko(e) {
1254
1258
  case "integer-width":
1255
1259
  if (i.options.length > 1)
1256
1260
  throw new RangeError("integer-width stems only accept a single optional option");
1257
- i.options[0].replace(Jo, function(c, u, f, m, y, A) {
1261
+ i.options[0].replace(Qo, function(c, u, f, m, y, A) {
1258
1262
  if (u)
1259
1263
  t.minimumIntegerDigits = f.length;
1260
1264
  else {
@@ -1267,7 +1271,7 @@ function Ko(e) {
1267
1271
  });
1268
1272
  continue;
1269
1273
  }
1270
- if (pi.test(i.stem)) {
1274
+ if (di.test(i.stem)) {
1271
1275
  t.minimumIntegerDigits = i.stem.length;
1272
1276
  continue;
1273
1277
  }
@@ -1278,21 +1282,21 @@ function Ko(e) {
1278
1282
  return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : y && A ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + A.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1279
1283
  });
1280
1284
  var o = i.options[0];
1281
- o === "w" ? t = j(j({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = j(j({}, t), dr(o)));
1285
+ o === "w" ? t = ie(ie({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = ie(ie({}, t), pr(o)));
1282
1286
  continue;
1283
1287
  }
1284
- if (di.test(i.stem)) {
1285
- t = j(j({}, t), dr(i.stem));
1288
+ if (pi.test(i.stem)) {
1289
+ t = ie(ie({}, t), pr(i.stem));
1286
1290
  continue;
1287
1291
  }
1288
1292
  var l = gi(i.stem);
1289
- l && (t = j(j({}, t), l));
1290
- var a = Qo(i.stem);
1291
- a && (t = j(j({}, t), a));
1293
+ l && (t = ie(ie({}, t), l));
1294
+ var a = Ko(i.stem);
1295
+ a && (t = ie(ie({}, t), a));
1292
1296
  }
1293
1297
  return t;
1294
1298
  }
1295
- var Nt = {
1299
+ var It = {
1296
1300
  "001": [
1297
1301
  "H",
1298
1302
  "h"
@@ -2707,13 +2711,13 @@ var Nt = {
2707
2711
  "h"
2708
2712
  ]
2709
2713
  };
2710
- function es(e, t) {
2714
+ function ts(e, t) {
2711
2715
  for (var n = "", r = 0; r < e.length; r++) {
2712
2716
  var i = e.charAt(r);
2713
2717
  if (i === "j") {
2714
2718
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2715
2719
  o++, r++;
2716
- var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = ts(t);
2720
+ var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = ns(t);
2717
2721
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2718
2722
  n += c;
2719
2723
  for (; l-- > 0; )
@@ -2723,7 +2727,7 @@ function es(e, t) {
2723
2727
  }
2724
2728
  return n;
2725
2729
  }
2726
- function ts(e) {
2730
+ function ns(e) {
2727
2731
  var t = e.hourCycle;
2728
2732
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2729
2733
  e.hourCycles && // @ts-ignore
@@ -2742,23 +2746,23 @@ function ts(e) {
2742
2746
  }
2743
2747
  var n = e.language, r;
2744
2748
  n !== "root" && (r = e.maximize().region);
2745
- var i = Nt[r || ""] || Nt[n || ""] || Nt["".concat(n, "-001")] || Nt["001"];
2749
+ var i = It[r || ""] || It[n || ""] || It["".concat(n, "-001")] || It["001"];
2746
2750
  return i[0];
2747
2751
  }
2748
- var fn, ns = new RegExp("^".concat(mi.source, "*")), rs = new RegExp("".concat(mi.source, "*$"));
2752
+ var mn, rs = new RegExp("^".concat(mi.source, "*")), is = new RegExp("".concat(mi.source, "*$"));
2749
2753
  function F(e, t) {
2750
2754
  return { start: e, end: t };
2751
2755
  }
2752
- var is = !!String.prototype.startsWith && "_a".startsWith("a", 1), os = !!String.fromCodePoint, ss = !!Object.fromEntries, as = !!String.prototype.codePointAt, ls = !!String.prototype.trimStart, us = !!String.prototype.trimEnd, cs = !!Number.isSafeInteger, fs = cs ? Number.isSafeInteger : function(e) {
2756
+ var os = !!String.prototype.startsWith && "_a".startsWith("a", 1), ss = !!String.fromCodePoint, as = !!Object.fromEntries, ls = !!String.prototype.codePointAt, us = !!String.prototype.trimStart, cs = !!String.prototype.trimEnd, fs = !!Number.isSafeInteger, hs = fs ? Number.isSafeInteger : function(e) {
2753
2757
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2754
- }, vn = !0;
2758
+ }, Sn = !0;
2755
2759
  try {
2756
- var hs = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2757
- vn = ((fn = hs.exec("a")) === null || fn === void 0 ? void 0 : fn[0]) === "a";
2760
+ var ms = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2761
+ Sn = ((mn = ms.exec("a")) === null || mn === void 0 ? void 0 : mn[0]) === "a";
2758
2762
  } catch {
2759
- vn = !1;
2763
+ Sn = !1;
2760
2764
  }
2761
- var gr = is ? (
2765
+ var gr = os ? (
2762
2766
  // Native
2763
2767
  function(t, n, r) {
2764
2768
  return t.startsWith(n, r);
@@ -2768,7 +2772,7 @@ var gr = is ? (
2768
2772
  function(t, n, r) {
2769
2773
  return t.slice(r, r + n.length) === n;
2770
2774
  }
2771
- ), Tn = os ? String.fromCodePoint : (
2775
+ ), wn = ss ? String.fromCodePoint : (
2772
2776
  // IE11
2773
2777
  function() {
2774
2778
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2782,7 +2786,7 @@ var gr = is ? (
2782
2786
  }
2783
2787
  ), _r = (
2784
2788
  // native
2785
- ss ? Object.fromEntries : (
2789
+ as ? Object.fromEntries : (
2786
2790
  // Ponyfill
2787
2791
  function(t) {
2788
2792
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2792,7 +2796,7 @@ var gr = is ? (
2792
2796
  return n;
2793
2797
  }
2794
2798
  )
2795
- ), _i = as ? (
2799
+ ), _i = ls ? (
2796
2800
  // Native
2797
2801
  function(t, n) {
2798
2802
  return t.codePointAt(n);
@@ -2806,7 +2810,7 @@ var gr = is ? (
2806
2810
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2807
2811
  }
2808
2812
  }
2809
- ), ms = ls ? (
2813
+ ), ps = us ? (
2810
2814
  // Native
2811
2815
  function(t) {
2812
2816
  return t.trimStart();
@@ -2814,9 +2818,9 @@ var gr = is ? (
2814
2818
  ) : (
2815
2819
  // Ponyfill
2816
2820
  function(t) {
2817
- return t.replace(ns, "");
2821
+ return t.replace(rs, "");
2818
2822
  }
2819
- ), ds = us ? (
2823
+ ), ds = cs ? (
2820
2824
  // Native
2821
2825
  function(t) {
2822
2826
  return t.trimEnd();
@@ -2824,32 +2828,32 @@ var gr = is ? (
2824
2828
  ) : (
2825
2829
  // Ponyfill
2826
2830
  function(t) {
2827
- return t.replace(rs, "");
2831
+ return t.replace(is, "");
2828
2832
  }
2829
2833
  );
2830
2834
  function bi(e, t) {
2831
2835
  return new RegExp(e, t);
2832
2836
  }
2833
- var Sn;
2834
- if (vn) {
2837
+ var An;
2838
+ if (Sn) {
2835
2839
  var br = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2836
- Sn = function(t, n) {
2840
+ An = function(t, n) {
2837
2841
  var r;
2838
2842
  br.lastIndex = n;
2839
2843
  var i = br.exec(t);
2840
2844
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2841
2845
  };
2842
2846
  } else
2843
- Sn = function(t, n) {
2847
+ An = function(t, n) {
2844
2848
  for (var r = []; ; ) {
2845
2849
  var i = _i(t, n);
2846
- if (i === void 0 || Ei(i) || bs(i))
2850
+ if (i === void 0 || Ei(i) || Es(i))
2847
2851
  break;
2848
2852
  r.push(i), n += i >= 65536 ? 2 : 1;
2849
2853
  }
2850
- return Tn.apply(void 0, r);
2854
+ return wn.apply(void 0, r);
2851
2855
  };
2852
- var ps = (
2856
+ var gs = (
2853
2857
  /** @class */
2854
2858
  function() {
2855
2859
  function e(t, n) {
@@ -2873,14 +2877,14 @@ var ps = (
2873
2877
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2874
2878
  var a = this.clonePosition();
2875
2879
  this.bump(), i.push({
2876
- type: K.pound,
2880
+ type: Q.pound,
2877
2881
  location: F(a, this.clonePosition())
2878
2882
  });
2879
2883
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2880
2884
  if (r)
2881
2885
  break;
2882
2886
  return this.error(k.UNMATCHED_CLOSING_TAG, F(this.clonePosition(), this.clonePosition()));
2883
- } else if (o === 60 && !this.ignoreTag && wn(this.peek() || 0)) {
2887
+ } else if (o === 60 && !this.ignoreTag && On(this.peek() || 0)) {
2884
2888
  var l = this.parseTag(t, n);
2885
2889
  if (l.err)
2886
2890
  return l;
@@ -2901,7 +2905,7 @@ var ps = (
2901
2905
  if (this.bumpSpace(), this.bumpIf("/>"))
2902
2906
  return {
2903
2907
  val: {
2904
- type: K.literal,
2908
+ type: Q.literal,
2905
2909
  value: "<".concat(i, "/>"),
2906
2910
  location: F(r, this.clonePosition())
2907
2911
  },
@@ -2913,12 +2917,12 @@ var ps = (
2913
2917
  return o;
2914
2918
  var l = o.val, a = this.clonePosition();
2915
2919
  if (this.bumpIf("</")) {
2916
- if (this.isEOF() || !wn(this.char()))
2920
+ if (this.isEOF() || !On(this.char()))
2917
2921
  return this.error(k.INVALID_TAG, F(a, this.clonePosition()));
2918
2922
  var c = this.clonePosition(), u = this.parseTagName();
2919
2923
  return i !== u ? this.error(k.UNMATCHED_CLOSING_TAG, F(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2920
2924
  val: {
2921
- type: K.tag,
2925
+ type: Q.tag,
2922
2926
  value: i,
2923
2927
  children: l,
2924
2928
  location: F(r, this.clonePosition())
@@ -2931,7 +2935,7 @@ var ps = (
2931
2935
  return this.error(k.INVALID_TAG, F(r, this.clonePosition()));
2932
2936
  }, e.prototype.parseTagName = function() {
2933
2937
  var t = this.offset();
2934
- for (this.bump(); !this.isEOF() && _s(this.char()); )
2938
+ for (this.bump(); !this.isEOF() && bs(this.char()); )
2935
2939
  this.bump();
2936
2940
  return this.message.slice(t, this.offset());
2937
2941
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2955,12 +2959,12 @@ var ps = (
2955
2959
  }
2956
2960
  var c = F(r, this.clonePosition());
2957
2961
  return {
2958
- val: { type: K.literal, value: i, location: c },
2962
+ val: { type: Q.literal, value: i, location: c },
2959
2963
  err: null
2960
2964
  };
2961
2965
  }, e.prototype.tryParseLeftAngleBracket = function() {
2962
2966
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2963
- !gs(this.peek() || 0)) ? (this.bump(), "<") : null;
2967
+ !_s(this.peek() || 0)) ? (this.bump(), "<") : null;
2964
2968
  }, e.prototype.tryParseQuote = function(t) {
2965
2969
  if (this.isEOF() || this.char() !== 39)
2966
2970
  return null;
@@ -2994,12 +2998,12 @@ var ps = (
2994
2998
  n.push(r);
2995
2999
  this.bump();
2996
3000
  }
2997
- return Tn.apply(void 0, n);
3001
+ return wn.apply(void 0, n);
2998
3002
  }, e.prototype.tryParseUnquoted = function(t, n) {
2999
3003
  if (this.isEOF())
3000
3004
  return null;
3001
3005
  var r = this.char();
3002
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Tn(r));
3006
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), wn(r));
3003
3007
  }, e.prototype.parseArgument = function(t, n) {
3004
3008
  var r = this.clonePosition();
3005
3009
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3015,7 +3019,7 @@ var ps = (
3015
3019
  case 125:
3016
3020
  return this.bump(), {
3017
3021
  val: {
3018
- type: K.argument,
3022
+ type: Q.argument,
3019
3023
  // value does not include the opening and closing braces.
3020
3024
  value: i,
3021
3025
  location: F(r, this.clonePosition())
@@ -3028,7 +3032,7 @@ var ps = (
3028
3032
  return this.error(k.MALFORMED_ARGUMENT, F(r, this.clonePosition()));
3029
3033
  }
3030
3034
  }, e.prototype.parseIdentifierIfPossible = function() {
3031
- var t = this.clonePosition(), n = this.offset(), r = Sn(this.message, n), i = n + r.length;
3035
+ var t = this.clonePosition(), n = this.offset(), r = An(this.message, n), i = n + r.length;
3032
3036
  this.bumpTo(i);
3033
3037
  var o = this.clonePosition(), l = F(t, o);
3034
3038
  return { value: r, location: l };
@@ -3058,33 +3062,33 @@ var ps = (
3058
3062
  return x;
3059
3063
  var g = F(i, this.clonePosition());
3060
3064
  if (u && gr(u?.style, "::", 0)) {
3061
- var N = ms(u.style.slice(2));
3065
+ var N = ps(u.style.slice(2));
3062
3066
  if (a === "number") {
3063
3067
  var m = this.parseNumberSkeletonFromString(N, u.styleLocation);
3064
3068
  return m.err ? m : {
3065
- val: { type: K.number, value: r, location: g, style: m.val },
3069
+ val: { type: Q.number, value: r, location: g, style: m.val },
3066
3070
  err: null
3067
3071
  };
3068
3072
  } else {
3069
3073
  if (N.length === 0)
3070
3074
  return this.error(k.EXPECT_DATE_TIME_SKELETON, g);
3071
3075
  var U = N;
3072
- this.locale && (U = es(N, this.locale));
3076
+ this.locale && (U = ts(N, this.locale));
3073
3077
  var y = {
3074
- type: tt.dateTime,
3078
+ type: nt.dateTime,
3075
3079
  pattern: U,
3076
3080
  location: u.styleLocation,
3077
- parsedOptions: this.shouldParseSkeletons ? Xo(U) : {}
3078
- }, X = a === "date" ? K.date : K.time;
3081
+ parsedOptions: this.shouldParseSkeletons ? Yo(U) : {}
3082
+ }, V = a === "date" ? Q.date : Q.time;
3079
3083
  return {
3080
- val: { type: X, value: r, location: g, style: y },
3084
+ val: { type: V, value: r, location: g, style: y },
3081
3085
  err: null
3082
3086
  };
3083
3087
  }
3084
3088
  }
3085
3089
  return {
3086
3090
  val: {
3087
- type: a === "number" ? K.number : a === "date" ? K.date : K.time,
3091
+ type: a === "number" ? Q.number : a === "date" ? Q.date : Q.time,
3088
3092
  value: r,
3089
3093
  location: g,
3090
3094
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3097,7 +3101,7 @@ var ps = (
3097
3101
  case "select": {
3098
3102
  var R = this.clonePosition();
3099
3103
  if (this.bumpSpace(), !this.bumpIf(","))
3100
- return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS, F(R, j({}, R)));
3104
+ return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS, F(R, Yt({}, R)));
3101
3105
  this.bumpSpace();
3102
3106
  var H = this.parseIdentifierIfPossible(), I = 0;
3103
3107
  if (a !== "select" && H.value === "offset") {
@@ -3109,26 +3113,26 @@ var ps = (
3109
3113
  return m;
3110
3114
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), I = m.val;
3111
3115
  }
3112
- var V = this.tryParsePluralOrSelectOptions(t, a, n, H);
3113
- if (V.err)
3114
- return V;
3116
+ var W = this.tryParsePluralOrSelectOptions(t, a, n, H);
3117
+ if (W.err)
3118
+ return W;
3115
3119
  var x = this.tryParseArgumentClose(i);
3116
3120
  if (x.err)
3117
3121
  return x;
3118
3122
  var oe = F(i, this.clonePosition());
3119
3123
  return a === "select" ? {
3120
3124
  val: {
3121
- type: K.select,
3125
+ type: Q.select,
3122
3126
  value: r,
3123
- options: _r(V.val),
3127
+ options: _r(W.val),
3124
3128
  location: oe
3125
3129
  },
3126
3130
  err: null
3127
3131
  } : {
3128
3132
  val: {
3129
- type: K.plural,
3133
+ type: Q.plural,
3130
3134
  value: r,
3131
- options: _r(V.val),
3135
+ options: _r(W.val),
3132
3136
  offset: I,
3133
3137
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3134
3138
  location: oe
@@ -3179,16 +3183,16 @@ var ps = (
3179
3183
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3180
3184
  var r = [];
3181
3185
  try {
3182
- r = Zo(t);
3186
+ r = qo(t);
3183
3187
  } catch {
3184
3188
  return this.error(k.INVALID_NUMBER_SKELETON, n);
3185
3189
  }
3186
3190
  return {
3187
3191
  val: {
3188
- type: tt.number,
3192
+ type: nt.number,
3189
3193
  tokens: r,
3190
3194
  location: n,
3191
- parsedOptions: this.shouldParseSkeletons ? Ko(r) : {}
3195
+ parsedOptions: this.shouldParseSkeletons ? es(r) : {}
3192
3196
  },
3193
3197
  err: null
3194
3198
  };
@@ -3236,7 +3240,7 @@ var ps = (
3236
3240
  break;
3237
3241
  }
3238
3242
  var c = F(i, this.clonePosition());
3239
- return o ? (l *= r, fs(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
3243
+ return o ? (l *= r, hs(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
3240
3244
  }, e.prototype.offset = function() {
3241
3245
  return this.position.offset;
3242
3246
  }, e.prototype.isEOF = function() {
@@ -3302,47 +3306,47 @@ var ps = (
3302
3306
  }, e;
3303
3307
  }()
3304
3308
  );
3305
- function wn(e) {
3309
+ function On(e) {
3306
3310
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3307
3311
  }
3308
- function gs(e) {
3309
- return wn(e) || e === 47;
3310
- }
3311
3312
  function _s(e) {
3313
+ return On(e) || e === 47;
3314
+ }
3315
+ function bs(e) {
3312
3316
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3313
3317
  }
3314
3318
  function Ei(e) {
3315
3319
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3316
3320
  }
3317
- function bs(e) {
3321
+ function Es(e) {
3318
3322
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3319
3323
  }
3320
- function An(e) {
3324
+ function Mn(e) {
3321
3325
  e.forEach(function(t) {
3322
3326
  if (delete t.location, ui(t) || ci(t))
3323
3327
  for (var n in t.options)
3324
- delete t.options[n].location, An(t.options[n].value);
3328
+ delete t.options[n].location, Mn(t.options[n].value);
3325
3329
  else
3326
- si(t) && hi(t.style) || (ai(t) || li(t)) && xn(t.style) ? delete t.style.location : fi(t) && An(t.children);
3330
+ si(t) && hi(t.style) || (ai(t) || li(t)) && Tn(t.style) ? delete t.style.location : fi(t) && Mn(t.children);
3327
3331
  });
3328
3332
  }
3329
- function Es(e, t) {
3330
- t === void 0 && (t = {}), t = j({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3331
- var n = new ps(e, t).parse();
3333
+ function ys(e, t) {
3334
+ t === void 0 && (t = {}), t = Yt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3335
+ var n = new gs(e, t).parse();
3332
3336
  if (n.err) {
3333
3337
  var r = SyntaxError(k[n.err.kind]);
3334
3338
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3335
3339
  }
3336
- return t?.captureLocation || An(n.val), n.val;
3340
+ return t?.captureLocation || Mn(n.val), n.val;
3337
3341
  }
3338
- var nt;
3342
+ var rt;
3339
3343
  (function(e) {
3340
3344
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3341
- })(nt || (nt = {}));
3342
- var Qt = (
3345
+ })(rt || (rt = {}));
3346
+ var en = (
3343
3347
  /** @class */
3344
3348
  function(e) {
3345
- Jt(t, e);
3349
+ Kt(t, e);
3346
3350
  function t(n, r, i) {
3347
3351
  var o = e.call(this, n) || this;
3348
3352
  return o.code = r, o.originalMessage = i, o;
@@ -3354,44 +3358,44 @@ var Qt = (
3354
3358
  ), Er = (
3355
3359
  /** @class */
3356
3360
  function(e) {
3357
- Jt(t, e);
3361
+ Kt(t, e);
3358
3362
  function t(n, r, i, o) {
3359
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), nt.INVALID_VALUE, o) || this;
3363
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), rt.INVALID_VALUE, o) || this;
3360
3364
  }
3361
3365
  return t;
3362
- }(Qt)
3363
- ), ys = (
3366
+ }(en)
3367
+ ), xs = (
3364
3368
  /** @class */
3365
3369
  function(e) {
3366
- Jt(t, e);
3370
+ Kt(t, e);
3367
3371
  function t(n, r, i) {
3368
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), nt.INVALID_VALUE, i) || this;
3372
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), rt.INVALID_VALUE, i) || this;
3369
3373
  }
3370
3374
  return t;
3371
- }(Qt)
3372
- ), xs = (
3375
+ }(en)
3376
+ ), vs = (
3373
3377
  /** @class */
3374
3378
  function(e) {
3375
- Jt(t, e);
3379
+ Kt(t, e);
3376
3380
  function t(n, r) {
3377
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), nt.MISSING_VALUE, r) || this;
3381
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), rt.MISSING_VALUE, r) || this;
3378
3382
  }
3379
3383
  return t;
3380
- }(Qt)
3384
+ }(en)
3381
3385
  ), ge;
3382
3386
  (function(e) {
3383
3387
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3384
3388
  })(ge || (ge = {}));
3385
- function vs(e) {
3389
+ function Ts(e) {
3386
3390
  return e.length < 2 ? e : e.reduce(function(t, n) {
3387
3391
  var r = t[t.length - 1];
3388
3392
  return !r || r.type !== ge.literal || n.type !== ge.literal ? t.push(n) : r.value += n.value, t;
3389
3393
  }, []);
3390
3394
  }
3391
- function Ts(e) {
3395
+ function Ss(e) {
3392
3396
  return typeof e == "function";
3393
3397
  }
3394
- function Ft(e, t, n, r, i, o, l) {
3398
+ function Gt(e, t, n, r, i, o, l) {
3395
3399
  if (e.length === 1 && hr(e[0]))
3396
3400
  return [
3397
3401
  {
@@ -3408,7 +3412,7 @@ function Ft(e, t, n, r, i, o, l) {
3408
3412
  });
3409
3413
  continue;
3410
3414
  }
3411
- if (Wo(f)) {
3415
+ if (Vo(f)) {
3412
3416
  typeof o == "number" && a.push({
3413
3417
  type: ge.literal,
3414
3418
  value: n.getNumberFormat(t).format(o)
@@ -3417,9 +3421,9 @@ function Ft(e, t, n, r, i, o, l) {
3417
3421
  }
3418
3422
  var m = f.value;
3419
3423
  if (!(i && m in i))
3420
- throw new xs(m, l);
3424
+ throw new vs(m, l);
3421
3425
  var y = i[m];
3422
- if (zo(f)) {
3426
+ if (Wo(f)) {
3423
3427
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
3424
3428
  type: typeof y == "string" ? ge.literal : ge.object,
3425
3429
  value: y
@@ -3427,7 +3431,7 @@ function Ft(e, t, n, r, i, o, l) {
3427
3431
  continue;
3428
3432
  }
3429
3433
  if (ai(f)) {
3430
- var A = typeof f.style == "string" ? r.date[f.style] : xn(f.style) ? f.style.parsedOptions : void 0;
3434
+ var A = typeof f.style == "string" ? r.date[f.style] : Tn(f.style) ? f.style.parsedOptions : void 0;
3431
3435
  a.push({
3432
3436
  type: ge.literal,
3433
3437
  value: n.getDateTimeFormat(t, A).format(y)
@@ -3435,7 +3439,7 @@ function Ft(e, t, n, r, i, o, l) {
3435
3439
  continue;
3436
3440
  }
3437
3441
  if (li(f)) {
3438
- var A = typeof f.style == "string" ? r.time[f.style] : xn(f.style) ? f.style.parsedOptions : r.time.medium;
3442
+ var A = typeof f.style == "string" ? r.time[f.style] : Tn(f.style) ? f.style.parsedOptions : r.time.medium;
3439
3443
  a.push({
3440
3444
  type: ge.literal,
3441
3445
  value: n.getDateTimeFormat(t, A).format(y)
@@ -3452,12 +3456,12 @@ function Ft(e, t, n, r, i, o, l) {
3452
3456
  }
3453
3457
  if (fi(f)) {
3454
3458
  var x = f.children, g = f.value, N = i[g];
3455
- if (!Ts(N))
3456
- throw new ys(g, "function", l);
3457
- var U = Ft(x, t, n, r, i, o), X = N(U.map(function(I) {
3459
+ if (!Ss(N))
3460
+ throw new xs(g, "function", l);
3461
+ var U = Gt(x, t, n, r, i, o), V = N(U.map(function(I) {
3458
3462
  return I.value;
3459
3463
  }));
3460
- Array.isArray(X) || (X = [X]), a.push.apply(a, X.map(function(I) {
3464
+ Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(I) {
3461
3465
  return {
3462
3466
  type: typeof I == "string" ? ge.literal : ge.object,
3463
3467
  value: I
@@ -3468,38 +3472,38 @@ function Ft(e, t, n, r, i, o, l) {
3468
3472
  var R = f.options[y] || f.options.other;
3469
3473
  if (!R)
3470
3474
  throw new Er(f.value, y, Object.keys(f.options), l);
3471
- a.push.apply(a, Ft(R.value, t, n, r, i));
3475
+ a.push.apply(a, Gt(R.value, t, n, r, i));
3472
3476
  continue;
3473
3477
  }
3474
3478
  if (ci(f)) {
3475
3479
  var R = f.options["=".concat(y)];
3476
3480
  if (!R) {
3477
3481
  if (!Intl.PluralRules)
3478
- throw new Qt(`Intl.PluralRules is not available in this environment.
3482
+ throw new en(`Intl.PluralRules is not available in this environment.
3479
3483
  Try polyfilling it using "@formatjs/intl-pluralrules"
3480
- `, nt.MISSING_INTL_API, l);
3484
+ `, rt.MISSING_INTL_API, l);
3481
3485
  var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3482
3486
  R = f.options[H] || f.options.other;
3483
3487
  }
3484
3488
  if (!R)
3485
3489
  throw new Er(f.value, y, Object.keys(f.options), l);
3486
- a.push.apply(a, Ft(R.value, t, n, r, i, y - (f.offset || 0)));
3490
+ a.push.apply(a, Gt(R.value, t, n, r, i, y - (f.offset || 0)));
3487
3491
  continue;
3488
3492
  }
3489
3493
  }
3490
- return vs(a);
3494
+ return Ts(a);
3491
3495
  }
3492
- function Ss(e, t) {
3493
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3494
- return n[r] = j(j({}, e[r]), t[r] || {}), n;
3496
+ function ws(e, t) {
3497
+ return t ? He(He(He({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3498
+ return n[r] = He(He({}, e[r]), t[r] || {}), n;
3495
3499
  }, {})) : e;
3496
3500
  }
3497
- function ws(e, t) {
3501
+ function As(e, t) {
3498
3502
  return t ? Object.keys(e).reduce(function(n, r) {
3499
- return n[r] = Ss(e[r], t[r]), n;
3500
- }, j({}, e)) : e;
3503
+ return n[r] = ws(e[r], t[r]), n;
3504
+ }, He({}, e)) : e;
3501
3505
  }
3502
- function hn(e) {
3506
+ function pn(e) {
3503
3507
  return {
3504
3508
  create: function() {
3505
3509
  return {
@@ -3513,35 +3517,35 @@ function hn(e) {
3513
3517
  }
3514
3518
  };
3515
3519
  }
3516
- function As(e) {
3520
+ function Os(e) {
3517
3521
  return e === void 0 && (e = {
3518
3522
  number: {},
3519
3523
  dateTime: {},
3520
3524
  pluralRules: {}
3521
3525
  }), {
3522
- getNumberFormat: un(function() {
3526
+ getNumberFormat: fn(function() {
3523
3527
  for (var t, n = [], r = 0; r < arguments.length; r++)
3524
3528
  n[r] = arguments[r];
3525
- return new ((t = Intl.NumberFormat).bind.apply(t, ln([void 0], n, !1)))();
3529
+ return new ((t = Intl.NumberFormat).bind.apply(t, cn([void 0], n, !1)))();
3526
3530
  }, {
3527
- cache: hn(e.number),
3528
- strategy: cn.variadic
3531
+ cache: pn(e.number),
3532
+ strategy: hn.variadic
3529
3533
  }),
3530
- getDateTimeFormat: un(function() {
3534
+ getDateTimeFormat: fn(function() {
3531
3535
  for (var t, n = [], r = 0; r < arguments.length; r++)
3532
3536
  n[r] = arguments[r];
3533
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ln([void 0], n, !1)))();
3537
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, cn([void 0], n, !1)))();
3534
3538
  }, {
3535
- cache: hn(e.dateTime),
3536
- strategy: cn.variadic
3539
+ cache: pn(e.dateTime),
3540
+ strategy: hn.variadic
3537
3541
  }),
3538
- getPluralRules: un(function() {
3542
+ getPluralRules: fn(function() {
3539
3543
  for (var t, n = [], r = 0; r < arguments.length; r++)
3540
3544
  n[r] = arguments[r];
3541
- return new ((t = Intl.PluralRules).bind.apply(t, ln([void 0], n, !1)))();
3545
+ return new ((t = Intl.PluralRules).bind.apply(t, cn([void 0], n, !1)))();
3542
3546
  }, {
3543
- cache: hn(e.pluralRules),
3544
- strategy: cn.variadic
3547
+ cache: pn(e.pluralRules),
3548
+ strategy: hn.variadic
3545
3549
  })
3546
3550
  };
3547
3551
  }
@@ -3564,7 +3568,7 @@ var yi = (
3564
3568
  }, []);
3565
3569
  return f.length <= 1 ? f[0] || "" : f;
3566
3570
  }, this.formatToParts = function(c) {
3567
- return Ft(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3571
+ return Gt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3568
3572
  }, this.resolvedOptions = function() {
3569
3573
  var c;
3570
3574
  return {
@@ -3578,12 +3582,12 @@ var yi = (
3578
3582
  var l = i || {};
3579
3583
  l.formatters;
3580
3584
  var a = Bo(l, ["formatters"]);
3581
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3585
+ this.ast = e.__parse(t, He(He({}, a), { locale: this.resolvedLocale }));
3582
3586
  } else
3583
3587
  this.ast = t;
3584
3588
  if (!Array.isArray(this.ast))
3585
3589
  throw new TypeError("A message must be provided as a String or AST.");
3586
- this.formats = ws(e.formats, r), this.formatters = i && i.formatters || As(this.formatterCache);
3590
+ this.formats = As(e.formats, r), this.formatters = i && i.formatters || Os(this.formatterCache);
3587
3591
  }
3588
3592
  return Object.defineProperty(e, "defaultLocale", {
3589
3593
  get: function() {
@@ -3596,7 +3600,7 @@ var yi = (
3596
3600
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3597
3601
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3598
3602
  }
3599
- }, e.__parse = Es, e.formats = {
3603
+ }, e.__parse = ys, e.formats = {
3600
3604
  number: {
3601
3605
  integer: {
3602
3606
  maximumFractionDigits: 0
@@ -3678,36 +3682,36 @@ function Ms(e, t) {
3678
3682
  r = void 0;
3679
3683
  return r;
3680
3684
  }
3681
- const De = {}, Cs = (e, t, n) => n && (t in De || (De[t] = {}), e in De[t] || (De[t][e] = n), n), xi = (e, t) => {
3685
+ const Be = {}, Cs = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = n), n), xi = (e, t) => {
3682
3686
  if (t == null)
3683
3687
  return;
3684
- if (t in De && e in De[t])
3685
- return De[t][e];
3686
- const n = St(t);
3688
+ if (t in Be && e in Be[t])
3689
+ return Be[t][e];
3690
+ const n = wt(t);
3687
3691
  for (let r = 0; r < n.length; r++) {
3688
- const i = n[r], o = Ls(i, e);
3692
+ const i = n[r], o = Hs(i, e);
3689
3693
  if (o)
3690
3694
  return Cs(e, t, o);
3691
3695
  }
3692
3696
  };
3693
3697
  let Rn;
3694
- const Tt = vt({});
3695
- function Os(e) {
3698
+ const St = Tt({});
3699
+ function Ls(e) {
3696
3700
  return Rn[e] || null;
3697
3701
  }
3698
3702
  function vi(e) {
3699
3703
  return e in Rn;
3700
3704
  }
3701
- function Ls(e, t) {
3705
+ function Hs(e, t) {
3702
3706
  if (!vi(e))
3703
3707
  return null;
3704
- const n = Os(e);
3708
+ const n = Ls(e);
3705
3709
  return Ms(n, t);
3706
3710
  }
3707
- function Hs(e) {
3711
+ function Ns(e) {
3708
3712
  if (e == null)
3709
3713
  return;
3710
- const t = St(e);
3714
+ const t = wt(e);
3711
3715
  for (let n = 0; n < t.length; n++) {
3712
3716
  const r = t[n];
3713
3717
  if (vi(r))
@@ -3715,64 +3719,64 @@ function Hs(e) {
3715
3719
  }
3716
3720
  }
3717
3721
  function Ti(e, ...t) {
3718
- delete De[e], Tt.update((n) => (n[e] = Do.all([n[e] || {}, ...t]), n));
3722
+ delete Be[e], St.update((n) => (n[e] = Do.all([n[e] || {}, ...t]), n));
3719
3723
  }
3720
- it(
3721
- [Tt],
3724
+ ot(
3725
+ [St],
3722
3726
  ([e]) => Object.keys(e)
3723
3727
  );
3724
- Tt.subscribe((e) => Rn = e);
3725
- const Gt = {};
3726
- function Ns(e, t) {
3727
- Gt[e].delete(t), Gt[e].size === 0 && delete Gt[e];
3728
+ St.subscribe((e) => Rn = e);
3729
+ const jt = {};
3730
+ function Is(e, t) {
3731
+ jt[e].delete(t), jt[e].size === 0 && delete jt[e];
3728
3732
  }
3729
3733
  function Si(e) {
3730
- return Gt[e];
3734
+ return jt[e];
3731
3735
  }
3732
- function Is(e) {
3733
- return St(e).map((t) => {
3736
+ function Ps(e) {
3737
+ return wt(e).map((t) => {
3734
3738
  const n = Si(t);
3735
3739
  return [t, n ? [...n] : []];
3736
3740
  }).filter(([, t]) => t.length > 0);
3737
3741
  }
3738
- function Xt(e) {
3739
- return e == null ? !1 : St(e).some(
3742
+ function Zt(e) {
3743
+ return e == null ? !1 : wt(e).some(
3740
3744
  (t) => {
3741
3745
  var n;
3742
3746
  return (n = Si(t)) == null ? void 0 : n.size;
3743
3747
  }
3744
3748
  );
3745
3749
  }
3746
- function Ps(e, t) {
3750
+ function Rs(e, t) {
3747
3751
  return Promise.all(
3748
- t.map((r) => (Ns(e, r), r().then((i) => i.default || i)))
3752
+ t.map((r) => (Is(e, r), r().then((i) => i.default || i)))
3749
3753
  ).then((r) => Ti(e, ...r));
3750
3754
  }
3751
- const ct = {};
3755
+ const ft = {};
3752
3756
  function wi(e) {
3753
- if (!Xt(e))
3754
- return e in ct ? ct[e] : Promise.resolve();
3755
- const t = Is(e);
3756
- return ct[e] = Promise.all(
3757
+ if (!Zt(e))
3758
+ return e in ft ? ft[e] : Promise.resolve();
3759
+ const t = Ps(e);
3760
+ return ft[e] = Promise.all(
3757
3761
  t.map(
3758
- ([n, r]) => Ps(n, r)
3762
+ ([n, r]) => Rs(n, r)
3759
3763
  )
3760
3764
  ).then(() => {
3761
- if (Xt(e))
3765
+ if (Zt(e))
3762
3766
  return wi(e);
3763
- delete ct[e];
3764
- }), ct[e];
3767
+ delete ft[e];
3768
+ }), ft[e];
3765
3769
  }
3766
- var yr = Object.getOwnPropertySymbols, Rs = Object.prototype.hasOwnProperty, Ds = Object.prototype.propertyIsEnumerable, Bs = (e, t) => {
3770
+ var yr = Object.getOwnPropertySymbols, Ds = Object.prototype.hasOwnProperty, Bs = Object.prototype.propertyIsEnumerable, $s = (e, t) => {
3767
3771
  var n = {};
3768
3772
  for (var r in e)
3769
- Rs.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3773
+ Ds.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3770
3774
  if (e != null && yr)
3771
3775
  for (var r of yr(e))
3772
- t.indexOf(r) < 0 && Ds.call(e, r) && (n[r] = e[r]);
3776
+ t.indexOf(r) < 0 && Bs.call(e, r) && (n[r] = e[r]);
3773
3777
  return n;
3774
3778
  };
3775
- const $s = {
3779
+ const Us = {
3776
3780
  number: {
3777
3781
  scientific: { notation: "scientific" },
3778
3782
  engineering: { notation: "engineering" },
@@ -3802,28 +3806,28 @@ const $s = {
3802
3806
  }
3803
3807
  }
3804
3808
  };
3805
- function Us({ locale: e, id: t }) {
3809
+ function ks({ locale: e, id: t }) {
3806
3810
  console.warn(
3807
- `[svelte-i18n] The message "${t}" was not found in "${St(
3811
+ `[svelte-i18n] The message "${t}" was not found in "${wt(
3808
3812
  e
3809
- ).join('", "')}".${Xt(Ue()) ? `
3813
+ ).join('", "')}".${Zt(ke()) ? `
3810
3814
 
3811
3815
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3812
3816
  );
3813
3817
  }
3814
- const ks = {
3818
+ const Fs = {
3815
3819
  fallbackLocale: null,
3816
3820
  loadingDelay: 200,
3817
- formats: $s,
3821
+ formats: Us,
3818
3822
  warnOnMissingMessages: !0,
3819
3823
  handleMissingMessage: void 0,
3820
3824
  ignoreTag: !0
3821
- }, gt = ks;
3822
- function rt() {
3823
- return gt;
3825
+ }, _t = Fs;
3826
+ function it() {
3827
+ return _t;
3824
3828
  }
3825
- function Fs(e) {
3826
- const t = e, { formats: n } = t, r = Bs(t, ["formats"]);
3829
+ function Gs(e) {
3830
+ const t = e, { formats: n } = t, r = $s(t, ["formats"]);
3827
3831
  let i = e.fallbackLocale;
3828
3832
  if (e.initialLocale)
3829
3833
  try {
@@ -3833,134 +3837,134 @@ function Fs(e) {
3833
3837
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3834
3838
  );
3835
3839
  }
3836
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Us : console.warn(
3840
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ks : console.warn(
3837
3841
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3838
- )), Object.assign(gt, r, { initialLocale: i }), n && ("number" in n && Object.assign(gt.formats.number, n.number), "date" in n && Object.assign(gt.formats.date, n.date), "time" in n && Object.assign(gt.formats.time, n.time)), Ge.set(i);
3842
+ )), Object.assign(_t, r, { initialLocale: i }), n && ("number" in n && Object.assign(_t.formats.number, n.number), "date" in n && Object.assign(_t.formats.date, n.date), "time" in n && Object.assign(_t.formats.time, n.time)), je.set(i);
3839
3843
  }
3840
- const mn = vt(!1);
3841
- var Gs = Object.defineProperty, js = Object.defineProperties, zs = Object.getOwnPropertyDescriptors, xr = Object.getOwnPropertySymbols, Ws = Object.prototype.hasOwnProperty, Vs = Object.prototype.propertyIsEnumerable, vr = (e, t, n) => t in e ? Gs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Xs = (e, t) => {
3844
+ const dn = Tt(!1);
3845
+ var js = Object.defineProperty, zs = Object.defineProperties, Ws = Object.getOwnPropertyDescriptors, xr = Object.getOwnPropertySymbols, Vs = Object.prototype.hasOwnProperty, Xs = Object.prototype.propertyIsEnumerable, vr = (e, t, n) => t in e ? js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ys = (e, t) => {
3842
3846
  for (var n in t || (t = {}))
3843
- Ws.call(t, n) && vr(e, n, t[n]);
3847
+ Vs.call(t, n) && vr(e, n, t[n]);
3844
3848
  if (xr)
3845
3849
  for (var n of xr(t))
3846
- Vs.call(t, n) && vr(e, n, t[n]);
3850
+ Xs.call(t, n) && vr(e, n, t[n]);
3847
3851
  return e;
3848
- }, Ys = (e, t) => js(e, zs(t));
3849
- let Mn;
3850
- const Yt = vt(null);
3852
+ }, Zs = (e, t) => zs(e, Ws(t));
3853
+ let Cn;
3854
+ const qt = Tt(null);
3851
3855
  function Tr(e) {
3852
3856
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3853
3857
  }
3854
- function St(e, t = rt().fallbackLocale) {
3858
+ function wt(e, t = it().fallbackLocale) {
3855
3859
  const n = Tr(e);
3856
3860
  return t ? [.../* @__PURE__ */ new Set([...n, ...Tr(t)])] : n;
3857
3861
  }
3858
- function Ue() {
3859
- return Mn ?? void 0;
3862
+ function ke() {
3863
+ return Cn ?? void 0;
3860
3864
  }
3861
- Yt.subscribe((e) => {
3862
- Mn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3865
+ qt.subscribe((e) => {
3866
+ Cn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3863
3867
  });
3864
- const Zs = (e) => {
3865
- if (e && Hs(e) && Xt(e)) {
3866
- const { loadingDelay: t } = rt();
3868
+ const qs = (e) => {
3869
+ if (e && Ns(e) && Zt(e)) {
3870
+ const { loadingDelay: t } = it();
3867
3871
  let n;
3868
- return typeof window < "u" && Ue() != null && t ? n = window.setTimeout(
3869
- () => mn.set(!0),
3872
+ return typeof window < "u" && ke() != null && t ? n = window.setTimeout(
3873
+ () => dn.set(!0),
3870
3874
  t
3871
- ) : mn.set(!0), wi(e).then(() => {
3872
- Yt.set(e);
3875
+ ) : dn.set(!0), wi(e).then(() => {
3876
+ qt.set(e);
3873
3877
  }).finally(() => {
3874
- clearTimeout(n), mn.set(!1);
3878
+ clearTimeout(n), dn.set(!1);
3875
3879
  });
3876
3880
  }
3877
- return Yt.set(e);
3878
- }, Ge = Ys(Xs({}, Yt), {
3879
- set: Zs
3880
- }), Kt = (e) => {
3881
+ return qt.set(e);
3882
+ }, je = Zs(Ys({}, qt), {
3883
+ set: qs
3884
+ }), tn = (e) => {
3881
3885
  const t = /* @__PURE__ */ Object.create(null);
3882
3886
  return (r) => {
3883
3887
  const i = JSON.stringify(r);
3884
3888
  return i in t ? t[i] : t[i] = e(r);
3885
3889
  };
3886
3890
  };
3887
- var qs = Object.defineProperty, Zt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Sr = (e, t, n) => t in e ? qs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Dn = (e, t) => {
3891
+ var Js = Object.defineProperty, Jt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Sr = (e, t, n) => t in e ? Js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Dn = (e, t) => {
3888
3892
  for (var n in t || (t = {}))
3889
3893
  Ai.call(t, n) && Sr(e, n, t[n]);
3890
- if (Zt)
3891
- for (var n of Zt(t))
3892
- Mi.call(t, n) && Sr(e, n, t[n]);
3894
+ if (Jt)
3895
+ for (var n of Jt(t))
3896
+ Oi.call(t, n) && Sr(e, n, t[n]);
3893
3897
  return e;
3894
- }, ot = (e, t) => {
3898
+ }, st = (e, t) => {
3895
3899
  var n = {};
3896
3900
  for (var r in e)
3897
3901
  Ai.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3898
- if (e != null && Zt)
3899
- for (var r of Zt(e))
3900
- t.indexOf(r) < 0 && Mi.call(e, r) && (n[r] = e[r]);
3902
+ if (e != null && Jt)
3903
+ for (var r of Jt(e))
3904
+ t.indexOf(r) < 0 && Oi.call(e, r) && (n[r] = e[r]);
3901
3905
  return n;
3902
3906
  };
3903
- const xt = (e, t) => {
3904
- const { formats: n } = rt();
3907
+ const vt = (e, t) => {
3908
+ const { formats: n } = it();
3905
3909
  if (e in n && t in n[e])
3906
3910
  return n[e][t];
3907
3911
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3908
- }, Js = Kt(
3912
+ }, Qs = tn(
3909
3913
  (e) => {
3910
- var t = e, { locale: n, format: r } = t, i = ot(t, ["locale", "format"]);
3914
+ var t = e, { locale: n, format: r } = t, i = st(t, ["locale", "format"]);
3911
3915
  if (n == null)
3912
3916
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3913
- return r && (i = xt("number", r)), new Intl.NumberFormat(n, i);
3917
+ return r && (i = vt("number", r)), new Intl.NumberFormat(n, i);
3914
3918
  }
3915
- ), Qs = Kt(
3919
+ ), Ks = tn(
3916
3920
  (e) => {
3917
- var t = e, { locale: n, format: r } = t, i = ot(t, ["locale", "format"]);
3921
+ var t = e, { locale: n, format: r } = t, i = st(t, ["locale", "format"]);
3918
3922
  if (n == null)
3919
3923
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3920
- return r ? i = xt("date", r) : Object.keys(i).length === 0 && (i = xt("date", "short")), new Intl.DateTimeFormat(n, i);
3924
+ return r ? i = vt("date", r) : Object.keys(i).length === 0 && (i = vt("date", "short")), new Intl.DateTimeFormat(n, i);
3921
3925
  }
3922
- ), Ks = Kt(
3926
+ ), ea = tn(
3923
3927
  (e) => {
3924
- var t = e, { locale: n, format: r } = t, i = ot(t, ["locale", "format"]);
3928
+ var t = e, { locale: n, format: r } = t, i = st(t, ["locale", "format"]);
3925
3929
  if (n == null)
3926
3930
  throw new Error(
3927
3931
  '[svelte-i18n] A "locale" must be set to format time values'
3928
3932
  );
3929
- return r ? i = xt("time", r) : Object.keys(i).length === 0 && (i = xt("time", "short")), new Intl.DateTimeFormat(n, i);
3933
+ return r ? i = vt("time", r) : Object.keys(i).length === 0 && (i = vt("time", "short")), new Intl.DateTimeFormat(n, i);
3930
3934
  }
3931
- ), ea = (e = {}) => {
3932
- var t = e, {
3933
- locale: n = Ue()
3934
- } = t, r = ot(t, [
3935
- "locale"
3936
- ]);
3937
- return Js(Dn({ locale: n }, r));
3938
- }, ta = (e = {}) => {
3935
+ ), ta = (e = {}) => {
3939
3936
  var t = e, {
3940
- locale: n = Ue()
3941
- } = t, r = ot(t, [
3937
+ locale: n = ke()
3938
+ } = t, r = st(t, [
3942
3939
  "locale"
3943
3940
  ]);
3944
3941
  return Qs(Dn({ locale: n }, r));
3945
3942
  }, na = (e = {}) => {
3946
3943
  var t = e, {
3947
- locale: n = Ue()
3948
- } = t, r = ot(t, [
3944
+ locale: n = ke()
3945
+ } = t, r = st(t, [
3949
3946
  "locale"
3950
3947
  ]);
3951
3948
  return Ks(Dn({ locale: n }, r));
3952
- }, ra = Kt(
3949
+ }, ra = (e = {}) => {
3950
+ var t = e, {
3951
+ locale: n = ke()
3952
+ } = t, r = st(t, [
3953
+ "locale"
3954
+ ]);
3955
+ return ea(Dn({ locale: n }, r));
3956
+ }, ia = tn(
3953
3957
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3954
- (e, t = Ue()) => new yi(e, t, rt().formats, {
3955
- ignoreTag: rt().ignoreTag
3958
+ (e, t = ke()) => new yi(e, t, it().formats, {
3959
+ ignoreTag: it().ignoreTag
3956
3960
  })
3957
- ), ia = (e, t = {}) => {
3961
+ ), oa = (e, t = {}) => {
3958
3962
  var n, r, i, o;
3959
3963
  let l = t;
3960
3964
  typeof e == "object" && (l = e, e = l.id);
3961
3965
  const {
3962
3966
  values: a,
3963
- locale: c = Ue(),
3967
+ locale: c = ke(),
3964
3968
  default: u
3965
3969
  } = l;
3966
3970
  if (c == null)
@@ -3969,7 +3973,7 @@ const xt = (e, t) => {
3969
3973
  );
3970
3974
  let f = xi(e, c);
3971
3975
  if (!f)
3972
- f = (o = (i = (r = (n = rt()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3976
+ f = (o = (i = (r = (n = it()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3973
3977
  else if (typeof f != "string")
3974
3978
  return console.warn(
3975
3979
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3978,7 +3982,7 @@ const xt = (e, t) => {
3978
3982
  return f;
3979
3983
  let m = f;
3980
3984
  try {
3981
- m = ra(f, c).format(a);
3985
+ m = ia(f, c).format(a);
3982
3986
  } catch (y) {
3983
3987
  y instanceof Error && console.warn(
3984
3988
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3986,18 +3990,18 @@ const xt = (e, t) => {
3986
3990
  );
3987
3991
  }
3988
3992
  return m;
3989
- }, oa = (e, t) => na(t).format(e), sa = (e, t) => ta(t).format(e), aa = (e, t) => ea(t).format(e), la = (e, t = Ue()) => xi(e, t), ua = it([Ge, Tt], () => ia);
3990
- it([Ge], () => oa);
3991
- it([Ge], () => sa);
3992
- it([Ge], () => aa);
3993
- it([Ge, Tt], () => la);
3993
+ }, sa = (e, t) => ra(t).format(e), aa = (e, t) => na(t).format(e), la = (e, t) => ta(t).format(e), ua = (e, t = ke()) => xi(e, t), ca = ot([je, St], () => oa);
3994
+ ot([je], () => sa);
3995
+ ot([je], () => aa);
3996
+ ot([je], () => la);
3997
+ ot([je, St], () => ua);
3994
3998
  function wr(e, t) {
3995
3999
  Ti(e, t);
3996
4000
  }
3997
- function ca(e) {
3998
- Fs({
4001
+ function fa(e) {
4002
+ Gs({
3999
4003
  fallbackLocale: "en"
4000
- }), Ge.set(e);
4004
+ }), je.set(e);
4001
4005
  }
4002
4006
  const Ar = {
4003
4007
  en: {
@@ -4019,19 +4023,19 @@ const Ar = {
4019
4023
  };
4020
4024
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
4021
4025
  const {
4022
- entries: Ci,
4023
- setPrototypeOf: Mr,
4024
- isFrozen: fa,
4025
- getPrototypeOf: ha,
4026
- getOwnPropertyDescriptor: ma
4026
+ entries: Mi,
4027
+ setPrototypeOf: Or,
4028
+ isFrozen: ha,
4029
+ getPrototypeOf: ma,
4030
+ getOwnPropertyDescriptor: pa
4027
4031
  } = Object;
4028
4032
  let {
4029
4033
  freeze: _e,
4030
4034
  seal: ve,
4031
- create: Oi
4035
+ create: Ci
4032
4036
  } = Object, {
4033
- apply: Cn,
4034
- construct: On
4037
+ apply: Ln,
4038
+ construct: Hn
4035
4039
  } = typeof Reflect < "u" && Reflect;
4036
4040
  _e || (_e = function(t) {
4037
4041
  return t;
@@ -4039,107 +4043,98 @@ _e || (_e = function(t) {
4039
4043
  ve || (ve = function(t) {
4040
4044
  return t;
4041
4045
  });
4042
- Cn || (Cn = function(t, n, r) {
4046
+ Ln || (Ln = function(t, n, r) {
4043
4047
  return t.apply(n, r);
4044
4048
  });
4045
- On || (On = function(t, n) {
4049
+ Hn || (Hn = function(t, n) {
4046
4050
  return new t(...n);
4047
4051
  });
4048
- const It = xe(Array.prototype.forEach), Cr = xe(Array.prototype.pop), ft = xe(Array.prototype.push), jt = xe(String.prototype.toLowerCase), dn = xe(String.prototype.toString), Or = xe(String.prototype.match), ht = xe(String.prototype.replace), da = xe(String.prototype.indexOf), pa = xe(String.prototype.trim), Se = xe(Object.prototype.hasOwnProperty), de = xe(RegExp.prototype.test), mt = ga(TypeError);
4052
+ const Pt = xe(Array.prototype.forEach), Mr = xe(Array.prototype.pop), ht = xe(Array.prototype.push), zt = xe(String.prototype.toLowerCase), gn = xe(String.prototype.toString), Cr = xe(String.prototype.match), mt = xe(String.prototype.replace), da = xe(String.prototype.indexOf), ga = xe(String.prototype.trim), Se = xe(Object.prototype.hasOwnProperty), pe = xe(RegExp.prototype.test), pt = _a(TypeError);
4049
4053
  function xe(e) {
4050
4054
  return function(t) {
4051
4055
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4052
4056
  r[i - 1] = arguments[i];
4053
- return Cn(e, t, r);
4057
+ return Ln(e, t, r);
4054
4058
  };
4055
4059
  }
4056
- function ga(e) {
4060
+ function _a(e) {
4057
4061
  return function() {
4058
4062
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
4059
4063
  n[r] = arguments[r];
4060
- return On(e, n);
4064
+ return Hn(e, n);
4061
4065
  };
4062
4066
  }
4063
4067
  function $(e, t) {
4064
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : jt;
4065
- Mr && Mr(e, null);
4068
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : zt;
4069
+ Or && Or(e, null);
4066
4070
  let r = t.length;
4067
4071
  for (; r--; ) {
4068
4072
  let i = t[r];
4069
4073
  if (typeof i == "string") {
4070
4074
  const o = n(i);
4071
- o !== i && (fa(t) || (t[r] = o), i = o);
4075
+ o !== i && (ha(t) || (t[r] = o), i = o);
4072
4076
  }
4073
4077
  e[i] = !0;
4074
4078
  }
4075
4079
  return e;
4076
4080
  }
4077
- function _a(e) {
4081
+ function ba(e) {
4078
4082
  for (let t = 0; t < e.length; t++)
4079
4083
  Se(e, t) || (e[t] = null);
4080
4084
  return e;
4081
4085
  }
4082
- function ke(e) {
4083
- const t = Oi(null);
4084
- for (const [n, r] of Ci(e))
4085
- Se(e, n) && (Array.isArray(r) ? t[n] = _a(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = ke(r) : t[n] = r);
4086
+ function Fe(e) {
4087
+ const t = Ci(null);
4088
+ for (const [n, r] of Mi(e))
4089
+ Se(e, n) && (Array.isArray(r) ? t[n] = ba(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Fe(r) : t[n] = r);
4086
4090
  return t;
4087
4091
  }
4088
4092
  function dt(e, t) {
4089
4093
  for (; e !== null; ) {
4090
- const r = ma(e, t);
4094
+ const r = pa(e, t);
4091
4095
  if (r) {
4092
4096
  if (r.get)
4093
4097
  return xe(r.get);
4094
4098
  if (typeof r.value == "function")
4095
4099
  return xe(r.value);
4096
4100
  }
4097
- e = ha(e);
4101
+ e = ma(e);
4098
4102
  }
4099
4103
  function n() {
4100
4104
  return null;
4101
4105
  }
4102
4106
  return n;
4103
4107
  }
4104
- const Lr = _e(["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 = _e(["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"]), gn = _e(["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"]), ba = _e(["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"]), _n = _e(["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"]), Ea = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Hr = _e(["#text"]), Nr = _e(["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 = _e(["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"]), Ir = _e(["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"]), Pt = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ya = ve(/\{\{[\w\W]*|[\w\W]*\}\}/gm), xa = ve(/<%[\w\W]*|[\w\W]*%>/gm), va = ve(/\${[\w\W]*}/gm), Ta = ve(/^data-[\-\w.\u00B7-\uFFFF]/), Sa = ve(/^aria-[\-\w]+$/), Li = ve(
4108
+ const Lr = _e(["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"]), _n = _e(["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"]), bn = _e(["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"]), Ea = _e(["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"]), En = _e(["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"]), ya = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Hr = _e(["#text"]), Nr = _e(["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"]), yn = _e(["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"]), Ir = _e(["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"]), Rt = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xa = ve(/\{\{[\w\W]*|[\w\W]*\}\}/gm), va = ve(/<%[\w\W]*|[\w\W]*%>/gm), Ta = ve(/\${[\w\W]*}/gm), Sa = ve(/^data-[\-\w.\u00B7-\uFFFF]/), wa = ve(/^aria-[\-\w]+$/), Li = ve(
4105
4109
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4106
4110
  // eslint-disable-line no-useless-escape
4107
- ), wa = ve(/^(?:\w+script|data):/i), Aa = ve(
4111
+ ), Aa = ve(/^(?:\w+script|data):/i), Oa = ve(
4108
4112
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4109
4113
  // eslint-disable-line no-control-regex
4110
4114
  ), Hi = ve(/^html$/i), Ma = ve(/^[a-z][.\w]*(-[.\w]+)+$/i);
4111
4115
  var Pr = /* @__PURE__ */ Object.freeze({
4112
4116
  __proto__: null,
4113
- MUSTACHE_EXPR: ya,
4114
- ERB_EXPR: xa,
4115
- TMPLIT_EXPR: va,
4116
- DATA_ATTR: Ta,
4117
- ARIA_ATTR: Sa,
4117
+ MUSTACHE_EXPR: xa,
4118
+ ERB_EXPR: va,
4119
+ TMPLIT_EXPR: Ta,
4120
+ DATA_ATTR: Sa,
4121
+ ARIA_ATTR: wa,
4118
4122
  IS_ALLOWED_URI: Li,
4119
- IS_SCRIPT_OR_DATA: wa,
4120
- ATTR_WHITESPACE: Aa,
4123
+ IS_SCRIPT_OR_DATA: Aa,
4124
+ ATTR_WHITESPACE: Oa,
4121
4125
  DOCTYPE_NAME: Hi,
4122
4126
  CUSTOM_ELEMENT: Ma
4123
4127
  });
4124
- const pt = {
4128
+ const gt = {
4125
4129
  element: 1,
4126
- attribute: 2,
4127
4130
  text: 3,
4128
- cdataSection: 4,
4129
- entityReference: 5,
4130
- // Deprecated
4131
- entityNode: 6,
4132
4131
  // Deprecated
4133
4132
  progressingInstruction: 7,
4134
4133
  comment: 8,
4135
- document: 9,
4136
- documentType: 10,
4137
- documentFragment: 11,
4138
- notation: 12
4139
- // Deprecated
4134
+ document: 9
4140
4135
  }, Ca = function() {
4141
4136
  return typeof window > "u" ? null : window;
4142
- }, Oa = function(t, n) {
4137
+ }, La = function(t, n) {
4143
4138
  if (typeof t != "object" || typeof t.createPolicy != "function")
4144
4139
  return null;
4145
4140
  let r = null;
@@ -4162,7 +4157,7 @@ const pt = {
4162
4157
  function Ni() {
4163
4158
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ca();
4164
4159
  const t = (S) => Ni(S);
4165
- if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== pt.document)
4160
+ if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== gt.document)
4166
4161
  return t.isSupported = !1, t;
4167
4162
  let {
4168
4163
  document: n
@@ -4177,26 +4172,26 @@ function Ni() {
4177
4172
  HTMLFormElement: m,
4178
4173
  DOMParser: y,
4179
4174
  trustedTypes: A
4180
- } = e, x = c.prototype, g = dt(x, "cloneNode"), N = dt(x, "remove"), U = dt(x, "nextSibling"), X = dt(x, "childNodes"), R = dt(x, "parentNode");
4175
+ } = e, x = c.prototype, g = dt(x, "cloneNode"), N = dt(x, "remove"), U = dt(x, "nextSibling"), V = dt(x, "childNodes"), R = dt(x, "parentNode");
4181
4176
  if (typeof l == "function") {
4182
4177
  const S = n.createElement("template");
4183
4178
  S.content && S.content.ownerDocument && (n = S.content.ownerDocument);
4184
4179
  }
4185
4180
  let H, I = "";
4186
4181
  const {
4187
- implementation: V,
4182
+ implementation: W,
4188
4183
  createNodeIterator: oe,
4189
4184
  createDocumentFragment: fe,
4190
- getElementsByTagName: ee
4185
+ getElementsByTagName: K
4191
4186
  } = n, {
4192
- importNode: z
4187
+ importNode: j
4193
4188
  } = r;
4194
- let O = {};
4195
- t.isSupported = typeof Ci == "function" && typeof R == "function" && V && V.createHTMLDocument !== void 0;
4189
+ let C = {};
4190
+ t.isSupported = typeof Mi == "function" && typeof R == "function" && W && W.createHTMLDocument !== void 0;
4196
4191
  const {
4197
4192
  MUSTACHE_EXPR: se,
4198
4193
  ERB_EXPR: Ee,
4199
- TMPLIT_EXPR: C,
4194
+ TMPLIT_EXPR: M,
4200
4195
  DATA_ATTR: _,
4201
4196
  ARIA_ATTR: h,
4202
4197
  IS_SCRIPT_OR_DATA: E,
@@ -4204,12 +4199,12 @@ function Ni() {
4204
4199
  CUSTOM_ELEMENT: L
4205
4200
  } = Pr;
4206
4201
  let {
4207
- IS_ALLOWED_URI: M
4202
+ IS_ALLOWED_URI: O
4208
4203
  } = Pr, v = null;
4209
- const W = $({}, [...Lr, ...pn, ...gn, ..._n, ...Hr]);
4204
+ const z = $({}, [...Lr, ..._n, ...bn, ...En, ...Hr]);
4210
4205
  let P = null;
4211
- const J = $({}, [...Nr, ...bn, ...Ir, ...Pt]);
4212
- let D = Object.seal(Oi(null, {
4206
+ const q = $({}, [...Nr, ...yn, ...Ir, ...Rt]);
4207
+ let D = Object.seal(Ci(null, {
4213
4208
  tagNameCheck: {
4214
4209
  writable: !0,
4215
4210
  configurable: !1,
@@ -4228,59 +4223,59 @@ function Ni() {
4228
4223
  enumerable: !0,
4229
4224
  value: !1
4230
4225
  }
4231
- })), p = null, G = null, Y = !0, Z = !0, re = !1, te = !0, he = !1, le = !0, Ae = !1, Q = !1, ie = !1, Me = !1, wt = !1, At = !1, Bn = !0, $n = !1;
4226
+ })), d = null, G = null, X = !0, Y = !0, ne = !1, ee = !0, he = !1, le = !0, Ae = !1, J = !1, re = !1, Oe = !1, At = !1, Ot = !1, Bn = !0, $n = !1;
4232
4227
  const Ri = "user-content-";
4233
- let en = !0, st = !1, je = {}, ze = null;
4228
+ let nn = !0, at = !1, ze = {}, We = null;
4234
4229
  const Un = $({}, ["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"]);
4235
4230
  let kn = null;
4236
4231
  const Fn = $({}, ["audio", "video", "img", "source", "image", "track"]);
4237
- let tn = null;
4238
- const Gn = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Mt = "http://www.w3.org/1998/Math/MathML", Ct = "http://www.w3.org/2000/svg", He = "http://www.w3.org/1999/xhtml";
4239
- let We = He, nn = !1, rn = null;
4240
- const Di = $({}, [Mt, Ct, He], dn);
4241
- let at = null;
4232
+ let rn = null;
4233
+ const Gn = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Mt = "http://www.w3.org/1998/Math/MathML", Ct = "http://www.w3.org/2000/svg", Ne = "http://www.w3.org/1999/xhtml";
4234
+ let Ve = Ne, on = !1, sn = null;
4235
+ const Di = $({}, [Mt, Ct, Ne], gn);
4236
+ let lt = null;
4242
4237
  const Bi = ["application/xhtml+xml", "text/html"], $i = "text/html";
4243
- let ae = null, Ve = null;
4238
+ let ae = null, Xe = null;
4244
4239
  const Ui = n.createElement("form"), jn = function(s) {
4245
4240
  return s instanceof RegExp || s instanceof Function;
4246
- }, on = function() {
4241
+ }, an = function() {
4247
4242
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4248
- if (!(Ve && Ve === s)) {
4249
- if ((!s || typeof s != "object") && (s = {}), s = ke(s), at = // eslint-disable-next-line unicorn/prefer-includes
4250
- Bi.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? $i : s.PARSER_MEDIA_TYPE, ae = at === "application/xhtml+xml" ? dn : jt, v = Se(s, "ALLOWED_TAGS") ? $({}, s.ALLOWED_TAGS, ae) : W, P = Se(s, "ALLOWED_ATTR") ? $({}, s.ALLOWED_ATTR, ae) : J, rn = Se(s, "ALLOWED_NAMESPACES") ? $({}, s.ALLOWED_NAMESPACES, dn) : Di, tn = Se(s, "ADD_URI_SAFE_ATTR") ? $(
4251
- ke(Gn),
4243
+ if (!(Xe && Xe === s)) {
4244
+ if ((!s || typeof s != "object") && (s = {}), s = Fe(s), lt = // eslint-disable-next-line unicorn/prefer-includes
4245
+ Bi.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? $i : s.PARSER_MEDIA_TYPE, ae = lt === "application/xhtml+xml" ? gn : zt, v = Se(s, "ALLOWED_TAGS") ? $({}, s.ALLOWED_TAGS, ae) : z, P = Se(s, "ALLOWED_ATTR") ? $({}, s.ALLOWED_ATTR, ae) : q, sn = Se(s, "ALLOWED_NAMESPACES") ? $({}, s.ALLOWED_NAMESPACES, gn) : Di, rn = Se(s, "ADD_URI_SAFE_ATTR") ? $(
4246
+ Fe(Gn),
4252
4247
  // eslint-disable-line indent
4253
4248
  s.ADD_URI_SAFE_ATTR,
4254
4249
  // eslint-disable-line indent
4255
4250
  ae
4256
4251
  // eslint-disable-line indent
4257
4252
  ) : Gn, kn = Se(s, "ADD_DATA_URI_TAGS") ? $(
4258
- ke(Fn),
4253
+ Fe(Fn),
4259
4254
  // eslint-disable-line indent
4260
4255
  s.ADD_DATA_URI_TAGS,
4261
4256
  // eslint-disable-line indent
4262
4257
  ae
4263
4258
  // eslint-disable-line indent
4264
- ) : Fn, ze = Se(s, "FORBID_CONTENTS") ? $({}, s.FORBID_CONTENTS, ae) : Un, p = Se(s, "FORBID_TAGS") ? $({}, s.FORBID_TAGS, ae) : {}, G = Se(s, "FORBID_ATTR") ? $({}, s.FORBID_ATTR, ae) : {}, je = Se(s, "USE_PROFILES") ? s.USE_PROFILES : !1, Y = s.ALLOW_ARIA_ATTR !== !1, Z = s.ALLOW_DATA_ATTR !== !1, re = s.ALLOW_UNKNOWN_PROTOCOLS || !1, te = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = s.SAFE_FOR_TEMPLATES || !1, le = s.SAFE_FOR_XML !== !1, Ae = s.WHOLE_DOCUMENT || !1, Me = s.RETURN_DOM || !1, wt = s.RETURN_DOM_FRAGMENT || !1, At = s.RETURN_TRUSTED_TYPE || !1, ie = s.FORCE_BODY || !1, Bn = s.SANITIZE_DOM !== !1, $n = s.SANITIZE_NAMED_PROPS || !1, en = s.KEEP_CONTENT !== !1, st = s.IN_PLACE || !1, M = s.ALLOWED_URI_REGEXP || Li, We = s.NAMESPACE || He, D = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && jn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (D.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && jn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (D.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (D.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), he && (Z = !1), wt && (Me = !0), je && (v = $({}, Hr), P = [], je.html === !0 && ($(v, Lr), $(P, Nr)), je.svg === !0 && ($(v, pn), $(P, bn), $(P, Pt)), je.svgFilters === !0 && ($(v, gn), $(P, bn), $(P, Pt)), je.mathMl === !0 && ($(v, _n), $(P, Ir), $(P, Pt))), s.ADD_TAGS && (v === W && (v = ke(v)), $(v, s.ADD_TAGS, ae)), s.ADD_ATTR && (P === J && (P = ke(P)), $(P, s.ADD_ATTR, ae)), s.ADD_URI_SAFE_ATTR && $(tn, s.ADD_URI_SAFE_ATTR, ae), s.FORBID_CONTENTS && (ze === Un && (ze = ke(ze)), $(ze, s.FORBID_CONTENTS, ae)), en && (v["#text"] = !0), Ae && $(v, ["html", "head", "body"]), v.table && ($(v, ["tbody"]), delete p.tbody), s.TRUSTED_TYPES_POLICY) {
4259
+ ) : Fn, We = Se(s, "FORBID_CONTENTS") ? $({}, s.FORBID_CONTENTS, ae) : Un, d = Se(s, "FORBID_TAGS") ? $({}, s.FORBID_TAGS, ae) : {}, G = Se(s, "FORBID_ATTR") ? $({}, s.FORBID_ATTR, ae) : {}, ze = Se(s, "USE_PROFILES") ? s.USE_PROFILES : !1, X = s.ALLOW_ARIA_ATTR !== !1, Y = s.ALLOW_DATA_ATTR !== !1, ne = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ee = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = s.SAFE_FOR_TEMPLATES || !1, le = s.SAFE_FOR_XML !== !1, Ae = s.WHOLE_DOCUMENT || !1, Oe = s.RETURN_DOM || !1, At = s.RETURN_DOM_FRAGMENT || !1, Ot = s.RETURN_TRUSTED_TYPE || !1, re = s.FORCE_BODY || !1, Bn = s.SANITIZE_DOM !== !1, $n = s.SANITIZE_NAMED_PROPS || !1, nn = s.KEEP_CONTENT !== !1, at = s.IN_PLACE || !1, O = s.ALLOWED_URI_REGEXP || Li, Ve = s.NAMESPACE || Ne, D = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && jn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (D.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && jn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (D.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (D.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), he && (Y = !1), At && (Oe = !0), ze && (v = $({}, Hr), P = [], ze.html === !0 && ($(v, Lr), $(P, Nr)), ze.svg === !0 && ($(v, _n), $(P, yn), $(P, Rt)), ze.svgFilters === !0 && ($(v, bn), $(P, yn), $(P, Rt)), ze.mathMl === !0 && ($(v, En), $(P, Ir), $(P, Rt))), s.ADD_TAGS && (v === z && (v = Fe(v)), $(v, s.ADD_TAGS, ae)), s.ADD_ATTR && (P === q && (P = Fe(P)), $(P, s.ADD_ATTR, ae)), s.ADD_URI_SAFE_ATTR && $(rn, s.ADD_URI_SAFE_ATTR, ae), s.FORBID_CONTENTS && (We === Un && (We = Fe(We)), $(We, s.FORBID_CONTENTS, ae)), nn && (v["#text"] = !0), Ae && $(v, ["html", "head", "body"]), v.table && ($(v, ["tbody"]), delete d.tbody), s.TRUSTED_TYPES_POLICY) {
4265
4260
  if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
4266
- throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4261
+ throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4267
4262
  if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4268
- throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4263
+ throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4269
4264
  H = s.TRUSTED_TYPES_POLICY, I = H.createHTML("");
4270
4265
  } else
4271
- H === void 0 && (H = Oa(A, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
4272
- _e && _e(s), Ve = s;
4266
+ H === void 0 && (H = La(A, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
4267
+ _e && _e(s), Xe = s;
4273
4268
  }
4274
- }, zn = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Wn = $({}, ["foreignobject", "annotation-xml"]), ki = $({}, ["title", "style", "font", "a", "script"]), Vn = $({}, [...pn, ...gn, ...ba]), Xn = $({}, [..._n, ...Ea]), Fi = function(s) {
4275
- let d = R(s);
4276
- (!d || !d.tagName) && (d = {
4277
- namespaceURI: We,
4269
+ }, zn = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Wn = $({}, ["foreignobject", "annotation-xml"]), ki = $({}, ["title", "style", "font", "a", "script"]), Vn = $({}, [..._n, ...bn, ...Ea]), Xn = $({}, [...En, ...ya]), Fi = function(s) {
4270
+ let p = R(s);
4271
+ (!p || !p.tagName) && (p = {
4272
+ namespaceURI: Ve,
4278
4273
  tagName: "template"
4279
4274
  });
4280
- const T = jt(s.tagName), q = jt(d.tagName);
4281
- return rn[s.namespaceURI] ? s.namespaceURI === Ct ? d.namespaceURI === He ? T === "svg" : d.namespaceURI === Mt ? T === "svg" && (q === "annotation-xml" || zn[q]) : !!Vn[T] : s.namespaceURI === Mt ? d.namespaceURI === He ? T === "math" : d.namespaceURI === Ct ? T === "math" && Wn[q] : !!Xn[T] : s.namespaceURI === He ? d.namespaceURI === Ct && !Wn[q] || d.namespaceURI === Mt && !zn[q] ? !1 : !Xn[T] && (ki[T] || !Vn[T]) : !!(at === "application/xhtml+xml" && rn[s.namespaceURI]) : !1;
4282
- }, Ce = function(s) {
4283
- ft(t.removed, {
4275
+ const T = zt(s.tagName), Z = zt(p.tagName);
4276
+ return sn[s.namespaceURI] ? s.namespaceURI === Ct ? p.namespaceURI === Ne ? T === "svg" : p.namespaceURI === Mt ? T === "svg" && (Z === "annotation-xml" || zn[Z]) : !!Vn[T] : s.namespaceURI === Mt ? p.namespaceURI === Ne ? T === "math" : p.namespaceURI === Ct ? T === "math" && Wn[Z] : !!Xn[T] : s.namespaceURI === Ne ? p.namespaceURI === Ct && !Wn[Z] || p.namespaceURI === Mt && !zn[Z] ? !1 : !Xn[T] && (ki[T] || !Vn[T]) : !!(lt === "application/xhtml+xml" && sn[s.namespaceURI]) : !1;
4277
+ }, Me = function(s) {
4278
+ ht(t.removed, {
4284
4279
  element: s
4285
4280
  });
4286
4281
  try {
@@ -4288,53 +4283,53 @@ function Ni() {
4288
4283
  } catch {
4289
4284
  N(s);
4290
4285
  }
4291
- }, Ot = function(s, d) {
4286
+ }, Lt = function(s, p) {
4292
4287
  try {
4293
- ft(t.removed, {
4294
- attribute: d.getAttributeNode(s),
4295
- from: d
4288
+ ht(t.removed, {
4289
+ attribute: p.getAttributeNode(s),
4290
+ from: p
4296
4291
  });
4297
4292
  } catch {
4298
- ft(t.removed, {
4293
+ ht(t.removed, {
4299
4294
  attribute: null,
4300
- from: d
4295
+ from: p
4301
4296
  });
4302
4297
  }
4303
- if (d.removeAttribute(s), s === "is" && !P[s])
4304
- if (Me || wt)
4298
+ if (p.removeAttribute(s), s === "is" && !P[s])
4299
+ if (Oe || At)
4305
4300
  try {
4306
- Ce(d);
4301
+ Me(p);
4307
4302
  } catch {
4308
4303
  }
4309
4304
  else
4310
4305
  try {
4311
- d.setAttribute(s, "");
4306
+ p.setAttribute(s, "");
4312
4307
  } catch {
4313
4308
  }
4314
4309
  }, Yn = function(s) {
4315
- let d = null, T = null;
4316
- if (ie)
4310
+ let p = null, T = null;
4311
+ if (re)
4317
4312
  s = "<remove></remove>" + s;
4318
4313
  else {
4319
- const ue = Or(s, /^[\r\n\t ]+/);
4314
+ const ue = Cr(s, /^[\r\n\t ]+/);
4320
4315
  T = ue && ue[0];
4321
4316
  }
4322
- at === "application/xhtml+xml" && We === He && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
4323
- const q = H ? H.createHTML(s) : s;
4324
- if (We === He)
4317
+ lt === "application/xhtml+xml" && Ve === Ne && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
4318
+ const Z = H ? H.createHTML(s) : s;
4319
+ if (Ve === Ne)
4325
4320
  try {
4326
- d = new y().parseFromString(q, at);
4321
+ p = new y().parseFromString(Z, lt);
4327
4322
  } catch {
4328
4323
  }
4329
- if (!d || !d.documentElement) {
4330
- d = V.createDocument(We, "template", null);
4324
+ if (!p || !p.documentElement) {
4325
+ p = W.createDocument(Ve, "template", null);
4331
4326
  try {
4332
- d.documentElement.innerHTML = nn ? I : q;
4327
+ p.documentElement.innerHTML = on ? I : Z;
4333
4328
  } catch {
4334
4329
  }
4335
4330
  }
4336
- const ce = d.body || d.documentElement;
4337
- return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), We === He ? ee.call(d, Ae ? "html" : "body")[0] : Ae ? d.documentElement : ce;
4331
+ const ce = p.body || p.documentElement;
4332
+ return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), Ve === Ne ? K.call(p, Ae ? "html" : "body")[0] : Ae ? p.documentElement : ce;
4338
4333
  }, Zn = function(s) {
4339
4334
  return oe.call(
4340
4335
  s.ownerDocument || s,
@@ -4347,59 +4342,59 @@ function Ni() {
4347
4342
  return s instanceof m && (typeof s.nodeName != "string" || typeof s.textContent != "string" || typeof s.removeChild != "function" || !(s.attributes instanceof f) || typeof s.removeAttribute != "function" || typeof s.setAttribute != "function" || typeof s.namespaceURI != "string" || typeof s.insertBefore != "function" || typeof s.hasChildNodes != "function");
4348
4343
  }, Jn = function(s) {
4349
4344
  return typeof a == "function" && s instanceof a;
4350
- }, Ne = function(s, d, T) {
4351
- O[s] && It(O[s], (q) => {
4352
- q.call(t, d, T, Ve);
4345
+ }, Ie = function(s, p, T) {
4346
+ C[s] && Pt(C[s], (Z) => {
4347
+ Z.call(t, p, T, Xe);
4353
4348
  });
4354
4349
  }, Qn = function(s) {
4355
- let d = null;
4356
- if (Ne("beforeSanitizeElements", s, null), qn(s))
4357
- return Ce(s), !0;
4350
+ let p = null;
4351
+ if (Ie("beforeSanitizeElements", s, null), qn(s))
4352
+ return Me(s), !0;
4358
4353
  const T = ae(s.nodeName);
4359
- if (Ne("uponSanitizeElement", s, {
4354
+ if (Ie("uponSanitizeElement", s, {
4360
4355
  tagName: T,
4361
4356
  allowedTags: v
4362
- }), s.hasChildNodes() && !Jn(s.firstElementChild) && de(/<[/\w]/g, s.innerHTML) && de(/<[/\w]/g, s.textContent) || s.nodeType === pt.progressingInstruction || le && s.nodeType === pt.comment && de(/<[/\w]/g, s.data))
4363
- return Ce(s), !0;
4364
- if (!v[T] || p[T]) {
4365
- if (!p[T] && er(T) && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4357
+ }), s.hasChildNodes() && !Jn(s.firstElementChild) && pe(/<[/\w]/g, s.innerHTML) && pe(/<[/\w]/g, s.textContent) || s.nodeType === gt.progressingInstruction || le && s.nodeType === gt.comment && pe(/<[/\w]/g, s.data))
4358
+ return Me(s), !0;
4359
+ if (!v[T] || d[T]) {
4360
+ if (!d[T] && er(T) && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4366
4361
  return !1;
4367
- if (en && !ze[T]) {
4368
- const q = R(s) || s.parentNode, ce = X(s) || s.childNodes;
4369
- if (ce && q) {
4362
+ if (nn && !We[T]) {
4363
+ const Z = R(s) || s.parentNode, ce = V(s) || s.childNodes;
4364
+ if (ce && Z) {
4370
4365
  const ue = ce.length;
4371
4366
  for (let be = ue - 1; be >= 0; --be) {
4372
- const Oe = g(ce[be], !0);
4373
- Oe.__removalCount = (s.__removalCount || 0) + 1, q.insertBefore(Oe, U(s));
4367
+ const Ce = g(ce[be], !0);
4368
+ Ce.__removalCount = (s.__removalCount || 0) + 1, Z.insertBefore(Ce, U(s));
4374
4369
  }
4375
4370
  }
4376
4371
  }
4377
- return Ce(s), !0;
4372
+ return Me(s), !0;
4378
4373
  }
4379
- return s instanceof c && !Fi(s) || (T === "noscript" || T === "noembed" || T === "noframes") && de(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Ce(s), !0) : (he && s.nodeType === pt.text && (d = s.textContent, It([se, Ee, C], (q) => {
4380
- d = ht(d, q, " ");
4381
- }), s.textContent !== d && (ft(t.removed, {
4374
+ return s instanceof c && !Fi(s) || (T === "noscript" || T === "noembed" || T === "noframes") && pe(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Me(s), !0) : (he && s.nodeType === gt.text && (p = s.textContent, Pt([se, Ee, M], (Z) => {
4375
+ p = mt(p, Z, " ");
4376
+ }), s.textContent !== p && (ht(t.removed, {
4382
4377
  element: s.cloneNode()
4383
- }), s.textContent = d)), Ne("afterSanitizeElements", s, null), !1);
4384
- }, Kn = function(s, d, T) {
4385
- if (Bn && (d === "id" || d === "name") && (T in n || T in Ui))
4378
+ }), s.textContent = p)), Ie("afterSanitizeElements", s, null), !1);
4379
+ }, Kn = function(s, p, T) {
4380
+ if (Bn && (p === "id" || p === "name") && (T in n || T in Ui))
4386
4381
  return !1;
4387
- if (!(Z && !G[d] && de(_, d))) {
4388
- if (!(Y && de(h, d))) {
4389
- if (!P[d] || G[d]) {
4382
+ if (!(Y && !G[p] && pe(_, p))) {
4383
+ if (!(X && pe(h, p))) {
4384
+ if (!P[p] || G[p]) {
4390
4385
  if (
4391
4386
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4392
4387
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4393
4388
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4394
- !(er(s) && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, s) || D.tagNameCheck instanceof Function && D.tagNameCheck(s)) && (D.attributeNameCheck instanceof RegExp && de(D.attributeNameCheck, d) || D.attributeNameCheck instanceof Function && D.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4389
+ !(er(s) && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, s) || D.tagNameCheck instanceof Function && D.tagNameCheck(s)) && (D.attributeNameCheck instanceof RegExp && pe(D.attributeNameCheck, p) || D.attributeNameCheck instanceof Function && D.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4395
4390
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4396
- d === "is" && D.allowCustomizedBuiltInElements && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4391
+ p === "is" && D.allowCustomizedBuiltInElements && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4397
4392
  )
4398
4393
  return !1;
4399
- } else if (!tn[d]) {
4400
- if (!de(M, ht(T, b, ""))) {
4401
- if (!((d === "src" || d === "xlink:href" || d === "href") && s !== "script" && da(T, "data:") === 0 && kn[s])) {
4402
- if (!(re && !de(E, ht(T, b, "")))) {
4394
+ } else if (!rn[p]) {
4395
+ if (!pe(O, mt(T, b, ""))) {
4396
+ if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && da(T, "data:") === 0 && kn[s])) {
4397
+ if (!(ne && !pe(E, mt(T, b, "")))) {
4403
4398
  if (T)
4404
4399
  return !1;
4405
4400
  }
@@ -4410,13 +4405,13 @@ function Ni() {
4410
4405
  }
4411
4406
  return !0;
4412
4407
  }, er = function(s) {
4413
- return s !== "annotation-xml" && Or(s, L);
4408
+ return s !== "annotation-xml" && Cr(s, L);
4414
4409
  }, tr = function(s) {
4415
- Ne("beforeSanitizeAttributes", s, null);
4410
+ Ie("beforeSanitizeAttributes", s, null);
4416
4411
  const {
4417
- attributes: d
4412
+ attributes: p
4418
4413
  } = s;
4419
- if (!d)
4414
+ if (!p)
4420
4415
  return;
4421
4416
  const T = {
4422
4417
  attrName: "",
@@ -4424,31 +4419,31 @@ function Ni() {
4424
4419
  keepAttr: !0,
4425
4420
  allowedAttributes: P
4426
4421
  };
4427
- let q = d.length;
4428
- for (; q--; ) {
4429
- const ce = d[q], {
4422
+ let Z = p.length;
4423
+ for (; Z--; ) {
4424
+ const ce = p[Z], {
4430
4425
  name: ue,
4431
4426
  namespaceURI: be,
4432
- value: Oe
4433
- } = ce, lt = ae(ue);
4434
- let me = ue === "value" ? Oe : pa(Oe);
4435
- if (T.attrName = lt, T.attrValue = me, T.keepAttr = !0, T.forceKeepAttr = void 0, Ne("uponSanitizeAttribute", s, T), me = T.attrValue, le && de(/((--!?|])>)|<\/(style|title)/i, me)) {
4436
- Ot(ue, s);
4427
+ value: Ce
4428
+ } = ce, ut = ae(ue);
4429
+ let me = ue === "value" ? Ce : ga(Ce);
4430
+ if (T.attrName = ut, T.attrValue = me, T.keepAttr = !0, T.forceKeepAttr = void 0, Ie("uponSanitizeAttribute", s, T), me = T.attrValue, le && pe(/((--!?|])>)|<\/(style|title)/i, me)) {
4431
+ Lt(ue, s);
4437
4432
  continue;
4438
4433
  }
4439
- if (T.forceKeepAttr || (Ot(ue, s), !T.keepAttr))
4434
+ if (T.forceKeepAttr || (Lt(ue, s), !T.keepAttr))
4440
4435
  continue;
4441
- if (!te && de(/\/>/i, me)) {
4442
- Ot(ue, s);
4436
+ if (!ee && pe(/\/>/i, me)) {
4437
+ Lt(ue, s);
4443
4438
  continue;
4444
4439
  }
4445
- he && It([se, Ee, C], (rr) => {
4446
- me = ht(me, rr, " ");
4440
+ he && Pt([se, Ee, M], (rr) => {
4441
+ me = mt(me, rr, " ");
4447
4442
  });
4448
4443
  const nr = ae(s.nodeName);
4449
- if (Kn(nr, lt, me)) {
4450
- if ($n && (lt === "id" || lt === "name") && (Ot(ue, s), me = Ri + me), H && typeof A == "object" && typeof A.getAttributeType == "function" && !be)
4451
- switch (A.getAttributeType(nr, lt)) {
4444
+ if (Kn(nr, ut, me)) {
4445
+ if ($n && (ut === "id" || ut === "name") && (Lt(ue, s), me = Ri + me), H && typeof A == "object" && typeof A.getAttributeType == "function" && !be)
4446
+ switch (A.getAttributeType(nr, ut)) {
4452
4447
  case "TrustedHTML": {
4453
4448
  me = H.createHTML(me);
4454
4449
  break;
@@ -4459,81 +4454,81 @@ function Ni() {
4459
4454
  }
4460
4455
  }
4461
4456
  try {
4462
- be ? s.setAttributeNS(be, ue, me) : s.setAttribute(ue, me), qn(s) ? Ce(s) : Cr(t.removed);
4457
+ be ? s.setAttributeNS(be, ue, me) : s.setAttribute(ue, me), qn(s) ? Me(s) : Mr(t.removed);
4463
4458
  } catch {
4464
4459
  }
4465
4460
  }
4466
4461
  }
4467
- Ne("afterSanitizeAttributes", s, null);
4462
+ Ie("afterSanitizeAttributes", s, null);
4468
4463
  }, Gi = function S(s) {
4469
- let d = null;
4464
+ let p = null;
4470
4465
  const T = Zn(s);
4471
- for (Ne("beforeSanitizeShadowDOM", s, null); d = T.nextNode(); )
4472
- Ne("uponSanitizeShadowNode", d, null), !Qn(d) && (d.content instanceof o && S(d.content), tr(d));
4473
- Ne("afterSanitizeShadowDOM", s, null);
4466
+ for (Ie("beforeSanitizeShadowDOM", s, null); p = T.nextNode(); )
4467
+ Ie("uponSanitizeShadowNode", p, null), !Qn(p) && (p.content instanceof o && S(p.content), tr(p));
4468
+ Ie("afterSanitizeShadowDOM", s, null);
4474
4469
  };
4475
4470
  return t.sanitize = function(S) {
4476
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, T = null, q = null, ce = null;
4477
- if (nn = !S, nn && (S = "<!-->"), typeof S != "string" && !Jn(S))
4471
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, T = null, Z = null, ce = null;
4472
+ if (on = !S, on && (S = "<!-->"), typeof S != "string" && !Jn(S))
4478
4473
  if (typeof S.toString == "function") {
4479
4474
  if (S = S.toString(), typeof S != "string")
4480
- throw mt("dirty is not a string, aborting");
4475
+ throw pt("dirty is not a string, aborting");
4481
4476
  } else
4482
- throw mt("toString is not a function");
4477
+ throw pt("toString is not a function");
4483
4478
  if (!t.isSupported)
4484
4479
  return S;
4485
- if (Q || on(s), t.removed = [], typeof S == "string" && (st = !1), st) {
4480
+ if (J || an(s), t.removed = [], typeof S == "string" && (at = !1), at) {
4486
4481
  if (S.nodeName) {
4487
- const Oe = ae(S.nodeName);
4488
- if (!v[Oe] || p[Oe])
4489
- throw mt("root node is forbidden and cannot be sanitized in-place");
4482
+ const Ce = ae(S.nodeName);
4483
+ if (!v[Ce] || d[Ce])
4484
+ throw pt("root node is forbidden and cannot be sanitized in-place");
4490
4485
  }
4491
4486
  } else if (S instanceof a)
4492
- d = Yn("<!---->"), T = d.ownerDocument.importNode(S, !0), T.nodeType === pt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? d = T : d.appendChild(T);
4487
+ p = Yn("<!---->"), T = p.ownerDocument.importNode(S, !0), T.nodeType === gt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? p = T : p.appendChild(T);
4493
4488
  else {
4494
- if (!Me && !he && !Ae && // eslint-disable-next-line unicorn/prefer-includes
4489
+ if (!Oe && !he && !Ae && // eslint-disable-next-line unicorn/prefer-includes
4495
4490
  S.indexOf("<") === -1)
4496
- return H && At ? H.createHTML(S) : S;
4497
- if (d = Yn(S), !d)
4498
- return Me ? null : At ? I : "";
4491
+ return H && Ot ? H.createHTML(S) : S;
4492
+ if (p = Yn(S), !p)
4493
+ return Oe ? null : Ot ? I : "";
4499
4494
  }
4500
- d && ie && Ce(d.firstChild);
4501
- const ue = Zn(st ? S : d);
4502
- for (; q = ue.nextNode(); )
4503
- Qn(q) || (q.content instanceof o && Gi(q.content), tr(q));
4504
- if (st)
4495
+ p && re && Me(p.firstChild);
4496
+ const ue = Zn(at ? S : p);
4497
+ for (; Z = ue.nextNode(); )
4498
+ Qn(Z) || (Z.content instanceof o && Gi(Z.content), tr(Z));
4499
+ if (at)
4505
4500
  return S;
4506
- if (Me) {
4507
- if (wt)
4508
- for (ce = fe.call(d.ownerDocument); d.firstChild; )
4509
- ce.appendChild(d.firstChild);
4501
+ if (Oe) {
4502
+ if (At)
4503
+ for (ce = fe.call(p.ownerDocument); p.firstChild; )
4504
+ ce.appendChild(p.firstChild);
4510
4505
  else
4511
- ce = d;
4512
- return (P.shadowroot || P.shadowrootmode) && (ce = z.call(r, ce, !0)), ce;
4506
+ ce = p;
4507
+ return (P.shadowroot || P.shadowrootmode) && (ce = j.call(r, ce, !0)), ce;
4513
4508
  }
4514
- let be = Ae ? d.outerHTML : d.innerHTML;
4515
- return Ae && v["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && de(Hi, d.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
4516
- ` + be), he && It([se, Ee, C], (Oe) => {
4517
- be = ht(be, Oe, " ");
4518
- }), H && At ? H.createHTML(be) : be;
4509
+ let be = Ae ? p.outerHTML : p.innerHTML;
4510
+ return Ae && v["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && pe(Hi, p.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4511
+ ` + be), he && Pt([se, Ee, M], (Ce) => {
4512
+ be = mt(be, Ce, " ");
4513
+ }), H && Ot ? H.createHTML(be) : be;
4519
4514
  }, t.setConfig = function() {
4520
4515
  let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4521
- on(S), Q = !0;
4516
+ an(S), J = !0;
4522
4517
  }, t.clearConfig = function() {
4523
- Ve = null, Q = !1;
4524
- }, t.isValidAttribute = function(S, s, d) {
4525
- Ve || on({});
4526
- const T = ae(S), q = ae(s);
4527
- return Kn(T, q, d);
4518
+ Xe = null, J = !1;
4519
+ }, t.isValidAttribute = function(S, s, p) {
4520
+ Xe || an({});
4521
+ const T = ae(S), Z = ae(s);
4522
+ return Kn(T, Z, p);
4528
4523
  }, t.addHook = function(S, s) {
4529
- typeof s == "function" && (O[S] = O[S] || [], ft(O[S], s));
4524
+ typeof s == "function" && (C[S] = C[S] || [], ht(C[S], s));
4530
4525
  }, t.removeHook = function(S) {
4531
- if (O[S])
4532
- return Cr(O[S]);
4526
+ if (C[S])
4527
+ return Mr(C[S]);
4533
4528
  }, t.removeHooks = function(S) {
4534
- O[S] && (O[S] = []);
4529
+ C[S] && (C[S] = []);
4535
4530
  }, t.removeAllHooks = function() {
4536
- O = {};
4531
+ C = {};
4537
4532
  }, t;
4538
4533
  }
4539
4534
  var Rr = Ni(), Ii = { exports: {} };
@@ -4541,73 +4536,73 @@ var Rr = Ni(), Ii = { exports: {} };
4541
4536
  (function(n, r) {
4542
4537
  e.exports = r();
4543
4538
  })(ni, function() {
4544
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", m = "month", y = "quarter", A = "year", x = "date", g = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|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, X = { 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(C) {
4545
- var _ = ["th", "st", "nd", "rd"], h = C % 100;
4546
- return "[" + C + (_[(h - 20) % 10] || _[h] || _[0]) + "]";
4547
- } }, R = function(C, _, h) {
4548
- var E = String(C);
4549
- return !E || E.length >= _ ? C : "" + Array(_ + 1 - E.length).join(h) + C;
4550
- }, H = { s: R, z: function(C) {
4551
- var _ = -C.utcOffset(), h = Math.abs(_), E = Math.floor(h / 60), b = h % 60;
4539
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", m = "month", y = "quarter", A = "year", x = "date", g = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|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, V = { 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(M) {
4540
+ var _ = ["th", "st", "nd", "rd"], h = M % 100;
4541
+ return "[" + M + (_[(h - 20) % 10] || _[h] || _[0]) + "]";
4542
+ } }, R = function(M, _, h) {
4543
+ var E = String(M);
4544
+ return !E || E.length >= _ ? M : "" + Array(_ + 1 - E.length).join(h) + M;
4545
+ }, H = { s: R, z: function(M) {
4546
+ var _ = -M.utcOffset(), h = Math.abs(_), E = Math.floor(h / 60), b = h % 60;
4552
4547
  return (_ <= 0 ? "+" : "-") + R(E, 2, "0") + ":" + R(b, 2, "0");
4553
- }, m: function C(_, h) {
4548
+ }, m: function M(_, h) {
4554
4549
  if (_.date() < h.date())
4555
- return -C(h, _);
4556
- var E = 12 * (h.year() - _.year()) + (h.month() - _.month()), b = _.clone().add(E, m), L = h - b < 0, M = _.clone().add(E + (L ? -1 : 1), m);
4557
- return +(-(E + (h - b) / (L ? b - M : M - b)) || 0);
4558
- }, a: function(C) {
4559
- return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
4560
- }, p: function(C) {
4561
- return { M: m, y: A, w: f, d: u, D: x, h: c, m: a, s: l, ms: o, Q: y }[C] || String(C || "").toLowerCase().replace(/s$/, "");
4562
- }, u: function(C) {
4563
- return C === void 0;
4564
- } }, I = "en", V = {};
4565
- V[I] = X;
4566
- var oe = "$isDayjsObject", fe = function(C) {
4567
- return C instanceof se || !(!C || !C[oe]);
4568
- }, ee = function C(_, h, E) {
4550
+ return -M(h, _);
4551
+ var E = 12 * (h.year() - _.year()) + (h.month() - _.month()), b = _.clone().add(E, m), L = h - b < 0, O = _.clone().add(E + (L ? -1 : 1), m);
4552
+ return +(-(E + (h - b) / (L ? b - O : O - b)) || 0);
4553
+ }, a: function(M) {
4554
+ return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
4555
+ }, p: function(M) {
4556
+ return { M: m, y: A, w: f, d: u, D: x, h: c, m: a, s: l, ms: o, Q: y }[M] || String(M || "").toLowerCase().replace(/s$/, "");
4557
+ }, u: function(M) {
4558
+ return M === void 0;
4559
+ } }, I = "en", W = {};
4560
+ W[I] = V;
4561
+ var oe = "$isDayjsObject", fe = function(M) {
4562
+ return M instanceof se || !(!M || !M[oe]);
4563
+ }, K = function M(_, h, E) {
4569
4564
  var b;
4570
4565
  if (!_)
4571
4566
  return I;
4572
4567
  if (typeof _ == "string") {
4573
4568
  var L = _.toLowerCase();
4574
- V[L] && (b = L), h && (V[L] = h, b = L);
4575
- var M = _.split("-");
4576
- if (!b && M.length > 1)
4577
- return C(M[0]);
4569
+ W[L] && (b = L), h && (W[L] = h, b = L);
4570
+ var O = _.split("-");
4571
+ if (!b && O.length > 1)
4572
+ return M(O[0]);
4578
4573
  } else {
4579
4574
  var v = _.name;
4580
- V[v] = _, b = v;
4575
+ W[v] = _, b = v;
4581
4576
  }
4582
4577
  return !E && b && (I = b), b || !E && I;
4583
- }, z = function(C, _) {
4584
- if (fe(C))
4585
- return C.clone();
4578
+ }, j = function(M, _) {
4579
+ if (fe(M))
4580
+ return M.clone();
4586
4581
  var h = typeof _ == "object" ? _ : {};
4587
- return h.date = C, h.args = arguments, new se(h);
4588
- }, O = H;
4589
- O.l = ee, O.i = fe, O.w = function(C, _) {
4590
- return z(C, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4582
+ return h.date = M, h.args = arguments, new se(h);
4583
+ }, C = H;
4584
+ C.l = K, C.i = fe, C.w = function(M, _) {
4585
+ return j(M, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4591
4586
  };
4592
4587
  var se = function() {
4593
- function C(h) {
4594
- this.$L = ee(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[oe] = !0;
4588
+ function M(h) {
4589
+ this.$L = K(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[oe] = !0;
4595
4590
  }
4596
- var _ = C.prototype;
4591
+ var _ = M.prototype;
4597
4592
  return _.parse = function(h) {
4598
4593
  this.$d = function(E) {
4599
4594
  var b = E.date, L = E.utc;
4600
4595
  if (b === null)
4601
4596
  return /* @__PURE__ */ new Date(NaN);
4602
- if (O.u(b))
4597
+ if (C.u(b))
4603
4598
  return /* @__PURE__ */ new Date();
4604
4599
  if (b instanceof Date)
4605
4600
  return new Date(b);
4606
4601
  if (typeof b == "string" && !/Z$/i.test(b)) {
4607
- var M = b.match(N);
4608
- if (M) {
4609
- var v = M[2] - 1 || 0, W = (M[7] || "0").substring(0, 3);
4610
- return L ? new Date(Date.UTC(M[1], v, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, W)) : new Date(M[1], v, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, W);
4602
+ var O = b.match(N);
4603
+ if (O) {
4604
+ var v = O[2] - 1 || 0, z = (O[7] || "0").substring(0, 3);
4605
+ return L ? new Date(Date.UTC(O[1], v, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, z)) : new Date(O[1], v, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, z);
4611
4606
  }
4612
4607
  }
4613
4608
  return new Date(b);
@@ -4616,105 +4611,105 @@ var Rr = Ni(), Ii = { exports: {} };
4616
4611
  var h = this.$d;
4617
4612
  this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4618
4613
  }, _.$utils = function() {
4619
- return O;
4614
+ return C;
4620
4615
  }, _.isValid = function() {
4621
4616
  return this.$d.toString() !== g;
4622
4617
  }, _.isSame = function(h, E) {
4623
- var b = z(h);
4618
+ var b = j(h);
4624
4619
  return this.startOf(E) <= b && b <= this.endOf(E);
4625
4620
  }, _.isAfter = function(h, E) {
4626
- return z(h) < this.startOf(E);
4621
+ return j(h) < this.startOf(E);
4627
4622
  }, _.isBefore = function(h, E) {
4628
- return this.endOf(E) < z(h);
4623
+ return this.endOf(E) < j(h);
4629
4624
  }, _.$g = function(h, E, b) {
4630
- return O.u(h) ? this[E] : this.set(b, h);
4625
+ return C.u(h) ? this[E] : this.set(b, h);
4631
4626
  }, _.unix = function() {
4632
4627
  return Math.floor(this.valueOf() / 1e3);
4633
4628
  }, _.valueOf = function() {
4634
4629
  return this.$d.getTime();
4635
4630
  }, _.startOf = function(h, E) {
4636
- var b = this, L = !!O.u(E) || E, M = O.p(h), v = function(Z, re) {
4637
- var te = O.w(b.$u ? Date.UTC(b.$y, re, Z) : new Date(b.$y, re, Z), b);
4638
- return L ? te : te.endOf(u);
4639
- }, W = function(Z, re) {
4640
- return O.w(b.toDate()[Z].apply(b.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), b);
4641
- }, P = this.$W, J = this.$M, D = this.$D, p = "set" + (this.$u ? "UTC" : "");
4642
- switch (M) {
4631
+ var b = this, L = !!C.u(E) || E, O = C.p(h), v = function(Y, ne) {
4632
+ var ee = C.w(b.$u ? Date.UTC(b.$y, ne, Y) : new Date(b.$y, ne, Y), b);
4633
+ return L ? ee : ee.endOf(u);
4634
+ }, z = function(Y, ne) {
4635
+ return C.w(b.toDate()[Y].apply(b.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), b);
4636
+ }, P = this.$W, q = this.$M, D = this.$D, d = "set" + (this.$u ? "UTC" : "");
4637
+ switch (O) {
4643
4638
  case A:
4644
4639
  return L ? v(1, 0) : v(31, 11);
4645
4640
  case m:
4646
- return L ? v(1, J) : v(0, J + 1);
4641
+ return L ? v(1, q) : v(0, q + 1);
4647
4642
  case f:
4648
- var G = this.$locale().weekStart || 0, Y = (P < G ? P + 7 : P) - G;
4649
- return v(L ? D - Y : D + (6 - Y), J);
4643
+ var G = this.$locale().weekStart || 0, X = (P < G ? P + 7 : P) - G;
4644
+ return v(L ? D - X : D + (6 - X), q);
4650
4645
  case u:
4651
4646
  case x:
4652
- return W(p + "Hours", 0);
4647
+ return z(d + "Hours", 0);
4653
4648
  case c:
4654
- return W(p + "Minutes", 1);
4649
+ return z(d + "Minutes", 1);
4655
4650
  case a:
4656
- return W(p + "Seconds", 2);
4651
+ return z(d + "Seconds", 2);
4657
4652
  case l:
4658
- return W(p + "Milliseconds", 3);
4653
+ return z(d + "Milliseconds", 3);
4659
4654
  default:
4660
4655
  return this.clone();
4661
4656
  }
4662
4657
  }, _.endOf = function(h) {
4663
4658
  return this.startOf(h, !1);
4664
4659
  }, _.$set = function(h, E) {
4665
- var b, L = O.p(h), M = "set" + (this.$u ? "UTC" : ""), v = (b = {}, b[u] = M + "Date", b[x] = M + "Date", b[m] = M + "Month", b[A] = M + "FullYear", b[c] = M + "Hours", b[a] = M + "Minutes", b[l] = M + "Seconds", b[o] = M + "Milliseconds", b)[L], W = L === u ? this.$D + (E - this.$W) : E;
4660
+ var b, L = C.p(h), O = "set" + (this.$u ? "UTC" : ""), v = (b = {}, b[u] = O + "Date", b[x] = O + "Date", b[m] = O + "Month", b[A] = O + "FullYear", b[c] = O + "Hours", b[a] = O + "Minutes", b[l] = O + "Seconds", b[o] = O + "Milliseconds", b)[L], z = L === u ? this.$D + (E - this.$W) : E;
4666
4661
  if (L === m || L === A) {
4667
4662
  var P = this.clone().set(x, 1);
4668
- P.$d[v](W), P.init(), this.$d = P.set(x, Math.min(this.$D, P.daysInMonth())).$d;
4663
+ P.$d[v](z), P.init(), this.$d = P.set(x, Math.min(this.$D, P.daysInMonth())).$d;
4669
4664
  } else
4670
- v && this.$d[v](W);
4665
+ v && this.$d[v](z);
4671
4666
  return this.init(), this;
4672
4667
  }, _.set = function(h, E) {
4673
4668
  return this.clone().$set(h, E);
4674
4669
  }, _.get = function(h) {
4675
- return this[O.p(h)]();
4670
+ return this[C.p(h)]();
4676
4671
  }, _.add = function(h, E) {
4677
4672
  var b, L = this;
4678
4673
  h = Number(h);
4679
- var M = O.p(E), v = function(J) {
4680
- var D = z(L);
4681
- return O.w(D.date(D.date() + Math.round(J * h)), L);
4674
+ var O = C.p(E), v = function(q) {
4675
+ var D = j(L);
4676
+ return C.w(D.date(D.date() + Math.round(q * h)), L);
4682
4677
  };
4683
- if (M === m)
4678
+ if (O === m)
4684
4679
  return this.set(m, this.$M + h);
4685
- if (M === A)
4680
+ if (O === A)
4686
4681
  return this.set(A, this.$y + h);
4687
- if (M === u)
4682
+ if (O === u)
4688
4683
  return v(1);
4689
- if (M === f)
4684
+ if (O === f)
4690
4685
  return v(7);
4691
- var W = (b = {}, b[a] = r, b[c] = i, b[l] = n, b)[M] || 1, P = this.$d.getTime() + h * W;
4692
- return O.w(P, this);
4686
+ var z = (b = {}, b[a] = r, b[c] = i, b[l] = n, b)[O] || 1, P = this.$d.getTime() + h * z;
4687
+ return C.w(P, this);
4693
4688
  }, _.subtract = function(h, E) {
4694
4689
  return this.add(-1 * h, E);
4695
4690
  }, _.format = function(h) {
4696
4691
  var E = this, b = this.$locale();
4697
4692
  if (!this.isValid())
4698
4693
  return b.invalidDate || g;
4699
- var L = h || "YYYY-MM-DDTHH:mm:ssZ", M = O.z(this), v = this.$H, W = this.$m, P = this.$M, J = b.weekdays, D = b.months, p = b.meridiem, G = function(re, te, he, le) {
4700
- return re && (re[te] || re(E, L)) || he[te].slice(0, le);
4701
- }, Y = function(re) {
4702
- return O.s(v % 12 || 12, re, "0");
4703
- }, Z = p || function(re, te, he) {
4704
- var le = re < 12 ? "AM" : "PM";
4694
+ var L = h || "YYYY-MM-DDTHH:mm:ssZ", O = C.z(this), v = this.$H, z = this.$m, P = this.$M, q = b.weekdays, D = b.months, d = b.meridiem, G = function(ne, ee, he, le) {
4695
+ return ne && (ne[ee] || ne(E, L)) || he[ee].slice(0, le);
4696
+ }, X = function(ne) {
4697
+ return C.s(v % 12 || 12, ne, "0");
4698
+ }, Y = d || function(ne, ee, he) {
4699
+ var le = ne < 12 ? "AM" : "PM";
4705
4700
  return he ? le.toLowerCase() : le;
4706
4701
  };
4707
- return L.replace(U, function(re, te) {
4708
- return te || function(he) {
4702
+ return L.replace(U, function(ne, ee) {
4703
+ return ee || function(he) {
4709
4704
  switch (he) {
4710
4705
  case "YY":
4711
4706
  return String(E.$y).slice(-2);
4712
4707
  case "YYYY":
4713
- return O.s(E.$y, 4, "0");
4708
+ return C.s(E.$y, 4, "0");
4714
4709
  case "M":
4715
4710
  return P + 1;
4716
4711
  case "MM":
4717
- return O.s(P + 1, 2, "0");
4712
+ return C.s(P + 1, 2, "0");
4718
4713
  case "MMM":
4719
4714
  return G(b.monthsShort, P, D, 3);
4720
4715
  case "MMMM":
@@ -4722,48 +4717,48 @@ var Rr = Ni(), Ii = { exports: {} };
4722
4717
  case "D":
4723
4718
  return E.$D;
4724
4719
  case "DD":
4725
- return O.s(E.$D, 2, "0");
4720
+ return C.s(E.$D, 2, "0");
4726
4721
  case "d":
4727
4722
  return String(E.$W);
4728
4723
  case "dd":
4729
- return G(b.weekdaysMin, E.$W, J, 2);
4724
+ return G(b.weekdaysMin, E.$W, q, 2);
4730
4725
  case "ddd":
4731
- return G(b.weekdaysShort, E.$W, J, 3);
4726
+ return G(b.weekdaysShort, E.$W, q, 3);
4732
4727
  case "dddd":
4733
- return J[E.$W];
4728
+ return q[E.$W];
4734
4729
  case "H":
4735
4730
  return String(v);
4736
4731
  case "HH":
4737
- return O.s(v, 2, "0");
4732
+ return C.s(v, 2, "0");
4738
4733
  case "h":
4739
- return Y(1);
4734
+ return X(1);
4740
4735
  case "hh":
4741
- return Y(2);
4736
+ return X(2);
4742
4737
  case "a":
4743
- return Z(v, W, !0);
4738
+ return Y(v, z, !0);
4744
4739
  case "A":
4745
- return Z(v, W, !1);
4740
+ return Y(v, z, !1);
4746
4741
  case "m":
4747
- return String(W);
4742
+ return String(z);
4748
4743
  case "mm":
4749
- return O.s(W, 2, "0");
4744
+ return C.s(z, 2, "0");
4750
4745
  case "s":
4751
4746
  return String(E.$s);
4752
4747
  case "ss":
4753
- return O.s(E.$s, 2, "0");
4748
+ return C.s(E.$s, 2, "0");
4754
4749
  case "SSS":
4755
- return O.s(E.$ms, 3, "0");
4750
+ return C.s(E.$ms, 3, "0");
4756
4751
  case "Z":
4757
- return M;
4752
+ return O;
4758
4753
  }
4759
4754
  return null;
4760
- }(re) || M.replace(":", "");
4755
+ }(ne) || O.replace(":", "");
4761
4756
  });
4762
4757
  }, _.utcOffset = function() {
4763
4758
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4764
4759
  }, _.diff = function(h, E, b) {
4765
- var L, M = this, v = O.p(E), W = z(h), P = (W.utcOffset() - this.utcOffset()) * r, J = this - W, D = function() {
4766
- return O.m(M, W);
4760
+ var L, O = this, v = C.p(E), z = j(h), P = (z.utcOffset() - this.utcOffset()) * r, q = this - z, D = function() {
4761
+ return C.m(O, z);
4767
4762
  };
4768
4763
  switch (v) {
4769
4764
  case A:
@@ -4776,35 +4771,35 @@ var Rr = Ni(), Ii = { exports: {} };
4776
4771
  L = D() / 3;
4777
4772
  break;
4778
4773
  case f:
4779
- L = (J - P) / 6048e5;
4774
+ L = (q - P) / 6048e5;
4780
4775
  break;
4781
4776
  case u:
4782
- L = (J - P) / 864e5;
4777
+ L = (q - P) / 864e5;
4783
4778
  break;
4784
4779
  case c:
4785
- L = J / i;
4780
+ L = q / i;
4786
4781
  break;
4787
4782
  case a:
4788
- L = J / r;
4783
+ L = q / r;
4789
4784
  break;
4790
4785
  case l:
4791
- L = J / n;
4786
+ L = q / n;
4792
4787
  break;
4793
4788
  default:
4794
- L = J;
4789
+ L = q;
4795
4790
  }
4796
- return b ? L : O.a(L);
4791
+ return b ? L : C.a(L);
4797
4792
  }, _.daysInMonth = function() {
4798
4793
  return this.endOf(m).$D;
4799
4794
  }, _.$locale = function() {
4800
- return V[this.$L];
4795
+ return W[this.$L];
4801
4796
  }, _.locale = function(h, E) {
4802
4797
  if (!h)
4803
4798
  return this.$L;
4804
- var b = this.clone(), L = ee(h, E, !0);
4799
+ var b = this.clone(), L = K(h, E, !0);
4805
4800
  return L && (b.$L = L), b;
4806
4801
  }, _.clone = function() {
4807
- return O.w(this.$d, this);
4802
+ return C.w(this.$d, this);
4808
4803
  }, _.toDate = function() {
4809
4804
  return new Date(this.valueOf());
4810
4805
  }, _.toJSON = function() {
@@ -4813,21 +4808,21 @@ var Rr = Ni(), Ii = { exports: {} };
4813
4808
  return this.$d.toISOString();
4814
4809
  }, _.toString = function() {
4815
4810
  return this.$d.toUTCString();
4816
- }, C;
4811
+ }, M;
4817
4812
  }(), Ee = se.prototype;
4818
- return z.prototype = Ee, [["$ms", o], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", m], ["$y", A], ["$D", x]].forEach(function(C) {
4819
- Ee[C[1]] = function(_) {
4820
- return this.$g(_, C[0], C[1]);
4813
+ return j.prototype = Ee, [["$ms", o], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", m], ["$y", A], ["$D", x]].forEach(function(M) {
4814
+ Ee[M[1]] = function(_) {
4815
+ return this.$g(_, M[0], M[1]);
4821
4816
  };
4822
- }), z.extend = function(C, _) {
4823
- return C.$i || (C(_, se, z), C.$i = !0), z;
4824
- }, z.locale = ee, z.isDayjs = fe, z.unix = function(C) {
4825
- return z(1e3 * C);
4826
- }, z.en = V[I], z.Ls = V, z.p = {}, z;
4817
+ }), j.extend = function(M, _) {
4818
+ return M.$i || (M(_, se, j), M.$i = !0), j;
4819
+ }, j.locale = K, j.isDayjs = fe, j.unix = function(M) {
4820
+ return j(1e3 * M);
4821
+ }, j.en = W[I], j.Ls = W, j.p = {}, j;
4827
4822
  });
4828
4823
  })(Ii);
4829
- var La = Ii.exports;
4830
- const Dr = /* @__PURE__ */ Nn(La);
4824
+ var Ha = Ii.exports;
4825
+ const Dr = /* @__PURE__ */ Pn(Ha);
4831
4826
  var Pi = { exports: {} };
4832
4827
  (function(e, t) {
4833
4828
  (function(n, r) {
@@ -4864,19 +4859,19 @@ var Pi = { exports: {} };
4864
4859
  return this.$u ? 0 : U(this.$offset) ? m.call(this) : this.$offset;
4865
4860
  if (typeof g == "string" && (g = function(I) {
4866
4861
  I === void 0 && (I = "");
4867
- var V = I.match(r);
4868
- if (!V)
4862
+ var W = I.match(r);
4863
+ if (!W)
4869
4864
  return null;
4870
- var oe = ("" + V[0]).match(i) || ["-", 0, 0], fe = oe[0], ee = 60 * +oe[1] + +oe[2];
4871
- return ee === 0 ? 0 : fe === "+" ? ee : -ee;
4865
+ var oe = ("" + W[0]).match(i) || ["-", 0, 0], fe = oe[0], K = 60 * +oe[1] + +oe[2];
4866
+ return K === 0 ? 0 : fe === "+" ? K : -K;
4872
4867
  }(g), g === null))
4873
4868
  return this;
4874
- var X = Math.abs(g) <= 16 ? 60 * g : g, R = this;
4869
+ var V = Math.abs(g) <= 16 ? 60 * g : g, R = this;
4875
4870
  if (N)
4876
- return R.$offset = X, R.$u = g === 0, R;
4871
+ return R.$offset = V, R.$u = g === 0, R;
4877
4872
  if (g !== 0) {
4878
4873
  var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4879
- (R = this.local().add(X + H, n)).$offset = X, R.$x.$localOffset = H;
4874
+ (R = this.local().add(V + H, n)).$offset = V, R.$x.$localOffset = H;
4880
4875
  } else
4881
4876
  R = this.utc();
4882
4877
  return R;
@@ -4903,22 +4898,22 @@ var Pi = { exports: {} };
4903
4898
  c.diff = function(g, N, U) {
4904
4899
  if (g && this.$u === g.$u)
4905
4900
  return x.call(this, g, N, U);
4906
- var X = this.local(), R = a(g).local();
4907
- return x.call(X, R, N, U);
4901
+ var V = this.local(), R = a(g).local();
4902
+ return x.call(V, R, N, U);
4908
4903
  };
4909
4904
  };
4910
4905
  });
4911
4906
  })(Pi);
4912
- var Ha = Pi.exports;
4913
- const Na = /* @__PURE__ */ Nn(Ha);
4914
- let Br = vt(null);
4915
- function Ia(e, t) {
4907
+ var Na = Pi.exports;
4908
+ const Ia = /* @__PURE__ */ Pn(Na);
4909
+ let Br = Tt(null);
4910
+ function Pa(e, t) {
4916
4911
  if (e) {
4917
4912
  const n = document.createElement("style");
4918
4913
  n.innerHTML = t, e.appendChild(n);
4919
4914
  }
4920
4915
  }
4921
- function Pa(e, t) {
4916
+ function Ra(e, t) {
4922
4917
  if (!e || !t)
4923
4918
  return;
4924
4919
  const n = new URL(t);
@@ -4929,7 +4924,7 @@ function Pa(e, t) {
4929
4924
  console.error("There was an error while trying to load client styling from URL", r);
4930
4925
  });
4931
4926
  }
4932
- function Ra(e, t, n) {
4927
+ function Da(e, t, n) {
4933
4928
  if (window.emMessageBus) {
4934
4929
  const r = document.createElement("style");
4935
4930
  window.emMessageBus.subscribe(t, (i) => {
@@ -4937,177 +4932,177 @@ function Ra(e, t, n) {
4937
4932
  });
4938
4933
  }
4939
4934
  }
4940
- function Da(e) {
4935
+ function Ba(e) {
4941
4936
  Xi(e, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
4942
4937
  }
4943
- const Ba = (e) => ({}), $r = (e) => ({}), $a = (e) => ({}), Ur = (e) => ({}), Ua = (e) => ({}), kr = (e) => ({}), ka = (e) => ({}), Fr = (e) => ({ class: "CashierSessionExpirationIcon" });
4938
+ const $a = (e) => ({}), $r = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({}), ka = (e) => ({}), kr = (e) => ({}), Fa = (e) => ({}), Fr = (e) => ({ class: "CashierSessionExpirationIcon" });
4944
4939
  function Gr(e) {
4945
4940
  let t, n, r, i, o, l, a, c, u, f, m, y, A = (
4946
4941
  /*$_*/
4947
4942
  e[8]("sessionExpirationHeader") + ""
4948
- ), x, g, N, U, X, R, H, I, V, oe, fe, ee, z, O, se = (
4943
+ ), x, g, N, U, V, R, H, I, W, oe, fe, K, j, C, se = (
4949
4944
  /*$_*/
4950
4945
  e[8]("sessionExpirationEnd") + ""
4951
- ), Ee, C, _, h, E, b, L, M, v, W, P;
4952
- const J = (
4946
+ ), Ee, M, _, h, E, b, L, O, v, z, P;
4947
+ const q = (
4953
4948
  /*#slots*/
4954
4949
  e[23].icon
4955
- ), D = Rt(
4956
- J,
4950
+ ), D = Dt(
4951
+ q,
4957
4952
  e,
4958
4953
  /*$$scope*/
4959
4954
  e[22],
4960
4955
  Fr
4961
- ), p = D || Fa(e), G = (
4956
+ ), d = D || Ga(e), G = (
4962
4957
  /*#slots*/
4963
4958
  e[23].title
4964
- ), Y = Rt(
4959
+ ), X = Dt(
4965
4960
  G,
4966
4961
  e,
4967
4962
  /*$$scope*/
4968
4963
  e[22],
4969
4964
  kr
4970
- ), Z = (
4965
+ ), Y = (
4971
4966
  /*#slots*/
4972
4967
  e[23].text
4973
- ), re = Rt(
4974
- Z,
4968
+ ), ne = Dt(
4969
+ Y,
4975
4970
  e,
4976
4971
  /*$$scope*/
4977
4972
  e[22],
4978
4973
  Ur
4979
- ), te = re || Ga(e), he = [za, ja], le = [];
4980
- function Ae(Q, ie) {
4974
+ ), ee = ne || ja(e), he = [Wa, za], le = [];
4975
+ function Ae(J, re) {
4981
4976
  return (
4982
4977
  /*showLoaderButton*/
4983
- Q[6] ? 0 : 1
4978
+ J[6] ? 0 : 1
4984
4979
  );
4985
4980
  }
4986
4981
  return h = Ae(e), E = le[h] = he[h](e), {
4987
4982
  c() {
4988
- t = ne("div"), n = ne("div"), r = ne("div"), i = ne("div"), o = Te("svg"), l = Te("defs"), a = Te("mask"), c = Te("circle"), u = Te("rect"), f = Te("circle"), m = Te("circle"), y = Ie(), x = Fe(A), g = Ie(), N = ne("div"), U = Te("svg"), X = Te("path"), R = Ie(), H = ne("div"), I = ne("div"), p && p.c(), V = Ie(), Y && Y.c(), oe = Ie(), te && te.c(), fe = Ie(), ee = ne("div"), z = ne("button"), O = ne("span"), Ee = Fe(se), C = Ie(), _ = ne("button"), E.c(), w(c, "cx", "100"), w(c, "cy", "100"), w(c, "r", "90"), w(u, "x", "88"), w(u, "y", "40"), w(u, "width", "24"), w(u, "height", "80"), w(u, "rx", "12"), w(u, "fill", "black"), w(f, "cx", "100"), w(f, "cy", "150"), w(f, "r", "14"), w(f, "fill", "black"), w(a, "id", "exclamation-mask"), w(m, "cx", "100"), w(m, "cy", "100"), w(m, "r", "90"), w(m, "mask", "url(#exclamation-mask)"), w(o, "viewBox", "0 0 200 200"), w(o, "xmlns", "http://www.w3.org/2000/svg"), w(i, "class", "CashierSessionExpirationModalHeaderTitle"), w(X, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), w(U, "xmlns", "http://www.w3.org/2000/svg"), w(U, "viewBox", "0 0 13 13"), w(U, "fill", "none"), w(U, "class", "CloseButton"), w(N, "class", "ModalCloseIcon"), w(r, "class", "CashierSessionExpirationModalHeader"), w(O, "class", "CashierSessionExpirationButtonText"), w(z, "type", "button"), w(z, "class", "ModalButton Secondary"), w(_, "type", "button"), w(_, "class", b = "ModalButton Primary " + /*showLoaderButton*/
4989
- (e[6] ? "Disabled" : "")), w(ee, "class", "ButtonsContainer"), w(I, "class", "CashierSessionExpiration"), w(H, "class", "CashierSessionExpirationModalContainer"), w(n, "class", "CashierSessionExpirationModalWrapper"), w(t, "class", "CashierSessionExpirationModalWindow"), w(t, "id", "CashierSessionExpirationModal"), Ke(() => (
4983
+ t = te("div"), n = te("div"), r = te("div"), i = te("div"), o = Te("svg"), l = Te("defs"), a = Te("mask"), c = Te("circle"), u = Te("rect"), f = Te("circle"), m = Te("circle"), y = Pe(), x = Ge(A), g = Pe(), N = te("div"), U = Te("svg"), V = Te("path"), R = Pe(), H = te("div"), I = te("div"), d && d.c(), W = Pe(), X && X.c(), oe = Pe(), ee && ee.c(), fe = Pe(), K = te("div"), j = te("button"), C = te("span"), Ee = Ge(se), M = Pe(), _ = te("button"), E.c(), w(c, "cx", "100"), w(c, "cy", "100"), w(c, "r", "90"), w(u, "x", "88"), w(u, "y", "40"), w(u, "width", "24"), w(u, "height", "80"), w(u, "rx", "12"), w(u, "fill", "black"), w(f, "cx", "100"), w(f, "cy", "150"), w(f, "r", "14"), w(f, "fill", "black"), w(a, "id", "exclamation-mask"), w(m, "cx", "100"), w(m, "cy", "100"), w(m, "r", "90"), w(m, "mask", "url(#exclamation-mask)"), w(o, "viewBox", "0 0 200 200"), w(o, "xmlns", "http://www.w3.org/2000/svg"), w(i, "class", "CashierSessionExpirationModalHeaderTitle"), w(V, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), w(U, "xmlns", "http://www.w3.org/2000/svg"), w(U, "viewBox", "0 0 13 13"), w(U, "fill", "none"), w(U, "class", "CloseButton"), w(N, "class", "ModalCloseIcon"), w(r, "class", "CashierSessionExpirationModalHeader"), w(C, "class", "CashierSessionExpirationButtonText"), w(j, "type", "button"), w(j, "class", "ModalButton Secondary"), w(_, "type", "button"), w(_, "class", b = "ModalButton Primary " + /*showLoaderButton*/
4984
+ (e[6] ? "Disabled" : "")), w(K, "class", "ButtonsContainer"), w(I, "class", "CashierSessionExpiration"), w(H, "class", "CashierSessionExpirationModalContainer"), w(n, "class", "CashierSessionExpirationModalWrapper"), w(t, "class", "CashierSessionExpirationModalWindow"), w(t, "id", "CashierSessionExpirationModal"), et(() => (
4990
4985
  /*div7_elementresize_handler*/
4991
4986
  e[25].call(t)
4992
4987
  ));
4993
4988
  },
4994
- m(Q, ie) {
4995
- $e(Q, t, ie), B(t, n), B(n, r), B(r, i), B(i, o), B(o, l), B(l, a), B(a, c), B(a, u), B(a, f), B(o, m), B(i, y), B(i, x), B(r, g), B(r, N), B(N, U), B(U, X), B(n, R), B(n, H), B(H, I), p && p.m(I, null), B(I, V), Y && Y.m(I, null), B(I, oe), te && te.m(I, null), B(I, fe), B(I, ee), B(ee, z), B(z, O), B(O, Ee), B(ee, C), B(ee, _), le[h].m(_, null), e[24](I), L = Qi(
4989
+ m(J, re) {
4990
+ Ue(J, t, re), B(t, n), B(n, r), B(r, i), B(i, o), B(o, l), B(l, a), B(a, c), B(a, u), B(a, f), B(o, m), B(i, y), B(i, x), B(r, g), B(r, N), B(N, U), B(U, V), B(n, R), B(n, H), B(H, I), d && d.m(I, null), B(I, W), X && X.m(I, null), B(I, oe), ee && ee.m(I, null), B(I, fe), B(I, K), B(K, j), B(j, C), B(C, Ee), B(K, M), B(K, _), le[h].m(_, null), e[24](I), L = Qi(
4996
4991
  t,
4997
4992
  /*div7_elementresize_handler*/
4998
4993
  e[25].bind(t)
4999
- ), v = !0, W || (P = [
5000
- qe(
4994
+ ), v = !0, z || (P = [
4995
+ Je(
5001
4996
  U,
5002
4997
  "click",
5003
4998
  /*goToHome*/
5004
4999
  e[11]
5005
5000
  ),
5006
- qe(
5007
- z,
5001
+ Je(
5002
+ j,
5008
5003
  "click",
5009
5004
  /*goToHome*/
5010
5005
  e[11]
5011
5006
  ),
5012
- qe(
5007
+ Je(
5013
5008
  _,
5014
5009
  "click",
5015
5010
  /*renewSession*/
5016
5011
  e[9]
5017
5012
  ),
5018
- qe(
5013
+ Je(
5019
5014
  t,
5020
5015
  "click",
5021
5016
  /*outOfModalClick*/
5022
5017
  e[10]
5023
5018
  )
5024
- ], W = !0);
5019
+ ], z = !0);
5025
5020
  },
5026
- p(Q, ie) {
5027
- e = Q, (!v || ie[0] & /*$_*/
5021
+ p(J, re) {
5022
+ e = J, (!v || re[0] & /*$_*/
5028
5023
  256) && A !== (A = /*$_*/
5029
- e[8]("sessionExpirationHeader") + "") && bt(x, A), D ? D.p && (!v || ie[0] & /*$$scope*/
5030
- 4194304) && Bt(
5024
+ e[8]("sessionExpirationHeader") + "") && Et(x, A), D ? D.p && (!v || re[0] & /*$$scope*/
5025
+ 4194304) && $t(
5031
5026
  D,
5032
- J,
5027
+ q,
5033
5028
  e,
5034
5029
  /*$$scope*/
5035
5030
  e[22],
5036
- v ? Dt(
5037
- J,
5031
+ v ? Bt(
5032
+ q,
5038
5033
  /*$$scope*/
5039
5034
  e[22],
5040
- ie,
5041
- ka
5042
- ) : $t(
5035
+ re,
5036
+ Fa
5037
+ ) : Ut(
5043
5038
  /*$$scope*/
5044
5039
  e[22]
5045
5040
  ),
5046
5041
  Fr
5047
- ) : p && p.p && (!v || ie[0] & /*assetsurl*/
5048
- 8) && p.p(e, v ? ie : [-1, -1]), Y && Y.p && (!v || ie[0] & /*$$scope*/
5049
- 4194304) && Bt(
5050
- Y,
5042
+ ) : d && d.p && (!v || re[0] & /*assetsurl*/
5043
+ 8) && d.p(e, v ? re : [-1, -1]), X && X.p && (!v || re[0] & /*$$scope*/
5044
+ 4194304) && $t(
5045
+ X,
5051
5046
  G,
5052
5047
  e,
5053
5048
  /*$$scope*/
5054
5049
  e[22],
5055
- v ? Dt(
5050
+ v ? Bt(
5056
5051
  G,
5057
5052
  /*$$scope*/
5058
5053
  e[22],
5059
- ie,
5060
- Ua
5061
- ) : $t(
5054
+ re,
5055
+ ka
5056
+ ) : Ut(
5062
5057
  /*$$scope*/
5063
5058
  e[22]
5064
5059
  ),
5065
5060
  kr
5066
- ), re ? re.p && (!v || ie[0] & /*$$scope*/
5067
- 4194304) && Bt(
5068
- re,
5069
- Z,
5061
+ ), ne ? ne.p && (!v || re[0] & /*$$scope*/
5062
+ 4194304) && $t(
5063
+ ne,
5064
+ Y,
5070
5065
  e,
5071
5066
  /*$$scope*/
5072
5067
  e[22],
5073
- v ? Dt(
5074
- Z,
5068
+ v ? Bt(
5069
+ Y,
5075
5070
  /*$$scope*/
5076
5071
  e[22],
5077
- ie,
5078
- $a
5079
- ) : $t(
5072
+ re,
5073
+ Ua
5074
+ ) : Ut(
5080
5075
  /*$$scope*/
5081
5076
  e[22]
5082
5077
  ),
5083
5078
  Ur
5084
- ) : te && te.p && (!v || ie[0] & /*$_, timeLeft*/
5085
- 384) && te.p(e, v ? ie : [-1, -1]), (!v || ie[0] & /*$_*/
5079
+ ) : ee && ee.p && (!v || re[0] & /*$_, timeLeft*/
5080
+ 384) && ee.p(e, v ? re : [-1, -1]), (!v || re[0] & /*$_*/
5086
5081
  256) && se !== (se = /*$_*/
5087
- e[8]("sessionExpirationEnd") + "") && bt(Ee, se);
5088
- let Me = h;
5089
- h = Ae(e), h === Me ? le[h].p(e, ie) : (Kr(), Re(le[Me], 1, 1, () => {
5090
- le[Me] = null;
5091
- }), ei(), E = le[h], E ? E.p(e, ie) : (E = le[h] = he[h](e), E.c()), Le(E, 1), E.m(_, null)), (!v || ie[0] & /*showLoaderButton*/
5082
+ e[8]("sessionExpirationEnd") + "") && Et(Ee, se);
5083
+ let Oe = h;
5084
+ h = Ae(e), h === Oe ? le[h].p(e, re) : (Kr(), De(le[Oe], 1, 1, () => {
5085
+ le[Oe] = null;
5086
+ }), ei(), E = le[h], E ? E.p(e, re) : (E = le[h] = he[h](e), E.c()), Le(E, 1), E.m(_, null)), (!v || re[0] & /*showLoaderButton*/
5092
5087
  64 && b !== (b = "ModalButton Primary " + /*showLoaderButton*/
5093
5088
  (e[6] ? "Disabled" : ""))) && w(_, "class", b);
5094
5089
  },
5095
- i(Q) {
5096
- v || (Le(p, Q), Le(Y, Q), Le(te, Q), Le(E), Q && Ke(() => {
5097
- v && (M || (M = ur(t, cr, { duration: (
5090
+ i(J) {
5091
+ v || (Le(d, J), Le(X, J), Le(ee, J), Le(E), J && et(() => {
5092
+ v && (O || (O = ur(t, cr, { duration: (
5098
5093
  /*duration*/
5099
5094
  e[2]
5100
- ) }, !0)), M.run(1));
5095
+ ) }, !0)), O.run(1));
5101
5096
  }), v = !0);
5102
5097
  },
5103
- o(Q) {
5104
- Re(p, Q), Re(Y, Q), Re(te, Q), Re(E), Q && (M || (M = ur(t, cr, { duration: (
5098
+ o(J) {
5099
+ De(d, J), De(X, J), De(ee, J), De(E), J && (O || (O = ur(t, cr, { duration: (
5105
5100
  /*duration*/
5106
5101
  e[2]
5107
- ) }, !1)), M.run(0)), v = !1;
5102
+ ) }, !1)), O.run(0)), v = !1;
5108
5103
  },
5109
- d(Q) {
5110
- Q && we(t), p && p.d(Q), Y && Y.d(Q), te && te.d(Q), le[h].d(), e[24](null), L(), Q && M && M.end(), W = !1, Be(P);
5104
+ d(J) {
5105
+ J && we(t), d && d.d(J), X && X.d(J), ee && ee.d(J), le[h].d(), e[24](null), L(), J && O && O.end(), z = !1, $e(P);
5111
5106
  }
5112
5107
  };
5113
5108
  }
@@ -5115,11 +5110,11 @@ function jr(e) {
5115
5110
  let t, n;
5116
5111
  return {
5117
5112
  c() {
5118
- t = ne("img"), or(t.src, n = `${/*assetsurl*/
5113
+ t = te("img"), or(t.src, n = `${/*assetsurl*/
5119
5114
  e[3]}/set-timeout-icon.png`) || w(t, "src", n), w(t, "width", "300px"), w(t, "alt", "error");
5120
5115
  },
5121
5116
  m(r, i) {
5122
- $e(r, t, i);
5117
+ Ue(r, t, i);
5123
5118
  },
5124
5119
  p(r, i) {
5125
5120
  i[0] & /*assetsurl*/
@@ -5131,7 +5126,7 @@ function jr(e) {
5131
5126
  }
5132
5127
  };
5133
5128
  }
5134
- function Fa(e) {
5129
+ function Ga(e) {
5135
5130
  let t, n = (
5136
5131
  /*assetsurl*/
5137
5132
  e[3] && jr(e)
@@ -5141,7 +5136,7 @@ function Fa(e) {
5141
5136
  n && n.c(), t = Zi();
5142
5137
  },
5143
5138
  m(r, i) {
5144
- n && n.m(r, i), $e(r, t, i);
5139
+ n && n.m(r, i), Ue(r, t, i);
5145
5140
  },
5146
5141
  p(r, i) {
5147
5142
  /*assetsurl*/
@@ -5152,7 +5147,7 @@ function Fa(e) {
5152
5147
  }
5153
5148
  };
5154
5149
  }
5155
- function Ga(e) {
5150
+ function ja(e) {
5156
5151
  let t, n, r = (
5157
5152
  /*$_*/
5158
5153
  e[8]("sessionExpirationTitle") + ""
@@ -5165,15 +5160,15 @@ function Ga(e) {
5165
5160
  ) + "";
5166
5161
  return {
5167
5162
  c() {
5168
- t = ne("span"), n = ne("p"), i = Fe(r), o = Ie(), l = ne("p"), w(t, "class", "CashierSessionExpirationText");
5163
+ t = te("span"), n = te("p"), i = Ge(r), o = Pe(), l = te("p"), w(t, "class", "CashierSessionExpirationText");
5169
5164
  },
5170
5165
  m(c, u) {
5171
- $e(c, t, u), B(t, n), B(n, i), B(t, o), B(t, l), l.innerHTML = a;
5166
+ Ue(c, t, u), B(t, n), B(n, i), B(t, o), B(t, l), l.innerHTML = a;
5172
5167
  },
5173
5168
  p(c, u) {
5174
5169
  u[0] & /*$_*/
5175
5170
  256 && r !== (r = /*$_*/
5176
- c[8]("sessionExpirationTitle") + "") && bt(i, r), u[0] & /*$_, timeLeft*/
5171
+ c[8]("sessionExpirationTitle") + "") && Et(i, r), u[0] & /*$_, timeLeft*/
5177
5172
  384 && a !== (a = Rr.sanitize(
5178
5173
  /*$_*/
5179
5174
  c[8]("sessionExpirationGeneralText", { values: { second: (
@@ -5187,18 +5182,18 @@ function Ga(e) {
5187
5182
  }
5188
5183
  };
5189
5184
  }
5190
- function ja(e) {
5185
+ function za(e) {
5191
5186
  let t;
5192
5187
  const n = (
5193
5188
  /*#slots*/
5194
5189
  e[23].button
5195
- ), r = Rt(
5190
+ ), r = Dt(
5196
5191
  n,
5197
5192
  e,
5198
5193
  /*$$scope*/
5199
5194
  e[22],
5200
5195
  $r
5201
- ), i = r || Wa(e);
5196
+ ), i = r || Va(e);
5202
5197
  return {
5203
5198
  c() {
5204
5199
  i && i.c();
@@ -5208,19 +5203,19 @@ function ja(e) {
5208
5203
  },
5209
5204
  p(o, l) {
5210
5205
  r ? r.p && (!t || l[0] & /*$$scope*/
5211
- 4194304) && Bt(
5206
+ 4194304) && $t(
5212
5207
  r,
5213
5208
  n,
5214
5209
  o,
5215
5210
  /*$$scope*/
5216
5211
  o[22],
5217
- t ? Dt(
5212
+ t ? Bt(
5218
5213
  n,
5219
5214
  /*$$scope*/
5220
5215
  o[22],
5221
5216
  l,
5222
- Ba
5223
- ) : $t(
5217
+ $a
5218
+ ) : Ut(
5224
5219
  /*$$scope*/
5225
5220
  o[22]
5226
5221
  ),
@@ -5232,29 +5227,29 @@ function ja(e) {
5232
5227
  t || (Le(i, o), t = !0);
5233
5228
  },
5234
5229
  o(o) {
5235
- Re(i, o), t = !1;
5230
+ De(i, o), t = !1;
5236
5231
  },
5237
5232
  d(o) {
5238
5233
  i && i.d(o);
5239
5234
  }
5240
5235
  };
5241
5236
  }
5242
- function za(e) {
5237
+ function Wa(e) {
5243
5238
  let t, n, r, i, o, l = (
5244
5239
  /*$_*/
5245
5240
  e[8]("sessionExpirationLoadingButton") + ""
5246
5241
  ), a;
5247
5242
  return {
5248
5243
  c() {
5249
- t = ne("div"), n = Te("svg"), r = Te("path"), i = Ie(), o = ne("span"), a = Fe(l), w(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"), w(r, "fill", "white"), w(n, "class", "CashierSessionExpirationButtonSpinner"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "14"), w(n, "viewBox", "0 0 15 14"), w(n, "fill", "none"), w(o, "class", "CashierSessionExpirationButtonText");
5244
+ t = te("div"), n = Te("svg"), r = Te("path"), i = Pe(), o = te("span"), a = Ge(l), w(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"), w(r, "fill", "white"), w(n, "class", "CashierSessionExpirationButtonSpinner"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "14"), w(n, "viewBox", "0 0 15 14"), w(n, "fill", "none"), w(o, "class", "CashierSessionExpirationButtonText");
5250
5245
  },
5251
5246
  m(c, u) {
5252
- $e(c, t, u), B(t, n), B(n, r), B(t, i), B(t, o), B(o, a);
5247
+ Ue(c, t, u), B(t, n), B(n, r), B(t, i), B(t, o), B(o, a);
5253
5248
  },
5254
5249
  p(c, u) {
5255
5250
  u[0] & /*$_*/
5256
5251
  256 && l !== (l = /*$_*/
5257
- c[8]("sessionExpirationLoadingButton") + "") && bt(a, l);
5252
+ c[8]("sessionExpirationLoadingButton") + "") && Et(a, l);
5258
5253
  },
5259
5254
  i: ye,
5260
5255
  o: ye,
@@ -5263,44 +5258,44 @@ function za(e) {
5263
5258
  }
5264
5259
  };
5265
5260
  }
5266
- function Wa(e) {
5261
+ function Va(e) {
5267
5262
  let t, n = (
5268
5263
  /*$_*/
5269
5264
  e[8]("sessionExpirationGeneralButton") + ""
5270
5265
  ), r;
5271
5266
  return {
5272
5267
  c() {
5273
- t = ne("span"), r = Fe(n), w(t, "class", "CashierSessionExpirationButtonText");
5268
+ t = te("span"), r = Ge(n), w(t, "class", "CashierSessionExpirationButtonText");
5274
5269
  },
5275
5270
  m(i, o) {
5276
- $e(i, t, o), B(t, r);
5271
+ Ue(i, t, o), B(t, r);
5277
5272
  },
5278
5273
  p(i, o) {
5279
5274
  o[0] & /*$_*/
5280
5275
  256 && n !== (n = /*$_*/
5281
- i[8]("sessionExpirationGeneralButton") + "") && bt(r, n);
5276
+ i[8]("sessionExpirationGeneralButton") + "") && Et(r, n);
5282
5277
  },
5283
5278
  d(i) {
5284
5279
  i && we(t);
5285
5280
  }
5286
5281
  };
5287
5282
  }
5288
- function Va(e) {
5283
+ function Xa(e) {
5289
5284
  let t, n, r = (
5290
5285
  /*show*/
5291
5286
  e[5] && Gr(e)
5292
5287
  );
5293
5288
  return {
5294
5289
  c() {
5295
- t = ne("div"), r && r.c();
5290
+ t = te("div"), r && r.c();
5296
5291
  },
5297
5292
  m(i, o) {
5298
- $e(i, t, o), r && r.m(t, null), e[26](t), n = !0;
5293
+ Ue(i, t, o), r && r.m(t, null), e[26](t), n = !0;
5299
5294
  },
5300
5295
  p(i, o) {
5301
5296
  /*show*/
5302
5297
  i[5] ? r ? (r.p(i, o), o[0] & /*show*/
5303
- 32 && Le(r, 1)) : (r = Gr(i), r.c(), Le(r, 1), r.m(t, null)) : r && (Kr(), Re(r, 1, 1, () => {
5298
+ 32 && Le(r, 1)) : (r = Gr(i), r.c(), Le(r, 1), r.m(t, null)) : r && (Kr(), De(r, 1, 1, () => {
5304
5299
  r = null;
5305
5300
  }), ei());
5306
5301
  },
@@ -5308,29 +5303,29 @@ function Va(e) {
5308
5303
  n || (Le(r), n = !0);
5309
5304
  },
5310
5305
  o(i) {
5311
- Re(r), n = !1;
5306
+ De(r), n = !1;
5312
5307
  },
5313
5308
  d(i) {
5314
5309
  i && we(t), r && r.d(), e[26](null);
5315
5310
  }
5316
5311
  };
5317
5312
  }
5318
- const Xa = 90;
5319
- function Ya(e, t, n) {
5313
+ const Ya = 90;
5314
+ function Za(e, t, n) {
5320
5315
  let r, i;
5321
- sr(e, Br, (p) => n(21, r = p)), sr(e, ua, (p) => n(8, i = p));
5316
+ sr(e, Br, (d) => n(21, r = d)), sr(e, ca, (d) => n(8, i = d));
5322
5317
  let { $$slots: o = {}, $$scope: l } = t;
5323
- Dr.extend(Na);
5324
- let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: m = 200 } = t, { assetsurl: y = "" } = t, { lang: A = "en" } = t, { translationurl: x = "" } = t, { endpoint: g } = t, { currency: N } = t, { customerid: U } = t, { selectedpaymentmethodname: X } = t, { mbsource: R = "" } = t, H, I = !1, V = !1, oe, fe, ee, z, O;
5318
+ Dr.extend(Ia);
5319
+ let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: m = 200 } = t, { assetsurl: y = "" } = t, { lang: A = "en" } = t, { translationurl: x = "" } = t, { endpoint: g } = t, { currency: N } = t, { customerid: U } = t, { selectedpaymentmethodname: V } = t, { mbsource: R = "" } = t, H, I = !1, W = !1, oe, fe, K, j, C;
5325
5320
  var se;
5326
- (function(p) {
5327
- p.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", p.Success = "Success", p.JwtTokenError = "JwtTokenError";
5321
+ (function(d) {
5322
+ d.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", d.Success = "Success", d.JwtTokenError = "JwtTokenError";
5328
5323
  })(se || (se = {}));
5329
- const Ee = (p) => {
5330
- p.data.type === "StartSessionCountdown" && (z = p.data.paymentMethodName);
5331
- }, C = (p) => {
5324
+ const Ee = (d) => {
5325
+ d.data.type === "StartSessionCountdown" && (j = d.data.paymentMethodName);
5326
+ }, M = (d) => {
5332
5327
  try {
5333
- return JSON.parse(atob(p.split(".")[1]));
5328
+ return JSON.parse(atob(d.split(".")[1]));
5334
5329
  } catch {
5335
5330
  return null;
5336
5331
  }
@@ -5338,65 +5333,65 @@ function Ya(e, t, n) {
5338
5333
  window.postMessage(
5339
5334
  {
5340
5335
  type: "ErrorResponseCode",
5341
- errorResponseCode: O
5336
+ errorResponseCode: C
5342
5337
  },
5343
5338
  window.location.href
5344
5339
  );
5345
- }, h = (p) => {
5340
+ }, h = (d) => {
5346
5341
  n(5, I = !1);
5347
- const G = C(p);
5348
- G && (fe = G?.exp, n(7, oe = fe), ee && clearInterval(ee), ee = setInterval(
5342
+ const G = M(d);
5343
+ G && (fe = G?.exp, n(7, oe = fe), K && clearInterval(K), K = setInterval(
5349
5344
  () => {
5350
- const Y = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5351
- n(7, oe = fe - Y), oe <= Xa && n(5, I = !0), Y >= fe && (E(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5345
+ const X = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5346
+ n(7, oe = fe - X), oe <= Ya && n(5, I = !0), X >= fe && (E(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5352
5347
  },
5353
5348
  1e3
5354
5349
  ));
5355
5350
  }, E = () => {
5356
- n(7, oe = 0), n(5, I = !1), clearInterval(ee);
5351
+ n(7, oe = 0), n(5, I = !1), clearInterval(K);
5357
5352
  }, b = () => {
5358
- if (V)
5353
+ if (W)
5359
5354
  return;
5360
- const p = new URL(`${g}/v1/player/${U}/payment/GetPaymentMethod`), G = new Headers();
5361
- n(6, V = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp", Dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5362
- const Y = {
5355
+ const d = new URL(`${g}/v1/player/${U}/payment/GetPaymentMethod`), G = new Headers();
5356
+ n(6, W = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp", Dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5357
+ const X = {
5363
5358
  method: "POST",
5364
5359
  mode: "cors",
5365
5360
  headers: G,
5366
5361
  body: JSON.stringify({
5367
- PaymentMethodName: z || X,
5362
+ PaymentMethodName: j || V,
5368
5363
  Currency: N,
5369
5364
  XPaymentSessionToken: r
5370
5365
  })
5371
5366
  };
5372
- fetch(p, Y).then((Z) => Z.json()).then((Z) => {
5373
- if (Z.error) {
5367
+ fetch(d, X).then((Y) => Y.json()).then((Y) => {
5368
+ if (Y.error) {
5374
5369
  window.postMessage(
5375
5370
  {
5376
5371
  type: "ShowSessionError",
5377
- error: Z.error
5372
+ error: Y.error
5378
5373
  },
5379
5374
  window.location.href
5380
5375
  ), E();
5381
5376
  return;
5382
5377
  }
5383
- if (Z.ResponseCode === se.PlayerSessionIsNotValid || Z.ResponseCode === se.JwtTokenError) {
5384
- O = Z.ResponseCode, E(), _();
5378
+ if (Y.ResponseCode === se.PlayerSessionIsNotValid || Y.ResponseCode === se.JwtTokenError) {
5379
+ C = Y.ResponseCode, E(), _();
5385
5380
  return;
5386
5381
  }
5387
- if (Z.ResponseCode !== se.Success) {
5388
- O = Z.ResponseCode, E();
5382
+ if (Y.ResponseCode !== se.Success) {
5383
+ C = Y.ResponseCode, E();
5389
5384
  return;
5390
5385
  }
5391
- Z.XPaymentSessionToken && Br.set(Z.XPaymentSessionToken);
5392
- }).finally(() => n(6, V = !1));
5393
- }, L = (p) => {
5394
- const G = p.currentTarget;
5395
- p.target === G && b();
5396
- }, M = () => {
5386
+ Y.XPaymentSessionToken && Br.set(Y.XPaymentSessionToken);
5387
+ }).finally(() => n(6, W = !1));
5388
+ }, L = (d) => {
5389
+ const G = d.currentTarget;
5390
+ d.target === G && b();
5391
+ }, O = () => {
5397
5392
  fetch(x).then((G) => G.json()).then((G) => {
5398
- Object.keys(G).forEach((Y) => {
5399
- wr(Y, G[Y]);
5393
+ Object.keys(G).forEach((X) => {
5394
+ wr(X, G[X]);
5400
5395
  });
5401
5396
  }).catch((G) => {
5402
5397
  console.log(G);
@@ -5404,40 +5399,40 @@ function Ya(e, t, n) {
5404
5399
  }, v = () => {
5405
5400
  window.postMessage({ type: "Cashier:goToHome" }, window.location.href), n(5, I = !1);
5406
5401
  };
5407
- Object.keys(Ar).forEach((p) => {
5408
- wr(p, Ar[p]);
5402
+ Object.keys(Ar).forEach((d) => {
5403
+ wr(d, Ar[d]);
5409
5404
  });
5410
- const W = () => {
5411
- ca(A);
5405
+ const z = () => {
5406
+ fa(A);
5412
5407
  };
5413
5408
  oo(() => (window.addEventListener("message", Ee, !1), () => {
5414
5409
  window.removeEventListener("message", Ee);
5415
5410
  })), so(() => {
5416
- clearInterval(ee);
5411
+ clearInterval(K);
5417
5412
  });
5418
- function P(p) {
5419
- Vt[p ? "unshift" : "push"](() => {
5420
- H = p, n(4, H);
5413
+ function P(d) {
5414
+ Xt[d ? "unshift" : "push"](() => {
5415
+ H = d, n(4, H);
5421
5416
  });
5422
5417
  }
5423
- function J() {
5418
+ function q() {
5424
5419
  u = this.clientWidth, f = this.clientHeight, n(0, u), n(1, f);
5425
5420
  }
5426
- function D(p) {
5427
- Vt[p ? "unshift" : "push"](() => {
5428
- H = p, n(4, H);
5421
+ function D(d) {
5422
+ Xt[d ? "unshift" : "push"](() => {
5423
+ H = d, n(4, H);
5429
5424
  });
5430
5425
  }
5431
- return e.$$set = (p) => {
5432
- "clientstyling" in p && n(12, a = p.clientstyling), "clientstylingurl" in p && n(13, c = p.clientstylingurl), "width" in p && n(0, u = p.width), "height" in p && n(1, f = p.height), "duration" in p && n(2, m = p.duration), "assetsurl" in p && n(3, y = p.assetsurl), "lang" in p && n(14, A = p.lang), "translationurl" in p && n(15, x = p.translationurl), "endpoint" in p && n(16, g = p.endpoint), "currency" in p && n(17, N = p.currency), "customerid" in p && n(18, U = p.customerid), "selectedpaymentmethodname" in p && n(19, X = p.selectedpaymentmethodname), "mbsource" in p && n(20, R = p.mbsource), "$$scope" in p && n(22, l = p.$$scope);
5426
+ return e.$$set = (d) => {
5427
+ "clientstyling" in d && n(12, a = d.clientstyling), "clientstylingurl" in d && n(13, c = d.clientstylingurl), "width" in d && n(0, u = d.width), "height" in d && n(1, f = d.height), "duration" in d && n(2, m = d.duration), "assetsurl" in d && n(3, y = d.assetsurl), "lang" in d && n(14, A = d.lang), "translationurl" in d && n(15, x = d.translationurl), "endpoint" in d && n(16, g = d.endpoint), "currency" in d && n(17, N = d.currency), "customerid" in d && n(18, U = d.customerid), "selectedpaymentmethodname" in d && n(19, V = d.selectedpaymentmethodname), "mbsource" in d && n(20, R = d.mbsource), "$$scope" in d && n(22, l = d.$$scope);
5433
5428
  }, e.$$.update = () => {
5434
5429
  e.$$.dirty[0] & /*$xPaymentSessionToken*/
5435
5430
  2097152 && h(r), e.$$.dirty[0] & /*lang*/
5436
- 16384 && A && W(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5437
- 4112 && a && H && Ia(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5438
- 8208 && c && H && Pa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5439
- 1048592 && R && H && Ra(H, `${R}.Style`), e.$$.dirty[0] & /*translationurl*/
5440
- 32768 && x && M();
5431
+ 16384 && A && z(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5432
+ 4112 && a && H && Pa(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5433
+ 8208 && c && H && Ra(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5434
+ 1048592 && R && H && Da(H, `${R}.Style`), e.$$.dirty[0] & /*translationurl*/
5435
+ 32768 && x && O();
5441
5436
  }, [
5442
5437
  u,
5443
5438
  f,
@@ -5445,7 +5440,7 @@ function Ya(e, t, n) {
5445
5440
  y,
5446
5441
  H,
5447
5442
  I,
5448
- V,
5443
+ W,
5449
5444
  oe,
5450
5445
  i,
5451
5446
  b,
@@ -5458,23 +5453,23 @@ function Ya(e, t, n) {
5458
5453
  g,
5459
5454
  N,
5460
5455
  U,
5461
- X,
5456
+ V,
5462
5457
  R,
5463
5458
  r,
5464
5459
  l,
5465
5460
  o,
5466
5461
  P,
5467
- J,
5462
+ q,
5468
5463
  D
5469
5464
  ];
5470
5465
  }
5471
- class Za extends Eo {
5466
+ class qa extends Eo {
5472
5467
  constructor(t) {
5473
5468
  super(), _o(
5474
5469
  this,
5475
5470
  t,
5476
- Ya,
5477
- Va,
5471
+ Za,
5472
+ Xa,
5478
5473
  Vr,
5479
5474
  {
5480
5475
  clientstyling: 12,
@@ -5491,7 +5486,7 @@ class Za extends Eo {
5491
5486
  selectedpaymentmethodname: 19,
5492
5487
  mbsource: 20
5493
5488
  },
5494
- Da,
5489
+ Ba,
5495
5490
  [-1, -1]
5496
5491
  );
5497
5492
  }
@@ -5499,82 +5494,82 @@ class Za extends Eo {
5499
5494
  return this.$$.ctx[12];
5500
5495
  }
5501
5496
  set clientstyling(t) {
5502
- this.$$set({ clientstyling: t }), pe();
5497
+ this.$$set({ clientstyling: t }), de();
5503
5498
  }
5504
5499
  get clientstylingurl() {
5505
5500
  return this.$$.ctx[13];
5506
5501
  }
5507
5502
  set clientstylingurl(t) {
5508
- this.$$set({ clientstylingurl: t }), pe();
5503
+ this.$$set({ clientstylingurl: t }), de();
5509
5504
  }
5510
5505
  get width() {
5511
5506
  return this.$$.ctx[0];
5512
5507
  }
5513
5508
  set width(t) {
5514
- this.$$set({ width: t }), pe();
5509
+ this.$$set({ width: t }), de();
5515
5510
  }
5516
5511
  get height() {
5517
5512
  return this.$$.ctx[1];
5518
5513
  }
5519
5514
  set height(t) {
5520
- this.$$set({ height: t }), pe();
5515
+ this.$$set({ height: t }), de();
5521
5516
  }
5522
5517
  get duration() {
5523
5518
  return this.$$.ctx[2];
5524
5519
  }
5525
5520
  set duration(t) {
5526
- this.$$set({ duration: t }), pe();
5521
+ this.$$set({ duration: t }), de();
5527
5522
  }
5528
5523
  get assetsurl() {
5529
5524
  return this.$$.ctx[3];
5530
5525
  }
5531
5526
  set assetsurl(t) {
5532
- this.$$set({ assetsurl: t }), pe();
5527
+ this.$$set({ assetsurl: t }), de();
5533
5528
  }
5534
5529
  get lang() {
5535
5530
  return this.$$.ctx[14];
5536
5531
  }
5537
5532
  set lang(t) {
5538
- this.$$set({ lang: t }), pe();
5533
+ this.$$set({ lang: t }), de();
5539
5534
  }
5540
5535
  get translationurl() {
5541
5536
  return this.$$.ctx[15];
5542
5537
  }
5543
5538
  set translationurl(t) {
5544
- this.$$set({ translationurl: t }), pe();
5539
+ this.$$set({ translationurl: t }), de();
5545
5540
  }
5546
5541
  get endpoint() {
5547
5542
  return this.$$.ctx[16];
5548
5543
  }
5549
5544
  set endpoint(t) {
5550
- this.$$set({ endpoint: t }), pe();
5545
+ this.$$set({ endpoint: t }), de();
5551
5546
  }
5552
5547
  get currency() {
5553
5548
  return this.$$.ctx[17];
5554
5549
  }
5555
5550
  set currency(t) {
5556
- this.$$set({ currency: t }), pe();
5551
+ this.$$set({ currency: t }), de();
5557
5552
  }
5558
5553
  get customerid() {
5559
5554
  return this.$$.ctx[18];
5560
5555
  }
5561
5556
  set customerid(t) {
5562
- this.$$set({ customerid: t }), pe();
5557
+ this.$$set({ customerid: t }), de();
5563
5558
  }
5564
5559
  get selectedpaymentmethodname() {
5565
5560
  return this.$$.ctx[19];
5566
5561
  }
5567
5562
  set selectedpaymentmethodname(t) {
5568
- this.$$set({ selectedpaymentmethodname: t }), pe();
5563
+ this.$$set({ selectedpaymentmethodname: t }), de();
5569
5564
  }
5570
5565
  get mbsource() {
5571
5566
  return this.$$.ctx[20];
5572
5567
  }
5573
5568
  set mbsource(t) {
5574
- this.$$set({ mbsource: t }), pe();
5569
+ this.$$set({ mbsource: t }), de();
5575
5570
  }
5576
5571
  }
5577
- bo(Za, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5572
+ bo(qa, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5578
5573
  export {
5579
- Za as C
5574
+ qa as C
5580
5575
  };