@everymatrix/cashier-session-expiration-modal 1.76.13 → 1.76.14

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.
@@ -2,15 +2,15 @@ var Zi = Object.defineProperty, qi = Object.defineProperties;
2
2
  var Ji = Object.getOwnPropertyDescriptors;
3
3
  var sr = Object.getOwnPropertySymbols;
4
4
  var Qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable;
5
- var un = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, or = (e, t) => {
5
+ var on = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, or = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Qi.call(t, n) && un(e, n, t[n]);
7
+ Qi.call(t, n) && on(e, n, t[n]);
8
8
  if (sr)
9
9
  for (var n of sr(t))
10
- Ki.call(t, n) && un(e, n, t[n]);
10
+ Ki.call(t, n) && on(e, n, t[n]);
11
11
  return e;
12
12
  }, ar = (e, t) => qi(e, Ji(t));
13
- var be = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
13
+ var be = (e, t, n) => (on(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var ur = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -44,18 +44,18 @@ function qr(e) {
44
44
  function lr() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function Pe(e) {
47
+ function Ie(e) {
48
48
  e.forEach(qr);
49
49
  }
50
- function Zt(e) {
50
+ function Xt(e) {
51
51
  return typeof e == "function";
52
52
  }
53
53
  function Jr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let Ot;
56
+ let wt;
57
57
  function cr(e, t) {
58
- return e === t ? !0 : (Ot || (Ot = document.createElement("a")), Ot.href = t, e === Ot.href);
58
+ return e === t ? !0 : (wt || (wt = document.createElement("a")), wt.href = t, e === wt.href);
59
59
  }
60
60
  function ts(e) {
61
61
  return Object.keys(e).length === 0;
@@ -72,7 +72,7 @@ function Qr(e, ...t) {
72
72
  function fr(e, t, n) {
73
73
  e.$$.on_destroy.push(Qr(t, n));
74
74
  }
75
- function Ht(e, t, n, r) {
75
+ function Nt(e, t, n, r) {
76
76
  if (e) {
77
77
  const i = Kr(e, t, n, r);
78
78
  return e[0](i);
@@ -81,7 +81,7 @@ function Ht(e, t, n, r) {
81
81
  function Kr(e, t, n, r) {
82
82
  return e[1] && r ? es(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function It(e, t, n, r) {
84
+ function Ht(e, t, n, r) {
85
85
  if (e[2] && r) {
86
86
  const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
@@ -96,7 +96,7 @@ function It(e, t, n, r) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Pt(e, t, n, r, i, s) {
99
+ function It(e, t, n, r, i, s) {
100
100
  if (i) {
101
101
  const a = Kr(t, n, r, s);
102
102
  e.p(a, i);
@@ -112,21 +112,21 @@ function Rt(e) {
112
112
  return -1;
113
113
  }
114
114
  const ei = typeof window != "undefined";
115
- let ns = ei ? () => window.performance.now() : () => Date.now(), In = ei ? (e) => requestAnimationFrame(e) : de;
116
- const Xe = /* @__PURE__ */ new Set();
115
+ let ns = ei ? () => window.performance.now() : () => Date.now(), Nn = ei ? (e) => requestAnimationFrame(e) : de;
116
+ const Ve = /* @__PURE__ */ new Set();
117
117
  function ti(e) {
118
- Xe.forEach((t) => {
119
- t.c(e) || (Xe.delete(t), t.f());
120
- }), Xe.size !== 0 && In(ti);
118
+ Ve.forEach((t) => {
119
+ t.c(e) || (Ve.delete(t), t.f());
120
+ }), Ve.size !== 0 && Nn(ti);
121
121
  }
122
122
  function rs(e) {
123
123
  let t;
124
- return Xe.size === 0 && In(ti), {
124
+ return Ve.size === 0 && Nn(ti), {
125
125
  promise: new Promise((n) => {
126
- Xe.add(t = { c: e, f: n });
126
+ Ve.add(t = { c: e, f: n });
127
127
  }),
128
128
  abort() {
129
- Xe.delete(t);
129
+ Ve.delete(t);
130
130
  }
131
131
  };
132
132
  }
@@ -134,13 +134,13 @@ function J(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
136
  function is(e, t, n) {
137
- const r = Pn(e);
137
+ const r = Hn(e);
138
138
  if (!r.getElementById(t)) {
139
139
  const i = te("style");
140
140
  i.id = t, i.textContent = n, ni(r, i);
141
141
  }
142
142
  }
143
- function Pn(e) {
143
+ function Hn(e) {
144
144
  if (!e)
145
145
  return document;
146
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -152,7 +152,7 @@ function Pn(e) {
152
152
  }
153
153
  function ss(e) {
154
154
  const t = te("style");
155
- return t.textContent = "/* empty */", ni(Pn(e), t), t.sheet;
155
+ return t.textContent = "/* empty */", ni(Hn(e), t), t.sheet;
156
156
  }
157
157
  function ni(e, t) {
158
158
  return J(
@@ -161,7 +161,7 @@ function ni(e, t) {
161
161
  t
162
162
  ), t.sheet;
163
163
  }
164
- function Oe(e, t, n) {
164
+ function we(e, t, n) {
165
165
  e.insertBefore(t, n || null);
166
166
  }
167
167
  function ge(e) {
@@ -173,39 +173,39 @@ function te(e) {
173
173
  function hr(e) {
174
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
175
175
  }
176
- function et(e) {
176
+ function Ke(e) {
177
177
  return document.createTextNode(e);
178
178
  }
179
- function mt() {
180
- return et(" ");
179
+ function ht() {
180
+ return Ke(" ");
181
181
  }
182
182
  function ri() {
183
- return et("");
183
+ return Ke("");
184
184
  }
185
- function Ft(e, t, n, r) {
185
+ function kt(e, t, n, r) {
186
186
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
187
187
  }
188
- function j(e, t, n) {
188
+ function z(e, t, n) {
189
189
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
190
190
  }
191
191
  function os(e) {
192
192
  return Array.from(e.childNodes);
193
193
  }
194
- function qt(e, t) {
194
+ function Yt(e, t) {
195
195
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
196
196
  t);
197
197
  }
198
- let Mt;
198
+ let Ot;
199
199
  function as() {
200
- if (Mt === void 0) {
201
- Mt = !1;
200
+ if (Ot === void 0) {
201
+ Ot = !1;
202
202
  try {
203
203
  typeof window != "undefined" && window.parent && window.parent.document;
204
204
  } catch (e) {
205
- Mt = !0;
205
+ Ot = !0;
206
206
  }
207
207
  }
208
- return Mt;
208
+ return Ot;
209
209
  }
210
210
  function us(e, t) {
211
211
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
@@ -216,7 +216,7 @@ function us(e, t) {
216
216
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
217
217
  const i = as();
218
218
  let s;
219
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ft(
219
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = kt(
220
220
  window,
221
221
  "message",
222
222
  /** @param {MessageEvent} event */
@@ -224,7 +224,7 @@ function us(e, t) {
224
224
  a.source === r.contentWindow && t();
225
225
  }
226
226
  )) : (r.src = "about:blank", r.onload = () => {
227
- s = Ft(r.contentWindow, "resize", t), t();
227
+ s = kt(r.contentWindow, "resize", t), t();
228
228
  }), J(e, r), () => {
229
229
  (i || s && r.contentWindow) && s(), ge(r);
230
230
  };
@@ -241,8 +241,8 @@ function cs(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const Gt = /* @__PURE__ */ new Map();
245
- let jt = 0;
244
+ const Ft = /* @__PURE__ */ new Map();
245
+ let Gt = 0;
246
246
  function fs(e) {
247
247
  let t = 5381, n = e.length;
248
248
  for (; n--; )
@@ -251,46 +251,46 @@ function fs(e) {
251
251
  }
252
252
  function hs(e, t) {
253
253
  const n = { stylesheet: ss(t), rules: {} };
254
- return Gt.set(e, n), n;
254
+ return Ft.set(e, n), n;
255
255
  }
256
256
  function mr(e, t, n, r, i, s, a, u = 0) {
257
257
  const c = 16.666 / r;
258
258
  let l = `{
259
259
  `;
260
260
  for (let C = 0; C <= 1; C += c) {
261
- const F = t + (n - t) * s(C);
262
- l += C * 100 + `%{${a(F, 1 - F)}}
261
+ const G = t + (n - t) * s(C);
262
+ l += C * 100 + `%{${a(G, 1 - G)}}
263
263
  `;
264
264
  }
265
265
  const f = l + `100% {${a(n, 1 - n)}}
266
- }`, _ = `__svelte_${fs(f)}_${u}`, y = Pn(e), { stylesheet: M, rules: b } = Gt.get(y) || hs(y, e);
266
+ }`, _ = `__svelte_${fs(f)}_${u}`, y = Hn(e), { stylesheet: M, rules: b } = Ft.get(y) || hs(y, e);
267
267
  b[_] || (b[_] = !0, M.insertRule(`@keyframes ${_} ${f}`, M.cssRules.length));
268
268
  const d = e.style.animation || "";
269
- return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, jt += 1, _;
269
+ return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, Gt += 1, _;
270
270
  }
271
271
  function ms(e, t) {
272
272
  const n = (e.style.animation || "").split(", "), r = n.filter(
273
273
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), i = n.length - r.length;
276
- i && (e.style.animation = r.join(", "), jt -= i, jt || ds());
276
+ i && (e.style.animation = r.join(", "), Gt -= i, Gt || ds());
277
277
  }
278
278
  function ds() {
279
- In(() => {
280
- jt || (Gt.forEach((e) => {
279
+ Nn(() => {
280
+ Gt || (Ft.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
282
  t && ge(t);
283
- }), Gt.clear());
283
+ }), Ft.clear());
284
284
  });
285
285
  }
286
- let gt;
287
- function pt(e) {
288
- gt = e;
286
+ let pt;
287
+ function dt(e) {
288
+ pt = e;
289
289
  }
290
290
  function ii() {
291
- if (!gt)
291
+ if (!pt)
292
292
  throw new Error("Function called outside component initialization");
293
- return gt;
293
+ return pt;
294
294
  }
295
295
  function ps(e) {
296
296
  ii().$$.on_mount.push(e);
@@ -298,90 +298,90 @@ function ps(e) {
298
298
  function gs(e) {
299
299
  ii().$$.on_destroy.push(e);
300
300
  }
301
- const Ve = [], zt = [];
302
- let Ye = [];
301
+ const We = [], jt = [];
302
+ let Xe = [];
303
303
  const dr = [], _s = /* @__PURE__ */ Promise.resolve();
304
- let vn = !1;
304
+ let yn = !1;
305
305
  function bs() {
306
- vn || (vn = !0, _s.then(le));
306
+ yn || (yn = !0, _s.then(le));
307
307
  }
308
- function Ze(e) {
309
- Ye.push(e);
308
+ function Ye(e) {
309
+ Xe.push(e);
310
310
  }
311
- const ln = /* @__PURE__ */ new Set();
312
- let ze = 0;
311
+ const an = /* @__PURE__ */ new Set();
312
+ let je = 0;
313
313
  function le() {
314
- if (ze !== 0)
314
+ if (je !== 0)
315
315
  return;
316
- const e = gt;
316
+ const e = pt;
317
317
  do {
318
318
  try {
319
- for (; ze < Ve.length; ) {
320
- const t = Ve[ze];
321
- ze++, pt(t), Es(t.$$);
319
+ for (; je < We.length; ) {
320
+ const t = We[je];
321
+ je++, dt(t), Es(t.$$);
322
322
  }
323
323
  } catch (t) {
324
- throw Ve.length = 0, ze = 0, t;
324
+ throw We.length = 0, je = 0, t;
325
325
  }
326
- for (pt(null), Ve.length = 0, ze = 0; zt.length; )
327
- zt.pop()();
328
- for (let t = 0; t < Ye.length; t += 1) {
329
- const n = Ye[t];
330
- ln.has(n) || (ln.add(n), n());
326
+ for (dt(null), We.length = 0, je = 0; jt.length; )
327
+ jt.pop()();
328
+ for (let t = 0; t < Xe.length; t += 1) {
329
+ const n = Xe[t];
330
+ an.has(n) || (an.add(n), n());
331
331
  }
332
- Ye.length = 0;
333
- } while (Ve.length);
332
+ Xe.length = 0;
333
+ } while (We.length);
334
334
  for (; dr.length; )
335
335
  dr.pop()();
336
- vn = !1, ln.clear(), pt(e);
336
+ yn = !1, an.clear(), dt(e);
337
337
  }
338
338
  function Es(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), Pe(e.before_update);
340
+ e.update(), Ie(e.before_update);
341
341
  const t = e.dirty;
342
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
342
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
343
343
  }
344
344
  }
345
345
  function ys(e) {
346
346
  const t = [], n = [];
347
- Ye.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ye = t;
347
+ Xe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Xe = t;
348
348
  }
349
- let ot;
349
+ let st;
350
350
  function xs() {
351
- return ot || (ot = Promise.resolve(), ot.then(() => {
352
- ot = null;
353
- })), ot;
351
+ return st || (st = Promise.resolve(), st.then(() => {
352
+ st = null;
353
+ })), st;
354
354
  }
355
- function cn(e, t, n) {
355
+ function un(e, t, n) {
356
356
  e.dispatchEvent(ls(`${t ? "intro" : "outro"}${n}`));
357
357
  }
358
- const Dt = /* @__PURE__ */ new Set();
359
- let Le;
358
+ const Pt = /* @__PURE__ */ new Set();
359
+ let Ce;
360
360
  function si() {
361
- Le = {
361
+ Ce = {
362
362
  r: 0,
363
363
  c: [],
364
- p: Le
364
+ p: Ce
365
365
  // parent group
366
366
  };
367
367
  }
368
368
  function oi() {
369
- Le.r || Pe(Le.c), Le = Le.p;
369
+ Ce.r || Ie(Ce.c), Ce = Ce.p;
370
370
  }
371
371
  function Ae(e, t) {
372
- e && e.i && (Dt.delete(e), e.i(t));
372
+ e && e.i && (Pt.delete(e), e.i(t));
373
373
  }
374
- function He(e, t, n, r) {
374
+ function Ne(e, t, n, r) {
375
375
  if (e && e.o) {
376
- if (Dt.has(e))
376
+ if (Pt.has(e))
377
377
  return;
378
- Dt.add(e), Le.c.push(() => {
379
- Dt.delete(e), r && (n && e.d(1), r());
378
+ Pt.add(e), Ce.c.push(() => {
379
+ Pt.delete(e), r && (n && e.d(1), r());
380
380
  }), e.o(t);
381
381
  } else
382
382
  r && r();
383
383
  }
384
- const vs = { duration: 0 };
384
+ const Ts = { duration: 0 };
385
385
  function pr(e, t, n, r) {
386
386
  let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, u = null, c = null, l = null, f;
387
387
  function _() {
@@ -406,29 +406,29 @@ function pr(e, t, n, r) {
406
406
  const {
407
407
  delay: d = 0,
408
408
  duration: C = 300,
409
- easing: F = Zr,
409
+ easing: G = Zr,
410
410
  tick: $ = de,
411
411
  css: A
412
- } = s || vs, H = {
412
+ } = s || Ts, H = {
413
413
  start: ns() + d,
414
414
  b
415
415
  };
416
- b || (H.group = Le, Le.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
- e.inert, e.inert = !0)), u || c ? c = H : (A && (_(), l = mr(e, a, b, C, d, F, A)), b && $(0, 1), u = y(H, C), Ze(() => cn(e, b, "start")), rs((R) => {
418
- if (c && R > c.start && (u = y(c, C), c = null, cn(e, u.b, "start"), A && (_(), l = mr(
416
+ b || (H.group = Ce, Ce.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
+ e.inert, e.inert = !0)), u || c ? c = H : (A && (_(), l = mr(e, a, b, C, d, G, A)), b && $(0, 1), u = y(H, C), Ye(() => un(e, b, "start")), rs((P) => {
418
+ if (c && P > c.start && (u = y(c, C), c = null, un(e, u.b, "start"), A && (_(), l = mr(
419
419
  e,
420
420
  a,
421
421
  u.b,
422
422
  u.duration,
423
423
  0,
424
- F,
424
+ G,
425
425
  s.css
426
426
  ))), u) {
427
- if (R >= u.end)
428
- $(a = u.b, 1 - a), cn(e, u.b, "end"), c || (u.b ? _() : --u.group.r || Pe(u.group.c)), u = null;
429
- else if (R >= u.start) {
430
- const k = R - u.start;
431
- a = u.a + u.d * F(k / u.duration), $(a, 1 - a);
427
+ if (P >= u.end)
428
+ $(a = u.b, 1 - a), un(e, u.b, "end"), c || (u.b ? _() : --u.group.r || Ie(u.group.c)), u = null;
429
+ else if (P >= u.start) {
430
+ const F = P - u.start;
431
+ a = u.a + u.d * G(F / u.duration), $(a, 1 - a);
432
432
  }
433
433
  }
434
434
  return !!(u || c);
@@ -436,7 +436,7 @@ function pr(e, t, n, r) {
436
436
  }
437
437
  return {
438
438
  run(b) {
439
- Zt(s) ? xs().then(() => {
439
+ Xt(s) ? xs().then(() => {
440
440
  s = s({ direction: b ? "in" : "out" }), M(b);
441
441
  }) : M(b);
442
442
  },
@@ -445,23 +445,23 @@ function pr(e, t, n, r) {
445
445
  }
446
446
  };
447
447
  }
448
- function Ts(e, t, n) {
448
+ function vs(e, t, n) {
449
449
  const { fragment: r, after_update: i } = e.$$;
450
- r && r.m(t, n), Ze(() => {
451
- const s = e.$$.on_mount.map(qr).filter(Zt);
452
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Pe(s), e.$$.on_mount = [];
453
- }), i.forEach(Ze);
450
+ r && r.m(t, n), Ye(() => {
451
+ const s = e.$$.on_mount.map(qr).filter(Xt);
452
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
453
+ }), i.forEach(Ye);
454
454
  }
455
455
  function Ss(e, t) {
456
456
  const n = e.$$;
457
- n.fragment !== null && (ys(n.after_update), Pe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
457
+ n.fragment !== null && (ys(n.after_update), Ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
458
458
  }
459
459
  function As(e, t) {
460
- e.$$.dirty[0] === -1 && (Ve.push(e), bs(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
460
+ e.$$.dirty[0] === -1 && (We.push(e), bs(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
461
461
  }
462
462
  function ws(e, t, n, r, i, s, a = null, u = [-1]) {
463
- const c = gt;
464
- pt(e);
463
+ const c = pt;
464
+ dt(e);
465
465
  const l = e.$$ = {
466
466
  fragment: null,
467
467
  ctx: [],
@@ -488,15 +488,15 @@ function ws(e, t, n, r, i, s, a = null, u = [-1]) {
488
488
  if (l.ctx = n ? n(e, t.props || {}, (_, y, ...M) => {
489
489
  const b = M.length ? M[0] : y;
490
490
  return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f && As(e, _)), y;
491
- }) : [], l.update(), f = !0, Pe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
491
+ }) : [], l.update(), f = !0, Ie(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
492
492
  if (t.hydrate) {
493
493
  const _ = os(t.target);
494
494
  l.fragment && l.fragment.l(_), _.forEach(ge);
495
495
  } else
496
496
  l.fragment && l.fragment.c();
497
- t.intro && Ae(e.$$.fragment), Ts(e, t.target, t.anchor), le();
497
+ t.intro && Ae(e.$$.fragment), vs(e, t.target, t.anchor), le();
498
498
  }
499
- pt(c);
499
+ dt(c);
500
500
  }
501
501
  let ai;
502
502
  typeof HTMLElement == "function" && (ai = class extends HTMLElement {
@@ -543,14 +543,14 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
543
543
  let a;
544
544
  return {
545
545
  c: function() {
546
- a = te("slot"), s !== "default" && j(a, "name", s);
546
+ a = te("slot"), s !== "default" && z(a, "name", s);
547
547
  },
548
548
  /**
549
549
  * @param {HTMLElement} target
550
550
  * @param {HTMLElement} [anchor]
551
551
  */
552
552
  m: function(l, f) {
553
- Oe(l, a, f);
553
+ we(l, a, f);
554
554
  },
555
555
  d: function(l) {
556
556
  l && ge(a);
@@ -565,7 +565,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
565
565
  s in r && (n[s] = [t(s)]);
566
566
  for (const s of this.attributes) {
567
567
  const a = this.$$g_p(s.name);
568
- a in this.$$d || (this.$$d[a] = Bt(a, s.value, this.$$p_d, "toProp"));
568
+ a in this.$$d || (this.$$d[a] = Dt(a, s.value, this.$$p_d, "toProp"));
569
569
  }
570
570
  for (const s in this.$$p_d)
571
571
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -582,7 +582,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
582
582
  this.$$r = !0;
583
583
  for (const s in this.$$p_d)
584
584
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
585
- const a = Bt(
585
+ const a = Dt(
586
586
  s,
587
587
  this.$$d[s],
588
588
  this.$$p_d,
@@ -606,7 +606,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
606
606
  // and setting attributes through setAttribute etc, this is helpful
607
607
  attributeChangedCallback(t, n, r) {
608
608
  var i;
609
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Bt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
609
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Dt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
610
610
  }
611
611
  disconnectedCallback() {
612
612
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -619,7 +619,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
619
619
  ) || t;
620
620
  }
621
621
  });
622
- function Bt(e, t, n, r) {
622
+ function Dt(e, t, n, r) {
623
623
  var s;
624
624
  const i = (s = n[e]) == null ? void 0 : s.type;
625
625
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -667,7 +667,7 @@ function Os(e, t, n, r, i, s) {
667
667
  },
668
668
  set(c) {
669
669
  var l;
670
- c = Bt(u, c, t), this.$$d[u] = c, (l = this.$$c) == null || l.$set({ [u]: c });
670
+ c = Dt(u, c, t), this.$$d[u] = c, (l = this.$$c) == null || l.$set({ [u]: c });
671
671
  }
672
672
  });
673
673
  }), r.forEach((u) => {
@@ -710,7 +710,7 @@ class Ms {
710
710
  * @returns {() => void}
711
711
  */
712
712
  $on(t, n) {
713
- if (!Zt(n))
713
+ if (!Xt(n))
714
714
  return de;
715
715
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
716
716
  return r.push(n), () => {
@@ -737,24 +737,24 @@ function gr(e, { delay: t = 0, duration: n = 400, easing: r = Zr } = {}) {
737
737
  css: (s) => `opacity: ${s * i}`
738
738
  };
739
739
  }
740
- const We = [];
740
+ const ze = [];
741
741
  function Ls(e, t) {
742
742
  return {
743
- subscribe: Et(e, t).subscribe
743
+ subscribe: bt(e, t).subscribe
744
744
  };
745
745
  }
746
- function Et(e, t = de) {
746
+ function bt(e, t = de) {
747
747
  let n;
748
748
  const r = /* @__PURE__ */ new Set();
749
749
  function i(u) {
750
750
  if (Jr(e, u) && (e = u, n)) {
751
- const c = !We.length;
751
+ const c = !ze.length;
752
752
  for (const l of r)
753
- l[1](), We.push(l, e);
753
+ l[1](), ze.push(l, e);
754
754
  if (c) {
755
- for (let l = 0; l < We.length; l += 2)
756
- We[l][0](We[l + 1]);
757
- We.length = 0;
755
+ for (let l = 0; l < ze.length; l += 2)
756
+ ze[l][0](ze[l + 1]);
757
+ ze.length = 0;
758
758
  }
759
759
  }
760
760
  }
@@ -769,7 +769,7 @@ function Et(e, t = de) {
769
769
  }
770
770
  return { set: i, update: s, subscribe: a };
771
771
  }
772
- function tt(e, t, n) {
772
+ function et(e, t, n) {
773
773
  const r = !Array.isArray(e), i = r ? [e] : e;
774
774
  if (!i.every(Boolean))
775
775
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -783,7 +783,7 @@ function tt(e, t, n) {
783
783
  return;
784
784
  _();
785
785
  const b = t(r ? l[0] : l, a, u);
786
- s ? a(b) : _ = Zt(b) ? b : de;
786
+ s ? a(b) : _ = Xt(b) ? b : de;
787
787
  }, M = i.map(
788
788
  (b, d) => Qr(
789
789
  b,
@@ -796,12 +796,12 @@ function tt(e, t, n) {
796
796
  )
797
797
  );
798
798
  return c = !0, y(), function() {
799
- Pe(M), _(), c = !1;
799
+ Ie(M), _(), c = !1;
800
800
  };
801
801
  });
802
802
  }
803
803
  var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
- function Rn(e) {
804
+ function In(e) {
805
805
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
806
806
  }
807
807
  var Ns = function(t) {
@@ -814,26 +814,26 @@ function Is(e) {
814
814
  var t = Object.prototype.toString.call(e);
815
815
  return t === "[object RegExp]" || t === "[object Date]" || Ds(e);
816
816
  }
817
- var Ps = typeof Symbol == "function" && Symbol.for, Rs = Ps ? Symbol.for("react.element") : 60103;
817
+ var Rs = typeof Symbol == "function" && Symbol.for, Ps = Rs ? Symbol.for("react.element") : 60103;
818
818
  function Ds(e) {
819
- return e.$$typeof === Rs;
819
+ return e.$$typeof === Ps;
820
820
  }
821
821
  function Bs(e) {
822
822
  return Array.isArray(e) ? [] : {};
823
823
  }
824
- function _t(e, t) {
825
- return t.clone !== !1 && t.isMergeableObject(e) ? qe(Bs(e), e, t) : e;
824
+ function gt(e, t) {
825
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ze(Bs(e), e, t) : e;
826
826
  }
827
827
  function $s(e, t, n) {
828
828
  return e.concat(t).map(function(r) {
829
- return _t(r, n);
829
+ return gt(r, n);
830
830
  });
831
831
  }
832
832
  function Us(e, t) {
833
833
  if (!t.customMerge)
834
- return qe;
834
+ return Ze;
835
835
  var n = t.customMerge(e);
836
- return typeof n == "function" ? n : qe;
836
+ return typeof n == "function" ? n : Ze;
837
837
  }
838
838
  function ks(e) {
839
839
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -856,51 +856,65 @@ function Fs(e, t) {
856
856
  function Gs(e, t, n) {
857
857
  var r = {};
858
858
  return n.isMergeableObject(e) && _r(e).forEach(function(i) {
859
- r[i] = _t(e[i], n);
859
+ r[i] = gt(e[i], n);
860
860
  }), _r(t).forEach(function(i) {
861
- Fs(e, i) || (li(e, i) && n.isMergeableObject(t[i]) ? r[i] = Us(i, n)(e[i], t[i], n) : r[i] = _t(t[i], n));
861
+ Fs(e, i) || (li(e, i) && n.isMergeableObject(t[i]) ? r[i] = Us(i, n)(e[i], t[i], n) : r[i] = gt(t[i], n));
862
862
  }), r;
863
863
  }
864
- function qe(e, t, n) {
865
- n = n || {}, n.arrayMerge = n.arrayMerge || $s, n.isMergeableObject = n.isMergeableObject || Ns, n.cloneUnlessOtherwiseSpecified = _t;
864
+ function Ze(e, t, n) {
865
+ n = n || {}, n.arrayMerge = n.arrayMerge || $s, n.isMergeableObject = n.isMergeableObject || Ns, n.cloneUnlessOtherwiseSpecified = gt;
866
866
  var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
867
- return s ? r ? n.arrayMerge(e, t, n) : Gs(e, t, n) : _t(t, n);
867
+ return s ? r ? n.arrayMerge(e, t, n) : Gs(e, t, n) : gt(t, n);
868
868
  }
869
- qe.all = function(t, n) {
869
+ Ze.all = function(t, n) {
870
870
  if (!Array.isArray(t))
871
871
  throw new Error("first argument should be an array");
872
872
  return t.reduce(function(r, i) {
873
- return qe(r, i, n);
873
+ return Ze(r, i, n);
874
874
  }, {});
875
875
  };
876
- var js = qe, zs = js;
877
- const Ws = /* @__PURE__ */ Rn(zs);
878
- var Tn = function(e, t) {
879
- return Tn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
876
+ var js = Ze, zs = js;
877
+ const Ws = /* @__PURE__ */ In(zs);
878
+ /*! *****************************************************************************
879
+ Copyright (c) Microsoft Corporation.
880
+
881
+ Permission to use, copy, modify, and/or distribute this software for any
882
+ purpose with or without fee is hereby granted.
883
+
884
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
885
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
886
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
887
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
888
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
889
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
890
+ PERFORMANCE OF THIS SOFTWARE.
891
+ ***************************************************************************** */
892
+ var xn = function(e, t) {
893
+ return xn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
880
894
  n.__proto__ = r;
881
895
  } || function(n, r) {
882
896
  for (var i in r)
883
897
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
884
- }, Tn(e, t);
898
+ }, xn(e, t);
885
899
  };
886
- function Jt(e, t) {
900
+ function Zt(e, t) {
887
901
  if (typeof t != "function" && t !== null)
888
902
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
889
- Tn(e, t);
903
+ xn(e, t);
890
904
  function n() {
891
905
  this.constructor = e;
892
906
  }
893
907
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
894
908
  }
895
- var we = function() {
896
- return we = Object.assign || function(t) {
909
+ var k = function() {
910
+ return k = Object.assign || function(t) {
897
911
  for (var n, r = 1, i = arguments.length; r < i; r++) {
898
912
  n = arguments[r];
899
913
  for (var s in n)
900
914
  Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
901
915
  }
902
916
  return t;
903
- }, we.apply(this, arguments);
917
+ }, k.apply(this, arguments);
904
918
  };
905
919
  function Vs(e, t) {
906
920
  var n = {};
@@ -911,14 +925,14 @@ function Vs(e, t) {
911
925
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
912
926
  return n;
913
927
  }
914
- function fn(e, t, n) {
915
- if (n || arguments.length === 2)
928
+ function ln(e, t, n) {
929
+ if (arguments.length === 2)
916
930
  for (var r = 0, i = t.length, s; r < i; r++)
917
931
  (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
918
- return e.concat(s || Array.prototype.slice.call(t));
932
+ return e.concat(s || t);
919
933
  }
920
- function hn(e, t) {
921
- var n = t && t.cache ? t.cache : Ks, r = t && t.serializer ? t.serializer : Js, i = t && t.strategy ? t.strategy : Zs;
934
+ function cn(e, t) {
935
+ var n = t && t.cache ? t.cache : Qs, r = t && t.serializer ? t.serializer : Js, i = t && t.strategy ? t.strategy : Ys;
922
936
  return i(e, {
923
937
  cache: n,
924
938
  serializer: r
@@ -927,103 +941,95 @@ function hn(e, t) {
927
941
  function Xs(e) {
928
942
  return e == null || typeof e == "number" || typeof e == "boolean";
929
943
  }
930
- function Ys(e, t, n, r) {
944
+ function ci(e, t, n, r) {
931
945
  var i = Xs(r) ? r : n(r), s = t.get(i);
932
946
  return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
933
947
  }
934
- function ci(e, t, n) {
948
+ function fi(e, t, n) {
935
949
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
936
950
  return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
937
951
  }
938
- function fi(e, t, n, r, i) {
952
+ function Rn(e, t, n, r, i) {
939
953
  return n.bind(t, e, r, i);
940
954
  }
955
+ function Ys(e, t) {
956
+ var n = e.length === 1 ? ci : fi;
957
+ return Rn(e, this, n, t.cache.create(), t.serializer);
958
+ }
941
959
  function Zs(e, t) {
942
- var n = e.length === 1 ? Ys : ci;
943
- return fi(e, this, n, t.cache.create(), t.serializer);
960
+ return Rn(e, this, fi, t.cache.create(), t.serializer);
944
961
  }
945
962
  function qs(e, t) {
946
- return fi(e, this, ci, t.cache.create(), t.serializer);
963
+ return Rn(e, this, ci, t.cache.create(), t.serializer);
947
964
  }
948
965
  var Js = function() {
949
966
  return JSON.stringify(arguments);
950
- }, Qs = (
951
- /** @class */
952
- function() {
953
- function e() {
954
- this.cache = /* @__PURE__ */ Object.create(null);
955
- }
956
- return e.prototype.get = function(t) {
957
- return this.cache[t];
958
- }, e.prototype.set = function(t, n) {
959
- this.cache[t] = n;
960
- }, e;
961
- }()
962
- ), Ks = {
967
+ };
968
+ function Pn() {
969
+ this.cache = /* @__PURE__ */ Object.create(null);
970
+ }
971
+ Pn.prototype.get = function(e) {
972
+ return this.cache[e];
973
+ };
974
+ Pn.prototype.set = function(e, t) {
975
+ this.cache[e] = t;
976
+ };
977
+ var Qs = {
963
978
  create: function() {
964
- return new Qs();
979
+ return new Pn();
965
980
  }
966
- }, mn = {
967
- variadic: qs
968
- }, Wt = function() {
969
- return Wt = Object.assign || function(t) {
970
- for (var n, r = 1, i = arguments.length; r < i; r++) {
971
- n = arguments[r];
972
- for (var s in n)
973
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
974
- }
975
- return t;
976
- }, Wt.apply(this, arguments);
977
- };
978
- var D;
981
+ }, fn = {
982
+ variadic: Zs,
983
+ monadic: qs
984
+ }, D;
979
985
  (function(e) {
980
986
  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";
981
987
  })(D || (D = {}));
982
- var X;
988
+ var Y;
983
989
  (function(e) {
984
990
  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";
985
- })(X || (X = {}));
986
- var Je;
991
+ })(Y || (Y = {}));
992
+ var qe;
987
993
  (function(e) {
988
994
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
989
- })(Je || (Je = {}));
995
+ })(qe || (qe = {}));
990
996
  function br(e) {
991
- return e.type === X.literal;
997
+ return e.type === Y.literal;
992
998
  }
993
- function eo(e) {
994
- return e.type === X.argument;
999
+ function Ks(e) {
1000
+ return e.type === Y.argument;
995
1001
  }
996
1002
  function hi(e) {
997
- return e.type === X.number;
1003
+ return e.type === Y.number;
998
1004
  }
999
1005
  function mi(e) {
1000
- return e.type === X.date;
1006
+ return e.type === Y.date;
1001
1007
  }
1002
1008
  function di(e) {
1003
- return e.type === X.time;
1009
+ return e.type === Y.time;
1004
1010
  }
1005
1011
  function pi(e) {
1006
- return e.type === X.select;
1012
+ return e.type === Y.select;
1007
1013
  }
1008
1014
  function gi(e) {
1009
- return e.type === X.plural;
1015
+ return e.type === Y.plural;
1010
1016
  }
1011
- function to(e) {
1012
- return e.type === X.pound;
1017
+ function eo(e) {
1018
+ return e.type === Y.pound;
1013
1019
  }
1014
1020
  function _i(e) {
1015
- return e.type === X.tag;
1021
+ return e.type === Y.tag;
1016
1022
  }
1017
1023
  function bi(e) {
1018
- return !!(e && typeof e == "object" && e.type === Je.number);
1024
+ return !!(e && typeof e == "object" && e.type === qe.number);
1019
1025
  }
1020
- function Sn(e) {
1021
- return !!(e && typeof e == "object" && e.type === Je.dateTime);
1026
+ function Tn(e) {
1027
+ return !!(e && typeof e == "object" && e.type === qe.dateTime);
1022
1028
  }
1023
- var Ei = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, no = /(?:[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;
1024
- function ro(e) {
1029
+ var Ei = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, to = /(?:[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;
1030
+ function no(e) {
1025
1031
  var t = {};
1026
- return e.replace(no, function(n) {
1032
+ return e.replace(to, function(n) {
1027
1033
  var r = n.length;
1028
1034
  switch (n[0]) {
1029
1035
  case "G":
@@ -1112,21 +1118,11 @@ function ro(e) {
1112
1118
  return "";
1113
1119
  }), t;
1114
1120
  }
1115
- var Z = function() {
1116
- return Z = Object.assign || function(t) {
1117
- for (var n, r = 1, i = arguments.length; r < i; r++) {
1118
- n = arguments[r];
1119
- for (var s in n)
1120
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
1121
- }
1122
- return t;
1123
- }, Z.apply(this, arguments);
1124
- };
1125
- var io = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1126
- function so(e) {
1121
+ var ro = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1122
+ function io(e) {
1127
1123
  if (e.length === 0)
1128
1124
  throw new Error("Number skeleton cannot be empty");
1129
- for (var t = e.split(io).filter(function(y) {
1125
+ for (var t = e.split(ro).filter(function(y) {
1130
1126
  return y.length > 0;
1131
1127
  }), n = [], r = 0, i = t; r < i.length; r++) {
1132
1128
  var s = i[r], a = s.split("/");
@@ -1141,17 +1137,17 @@ function so(e) {
1141
1137
  }
1142
1138
  return n;
1143
1139
  }
1144
- function oo(e) {
1140
+ function so(e) {
1145
1141
  return e.replace(/^(.*?)-/, "");
1146
1142
  }
1147
- var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, ao = /(\*)(0+)|(#+)(0+)|(0+)/g, xi = /^(0+)$/;
1143
+ var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, oo = /(\*)(0+)|(#+)(0+)|(0+)/g, xi = /^(0+)$/;
1148
1144
  function yr(e) {
1149
1145
  var t = {};
1150
1146
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yi, function(n, r, i) {
1151
1147
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1152
1148
  }), t;
1153
1149
  }
1154
- function vi(e) {
1150
+ function Ti(e) {
1155
1151
  switch (e) {
1156
1152
  case "sign-auto":
1157
1153
  return {
@@ -1191,7 +1187,7 @@ function vi(e) {
1191
1187
  };
1192
1188
  }
1193
1189
  }
1194
- function uo(e) {
1190
+ function ao(e) {
1195
1191
  var t;
1196
1192
  if (e[0] === "E" && e[1] === "E" ? (t = {
1197
1193
  notation: "engineering"
@@ -1206,10 +1202,10 @@ function uo(e) {
1206
1202
  return t;
1207
1203
  }
1208
1204
  function xr(e) {
1209
- var t = {}, n = vi(e);
1205
+ var t = {}, n = Ti(e);
1210
1206
  return n || t;
1211
1207
  }
1212
- function lo(e) {
1208
+ function uo(e) {
1213
1209
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1214
1210
  var i = r[n];
1215
1211
  switch (i.stem) {
@@ -1233,7 +1229,7 @@ function lo(e) {
1233
1229
  continue;
1234
1230
  case "measure-unit":
1235
1231
  case "unit":
1236
- t.style = "unit", t.unit = oo(i.options[0]);
1232
+ t.style = "unit", t.unit = so(i.options[0]);
1237
1233
  continue;
1238
1234
  case "compact-short":
1239
1235
  case "K":
@@ -1244,13 +1240,13 @@ function lo(e) {
1244
1240
  t.notation = "compact", t.compactDisplay = "long";
1245
1241
  continue;
1246
1242
  case "scientific":
1247
- t = Z(Z(Z({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1248
- return Z(Z({}, c), xr(l));
1243
+ t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1244
+ return k(k({}, c), xr(l));
1249
1245
  }, {}));
1250
1246
  continue;
1251
1247
  case "engineering":
1252
- t = Z(Z(Z({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1253
- return Z(Z({}, c), xr(l));
1248
+ t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1249
+ return k(k({}, c), xr(l));
1254
1250
  }, {}));
1255
1251
  continue;
1256
1252
  case "notation-simple":
@@ -1295,7 +1291,7 @@ function lo(e) {
1295
1291
  case "integer-width":
1296
1292
  if (i.options.length > 1)
1297
1293
  throw new RangeError("integer-width stems only accept a single optional option");
1298
- i.options[0].replace(ao, function(c, l, f, _, y, M) {
1294
+ i.options[0].replace(oo, function(c, l, f, _, y, M) {
1299
1295
  if (l)
1300
1296
  t.minimumIntegerDigits = f.length;
1301
1297
  else {
@@ -1319,21 +1315,21 @@ function lo(e) {
1319
1315
  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), "";
1320
1316
  });
1321
1317
  var s = i.options[0];
1322
- s === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = Z(Z({}, t), yr(s)));
1318
+ s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t), yr(s)));
1323
1319
  continue;
1324
1320
  }
1325
1321
  if (yi.test(i.stem)) {
1326
- t = Z(Z({}, t), yr(i.stem));
1322
+ t = k(k({}, t), yr(i.stem));
1327
1323
  continue;
1328
1324
  }
1329
- var a = vi(i.stem);
1330
- a && (t = Z(Z({}, t), a));
1331
- var u = uo(i.stem);
1332
- u && (t = Z(Z({}, t), u));
1325
+ var a = Ti(i.stem);
1326
+ a && (t = k(k({}, t), a));
1327
+ var u = ao(i.stem);
1328
+ u && (t = k(k({}, t), u));
1333
1329
  }
1334
1330
  return t;
1335
1331
  }
1336
- var Ct = {
1332
+ var Mt = {
1337
1333
  "001": [
1338
1334
  "H",
1339
1335
  "h"
@@ -2748,13 +2744,13 @@ var Ct = {
2748
2744
  "h"
2749
2745
  ]
2750
2746
  };
2751
- function co(e, t) {
2747
+ function lo(e, t) {
2752
2748
  for (var n = "", r = 0; r < e.length; r++) {
2753
2749
  var i = e.charAt(r);
2754
2750
  if (i === "j") {
2755
2751
  for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2756
2752
  s++, r++;
2757
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = fo(t);
2753
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = co(t);
2758
2754
  for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2759
2755
  n += c;
2760
2756
  for (; a-- > 0; )
@@ -2764,7 +2760,7 @@ function co(e, t) {
2764
2760
  }
2765
2761
  return n;
2766
2762
  }
2767
- function fo(e) {
2763
+ function co(e) {
2768
2764
  var t = e.hourCycle;
2769
2765
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2770
2766
  e.hourCycles && // @ts-ignore
@@ -2783,23 +2779,23 @@ function fo(e) {
2783
2779
  }
2784
2780
  var n = e.language, r;
2785
2781
  n !== "root" && (r = e.maximize().region);
2786
- var i = Ct[r || ""] || Ct[n || ""] || Ct["".concat(n, "-001")] || Ct["001"];
2782
+ var i = Mt[r || ""] || Mt[n || ""] || Mt["".concat(n, "-001")] || Mt["001"];
2787
2783
  return i[0];
2788
2784
  }
2789
- var dn, ho = new RegExp("^".concat(Ei.source, "*")), mo = new RegExp("".concat(Ei.source, "*$"));
2785
+ var hn, fo = new RegExp("^".concat(Ei.source, "*")), ho = new RegExp("".concat(Ei.source, "*$"));
2790
2786
  function B(e, t) {
2791
2787
  return { start: e, end: t };
2792
2788
  }
2793
- var po = !!String.prototype.startsWith && "_a".startsWith("a", 1), go = !!String.fromCodePoint, _o = !!Object.fromEntries, bo = !!String.prototype.codePointAt, Eo = !!String.prototype.trimStart, yo = !!String.prototype.trimEnd, xo = !!Number.isSafeInteger, vo = xo ? Number.isSafeInteger : function(e) {
2789
+ var mo = !!String.prototype.startsWith && "_a".startsWith("a", 1), po = !!String.fromCodePoint, go = !!Object.fromEntries, _o = !!String.prototype.codePointAt, bo = !!String.prototype.trimStart, Eo = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, xo = yo ? Number.isSafeInteger : function(e) {
2794
2790
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2795
- }, An = !0;
2791
+ }, vn = !0;
2796
2792
  try {
2797
2793
  var To = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
- An = ((dn = To.exec("a")) === null || dn === void 0 ? void 0 : dn[0]) === "a";
2794
+ vn = ((hn = To.exec("a")) === null || hn === void 0 ? void 0 : hn[0]) === "a";
2799
2795
  } catch (e) {
2800
- An = !1;
2796
+ vn = !1;
2801
2797
  }
2802
- var vr = po ? (
2798
+ var Tr = mo ? (
2803
2799
  // Native
2804
2800
  function(t, n, r) {
2805
2801
  return t.startsWith(n, r);
@@ -2809,7 +2805,7 @@ var vr = po ? (
2809
2805
  function(t, n, r) {
2810
2806
  return t.slice(r, r + n.length) === n;
2811
2807
  }
2812
- ), wn = go ? String.fromCodePoint : (
2808
+ ), Sn = po ? String.fromCodePoint : (
2813
2809
  // IE11
2814
2810
  function() {
2815
2811
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2821,9 +2817,9 @@ var vr = po ? (
2821
2817
  }
2822
2818
  return r;
2823
2819
  }
2824
- ), Tr = (
2820
+ ), vr = (
2825
2821
  // native
2826
- _o ? Object.fromEntries : (
2822
+ go ? Object.fromEntries : (
2827
2823
  // Ponyfill
2828
2824
  function(t) {
2829
2825
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2833,7 +2829,7 @@ var vr = po ? (
2833
2829
  return n;
2834
2830
  }
2835
2831
  )
2836
- ), Ti = bo ? (
2832
+ ), vi = _o ? (
2837
2833
  // Native
2838
2834
  function(t, n) {
2839
2835
  return t.codePointAt(n);
@@ -2847,7 +2843,7 @@ var vr = po ? (
2847
2843
  return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2848
2844
  }
2849
2845
  }
2850
- ), So = Eo ? (
2846
+ ), vo = bo ? (
2851
2847
  // Native
2852
2848
  function(t) {
2853
2849
  return t.trimStart();
@@ -2855,9 +2851,9 @@ var vr = po ? (
2855
2851
  ) : (
2856
2852
  // Ponyfill
2857
2853
  function(t) {
2858
- return t.replace(ho, "");
2854
+ return t.replace(fo, "");
2859
2855
  }
2860
- ), Ao = yo ? (
2856
+ ), So = Eo ? (
2861
2857
  // Native
2862
2858
  function(t) {
2863
2859
  return t.trimEnd();
@@ -2865,32 +2861,32 @@ var vr = po ? (
2865
2861
  ) : (
2866
2862
  // Ponyfill
2867
2863
  function(t) {
2868
- return t.replace(mo, "");
2864
+ return t.replace(ho, "");
2869
2865
  }
2870
2866
  );
2871
2867
  function Si(e, t) {
2872
2868
  return new RegExp(e, t);
2873
2869
  }
2874
- var On;
2875
- if (An) {
2870
+ var An;
2871
+ if (vn) {
2876
2872
  var Sr = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2877
- On = function(t, n) {
2873
+ An = function(t, n) {
2878
2874
  var r;
2879
2875
  Sr.lastIndex = n;
2880
2876
  var i = Sr.exec(t);
2881
2877
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2882
2878
  };
2883
2879
  } else
2884
- On = function(t, n) {
2880
+ An = function(t, n) {
2885
2881
  for (var r = []; ; ) {
2886
- var i = Ti(t, n);
2887
- if (i === void 0 || Ai(i) || Co(i))
2882
+ var i = vi(t, n);
2883
+ if (i === void 0 || Ai(i) || Mo(i))
2888
2884
  break;
2889
2885
  r.push(i), n += i >= 65536 ? 2 : 1;
2890
2886
  }
2891
- return wn.apply(void 0, r);
2887
+ return Sn.apply(void 0, r);
2892
2888
  };
2893
- var wo = (
2889
+ var Ao = (
2894
2890
  /** @class */
2895
2891
  function() {
2896
2892
  function e(t, n) {
@@ -2914,14 +2910,14 @@ var wo = (
2914
2910
  if (s === 35 && (n === "plural" || n === "selectordinal")) {
2915
2911
  var u = this.clonePosition();
2916
2912
  this.bump(), i.push({
2917
- type: X.pound,
2913
+ type: Y.pound,
2918
2914
  location: B(u, this.clonePosition())
2919
2915
  });
2920
2916
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2921
2917
  if (r)
2922
2918
  break;
2923
2919
  return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2924
- } else if (s === 60 && !this.ignoreTag && Mn(this.peek() || 0)) {
2920
+ } else if (s === 60 && !this.ignoreTag && wn(this.peek() || 0)) {
2925
2921
  var a = this.parseTag(t, n);
2926
2922
  if (a.err)
2927
2923
  return a;
@@ -2942,7 +2938,7 @@ var wo = (
2942
2938
  if (this.bumpSpace(), this.bumpIf("/>"))
2943
2939
  return {
2944
2940
  val: {
2945
- type: X.literal,
2941
+ type: Y.literal,
2946
2942
  value: "<".concat(i, "/>"),
2947
2943
  location: B(r, this.clonePosition())
2948
2944
  },
@@ -2954,12 +2950,12 @@ var wo = (
2954
2950
  return s;
2955
2951
  var a = s.val, u = this.clonePosition();
2956
2952
  if (this.bumpIf("</")) {
2957
- if (this.isEOF() || !Mn(this.char()))
2953
+ if (this.isEOF() || !wn(this.char()))
2958
2954
  return this.error(D.INVALID_TAG, B(u, this.clonePosition()));
2959
2955
  var c = this.clonePosition(), l = this.parseTagName();
2960
2956
  return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2961
2957
  val: {
2962
- type: X.tag,
2958
+ type: Y.tag,
2963
2959
  value: i,
2964
2960
  children: a,
2965
2961
  location: B(r, this.clonePosition())
@@ -2972,7 +2968,7 @@ var wo = (
2972
2968
  return this.error(D.INVALID_TAG, B(r, this.clonePosition()));
2973
2969
  }, e.prototype.parseTagName = function() {
2974
2970
  var t = this.offset();
2975
- for (this.bump(); !this.isEOF() && Mo(this.char()); )
2971
+ for (this.bump(); !this.isEOF() && Oo(this.char()); )
2976
2972
  this.bump();
2977
2973
  return this.message.slice(t, this.offset());
2978
2974
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2996,12 +2992,12 @@ var wo = (
2996
2992
  }
2997
2993
  var c = B(r, this.clonePosition());
2998
2994
  return {
2999
- val: { type: X.literal, value: i, location: c },
2995
+ val: { type: Y.literal, value: i, location: c },
3000
2996
  err: null
3001
2997
  };
3002
2998
  }, e.prototype.tryParseLeftAngleBracket = function() {
3003
2999
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3004
- !Oo(this.peek() || 0)) ? (this.bump(), "<") : null;
3000
+ !wo(this.peek() || 0)) ? (this.bump(), "<") : null;
3005
3001
  }, e.prototype.tryParseQuote = function(t) {
3006
3002
  if (this.isEOF() || this.char() !== 39)
3007
3003
  return null;
@@ -3035,12 +3031,12 @@ var wo = (
3035
3031
  n.push(r);
3036
3032
  this.bump();
3037
3033
  }
3038
- return wn.apply(void 0, n);
3034
+ return Sn.apply(void 0, n);
3039
3035
  }, e.prototype.tryParseUnquoted = function(t, n) {
3040
3036
  if (this.isEOF())
3041
3037
  return null;
3042
3038
  var r = this.char();
3043
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), wn(r));
3039
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Sn(r));
3044
3040
  }, e.prototype.parseArgument = function(t, n) {
3045
3041
  var r = this.clonePosition();
3046
3042
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3056,7 +3052,7 @@ var wo = (
3056
3052
  case 125:
3057
3053
  return this.bump(), {
3058
3054
  val: {
3059
- type: X.argument,
3055
+ type: Y.argument,
3060
3056
  // value does not include the opening and closing braces.
3061
3057
  value: i,
3062
3058
  location: B(r, this.clonePosition())
@@ -3069,7 +3065,7 @@ var wo = (
3069
3065
  return this.error(D.MALFORMED_ARGUMENT, B(r, this.clonePosition()));
3070
3066
  }
3071
3067
  }, e.prototype.parseIdentifierIfPossible = function() {
3072
- var t = this.clonePosition(), n = this.offset(), r = On(this.message, n), i = n + r.length;
3068
+ var t = this.clonePosition(), n = this.offset(), r = An(this.message, n), i = n + r.length;
3073
3069
  this.bumpTo(i);
3074
3070
  var s = this.clonePosition(), a = B(t, s);
3075
3071
  return { value: r, location: a };
@@ -3088,7 +3084,7 @@ var wo = (
3088
3084
  var f = this.clonePosition(), _ = this.parseSimpleArgStyleIfPossible();
3089
3085
  if (_.err)
3090
3086
  return _;
3091
- var y = Ao(_.val);
3087
+ var y = So(_.val);
3092
3088
  if (y.length === 0)
3093
3089
  return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
3094
3090
  var M = B(f, this.clonePosition());
@@ -3098,25 +3094,25 @@ var wo = (
3098
3094
  if (b.err)
3099
3095
  return b;
3100
3096
  var d = B(i, this.clonePosition());
3101
- if (l && vr(l == null ? void 0 : l.style, "::", 0)) {
3102
- var C = So(l.style.slice(2));
3097
+ if (l && Tr(l == null ? void 0 : l.style, "::", 0)) {
3098
+ var C = vo(l.style.slice(2));
3103
3099
  if (u === "number") {
3104
3100
  var _ = this.parseNumberSkeletonFromString(C, l.styleLocation);
3105
3101
  return _.err ? _ : {
3106
- val: { type: X.number, value: r, location: d, style: _.val },
3102
+ val: { type: Y.number, value: r, location: d, style: _.val },
3107
3103
  err: null
3108
3104
  };
3109
3105
  } else {
3110
3106
  if (C.length === 0)
3111
3107
  return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
3112
- var F = C;
3113
- this.locale && (F = co(C, this.locale));
3108
+ var G = C;
3109
+ this.locale && (G = lo(C, this.locale));
3114
3110
  var y = {
3115
- type: Je.dateTime,
3116
- pattern: F,
3111
+ type: qe.dateTime,
3112
+ pattern: G,
3117
3113
  location: l.styleLocation,
3118
- parsedOptions: this.shouldParseSkeletons ? ro(F) : {}
3119
- }, $ = u === "date" ? X.date : X.time;
3114
+ parsedOptions: this.shouldParseSkeletons ? no(G) : {}
3115
+ }, $ = u === "date" ? Y.date : Y.time;
3120
3116
  return {
3121
3117
  val: { type: $, value: r, location: d, style: y },
3122
3118
  err: null
@@ -3125,7 +3121,7 @@ var wo = (
3125
3121
  }
3126
3122
  return {
3127
3123
  val: {
3128
- type: u === "number" ? X.number : u === "date" ? X.date : X.time,
3124
+ type: u === "number" ? Y.number : u === "date" ? Y.date : Y.time,
3129
3125
  value: r,
3130
3126
  location: d,
3131
3127
  style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
@@ -3138,9 +3134,9 @@ var wo = (
3138
3134
  case "select": {
3139
3135
  var A = this.clonePosition();
3140
3136
  if (this.bumpSpace(), !this.bumpIf(","))
3141
- return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, Wt({}, A)));
3137
+ return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, k({}, A)));
3142
3138
  this.bumpSpace();
3143
- var H = this.parseIdentifierIfPossible(), R = 0;
3139
+ var H = this.parseIdentifierIfPossible(), P = 0;
3144
3140
  if (u !== "select" && H.value === "offset") {
3145
3141
  if (!this.bumpIf(":"))
3146
3142
  return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
@@ -3148,31 +3144,31 @@ var wo = (
3148
3144
  var _ = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3149
3145
  if (_.err)
3150
3146
  return _;
3151
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), R = _.val;
3147
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), P = _.val;
3152
3148
  }
3153
- var k = this.tryParsePluralOrSelectOptions(t, u, n, H);
3154
- if (k.err)
3155
- return k;
3149
+ var F = this.tryParsePluralOrSelectOptions(t, u, n, H);
3150
+ if (F.err)
3151
+ return F;
3156
3152
  var b = this.tryParseArgumentClose(i);
3157
3153
  if (b.err)
3158
3154
  return b;
3159
- var Y = B(i, this.clonePosition());
3155
+ var Z = B(i, this.clonePosition());
3160
3156
  return u === "select" ? {
3161
3157
  val: {
3162
- type: X.select,
3158
+ type: Y.select,
3163
3159
  value: r,
3164
- options: Tr(k.val),
3165
- location: Y
3160
+ options: vr(F.val),
3161
+ location: Z
3166
3162
  },
3167
3163
  err: null
3168
3164
  } : {
3169
3165
  val: {
3170
- type: X.plural,
3166
+ type: Y.plural,
3171
3167
  value: r,
3172
- options: Tr(k.val),
3173
- offset: R,
3168
+ options: vr(F.val),
3169
+ offset: P,
3174
3170
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3175
- location: Y
3171
+ location: Z
3176
3172
  },
3177
3173
  err: null
3178
3174
  };
@@ -3220,16 +3216,16 @@ var wo = (
3220
3216
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3221
3217
  var r = [];
3222
3218
  try {
3223
- r = so(t);
3219
+ r = io(t);
3224
3220
  } catch (i) {
3225
3221
  return this.error(D.INVALID_NUMBER_SKELETON, n);
3226
3222
  }
3227
3223
  return {
3228
3224
  val: {
3229
- type: Je.number,
3225
+ type: qe.number,
3230
3226
  tokens: r,
3231
3227
  location: n,
3232
- parsedOptions: this.shouldParseSkeletons ? lo(r) : {}
3228
+ parsedOptions: this.shouldParseSkeletons ? uo(r) : {}
3233
3229
  },
3234
3230
  err: null
3235
3231
  };
@@ -3277,7 +3273,7 @@ var wo = (
3277
3273
  break;
3278
3274
  }
3279
3275
  var c = B(i, this.clonePosition());
3280
- return s ? (a *= r, vo(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3276
+ return s ? (a *= r, xo(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3281
3277
  }, e.prototype.offset = function() {
3282
3278
  return this.position.offset;
3283
3279
  }, e.prototype.isEOF = function() {
@@ -3292,7 +3288,7 @@ var wo = (
3292
3288
  var t = this.position.offset;
3293
3289
  if (t >= this.message.length)
3294
3290
  throw Error("out of bound");
3295
- var n = Ti(this.message, t);
3291
+ var n = vi(this.message, t);
3296
3292
  if (n === void 0)
3297
3293
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3298
3294
  return n;
@@ -3311,7 +3307,7 @@ var wo = (
3311
3307
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3312
3308
  }
3313
3309
  }, e.prototype.bumpIf = function(t) {
3314
- if (vr(this.message, t, this.offset())) {
3310
+ if (Tr(this.message, t, this.offset())) {
3315
3311
  for (var n = 0; n < t.length; n++)
3316
3312
  this.bump();
3317
3313
  return !0;
@@ -3343,47 +3339,47 @@ var wo = (
3343
3339
  }, e;
3344
3340
  }()
3345
3341
  );
3346
- function Mn(e) {
3342
+ function wn(e) {
3347
3343
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3348
3344
  }
3349
- function Oo(e) {
3350
- return Mn(e) || e === 47;
3345
+ function wo(e) {
3346
+ return wn(e) || e === 47;
3351
3347
  }
3352
- function Mo(e) {
3348
+ function Oo(e) {
3353
3349
  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;
3354
3350
  }
3355
3351
  function Ai(e) {
3356
3352
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3357
3353
  }
3358
- function Co(e) {
3354
+ function Mo(e) {
3359
3355
  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;
3360
3356
  }
3361
- function Cn(e) {
3357
+ function On(e) {
3362
3358
  e.forEach(function(t) {
3363
3359
  if (delete t.location, pi(t) || gi(t))
3364
3360
  for (var n in t.options)
3365
- delete t.options[n].location, Cn(t.options[n].value);
3361
+ delete t.options[n].location, On(t.options[n].value);
3366
3362
  else
3367
- hi(t) && bi(t.style) || (mi(t) || di(t)) && Sn(t.style) ? delete t.style.location : _i(t) && Cn(t.children);
3363
+ hi(t) && bi(t.style) || (mi(t) || di(t)) && Tn(t.style) ? delete t.style.location : _i(t) && On(t.children);
3368
3364
  });
3369
3365
  }
3370
- function Lo(e, t) {
3371
- t === void 0 && (t = {}), t = Wt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3372
- var n = new wo(e, t).parse();
3366
+ function Co(e, t) {
3367
+ t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3368
+ var n = new Ao(e, t).parse();
3373
3369
  if (n.err) {
3374
3370
  var r = SyntaxError(D[n.err.kind]);
3375
3371
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3376
3372
  }
3377
- return t != null && t.captureLocation || Cn(n.val), n.val;
3373
+ return t != null && t.captureLocation || On(n.val), n.val;
3378
3374
  }
3379
- var Qe;
3375
+ var Je;
3380
3376
  (function(e) {
3381
3377
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3382
- })(Qe || (Qe = {}));
3383
- var Qt = (
3378
+ })(Je || (Je = {}));
3379
+ var qt = (
3384
3380
  /** @class */
3385
3381
  function(e) {
3386
- Jt(t, e);
3382
+ Zt(t, e);
3387
3383
  function t(n, r, i) {
3388
3384
  var s = e.call(this, n) || this;
3389
3385
  return s.code = r, s.originalMessage = i, s;
@@ -3395,44 +3391,44 @@ var Qt = (
3395
3391
  ), Ar = (
3396
3392
  /** @class */
3397
3393
  function(e) {
3398
- Jt(t, e);
3394
+ Zt(t, e);
3399
3395
  function t(n, r, i, s) {
3400
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Qe.INVALID_VALUE, s) || this;
3396
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Je.INVALID_VALUE, s) || this;
3401
3397
  }
3402
3398
  return t;
3403
- }(Qt)
3404
- ), No = (
3399
+ }(qt)
3400
+ ), Lo = (
3405
3401
  /** @class */
3406
3402
  function(e) {
3407
- Jt(t, e);
3403
+ Zt(t, e);
3408
3404
  function t(n, r, i) {
3409
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Qe.INVALID_VALUE, i) || this;
3405
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Je.INVALID_VALUE, i) || this;
3410
3406
  }
3411
3407
  return t;
3412
- }(Qt)
3413
- ), Ho = (
3408
+ }(qt)
3409
+ ), No = (
3414
3410
  /** @class */
3415
3411
  function(e) {
3416
- Jt(t, e);
3412
+ Zt(t, e);
3417
3413
  function t(n, r) {
3418
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Qe.MISSING_VALUE, r) || this;
3414
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Je.MISSING_VALUE, r) || this;
3419
3415
  }
3420
3416
  return t;
3421
- }(Qt)
3417
+ }(qt)
3422
3418
  ), ce;
3423
3419
  (function(e) {
3424
3420
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3425
3421
  })(ce || (ce = {}));
3426
- function Io(e) {
3422
+ function Ho(e) {
3427
3423
  return e.length < 2 ? e : e.reduce(function(t, n) {
3428
3424
  var r = t[t.length - 1];
3429
3425
  return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
3430
3426
  }, []);
3431
3427
  }
3432
- function Po(e) {
3428
+ function Io(e) {
3433
3429
  return typeof e == "function";
3434
3430
  }
3435
- function $t(e, t, n, r, i, s, a) {
3431
+ function Bt(e, t, n, r, i, s, a) {
3436
3432
  if (e.length === 1 && br(e[0]))
3437
3433
  return [
3438
3434
  {
@@ -3449,7 +3445,7 @@ function $t(e, t, n, r, i, s, a) {
3449
3445
  });
3450
3446
  continue;
3451
3447
  }
3452
- if (to(f)) {
3448
+ if (eo(f)) {
3453
3449
  typeof s == "number" && u.push({
3454
3450
  type: ce.literal,
3455
3451
  value: n.getNumberFormat(t).format(s)
@@ -3458,9 +3454,9 @@ function $t(e, t, n, r, i, s, a) {
3458
3454
  }
3459
3455
  var _ = f.value;
3460
3456
  if (!(i && _ in i))
3461
- throw new Ho(_, a);
3457
+ throw new No(_, a);
3462
3458
  var y = i[_];
3463
- if (eo(f)) {
3459
+ if (Ks(f)) {
3464
3460
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), u.push({
3465
3461
  type: typeof y == "string" ? ce.literal : ce.object,
3466
3462
  value: y
@@ -3468,7 +3464,7 @@ function $t(e, t, n, r, i, s, a) {
3468
3464
  continue;
3469
3465
  }
3470
3466
  if (mi(f)) {
3471
- var M = typeof f.style == "string" ? r.date[f.style] : Sn(f.style) ? f.style.parsedOptions : void 0;
3467
+ var M = typeof f.style == "string" ? r.date[f.style] : Tn(f.style) ? f.style.parsedOptions : void 0;
3472
3468
  u.push({
3473
3469
  type: ce.literal,
3474
3470
  value: n.getDateTimeFormat(t, M).format(y)
@@ -3476,7 +3472,7 @@ function $t(e, t, n, r, i, s, a) {
3476
3472
  continue;
3477
3473
  }
3478
3474
  if (di(f)) {
3479
- var M = typeof f.style == "string" ? r.time[f.style] : Sn(f.style) ? f.style.parsedOptions : r.time.medium;
3475
+ var M = typeof f.style == "string" ? r.time[f.style] : Tn(f.style) ? f.style.parsedOptions : r.time.medium;
3480
3476
  u.push({
3481
3477
  type: ce.literal,
3482
3478
  value: n.getDateTimeFormat(t, M).format(y)
@@ -3493,15 +3489,15 @@ function $t(e, t, n, r, i, s, a) {
3493
3489
  }
3494
3490
  if (_i(f)) {
3495
3491
  var b = f.children, d = f.value, C = i[d];
3496
- if (!Po(C))
3497
- throw new No(d, "function", a);
3498
- var F = $t(b, t, n, r, i, s), $ = C(F.map(function(R) {
3499
- return R.value;
3492
+ if (!Io(C))
3493
+ throw new Lo(d, "function", a);
3494
+ var G = Bt(b, t, n, r, i, s), $ = C(G.map(function(P) {
3495
+ return P.value;
3500
3496
  }));
3501
- Array.isArray($) || ($ = [$]), u.push.apply(u, $.map(function(R) {
3497
+ Array.isArray($) || ($ = [$]), u.push.apply(u, $.map(function(P) {
3502
3498
  return {
3503
- type: typeof R == "string" ? ce.literal : ce.object,
3504
- value: R
3499
+ type: typeof P == "string" ? ce.literal : ce.object,
3500
+ value: P
3505
3501
  };
3506
3502
  }));
3507
3503
  }
@@ -3509,38 +3505,38 @@ function $t(e, t, n, r, i, s, a) {
3509
3505
  var A = f.options[y] || f.options.other;
3510
3506
  if (!A)
3511
3507
  throw new Ar(f.value, y, Object.keys(f.options), a);
3512
- u.push.apply(u, $t(A.value, t, n, r, i));
3508
+ u.push.apply(u, Bt(A.value, t, n, r, i));
3513
3509
  continue;
3514
3510
  }
3515
3511
  if (gi(f)) {
3516
3512
  var A = f.options["=".concat(y)];
3517
3513
  if (!A) {
3518
3514
  if (!Intl.PluralRules)
3519
- throw new Qt(`Intl.PluralRules is not available in this environment.
3515
+ throw new qt(`Intl.PluralRules is not available in this environment.
3520
3516
  Try polyfilling it using "@formatjs/intl-pluralrules"
3521
- `, Qe.MISSING_INTL_API, a);
3517
+ `, Je.MISSING_INTL_API, a);
3522
3518
  var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3523
3519
  A = f.options[H] || f.options.other;
3524
3520
  }
3525
3521
  if (!A)
3526
3522
  throw new Ar(f.value, y, Object.keys(f.options), a);
3527
- u.push.apply(u, $t(A.value, t, n, r, i, y - (f.offset || 0)));
3523
+ u.push.apply(u, Bt(A.value, t, n, r, i, y - (f.offset || 0)));
3528
3524
  continue;
3529
3525
  }
3530
3526
  }
3531
- return Io(u);
3527
+ return Ho(u);
3532
3528
  }
3533
3529
  function Ro(e, t) {
3534
- return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3535
- return n[r] = we(we({}, e[r]), t[r] || {}), n;
3530
+ return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3531
+ return n[r] = k(k({}, e[r]), t[r] || {}), n;
3536
3532
  }, {})) : e;
3537
3533
  }
3538
- function Do(e, t) {
3534
+ function Po(e, t) {
3539
3535
  return t ? Object.keys(e).reduce(function(n, r) {
3540
3536
  return n[r] = Ro(e[r], t[r]), n;
3541
- }, we({}, e)) : e;
3537
+ }, k({}, e)) : e;
3542
3538
  }
3543
- function pn(e) {
3539
+ function mn(e) {
3544
3540
  return {
3545
3541
  create: function() {
3546
3542
  return {
@@ -3554,35 +3550,35 @@ function pn(e) {
3554
3550
  }
3555
3551
  };
3556
3552
  }
3557
- function Bo(e) {
3553
+ function Do(e) {
3558
3554
  return e === void 0 && (e = {
3559
3555
  number: {},
3560
3556
  dateTime: {},
3561
3557
  pluralRules: {}
3562
3558
  }), {
3563
- getNumberFormat: hn(function() {
3559
+ getNumberFormat: cn(function() {
3564
3560
  for (var t, n = [], r = 0; r < arguments.length; r++)
3565
3561
  n[r] = arguments[r];
3566
- return new ((t = Intl.NumberFormat).bind.apply(t, fn([void 0], n, !1)))();
3562
+ return new ((t = Intl.NumberFormat).bind.apply(t, ln([void 0], n, !1)))();
3567
3563
  }, {
3568
- cache: pn(e.number),
3569
- strategy: mn.variadic
3564
+ cache: mn(e.number),
3565
+ strategy: fn.variadic
3570
3566
  }),
3571
- getDateTimeFormat: hn(function() {
3567
+ getDateTimeFormat: cn(function() {
3572
3568
  for (var t, n = [], r = 0; r < arguments.length; r++)
3573
3569
  n[r] = arguments[r];
3574
- return new ((t = Intl.DateTimeFormat).bind.apply(t, fn([void 0], n, !1)))();
3570
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ln([void 0], n, !1)))();
3575
3571
  }, {
3576
- cache: pn(e.dateTime),
3577
- strategy: mn.variadic
3572
+ cache: mn(e.dateTime),
3573
+ strategy: fn.variadic
3578
3574
  }),
3579
- getPluralRules: hn(function() {
3575
+ getPluralRules: cn(function() {
3580
3576
  for (var t, n = [], r = 0; r < arguments.length; r++)
3581
3577
  n[r] = arguments[r];
3582
- return new ((t = Intl.PluralRules).bind.apply(t, fn([void 0], n, !1)))();
3578
+ return new ((t = Intl.PluralRules).bind.apply(t, ln([void 0], n, !1)))();
3583
3579
  }, {
3584
- cache: pn(e.pluralRules),
3585
- strategy: mn.variadic
3580
+ cache: mn(e.pluralRules),
3581
+ strategy: fn.variadic
3586
3582
  })
3587
3583
  };
3588
3584
  }
@@ -3605,7 +3601,7 @@ var wi = (
3605
3601
  }, []);
3606
3602
  return f.length <= 1 ? f[0] || "" : f;
3607
3603
  }, this.formatToParts = function(c) {
3608
- return $t(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3604
+ return Bt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3609
3605
  }, this.resolvedOptions = function() {
3610
3606
  var c;
3611
3607
  return {
@@ -3619,12 +3615,12 @@ var wi = (
3619
3615
  var a = i || {};
3620
3616
  a.formatters;
3621
3617
  var u = Vs(a, ["formatters"]);
3622
- this.ast = e.__parse(t, we(we({}, u), { locale: this.resolvedLocale }));
3618
+ this.ast = e.__parse(t, k(k({}, u), { locale: this.resolvedLocale }));
3623
3619
  } else
3624
3620
  this.ast = t;
3625
3621
  if (!Array.isArray(this.ast))
3626
3622
  throw new TypeError("A message must be provided as a String or AST.");
3627
- this.formats = Do(e.formats, r), this.formatters = i && i.formatters || Bo(this.formatterCache);
3623
+ this.formats = Po(e.formats, r), this.formatters = i && i.formatters || Do(this.formatterCache);
3628
3624
  }
3629
3625
  return Object.defineProperty(e, "defaultLocale", {
3630
3626
  get: function() {
@@ -3637,7 +3633,7 @@ var wi = (
3637
3633
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3638
3634
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3639
3635
  }
3640
- }, e.__parse = Lo, e.formats = {
3636
+ }, e.__parse = Co, e.formats = {
3641
3637
  number: {
3642
3638
  integer: {
3643
3639
  maximumFractionDigits: 0
@@ -3698,7 +3694,7 @@ var wi = (
3698
3694
  }, e;
3699
3695
  }()
3700
3696
  );
3701
- function $o(e, t) {
3697
+ function Bo(e, t) {
3702
3698
  if (t == null)
3703
3699
  return;
3704
3700
  if (t in e)
@@ -3719,36 +3715,36 @@ function $o(e, t) {
3719
3715
  r = void 0;
3720
3716
  return r;
3721
3717
  }
3722
- const Ie = {}, Uo = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Oi = (e, t) => {
3718
+ const He = {}, $o = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), Oi = (e, t) => {
3723
3719
  if (t == null)
3724
3720
  return;
3725
- if (t in Ie && e in Ie[t])
3726
- return Ie[t][e];
3727
- const n = xt(t);
3721
+ if (t in He && e in He[t])
3722
+ return He[t][e];
3723
+ const n = yt(t);
3728
3724
  for (let r = 0; r < n.length; r++) {
3729
- const i = n[r], s = Fo(i, e);
3725
+ const i = n[r], s = ko(i, e);
3730
3726
  if (s)
3731
- return Uo(e, t, s);
3727
+ return $o(e, t, s);
3732
3728
  }
3733
3729
  };
3734
3730
  let Dn;
3735
- const yt = Et({});
3736
- function ko(e) {
3731
+ const Et = bt({});
3732
+ function Uo(e) {
3737
3733
  return Dn[e] || null;
3738
3734
  }
3739
3735
  function Mi(e) {
3740
3736
  return e in Dn;
3741
3737
  }
3742
- function Fo(e, t) {
3738
+ function ko(e, t) {
3743
3739
  if (!Mi(e))
3744
3740
  return null;
3745
- const n = ko(e);
3746
- return $o(n, t);
3741
+ const n = Uo(e);
3742
+ return Bo(n, t);
3747
3743
  }
3748
- function Go(e) {
3744
+ function Fo(e) {
3749
3745
  if (e == null)
3750
3746
  return;
3751
- const t = xt(e);
3747
+ const t = yt(e);
3752
3748
  for (let n = 0; n < t.length; n++) {
3753
3749
  const r = t[n];
3754
3750
  if (Mi(r))
@@ -3756,64 +3752,64 @@ function Go(e) {
3756
3752
  }
3757
3753
  }
3758
3754
  function Ci(e, ...t) {
3759
- delete Ie[e], yt.update((n) => (n[e] = Ws.all([n[e] || {}, ...t]), n));
3755
+ delete He[e], Et.update((n) => (n[e] = Ws.all([n[e] || {}, ...t]), n));
3760
3756
  }
3761
- tt(
3762
- [yt],
3757
+ et(
3758
+ [Et],
3763
3759
  ([e]) => Object.keys(e)
3764
3760
  );
3765
- yt.subscribe((e) => Dn = e);
3766
- const Ut = {};
3767
- function jo(e, t) {
3768
- Ut[e].delete(t), Ut[e].size === 0 && delete Ut[e];
3761
+ Et.subscribe((e) => Dn = e);
3762
+ const $t = {};
3763
+ function Go(e, t) {
3764
+ $t[e].delete(t), $t[e].size === 0 && delete $t[e];
3769
3765
  }
3770
3766
  function Li(e) {
3771
- return Ut[e];
3767
+ return $t[e];
3772
3768
  }
3773
- function zo(e) {
3774
- return xt(e).map((t) => {
3769
+ function jo(e) {
3770
+ return yt(e).map((t) => {
3775
3771
  const n = Li(t);
3776
3772
  return [t, n ? [...n] : []];
3777
3773
  }).filter(([, t]) => t.length > 0);
3778
3774
  }
3779
- function Vt(e) {
3780
- return e == null ? !1 : xt(e).some(
3775
+ function zt(e) {
3776
+ return e == null ? !1 : yt(e).some(
3781
3777
  (t) => {
3782
3778
  var n;
3783
3779
  return (n = Li(t)) == null ? void 0 : n.size;
3784
3780
  }
3785
3781
  );
3786
3782
  }
3787
- function Wo(e, t) {
3783
+ function zo(e, t) {
3788
3784
  return Promise.all(
3789
- t.map((r) => (jo(e, r), r().then((i) => i.default || i)))
3785
+ t.map((r) => (Go(e, r), r().then((i) => i.default || i)))
3790
3786
  ).then((r) => Ci(e, ...r));
3791
3787
  }
3792
- const at = {};
3788
+ const ot = {};
3793
3789
  function Ni(e) {
3794
- if (!Vt(e))
3795
- return e in at ? at[e] : Promise.resolve();
3796
- const t = zo(e);
3797
- return at[e] = Promise.all(
3790
+ if (!zt(e))
3791
+ return e in ot ? ot[e] : Promise.resolve();
3792
+ const t = jo(e);
3793
+ return ot[e] = Promise.all(
3798
3794
  t.map(
3799
- ([n, r]) => Wo(n, r)
3795
+ ([n, r]) => zo(n, r)
3800
3796
  )
3801
3797
  ).then(() => {
3802
- if (Vt(e))
3798
+ if (zt(e))
3803
3799
  return Ni(e);
3804
- delete at[e];
3805
- }), at[e];
3800
+ delete ot[e];
3801
+ }), ot[e];
3806
3802
  }
3807
- var wr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Yo = (e, t) => {
3803
+ var wr = Object.getOwnPropertySymbols, Wo = Object.prototype.hasOwnProperty, Vo = Object.prototype.propertyIsEnumerable, Xo = (e, t) => {
3808
3804
  var n = {};
3809
3805
  for (var r in e)
3810
- Vo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3806
+ Wo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3811
3807
  if (e != null && wr)
3812
3808
  for (var r of wr(e))
3813
- t.indexOf(r) < 0 && Xo.call(e, r) && (n[r] = e[r]);
3809
+ t.indexOf(r) < 0 && Vo.call(e, r) && (n[r] = e[r]);
3814
3810
  return n;
3815
3811
  };
3816
- const Zo = {
3812
+ const Yo = {
3817
3813
  number: {
3818
3814
  scientific: { notation: "scientific" },
3819
3815
  engineering: { notation: "engineering" },
@@ -3843,28 +3839,28 @@ const Zo = {
3843
3839
  }
3844
3840
  }
3845
3841
  };
3846
- function qo({ locale: e, id: t }) {
3842
+ function Zo({ locale: e, id: t }) {
3847
3843
  console.warn(
3848
- `[svelte-i18n] The message "${t}" was not found in "${xt(
3844
+ `[svelte-i18n] The message "${t}" was not found in "${yt(
3849
3845
  e
3850
- ).join('", "')}".${Vt(Re()) ? `
3846
+ ).join('", "')}".${zt(Re()) ? `
3851
3847
 
3852
3848
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3853
3849
  );
3854
3850
  }
3855
- const Jo = {
3851
+ const qo = {
3856
3852
  fallbackLocale: null,
3857
3853
  loadingDelay: 200,
3858
- formats: Zo,
3854
+ formats: Yo,
3859
3855
  warnOnMissingMessages: !0,
3860
3856
  handleMissingMessage: void 0,
3861
3857
  ignoreTag: !0
3862
- }, dt = Jo;
3863
- function Ke() {
3864
- return dt;
3858
+ }, mt = qo;
3859
+ function Qe() {
3860
+ return mt;
3865
3861
  }
3866
- function Qo(e) {
3867
- const t = e, { formats: n } = t, r = Yo(t, ["formats"]);
3862
+ function Jo(e) {
3863
+ const t = e, { formats: n } = t, r = Xo(t, ["formats"]);
3868
3864
  let i = e.fallbackLocale;
3869
3865
  if (e.initialLocale)
3870
3866
  try {
@@ -3874,128 +3870,128 @@ function Qo(e) {
3874
3870
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3875
3871
  );
3876
3872
  }
3877
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = qo : console.warn(
3873
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Zo : console.warn(
3878
3874
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3879
- )), Object.assign(dt, r, { initialLocale: i }), n && ("number" in n && Object.assign(dt.formats.number, n.number), "date" in n && Object.assign(dt.formats.date, n.date), "time" in n && Object.assign(dt.formats.time, n.time)), $e.set(i);
3875
+ )), 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);
3880
3876
  }
3881
- const gn = Et(!1);
3882
- var Ko = Object.defineProperty, ea = Object.defineProperties, ta = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ia = (e, t) => {
3877
+ const dn = bt(!1);
3878
+ var Qo = Object.defineProperty, Ko = Object.defineProperties, ea = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, ta = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ra = (e, t) => {
3883
3879
  for (var n in t || (t = {}))
3884
- na.call(t, n) && Mr(e, n, t[n]);
3880
+ ta.call(t, n) && Mr(e, n, t[n]);
3885
3881
  if (Or)
3886
3882
  for (var n of Or(t))
3887
- ra.call(t, n) && Mr(e, n, t[n]);
3883
+ na.call(t, n) && Mr(e, n, t[n]);
3888
3884
  return e;
3889
- }, sa = (e, t) => ea(e, ta(t));
3890
- let Ln;
3891
- const Xt = Et(null);
3885
+ }, ia = (e, t) => Ko(e, ea(t));
3886
+ let Mn;
3887
+ const Wt = bt(null);
3892
3888
  function Cr(e) {
3893
3889
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3894
3890
  }
3895
- function xt(e, t = Ke().fallbackLocale) {
3891
+ function yt(e, t = Qe().fallbackLocale) {
3896
3892
  const n = Cr(e);
3897
3893
  return t ? [.../* @__PURE__ */ new Set([...n, ...Cr(t)])] : n;
3898
3894
  }
3899
3895
  function Re() {
3900
- return Ln != null ? Ln : void 0;
3896
+ return Mn != null ? Mn : void 0;
3901
3897
  }
3902
- Xt.subscribe((e) => {
3903
- Ln = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3898
+ Wt.subscribe((e) => {
3899
+ Mn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3904
3900
  });
3905
- const oa = (e) => {
3906
- if (e && Go(e) && Vt(e)) {
3907
- const { loadingDelay: t } = Ke();
3901
+ const sa = (e) => {
3902
+ if (e && Fo(e) && zt(e)) {
3903
+ const { loadingDelay: t } = Qe();
3908
3904
  let n;
3909
3905
  return typeof window != "undefined" && Re() != null && t ? n = window.setTimeout(
3910
- () => gn.set(!0),
3906
+ () => dn.set(!0),
3911
3907
  t
3912
- ) : gn.set(!0), Ni(e).then(() => {
3913
- Xt.set(e);
3908
+ ) : dn.set(!0), Ni(e).then(() => {
3909
+ Wt.set(e);
3914
3910
  }).finally(() => {
3915
- clearTimeout(n), gn.set(!1);
3911
+ clearTimeout(n), dn.set(!1);
3916
3912
  });
3917
3913
  }
3918
- return Xt.set(e);
3919
- }, $e = sa(ia({}, Xt), {
3920
- set: oa
3921
- }), Kt = (e) => {
3914
+ return Wt.set(e);
3915
+ }, Be = ia(ra({}, Wt), {
3916
+ set: sa
3917
+ }), Jt = (e) => {
3922
3918
  const t = /* @__PURE__ */ Object.create(null);
3923
3919
  return (r) => {
3924
3920
  const i = JSON.stringify(r);
3925
3921
  return i in t ? t[i] : t[i] = e(r);
3926
3922
  };
3927
3923
  };
3928
- var aa = Object.defineProperty, Yt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Lr = (e, t, n) => t in e ? aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bn = (e, t) => {
3924
+ var oa = Object.defineProperty, Vt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Lr = (e, t, n) => t in e ? oa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bn = (e, t) => {
3929
3925
  for (var n in t || (t = {}))
3930
3926
  Hi.call(t, n) && Lr(e, n, t[n]);
3931
- if (Yt)
3932
- for (var n of Yt(t))
3927
+ if (Vt)
3928
+ for (var n of Vt(t))
3933
3929
  Ii.call(t, n) && Lr(e, n, t[n]);
3934
3930
  return e;
3935
- }, nt = (e, t) => {
3931
+ }, tt = (e, t) => {
3936
3932
  var n = {};
3937
3933
  for (var r in e)
3938
3934
  Hi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3939
- if (e != null && Yt)
3940
- for (var r of Yt(e))
3935
+ if (e != null && Vt)
3936
+ for (var r of Vt(e))
3941
3937
  t.indexOf(r) < 0 && Ii.call(e, r) && (n[r] = e[r]);
3942
3938
  return n;
3943
3939
  };
3944
- const bt = (e, t) => {
3945
- const { formats: n } = Ke();
3940
+ const _t = (e, t) => {
3941
+ const { formats: n } = Qe();
3946
3942
  if (e in n && t in n[e])
3947
3943
  return n[e][t];
3948
3944
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3949
- }, ua = Kt(
3945
+ }, aa = Jt(
3950
3946
  (e) => {
3951
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3947
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3952
3948
  if (n == null)
3953
3949
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3954
- return r && (i = bt("number", r)), new Intl.NumberFormat(n, i);
3950
+ return r && (i = _t("number", r)), new Intl.NumberFormat(n, i);
3955
3951
  }
3956
- ), la = Kt(
3952
+ ), ua = Jt(
3957
3953
  (e) => {
3958
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3954
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3959
3955
  if (n == null)
3960
3956
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3961
- return r ? i = bt("date", r) : Object.keys(i).length === 0 && (i = bt("date", "short")), new Intl.DateTimeFormat(n, i);
3957
+ return r ? i = _t("date", r) : Object.keys(i).length === 0 && (i = _t("date", "short")), new Intl.DateTimeFormat(n, i);
3962
3958
  }
3963
- ), ca = Kt(
3959
+ ), la = Jt(
3964
3960
  (e) => {
3965
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3961
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3966
3962
  if (n == null)
3967
3963
  throw new Error(
3968
3964
  '[svelte-i18n] A "locale" must be set to format time values'
3969
3965
  );
3970
- return r ? i = bt("time", r) : Object.keys(i).length === 0 && (i = bt("time", "short")), new Intl.DateTimeFormat(n, i);
3966
+ return r ? i = _t("time", r) : Object.keys(i).length === 0 && (i = _t("time", "short")), new Intl.DateTimeFormat(n, i);
3971
3967
  }
3972
- ), fa = (e = {}) => {
3968
+ ), ca = (e = {}) => {
3973
3969
  var t = e, {
3974
3970
  locale: n = Re()
3975
- } = t, r = nt(t, [
3971
+ } = t, r = tt(t, [
3976
3972
  "locale"
3977
3973
  ]);
3978
- return ua(Bn({ locale: n }, r));
3979
- }, ha = (e = {}) => {
3974
+ return aa(Bn({ locale: n }, r));
3975
+ }, fa = (e = {}) => {
3980
3976
  var t = e, {
3981
3977
  locale: n = Re()
3982
- } = t, r = nt(t, [
3978
+ } = t, r = tt(t, [
3983
3979
  "locale"
3984
3980
  ]);
3985
- return la(Bn({ locale: n }, r));
3986
- }, ma = (e = {}) => {
3981
+ return ua(Bn({ locale: n }, r));
3982
+ }, ha = (e = {}) => {
3987
3983
  var t = e, {
3988
3984
  locale: n = Re()
3989
- } = t, r = nt(t, [
3985
+ } = t, r = tt(t, [
3990
3986
  "locale"
3991
3987
  ]);
3992
- return ca(Bn({ locale: n }, r));
3993
- }, da = Kt(
3988
+ return la(Bn({ locale: n }, r));
3989
+ }, ma = Jt(
3994
3990
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3995
- (e, t = Re()) => new wi(e, t, Ke().formats, {
3996
- ignoreTag: Ke().ignoreTag
3991
+ (e, t = Re()) => new wi(e, t, Qe().formats, {
3992
+ ignoreTag: Qe().ignoreTag
3997
3993
  })
3998
- ), pa = (e, t = {}) => {
3994
+ ), da = (e, t = {}) => {
3999
3995
  var n, r, i, s;
4000
3996
  let a = t;
4001
3997
  typeof e == "object" && (a = e, e = a.id);
@@ -4010,7 +4006,7 @@ const bt = (e, t) => {
4010
4006
  );
4011
4007
  let f = Oi(e, c);
4012
4008
  if (!f)
4013
- f = (s = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4009
+ f = (s = (i = (r = (n = Qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4014
4010
  else if (typeof f != "string")
4015
4011
  return console.warn(
4016
4012
  `[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.`
@@ -4019,7 +4015,7 @@ const bt = (e, t) => {
4019
4015
  return f;
4020
4016
  let _ = f;
4021
4017
  try {
4022
- _ = da(f, c).format(u);
4018
+ _ = ma(f, c).format(u);
4023
4019
  } catch (y) {
4024
4020
  y instanceof Error && console.warn(
4025
4021
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4027,18 +4023,18 @@ const bt = (e, t) => {
4027
4023
  );
4028
4024
  }
4029
4025
  return _;
4030
- }, ga = (e, t) => ma(t).format(e), _a = (e, t) => ha(t).format(e), ba = (e, t) => fa(t).format(e), Ea = (e, t = Re()) => Oi(e, t), ya = tt([$e, yt], () => pa);
4031
- tt([$e], () => ga);
4032
- tt([$e], () => _a);
4033
- tt([$e], () => ba);
4034
- tt([$e, yt], () => Ea);
4026
+ }, pa = (e, t) => ha(t).format(e), ga = (e, t) => fa(t).format(e), _a = (e, t) => ca(t).format(e), ba = (e, t = Re()) => Oi(e, t), Ea = et([Be, Et], () => da);
4027
+ et([Be], () => pa);
4028
+ et([Be], () => ga);
4029
+ et([Be], () => _a);
4030
+ et([Be, Et], () => ba);
4035
4031
  function Nr(e, t) {
4036
4032
  Ci(e, t);
4037
4033
  }
4038
- function xa(e) {
4039
- Qo({
4034
+ function ya(e) {
4035
+ Jo({
4040
4036
  fallbackLocale: "en"
4041
- }), $e.set(e);
4037
+ }), Be.set(e);
4042
4038
  }
4043
4039
  const Hr = {
4044
4040
  en: {
@@ -4065,19 +4061,19 @@ const Hr = {
4065
4061
  };
4066
4062
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
4067
4063
  const {
4068
- entries: Pi,
4064
+ entries: Ri,
4069
4065
  setPrototypeOf: Ir,
4070
- isFrozen: va,
4066
+ isFrozen: xa,
4071
4067
  getPrototypeOf: Ta,
4072
- getOwnPropertyDescriptor: Sa
4068
+ getOwnPropertyDescriptor: va
4073
4069
  } = Object;
4074
4070
  let {
4075
4071
  freeze: fe,
4076
4072
  seal: Ee,
4077
- create: Ri
4073
+ create: Pi
4078
4074
  } = Object, {
4079
- apply: Nn,
4080
- construct: Hn
4075
+ apply: Cn,
4076
+ construct: Ln
4081
4077
  } = typeof Reflect != "undefined" && Reflect;
4082
4078
  fe || (fe = function(t) {
4083
4079
  return t;
@@ -4085,55 +4081,55 @@ fe || (fe = function(t) {
4085
4081
  Ee || (Ee = function(t) {
4086
4082
  return t;
4087
4083
  });
4088
- Nn || (Nn = function(t, n, r) {
4084
+ Cn || (Cn = function(t, n, r) {
4089
4085
  return t.apply(n, r);
4090
4086
  });
4091
- Hn || (Hn = function(t, n) {
4087
+ Ln || (Ln = function(t, n) {
4092
4088
  return new t(...n);
4093
4089
  });
4094
- const Lt = pe(Array.prototype.forEach), Pr = pe(Array.prototype.pop), ut = pe(Array.prototype.push), kt = pe(String.prototype.toLowerCase), _n = pe(String.prototype.toString), Rr = pe(String.prototype.match), lt = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), wa = pe(String.prototype.trim), ve = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ct = Oa(TypeError);
4090
+ const Ct = pe(Array.prototype.forEach), Rr = pe(Array.prototype.pop), at = pe(Array.prototype.push), Ut = pe(String.prototype.toLowerCase), pn = pe(String.prototype.toString), Pr = pe(String.prototype.match), ut = pe(String.prototype.replace), Sa = pe(String.prototype.indexOf), Aa = pe(String.prototype.trim), Te = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), lt = wa(TypeError);
4095
4091
  function pe(e) {
4096
4092
  return function(t) {
4097
4093
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4098
4094
  r[i - 1] = arguments[i];
4099
- return Nn(e, t, r);
4095
+ return Cn(e, t, r);
4100
4096
  };
4101
4097
  }
4102
- function Oa(e) {
4098
+ function wa(e) {
4103
4099
  return function() {
4104
4100
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
4105
4101
  n[r] = arguments[r];
4106
- return Hn(e, n);
4102
+ return Ln(e, n);
4107
4103
  };
4108
4104
  }
4109
- function P(e, t) {
4110
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kt;
4105
+ function R(e, t) {
4106
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
4111
4107
  Ir && Ir(e, null);
4112
4108
  let r = t.length;
4113
4109
  for (; r--; ) {
4114
4110
  let i = t[r];
4115
4111
  if (typeof i == "string") {
4116
4112
  const s = n(i);
4117
- s !== i && (va(t) || (t[r] = s), i = s);
4113
+ s !== i && (xa(t) || (t[r] = s), i = s);
4118
4114
  }
4119
4115
  e[i] = !0;
4120
4116
  }
4121
4117
  return e;
4122
4118
  }
4123
- function Ma(e) {
4119
+ function Oa(e) {
4124
4120
  for (let t = 0; t < e.length; t++)
4125
- ve(e, t) || (e[t] = null);
4121
+ Te(e, t) || (e[t] = null);
4126
4122
  return e;
4127
4123
  }
4128
- function Be(e) {
4129
- const t = Ri(null);
4130
- for (const [n, r] of Pi(e))
4131
- ve(e, n) && (Array.isArray(r) ? t[n] = Ma(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Be(r) : t[n] = r);
4124
+ function De(e) {
4125
+ const t = Pi(null);
4126
+ for (const [n, r] of Ri(e))
4127
+ Te(e, n) && (Array.isArray(r) ? t[n] = Oa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
4132
4128
  return t;
4133
4129
  }
4134
- function ft(e, t) {
4130
+ function ct(e, t) {
4135
4131
  for (; e !== null; ) {
4136
- const r = Sa(e, t);
4132
+ const r = va(e, t);
4137
4133
  if (r) {
4138
4134
  if (r.get)
4139
4135
  return pe(r.get);
@@ -4147,36 +4143,45 @@ function ft(e, t) {
4147
4143
  }
4148
4144
  return n;
4149
4145
  }
4150
- const Dr = 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"]), bn = 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"]), En = 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"]), Ca = 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"]), yn = 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"]), La = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), $r = 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"]), xn = 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"]), Ur = 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"]), Nt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Na = Ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ha = Ee(/<%[\w\W]*|[\w\W]*%>/gm), Ia = Ee(/\${[\w\W]*}/gm), Pa = Ee(/^data-[\-\w.\u00B7-\uFFFF]/), Ra = Ee(/^aria-[\-\w]+$/), Di = Ee(
4146
+ const Dr = 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"]), Ma = 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"]), Ca = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), $r = 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"]), Ur = 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"]), La = Ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Na = Ee(/<%[\w\W]*|[\w\W]*%>/gm), Ha = Ee(/\${[\w\W]*}/gm), Ia = Ee(/^data-[\-\w.\u00B7-\uFFFF]/), Ra = Ee(/^aria-[\-\w]+$/), Di = Ee(
4151
4147
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4152
4148
  // eslint-disable-line no-useless-escape
4153
- ), Da = Ee(/^(?:\w+script|data):/i), Ba = Ee(
4149
+ ), Pa = Ee(/^(?:\w+script|data):/i), Da = Ee(
4154
4150
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4155
4151
  // eslint-disable-line no-control-regex
4156
- ), Bi = Ee(/^html$/i), $a = Ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
4152
+ ), Bi = Ee(/^html$/i), Ba = Ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
4157
4153
  var kr = /* @__PURE__ */ Object.freeze({
4158
4154
  __proto__: null,
4159
- MUSTACHE_EXPR: Na,
4160
- ERB_EXPR: Ha,
4161
- TMPLIT_EXPR: Ia,
4162
- DATA_ATTR: Pa,
4155
+ MUSTACHE_EXPR: La,
4156
+ ERB_EXPR: Na,
4157
+ TMPLIT_EXPR: Ha,
4158
+ DATA_ATTR: Ia,
4163
4159
  ARIA_ATTR: Ra,
4164
4160
  IS_ALLOWED_URI: Di,
4165
- IS_SCRIPT_OR_DATA: Da,
4166
- ATTR_WHITESPACE: Ba,
4161
+ IS_SCRIPT_OR_DATA: Pa,
4162
+ ATTR_WHITESPACE: Da,
4167
4163
  DOCTYPE_NAME: Bi,
4168
- CUSTOM_ELEMENT: $a
4164
+ CUSTOM_ELEMENT: Ba
4169
4165
  });
4170
- const ht = {
4166
+ const ft = {
4171
4167
  element: 1,
4168
+ attribute: 2,
4172
4169
  text: 3,
4170
+ cdataSection: 4,
4171
+ entityReference: 5,
4172
+ // Deprecated
4173
+ entityNode: 6,
4173
4174
  // Deprecated
4174
4175
  progressingInstruction: 7,
4175
4176
  comment: 8,
4176
- document: 9
4177
- }, Ua = function() {
4177
+ document: 9,
4178
+ documentType: 10,
4179
+ documentFragment: 11,
4180
+ notation: 12
4181
+ // Deprecated
4182
+ }, $a = function() {
4178
4183
  return typeof window == "undefined" ? null : window;
4179
- }, ka = function(t, n) {
4184
+ }, Ua = function(t, n) {
4180
4185
  if (typeof t != "object" || typeof t.createPolicy != "function")
4181
4186
  return null;
4182
4187
  let r = null;
@@ -4197,9 +4202,9 @@ const ht = {
4197
4202
  }
4198
4203
  };
4199
4204
  function $i() {
4200
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ua();
4205
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : $a();
4201
4206
  const t = (w) => $i(w);
4202
- if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ht.document)
4207
+ if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ft.document)
4203
4208
  return t.isSupported = !1, t;
4204
4209
  let {
4205
4210
  document: n
@@ -4214,39 +4219,39 @@ function $i() {
4214
4219
  HTMLFormElement: _,
4215
4220
  DOMParser: y,
4216
4221
  trustedTypes: M
4217
- } = e, b = c.prototype, d = ft(b, "cloneNode"), C = ft(b, "remove"), F = ft(b, "nextSibling"), $ = ft(b, "childNodes"), A = ft(b, "parentNode");
4222
+ } = e, b = c.prototype, d = ct(b, "cloneNode"), C = ct(b, "remove"), G = ct(b, "nextSibling"), $ = ct(b, "childNodes"), A = ct(b, "parentNode");
4218
4223
  if (typeof a == "function") {
4219
4224
  const w = n.createElement("template");
4220
4225
  w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
4221
4226
  }
4222
- let H, R = "";
4227
+ let H, P = "";
4223
4228
  const {
4224
- implementation: k,
4225
- createNodeIterator: Y,
4226
- createDocumentFragment: V,
4229
+ implementation: F,
4230
+ createNodeIterator: Z,
4231
+ createDocumentFragment: X,
4227
4232
  getElementsByTagName: Q
4228
4233
  } = n, {
4229
- importNode: G
4234
+ importNode: j
4230
4235
  } = r;
4231
4236
  let O = {};
4232
- t.isSupported = typeof Pi == "function" && typeof A == "function" && k && k.createHTMLDocument !== void 0;
4237
+ t.isSupported = typeof Ri == "function" && typeof A == "function" && F && F.createHTMLDocument !== void 0;
4233
4238
  const {
4234
4239
  MUSTACHE_EXPR: ne,
4235
4240
  ERB_EXPR: he,
4236
- TMPLIT_EXPR: T,
4241
+ TMPLIT_EXPR: v,
4237
4242
  DATA_ATTR: E,
4238
4243
  ARIA_ATTR: g,
4239
- IS_SCRIPT_OR_DATA: v,
4244
+ IS_SCRIPT_OR_DATA: T,
4240
4245
  ATTR_WHITESPACE: h,
4241
4246
  CUSTOM_ELEMENT: x
4242
4247
  } = kr;
4243
4248
  let {
4244
4249
  IS_ALLOWED_URI: L
4245
4250
  } = kr, N = null;
4246
- const z = P({}, [...Dr, ...bn, ...En, ...yn, ...Br]);
4251
+ const W = R({}, [...Dr, ...gn, ..._n, ...bn, ...Br]);
4247
4252
  let I = null;
4248
- const q = P({}, [...$r, ...xn, ...Ur, ...Nt]);
4249
- let m = Object.seal(Ri(null, {
4253
+ const q = R({}, [...$r, ...En, ...Ur, ...Lt]);
4254
+ let m = Object.seal(Pi(null, {
4250
4255
  tagNameCheck: {
4251
4256
  writable: !0,
4252
4257
  configurable: !1,
@@ -4265,59 +4270,59 @@ function $i() {
4265
4270
  enumerable: !0,
4266
4271
  value: !1
4267
4272
  }
4268
- })), U = null, ee = null, K = !0, ye = !0, ie = !1, xe = !0, _e = !1, Ne = !0, De = !1, en = !1, tn = !1, Ue = !1, vt = !1, Tt = !1, $n = !0, Un = !1;
4273
+ })), U = null, ee = null, K = !0, ye = !0, ie = !1, xe = !0, _e = !1, Le = !0, Pe = !1, Qt = !1, Kt = !1, $e = !1, xt = !1, Tt = !1, $n = !0, Un = !1;
4269
4274
  const Fi = "user-content-";
4270
- let nn = !0, rt = !1, ke = {}, Fe = null;
4271
- const kn = 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"]);
4275
+ let en = !0, nt = !1, Ue = {}, ke = null;
4276
+ const kn = 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"]);
4272
4277
  let Fn = null;
4273
- const Gn = P({}, ["audio", "video", "img", "source", "image", "track"]);
4274
- let rn = null;
4275
- const jn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), St = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Me = "http://www.w3.org/1999/xhtml";
4276
- let Ge = Me, sn = !1, on = null;
4277
- const Gi = P({}, [St, At, Me], _n);
4278
- let it = null;
4278
+ const Gn = R({}, ["audio", "video", "img", "source", "image", "track"]);
4279
+ let tn = null;
4280
+ const jn = R({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
4281
+ let Fe = Oe, nn = !1, rn = null;
4282
+ const Gi = R({}, [vt, St, Oe], pn);
4283
+ let rt = null;
4279
4284
  const ji = ["application/xhtml+xml", "text/html"], zi = "text/html";
4280
- let re = null, je = null;
4285
+ let re = null, Ge = null;
4281
4286
  const Wi = n.createElement("form"), zn = function(o) {
4282
4287
  return o instanceof RegExp || o instanceof Function;
4283
- }, an = function() {
4288
+ }, sn = function() {
4284
4289
  let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4285
- if (!(je && je === o)) {
4286
- if ((!o || typeof o != "object") && (o = {}), o = Be(o), it = // eslint-disable-next-line unicorn/prefer-includes
4287
- ji.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? zi : o.PARSER_MEDIA_TYPE, re = it === "application/xhtml+xml" ? _n : kt, N = ve(o, "ALLOWED_TAGS") ? P({}, o.ALLOWED_TAGS, re) : z, I = ve(o, "ALLOWED_ATTR") ? P({}, o.ALLOWED_ATTR, re) : q, on = ve(o, "ALLOWED_NAMESPACES") ? P({}, o.ALLOWED_NAMESPACES, _n) : Gi, rn = ve(o, "ADD_URI_SAFE_ATTR") ? P(
4288
- Be(jn),
4290
+ if (!(Ge && Ge === o)) {
4291
+ if ((!o || typeof o != "object") && (o = {}), o = De(o), rt = // eslint-disable-next-line unicorn/prefer-includes
4292
+ ji.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? zi : o.PARSER_MEDIA_TYPE, re = rt === "application/xhtml+xml" ? pn : Ut, N = Te(o, "ALLOWED_TAGS") ? R({}, o.ALLOWED_TAGS, re) : W, I = Te(o, "ALLOWED_ATTR") ? R({}, o.ALLOWED_ATTR, re) : q, rn = Te(o, "ALLOWED_NAMESPACES") ? R({}, o.ALLOWED_NAMESPACES, pn) : Gi, tn = Te(o, "ADD_URI_SAFE_ATTR") ? R(
4293
+ De(jn),
4289
4294
  // eslint-disable-line indent
4290
4295
  o.ADD_URI_SAFE_ATTR,
4291
4296
  // eslint-disable-line indent
4292
4297
  re
4293
4298
  // eslint-disable-line indent
4294
- ) : jn, Fn = ve(o, "ADD_DATA_URI_TAGS") ? P(
4295
- Be(Gn),
4299
+ ) : jn, Fn = Te(o, "ADD_DATA_URI_TAGS") ? R(
4300
+ De(Gn),
4296
4301
  // eslint-disable-line indent
4297
4302
  o.ADD_DATA_URI_TAGS,
4298
4303
  // eslint-disable-line indent
4299
4304
  re
4300
4305
  // eslint-disable-line indent
4301
- ) : Gn, Fe = ve(o, "FORBID_CONTENTS") ? P({}, o.FORBID_CONTENTS, re) : kn, U = ve(o, "FORBID_TAGS") ? P({}, o.FORBID_TAGS, re) : {}, ee = ve(o, "FORBID_ATTR") ? P({}, o.FORBID_ATTR, re) : {}, ke = ve(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = o.SAFE_FOR_TEMPLATES || !1, Ne = o.SAFE_FOR_XML !== !1, De = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, vt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, tn = o.FORCE_BODY || !1, $n = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, nn = o.KEEP_CONTENT !== !1, rt = o.IN_PLACE || !1, L = o.ALLOWED_URI_REGEXP || Di, Ge = o.NAMESPACE || Me, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (ye = !1), vt && (Ue = !0), ke && (N = P({}, Br), I = [], ke.html === !0 && (P(N, Dr), P(I, $r)), ke.svg === !0 && (P(N, bn), P(I, xn), P(I, Nt)), ke.svgFilters === !0 && (P(N, En), P(I, xn), P(I, Nt)), ke.mathMl === !0 && (P(N, yn), P(I, Ur), P(I, Nt))), o.ADD_TAGS && (N === z && (N = Be(N)), P(N, o.ADD_TAGS, re)), o.ADD_ATTR && (I === q && (I = Be(I)), P(I, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && P(rn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (Fe === kn && (Fe = Be(Fe)), P(Fe, o.FORBID_CONTENTS, re)), nn && (N["#text"] = !0), De && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete U.tbody), o.TRUSTED_TYPES_POLICY) {
4306
+ ) : Gn, ke = Te(o, "FORBID_CONTENTS") ? R({}, o.FORBID_CONTENTS, re) : kn, U = Te(o, "FORBID_TAGS") ? R({}, o.FORBID_TAGS, re) : {}, ee = Te(o, "FORBID_ATTR") ? R({}, o.FORBID_ATTR, re) : {}, Ue = Te(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = o.SAFE_FOR_TEMPLATES || !1, Le = o.SAFE_FOR_XML !== !1, Pe = o.WHOLE_DOCUMENT || !1, $e = o.RETURN_DOM || !1, xt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, $n = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, L = o.ALLOWED_URI_REGEXP || Di, Fe = o.NAMESPACE || Oe, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (ye = !1), xt && ($e = !0), Ue && (N = R({}, Br), I = [], Ue.html === !0 && (R(N, Dr), R(I, $r)), Ue.svg === !0 && (R(N, gn), R(I, En), R(I, Lt)), Ue.svgFilters === !0 && (R(N, _n), R(I, En), R(I, Lt)), Ue.mathMl === !0 && (R(N, bn), R(I, Ur), R(I, Lt))), o.ADD_TAGS && (N === W && (N = De(N)), R(N, o.ADD_TAGS, re)), o.ADD_ATTR && (I === q && (I = De(I)), R(I, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && R(tn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (ke === kn && (ke = De(ke)), R(ke, o.FORBID_CONTENTS, re)), en && (N["#text"] = !0), Pe && R(N, ["html", "head", "body"]), N.table && (R(N, ["tbody"]), delete U.tbody), o.TRUSTED_TYPES_POLICY) {
4302
4307
  if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
4303
- throw ct('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4308
+ throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4304
4309
  if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4305
- throw ct('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4306
- H = o.TRUSTED_TYPES_POLICY, R = H.createHTML("");
4310
+ throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4311
+ H = o.TRUSTED_TYPES_POLICY, P = H.createHTML("");
4307
4312
  } else
4308
- H === void 0 && (H = ka(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
4309
- fe && fe(o), je = o;
4313
+ H === void 0 && (H = Ua(M, i)), H !== null && typeof P == "string" && (P = H.createHTML(""));
4314
+ fe && fe(o), Ge = o;
4310
4315
  }
4311
- }, Wn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = P({}, ["foreignobject", "annotation-xml"]), Vi = P({}, ["title", "style", "font", "a", "script"]), Xn = P({}, [...bn, ...En, ...Ca]), Yn = P({}, [...yn, ...La]), Xi = function(o) {
4316
+ }, Wn = R({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = R({}, ["foreignobject", "annotation-xml"]), Vi = R({}, ["title", "style", "font", "a", "script"]), Xn = R({}, [...gn, ..._n, ...Ma]), Yn = R({}, [...bn, ...Ca]), Xi = function(o) {
4312
4317
  let p = A(o);
4313
4318
  (!p || !p.tagName) && (p = {
4314
- namespaceURI: Ge,
4319
+ namespaceURI: Fe,
4315
4320
  tagName: "template"
4316
4321
  });
4317
- const S = kt(o.tagName), W = kt(p.tagName);
4318
- return on[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Me ? S === "svg" : p.namespaceURI === St ? S === "svg" && (W === "annotation-xml" || Wn[W]) : !!Xn[S] : o.namespaceURI === St ? p.namespaceURI === Me ? S === "math" : p.namespaceURI === At ? S === "math" && Vn[W] : !!Yn[S] : o.namespaceURI === Me ? p.namespaceURI === At && !Vn[W] || p.namespaceURI === St && !Wn[W] ? !1 : !Yn[S] && (Vi[S] || !Xn[S]) : !!(it === "application/xhtml+xml" && on[o.namespaceURI]) : !1;
4319
- }, Te = function(o) {
4320
- ut(t.removed, {
4322
+ const S = Ut(o.tagName), V = Ut(p.tagName);
4323
+ return rn[o.namespaceURI] ? o.namespaceURI === St ? p.namespaceURI === Oe ? S === "svg" : p.namespaceURI === vt ? S === "svg" && (V === "annotation-xml" || Wn[V]) : !!Xn[S] : o.namespaceURI === vt ? p.namespaceURI === Oe ? S === "math" : p.namespaceURI === St ? S === "math" && Vn[V] : !!Yn[S] : o.namespaceURI === Oe ? p.namespaceURI === St && !Vn[V] || p.namespaceURI === vt && !Wn[V] ? !1 : !Yn[S] && (Vi[S] || !Xn[S]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
4324
+ }, ve = function(o) {
4325
+ at(t.removed, {
4321
4326
  element: o
4322
4327
  });
4323
4328
  try {
@@ -4325,22 +4330,22 @@ function $i() {
4325
4330
  } catch (p) {
4326
4331
  C(o);
4327
4332
  }
4328
- }, wt = function(o, p) {
4333
+ }, At = function(o, p) {
4329
4334
  try {
4330
- ut(t.removed, {
4335
+ at(t.removed, {
4331
4336
  attribute: p.getAttributeNode(o),
4332
4337
  from: p
4333
4338
  });
4334
4339
  } catch (S) {
4335
- ut(t.removed, {
4340
+ at(t.removed, {
4336
4341
  attribute: null,
4337
4342
  from: p
4338
4343
  });
4339
4344
  }
4340
4345
  if (p.removeAttribute(o), o === "is" && !I[o])
4341
- if (Ue || vt)
4346
+ if ($e || xt)
4342
4347
  try {
4343
- Te(p);
4348
+ ve(p);
4344
4349
  } catch (S) {
4345
4350
  }
4346
4351
  else
@@ -4350,30 +4355,30 @@ function $i() {
4350
4355
  }
4351
4356
  }, Zn = function(o) {
4352
4357
  let p = null, S = null;
4353
- if (tn)
4358
+ if (Kt)
4354
4359
  o = "<remove></remove>" + o;
4355
4360
  else {
4356
- const se = Rr(o, /^[\r\n\t ]+/);
4361
+ const se = Pr(o, /^[\r\n\t ]+/);
4357
4362
  S = se && se[0];
4358
4363
  }
4359
- it === "application/xhtml+xml" && Ge === Me && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4360
- const W = H ? H.createHTML(o) : o;
4361
- if (Ge === Me)
4364
+ rt === "application/xhtml+xml" && Fe === Oe && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4365
+ const V = H ? H.createHTML(o) : o;
4366
+ if (Fe === Oe)
4362
4367
  try {
4363
- p = new y().parseFromString(W, it);
4368
+ p = new y().parseFromString(V, rt);
4364
4369
  } catch (se) {
4365
4370
  }
4366
4371
  if (!p || !p.documentElement) {
4367
- p = k.createDocument(Ge, "template", null);
4372
+ p = F.createDocument(Fe, "template", null);
4368
4373
  try {
4369
- p.documentElement.innerHTML = sn ? R : W;
4374
+ p.documentElement.innerHTML = nn ? P : V;
4370
4375
  } catch (se) {
4371
4376
  }
4372
4377
  }
4373
4378
  const oe = p.body || p.documentElement;
4374
- return o && S && oe.insertBefore(n.createTextNode(S), oe.childNodes[0] || null), Ge === Me ? Q.call(p, De ? "html" : "body")[0] : De ? p.documentElement : oe;
4379
+ return o && S && oe.insertBefore(n.createTextNode(S), oe.childNodes[0] || null), Fe === Oe ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : oe;
4375
4380
  }, qn = function(o) {
4376
- return Y.call(
4381
+ return Z.call(
4377
4382
  o.ownerDocument || o,
4378
4383
  o,
4379
4384
  // eslint-disable-next-line no-bitwise
@@ -4384,40 +4389,40 @@ function $i() {
4384
4389
  return o instanceof _ && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof f) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
4385
4390
  }, Qn = function(o) {
4386
4391
  return typeof u == "function" && o instanceof u;
4387
- }, Ce = function(o, p, S) {
4388
- O[o] && Lt(O[o], (W) => {
4389
- W.call(t, p, S, je);
4392
+ }, Me = function(o, p, S) {
4393
+ O[o] && Ct(O[o], (V) => {
4394
+ V.call(t, p, S, Ge);
4390
4395
  });
4391
4396
  }, Kn = function(o) {
4392
4397
  let p = null;
4393
- if (Ce("beforeSanitizeElements", o, null), Jn(o))
4394
- return Te(o), !0;
4398
+ if (Me("beforeSanitizeElements", o, null), Jn(o))
4399
+ return ve(o), !0;
4395
4400
  const S = re(o.nodeName);
4396
- if (Ce("uponSanitizeElement", o, {
4401
+ if (Me("uponSanitizeElement", o, {
4397
4402
  tagName: S,
4398
4403
  allowedTags: N
4399
- }), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || Ne && o.nodeType === ht.comment && ue(/<[/\w]/g, o.data))
4400
- return Te(o), !0;
4404
+ }), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ft.progressingInstruction || Le && o.nodeType === ft.comment && ue(/<[/\w]/g, o.data))
4405
+ return ve(o), !0;
4401
4406
  if (!N[S] || U[S]) {
4402
4407
  if (!U[S] && tr(S) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4403
4408
  return !1;
4404
- if (nn && !Fe[S]) {
4405
- const W = A(o) || o.parentNode, oe = $(o) || o.childNodes;
4406
- if (oe && W) {
4409
+ if (en && !ke[S]) {
4410
+ const V = A(o) || o.parentNode, oe = $(o) || o.childNodes;
4411
+ if (oe && V) {
4407
4412
  const se = oe.length;
4408
4413
  for (let me = se - 1; me >= 0; --me) {
4409
4414
  const Se = d(oe[me], !0);
4410
- Se.__removalCount = (o.__removalCount || 0) + 1, W.insertBefore(Se, F(o));
4415
+ Se.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(Se, G(o));
4411
4416
  }
4412
4417
  }
4413
4418
  }
4414
- return Te(o), !0;
4419
+ return ve(o), !0;
4415
4420
  }
4416
- return o instanceof c && !Xi(o) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (Te(o), !0) : (_e && o.nodeType === ht.text && (p = o.textContent, Lt([ne, he, T], (W) => {
4417
- p = lt(p, W, " ");
4418
- }), o.textContent !== p && (ut(t.removed, {
4421
+ return o instanceof c && !Xi(o) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (_e && o.nodeType === ft.text && (p = o.textContent, Ct([ne, he, v], (V) => {
4422
+ p = ut(p, V, " ");
4423
+ }), o.textContent !== p && (at(t.removed, {
4419
4424
  element: o.cloneNode()
4420
- }), o.textContent = p)), Ce("afterSanitizeElements", o, null), !1);
4425
+ }), o.textContent = p)), Me("afterSanitizeElements", o, null), !1);
4421
4426
  }, er = function(o, p, S) {
4422
4427
  if ($n && (p === "id" || p === "name") && (S in n || S in Wi))
4423
4428
  return !1;
@@ -4433,10 +4438,10 @@ function $i() {
4433
4438
  p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4434
4439
  )
4435
4440
  return !1;
4436
- } else if (!rn[p]) {
4437
- if (!ue(L, lt(S, h, ""))) {
4438
- if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(S, "data:") === 0 && Fn[o])) {
4439
- if (!(ie && !ue(v, lt(S, h, "")))) {
4441
+ } else if (!tn[p]) {
4442
+ if (!ue(L, ut(S, h, ""))) {
4443
+ if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Sa(S, "data:") === 0 && Fn[o])) {
4444
+ if (!(ie && !ue(T, ut(S, h, "")))) {
4440
4445
  if (S)
4441
4446
  return !1;
4442
4447
  }
@@ -4447,9 +4452,9 @@ function $i() {
4447
4452
  }
4448
4453
  return !0;
4449
4454
  }, tr = function(o) {
4450
- return o !== "annotation-xml" && Rr(o, x);
4455
+ return o !== "annotation-xml" && Pr(o, x);
4451
4456
  }, nr = function(o) {
4452
- Ce("beforeSanitizeAttributes", o, null);
4457
+ Me("beforeSanitizeAttributes", o, null);
4453
4458
  const {
4454
4459
  attributes: p
4455
4460
  } = o;
@@ -4461,31 +4466,31 @@ function $i() {
4461
4466
  keepAttr: !0,
4462
4467
  allowedAttributes: I
4463
4468
  };
4464
- let W = p.length;
4465
- for (; W--; ) {
4466
- const oe = p[W], {
4469
+ let V = p.length;
4470
+ for (; V--; ) {
4471
+ const oe = p[V], {
4467
4472
  name: se,
4468
4473
  namespaceURI: me,
4469
4474
  value: Se
4470
- } = oe, st = re(se);
4471
- let ae = se === "value" ? Se : wa(Se);
4472
- if (S.attrName = st, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Ce("uponSanitizeAttribute", o, S), ae = S.attrValue, Ne && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4473
- wt(se, o);
4475
+ } = oe, it = re(se);
4476
+ let ae = se === "value" ? Se : Aa(Se);
4477
+ if (S.attrName = it, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Me("uponSanitizeAttribute", o, S), ae = S.attrValue, Le && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4478
+ At(se, o);
4474
4479
  continue;
4475
4480
  }
4476
- if (S.forceKeepAttr || (wt(se, o), !S.keepAttr))
4481
+ if (S.forceKeepAttr || (At(se, o), !S.keepAttr))
4477
4482
  continue;
4478
4483
  if (!xe && ue(/\/>/i, ae)) {
4479
- wt(se, o);
4484
+ At(se, o);
4480
4485
  continue;
4481
4486
  }
4482
- _e && Lt([ne, he, T], (ir) => {
4483
- ae = lt(ae, ir, " ");
4487
+ _e && Ct([ne, he, v], (ir) => {
4488
+ ae = ut(ae, ir, " ");
4484
4489
  });
4485
4490
  const rr = re(o.nodeName);
4486
- if (er(rr, st, ae)) {
4487
- if (Un && (st === "id" || st === "name") && (wt(se, o), ae = Fi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
4488
- switch (M.getAttributeType(rr, st)) {
4491
+ if (er(rr, it, ae)) {
4492
+ if (Un && (it === "id" || it === "name") && (At(se, o), ae = Fi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
4493
+ switch (M.getAttributeType(rr, it)) {
4489
4494
  case "TrustedHTML": {
4490
4495
  ae = H.createHTML(ae);
4491
4496
  break;
@@ -4496,77 +4501,77 @@ function $i() {
4496
4501
  }
4497
4502
  }
4498
4503
  try {
4499
- me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Jn(o) ? Te(o) : Pr(t.removed);
4504
+ me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Jn(o) ? ve(o) : Rr(t.removed);
4500
4505
  } catch (ir) {
4501
4506
  }
4502
4507
  }
4503
4508
  }
4504
- Ce("afterSanitizeAttributes", o, null);
4509
+ Me("afterSanitizeAttributes", o, null);
4505
4510
  }, Yi = function w(o) {
4506
4511
  let p = null;
4507
4512
  const S = qn(o);
4508
- for (Ce("beforeSanitizeShadowDOM", o, null); p = S.nextNode(); )
4509
- Ce("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof s && w(p.content), nr(p));
4510
- Ce("afterSanitizeShadowDOM", o, null);
4513
+ for (Me("beforeSanitizeShadowDOM", o, null); p = S.nextNode(); )
4514
+ Me("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof s && w(p.content), nr(p));
4515
+ Me("afterSanitizeShadowDOM", o, null);
4511
4516
  };
4512
4517
  return t.sanitize = function(w) {
4513
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, W = null, oe = null;
4514
- if (sn = !w, sn && (w = "<!-->"), typeof w != "string" && !Qn(w))
4518
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, V = null, oe = null;
4519
+ if (nn = !w, nn && (w = "<!-->"), typeof w != "string" && !Qn(w))
4515
4520
  if (typeof w.toString == "function") {
4516
4521
  if (w = w.toString(), typeof w != "string")
4517
- throw ct("dirty is not a string, aborting");
4522
+ throw lt("dirty is not a string, aborting");
4518
4523
  } else
4519
- throw ct("toString is not a function");
4524
+ throw lt("toString is not a function");
4520
4525
  if (!t.isSupported)
4521
4526
  return w;
4522
- if (en || an(o), t.removed = [], typeof w == "string" && (rt = !1), rt) {
4527
+ if (Qt || sn(o), t.removed = [], typeof w == "string" && (nt = !1), nt) {
4523
4528
  if (w.nodeName) {
4524
4529
  const Se = re(w.nodeName);
4525
4530
  if (!N[Se] || U[Se])
4526
- throw ct("root node is forbidden and cannot be sanitized in-place");
4531
+ throw lt("root node is forbidden and cannot be sanitized in-place");
4527
4532
  }
4528
4533
  } else if (w instanceof u)
4529
- p = Zn("<!---->"), S = p.ownerDocument.importNode(w, !0), S.nodeType === ht.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
4534
+ p = Zn("<!---->"), S = p.ownerDocument.importNode(w, !0), S.nodeType === ft.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
4530
4535
  else {
4531
- if (!Ue && !_e && !De && // eslint-disable-next-line unicorn/prefer-includes
4536
+ if (!$e && !_e && !Pe && // eslint-disable-next-line unicorn/prefer-includes
4532
4537
  w.indexOf("<") === -1)
4533
4538
  return H && Tt ? H.createHTML(w) : w;
4534
4539
  if (p = Zn(w), !p)
4535
- return Ue ? null : Tt ? R : "";
4540
+ return $e ? null : Tt ? P : "";
4536
4541
  }
4537
- p && tn && Te(p.firstChild);
4538
- const se = qn(rt ? w : p);
4539
- for (; W = se.nextNode(); )
4540
- Kn(W) || (W.content instanceof s && Yi(W.content), nr(W));
4541
- if (rt)
4542
+ p && Kt && ve(p.firstChild);
4543
+ const se = qn(nt ? w : p);
4544
+ for (; V = se.nextNode(); )
4545
+ Kn(V) || (V.content instanceof s && Yi(V.content), nr(V));
4546
+ if (nt)
4542
4547
  return w;
4543
- if (Ue) {
4544
- if (vt)
4545
- for (oe = V.call(p.ownerDocument); p.firstChild; )
4548
+ if ($e) {
4549
+ if (xt)
4550
+ for (oe = X.call(p.ownerDocument); p.firstChild; )
4546
4551
  oe.appendChild(p.firstChild);
4547
4552
  else
4548
4553
  oe = p;
4549
- return (I.shadowroot || I.shadowrootmode) && (oe = G.call(r, oe, !0)), oe;
4554
+ return (I.shadowroot || I.shadowrootmode) && (oe = j.call(r, oe, !0)), oe;
4550
4555
  }
4551
- let me = De ? p.outerHTML : p.innerHTML;
4552
- return De && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Bi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4553
- ` + me), _e && Lt([ne, he, T], (Se) => {
4554
- me = lt(me, Se, " ");
4556
+ let me = Pe ? p.outerHTML : p.innerHTML;
4557
+ return Pe && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Bi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4558
+ ` + me), _e && Ct([ne, he, v], (Se) => {
4559
+ me = ut(me, Se, " ");
4555
4560
  }), H && Tt ? H.createHTML(me) : me;
4556
4561
  }, t.setConfig = function() {
4557
4562
  let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4558
- an(w), en = !0;
4563
+ sn(w), Qt = !0;
4559
4564
  }, t.clearConfig = function() {
4560
- je = null, en = !1;
4565
+ Ge = null, Qt = !1;
4561
4566
  }, t.isValidAttribute = function(w, o, p) {
4562
- je || an({});
4563
- const S = re(w), W = re(o);
4564
- return er(S, W, p);
4567
+ Ge || sn({});
4568
+ const S = re(w), V = re(o);
4569
+ return er(S, V, p);
4565
4570
  }, t.addHook = function(w, o) {
4566
- typeof o == "function" && (O[w] = O[w] || [], ut(O[w], o));
4571
+ typeof o == "function" && (O[w] = O[w] || [], at(O[w], o));
4567
4572
  }, t.removeHook = function(w) {
4568
4573
  if (O[w])
4569
- return Pr(O[w]);
4574
+ return Rr(O[w]);
4570
4575
  }, t.removeHooks = function(w) {
4571
4576
  O[w] && (O[w] = []);
4572
4577
  }, t.removeAllHooks = function() {
@@ -4578,62 +4583,62 @@ var Fr = $i(), Ui = { exports: {} };
4578
4583
  (function(n, r) {
4579
4584
  e.exports = r();
4580
4585
  })(ui, function() {
4581
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", u = "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) {
4582
- var E = ["th", "st", "nd", "rd"], g = T % 100;
4583
- return "[" + T + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
4584
- } }, A = function(T, E, g) {
4585
- var v = String(T);
4586
- return !v || v.length >= E ? T : "" + Array(E + 1 - v.length).join(g) + T;
4587
- }, H = { s: A, z: function(T) {
4588
- var E = -T.utcOffset(), g = Math.abs(E), v = Math.floor(g / 60), h = g % 60;
4589
- return (E <= 0 ? "+" : "-") + A(v, 2, "0") + ":" + A(h, 2, "0");
4590
- }, m: function T(E, g) {
4586
+ var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", u = "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) {
4587
+ var E = ["th", "st", "nd", "rd"], g = v % 100;
4588
+ return "[" + v + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
4589
+ } }, A = function(v, E, g) {
4590
+ var T = String(v);
4591
+ return !T || T.length >= E ? v : "" + Array(E + 1 - T.length).join(g) + v;
4592
+ }, H = { s: A, z: function(v) {
4593
+ var E = -v.utcOffset(), g = Math.abs(E), T = Math.floor(g / 60), h = g % 60;
4594
+ return (E <= 0 ? "+" : "-") + A(T, 2, "0") + ":" + A(h, 2, "0");
4595
+ }, m: function v(E, g) {
4591
4596
  if (E.date() < g.date())
4592
- return -T(g, E);
4593
- 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), _);
4594
- return +(-(v + (g - h) / (x ? h - L : L - h)) || 0);
4595
- }, a: function(T) {
4596
- return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
4597
- }, p: function(T) {
4598
- return { M: _, y: M, w: f, d: l, D: b, h: c, m: u, s: a, ms: s, Q: y }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4599
- }, u: function(T) {
4600
- return T === void 0;
4601
- } }, R = "en", k = {};
4602
- k[R] = $;
4603
- var Y = "$isDayjsObject", V = function(T) {
4604
- return T instanceof ne || !(!T || !T[Y]);
4605
- }, Q = function T(E, g, v) {
4597
+ return -v(g, E);
4598
+ 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), _);
4599
+ return +(-(T + (g - h) / (x ? h - L : L - h)) || 0);
4600
+ }, a: function(v) {
4601
+ return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
4602
+ }, p: function(v) {
4603
+ return { M: _, y: M, w: f, d: l, D: b, h: c, m: u, s: a, ms: s, Q: y }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4604
+ }, u: function(v) {
4605
+ return v === void 0;
4606
+ } }, P = "en", F = {};
4607
+ F[P] = $;
4608
+ var Z = "$isDayjsObject", X = function(v) {
4609
+ return v instanceof ne || !(!v || !v[Z]);
4610
+ }, Q = function v(E, g, T) {
4606
4611
  var h;
4607
4612
  if (!E)
4608
- return R;
4613
+ return P;
4609
4614
  if (typeof E == "string") {
4610
4615
  var x = E.toLowerCase();
4611
- k[x] && (h = x), g && (k[x] = g, h = x);
4616
+ F[x] && (h = x), g && (F[x] = g, h = x);
4612
4617
  var L = E.split("-");
4613
4618
  if (!h && L.length > 1)
4614
- return T(L[0]);
4619
+ return v(L[0]);
4615
4620
  } else {
4616
4621
  var N = E.name;
4617
- k[N] = E, h = N;
4622
+ F[N] = E, h = N;
4618
4623
  }
4619
- return !v && h && (R = h), h || !v && R;
4620
- }, G = function(T, E) {
4621
- if (V(T))
4622
- return T.clone();
4624
+ return !T && h && (P = h), h || !T && P;
4625
+ }, j = function(v, E) {
4626
+ if (X(v))
4627
+ return v.clone();
4623
4628
  var g = typeof E == "object" ? E : {};
4624
- return g.date = T, g.args = arguments, new ne(g);
4629
+ return g.date = v, g.args = arguments, new ne(g);
4625
4630
  }, O = H;
4626
- O.l = Q, O.i = V, O.w = function(T, E) {
4627
- return G(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4631
+ O.l = Q, O.i = X, O.w = function(v, E) {
4632
+ return j(v, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4628
4633
  };
4629
4634
  var ne = function() {
4630
- function T(g) {
4631
- this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Y] = !0;
4635
+ function v(g) {
4636
+ this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
4632
4637
  }
4633
- var E = T.prototype;
4638
+ var E = v.prototype;
4634
4639
  return E.parse = function(g) {
4635
- this.$d = function(v) {
4636
- var h = v.date, x = v.utc;
4640
+ this.$d = function(T) {
4641
+ var h = T.date, x = T.utc;
4637
4642
  if (h === null)
4638
4643
  return /* @__PURE__ */ new Date(NaN);
4639
4644
  if (O.u(h))
@@ -4643,8 +4648,8 @@ var Fr = $i(), Ui = { exports: {} };
4643
4648
  if (typeof h == "string" && !/Z$/i.test(h)) {
4644
4649
  var L = h.match(C);
4645
4650
  if (L) {
4646
- var N = L[2] - 1 || 0, z = (L[7] || "0").substring(0, 3);
4647
- 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);
4651
+ var N = L[2] - 1 || 0, W = (L[7] || "0").substring(0, 3);
4652
+ return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, W)) : new Date(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, W);
4648
4653
  }
4649
4654
  }
4650
4655
  return new Date(h);
@@ -4656,24 +4661,24 @@ var Fr = $i(), Ui = { exports: {} };
4656
4661
  return O;
4657
4662
  }, E.isValid = function() {
4658
4663
  return this.$d.toString() !== d;
4659
- }, E.isSame = function(g, v) {
4660
- var h = G(g);
4661
- return this.startOf(v) <= h && h <= this.endOf(v);
4662
- }, E.isAfter = function(g, v) {
4663
- return G(g) < this.startOf(v);
4664
- }, E.isBefore = function(g, v) {
4665
- return this.endOf(v) < G(g);
4666
- }, E.$g = function(g, v, h) {
4667
- return O.u(g) ? this[v] : this.set(h, g);
4664
+ }, E.isSame = function(g, T) {
4665
+ var h = j(g);
4666
+ return this.startOf(T) <= h && h <= this.endOf(T);
4667
+ }, E.isAfter = function(g, T) {
4668
+ return j(g) < this.startOf(T);
4669
+ }, E.isBefore = function(g, T) {
4670
+ return this.endOf(T) < j(g);
4671
+ }, E.$g = function(g, T, h) {
4672
+ return O.u(g) ? this[T] : this.set(h, g);
4668
4673
  }, E.unix = function() {
4669
4674
  return Math.floor(this.valueOf() / 1e3);
4670
4675
  }, E.valueOf = function() {
4671
4676
  return this.$d.getTime();
4672
- }, E.startOf = function(g, v) {
4673
- var h = this, x = !!O.u(v) || v, L = O.p(g), N = function(ye, ie) {
4677
+ }, E.startOf = function(g, T) {
4678
+ var h = this, x = !!O.u(T) || T, L = O.p(g), N = function(ye, ie) {
4674
4679
  var xe = O.w(h.$u ? Date.UTC(h.$y, ie, ye) : new Date(h.$y, ie, ye), h);
4675
4680
  return x ? xe : xe.endOf(l);
4676
- }, z = function(ye, ie) {
4681
+ }, W = function(ye, ie) {
4677
4682
  return O.w(h.toDate()[ye].apply(h.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
4678
4683
  }, I = this.$W, q = this.$M, m = this.$D, U = "set" + (this.$u ? "UTC" : "");
4679
4684
  switch (L) {
@@ -4686,35 +4691,35 @@ var Fr = $i(), Ui = { exports: {} };
4686
4691
  return N(x ? m - K : m + (6 - K), q);
4687
4692
  case l:
4688
4693
  case b:
4689
- return z(U + "Hours", 0);
4694
+ return W(U + "Hours", 0);
4690
4695
  case c:
4691
- return z(U + "Minutes", 1);
4696
+ return W(U + "Minutes", 1);
4692
4697
  case u:
4693
- return z(U + "Seconds", 2);
4698
+ return W(U + "Seconds", 2);
4694
4699
  case a:
4695
- return z(U + "Milliseconds", 3);
4700
+ return W(U + "Milliseconds", 3);
4696
4701
  default:
4697
4702
  return this.clone();
4698
4703
  }
4699
4704
  }, E.endOf = function(g) {
4700
4705
  return this.startOf(g, !1);
4701
- }, E.$set = function(g, v) {
4702
- 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[u] = L + "Minutes", h[a] = L + "Seconds", h[s] = L + "Milliseconds", h)[x], z = x === l ? this.$D + (v - this.$W) : v;
4706
+ }, E.$set = function(g, T) {
4707
+ 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[u] = L + "Minutes", h[a] = L + "Seconds", h[s] = L + "Milliseconds", h)[x], W = x === l ? this.$D + (T - this.$W) : T;
4703
4708
  if (x === _ || x === M) {
4704
4709
  var I = this.clone().set(b, 1);
4705
- I.$d[N](z), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
4710
+ I.$d[N](W), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
4706
4711
  } else
4707
- N && this.$d[N](z);
4712
+ N && this.$d[N](W);
4708
4713
  return this.init(), this;
4709
- }, E.set = function(g, v) {
4710
- return this.clone().$set(g, v);
4714
+ }, E.set = function(g, T) {
4715
+ return this.clone().$set(g, T);
4711
4716
  }, E.get = function(g) {
4712
4717
  return this[O.p(g)]();
4713
- }, E.add = function(g, v) {
4718
+ }, E.add = function(g, T) {
4714
4719
  var h, x = this;
4715
4720
  g = Number(g);
4716
- var L = O.p(v), N = function(q) {
4717
- var m = G(x);
4721
+ var L = O.p(T), N = function(q) {
4722
+ var m = j(x);
4718
4723
  return O.w(m.date(m.date() + Math.round(q * g)), x);
4719
4724
  };
4720
4725
  if (L === _)
@@ -4725,29 +4730,29 @@ var Fr = $i(), Ui = { exports: {} };
4725
4730
  return N(1);
4726
4731
  if (L === f)
4727
4732
  return N(7);
4728
- var z = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[L] || 1, I = this.$d.getTime() + g * z;
4733
+ var W = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[L] || 1, I = this.$d.getTime() + g * W;
4729
4734
  return O.w(I, this);
4730
- }, E.subtract = function(g, v) {
4731
- return this.add(-1 * g, v);
4735
+ }, E.subtract = function(g, T) {
4736
+ return this.add(-1 * g, T);
4732
4737
  }, E.format = function(g) {
4733
- var v = this, h = this.$locale();
4738
+ var T = this, h = this.$locale();
4734
4739
  if (!this.isValid())
4735
4740
  return h.invalidDate || d;
4736
- 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, U = h.meridiem, ee = function(ie, xe, _e, Ne) {
4737
- return ie && (ie[xe] || ie(v, x)) || _e[xe].slice(0, Ne);
4741
+ var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, W = this.$m, I = this.$M, q = h.weekdays, m = h.months, U = h.meridiem, ee = function(ie, xe, _e, Le) {
4742
+ return ie && (ie[xe] || ie(T, x)) || _e[xe].slice(0, Le);
4738
4743
  }, K = function(ie) {
4739
4744
  return O.s(N % 12 || 12, ie, "0");
4740
4745
  }, ye = U || function(ie, xe, _e) {
4741
- var Ne = ie < 12 ? "AM" : "PM";
4742
- return _e ? Ne.toLowerCase() : Ne;
4746
+ var Le = ie < 12 ? "AM" : "PM";
4747
+ return _e ? Le.toLowerCase() : Le;
4743
4748
  };
4744
- return x.replace(F, function(ie, xe) {
4749
+ return x.replace(G, function(ie, xe) {
4745
4750
  return xe || function(_e) {
4746
4751
  switch (_e) {
4747
4752
  case "YY":
4748
- return String(v.$y).slice(-2);
4753
+ return String(T.$y).slice(-2);
4749
4754
  case "YYYY":
4750
- return O.s(v.$y, 4, "0");
4755
+ return O.s(T.$y, 4, "0");
4751
4756
  case "M":
4752
4757
  return I + 1;
4753
4758
  case "MM":
@@ -4757,17 +4762,17 @@ var Fr = $i(), Ui = { exports: {} };
4757
4762
  case "MMMM":
4758
4763
  return ee(m, I);
4759
4764
  case "D":
4760
- return v.$D;
4765
+ return T.$D;
4761
4766
  case "DD":
4762
- return O.s(v.$D, 2, "0");
4767
+ return O.s(T.$D, 2, "0");
4763
4768
  case "d":
4764
- return String(v.$W);
4769
+ return String(T.$W);
4765
4770
  case "dd":
4766
- return ee(h.weekdaysMin, v.$W, q, 2);
4771
+ return ee(h.weekdaysMin, T.$W, q, 2);
4767
4772
  case "ddd":
4768
- return ee(h.weekdaysShort, v.$W, q, 3);
4773
+ return ee(h.weekdaysShort, T.$W, q, 3);
4769
4774
  case "dddd":
4770
- return q[v.$W];
4775
+ return q[T.$W];
4771
4776
  case "H":
4772
4777
  return String(N);
4773
4778
  case "HH":
@@ -4777,19 +4782,19 @@ var Fr = $i(), Ui = { exports: {} };
4777
4782
  case "hh":
4778
4783
  return K(2);
4779
4784
  case "a":
4780
- return ye(N, z, !0);
4785
+ return ye(N, W, !0);
4781
4786
  case "A":
4782
- return ye(N, z, !1);
4787
+ return ye(N, W, !1);
4783
4788
  case "m":
4784
- return String(z);
4789
+ return String(W);
4785
4790
  case "mm":
4786
- return O.s(z, 2, "0");
4791
+ return O.s(W, 2, "0");
4787
4792
  case "s":
4788
- return String(v.$s);
4793
+ return String(T.$s);
4789
4794
  case "ss":
4790
- return O.s(v.$s, 2, "0");
4795
+ return O.s(T.$s, 2, "0");
4791
4796
  case "SSS":
4792
- return O.s(v.$ms, 3, "0");
4797
+ return O.s(T.$ms, 3, "0");
4793
4798
  case "Z":
4794
4799
  return L;
4795
4800
  }
@@ -4798,9 +4803,9 @@ var Fr = $i(), Ui = { exports: {} };
4798
4803
  });
4799
4804
  }, E.utcOffset = function() {
4800
4805
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4801
- }, E.diff = function(g, v, h) {
4802
- var x, L = this, N = O.p(v), z = G(g), I = (z.utcOffset() - this.utcOffset()) * r, q = this - z, m = function() {
4803
- return O.m(L, z);
4806
+ }, E.diff = function(g, T, h) {
4807
+ var x, L = this, N = O.p(T), W = j(g), I = (W.utcOffset() - this.utcOffset()) * r, q = this - W, m = function() {
4808
+ return O.m(L, W);
4804
4809
  };
4805
4810
  switch (N) {
4806
4811
  case M:
@@ -4834,11 +4839,11 @@ var Fr = $i(), Ui = { exports: {} };
4834
4839
  }, E.daysInMonth = function() {
4835
4840
  return this.endOf(_).$D;
4836
4841
  }, E.$locale = function() {
4837
- return k[this.$L];
4838
- }, E.locale = function(g, v) {
4842
+ return F[this.$L];
4843
+ }, E.locale = function(g, T) {
4839
4844
  if (!g)
4840
4845
  return this.$L;
4841
- var h = this.clone(), x = Q(g, v, !0);
4846
+ var h = this.clone(), x = Q(g, T, !0);
4842
4847
  return x && (h.$L = x), h;
4843
4848
  }, E.clone = function() {
4844
4849
  return O.w(this.$d, this);
@@ -4850,21 +4855,21 @@ var Fr = $i(), Ui = { exports: {} };
4850
4855
  return this.$d.toISOString();
4851
4856
  }, E.toString = function() {
4852
4857
  return this.$d.toUTCString();
4853
- }, T;
4858
+ }, v;
4854
4859
  }(), he = ne.prototype;
4855
- return G.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(T) {
4856
- he[T[1]] = function(E) {
4857
- return this.$g(E, T[0], T[1]);
4860
+ return j.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(v) {
4861
+ he[v[1]] = function(E) {
4862
+ return this.$g(E, v[0], v[1]);
4858
4863
  };
4859
- }), G.extend = function(T, E) {
4860
- return T.$i || (T(E, ne, G), T.$i = !0), G;
4861
- }, G.locale = Q, G.isDayjs = V, G.unix = function(T) {
4862
- return G(1e3 * T);
4863
- }, G.en = k[R], G.Ls = k, G.p = {}, G;
4864
+ }), j.extend = function(v, E) {
4865
+ return v.$i || (v(E, ne, j), v.$i = !0), j;
4866
+ }, j.locale = Q, j.isDayjs = X, j.unix = function(v) {
4867
+ return j(1e3 * v);
4868
+ }, j.en = F[P], j.Ls = F, j.p = {}, j;
4864
4869
  });
4865
4870
  })(Ui);
4866
- var Fa = Ui.exports;
4867
- const Gr = /* @__PURE__ */ Rn(Fa);
4871
+ var ka = Ui.exports;
4872
+ const Gr = /* @__PURE__ */ In(ka);
4868
4873
  var ki = { exports: {} };
4869
4874
  (function(e, t) {
4870
4875
  (function(n, r) {
@@ -4896,16 +4901,16 @@ var ki = { exports: {} };
4896
4901
  };
4897
4902
  var _ = c.utcOffset;
4898
4903
  c.utcOffset = function(d, C) {
4899
- var F = this.$utils().u;
4900
- if (F(d))
4901
- return this.$u ? 0 : F(this.$offset) ? _.call(this) : this.$offset;
4902
- if (typeof d == "string" && (d = function(R) {
4903
- R === void 0 && (R = "");
4904
- var k = R.match(r);
4905
- if (!k)
4904
+ var G = this.$utils().u;
4905
+ if (G(d))
4906
+ return this.$u ? 0 : G(this.$offset) ? _.call(this) : this.$offset;
4907
+ if (typeof d == "string" && (d = function(P) {
4908
+ P === void 0 && (P = "");
4909
+ var F = P.match(r);
4910
+ if (!F)
4906
4911
  return null;
4907
- var Y = ("" + k[0]).match(i) || ["-", 0, 0], V = Y[0], Q = 60 * +Y[1] + +Y[2];
4908
- return Q === 0 ? 0 : V === "+" ? Q : -Q;
4912
+ var Z = ("" + F[0]).match(i) || ["-", 0, 0], X = Z[0], Q = 60 * +Z[1] + +Z[2];
4913
+ return Q === 0 ? 0 : X === "+" ? Q : -Q;
4909
4914
  }(d), d === null))
4910
4915
  return this;
4911
4916
  var $ = Math.abs(d) <= 16 ? 60 * d : d, A = this;
@@ -4937,25 +4942,25 @@ var ki = { exports: {} };
4937
4942
  return d === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
4938
4943
  };
4939
4944
  var b = c.diff;
4940
- c.diff = function(d, C, F) {
4945
+ c.diff = function(d, C, G) {
4941
4946
  if (d && this.$u === d.$u)
4942
- return b.call(this, d, C, F);
4947
+ return b.call(this, d, C, G);
4943
4948
  var $ = this.local(), A = u(d).local();
4944
- return b.call($, A, C, F);
4949
+ return b.call($, A, C, G);
4945
4950
  };
4946
4951
  };
4947
4952
  });
4948
4953
  })(ki);
4949
- var Ga = ki.exports;
4950
- const ja = /* @__PURE__ */ Rn(Ga);
4951
- let jr = Et(null);
4952
- function za(e, t) {
4954
+ var Fa = ki.exports;
4955
+ const Ga = /* @__PURE__ */ In(Fa);
4956
+ let jr = bt(null);
4957
+ function ja(e, t) {
4953
4958
  if (e) {
4954
4959
  const n = document.createElement("style");
4955
4960
  n.innerHTML = t, e.appendChild(n);
4956
4961
  }
4957
4962
  }
4958
- function Wa(e, t) {
4963
+ function za(e, t) {
4959
4964
  const n = new URL(t);
4960
4965
  fetch(n.href).then((r) => r.text()).then((r) => {
4961
4966
  const i = document.createElement("style");
@@ -4964,7 +4969,7 @@ function Wa(e, t) {
4964
4969
  console.error("There was an error while trying to load client styling from URL", r);
4965
4970
  });
4966
4971
  }
4967
- function Va(e, t, n) {
4972
+ function Wa(e, t, n) {
4968
4973
  if (window.emMessageBus) {
4969
4974
  const r = document.createElement("style");
4970
4975
  window.emMessageBus.subscribe(t, (i) => {
@@ -4972,70 +4977,70 @@ function Va(e, t, n) {
4972
4977
  });
4973
4978
  }
4974
4979
  }
4975
- function Xa(e) {
4980
+ function Va(e) {
4976
4981
  is(e, "svelte-122ajk5", "*,*::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)}.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}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--emw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}.ImagePlaceholder{height:250px;width:100%;background:#E6E6E6}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
4977
4982
  }
4978
- const Ya = (e) => ({}), zr = (e) => ({}), Za = (e) => ({}), Wr = (e) => ({}), qa = (e) => ({}), Vr = (e) => ({}), Ja = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4983
+ const Xa = (e) => ({}), zr = (e) => ({}), Ya = (e) => ({}), Wr = (e) => ({}), Za = (e) => ({}), Vr = (e) => ({}), qa = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4979
4984
  function Yr(e) {
4980
4985
  let t, n, r, i, s, a = (
4981
4986
  /*$_*/
4982
4987
  e[8]("sessionExpirationHeader") + ""
4983
- ), u, c, l, f, _, y, M, b, d, C, F, $, A, H, R;
4984
- const k = (
4988
+ ), u, c, l, f, _, y, M, b, d, C, G, $, A, H, P;
4989
+ const F = (
4985
4990
  /*#slots*/
4986
4991
  e[22].icon
4987
- ), Y = Ht(
4988
- k,
4992
+ ), Z = Nt(
4993
+ F,
4989
4994
  e,
4990
4995
  /*$$scope*/
4991
4996
  e[21],
4992
4997
  Xr
4993
- ), V = Y || eu(e), Q = (
4998
+ ), X = Z || Ka(e), Q = (
4994
4999
  /*#slots*/
4995
5000
  e[22].title
4996
- ), G = Ht(
5001
+ ), j = Nt(
4997
5002
  Q,
4998
5003
  e,
4999
5004
  /*$$scope*/
5000
5005
  e[21],
5001
5006
  Vr
5002
- ), O = G || tu(e), ne = (
5007
+ ), O = j || eu(e), ne = (
5003
5008
  /*#slots*/
5004
5009
  e[22].text
5005
- ), he = Ht(
5010
+ ), he = Nt(
5006
5011
  ne,
5007
5012
  e,
5008
5013
  /*$$scope*/
5009
5014
  e[21],
5010
5015
  Wr
5011
- ), T = he || nu(e), E = [iu, ru], g = [];
5012
- function v(h, x) {
5016
+ ), v = he || tu(e), E = [ru, nu], g = [];
5017
+ function T(h, x) {
5013
5018
  return (
5014
5019
  /*showLoaderButton*/
5015
5020
  h[6] ? 0 : 1
5016
5021
  );
5017
5022
  }
5018
- return d = v(e), C = g[d] = E[d](e), {
5023
+ return d = T(e), C = g[d] = E[d](e), {
5019
5024
  c() {
5020
- t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), u = et(a), c = mt(), l = te("div"), f = te("div"), V && V.c(), _ = mt(), O && O.c(), y = mt(), T && T.c(), M = mt(), b = te("button"), C.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(b, "type", "button"), b.disabled = /*showLoaderButton*/
5021
- e[6], j(b, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(l, "class", "CashierSessionExpirationModalContainer"), j(r, "class", "CashierSessionExpirationModalWrapper"), j(n, "class", "CashierSessionExpirationModalWindow"), j(n, "id", "CashierSessionExpirationModal"), Ze(() => (
5025
+ t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), u = Ke(a), c = ht(), l = te("div"), f = te("div"), X && X.c(), _ = ht(), O && O.c(), y = ht(), v && v.c(), M = ht(), b = te("button"), C.c(), z(s, "class", "CashierSessionExpirationModalHeaderTitle"), z(i, "class", "CashierSessionExpirationModalHeader"), z(b, "type", "button"), b.disabled = /*showLoaderButton*/
5026
+ e[6], z(b, "class", "CashierSessionExpirationButton"), z(f, "class", "CashierSessionExpiration"), z(l, "class", "CashierSessionExpirationModalContainer"), z(r, "class", "CashierSessionExpirationModalWrapper"), z(n, "class", "CashierSessionExpirationModalWindow"), z(n, "id", "CashierSessionExpirationModal"), Ye(() => (
5022
5027
  /*div5_elementresize_handler*/
5023
5028
  e[24].call(n)
5024
5029
  ));
5025
5030
  },
5026
5031
  m(h, x) {
5027
- Oe(h, t, x), J(t, n), J(n, r), J(r, i), J(i, s), J(s, u), 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 = us(
5032
+ we(h, t, x), J(t, n), J(n, r), J(r, i), J(i, s), J(s, u), 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 = us(
5028
5033
  n,
5029
5034
  /*div5_elementresize_handler*/
5030
5035
  e[24].bind(n)
5031
- ), e[25](t), A = !0, H || (R = [
5032
- Ft(
5036
+ ), e[25](t), A = !0, H || (P = [
5037
+ kt(
5033
5038
  b,
5034
5039
  "click",
5035
5040
  /*renewSession*/
5036
5041
  e[9]
5037
5042
  ),
5038
- Ft(
5043
+ kt(
5039
5044
  n,
5040
5045
  "click",
5041
5046
  /*outOfModalClick*/
@@ -5046,38 +5051,38 @@ function Yr(e) {
5046
5051
  p(h, x) {
5047
5052
  e = h, (!A || x[0] & /*$_*/
5048
5053
  256) && a !== (a = /*$_*/
5049
- e[8]("sessionExpirationHeader") + "") && qt(u, a), Y ? Y.p && (!A || x[0] & /*$$scope*/
5050
- 2097152) && Pt(
5051
- Y,
5052
- k,
5054
+ e[8]("sessionExpirationHeader") + "") && Yt(u, a), Z ? Z.p && (!A || x[0] & /*$$scope*/
5055
+ 2097152) && It(
5056
+ Z,
5057
+ F,
5053
5058
  e,
5054
5059
  /*$$scope*/
5055
5060
  e[21],
5056
- A ? It(
5057
- k,
5061
+ A ? Ht(
5062
+ F,
5058
5063
  /*$$scope*/
5059
5064
  e[21],
5060
5065
  x,
5061
- Ja
5066
+ qa
5062
5067
  ) : Rt(
5063
5068
  /*$$scope*/
5064
5069
  e[21]
5065
5070
  ),
5066
5071
  Xr
5067
- ) : V && V.p && (!A || x[0] & /*assetsurl*/
5068
- 8) && V.p(e, A ? x : [-1, -1]), G ? G.p && (!A || x[0] & /*$$scope*/
5069
- 2097152) && Pt(
5070
- G,
5072
+ ) : X && X.p && (!A || x[0] & /*assetsurl*/
5073
+ 8) && X.p(e, A ? x : [-1, -1]), j ? j.p && (!A || x[0] & /*$$scope*/
5074
+ 2097152) && It(
5075
+ j,
5071
5076
  Q,
5072
5077
  e,
5073
5078
  /*$$scope*/
5074
5079
  e[21],
5075
- A ? It(
5080
+ A ? Ht(
5076
5081
  Q,
5077
5082
  /*$$scope*/
5078
5083
  e[21],
5079
5084
  x,
5080
- qa
5085
+ Za
5081
5086
  ) : Rt(
5082
5087
  /*$$scope*/
5083
5088
  e[21]
@@ -5085,34 +5090,34 @@ function Yr(e) {
5085
5090
  Vr
5086
5091
  ) : O && O.p && (!A || x[0] & /*$_*/
5087
5092
  256) && O.p(e, A ? x : [-1, -1]), he ? he.p && (!A || x[0] & /*$$scope*/
5088
- 2097152) && Pt(
5093
+ 2097152) && It(
5089
5094
  he,
5090
5095
  ne,
5091
5096
  e,
5092
5097
  /*$$scope*/
5093
5098
  e[21],
5094
- A ? It(
5099
+ A ? Ht(
5095
5100
  ne,
5096
5101
  /*$$scope*/
5097
5102
  e[21],
5098
5103
  x,
5099
- Za
5104
+ Ya
5100
5105
  ) : Rt(
5101
5106
  /*$$scope*/
5102
5107
  e[21]
5103
5108
  ),
5104
5109
  Wr
5105
- ) : T && T.p && (!A || x[0] & /*$_, timeLeft*/
5106
- 384) && T.p(e, A ? x : [-1, -1]);
5110
+ ) : v && v.p && (!A || x[0] & /*$_, timeLeft*/
5111
+ 384) && v.p(e, A ? x : [-1, -1]);
5107
5112
  let L = d;
5108
- d = v(e), d === L ? g[d].p(e, x) : (si(), He(g[L], 1, 1, () => {
5113
+ d = T(e), d === L ? g[d].p(e, x) : (si(), Ne(g[L], 1, 1, () => {
5109
5114
  g[L] = null;
5110
5115
  }), oi(), C = g[d], C ? C.p(e, x) : (C = g[d] = E[d](e), C.c()), Ae(C, 1), C.m(b, null)), (!A || x[0] & /*showLoaderButton*/
5111
5116
  64) && (b.disabled = /*showLoaderButton*/
5112
5117
  e[6]);
5113
5118
  },
5114
5119
  i(h) {
5115
- A || (Ae(V, h), Ae(O, h), Ae(T, h), Ae(C), h && Ze(() => {
5120
+ A || (Ae(X, h), Ae(O, h), Ae(v, h), Ae(C), h && Ye(() => {
5116
5121
  A && ($ || ($ = pr(n, gr, { duration: (
5117
5122
  /*duration*/
5118
5123
  e[2]
@@ -5120,24 +5125,24 @@ function Yr(e) {
5120
5125
  }), A = !0);
5121
5126
  },
5122
5127
  o(h) {
5123
- He(V, h), He(O, h), He(T, h), He(C), h && ($ || ($ = pr(n, gr, { duration: (
5128
+ Ne(X, h), Ne(O, h), Ne(v, h), Ne(C), h && ($ || ($ = pr(n, gr, { duration: (
5124
5129
  /*duration*/
5125
5130
  e[2]
5126
5131
  ) }, !1)), $.run(0)), A = !1;
5127
5132
  },
5128
5133
  d(h) {
5129
- h && ge(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, Pe(R);
5134
+ h && ge(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, Ie(P);
5130
5135
  }
5131
5136
  };
5132
5137
  }
5133
- function Qa(e) {
5138
+ function Ja(e) {
5134
5139
  let t;
5135
5140
  return {
5136
5141
  c() {
5137
- t = te("div"), j(t, "class", "ImagePlaceholder");
5142
+ t = te("div"), z(t, "class", "ImagePlaceholder");
5138
5143
  },
5139
5144
  m(n, r) {
5140
- Oe(n, t, r);
5145
+ we(n, t, r);
5141
5146
  },
5142
5147
  p: de,
5143
5148
  d(n) {
@@ -5145,32 +5150,32 @@ function Qa(e) {
5145
5150
  }
5146
5151
  };
5147
5152
  }
5148
- function Ka(e) {
5153
+ function Qa(e) {
5149
5154
  let t, n;
5150
5155
  return {
5151
5156
  c() {
5152
5157
  t = te("img"), cr(t.src, n = `${/*assetsurl*/
5153
- e[3]}/set-timeout-icon.png`) || j(t, "src", n), j(t, "width", "300px"), j(t, "alt", "error");
5158
+ e[3]}/set-timeout-icon.png`) || z(t, "src", n), z(t, "width", "300px"), z(t, "alt", "error");
5154
5159
  },
5155
5160
  m(r, i) {
5156
- Oe(r, t, i);
5161
+ we(r, t, i);
5157
5162
  },
5158
5163
  p(r, i) {
5159
5164
  i[0] & /*assetsurl*/
5160
5165
  8 && !cr(t.src, n = `${/*assetsurl*/
5161
- r[3]}/set-timeout-icon.png`) && j(t, "src", n);
5166
+ r[3]}/set-timeout-icon.png`) && z(t, "src", n);
5162
5167
  },
5163
5168
  d(r) {
5164
5169
  r && ge(t);
5165
5170
  }
5166
5171
  };
5167
5172
  }
5168
- function eu(e) {
5173
+ function Ka(e) {
5169
5174
  let t;
5170
5175
  function n(s, a) {
5171
5176
  return (
5172
5177
  /*assetsurl*/
5173
- s[3] ? Ka : Qa
5178
+ s[3] ? Qa : Ja
5174
5179
  );
5175
5180
  }
5176
5181
  let r = n(e), i = r(e);
@@ -5179,7 +5184,7 @@ function eu(e) {
5179
5184
  i.c(), t = ri();
5180
5185
  },
5181
5186
  m(s, a) {
5182
- i.m(s, a), Oe(s, t, a);
5187
+ i.m(s, a), we(s, t, a);
5183
5188
  },
5184
5189
  p(s, a) {
5185
5190
  r === (r = n(s)) && i ? i.p(s, a) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
@@ -5189,29 +5194,29 @@ function eu(e) {
5189
5194
  }
5190
5195
  };
5191
5196
  }
5192
- function tu(e) {
5197
+ function eu(e) {
5193
5198
  let t, n = (
5194
5199
  /*$_*/
5195
5200
  e[8]("sessionExpirationTitle") + ""
5196
5201
  ), r;
5197
5202
  return {
5198
5203
  c() {
5199
- t = te("span"), r = et(n), j(t, "class", "CashierSessionExpirationTitle");
5204
+ t = te("span"), r = Ke(n), z(t, "class", "CashierSessionExpirationTitle");
5200
5205
  },
5201
5206
  m(i, s) {
5202
- Oe(i, t, s), J(t, r);
5207
+ we(i, t, s), J(t, r);
5203
5208
  },
5204
5209
  p(i, s) {
5205
5210
  s[0] & /*$_*/
5206
5211
  256 && n !== (n = /*$_*/
5207
- i[8]("sessionExpirationTitle") + "") && qt(r, n);
5212
+ i[8]("sessionExpirationTitle") + "") && Yt(r, n);
5208
5213
  },
5209
5214
  d(i) {
5210
5215
  i && ge(t);
5211
5216
  }
5212
5217
  };
5213
5218
  }
5214
- function nu(e) {
5219
+ function tu(e) {
5215
5220
  let t, n = Fr.sanitize(
5216
5221
  /*$_*/
5217
5222
  e[8]("sessionExpirationGeneralText", { values: { second: (
@@ -5221,10 +5226,10 @@ function nu(e) {
5221
5226
  ) + "";
5222
5227
  return {
5223
5228
  c() {
5224
- t = te("span"), j(t, "class", "CashierSessionExpirationText");
5229
+ t = te("span"), z(t, "class", "CashierSessionExpirationText");
5225
5230
  },
5226
5231
  m(r, i) {
5227
- Oe(r, t, i), t.innerHTML = n;
5232
+ we(r, t, i), t.innerHTML = n;
5228
5233
  },
5229
5234
  p(r, i) {
5230
5235
  i[0] & /*$_, timeLeft*/
@@ -5241,18 +5246,18 @@ function nu(e) {
5241
5246
  }
5242
5247
  };
5243
5248
  }
5244
- function ru(e) {
5249
+ function nu(e) {
5245
5250
  let t;
5246
5251
  const n = (
5247
5252
  /*#slots*/
5248
5253
  e[22].button
5249
- ), r = Ht(
5254
+ ), r = Nt(
5250
5255
  n,
5251
5256
  e,
5252
5257
  /*$$scope*/
5253
5258
  e[21],
5254
5259
  zr
5255
- ), i = r || su(e);
5260
+ ), i = r || iu(e);
5256
5261
  return {
5257
5262
  c() {
5258
5263
  i && i.c();
@@ -5262,18 +5267,18 @@ function ru(e) {
5262
5267
  },
5263
5268
  p(s, a) {
5264
5269
  r ? r.p && (!t || a[0] & /*$$scope*/
5265
- 2097152) && Pt(
5270
+ 2097152) && It(
5266
5271
  r,
5267
5272
  n,
5268
5273
  s,
5269
5274
  /*$$scope*/
5270
5275
  s[21],
5271
- t ? It(
5276
+ t ? Ht(
5272
5277
  n,
5273
5278
  /*$$scope*/
5274
5279
  s[21],
5275
5280
  a,
5276
- Ya
5281
+ Xa
5277
5282
  ) : Rt(
5278
5283
  /*$$scope*/
5279
5284
  s[21]
@@ -5286,29 +5291,29 @@ function ru(e) {
5286
5291
  t || (Ae(i, s), t = !0);
5287
5292
  },
5288
5293
  o(s) {
5289
- He(i, s), t = !1;
5294
+ Ne(i, s), t = !1;
5290
5295
  },
5291
5296
  d(s) {
5292
5297
  i && i.d(s);
5293
5298
  }
5294
5299
  };
5295
5300
  }
5296
- function iu(e) {
5301
+ function ru(e) {
5297
5302
  let t, n, r, i, s, a = (
5298
5303
  /*$_*/
5299
5304
  e[8]("sessionExpirationLoadingButton") + ""
5300
5305
  ), u;
5301
5306
  return {
5302
5307
  c() {
5303
- t = te("div"), n = hr("svg"), r = hr("path"), i = mt(), s = te("span"), u = et(a), j(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"), j(r, "fill", "white"), j(n, "class", "CashierSessionExpirationButtonSpinner"), j(n, "xmlns", "http://www.w3.org/2000/svg"), j(n, "width", "15"), j(n, "height", "14"), j(n, "viewBox", "0 0 15 14"), j(n, "fill", "none"), j(s, "class", "CashierSessionExpirationButtonText");
5308
+ t = te("div"), n = hr("svg"), r = hr("path"), i = ht(), s = te("span"), u = Ke(a), z(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"), z(r, "fill", "white"), z(n, "class", "CashierSessionExpirationButtonSpinner"), z(n, "xmlns", "http://www.w3.org/2000/svg"), z(n, "width", "15"), z(n, "height", "14"), z(n, "viewBox", "0 0 15 14"), z(n, "fill", "none"), z(s, "class", "CashierSessionExpirationButtonText");
5304
5309
  },
5305
5310
  m(c, l) {
5306
- Oe(c, t, l), J(t, n), J(n, r), J(t, i), J(t, s), J(s, u);
5311
+ we(c, t, l), J(t, n), J(n, r), J(t, i), J(t, s), J(s, u);
5307
5312
  },
5308
5313
  p(c, l) {
5309
5314
  l[0] & /*$_*/
5310
5315
  256 && a !== (a = /*$_*/
5311
- c[8]("sessionExpirationLoadingButton") + "") && qt(u, a);
5316
+ c[8]("sessionExpirationLoadingButton") + "") && Yt(u, a);
5312
5317
  },
5313
5318
  i: de,
5314
5319
  o: de,
@@ -5317,29 +5322,29 @@ function iu(e) {
5317
5322
  }
5318
5323
  };
5319
5324
  }
5320
- function su(e) {
5325
+ function iu(e) {
5321
5326
  let t, n = (
5322
5327
  /*$_*/
5323
5328
  e[8]("sessionExpirationGeneralButton") + ""
5324
5329
  ), r;
5325
5330
  return {
5326
5331
  c() {
5327
- t = te("span"), r = et(n), j(t, "class", "CashierSessionExpirationButtonText");
5332
+ t = te("span"), r = Ke(n), z(t, "class", "CashierSessionExpirationButtonText");
5328
5333
  },
5329
5334
  m(i, s) {
5330
- Oe(i, t, s), J(t, r);
5335
+ we(i, t, s), J(t, r);
5331
5336
  },
5332
5337
  p(i, s) {
5333
5338
  s[0] & /*$_*/
5334
5339
  256 && n !== (n = /*$_*/
5335
- i[8]("sessionExpirationGeneralButton") + "") && qt(r, n);
5340
+ i[8]("sessionExpirationGeneralButton") + "") && Yt(r, n);
5336
5341
  },
5337
5342
  d(i) {
5338
5343
  i && ge(t);
5339
5344
  }
5340
5345
  };
5341
5346
  }
5342
- function ou(e) {
5347
+ function su(e) {
5343
5348
  let t, n, r = (
5344
5349
  /*show*/
5345
5350
  e[5] && Yr(e)
@@ -5349,12 +5354,12 @@ function ou(e) {
5349
5354
  r && r.c(), t = ri();
5350
5355
  },
5351
5356
  m(i, s) {
5352
- r && r.m(i, s), Oe(i, t, s), n = !0;
5357
+ r && r.m(i, s), we(i, t, s), n = !0;
5353
5358
  },
5354
5359
  p(i, s) {
5355
5360
  /*show*/
5356
5361
  i[5] ? r ? (r.p(i, s), s[0] & /*show*/
5357
- 32 && Ae(r, 1)) : (r = Yr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (si(), He(r, 1, 1, () => {
5362
+ 32 && Ae(r, 1)) : (r = Yr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (si(), Ne(r, 1, 1, () => {
5358
5363
  r = null;
5359
5364
  }), oi());
5360
5365
  },
@@ -5362,27 +5367,27 @@ function ou(e) {
5362
5367
  n || (Ae(r), n = !0);
5363
5368
  },
5364
5369
  o(i) {
5365
- He(r), n = !1;
5370
+ Ne(r), n = !1;
5366
5371
  },
5367
5372
  d(i) {
5368
5373
  i && ge(t), r && r.d(i);
5369
5374
  }
5370
5375
  };
5371
5376
  }
5372
- const au = 90;
5373
- function uu(e, t, n) {
5377
+ const ou = 90;
5378
+ function au(e, t, n) {
5374
5379
  let r, i;
5375
- fr(e, jr, (m) => n(20, r = m)), fr(e, ya, (m) => n(8, i = m));
5380
+ fr(e, jr, (m) => n(20, r = m)), fr(e, Ea, (m) => n(8, i = m));
5376
5381
  let { $$slots: s = {}, $$scope: a } = t;
5377
- Gr.extend(ja);
5378
- let { clientstyling: u = "" } = 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: A = "" } = t, H, R = !1, k = !1, Y, V, Q, G, O;
5382
+ Gr.extend(Ga);
5383
+ let { clientstyling: u = "" } = 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: A = "" } = t, H, P = !1, F = !1, Z, X, Q, j, O;
5379
5384
  var ne;
5380
5385
  (function(m) {
5381
5386
  m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
5382
5387
  })(ne || (ne = {}));
5383
5388
  const he = (m) => {
5384
- m.data.type === "StartSessionCountdown" && (G = m.data.paymentMethodName);
5385
- }, T = (m) => {
5389
+ m.data.type === "StartSessionCountdown" && (j = m.data.paymentMethodName);
5390
+ }, v = (m) => {
5386
5391
  try {
5387
5392
  return JSON.parse(atob(m.split(".")[1]));
5388
5393
  } catch (U) {
@@ -5397,28 +5402,28 @@ function uu(e, t, n) {
5397
5402
  window.location.href
5398
5403
  );
5399
5404
  }, g = (m) => {
5400
- n(5, R = !1);
5401
- const U = T(m);
5402
- U && (V = U == null ? void 0 : U.exp, n(7, Y = V), Q && clearInterval(Q), Q = setInterval(
5405
+ n(5, P = !1);
5406
+ const U = v(m);
5407
+ U && (X = U == null ? void 0 : U.exp, n(7, Z = X), Q && clearInterval(Q), Q = setInterval(
5403
5408
  () => {
5404
5409
  const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5405
- n(7, Y = V - ee), Y <= au && n(5, R = !0), ee >= V && (v(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5410
+ n(7, Z = X - ee), Z <= ou && n(5, P = !0), ee >= X && (T(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5406
5411
  },
5407
5412
  1e3
5408
5413
  ));
5409
- }, v = () => {
5410
- n(7, Y = 0), n(5, R = !1), clearInterval(Q);
5414
+ }, T = () => {
5415
+ n(7, Z = 0), n(5, P = !1), clearInterval(Q);
5411
5416
  }, h = () => {
5412
- if (k)
5417
+ if (F)
5413
5418
  return;
5414
- const m = new URL(`${d}/v1/player/${F}/payment/GetPaymentMethod`), U = new Headers();
5415
- n(6, k = !0), U.append("accept", "application/json"), U.append("Content-Type", "application/json"), U.append("X-Client-Request-Timestamp", Gr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5419
+ const m = new URL(`${d}/v1/player/${G}/payment/GetPaymentMethod`), U = new Headers();
5420
+ n(6, F = !0), U.append("accept", "application/json"), U.append("Content-Type", "application/json"), U.append("X-Client-Request-Timestamp", Gr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5416
5421
  const ee = {
5417
5422
  method: "POST",
5418
5423
  mode: "cors",
5419
5424
  headers: U,
5420
5425
  body: JSON.stringify({
5421
- PaymentMethodName: G || $,
5426
+ PaymentMethodName: j || $,
5422
5427
  Currency: C,
5423
5428
  XPaymentSessionToken: r
5424
5429
  })
@@ -5431,19 +5436,19 @@ function uu(e, t, n) {
5431
5436
  error: K.error
5432
5437
  },
5433
5438
  window.location.href
5434
- ), v();
5439
+ ), T();
5435
5440
  return;
5436
5441
  }
5437
5442
  if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
5438
- O = K.ResponseCode, v(), E();
5443
+ O = K.ResponseCode, T(), E();
5439
5444
  return;
5440
5445
  }
5441
5446
  if (K.ResponseCode !== ne.Success) {
5442
- O = K.ResponseCode, v();
5447
+ O = K.ResponseCode, T();
5443
5448
  return;
5444
5449
  }
5445
5450
  K.XPaymentSessionToken && jr.set(K.XPaymentSessionToken);
5446
- }).finally(() => n(6, k = !1));
5451
+ }).finally(() => n(6, F = !1));
5447
5452
  }, x = (m) => {
5448
5453
  const U = m.currentTarget;
5449
5454
  m.target === U && h();
@@ -5460,15 +5465,15 @@ function uu(e, t, n) {
5460
5465
  Nr(m, Hr[m]);
5461
5466
  });
5462
5467
  const N = () => {
5463
- xa(M);
5468
+ ya(M);
5464
5469
  };
5465
5470
  ps(() => (window.addEventListener("message", he, !1), () => {
5466
5471
  window.removeEventListener("message", he);
5467
5472
  })), gs(() => {
5468
5473
  clearInterval(Q);
5469
5474
  });
5470
- function z(m) {
5471
- zt[m ? "unshift" : "push"](() => {
5475
+ function W(m) {
5476
+ jt[m ? "unshift" : "push"](() => {
5472
5477
  H = m, n(4, H);
5473
5478
  });
5474
5479
  }
@@ -5476,19 +5481,19 @@ function uu(e, t, n) {
5476
5481
  l = this.clientWidth, f = this.clientHeight, n(0, l), n(1, f);
5477
5482
  }
5478
5483
  function q(m) {
5479
- zt[m ? "unshift" : "push"](() => {
5484
+ jt[m ? "unshift" : "push"](() => {
5480
5485
  H = m, n(4, H);
5481
5486
  });
5482
5487
  }
5483
5488
  return e.$$set = (m) => {
5484
- "clientstyling" in m && n(11, u = 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, A = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5489
+ "clientstyling" in m && n(11, u = 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, A = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5485
5490
  }, e.$$.update = () => {
5486
5491
  e.$$.dirty[0] & /*$xPaymentSessionToken*/
5487
5492
  1048576 && g(r), e.$$.dirty[0] & /*lang*/
5488
5493
  8192 && M && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5489
- 2064 && u && H && za(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5490
- 4112 && c && H && Wa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5491
- 524304 && A && H && Va(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
5494
+ 2064 && u && H && ja(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5495
+ 4112 && c && H && za(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5496
+ 524304 && A && H && Wa(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
5492
5497
  16384 && b && L();
5493
5498
  }, [
5494
5499
  l,
@@ -5496,9 +5501,9 @@ function uu(e, t, n) {
5496
5501
  _,
5497
5502
  y,
5498
5503
  H,
5499
- R,
5500
- k,
5501
- Y,
5504
+ P,
5505
+ F,
5506
+ Z,
5502
5507
  i,
5503
5508
  h,
5504
5509
  x,
@@ -5508,24 +5513,24 @@ function uu(e, t, n) {
5508
5513
  b,
5509
5514
  d,
5510
5515
  C,
5511
- F,
5516
+ G,
5512
5517
  $,
5513
5518
  A,
5514
5519
  r,
5515
5520
  a,
5516
5521
  s,
5517
- z,
5522
+ W,
5518
5523
  I,
5519
5524
  q
5520
5525
  ];
5521
5526
  }
5522
- class lu extends Ms {
5527
+ class uu extends Ms {
5523
5528
  constructor(t) {
5524
5529
  super(), ws(
5525
5530
  this,
5526
5531
  t,
5527
- uu,
5528
- ou,
5532
+ au,
5533
+ su,
5529
5534
  Jr,
5530
5535
  {
5531
5536
  clientstyling: 11,
@@ -5542,7 +5547,7 @@ class lu extends Ms {
5542
5547
  selectedpaymentmethodname: 18,
5543
5548
  mbsource: 19
5544
5549
  },
5545
- Xa,
5550
+ Va,
5546
5551
  [-1, -1]
5547
5552
  );
5548
5553
  }
@@ -5625,7 +5630,7 @@ class lu extends Ms {
5625
5630
  this.$$set({ mbsource: t }), le();
5626
5631
  }
5627
5632
  }
5628
- Os(lu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5633
+ Os(uu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5629
5634
  export {
5630
- lu as default
5635
+ uu as default
5631
5636
  };