@everymatrix/cashier-session-expiration-modal 1.77.24 → 1.77.26

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