@everymatrix/cashier-session-expiration-modal 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Zi = Object.defineProperty, qi = Object.defineProperties;
2
- var Ji = Object.getOwnPropertyDescriptors;
3
- var or = Object.getOwnPropertySymbols;
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, ar = (e, t) => {
1
+ var Yi = Object.defineProperty, Zi = Object.defineProperties;
2
+ var qi = Object.getOwnPropertyDescriptors;
3
+ var sr = Object.getOwnPropertySymbols;
4
+ var Ji = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable;
5
+ var on = (e, t, n) => t in e ? Yi(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]);
8
- if (or)
9
- for (var n of or(t))
10
- Ki.call(t, n) && un(e, n, t[n]);
7
+ Ji.call(t, n) && on(e, n, t[n]);
8
+ if (sr)
9
+ for (var n of sr(t))
10
+ Qi.call(t, n) && on(e, n, t[n]);
11
11
  return e;
12
- }, ur = (e, t) => qi(e, Ji(t));
13
- var Ee = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var lr = (e, t, n) => new Promise((r, i) => {
12
+ }, ar = (e, t) => Zi(e, qi(t));
13
+ var Ee = (e, t, n) => (on(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var ur = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (c) => {
16
16
  try {
17
17
  u(n.next(c));
@@ -29,8 +29,8 @@ var lr = (e, t, n) => new Promise((r, i) => {
29
29
  });
30
30
  function de() {
31
31
  }
32
- const Zr = (e) => e;
33
- function es(e, t) {
32
+ const Yr = (e) => e;
33
+ function Ki(e, t) {
34
34
  for (const n in t)
35
35
  e[n] = t[n];
36
36
  return (
@@ -38,29 +38,29 @@ function es(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function qr(e) {
41
+ function Zr(e) {
42
42
  return e();
43
43
  }
44
- function cr() {
44
+ function lr() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function Pe(e) {
48
- e.forEach(qr);
47
+ function Re(e) {
48
+ e.forEach(Zr);
49
49
  }
50
- function Zt(e) {
50
+ function Xt(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Jr(e, t) {
53
+ function qr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let Ot;
57
- function xn(e, t) {
58
- return e === t ? !0 : (Ot || (Ot = document.createElement("a")), Ot.href = t, e === Ot.href);
56
+ let wt;
57
+ function yn(e, t) {
58
+ return e === t ? !0 : (wt || (wt = document.createElement("a")), wt.href = t, e === wt.href);
59
59
  }
60
- function ts(e) {
60
+ function es(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Qr(e, ...t) {
63
+ function Jr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const r of t)
66
66
  r(void 0);
@@ -69,19 +69,19 @@ function Qr(e, ...t) {
69
69
  const n = e.subscribe(...t);
70
70
  return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
- function fr(e, t, n) {
73
- e.$$.on_destroy.push(Qr(t, n));
72
+ function cr(e, t, n) {
73
+ e.$$.on_destroy.push(Jr(t, n));
74
74
  }
75
- function Ht(e, t, n, r) {
75
+ function Lt(e, t, n, r) {
76
76
  if (e) {
77
- const i = Kr(e, t, n, r);
77
+ const i = Qr(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Kr(e, t, n, r) {
82
- return e[1] && r ? es(n.ctx.slice(), e[1](r(t))) : n.ctx;
81
+ function Qr(e, t, n, r) {
82
+ return e[1] && r ? Ki(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function Rt(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,9 +96,9 @@ function Rt(e, t, n, r) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Pt(e, t, n, r, i, s) {
99
+ function Rt(e, t, n, r, i, s) {
100
100
  if (i) {
101
- const a = Kr(t, n, r, s);
101
+ const a = Qr(t, n, r, s);
102
102
  e.p(a, i);
103
103
  }
104
104
  }
@@ -111,36 +111,36 @@ function It(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- const ei = typeof window != "undefined";
115
- let ns = ei ? () => window.performance.now() : () => Date.now(), Pn = ei ? (e) => requestAnimationFrame(e) : de;
116
- const Xe = /* @__PURE__ */ new Set();
117
- function ti(e) {
118
- Xe.forEach((t) => {
119
- t.c(e) || (Xe.delete(t), t.f());
120
- }), Xe.size !== 0 && Pn(ti);
114
+ const Kr = typeof window != "undefined";
115
+ let ts = Kr ? () => window.performance.now() : () => Date.now(), Hn = Kr ? (e) => requestAnimationFrame(e) : de;
116
+ const Ve = /* @__PURE__ */ new Set();
117
+ function ei(e) {
118
+ Ve.forEach((t) => {
119
+ t.c(e) || (Ve.delete(t), t.f());
120
+ }), Ve.size !== 0 && Hn(ei);
121
121
  }
122
- function rs(e) {
122
+ function ns(e) {
123
123
  let t;
124
- return Xe.size === 0 && Pn(ti), {
124
+ return Ve.size === 0 && Hn(ei), {
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
  }
133
- function J(e, t) {
133
+ function q(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
- function is(e, t, n) {
137
- const r = In(e);
136
+ function rs(e, t, n) {
137
+ const r = Rn(e);
138
138
  if (!r.getElementById(t)) {
139
139
  const i = te("style");
140
- i.id = t, i.textContent = n, ni(r, i);
140
+ i.id = t, i.textContent = n, ti(r, i);
141
141
  }
142
142
  }
143
- function In(e) {
143
+ function Rn(e) {
144
144
  if (!e)
145
145
  return document;
146
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -150,18 +150,18 @@ function In(e) {
150
150
  t
151
151
  ) : e.ownerDocument;
152
152
  }
153
- function ss(e) {
153
+ function is(e) {
154
154
  const t = te("style");
155
- return t.textContent = "/* empty */", ni(In(e), t), t.sheet;
155
+ return t.textContent = "/* empty */", ti(Rn(e), t), t.sheet;
156
156
  }
157
- function ni(e, t) {
158
- return J(
157
+ function ti(e, t) {
158
+ return q(
159
159
  /** @type {Document} */
160
160
  e.head || e,
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) {
@@ -170,53 +170,53 @@ function ge(e) {
170
170
  function te(e) {
171
171
  return document.createElement(e);
172
172
  }
173
- function hr(e) {
173
+ function fr(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
- function ri() {
183
- return et("");
182
+ function ni() {
183
+ return Ke("");
184
184
  }
185
- function Gt(e, t, n, r) {
185
+ function Ft(e, t, n, r) {
186
186
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
187
187
  }
188
- function $(e, t, n) {
188
+ function j(e, t, n) {
189
189
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
190
190
  }
191
- function os(e) {
191
+ function ss(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;
199
- function as() {
200
- if (Mt === void 0) {
201
- Mt = !1;
198
+ let Ot;
199
+ function os() {
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
- function us(e, t) {
210
+ function as(e, t) {
211
211
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
212
212
  const r = te("iframe");
213
213
  r.setAttribute(
214
214
  "style",
215
215
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
216
216
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
217
- const i = as();
217
+ const i = os();
218
218
  let s;
219
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Gt(
219
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ft(
220
220
  window,
221
221
  "message",
222
222
  /** @param {MessageEvent} event */
@@ -224,15 +224,15 @@ function us(e, t) {
224
224
  a.source === r.contentWindow && t();
225
225
  }
226
226
  )) : (r.src = "about:blank", r.onload = () => {
227
- s = Gt(r.contentWindow, "resize", t), t();
228
- }), J(e, r), () => {
227
+ s = Ft(r.contentWindow, "resize", t), t();
228
+ }), q(e, r), () => {
229
229
  (i || s && r.contentWindow) && s(), ge(r);
230
230
  };
231
231
  }
232
- function ls(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
232
+ function us(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
234
234
  }
235
- function cs(e) {
235
+ function ls(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -241,194 +241,194 @@ function cs(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const $t = /* @__PURE__ */ new Map();
245
- let jt = 0;
246
- function fs(e) {
244
+ const Gt = /* @__PURE__ */ new Map();
245
+ let $t = 0;
246
+ function cs(e) {
247
247
  let t = 5381, n = e.length;
248
248
  for (; n--; )
249
249
  t = (t << 5) - t ^ e.charCodeAt(n);
250
250
  return t >>> 0;
251
251
  }
252
- function hs(e, t) {
253
- const n = { stylesheet: ss(t), rules: {} };
254
- return $t.set(e, n), n;
252
+ function fs(e, t) {
253
+ const n = { stylesheet: is(t), rules: {} };
254
+ return Gt.set(e, n), n;
255
255
  }
256
- function mr(e, t, n, r, i, s, a, u = 0) {
256
+ function hr(e, t, n, r, i, s, a, u = 0) {
257
257
  const c = 16.666 / r;
258
258
  let l = `{
259
259
  `;
260
- for (let C = 0; C <= 1; C += c) {
261
- const G = t + (n - t) * s(C);
262
- l += C * 100 + `%{${a(G, 1 - G)}}
260
+ for (let M = 0; M <= 1; M += c) {
261
+ const $ = t + (n - t) * s(M);
262
+ l += M * 100 + `%{${a($, 1 - $)}}
263
263
  `;
264
264
  }
265
265
  const f = l + `100% {${a(n, 1 - n)}}
266
- }`, b = `__svelte_${fs(f)}_${u}`, y = In(e), { stylesheet: M, rules: E } = $t.get(y) || hs(y, e);
267
- E[b] || (E[b] = !0, M.insertRule(`@keyframes ${b} ${f}`, M.cssRules.length));
266
+ }`, b = `__svelte_${cs(f)}_${u}`, y = Rn(e), { stylesheet: O, rules: E } = Gt.get(y) || fs(y, e);
267
+ E[b] || (E[b] = !0, O.insertRule(`@keyframes ${b} ${f}`, O.cssRules.length));
268
268
  const d = e.style.animation || "";
269
- return e.style.animation = `${d ? `${d}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, jt += 1, b;
269
+ return e.style.animation = `${d ? `${d}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, $t += 1, b;
270
270
  }
271
- function ms(e, t) {
271
+ function hs(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(", "), $t -= i, $t || ms());
277
277
  }
278
- function ds() {
279
- Pn(() => {
280
- jt || ($t.forEach((e) => {
278
+ function ms() {
279
+ Hn(() => {
280
+ $t || (Gt.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
282
  t && ge(t);
283
- }), $t.clear());
283
+ }), Gt.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
- function ii() {
291
- if (!gt)
290
+ function ri() {
291
+ if (!pt)
292
292
  throw new Error("Function called outside component initialization");
293
- return gt;
293
+ return pt;
294
294
  }
295
- function ps(e) {
296
- ii().$$.on_mount.push(e);
295
+ function ds(e) {
296
+ ri().$$.on_mount.push(e);
297
297
  }
298
- function gs(e) {
299
- ii().$$.on_destroy.push(e);
298
+ function ps(e) {
299
+ ri().$$.on_destroy.push(e);
300
300
  }
301
- const Ve = [], zt = [];
302
- let Ye = [];
303
- const dr = [], bs = /* @__PURE__ */ Promise.resolve();
304
- let vn = !1;
305
- function Es() {
306
- vn || (vn = !0, bs.then(le));
301
+ const We = [], jt = [];
302
+ let Xe = [];
303
+ const mr = [], gs = /* @__PURE__ */ Promise.resolve();
304
+ let Tn = !1;
305
+ function bs() {
306
+ Tn || (Tn = !0, gs.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), _s(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);
334
- for (; dr.length; )
335
- dr.pop()();
336
- vn = !1, ln.clear(), pt(e);
332
+ Xe.length = 0;
333
+ } while (We.length);
334
+ for (; mr.length; )
335
+ mr.pop()();
336
+ Tn = !1, an.clear(), dt(e);
337
337
  }
338
- function _s(e) {
338
+ function Es(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), Pe(e.before_update);
340
+ e.update(), Re(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
- function ys(e) {
345
+ function _s(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;
350
- function Ts() {
351
- return ot || (ot = Promise.resolve(), ot.then(() => {
352
- ot = null;
353
- })), ot;
349
+ let st;
350
+ function ys() {
351
+ return st || (st = Promise.resolve(), st.then(() => {
352
+ st = null;
353
+ })), st;
354
354
  }
355
- function cn(e, t, n) {
356
- e.dispatchEvent(ls(`${t ? "intro" : "outro"}${n}`));
355
+ function un(e, t, n) {
356
+ e.dispatchEvent(us(`${t ? "intro" : "outro"}${n}`));
357
357
  }
358
- const Dt = /* @__PURE__ */ new Set();
359
- let Ne;
360
- function si() {
361
- Ne = {
358
+ const Pt = /* @__PURE__ */ new Set();
359
+ let Ce;
360
+ function ii() {
361
+ Ce = {
362
362
  r: 0,
363
363
  c: [],
364
- p: Ne
364
+ p: Ce
365
365
  // parent group
366
366
  };
367
367
  }
368
- function oi() {
369
- Ne.r || Pe(Ne.c), Ne = Ne.p;
368
+ function si() {
369
+ Ce.r || Re(Ce.c), Ce = Ce.p;
370
370
  }
371
- function Ae(e, t) {
372
- e && e.i && (Dt.delete(e), e.i(t));
371
+ function Se(e, t) {
372
+ e && e.i && (Pt.delete(e), e.i(t));
373
373
  }
374
- function He(e, t, n, r) {
374
+ function Le(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), Ne.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 xs = { duration: 0 };
385
- function pr(e, t, n, r) {
384
+ const Ts = { duration: 0 };
385
+ function dr(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 b() {
388
- l && ms(e, l);
388
+ l && hs(e, l);
389
389
  }
390
390
  function y(E, d) {
391
- const C = (
391
+ const M = (
392
392
  /** @type {Program['d']} */
393
393
  E.b - a
394
394
  );
395
- return d *= Math.abs(C), {
395
+ return d *= Math.abs(M), {
396
396
  a,
397
397
  b: E.b,
398
- d: C,
398
+ d: M,
399
399
  duration: d,
400
400
  start: E.start,
401
401
  end: E.start + d,
402
402
  group: E.group
403
403
  };
404
404
  }
405
- function M(E) {
405
+ function O(E) {
406
406
  const {
407
407
  delay: d = 0,
408
- duration: C = 300,
409
- easing: G = Zr,
408
+ duration: M = 300,
409
+ easing: $ = Yr,
410
410
  tick: U = de,
411
411
  css: A
412
- } = s || xs, H = {
413
- start: ns() + d,
412
+ } = s || Ts, H = {
413
+ start: ts() + d,
414
414
  b: E
415
415
  };
416
- E || (H.group = Ne, Ne.r += 1), "inert" in e && (E ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
- e.inert, e.inert = !0)), u || c ? c = H : (A && (b(), l = mr(e, a, E, C, d, G, A)), E && U(0, 1), u = y(H, C), Ze(() => cn(e, E, "start")), rs((I) => {
418
- if (c && I > c.start && (u = y(c, C), c = null, cn(e, u.b, "start"), A && (b(), l = mr(
416
+ E || (H.group = Ce, Ce.r += 1), "inert" in e && (E ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
+ e.inert, e.inert = !0)), u || c ? c = H : (A && (b(), l = hr(e, a, E, M, d, $, A)), E && U(0, 1), u = y(H, M), Ye(() => un(e, E, "start")), ns((P) => {
418
+ if (c && P > c.start && (u = y(c, M), c = null, un(e, u.b, "start"), A && (b(), l = hr(
419
419
  e,
420
420
  a,
421
421
  u.b,
422
422
  u.duration,
423
423
  0,
424
- G,
424
+ $,
425
425
  s.css
426
426
  ))), u) {
427
- if (I >= u.end)
428
- U(a = u.b, 1 - a), cn(e, u.b, "end"), c || (u.b ? b() : --u.group.r || Pe(u.group.c)), u = null;
429
- else if (I >= u.start) {
430
- const F = I - u.start;
431
- a = u.a + u.d * G(F / u.duration), U(a, 1 - a);
427
+ if (P >= u.end)
428
+ U(a = u.b, 1 - a), un(e, u.b, "end"), c || (u.b ? b() : --u.group.r || Re(u.group.c)), u = null;
429
+ else if (P >= u.start) {
430
+ const G = P - u.start;
431
+ a = u.a + u.d * $(G / u.duration), U(a, 1 - a);
432
432
  }
433
433
  }
434
434
  return !!(u || c);
@@ -436,32 +436,32 @@ function pr(e, t, n, r) {
436
436
  }
437
437
  return {
438
438
  run(E) {
439
- Zt(s) ? Ts().then(() => {
440
- s = s({ direction: E ? "in" : "out" }), M(E);
441
- }) : M(E);
439
+ Xt(s) ? ys().then(() => {
440
+ s = s({ direction: E ? "in" : "out" }), O(E);
441
+ }) : O(E);
442
442
  },
443
443
  end() {
444
444
  b(), u = c = null;
445
445
  }
446
446
  };
447
447
  }
448
- function vs(e, t, n) {
448
+ function xs(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(Zr).filter(Xt);
452
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Re(s), e.$$.on_mount = [];
453
+ }), i.forEach(Ye);
454
454
  }
455
- function Ss(e, t) {
455
+ function vs(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 && (_s(n.after_update), Re(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), Es(), 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
- function ws(e, t, n, r, i, s, a = null, u = [-1]) {
463
- const c = gt;
464
- pt(e);
462
+ function Ss(e, t, n, r, i, s, a = null, u = [-1]) {
463
+ const c = pt;
464
+ dt(e);
465
465
  const l = e.$$ = {
466
466
  fragment: null,
467
467
  ctx: [],
@@ -469,7 +469,7 @@ function ws(e, t, n, r, i, s, a = null, u = [-1]) {
469
469
  props: s,
470
470
  update: de,
471
471
  not_equal: i,
472
- bound: cr(),
472
+ bound: lr(),
473
473
  // lifecycle
474
474
  on_mount: [],
475
475
  on_destroy: [],
@@ -478,28 +478,28 @@ function ws(e, t, n, r, i, s, a = null, u = [-1]) {
478
478
  after_update: [],
479
479
  context: new Map(t.context || (c ? c.$$.context : [])),
480
480
  // everything else
481
- callbacks: cr(),
481
+ callbacks: lr(),
482
482
  dirty: u,
483
483
  skip_bound: !1,
484
484
  root: t.target || c.$$.root
485
485
  };
486
486
  a && a(l.root);
487
487
  let f = !1;
488
- if (l.ctx = n ? n(e, t.props || {}, (b, y, ...M) => {
489
- const E = M.length ? M[0] : y;
488
+ if (l.ctx = n(e, t.props || {}, (b, y, ...O) => {
489
+ const E = O.length ? O[0] : y;
490
490
  return l.ctx && i(l.ctx[b], l.ctx[b] = E) && (!l.skip_bound && l.bound[b] && l.bound[b](E), f && As(e, b)), y;
491
- }) : [], l.update(), f = !0, Pe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
491
+ }), l.update(), f = !0, Re(l.before_update), l.fragment = r(l.ctx), t.target) {
492
492
  if (t.hydrate) {
493
- const b = os(t.target);
493
+ const b = ss(t.target);
494
494
  l.fragment && l.fragment.l(b), b.forEach(ge);
495
495
  } else
496
496
  l.fragment && l.fragment.c();
497
- t.intro && Ae(e.$$.fragment), vs(e, t.target, t.anchor), le();
497
+ t.intro && Se(e.$$.fragment), xs(e, t.target, t.anchor), le();
498
498
  }
499
- pt(c);
499
+ dt(c);
500
500
  }
501
- let ai;
502
- typeof HTMLElement == "function" && (ai = class extends HTMLElement {
501
+ let oi;
502
+ typeof HTMLElement == "function" && (oi = class extends HTMLElement {
503
503
  constructor(t, n, r) {
504
504
  super();
505
505
  /** The Svelte component constructor */
@@ -536,21 +536,21 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
536
536
  }
537
537
  }
538
538
  connectedCallback() {
539
- return lr(this, null, function* () {
539
+ return ur(this, null, function* () {
540
540
  if (this.$$cn = !0, !this.$$c) {
541
541
  let t = function(s) {
542
542
  return () => {
543
543
  let a;
544
544
  return {
545
545
  c: function() {
546
- a = te("slot"), s !== "default" && $(a, "name", s);
546
+ a = te("slot"), s !== "default" && j(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);
@@ -560,18 +560,18 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
560
560
  };
561
561
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
562
562
  return;
563
- const n = {}, r = cs(this);
563
+ const n = {}, r = ls(this);
564
564
  for (const s of this.$$s)
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]);
572
572
  this.$$c = new this.$$ctor({
573
573
  target: this.shadowRoot || this,
574
- props: ur(ar({}, this.$$d), {
574
+ props: ar(or({}, this.$$d), {
575
575
  $$slots: n,
576
576
  $$scope: {
577
577
  ctx: []
@@ -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])
@@ -649,8 +649,8 @@ function Bt(e, t, n, r) {
649
649
  return t;
650
650
  }
651
651
  }
652
- function Os(e, t, n, r, i, s) {
653
- let a = class extends ai {
652
+ function ws(e, t, n, r, i, s) {
653
+ let a = class extends oi {
654
654
  constructor() {
655
655
  super(e, n, i), this.$$p_d = t;
656
656
  }
@@ -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) => {
@@ -680,7 +680,7 @@ function Os(e, t, n, r, i, s) {
680
680
  }), e.element = /** @type {any} */
681
681
  a, a;
682
682
  }
683
- class Ms {
683
+ class Os {
684
684
  constructor() {
685
685
  /**
686
686
  * ### PRIVATE API
@@ -701,7 +701,7 @@ class Ms {
701
701
  }
702
702
  /** @returns {void} */
703
703
  $destroy() {
704
- Ss(this, 1), this.$destroy = de;
704
+ vs(this, 1), this.$destroy = de;
705
705
  }
706
706
  /**
707
707
  * @template {Extract<keyof Events, string>} K
@@ -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), () => {
@@ -723,12 +723,12 @@ class Ms {
723
723
  * @returns {void}
724
724
  */
725
725
  $set(t) {
726
- this.$$set && !ts(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
726
+ this.$$set && !es(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
727
727
  }
728
728
  }
729
- const Cs = "4";
730
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cs);
731
- function gr(e, { delay: t = 0, duration: n = 400, easing: r = Zr } = {}) {
729
+ const Ms = "4";
730
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ms);
731
+ function pr(e, { delay: t = 0, duration: n = 400, easing: r = Yr } = {}) {
732
732
  const i = +getComputedStyle(e).opacity;
733
733
  return {
734
734
  delay: t,
@@ -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 = [];
741
- function Ns(e, t) {
740
+ const ze = [];
741
+ function Cs(e, t) {
742
742
  return {
743
- subscribe: _t(e, t).subscribe
743
+ subscribe: Et(e, t).subscribe
744
744
  };
745
745
  }
746
- function _t(e, t = de) {
746
+ function Et(e, t = de) {
747
747
  let n;
748
748
  const r = /* @__PURE__ */ new Set();
749
749
  function i(u) {
750
- if (Jr(e, u) && (e = u, n)) {
751
- const c = !We.length;
750
+ if (qr(e, u) && (e = u, n)) {
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,12 +769,12 @@ function _t(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");
776
776
  const s = t.length < 2;
777
- return Ns(n, (a, u) => {
777
+ return Cs(n, (a, u) => {
778
778
  let c = !1;
779
779
  const l = [];
780
780
  let f = 0, b = de;
@@ -783,12 +783,12 @@ function tt(e, t, n) {
783
783
  return;
784
784
  b();
785
785
  const E = t(r ? l[0] : l, a, u);
786
- s ? a(E) : b = Zt(E) ? E : de;
787
- }, M = i.map(
788
- (E, d) => Qr(
786
+ s ? a(E) : b = Xt(E) ? E : de;
787
+ }, O = i.map(
788
+ (E, d) => Jr(
789
789
  E,
790
- (C) => {
791
- l[d] = C, f &= ~(1 << d), c && y();
790
+ (M) => {
791
+ l[d] = M, f &= ~(1 << d), c && y();
792
792
  },
793
793
  () => {
794
794
  f |= 1 << d;
@@ -796,113 +796,127 @@ function tt(e, t, n) {
796
796
  )
797
797
  );
798
798
  return c = !0, y(), function() {
799
- Pe(M), b(), c = !1;
799
+ Re(O), b(), c = !1;
800
800
  };
801
801
  });
802
802
  }
803
- var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
- function Dn(e) {
803
+ var ai = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
+ function In(e) {
805
805
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
806
806
  }
807
- var Ls = function(t) {
808
- return Hs(t) && !Rs(t);
807
+ var Ns = function(t) {
808
+ return Ls(t) && !Hs(t);
809
809
  };
810
- function Hs(e) {
810
+ function Ls(e) {
811
811
  return !!e && typeof e == "object";
812
812
  }
813
- function Rs(e) {
813
+ function Hs(e) {
814
814
  var t = Object.prototype.toString.call(e);
815
- return t === "[object RegExp]" || t === "[object Date]" || Ds(e);
815
+ return t === "[object RegExp]" || t === "[object Date]" || Ps(e);
816
816
  }
817
- var Ps = typeof Symbol == "function" && Symbol.for, Is = Ps ? Symbol.for("react.element") : 60103;
818
- function Ds(e) {
817
+ var Rs = typeof Symbol == "function" && Symbol.for, Is = Rs ? Symbol.for("react.element") : 60103;
818
+ function Ps(e) {
819
819
  return e.$$typeof === Is;
820
820
  }
821
- function Bs(e) {
821
+ function Ds(e) {
822
822
  return Array.isArray(e) ? [] : {};
823
823
  }
824
- function bt(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(Ds(e), e, t) : e;
826
826
  }
827
- function Us(e, t, n) {
827
+ function Bs(e, t, n) {
828
828
  return e.concat(t).map(function(r) {
829
- return bt(r, n);
829
+ return gt(r, n);
830
830
  });
831
831
  }
832
- function ks(e, t) {
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
- function Fs(e) {
838
+ function ks(e) {
839
839
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
840
840
  return Object.propertyIsEnumerable.call(e, t);
841
841
  }) : [];
842
842
  }
843
- function br(e) {
844
- return Object.keys(e).concat(Fs(e));
843
+ function gr(e) {
844
+ return Object.keys(e).concat(ks(e));
845
845
  }
846
- function li(e, t) {
846
+ function ui(e, t) {
847
847
  try {
848
848
  return t in e;
849
849
  } catch (n) {
850
850
  return !1;
851
851
  }
852
852
  }
853
- function Gs(e, t) {
854
- return li(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
853
+ function Fs(e, t) {
854
+ return ui(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
855
855
  }
856
- function $s(e, t, n) {
856
+ function Gs(e, t, n) {
857
857
  var r = {};
858
- return n.isMergeableObject(e) && br(e).forEach(function(i) {
859
- r[i] = bt(e[i], n);
860
- }), br(t).forEach(function(i) {
861
- Gs(e, i) || (li(e, i) && n.isMergeableObject(t[i]) ? r[i] = ks(i, n)(e[i], t[i], n) : r[i] = bt(t[i], n));
858
+ return n.isMergeableObject(e) && gr(e).forEach(function(i) {
859
+ r[i] = gt(e[i], n);
860
+ }), gr(t).forEach(function(i) {
861
+ Fs(e, i) || (ui(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 || Us, n.isMergeableObject = n.isMergeableObject || Ls, n.cloneUnlessOtherwiseSpecified = bt;
864
+ function Ze(e, t, n) {
865
+ n = n || {}, n.arrayMerge = n.arrayMerge || Bs, 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) : $s(e, t, n) : bt(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__ */ Dn(zs);
878
- var Sn = function(e, t) {
879
- return Sn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
876
+ var $s = Ze, js = $s;
877
+ const zs = /* @__PURE__ */ In(js);
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
- }, Sn(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
- Sn(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 F = function() {
910
+ return F = 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
+ }, F.apply(this, arguments);
904
918
  };
905
- function Vs(e, t) {
919
+ function Ws(e, t) {
906
920
  var n = {};
907
921
  for (var r in e)
908
922
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -911,43 +925,46 @@ 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 : qs, i = t && t.strategy ? t.strategy : Xs;
922
936
  return i(e, {
923
937
  cache: n,
924
938
  serializer: r
925
939
  });
926
940
  }
927
- function Xs(e) {
941
+ function Vs(e) {
928
942
  return e == null || typeof e == "number" || typeof e == "boolean";
929
943
  }
930
- function Ys(e, t, n, r) {
931
- var i = Xs(r) ? r : n(r), s = t.get(i);
944
+ function li(e, t, n, r) {
945
+ var i = Vs(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
948
  function ci(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 Pn(e, t, n, r, i) {
939
953
  return n.bind(t, e, r, i);
940
954
  }
941
- function Zs(e, t) {
942
- var n = e.length === 1 ? Ys : ci;
943
- return fi(e, this, n, t.cache.create(), t.serializer);
955
+ function Xs(e, t) {
956
+ var n = e.length === 1 ? li : ci;
957
+ return Pn(e, this, n, t.cache.create(), t.serializer);
944
958
  }
945
- function qs(e, t) {
946
- return fi(e, this, ci, t.cache.create(), t.serializer);
959
+ function Ys(e, t) {
960
+ return Pn(e, this, ci, t.cache.create(), t.serializer);
947
961
  }
948
- var Js = function() {
962
+ function Zs(e, t) {
963
+ return Pn(e, this, li, t.cache.create(), t.serializer);
964
+ }
965
+ var qs = function() {
949
966
  return JSON.stringify(arguments);
950
- }, Qs = (
967
+ }, Js = (
951
968
  /** @class */
952
969
  function() {
953
970
  function e() {
@@ -959,23 +976,14 @@ var Js = function() {
959
976
  this.cache[t] = n;
960
977
  }, e;
961
978
  }()
962
- ), Ks = {
979
+ ), Qs = {
963
980
  create: function() {
964
- return new Qs();
981
+ return new Js();
965
982
  }
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;
983
+ }, fn = {
984
+ variadic: Ys,
985
+ monadic: Zs
986
+ }, D;
979
987
  (function(e) {
980
988
  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
989
  })(D || (D = {}));
@@ -983,47 +991,47 @@ var X;
983
991
  (function(e) {
984
992
  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
993
  })(X || (X = {}));
986
- var Je;
994
+ var qe;
987
995
  (function(e) {
988
996
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
989
- })(Je || (Je = {}));
990
- function Er(e) {
997
+ })(qe || (qe = {}));
998
+ function br(e) {
991
999
  return e.type === X.literal;
992
1000
  }
993
- function eo(e) {
1001
+ function Ks(e) {
994
1002
  return e.type === X.argument;
995
1003
  }
996
- function hi(e) {
1004
+ function fi(e) {
997
1005
  return e.type === X.number;
998
1006
  }
999
- function mi(e) {
1007
+ function hi(e) {
1000
1008
  return e.type === X.date;
1001
1009
  }
1002
- function di(e) {
1010
+ function mi(e) {
1003
1011
  return e.type === X.time;
1004
1012
  }
1005
- function pi(e) {
1013
+ function di(e) {
1006
1014
  return e.type === X.select;
1007
1015
  }
1008
- function gi(e) {
1016
+ function pi(e) {
1009
1017
  return e.type === X.plural;
1010
1018
  }
1011
- function to(e) {
1019
+ function eo(e) {
1012
1020
  return e.type === X.pound;
1013
1021
  }
1014
- function bi(e) {
1022
+ function gi(e) {
1015
1023
  return e.type === X.tag;
1016
1024
  }
1017
- function Ei(e) {
1018
- return !!(e && typeof e == "object" && e.type === Je.number);
1025
+ function bi(e) {
1026
+ return !!(e && typeof e == "object" && e.type === qe.number);
1019
1027
  }
1020
- function An(e) {
1021
- return !!(e && typeof e == "object" && e.type === Je.dateTime);
1028
+ function vn(e) {
1029
+ return !!(e && typeof e == "object" && e.type === qe.dateTime);
1022
1030
  }
1023
- var _i = /[ \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) {
1031
+ 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;
1032
+ function no(e) {
1025
1033
  var t = {};
1026
- return e.replace(no, function(n) {
1034
+ return e.replace(to, function(n) {
1027
1035
  var r = n.length;
1028
1036
  switch (n[0]) {
1029
1037
  case "G":
@@ -1112,21 +1120,11 @@ function ro(e) {
1112
1120
  return "";
1113
1121
  }), t;
1114
1122
  }
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) {
1123
+ var ro = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1124
+ function io(e) {
1127
1125
  if (e.length === 0)
1128
1126
  throw new Error("Number skeleton cannot be empty");
1129
- for (var t = e.split(io).filter(function(y) {
1127
+ for (var t = e.split(ro).filter(function(y) {
1130
1128
  return y.length > 0;
1131
1129
  }), n = [], r = 0, i = t; r < i.length; r++) {
1132
1130
  var s = i[r], a = s.split("/");
@@ -1141,17 +1139,17 @@ function so(e) {
1141
1139
  }
1142
1140
  return n;
1143
1141
  }
1144
- function oo(e) {
1142
+ function so(e) {
1145
1143
  return e.replace(/^(.*?)-/, "");
1146
1144
  }
1147
- var _r = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, ao = /(\*)(0+)|(#+)(0+)|(0+)/g, Ti = /^(0+)$/;
1148
- function yr(e) {
1145
+ var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _i = /^(@+)?(\+|#+)?[rs]?$/g, oo = /(\*)(0+)|(#+)(0+)|(0+)/g, yi = /^(0+)$/;
1146
+ function _r(e) {
1149
1147
  var t = {};
1150
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yi, function(n, r, i) {
1148
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_i, function(n, r, i) {
1151
1149
  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
1150
  }), t;
1153
1151
  }
1154
- function xi(e) {
1152
+ function Ti(e) {
1155
1153
  switch (e) {
1156
1154
  case "sign-auto":
1157
1155
  return {
@@ -1191,7 +1189,7 @@ function xi(e) {
1191
1189
  };
1192
1190
  }
1193
1191
  }
1194
- function uo(e) {
1192
+ function ao(e) {
1195
1193
  var t;
1196
1194
  if (e[0] === "E" && e[1] === "E" ? (t = {
1197
1195
  notation: "engineering"
@@ -1199,17 +1197,17 @@ function uo(e) {
1199
1197
  notation: "scientific"
1200
1198
  }, e = e.slice(1)), t) {
1201
1199
  var n = e.slice(0, 2);
1202
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ti.test(e))
1200
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yi.test(e))
1203
1201
  throw new Error("Malformed concise eng/scientific notation");
1204
1202
  t.minimumIntegerDigits = e.length;
1205
1203
  }
1206
1204
  return t;
1207
1205
  }
1208
- function Tr(e) {
1209
- var t = {}, n = xi(e);
1206
+ function yr(e) {
1207
+ var t = {}, n = Ti(e);
1210
1208
  return n || t;
1211
1209
  }
1212
- function lo(e) {
1210
+ function uo(e) {
1213
1211
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1214
1212
  var i = r[n];
1215
1213
  switch (i.stem) {
@@ -1233,7 +1231,7 @@ function lo(e) {
1233
1231
  continue;
1234
1232
  case "measure-unit":
1235
1233
  case "unit":
1236
- t.style = "unit", t.unit = oo(i.options[0]);
1234
+ t.style = "unit", t.unit = so(i.options[0]);
1237
1235
  continue;
1238
1236
  case "compact-short":
1239
1237
  case "K":
@@ -1244,13 +1242,13 @@ function lo(e) {
1244
1242
  t.notation = "compact", t.compactDisplay = "long";
1245
1243
  continue;
1246
1244
  case "scientific":
1247
- t = Z(Z(Z({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1248
- return Z(Z({}, c), Tr(l));
1245
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1246
+ return F(F({}, c), yr(l));
1249
1247
  }, {}));
1250
1248
  continue;
1251
1249
  case "engineering":
1252
- t = Z(Z(Z({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1253
- return Z(Z({}, c), Tr(l));
1250
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1251
+ return F(F({}, c), yr(l));
1254
1252
  }, {}));
1255
1253
  continue;
1256
1254
  case "notation-simple":
@@ -1295,45 +1293,45 @@ function lo(e) {
1295
1293
  case "integer-width":
1296
1294
  if (i.options.length > 1)
1297
1295
  throw new RangeError("integer-width stems only accept a single optional option");
1298
- i.options[0].replace(ao, function(c, l, f, b, y, M) {
1296
+ i.options[0].replace(oo, function(c, l, f, b, y, O) {
1299
1297
  if (l)
1300
1298
  t.minimumIntegerDigits = f.length;
1301
1299
  else {
1302
1300
  if (b && y)
1303
1301
  throw new Error("We currently do not support maximum integer digits");
1304
- if (M)
1302
+ if (O)
1305
1303
  throw new Error("We currently do not support exact integer digits");
1306
1304
  }
1307
1305
  return "";
1308
1306
  });
1309
1307
  continue;
1310
1308
  }
1311
- if (Ti.test(i.stem)) {
1309
+ if (yi.test(i.stem)) {
1312
1310
  t.minimumIntegerDigits = i.stem.length;
1313
1311
  continue;
1314
1312
  }
1315
- if (_r.test(i.stem)) {
1313
+ if (Er.test(i.stem)) {
1316
1314
  if (i.options.length > 1)
1317
1315
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1318
- i.stem.replace(_r, function(c, l, f, b, y, M) {
1319
- return f === "*" ? t.minimumFractionDigits = l.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1316
+ i.stem.replace(Er, function(c, l, f, b, y, O) {
1317
+ return f === "*" ? t.minimumFractionDigits = l.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && O ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + O.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1320
1318
  });
1321
1319
  var s = i.options[0];
1322
- s === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = Z(Z({}, t), yr(s)));
1320
+ s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), _r(s)));
1323
1321
  continue;
1324
1322
  }
1325
- if (yi.test(i.stem)) {
1326
- t = Z(Z({}, t), yr(i.stem));
1323
+ if (_i.test(i.stem)) {
1324
+ t = F(F({}, t), _r(i.stem));
1327
1325
  continue;
1328
1326
  }
1329
- var a = xi(i.stem);
1330
- a && (t = Z(Z({}, t), a));
1331
- var u = uo(i.stem);
1332
- u && (t = Z(Z({}, t), u));
1327
+ var a = Ti(i.stem);
1328
+ a && (t = F(F({}, t), a));
1329
+ var u = ao(i.stem);
1330
+ u && (t = F(F({}, t), u));
1333
1331
  }
1334
1332
  return t;
1335
1333
  }
1336
- var Ct = {
1334
+ var Mt = {
1337
1335
  "001": [
1338
1336
  "H",
1339
1337
  "h"
@@ -2748,13 +2746,13 @@ var Ct = {
2748
2746
  "h"
2749
2747
  ]
2750
2748
  };
2751
- function co(e, t) {
2749
+ function lo(e, t) {
2752
2750
  for (var n = "", r = 0; r < e.length; r++) {
2753
2751
  var i = e.charAt(r);
2754
2752
  if (i === "j") {
2755
2753
  for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2756
2754
  s++, r++;
2757
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = fo(t);
2755
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = co(t);
2758
2756
  for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2759
2757
  n += c;
2760
2758
  for (; a-- > 0; )
@@ -2764,7 +2762,7 @@ function co(e, t) {
2764
2762
  }
2765
2763
  return n;
2766
2764
  }
2767
- function fo(e) {
2765
+ function co(e) {
2768
2766
  var t = e.hourCycle;
2769
2767
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2770
2768
  e.hourCycles && // @ts-ignore
@@ -2783,23 +2781,23 @@ function fo(e) {
2783
2781
  }
2784
2782
  var n = e.language, r;
2785
2783
  n !== "root" && (r = e.maximize().region);
2786
- var i = Ct[r || ""] || Ct[n || ""] || Ct["".concat(n, "-001")] || Ct["001"];
2784
+ var i = Mt[r || ""] || Mt[n || ""] || Mt["".concat(n, "-001")] || Mt["001"];
2787
2785
  return i[0];
2788
2786
  }
2789
- var dn, ho = new RegExp("^".concat(_i.source, "*")), mo = new RegExp("".concat(_i.source, "*$"));
2787
+ var hn, fo = new RegExp("^".concat(Ei.source, "*")), ho = new RegExp("".concat(Ei.source, "*$"));
2790
2788
  function B(e, t) {
2791
2789
  return { start: e, end: t };
2792
2790
  }
2793
- var po = !!String.prototype.startsWith && "_a".startsWith("a", 1), go = !!String.fromCodePoint, bo = !!Object.fromEntries, Eo = !!String.prototype.codePointAt, _o = !!String.prototype.trimStart, yo = !!String.prototype.trimEnd, To = !!Number.isSafeInteger, xo = To ? Number.isSafeInteger : function(e) {
2791
+ var mo = !!String.prototype.startsWith && "_a".startsWith("a", 1), po = !!String.fromCodePoint, go = !!Object.fromEntries, bo = !!String.prototype.codePointAt, Eo = !!String.prototype.trimStart, _o = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, To = yo ? Number.isSafeInteger : function(e) {
2794
2792
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2795
- }, wn = !0;
2793
+ }, An = !0;
2796
2794
  try {
2797
- var vo = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
- wn = ((dn = vo.exec("a")) === null || dn === void 0 ? void 0 : dn[0]) === "a";
2795
+ var xo = vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2796
+ An = ((hn = xo.exec("a")) === null || hn === void 0 ? void 0 : hn[0]) === "a";
2799
2797
  } catch (e) {
2800
- wn = !1;
2798
+ An = !1;
2801
2799
  }
2802
- var xr = po ? (
2800
+ var Tr = mo ? (
2803
2801
  // Native
2804
2802
  function(t, n, r) {
2805
2803
  return t.startsWith(n, r);
@@ -2809,7 +2807,7 @@ var xr = po ? (
2809
2807
  function(t, n, r) {
2810
2808
  return t.slice(r, r + n.length) === n;
2811
2809
  }
2812
- ), On = go ? String.fromCodePoint : (
2810
+ ), Sn = po ? String.fromCodePoint : (
2813
2811
  // IE11
2814
2812
  function() {
2815
2813
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2821,9 +2819,9 @@ var xr = po ? (
2821
2819
  }
2822
2820
  return r;
2823
2821
  }
2824
- ), vr = (
2822
+ ), xr = (
2825
2823
  // native
2826
- bo ? Object.fromEntries : (
2824
+ go ? Object.fromEntries : (
2827
2825
  // Ponyfill
2828
2826
  function(t) {
2829
2827
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2833,7 +2831,7 @@ var xr = po ? (
2833
2831
  return n;
2834
2832
  }
2835
2833
  )
2836
- ), vi = Eo ? (
2834
+ ), xi = bo ? (
2837
2835
  // Native
2838
2836
  function(t, n) {
2839
2837
  return t.codePointAt(n);
@@ -2847,7 +2845,7 @@ var xr = po ? (
2847
2845
  return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2848
2846
  }
2849
2847
  }
2850
- ), So = _o ? (
2848
+ ), vo = Eo ? (
2851
2849
  // Native
2852
2850
  function(t) {
2853
2851
  return t.trimStart();
@@ -2855,9 +2853,9 @@ var xr = po ? (
2855
2853
  ) : (
2856
2854
  // Ponyfill
2857
2855
  function(t) {
2858
- return t.replace(ho, "");
2856
+ return t.replace(fo, "");
2859
2857
  }
2860
- ), Ao = yo ? (
2858
+ ), Ao = _o ? (
2861
2859
  // Native
2862
2860
  function(t) {
2863
2861
  return t.trimEnd();
@@ -2865,32 +2863,32 @@ var xr = po ? (
2865
2863
  ) : (
2866
2864
  // Ponyfill
2867
2865
  function(t) {
2868
- return t.replace(mo, "");
2866
+ return t.replace(ho, "");
2869
2867
  }
2870
2868
  );
2871
- function Si(e, t) {
2869
+ function vi(e, t) {
2872
2870
  return new RegExp(e, t);
2873
2871
  }
2874
- var Mn;
2875
- if (wn) {
2876
- var Sr = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2877
- Mn = function(t, n) {
2872
+ var wn;
2873
+ if (An) {
2874
+ var vr = vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2875
+ wn = function(t, n) {
2878
2876
  var r;
2879
- Sr.lastIndex = n;
2880
- var i = Sr.exec(t);
2877
+ vr.lastIndex = n;
2878
+ var i = vr.exec(t);
2881
2879
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2882
2880
  };
2883
2881
  } else
2884
- Mn = function(t, n) {
2882
+ wn = function(t, n) {
2885
2883
  for (var r = []; ; ) {
2886
- var i = vi(t, n);
2887
- if (i === void 0 || Ai(i) || Co(i))
2884
+ var i = xi(t, n);
2885
+ if (i === void 0 || Ai(i) || Mo(i))
2888
2886
  break;
2889
2887
  r.push(i), n += i >= 65536 ? 2 : 1;
2890
2888
  }
2891
- return On.apply(void 0, r);
2889
+ return Sn.apply(void 0, r);
2892
2890
  };
2893
- var wo = (
2891
+ var So = (
2894
2892
  /** @class */
2895
2893
  function() {
2896
2894
  function e(t, n) {
@@ -2921,7 +2919,7 @@ var wo = (
2921
2919
  if (r)
2922
2920
  break;
2923
2921
  return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2924
- } else if (s === 60 && !this.ignoreTag && Cn(this.peek() || 0)) {
2922
+ } else if (s === 60 && !this.ignoreTag && On(this.peek() || 0)) {
2925
2923
  var a = this.parseTag(t, n);
2926
2924
  if (a.err)
2927
2925
  return a;
@@ -2954,7 +2952,7 @@ var wo = (
2954
2952
  return s;
2955
2953
  var a = s.val, u = this.clonePosition();
2956
2954
  if (this.bumpIf("</")) {
2957
- if (this.isEOF() || !Cn(this.char()))
2955
+ if (this.isEOF() || !On(this.char()))
2958
2956
  return this.error(D.INVALID_TAG, B(u, this.clonePosition()));
2959
2957
  var c = this.clonePosition(), l = this.parseTagName();
2960
2958
  return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2972,7 +2970,7 @@ var wo = (
2972
2970
  return this.error(D.INVALID_TAG, B(r, this.clonePosition()));
2973
2971
  }, e.prototype.parseTagName = function() {
2974
2972
  var t = this.offset();
2975
- for (this.bump(); !this.isEOF() && Mo(this.char()); )
2973
+ for (this.bump(); !this.isEOF() && Oo(this.char()); )
2976
2974
  this.bump();
2977
2975
  return this.message.slice(t, this.offset());
2978
2976
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3001,7 +2999,7 @@ var wo = (
3001
2999
  };
3002
3000
  }, e.prototype.tryParseLeftAngleBracket = function() {
3003
3001
  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;
3002
+ !wo(this.peek() || 0)) ? (this.bump(), "<") : null;
3005
3003
  }, e.prototype.tryParseQuote = function(t) {
3006
3004
  if (this.isEOF() || this.char() !== 39)
3007
3005
  return null;
@@ -3035,12 +3033,12 @@ var wo = (
3035
3033
  n.push(r);
3036
3034
  this.bump();
3037
3035
  }
3038
- return On.apply(void 0, n);
3036
+ return Sn.apply(void 0, n);
3039
3037
  }, e.prototype.tryParseUnquoted = function(t, n) {
3040
3038
  if (this.isEOF())
3041
3039
  return null;
3042
3040
  var r = this.char();
3043
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), On(r));
3041
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Sn(r));
3044
3042
  }, e.prototype.parseArgument = function(t, n) {
3045
3043
  var r = this.clonePosition();
3046
3044
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3069,7 +3067,7 @@ var wo = (
3069
3067
  return this.error(D.MALFORMED_ARGUMENT, B(r, this.clonePosition()));
3070
3068
  }
3071
3069
  }, e.prototype.parseIdentifierIfPossible = function() {
3072
- var t = this.clonePosition(), n = this.offset(), r = Mn(this.message, n), i = n + r.length;
3070
+ var t = this.clonePosition(), n = this.offset(), r = wn(this.message, n), i = n + r.length;
3073
3071
  this.bumpTo(i);
3074
3072
  var s = this.clonePosition(), a = B(t, s);
3075
3073
  return { value: r, location: a };
@@ -3091,31 +3089,31 @@ var wo = (
3091
3089
  var y = Ao(b.val);
3092
3090
  if (y.length === 0)
3093
3091
  return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
3094
- var M = B(f, this.clonePosition());
3095
- l = { style: y, styleLocation: M };
3092
+ var O = B(f, this.clonePosition());
3093
+ l = { style: y, styleLocation: O };
3096
3094
  }
3097
3095
  var E = this.tryParseArgumentClose(i);
3098
3096
  if (E.err)
3099
3097
  return E;
3100
3098
  var d = B(i, this.clonePosition());
3101
- if (l && xr(l == null ? void 0 : l.style, "::", 0)) {
3102
- var C = So(l.style.slice(2));
3099
+ if (l && Tr(l == null ? void 0 : l.style, "::", 0)) {
3100
+ var M = vo(l.style.slice(2));
3103
3101
  if (u === "number") {
3104
- var b = this.parseNumberSkeletonFromString(C, l.styleLocation);
3102
+ var b = this.parseNumberSkeletonFromString(M, l.styleLocation);
3105
3103
  return b.err ? b : {
3106
3104
  val: { type: X.number, value: r, location: d, style: b.val },
3107
3105
  err: null
3108
3106
  };
3109
3107
  } else {
3110
- if (C.length === 0)
3108
+ if (M.length === 0)
3111
3109
  return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
3112
- var G = C;
3113
- this.locale && (G = co(C, this.locale));
3110
+ var $ = M;
3111
+ this.locale && ($ = lo(M, this.locale));
3114
3112
  var y = {
3115
- type: Je.dateTime,
3116
- pattern: G,
3113
+ type: qe.dateTime,
3114
+ pattern: $,
3117
3115
  location: l.styleLocation,
3118
- parsedOptions: this.shouldParseSkeletons ? ro(G) : {}
3116
+ parsedOptions: this.shouldParseSkeletons ? no($) : {}
3119
3117
  }, U = u === "date" ? X.date : X.time;
3120
3118
  return {
3121
3119
  val: { type: U, value: r, location: d, style: y },
@@ -3138,9 +3136,9 @@ var wo = (
3138
3136
  case "select": {
3139
3137
  var A = this.clonePosition();
3140
3138
  if (this.bumpSpace(), !this.bumpIf(","))
3141
- return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, Wt({}, A)));
3139
+ return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, F({}, A)));
3142
3140
  this.bumpSpace();
3143
- var H = this.parseIdentifierIfPossible(), I = 0;
3141
+ var H = this.parseIdentifierIfPossible(), P = 0;
3144
3142
  if (u !== "select" && H.value === "offset") {
3145
3143
  if (!this.bumpIf(":"))
3146
3144
  return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
@@ -3148,11 +3146,11 @@ var wo = (
3148
3146
  var b = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3149
3147
  if (b.err)
3150
3148
  return b;
3151
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), I = b.val;
3149
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), P = b.val;
3152
3150
  }
3153
- var F = this.tryParsePluralOrSelectOptions(t, u, n, H);
3154
- if (F.err)
3155
- return F;
3151
+ var G = this.tryParsePluralOrSelectOptions(t, u, n, H);
3152
+ if (G.err)
3153
+ return G;
3156
3154
  var E = this.tryParseArgumentClose(i);
3157
3155
  if (E.err)
3158
3156
  return E;
@@ -3161,7 +3159,7 @@ var wo = (
3161
3159
  val: {
3162
3160
  type: X.select,
3163
3161
  value: r,
3164
- options: vr(F.val),
3162
+ options: xr(G.val),
3165
3163
  location: Y
3166
3164
  },
3167
3165
  err: null
@@ -3169,8 +3167,8 @@ var wo = (
3169
3167
  val: {
3170
3168
  type: X.plural,
3171
3169
  value: r,
3172
- options: vr(F.val),
3173
- offset: I,
3170
+ options: xr(G.val),
3171
+ offset: P,
3174
3172
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3175
3173
  location: Y
3176
3174
  },
@@ -3220,16 +3218,16 @@ var wo = (
3220
3218
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3221
3219
  var r = [];
3222
3220
  try {
3223
- r = so(t);
3221
+ r = io(t);
3224
3222
  } catch (i) {
3225
3223
  return this.error(D.INVALID_NUMBER_SKELETON, n);
3226
3224
  }
3227
3225
  return {
3228
3226
  val: {
3229
- type: Je.number,
3227
+ type: qe.number,
3230
3228
  tokens: r,
3231
3229
  location: n,
3232
- parsedOptions: this.shouldParseSkeletons ? lo(r) : {}
3230
+ parsedOptions: this.shouldParseSkeletons ? uo(r) : {}
3233
3231
  },
3234
3232
  err: null
3235
3233
  };
@@ -3248,20 +3246,20 @@ var wo = (
3248
3246
  if (c.has(l))
3249
3247
  return this.error(n === "select" ? D.DUPLICATE_SELECT_ARGUMENT_SELECTOR : D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3250
3248
  l === "other" && (a = !0), this.bumpSpace();
3251
- var M = this.clonePosition();
3249
+ var O = this.clonePosition();
3252
3250
  if (!this.bumpIf("{"))
3253
3251
  return this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
3254
3252
  var E = this.parseMessage(t + 1, n, r);
3255
3253
  if (E.err)
3256
3254
  return E;
3257
- var d = this.tryParseArgumentClose(M);
3255
+ var d = this.tryParseArgumentClose(O);
3258
3256
  if (d.err)
3259
3257
  return d;
3260
3258
  u.push([
3261
3259
  l,
3262
3260
  {
3263
3261
  value: E.val,
3264
- location: B(M, this.clonePosition())
3262
+ location: B(O, this.clonePosition())
3265
3263
  }
3266
3264
  ]), c.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, f = s.location;
3267
3265
  }
@@ -3277,7 +3275,7 @@ var wo = (
3277
3275
  break;
3278
3276
  }
3279
3277
  var c = B(i, this.clonePosition());
3280
- return s ? (a *= r, xo(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3278
+ return s ? (a *= r, To(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3281
3279
  }, e.prototype.offset = function() {
3282
3280
  return this.position.offset;
3283
3281
  }, e.prototype.isEOF = function() {
@@ -3292,7 +3290,7 @@ var wo = (
3292
3290
  var t = this.position.offset;
3293
3291
  if (t >= this.message.length)
3294
3292
  throw Error("out of bound");
3295
- var n = vi(this.message, t);
3293
+ var n = xi(this.message, t);
3296
3294
  if (n === void 0)
3297
3295
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3298
3296
  return n;
@@ -3311,7 +3309,7 @@ var wo = (
3311
3309
  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
3310
  }
3313
3311
  }, e.prototype.bumpIf = function(t) {
3314
- if (xr(this.message, t, this.offset())) {
3312
+ if (Tr(this.message, t, this.offset())) {
3315
3313
  for (var n = 0; n < t.length; n++)
3316
3314
  this.bump();
3317
3315
  return !0;
@@ -3343,47 +3341,47 @@ var wo = (
3343
3341
  }, e;
3344
3342
  }()
3345
3343
  );
3346
- function Cn(e) {
3344
+ function On(e) {
3347
3345
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3348
3346
  }
3349
- function Oo(e) {
3350
- return Cn(e) || e === 47;
3347
+ function wo(e) {
3348
+ return On(e) || e === 47;
3351
3349
  }
3352
- function Mo(e) {
3350
+ function Oo(e) {
3353
3351
  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
3352
  }
3355
3353
  function Ai(e) {
3356
3354
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3357
3355
  }
3358
- function Co(e) {
3356
+ function Mo(e) {
3359
3357
  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
3358
  }
3361
- function Nn(e) {
3359
+ function Mn(e) {
3362
3360
  e.forEach(function(t) {
3363
- if (delete t.location, pi(t) || gi(t))
3361
+ if (delete t.location, di(t) || pi(t))
3364
3362
  for (var n in t.options)
3365
- delete t.options[n].location, Nn(t.options[n].value);
3363
+ delete t.options[n].location, Mn(t.options[n].value);
3366
3364
  else
3367
- hi(t) && Ei(t.style) || (mi(t) || di(t)) && An(t.style) ? delete t.style.location : bi(t) && Nn(t.children);
3365
+ fi(t) && bi(t.style) || (hi(t) || mi(t)) && vn(t.style) ? delete t.style.location : gi(t) && Mn(t.children);
3368
3366
  });
3369
3367
  }
3370
- function No(e, t) {
3371
- t === void 0 && (t = {}), t = Wt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3372
- var n = new wo(e, t).parse();
3368
+ function Co(e, t) {
3369
+ t === void 0 && (t = {}), t = F({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3370
+ var n = new So(e, t).parse();
3373
3371
  if (n.err) {
3374
3372
  var r = SyntaxError(D[n.err.kind]);
3375
3373
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3376
3374
  }
3377
- return t != null && t.captureLocation || Nn(n.val), n.val;
3375
+ return t != null && t.captureLocation || Mn(n.val), n.val;
3378
3376
  }
3379
- var Qe;
3377
+ var Je;
3380
3378
  (function(e) {
3381
3379
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3382
- })(Qe || (Qe = {}));
3383
- var Qt = (
3380
+ })(Je || (Je = {}));
3381
+ var qt = (
3384
3382
  /** @class */
3385
3383
  function(e) {
3386
- Jt(t, e);
3384
+ Zt(t, e);
3387
3385
  function t(n, r, i) {
3388
3386
  var s = e.call(this, n) || this;
3389
3387
  return s.code = r, s.originalMessage = i, s;
@@ -3395,45 +3393,45 @@ var Qt = (
3395
3393
  ), Ar = (
3396
3394
  /** @class */
3397
3395
  function(e) {
3398
- Jt(t, e);
3396
+ Zt(t, e);
3399
3397
  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;
3398
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Je.INVALID_VALUE, s) || this;
3401
3399
  }
3402
3400
  return t;
3403
- }(Qt)
3404
- ), Lo = (
3401
+ }(qt)
3402
+ ), No = (
3405
3403
  /** @class */
3406
3404
  function(e) {
3407
- Jt(t, e);
3405
+ Zt(t, e);
3408
3406
  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;
3407
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Je.INVALID_VALUE, i) || this;
3410
3408
  }
3411
3409
  return t;
3412
- }(Qt)
3413
- ), Ho = (
3410
+ }(qt)
3411
+ ), Lo = (
3414
3412
  /** @class */
3415
3413
  function(e) {
3416
- Jt(t, e);
3414
+ Zt(t, e);
3417
3415
  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;
3416
+ 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
3417
  }
3420
3418
  return t;
3421
- }(Qt)
3419
+ }(qt)
3422
3420
  ), ce;
3423
3421
  (function(e) {
3424
3422
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3425
3423
  })(ce || (ce = {}));
3426
- function Ro(e) {
3424
+ function Ho(e) {
3427
3425
  return e.length < 2 ? e : e.reduce(function(t, n) {
3428
3426
  var r = t[t.length - 1];
3429
3427
  return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
3430
3428
  }, []);
3431
3429
  }
3432
- function Po(e) {
3430
+ function Ro(e) {
3433
3431
  return typeof e == "function";
3434
3432
  }
3435
- function Ut(e, t, n, r, i, s, a) {
3436
- if (e.length === 1 && Er(e[0]))
3433
+ function Bt(e, t, n, r, i, s, a) {
3434
+ if (e.length === 1 && br(e[0]))
3437
3435
  return [
3438
3436
  {
3439
3437
  type: ce.literal,
@@ -3442,14 +3440,14 @@ function Ut(e, t, n, r, i, s, a) {
3442
3440
  ];
3443
3441
  for (var u = [], c = 0, l = e; c < l.length; c++) {
3444
3442
  var f = l[c];
3445
- if (Er(f)) {
3443
+ if (br(f)) {
3446
3444
  u.push({
3447
3445
  type: ce.literal,
3448
3446
  value: f.value
3449
3447
  });
3450
3448
  continue;
3451
3449
  }
3452
- if (to(f)) {
3450
+ if (eo(f)) {
3453
3451
  typeof s == "number" && u.push({
3454
3452
  type: ce.literal,
3455
3453
  value: n.getNumberFormat(t).format(s)
@@ -3458,89 +3456,89 @@ function Ut(e, t, n, r, i, s, a) {
3458
3456
  }
3459
3457
  var b = f.value;
3460
3458
  if (!(i && b in i))
3461
- throw new Ho(b, a);
3459
+ throw new Lo(b, a);
3462
3460
  var y = i[b];
3463
- if (eo(f)) {
3461
+ if (Ks(f)) {
3464
3462
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), u.push({
3465
3463
  type: typeof y == "string" ? ce.literal : ce.object,
3466
3464
  value: y
3467
3465
  });
3468
3466
  continue;
3469
3467
  }
3470
- if (mi(f)) {
3471
- var M = typeof f.style == "string" ? r.date[f.style] : An(f.style) ? f.style.parsedOptions : void 0;
3468
+ if (hi(f)) {
3469
+ var O = typeof f.style == "string" ? r.date[f.style] : vn(f.style) ? f.style.parsedOptions : void 0;
3472
3470
  u.push({
3473
3471
  type: ce.literal,
3474
- value: n.getDateTimeFormat(t, M).format(y)
3472
+ value: n.getDateTimeFormat(t, O).format(y)
3475
3473
  });
3476
3474
  continue;
3477
3475
  }
3478
- if (di(f)) {
3479
- var M = typeof f.style == "string" ? r.time[f.style] : An(f.style) ? f.style.parsedOptions : r.time.medium;
3476
+ if (mi(f)) {
3477
+ var O = typeof f.style == "string" ? r.time[f.style] : vn(f.style) ? f.style.parsedOptions : r.time.medium;
3480
3478
  u.push({
3481
3479
  type: ce.literal,
3482
- value: n.getDateTimeFormat(t, M).format(y)
3480
+ value: n.getDateTimeFormat(t, O).format(y)
3483
3481
  });
3484
3482
  continue;
3485
3483
  }
3486
- if (hi(f)) {
3487
- var M = typeof f.style == "string" ? r.number[f.style] : Ei(f.style) ? f.style.parsedOptions : void 0;
3488
- M && M.scale && (y = y * (M.scale || 1)), u.push({
3484
+ if (fi(f)) {
3485
+ var O = typeof f.style == "string" ? r.number[f.style] : bi(f.style) ? f.style.parsedOptions : void 0;
3486
+ O && O.scale && (y = y * (O.scale || 1)), u.push({
3489
3487
  type: ce.literal,
3490
- value: n.getNumberFormat(t, M).format(y)
3488
+ value: n.getNumberFormat(t, O).format(y)
3491
3489
  });
3492
3490
  continue;
3493
3491
  }
3494
- if (bi(f)) {
3495
- var E = f.children, d = f.value, C = i[d];
3496
- if (!Po(C))
3497
- throw new Lo(d, "function", a);
3498
- var G = Ut(E, t, n, r, i, s), U = C(G.map(function(I) {
3499
- return I.value;
3492
+ if (gi(f)) {
3493
+ var E = f.children, d = f.value, M = i[d];
3494
+ if (!Ro(M))
3495
+ throw new No(d, "function", a);
3496
+ var $ = Bt(E, t, n, r, i, s), U = M($.map(function(P) {
3497
+ return P.value;
3500
3498
  }));
3501
- Array.isArray(U) || (U = [U]), u.push.apply(u, U.map(function(I) {
3499
+ Array.isArray(U) || (U = [U]), u.push.apply(u, U.map(function(P) {
3502
3500
  return {
3503
- type: typeof I == "string" ? ce.literal : ce.object,
3504
- value: I
3501
+ type: typeof P == "string" ? ce.literal : ce.object,
3502
+ value: P
3505
3503
  };
3506
3504
  }));
3507
3505
  }
3508
- if (pi(f)) {
3506
+ if (di(f)) {
3509
3507
  var A = f.options[y] || f.options.other;
3510
3508
  if (!A)
3511
3509
  throw new Ar(f.value, y, Object.keys(f.options), a);
3512
- u.push.apply(u, Ut(A.value, t, n, r, i));
3510
+ u.push.apply(u, Bt(A.value, t, n, r, i));
3513
3511
  continue;
3514
3512
  }
3515
- if (gi(f)) {
3513
+ if (pi(f)) {
3516
3514
  var A = f.options["=".concat(y)];
3517
3515
  if (!A) {
3518
3516
  if (!Intl.PluralRules)
3519
- throw new Qt(`Intl.PluralRules is not available in this environment.
3517
+ throw new qt(`Intl.PluralRules is not available in this environment.
3520
3518
  Try polyfilling it using "@formatjs/intl-pluralrules"
3521
- `, Qe.MISSING_INTL_API, a);
3519
+ `, Je.MISSING_INTL_API, a);
3522
3520
  var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3523
3521
  A = f.options[H] || f.options.other;
3524
3522
  }
3525
3523
  if (!A)
3526
3524
  throw new Ar(f.value, y, Object.keys(f.options), a);
3527
- u.push.apply(u, Ut(A.value, t, n, r, i, y - (f.offset || 0)));
3525
+ u.push.apply(u, Bt(A.value, t, n, r, i, y - (f.offset || 0)));
3528
3526
  continue;
3529
3527
  }
3530
3528
  }
3531
- return Ro(u);
3529
+ return Ho(u);
3532
3530
  }
3533
3531
  function Io(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;
3532
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3533
+ return n[r] = F(F({}, e[r]), t[r] || {}), n;
3536
3534
  }, {})) : e;
3537
3535
  }
3538
- function Do(e, t) {
3536
+ function Po(e, t) {
3539
3537
  return t ? Object.keys(e).reduce(function(n, r) {
3540
3538
  return n[r] = Io(e[r], t[r]), n;
3541
- }, we({}, e)) : e;
3539
+ }, F({}, e)) : e;
3542
3540
  }
3543
- function pn(e) {
3541
+ function mn(e) {
3544
3542
  return {
3545
3543
  create: function() {
3546
3544
  return {
@@ -3554,39 +3552,39 @@ function pn(e) {
3554
3552
  }
3555
3553
  };
3556
3554
  }
3557
- function Bo(e) {
3555
+ function Do(e) {
3558
3556
  return e === void 0 && (e = {
3559
3557
  number: {},
3560
3558
  dateTime: {},
3561
3559
  pluralRules: {}
3562
3560
  }), {
3563
- getNumberFormat: hn(function() {
3561
+ getNumberFormat: cn(function() {
3564
3562
  for (var t, n = [], r = 0; r < arguments.length; r++)
3565
3563
  n[r] = arguments[r];
3566
- return new ((t = Intl.NumberFormat).bind.apply(t, fn([void 0], n, !1)))();
3564
+ return new ((t = Intl.NumberFormat).bind.apply(t, ln([void 0], n, !1)))();
3567
3565
  }, {
3568
- cache: pn(e.number),
3569
- strategy: mn.variadic
3566
+ cache: mn(e.number),
3567
+ strategy: fn.variadic
3570
3568
  }),
3571
- getDateTimeFormat: hn(function() {
3569
+ getDateTimeFormat: cn(function() {
3572
3570
  for (var t, n = [], r = 0; r < arguments.length; r++)
3573
3571
  n[r] = arguments[r];
3574
- return new ((t = Intl.DateTimeFormat).bind.apply(t, fn([void 0], n, !1)))();
3572
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ln([void 0], n, !1)))();
3575
3573
  }, {
3576
- cache: pn(e.dateTime),
3577
- strategy: mn.variadic
3574
+ cache: mn(e.dateTime),
3575
+ strategy: fn.variadic
3578
3576
  }),
3579
- getPluralRules: hn(function() {
3577
+ getPluralRules: cn(function() {
3580
3578
  for (var t, n = [], r = 0; r < arguments.length; r++)
3581
3579
  n[r] = arguments[r];
3582
- return new ((t = Intl.PluralRules).bind.apply(t, fn([void 0], n, !1)))();
3580
+ return new ((t = Intl.PluralRules).bind.apply(t, ln([void 0], n, !1)))();
3583
3581
  }, {
3584
- cache: pn(e.pluralRules),
3585
- strategy: mn.variadic
3582
+ cache: mn(e.pluralRules),
3583
+ strategy: fn.variadic
3586
3584
  })
3587
3585
  };
3588
3586
  }
3589
- var wi = (
3587
+ var Si = (
3590
3588
  /** @class */
3591
3589
  function() {
3592
3590
  function e(t, n, r, i) {
@@ -3605,7 +3603,7 @@ var wi = (
3605
3603
  }, []);
3606
3604
  return f.length <= 1 ? f[0] || "" : f;
3607
3605
  }, this.formatToParts = function(c) {
3608
- return Ut(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3606
+ return Bt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3609
3607
  }, this.resolvedOptions = function() {
3610
3608
  var c;
3611
3609
  return {
@@ -3618,13 +3616,13 @@ var wi = (
3618
3616
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3619
3617
  var a = i || {};
3620
3618
  a.formatters;
3621
- var u = Vs(a, ["formatters"]);
3622
- this.ast = e.__parse(t, we(we({}, u), { locale: this.resolvedLocale }));
3619
+ var u = Ws(a, ["formatters"]);
3620
+ this.ast = e.__parse(t, F(F({}, u), { locale: this.resolvedLocale }));
3623
3621
  } else
3624
3622
  this.ast = t;
3625
3623
  if (!Array.isArray(this.ast))
3626
3624
  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);
3625
+ this.formats = Po(e.formats, r), this.formatters = i && i.formatters || Do(this.formatterCache);
3628
3626
  }
3629
3627
  return Object.defineProperty(e, "defaultLocale", {
3630
3628
  get: function() {
@@ -3637,7 +3635,7 @@ var wi = (
3637
3635
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3638
3636
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3639
3637
  }
3640
- }, e.__parse = No, e.formats = {
3638
+ }, e.__parse = Co, e.formats = {
3641
3639
  number: {
3642
3640
  integer: {
3643
3641
  maximumFractionDigits: 0
@@ -3698,7 +3696,7 @@ var wi = (
3698
3696
  }, e;
3699
3697
  }()
3700
3698
  );
3701
- function Uo(e, t) {
3699
+ function Bo(e, t) {
3702
3700
  if (t == null)
3703
3701
  return;
3704
3702
  if (t in e)
@@ -3719,101 +3717,101 @@ function Uo(e, t) {
3719
3717
  r = void 0;
3720
3718
  return r;
3721
3719
  }
3722
- const Re = {}, ko = (e, t, n) => n && (t in Re || (Re[t] = {}), e in Re[t] || (Re[t][e] = n), n), Oi = (e, t) => {
3720
+ const He = {}, Uo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), wi = (e, t) => {
3723
3721
  if (t == null)
3724
3722
  return;
3725
- if (t in Re && e in Re[t])
3726
- return Re[t][e];
3727
- const n = Tt(t);
3723
+ if (t in He && e in He[t])
3724
+ return He[t][e];
3725
+ const n = yt(t);
3728
3726
  for (let r = 0; r < n.length; r++) {
3729
- const i = n[r], s = Go(i, e);
3727
+ const i = n[r], s = Fo(i, e);
3730
3728
  if (s)
3731
- return ko(e, t, s);
3729
+ return Uo(e, t, s);
3732
3730
  }
3733
3731
  };
3734
- let Bn;
3735
- const yt = _t({});
3736
- function Fo(e) {
3737
- return Bn[e] || null;
3732
+ let Dn;
3733
+ const _t = Et({});
3734
+ function ko(e) {
3735
+ return Dn[e] || null;
3738
3736
  }
3739
- function Mi(e) {
3740
- return e in Bn;
3737
+ function Oi(e) {
3738
+ return e in Dn;
3741
3739
  }
3742
- function Go(e, t) {
3743
- if (!Mi(e))
3740
+ function Fo(e, t) {
3741
+ if (!Oi(e))
3744
3742
  return null;
3745
- const n = Fo(e);
3746
- return Uo(n, t);
3743
+ const n = ko(e);
3744
+ return Bo(n, t);
3747
3745
  }
3748
- function $o(e) {
3746
+ function Go(e) {
3749
3747
  if (e == null)
3750
3748
  return;
3751
- const t = Tt(e);
3749
+ const t = yt(e);
3752
3750
  for (let n = 0; n < t.length; n++) {
3753
3751
  const r = t[n];
3754
- if (Mi(r))
3752
+ if (Oi(r))
3755
3753
  return r;
3756
3754
  }
3757
3755
  }
3758
- function Ci(e, ...t) {
3759
- delete Re[e], yt.update((n) => (n[e] = Ws.all([n[e] || {}, ...t]), n));
3756
+ function Mi(e, ...t) {
3757
+ delete He[e], _t.update((n) => (n[e] = zs.all([n[e] || {}, ...t]), n));
3760
3758
  }
3761
- tt(
3762
- [yt],
3759
+ et(
3760
+ [_t],
3763
3761
  ([e]) => Object.keys(e)
3764
3762
  );
3765
- yt.subscribe((e) => Bn = e);
3766
- const kt = {};
3767
- function jo(e, t) {
3768
- kt[e].delete(t), kt[e].size === 0 && delete kt[e];
3763
+ _t.subscribe((e) => Dn = e);
3764
+ const Ut = {};
3765
+ function $o(e, t) {
3766
+ Ut[e].delete(t), Ut[e].size === 0 && delete Ut[e];
3769
3767
  }
3770
- function Ni(e) {
3771
- return kt[e];
3768
+ function Ci(e) {
3769
+ return Ut[e];
3772
3770
  }
3773
- function zo(e) {
3774
- return Tt(e).map((t) => {
3775
- const n = Ni(t);
3771
+ function jo(e) {
3772
+ return yt(e).map((t) => {
3773
+ const n = Ci(t);
3776
3774
  return [t, n ? [...n] : []];
3777
3775
  }).filter(([, t]) => t.length > 0);
3778
3776
  }
3779
- function Vt(e) {
3780
- return e == null ? !1 : Tt(e).some(
3777
+ function zt(e) {
3778
+ return e == null ? !1 : yt(e).some(
3781
3779
  (t) => {
3782
3780
  var n;
3783
- return (n = Ni(t)) == null ? void 0 : n.size;
3781
+ return (n = Ci(t)) == null ? void 0 : n.size;
3784
3782
  }
3785
3783
  );
3786
3784
  }
3787
- function Wo(e, t) {
3785
+ function zo(e, t) {
3788
3786
  return Promise.all(
3789
- t.map((r) => (jo(e, r), r().then((i) => i.default || i)))
3790
- ).then((r) => Ci(e, ...r));
3791
- }
3792
- const at = {};
3793
- function Li(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(
3787
+ t.map((r) => ($o(e, r), r().then((i) => i.default || i)))
3788
+ ).then((r) => Mi(e, ...r));
3789
+ }
3790
+ const ot = {};
3791
+ function Ni(e) {
3792
+ if (!zt(e))
3793
+ return e in ot ? ot[e] : Promise.resolve();
3794
+ const t = jo(e);
3795
+ return ot[e] = Promise.all(
3798
3796
  t.map(
3799
- ([n, r]) => Wo(n, r)
3797
+ ([n, r]) => zo(n, r)
3800
3798
  )
3801
3799
  ).then(() => {
3802
- if (Vt(e))
3803
- return Li(e);
3804
- delete at[e];
3805
- }), at[e];
3800
+ if (zt(e))
3801
+ return Ni(e);
3802
+ delete ot[e];
3803
+ }), ot[e];
3806
3804
  }
3807
- var wr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Yo = (e, t) => {
3805
+ var Sr = Object.getOwnPropertySymbols, Wo = Object.prototype.hasOwnProperty, Vo = Object.prototype.propertyIsEnumerable, Xo = (e, t) => {
3808
3806
  var n = {};
3809
3807
  for (var r in e)
3810
- Vo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3811
- if (e != null && wr)
3812
- for (var r of wr(e))
3813
- t.indexOf(r) < 0 && Xo.call(e, r) && (n[r] = e[r]);
3808
+ Wo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3809
+ if (e != null && Sr)
3810
+ for (var r of Sr(e))
3811
+ t.indexOf(r) < 0 && Vo.call(e, r) && (n[r] = e[r]);
3814
3812
  return n;
3815
3813
  };
3816
- const Zo = {
3814
+ const Yo = {
3817
3815
  number: {
3818
3816
  scientific: { notation: "scientific" },
3819
3817
  engineering: { notation: "engineering" },
@@ -3843,159 +3841,159 @@ const Zo = {
3843
3841
  }
3844
3842
  }
3845
3843
  };
3846
- function qo({ locale: e, id: t }) {
3844
+ function Zo({ locale: e, id: t }) {
3847
3845
  console.warn(
3848
- `[svelte-i18n] The message "${t}" was not found in "${Tt(
3846
+ `[svelte-i18n] The message "${t}" was not found in "${yt(
3849
3847
  e
3850
- ).join('", "')}".${Vt(Ie()) ? `
3848
+ ).join('", "')}".${zt(Ie()) ? `
3851
3849
 
3852
3850
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3853
3851
  );
3854
3852
  }
3855
- const Jo = {
3853
+ const qo = {
3856
3854
  fallbackLocale: null,
3857
3855
  loadingDelay: 200,
3858
- formats: Zo,
3856
+ formats: Yo,
3859
3857
  warnOnMissingMessages: !0,
3860
3858
  handleMissingMessage: void 0,
3861
3859
  ignoreTag: !0
3862
- }, dt = Jo;
3863
- function Ke() {
3864
- return dt;
3860
+ }, mt = qo;
3861
+ function Qe() {
3862
+ return mt;
3865
3863
  }
3866
- function Qo(e) {
3867
- const t = e, { formats: n } = t, r = Yo(t, ["formats"]);
3864
+ function Jo(e) {
3865
+ const t = e, { formats: n } = t, r = Xo(t, ["formats"]);
3868
3866
  let i = e.fallbackLocale;
3869
3867
  if (e.initialLocale)
3870
3868
  try {
3871
- wi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3869
+ Si.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3872
3870
  } catch (s) {
3873
3871
  console.warn(
3874
3872
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3875
3873
  );
3876
3874
  }
3877
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = qo : console.warn(
3875
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Zo : console.warn(
3878
3876
  '[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)), Ue.set(i);
3880
- }
3881
- const gn = _t(!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) => {
3883
- for (var n in t || (t = {}))
3884
- na.call(t, n) && Mr(e, n, t[n]);
3885
- if (Or)
3886
- for (var n of Or(t))
3887
- ra.call(t, n) && Mr(e, n, t[n]);
3877
+ )), 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);
3878
+ }
3879
+ const dn = Et(!1);
3880
+ var Qo = Object.defineProperty, Ko = Object.defineProperties, ea = Object.getOwnPropertyDescriptors, wr = Object.getOwnPropertySymbols, ta = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, Or = (e, t, n) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ra = (e, t) => {
3881
+ for (var n in t)
3882
+ ta.call(t, n) && Or(e, n, t[n]);
3883
+ if (wr)
3884
+ for (var n of wr(t))
3885
+ na.call(t, n) && Or(e, n, t[n]);
3888
3886
  return e;
3889
- }, sa = (e, t) => ea(e, ta(t));
3890
- let Ln;
3891
- const Xt = _t(null);
3892
- function Cr(e) {
3887
+ }, ia = (e, t) => Ko(e, ea(t));
3888
+ let Cn;
3889
+ const Wt = Et(null);
3890
+ function Mr(e) {
3893
3891
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3894
3892
  }
3895
- function Tt(e, t = Ke().fallbackLocale) {
3896
- const n = Cr(e);
3897
- return t ? [.../* @__PURE__ */ new Set([...n, ...Cr(t)])] : n;
3893
+ function yt(e, t = Qe().fallbackLocale) {
3894
+ const n = Mr(e);
3895
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Mr(t)])] : n;
3898
3896
  }
3899
3897
  function Ie() {
3900
- return Ln != null ? Ln : void 0;
3898
+ return Cn != null ? Cn : void 0;
3901
3899
  }
3902
- Xt.subscribe((e) => {
3903
- Ln = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3900
+ Wt.subscribe((e) => {
3901
+ Cn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3904
3902
  });
3905
- const oa = (e) => {
3906
- if (e && $o(e) && Vt(e)) {
3907
- const { loadingDelay: t } = Ke();
3903
+ const sa = (e) => {
3904
+ if (e && Go(e) && zt(e)) {
3905
+ const { loadingDelay: t } = Qe();
3908
3906
  let n;
3909
3907
  return typeof window != "undefined" && Ie() != null && t ? n = window.setTimeout(
3910
- () => gn.set(!0),
3908
+ () => dn.set(!0),
3911
3909
  t
3912
- ) : gn.set(!0), Li(e).then(() => {
3913
- Xt.set(e);
3910
+ ) : dn.set(!0), Ni(e).then(() => {
3911
+ Wt.set(e);
3914
3912
  }).finally(() => {
3915
- clearTimeout(n), gn.set(!1);
3913
+ clearTimeout(n), dn.set(!1);
3916
3914
  });
3917
3915
  }
3918
- return Xt.set(e);
3919
- }, Ue = sa(ia({}, Xt), {
3920
- set: oa
3921
- }), Kt = (e) => {
3916
+ return Wt.set(e);
3917
+ }, Be = ia(ra({}, Wt), {
3918
+ set: sa
3919
+ }), Jt = (e) => {
3922
3920
  const t = /* @__PURE__ */ Object.create(null);
3923
3921
  return (r) => {
3924
3922
  const i = JSON.stringify(r);
3925
3923
  return i in t ? t[i] : t[i] = e(r);
3926
3924
  };
3927
3925
  };
3928
- var aa = Object.defineProperty, Yt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Nr = (e, t, n) => t in e ? aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Un = (e, t) => {
3926
+ var oa = Object.defineProperty, Vt = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Cr = (e, t, n) => t in e ? oa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bn = (e, t) => {
3929
3927
  for (var n in t || (t = {}))
3930
- Hi.call(t, n) && Nr(e, n, t[n]);
3931
- if (Yt)
3932
- for (var n of Yt(t))
3933
- Ri.call(t, n) && Nr(e, n, t[n]);
3928
+ Li.call(t, n) && Cr(e, n, t[n]);
3929
+ if (Vt)
3930
+ for (var n of Vt(t))
3931
+ Hi.call(t, n) && Cr(e, n, t[n]);
3934
3932
  return e;
3935
- }, nt = (e, t) => {
3933
+ }, tt = (e, t) => {
3936
3934
  var n = {};
3937
3935
  for (var r in e)
3938
- Hi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3939
- if (e != null && Yt)
3940
- for (var r of Yt(e))
3941
- t.indexOf(r) < 0 && Ri.call(e, r) && (n[r] = e[r]);
3936
+ Li.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3937
+ if (e != null && Vt)
3938
+ for (var r of Vt(e))
3939
+ t.indexOf(r) < 0 && Hi.call(e, r) && (n[r] = e[r]);
3942
3940
  return n;
3943
3941
  };
3944
- const Et = (e, t) => {
3945
- const { formats: n } = Ke();
3942
+ const bt = (e, t) => {
3943
+ const { formats: n } = Qe();
3946
3944
  if (e in n && t in n[e])
3947
3945
  return n[e][t];
3948
3946
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3949
- }, ua = Kt(
3947
+ }, aa = Jt(
3950
3948
  (e) => {
3951
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3949
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3952
3950
  if (n == null)
3953
3951
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3954
- return r && (i = Et("number", r)), new Intl.NumberFormat(n, i);
3952
+ return r && (i = bt("number", r)), new Intl.NumberFormat(n, i);
3955
3953
  }
3956
- ), la = Kt(
3954
+ ), ua = Jt(
3957
3955
  (e) => {
3958
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3956
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3959
3957
  if (n == null)
3960
3958
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3961
- return r ? i = Et("date", r) : Object.keys(i).length === 0 && (i = Et("date", "short")), new Intl.DateTimeFormat(n, i);
3959
+ return r ? i = bt("date", r) : Object.keys(i).length === 0 && (i = bt("date", "short")), new Intl.DateTimeFormat(n, i);
3962
3960
  }
3963
- ), ca = Kt(
3961
+ ), la = Jt(
3964
3962
  (e) => {
3965
- var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3963
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3966
3964
  if (n == null)
3967
3965
  throw new Error(
3968
3966
  '[svelte-i18n] A "locale" must be set to format time values'
3969
3967
  );
3970
- return r ? i = Et("time", r) : Object.keys(i).length === 0 && (i = Et("time", "short")), new Intl.DateTimeFormat(n, i);
3968
+ return r ? i = bt("time", r) : Object.keys(i).length === 0 && (i = bt("time", "short")), new Intl.DateTimeFormat(n, i);
3971
3969
  }
3972
- ), fa = (e = {}) => {
3970
+ ), ca = (e = {}) => {
3973
3971
  var t = e, {
3974
3972
  locale: n = Ie()
3975
- } = t, r = nt(t, [
3973
+ } = t, r = tt(t, [
3976
3974
  "locale"
3977
3975
  ]);
3978
- return ua(Un({ locale: n }, r));
3979
- }, ha = (e = {}) => {
3976
+ return aa(Bn({ locale: n }, r));
3977
+ }, fa = (e = {}) => {
3980
3978
  var t = e, {
3981
3979
  locale: n = Ie()
3982
- } = t, r = nt(t, [
3980
+ } = t, r = tt(t, [
3983
3981
  "locale"
3984
3982
  ]);
3985
- return la(Un({ locale: n }, r));
3986
- }, ma = (e = {}) => {
3983
+ return ua(Bn({ locale: n }, r));
3984
+ }, ha = (e = {}) => {
3987
3985
  var t = e, {
3988
3986
  locale: n = Ie()
3989
- } = t, r = nt(t, [
3987
+ } = t, r = tt(t, [
3990
3988
  "locale"
3991
3989
  ]);
3992
- return ca(Un({ locale: n }, r));
3993
- }, da = Kt(
3990
+ return la(Bn({ locale: n }, r));
3991
+ }, ma = Jt(
3994
3992
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3995
- (e, t = Ie()) => new wi(e, t, Ke().formats, {
3996
- ignoreTag: Ke().ignoreTag
3993
+ (e, t = Ie()) => new Si(e, t, Qe().formats, {
3994
+ ignoreTag: Qe().ignoreTag
3997
3995
  })
3998
- ), pa = (e, t = {}) => {
3996
+ ), da = (e, t = {}) => {
3999
3997
  var n, r, i, s;
4000
3998
  let a = t;
4001
3999
  typeof e == "object" && (a = e, e = a.id);
@@ -4008,9 +4006,9 @@ const Et = (e, t) => {
4008
4006
  throw new Error(
4009
4007
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4010
4008
  );
4011
- let f = Oi(e, c);
4009
+ let f = wi(e, c);
4012
4010
  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;
4011
+ 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
4012
  else if (typeof f != "string")
4015
4013
  return console.warn(
4016
4014
  `[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 +4017,7 @@ const Et = (e, t) => {
4019
4017
  return f;
4020
4018
  let b = f;
4021
4019
  try {
4022
- b = da(f, c).format(u);
4020
+ b = ma(f, c).format(u);
4023
4021
  } catch (y) {
4024
4022
  y instanceof Error && console.warn(
4025
4023
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4027,20 +4025,20 @@ const Et = (e, t) => {
4027
4025
  );
4028
4026
  }
4029
4027
  return b;
4030
- }, ga = (e, t) => ma(t).format(e), ba = (e, t) => ha(t).format(e), Ea = (e, t) => fa(t).format(e), _a = (e, t = Ie()) => Oi(e, t), ya = tt([Ue, yt], () => pa);
4031
- tt([Ue], () => ga);
4032
- tt([Ue], () => ba);
4033
- tt([Ue], () => Ea);
4034
- tt([Ue, yt], () => _a);
4035
- function Lr(e, t) {
4036
- Ci(e, t);
4037
- }
4038
- function Ta(e) {
4039
- Qo({
4028
+ }, pa = (e, t) => ha(t).format(e), ga = (e, t) => fa(t).format(e), ba = (e, t) => ca(t).format(e), Ea = (e, t = Ie()) => wi(e, t), _a = et([Be, _t], () => da);
4029
+ et([Be], () => pa);
4030
+ et([Be], () => ga);
4031
+ et([Be], () => ba);
4032
+ et([Be, _t], () => Ea);
4033
+ function Nr(e, t) {
4034
+ Mi(e, t);
4035
+ }
4036
+ function ya(e) {
4037
+ Jo({
4040
4038
  fallbackLocale: "en"
4041
- }), Ue.set(e);
4039
+ }), Be.set(e);
4042
4040
  }
4043
- const Hr = {
4041
+ const Lr = {
4044
4042
  en: {
4045
4043
  sessionExpirationHeader: "Session Warning",
4046
4044
  sessionExpirationTitle: "Your session is about to expire!",
@@ -4065,19 +4063,19 @@ const Hr = {
4065
4063
  };
4066
4064
  /*! @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
4065
  const {
4068
- entries: Pi,
4069
- setPrototypeOf: Rr,
4070
- isFrozen: xa,
4071
- getPrototypeOf: va,
4072
- getOwnPropertyDescriptor: Sa
4066
+ entries: Ri,
4067
+ setPrototypeOf: Hr,
4068
+ isFrozen: Ta,
4069
+ getPrototypeOf: xa,
4070
+ getOwnPropertyDescriptor: va
4073
4071
  } = Object;
4074
4072
  let {
4075
4073
  freeze: fe,
4076
4074
  seal: _e,
4077
4075
  create: Ii
4078
4076
  } = Object, {
4079
- apply: Hn,
4080
- construct: Rn
4077
+ apply: Nn,
4078
+ construct: Ln
4081
4079
  } = typeof Reflect != "undefined" && Reflect;
4082
4080
  fe || (fe = function(t) {
4083
4081
  return t;
@@ -4085,98 +4083,107 @@ fe || (fe = function(t) {
4085
4083
  _e || (_e = function(t) {
4086
4084
  return t;
4087
4085
  });
4088
- Hn || (Hn = function(t, n, r) {
4086
+ Nn || (Nn = function(t, n, r) {
4089
4087
  return t.apply(n, r);
4090
4088
  });
4091
- Rn || (Rn = function(t, n) {
4089
+ Ln || (Ln = function(t, n) {
4092
4090
  return new t(...n);
4093
4091
  });
4094
- const Nt = pe(Array.prototype.forEach), Pr = pe(Array.prototype.pop), ut = pe(Array.prototype.push), Ft = pe(String.prototype.toLowerCase), bn = pe(String.prototype.toString), Ir = pe(String.prototype.match), lt = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), wa = pe(String.prototype.trim), xe = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ct = Oa(TypeError);
4092
+ const Ct = pe(Array.prototype.forEach), Rr = pe(Array.prototype.pop), at = pe(Array.prototype.push), kt = pe(String.prototype.toLowerCase), pn = pe(String.prototype.toString), Ir = pe(String.prototype.match), ut = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), Sa = pe(String.prototype.trim), xe = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), lt = wa(TypeError);
4095
4093
  function pe(e) {
4096
4094
  return function(t) {
4097
4095
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4098
4096
  r[i - 1] = arguments[i];
4099
- return Hn(e, t, r);
4097
+ return Nn(e, t, r);
4100
4098
  };
4101
4099
  }
4102
- function Oa(e) {
4100
+ function wa(e) {
4103
4101
  return function() {
4104
4102
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
4105
4103
  n[r] = arguments[r];
4106
- return Rn(e, n);
4104
+ return Ln(e, n);
4107
4105
  };
4108
4106
  }
4109
- function P(e, t) {
4110
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ft;
4111
- Rr && Rr(e, null);
4107
+ function I(e, t) {
4108
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kt;
4109
+ Hr && Hr(e, null);
4112
4110
  let r = t.length;
4113
4111
  for (; r--; ) {
4114
4112
  let i = t[r];
4115
4113
  if (typeof i == "string") {
4116
4114
  const s = n(i);
4117
- s !== i && (xa(t) || (t[r] = s), i = s);
4115
+ s !== i && (Ta(t) || (t[r] = s), i = s);
4118
4116
  }
4119
4117
  e[i] = !0;
4120
4118
  }
4121
4119
  return e;
4122
4120
  }
4123
- function Ma(e) {
4121
+ function Oa(e) {
4124
4122
  for (let t = 0; t < e.length; t++)
4125
4123
  xe(e, t) || (e[t] = null);
4126
4124
  return e;
4127
4125
  }
4128
- function Be(e) {
4126
+ function De(e) {
4129
4127
  const t = Ii(null);
4130
- for (const [n, r] of Pi(e))
4131
- xe(e, n) && (Array.isArray(r) ? t[n] = Ma(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Be(r) : t[n] = r);
4128
+ for (const [n, r] of Ri(e))
4129
+ xe(e, n) && (Array.isArray(r) ? t[n] = Oa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
4132
4130
  return t;
4133
4131
  }
4134
- function ft(e, t) {
4132
+ function ct(e, t) {
4135
4133
  for (; e !== null; ) {
4136
- const r = Sa(e, t);
4134
+ const r = va(e, t);
4137
4135
  if (r) {
4138
4136
  if (r.get)
4139
4137
  return pe(r.get);
4140
4138
  if (typeof r.value == "function")
4141
4139
  return pe(r.value);
4142
4140
  }
4143
- e = va(e);
4141
+ e = xa(e);
4144
4142
  }
4145
4143
  function n() {
4146
4144
  return null;
4147
4145
  }
4148
4146
  return n;
4149
4147
  }
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"]), En = 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"]), 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"]), Na = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), Ur = 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"]), Tn = 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"]), kr = 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 = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ha = _e(/<%[\w\W]*|[\w\W]*%>/gm), Ra = _e(/\${[\w\W]*}/gm), Pa = _e(/^data-[\-\w.\u00B7-\uFFFF]/), Ia = _e(/^aria-[\-\w]+$/), Di = _e(
4148
+ const Pr = 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"]), bn = 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"]), En = 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"]), Dr = fe(["#text"]), Br = fe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), _n = fe(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), 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 = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), La = _e(/<%[\w\W]*|[\w\W]*%>/gm), Ha = _e(/\${[\w\W]*}/gm), Ra = _e(/^data-[\-\w.\u00B7-\uFFFF]/), Ia = _e(/^aria-[\-\w]+$/), Pi = _e(
4151
4149
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4152
4150
  // eslint-disable-line no-useless-escape
4153
- ), Da = _e(/^(?:\w+script|data):/i), Ba = _e(
4151
+ ), Pa = _e(/^(?:\w+script|data):/i), Da = _e(
4154
4152
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4155
4153
  // eslint-disable-line no-control-regex
4156
- ), Bi = _e(/^html$/i), Ua = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
4157
- var Fr = /* @__PURE__ */ Object.freeze({
4154
+ ), Di = _e(/^html$/i), Ba = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
4155
+ var kr = /* @__PURE__ */ Object.freeze({
4158
4156
  __proto__: null,
4159
- MUSTACHE_EXPR: La,
4160
- ERB_EXPR: Ha,
4161
- TMPLIT_EXPR: Ra,
4162
- DATA_ATTR: Pa,
4157
+ MUSTACHE_EXPR: Na,
4158
+ ERB_EXPR: La,
4159
+ TMPLIT_EXPR: Ha,
4160
+ DATA_ATTR: Ra,
4163
4161
  ARIA_ATTR: Ia,
4164
- IS_ALLOWED_URI: Di,
4165
- IS_SCRIPT_OR_DATA: Da,
4166
- ATTR_WHITESPACE: Ba,
4167
- DOCTYPE_NAME: Bi,
4168
- CUSTOM_ELEMENT: Ua
4162
+ IS_ALLOWED_URI: Pi,
4163
+ IS_SCRIPT_OR_DATA: Pa,
4164
+ ATTR_WHITESPACE: Da,
4165
+ DOCTYPE_NAME: Di,
4166
+ CUSTOM_ELEMENT: Ba
4169
4167
  });
4170
- const ht = {
4168
+ const ft = {
4171
4169
  element: 1,
4170
+ attribute: 2,
4172
4171
  text: 3,
4172
+ cdataSection: 4,
4173
+ entityReference: 5,
4174
+ // Deprecated
4175
+ entityNode: 6,
4173
4176
  // Deprecated
4174
4177
  progressingInstruction: 7,
4175
4178
  comment: 8,
4176
- document: 9
4177
- }, ka = function() {
4179
+ document: 9,
4180
+ documentType: 10,
4181
+ documentFragment: 11,
4182
+ notation: 12
4183
+ // Deprecated
4184
+ }, Ua = function() {
4178
4185
  return typeof window == "undefined" ? null : window;
4179
- }, Fa = function(t, n) {
4186
+ }, ka = function(t, n) {
4180
4187
  if (typeof t != "object" || typeof t.createPolicy != "function")
4181
4188
  return null;
4182
4189
  let r = null;
@@ -4196,10 +4203,10 @@ const ht = {
4196
4203
  return console.warn("TrustedTypes policy " + s + " could not be created."), null;
4197
4204
  }
4198
4205
  };
4199
- function Ui() {
4200
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ka();
4201
- const t = (w) => Ui(w);
4202
- if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ht.document)
4206
+ function Bi() {
4207
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ua();
4208
+ const t = (w) => Bi(w);
4209
+ if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ft.document)
4203
4210
  return t.isSupported = !1, t;
4204
4211
  let {
4205
4212
  document: n
@@ -4213,39 +4220,39 @@ function Ui() {
4213
4220
  NamedNodeMap: f = e.NamedNodeMap || e.MozNamedAttrMap,
4214
4221
  HTMLFormElement: b,
4215
4222
  DOMParser: y,
4216
- trustedTypes: M
4217
- } = e, E = c.prototype, d = ft(E, "cloneNode"), C = ft(E, "remove"), G = ft(E, "nextSibling"), U = ft(E, "childNodes"), A = ft(E, "parentNode");
4223
+ trustedTypes: O
4224
+ } = e, E = c.prototype, d = ct(E, "cloneNode"), M = ct(E, "remove"), $ = ct(E, "nextSibling"), U = ct(E, "childNodes"), A = ct(E, "parentNode");
4218
4225
  if (typeof a == "function") {
4219
4226
  const w = n.createElement("template");
4220
4227
  w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
4221
4228
  }
4222
- let H, I = "";
4229
+ let H, P = "";
4223
4230
  const {
4224
- implementation: F,
4231
+ implementation: G,
4225
4232
  createNodeIterator: Y,
4226
- createDocumentFragment: V,
4233
+ createDocumentFragment: J,
4227
4234
  getElementsByTagName: Q
4228
4235
  } = n, {
4229
- importNode: j
4236
+ importNode: z
4230
4237
  } = r;
4231
- let O = {};
4232
- t.isSupported = typeof Pi == "function" && typeof A == "function" && F && F.createHTMLDocument !== void 0;
4238
+ let C = {};
4239
+ t.isSupported = typeof Ri == "function" && typeof A == "function" && G && G.createHTMLDocument !== void 0;
4233
4240
  const {
4234
4241
  MUSTACHE_EXPR: ne,
4235
4242
  ERB_EXPR: he,
4236
- TMPLIT_EXPR: v,
4243
+ TMPLIT_EXPR: S,
4237
4244
  DATA_ATTR: _,
4238
4245
  ARIA_ATTR: g,
4239
4246
  IS_SCRIPT_OR_DATA: x,
4240
4247
  ATTR_WHITESPACE: h,
4241
4248
  CUSTOM_ELEMENT: T
4242
- } = Fr;
4249
+ } = kr;
4243
4250
  let {
4244
4251
  IS_ALLOWED_URI: N
4245
- } = Fr, L = null;
4246
- const z = P({}, [...Dr, ...En, ..._n, ...yn, ...Br]);
4252
+ } = kr, L = null;
4253
+ const W = I({}, [...Pr, ...gn, ...bn, ...En, ...Dr]);
4247
4254
  let R = null;
4248
- const q = P({}, [...Ur, ...Tn, ...kr, ...Lt]);
4255
+ const Z = I({}, [...Br, ..._n, ...Ur, ...Nt]);
4249
4256
  let m = Object.seal(Ii(null, {
4250
4257
  tagNameCheck: {
4251
4258
  writable: !0,
@@ -4265,114 +4272,114 @@ function Ui() {
4265
4272
  enumerable: !0,
4266
4273
  value: !1
4267
4274
  }
4268
- })), k = null, ee = null, K = !0, ye = !0, ie = !1, Te = !0, be = !1, Le = !0, De = !1, en = !1, tn = !1, ke = !1, xt = !1, vt = !1, kn = !0, Fn = !1;
4269
- const Gi = "user-content-";
4270
- let nn = !0, rt = !1, Fe = {}, Ge = null;
4271
- const Gn = 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"]);
4272
- let $n = null;
4273
- const jn = P({}, ["audio", "video", "img", "source", "image", "track"]);
4274
- let rn = null;
4275
- const zn = 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 $e = Me, sn = !1, on = null;
4277
- const $i = P({}, [St, At, Me], bn);
4278
- let it = null;
4279
- const ji = ["application/xhtml+xml", "text/html"], zi = "text/html";
4280
- let re = null, je = null;
4281
- const Wi = n.createElement("form"), Wn = function(o) {
4275
+ })), k = null, ee = null, K = !0, ye = !0, ie = !1, Te = !0, be = !1, Ne = !0, Pe = !1, Qt = !1, Kt = !1, Ue = !1, Tt = !1, xt = !1, Un = !0, kn = !1;
4276
+ const Fi = "user-content-";
4277
+ let en = !0, nt = !1, ke = {}, Fe = null;
4278
+ const Fn = I({}, ["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"]);
4279
+ let Gn = null;
4280
+ const $n = I({}, ["audio", "video", "img", "source", "image", "track"]);
4281
+ let tn = null;
4282
+ const jn = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
4283
+ let Ge = Oe, nn = !1, rn = null;
4284
+ const Gi = I({}, [vt, At, Oe], pn);
4285
+ let rt = null;
4286
+ const $i = ["application/xhtml+xml", "text/html"], ji = "text/html";
4287
+ let re = null, $e = null;
4288
+ const zi = n.createElement("form"), zn = function(o) {
4282
4289
  return o instanceof RegExp || o instanceof Function;
4283
- }, an = function() {
4290
+ }, sn = function() {
4284
4291
  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" ? bn : Ft, L = xe(o, "ALLOWED_TAGS") ? P({}, o.ALLOWED_TAGS, re) : z, R = xe(o, "ALLOWED_ATTR") ? P({}, o.ALLOWED_ATTR, re) : q, on = xe(o, "ALLOWED_NAMESPACES") ? P({}, o.ALLOWED_NAMESPACES, bn) : $i, rn = xe(o, "ADD_URI_SAFE_ATTR") ? P(
4288
- Be(zn),
4292
+ if (!($e && $e === o)) {
4293
+ if ((!o || typeof o != "object") && (o = {}), o = De(o), rt = // eslint-disable-next-line unicorn/prefer-includes
4294
+ $i.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? ji : o.PARSER_MEDIA_TYPE, re = rt === "application/xhtml+xml" ? pn : kt, L = xe(o, "ALLOWED_TAGS") ? I({}, o.ALLOWED_TAGS, re) : W, R = xe(o, "ALLOWED_ATTR") ? I({}, o.ALLOWED_ATTR, re) : Z, rn = xe(o, "ALLOWED_NAMESPACES") ? I({}, o.ALLOWED_NAMESPACES, pn) : Gi, tn = xe(o, "ADD_URI_SAFE_ATTR") ? I(
4295
+ De(jn),
4289
4296
  // eslint-disable-line indent
4290
4297
  o.ADD_URI_SAFE_ATTR,
4291
4298
  // eslint-disable-line indent
4292
4299
  re
4293
4300
  // eslint-disable-line indent
4294
- ) : zn, $n = xe(o, "ADD_DATA_URI_TAGS") ? P(
4295
- Be(jn),
4301
+ ) : jn, Gn = xe(o, "ADD_DATA_URI_TAGS") ? I(
4302
+ De($n),
4296
4303
  // eslint-disable-line indent
4297
4304
  o.ADD_DATA_URI_TAGS,
4298
4305
  // eslint-disable-line indent
4299
4306
  re
4300
4307
  // eslint-disable-line indent
4301
- ) : jn, Ge = xe(o, "FORBID_CONTENTS") ? P({}, o.FORBID_CONTENTS, re) : Gn, k = xe(o, "FORBID_TAGS") ? P({}, o.FORBID_TAGS, re) : {}, ee = xe(o, "FORBID_ATTR") ? P({}, o.FORBID_ATTR, re) : {}, Fe = xe(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, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = o.SAFE_FOR_TEMPLATES || !1, Le = o.SAFE_FOR_XML !== !1, De = o.WHOLE_DOCUMENT || !1, ke = o.RETURN_DOM || !1, xt = o.RETURN_DOM_FRAGMENT || !1, vt = o.RETURN_TRUSTED_TYPE || !1, tn = o.FORCE_BODY || !1, kn = o.SANITIZE_DOM !== !1, Fn = o.SANITIZE_NAMED_PROPS || !1, nn = o.KEEP_CONTENT !== !1, rt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Di, $e = o.NAMESPACE || Me, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Wn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Wn(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), be && (ye = !1), xt && (ke = !0), Fe && (L = P({}, Br), R = [], Fe.html === !0 && (P(L, Dr), P(R, Ur)), Fe.svg === !0 && (P(L, En), P(R, Tn), P(R, Lt)), Fe.svgFilters === !0 && (P(L, _n), P(R, Tn), P(R, Lt)), Fe.mathMl === !0 && (P(L, yn), P(R, kr), P(R, Lt))), o.ADD_TAGS && (L === z && (L = Be(L)), P(L, o.ADD_TAGS, re)), o.ADD_ATTR && (R === q && (R = Be(R)), P(R, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && P(rn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (Ge === Gn && (Ge = Be(Ge)), P(Ge, o.FORBID_CONTENTS, re)), nn && (L["#text"] = !0), De && P(L, ["html", "head", "body"]), L.table && (P(L, ["tbody"]), delete k.tbody), o.TRUSTED_TYPES_POLICY) {
4308
+ ) : $n, Fe = xe(o, "FORBID_CONTENTS") ? I({}, o.FORBID_CONTENTS, re) : Fn, k = xe(o, "FORBID_TAGS") ? I({}, o.FORBID_TAGS, re) : {}, ee = xe(o, "FORBID_ATTR") ? I({}, o.FORBID_ATTR, re) : {}, ke = xe(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, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = o.SAFE_FOR_TEMPLATES || !1, Ne = o.SAFE_FOR_XML !== !1, Pe = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, Un = o.SANITIZE_DOM !== !1, kn = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Pi, Ge = 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), be && (ye = !1), Tt && (Ue = !0), ke && (L = I({}, Dr), R = [], ke.html === !0 && (I(L, Pr), I(R, Br)), ke.svg === !0 && (I(L, gn), I(R, _n), I(R, Nt)), ke.svgFilters === !0 && (I(L, bn), I(R, _n), I(R, Nt)), ke.mathMl === !0 && (I(L, En), I(R, Ur), I(R, Nt))), o.ADD_TAGS && (L === W && (L = De(L)), I(L, o.ADD_TAGS, re)), o.ADD_ATTR && (R === Z && (R = De(R)), I(R, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && I(tn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (Fe === Fn && (Fe = De(Fe)), I(Fe, o.FORBID_CONTENTS, re)), en && (L["#text"] = !0), Pe && I(L, ["html", "head", "body"]), L.table && (I(L, ["tbody"]), delete k.tbody), o.TRUSTED_TYPES_POLICY) {
4302
4309
  if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
4303
- throw ct('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4310
+ throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4304
4311
  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, I = H.createHTML("");
4312
+ throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4313
+ H = o.TRUSTED_TYPES_POLICY, P = H.createHTML("");
4307
4314
  } else
4308
- H === void 0 && (H = Fa(M, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
4309
- fe && fe(o), je = o;
4315
+ H === void 0 && (H = ka(O, i)), H !== null && typeof P == "string" && (P = H.createHTML(""));
4316
+ fe && fe(o), $e = o;
4310
4317
  }
4311
- }, Vn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Xn = P({}, ["foreignobject", "annotation-xml"]), Vi = P({}, ["title", "style", "font", "a", "script"]), Yn = P({}, [...En, ..._n, ...Ca]), Zn = P({}, [...yn, ...Na]), Xi = function(o) {
4318
+ }, Wn = I({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = I({}, ["foreignobject", "annotation-xml"]), Wi = I({}, ["title", "style", "font", "a", "script"]), Xn = I({}, [...gn, ...bn, ...Ma]), Yn = I({}, [...En, ...Ca]), Vi = function(o) {
4312
4319
  let p = A(o);
4313
4320
  (!p || !p.tagName) && (p = {
4314
- namespaceURI: $e,
4321
+ namespaceURI: Ge,
4315
4322
  tagName: "template"
4316
4323
  });
4317
- const S = Ft(o.tagName), W = Ft(p.tagName);
4318
- return on[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Me ? S === "svg" : p.namespaceURI === St ? S === "svg" && (W === "annotation-xml" || Vn[W]) : !!Yn[S] : o.namespaceURI === St ? p.namespaceURI === Me ? S === "math" : p.namespaceURI === At ? S === "math" && Xn[W] : !!Zn[S] : o.namespaceURI === Me ? p.namespaceURI === At && !Xn[W] || p.namespaceURI === St && !Vn[W] ? !1 : !Zn[S] && (Vi[S] || !Yn[S]) : !!(it === "application/xhtml+xml" && on[o.namespaceURI]) : !1;
4324
+ const v = kt(o.tagName), V = kt(p.tagName);
4325
+ return rn[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Oe ? v === "svg" : p.namespaceURI === vt ? v === "svg" && (V === "annotation-xml" || Wn[V]) : !!Xn[v] : o.namespaceURI === vt ? p.namespaceURI === Oe ? v === "math" : p.namespaceURI === At ? v === "math" && Vn[V] : !!Yn[v] : o.namespaceURI === Oe ? p.namespaceURI === At && !Vn[V] || p.namespaceURI === vt && !Wn[V] ? !1 : !Yn[v] && (Wi[v] || !Xn[v]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
4319
4326
  }, ve = function(o) {
4320
- ut(t.removed, {
4327
+ at(t.removed, {
4321
4328
  element: o
4322
4329
  });
4323
4330
  try {
4324
4331
  A(o).removeChild(o);
4325
4332
  } catch (p) {
4326
- C(o);
4333
+ M(o);
4327
4334
  }
4328
- }, wt = function(o, p) {
4335
+ }, St = function(o, p) {
4329
4336
  try {
4330
- ut(t.removed, {
4337
+ at(t.removed, {
4331
4338
  attribute: p.getAttributeNode(o),
4332
4339
  from: p
4333
4340
  });
4334
- } catch (S) {
4335
- ut(t.removed, {
4341
+ } catch (v) {
4342
+ at(t.removed, {
4336
4343
  attribute: null,
4337
4344
  from: p
4338
4345
  });
4339
4346
  }
4340
4347
  if (p.removeAttribute(o), o === "is" && !R[o])
4341
- if (ke || xt)
4348
+ if (Ue || Tt)
4342
4349
  try {
4343
4350
  ve(p);
4344
- } catch (S) {
4351
+ } catch (v) {
4345
4352
  }
4346
4353
  else
4347
4354
  try {
4348
4355
  p.setAttribute(o, "");
4349
- } catch (S) {
4356
+ } catch (v) {
4350
4357
  }
4351
- }, qn = function(o) {
4352
- let p = null, S = null;
4353
- if (tn)
4358
+ }, Zn = function(o) {
4359
+ let p = null, v = null;
4360
+ if (Kt)
4354
4361
  o = "<remove></remove>" + o;
4355
4362
  else {
4356
4363
  const se = Ir(o, /^[\r\n\t ]+/);
4357
- S = se && se[0];
4364
+ v = se && se[0];
4358
4365
  }
4359
- it === "application/xhtml+xml" && $e === 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 ($e === Me)
4366
+ rt === "application/xhtml+xml" && Ge === Oe && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4367
+ const V = H ? H.createHTML(o) : o;
4368
+ if (Ge === Oe)
4362
4369
  try {
4363
- p = new y().parseFromString(W, it);
4370
+ p = new y().parseFromString(V, rt);
4364
4371
  } catch (se) {
4365
4372
  }
4366
4373
  if (!p || !p.documentElement) {
4367
- p = F.createDocument($e, "template", null);
4374
+ p = G.createDocument(Ge, "template", null);
4368
4375
  try {
4369
- p.documentElement.innerHTML = sn ? I : W;
4376
+ p.documentElement.innerHTML = nn ? P : V;
4370
4377
  } catch (se) {
4371
4378
  }
4372
4379
  }
4373
4380
  const oe = p.body || p.documentElement;
4374
- return o && S && oe.insertBefore(n.createTextNode(S), oe.childNodes[0] || null), $e === Me ? Q.call(p, De ? "html" : "body")[0] : De ? p.documentElement : oe;
4375
- }, Jn = function(o) {
4381
+ return o && v && oe.insertBefore(n.createTextNode(v), oe.childNodes[0] || null), Ge === Oe ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : oe;
4382
+ }, qn = function(o) {
4376
4383
  return Y.call(
4377
4384
  o.ownerDocument || o,
4378
4385
  o,
@@ -4380,46 +4387,46 @@ function Ui() {
4380
4387
  l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
4381
4388
  null
4382
4389
  );
4383
- }, Qn = function(o) {
4390
+ }, Jn = function(o) {
4384
4391
  return o instanceof b && (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
- }, Kn = function(o) {
4392
+ }, Qn = function(o) {
4386
4393
  return typeof u == "function" && o instanceof u;
4387
- }, Ce = function(o, p, S) {
4388
- O[o] && Nt(O[o], (W) => {
4389
- W.call(t, p, S, je);
4394
+ }, Me = function(o, p, v) {
4395
+ C[o] && Ct(C[o], (V) => {
4396
+ V.call(t, p, v, $e);
4390
4397
  });
4391
- }, er = function(o) {
4398
+ }, Kn = function(o) {
4392
4399
  let p = null;
4393
- if (Ce("beforeSanitizeElements", o, null), Qn(o))
4400
+ if (Me("beforeSanitizeElements", o, null), Jn(o))
4394
4401
  return ve(o), !0;
4395
- const S = re(o.nodeName);
4396
- if (Ce("uponSanitizeElement", o, {
4397
- tagName: S,
4402
+ const v = re(o.nodeName);
4403
+ if (Me("uponSanitizeElement", o, {
4404
+ tagName: v,
4398
4405
  allowedTags: L
4399
- }), o.hasChildNodes() && !Kn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || Le && o.nodeType === ht.comment && ue(/<[/\w]/g, o.data))
4406
+ }), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ft.progressingInstruction || Ne && o.nodeType === ft.comment && ue(/<[/\w]/g, o.data))
4400
4407
  return ve(o), !0;
4401
- if (!L[S] || k[S]) {
4402
- if (!k[S] && nr(S) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4408
+ if (!L[v] || k[v]) {
4409
+ if (!k[v] && tr(v) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, v) || m.tagNameCheck instanceof Function && m.tagNameCheck(v)))
4403
4410
  return !1;
4404
- if (nn && !Ge[S]) {
4405
- const W = A(o) || o.parentNode, oe = U(o) || o.childNodes;
4406
- if (oe && W) {
4411
+ if (en && !Fe[v]) {
4412
+ const V = A(o) || o.parentNode, oe = U(o) || o.childNodes;
4413
+ if (oe && V) {
4407
4414
  const se = oe.length;
4408
4415
  for (let me = se - 1; me >= 0; --me) {
4409
- const Se = d(oe[me], !0);
4410
- Se.__removalCount = (o.__removalCount || 0) + 1, W.insertBefore(Se, G(o));
4416
+ const Ae = d(oe[me], !0);
4417
+ Ae.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(Ae, $(o));
4411
4418
  }
4412
4419
  }
4413
4420
  }
4414
4421
  return ve(o), !0;
4415
4422
  }
4416
- return o instanceof c && !Xi(o) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (be && o.nodeType === ht.text && (p = o.textContent, Nt([ne, he, v], (W) => {
4417
- p = lt(p, W, " ");
4418
- }), o.textContent !== p && (ut(t.removed, {
4423
+ return o instanceof c && !Vi(o) || (v === "noscript" || v === "noembed" || v === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (be && o.nodeType === ft.text && (p = o.textContent, Ct([ne, he, S], (V) => {
4424
+ p = ut(p, V, " ");
4425
+ }), o.textContent !== p && (at(t.removed, {
4419
4426
  element: o.cloneNode()
4420
- }), o.textContent = p)), Ce("afterSanitizeElements", o, null), !1);
4421
- }, tr = function(o, p, S) {
4422
- if (kn && (p === "id" || p === "name") && (S in n || S in Wi))
4427
+ }), o.textContent = p)), Me("afterSanitizeElements", o, null), !1);
4428
+ }, er = function(o, p, v) {
4429
+ if (Un && (p === "id" || p === "name") && (v in n || v in zi))
4423
4430
  return !1;
4424
4431
  if (!(ye && !ee[p] && ue(_, p))) {
4425
4432
  if (!(K && ue(g, p))) {
@@ -4428,16 +4435,16 @@ function Ui() {
4428
4435
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4429
4436
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4430
4437
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4431
- !(nr(o) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, o) || m.tagNameCheck instanceof Function && m.tagNameCheck(o)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4438
+ !(tr(o) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, o) || m.tagNameCheck instanceof Function && m.tagNameCheck(o)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4432
4439
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4433
- p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4440
+ p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, v) || m.tagNameCheck instanceof Function && m.tagNameCheck(v)))
4434
4441
  )
4435
4442
  return !1;
4436
- } else if (!rn[p]) {
4437
- if (!ue(N, lt(S, h, ""))) {
4438
- if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(S, "data:") === 0 && $n[o])) {
4439
- if (!(ie && !ue(x, lt(S, h, "")))) {
4440
- if (S)
4443
+ } else if (!tn[p]) {
4444
+ if (!ue(N, ut(v, h, ""))) {
4445
+ if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(v, "data:") === 0 && Gn[o])) {
4446
+ if (!(ie && !ue(x, ut(v, h, "")))) {
4447
+ if (v)
4441
4448
  return !1;
4442
4449
  }
4443
4450
  }
@@ -4446,46 +4453,46 @@ function Ui() {
4446
4453
  }
4447
4454
  }
4448
4455
  return !0;
4449
- }, nr = function(o) {
4456
+ }, tr = function(o) {
4450
4457
  return o !== "annotation-xml" && Ir(o, T);
4451
- }, rr = function(o) {
4452
- Ce("beforeSanitizeAttributes", o, null);
4458
+ }, nr = function(o) {
4459
+ Me("beforeSanitizeAttributes", o, null);
4453
4460
  const {
4454
4461
  attributes: p
4455
4462
  } = o;
4456
4463
  if (!p)
4457
4464
  return;
4458
- const S = {
4465
+ const v = {
4459
4466
  attrName: "",
4460
4467
  attrValue: "",
4461
4468
  keepAttr: !0,
4462
4469
  allowedAttributes: R
4463
4470
  };
4464
- let W = p.length;
4465
- for (; W--; ) {
4466
- const oe = p[W], {
4471
+ let V = p.length;
4472
+ for (; V--; ) {
4473
+ const oe = p[V], {
4467
4474
  name: se,
4468
4475
  namespaceURI: me,
4469
- 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, Le && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4473
- wt(se, o);
4476
+ value: Ae
4477
+ } = oe, it = re(se);
4478
+ let ae = se === "value" ? Ae : Sa(Ae);
4479
+ if (v.attrName = it, v.attrValue = ae, v.keepAttr = !0, v.forceKeepAttr = void 0, Me("uponSanitizeAttribute", o, v), ae = v.attrValue, Ne && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4480
+ St(se, o);
4474
4481
  continue;
4475
4482
  }
4476
- if (S.forceKeepAttr || (wt(se, o), !S.keepAttr))
4483
+ if (v.forceKeepAttr || (St(se, o), !v.keepAttr))
4477
4484
  continue;
4478
4485
  if (!Te && ue(/\/>/i, ae)) {
4479
- wt(se, o);
4486
+ St(se, o);
4480
4487
  continue;
4481
4488
  }
4482
- be && Nt([ne, he, v], (sr) => {
4483
- ae = lt(ae, sr, " ");
4489
+ be && Ct([ne, he, S], (ir) => {
4490
+ ae = ut(ae, ir, " ");
4484
4491
  });
4485
- const ir = re(o.nodeName);
4486
- if (tr(ir, st, ae)) {
4487
- if (Fn && (st === "id" || st === "name") && (wt(se, o), ae = Gi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
4488
- switch (M.getAttributeType(ir, st)) {
4492
+ const rr = re(o.nodeName);
4493
+ if (er(rr, it, ae)) {
4494
+ if (kn && (it === "id" || it === "name") && (St(se, o), ae = Fi + ae), H && typeof O == "object" && typeof O.getAttributeType == "function" && !me)
4495
+ switch (O.getAttributeType(rr, it)) {
4489
4496
  case "TrustedHTML": {
4490
4497
  ae = H.createHTML(ae);
4491
4498
  break;
@@ -4496,157 +4503,157 @@ function Ui() {
4496
4503
  }
4497
4504
  }
4498
4505
  try {
4499
- me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Qn(o) ? ve(o) : Pr(t.removed);
4500
- } catch (sr) {
4506
+ me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Jn(o) ? ve(o) : Rr(t.removed);
4507
+ } catch (ir) {
4501
4508
  }
4502
4509
  }
4503
4510
  }
4504
- Ce("afterSanitizeAttributes", o, null);
4505
- }, Yi = function w(o) {
4511
+ Me("afterSanitizeAttributes", o, null);
4512
+ }, Xi = function w(o) {
4506
4513
  let p = null;
4507
- const S = Jn(o);
4508
- for (Ce("beforeSanitizeShadowDOM", o, null); p = S.nextNode(); )
4509
- Ce("uponSanitizeShadowNode", p, null), !er(p) && (p.content instanceof s && w(p.content), rr(p));
4510
- Ce("afterSanitizeShadowDOM", o, null);
4514
+ const v = qn(o);
4515
+ for (Me("beforeSanitizeShadowDOM", o, null); p = v.nextNode(); )
4516
+ Me("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof s && w(p.content), nr(p));
4517
+ Me("afterSanitizeShadowDOM", o, null);
4511
4518
  };
4512
4519
  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" && !Kn(w))
4520
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, v = null, V = null, oe = null;
4521
+ if (nn = !w, nn && (w = "<!-->"), typeof w != "string" && !Qn(w))
4515
4522
  if (typeof w.toString == "function") {
4516
4523
  if (w = w.toString(), typeof w != "string")
4517
- throw ct("dirty is not a string, aborting");
4524
+ throw lt("dirty is not a string, aborting");
4518
4525
  } else
4519
- throw ct("toString is not a function");
4526
+ throw lt("toString is not a function");
4520
4527
  if (!t.isSupported)
4521
4528
  return w;
4522
- if (en || an(o), t.removed = [], typeof w == "string" && (rt = !1), rt) {
4529
+ if (Qt || sn(o), t.removed = [], typeof w == "string" && (nt = !1), nt) {
4523
4530
  if (w.nodeName) {
4524
- const Se = re(w.nodeName);
4525
- if (!L[Se] || k[Se])
4526
- throw ct("root node is forbidden and cannot be sanitized in-place");
4531
+ const Ae = re(w.nodeName);
4532
+ if (!L[Ae] || k[Ae])
4533
+ throw lt("root node is forbidden and cannot be sanitized in-place");
4527
4534
  }
4528
4535
  } else if (w instanceof u)
4529
- p = qn("<!---->"), S = p.ownerDocument.importNode(w, !0), S.nodeType === ht.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
4536
+ p = Zn("<!---->"), v = p.ownerDocument.importNode(w, !0), v.nodeType === ft.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? p = v : p.appendChild(v);
4530
4537
  else {
4531
- if (!ke && !be && !De && // eslint-disable-next-line unicorn/prefer-includes
4538
+ if (!Ue && !be && !Pe && // eslint-disable-next-line unicorn/prefer-includes
4532
4539
  w.indexOf("<") === -1)
4533
- return H && vt ? H.createHTML(w) : w;
4534
- if (p = qn(w), !p)
4535
- return ke ? null : vt ? I : "";
4540
+ return H && xt ? H.createHTML(w) : w;
4541
+ if (p = Zn(w), !p)
4542
+ return Ue ? null : xt ? P : "";
4536
4543
  }
4537
- p && tn && ve(p.firstChild);
4538
- const se = Jn(rt ? w : p);
4539
- for (; W = se.nextNode(); )
4540
- er(W) || (W.content instanceof s && Yi(W.content), rr(W));
4541
- if (rt)
4544
+ p && Kt && ve(p.firstChild);
4545
+ const se = qn(nt ? w : p);
4546
+ for (; V = se.nextNode(); )
4547
+ Kn(V) || (V.content instanceof s && Xi(V.content), nr(V));
4548
+ if (nt)
4542
4549
  return w;
4543
- if (ke) {
4544
- if (xt)
4545
- for (oe = V.call(p.ownerDocument); p.firstChild; )
4550
+ if (Ue) {
4551
+ if (Tt)
4552
+ for (oe = J.call(p.ownerDocument); p.firstChild; )
4546
4553
  oe.appendChild(p.firstChild);
4547
4554
  else
4548
4555
  oe = p;
4549
- return (R.shadowroot || R.shadowrootmode) && (oe = j.call(r, oe, !0)), oe;
4556
+ return (R.shadowroot || R.shadowrootmode) && (oe = z.call(r, oe, !0)), oe;
4550
4557
  }
4551
- let me = De ? p.outerHTML : p.innerHTML;
4552
- return De && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Bi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4553
- ` + me), be && Nt([ne, he, v], (Se) => {
4554
- me = lt(me, Se, " ");
4555
- }), H && vt ? H.createHTML(me) : me;
4558
+ let me = Pe ? p.outerHTML : p.innerHTML;
4559
+ return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Di, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4560
+ ` + me), be && Ct([ne, he, S], (Ae) => {
4561
+ me = ut(me, Ae, " ");
4562
+ }), H && xt ? H.createHTML(me) : me;
4556
4563
  }, t.setConfig = function() {
4557
4564
  let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4558
- an(w), en = !0;
4565
+ sn(w), Qt = !0;
4559
4566
  }, t.clearConfig = function() {
4560
- je = null, en = !1;
4567
+ $e = null, Qt = !1;
4561
4568
  }, t.isValidAttribute = function(w, o, p) {
4562
- je || an({});
4563
- const S = re(w), W = re(o);
4564
- return tr(S, W, p);
4569
+ $e || sn({});
4570
+ const v = re(w), V = re(o);
4571
+ return er(v, V, p);
4565
4572
  }, t.addHook = function(w, o) {
4566
- typeof o == "function" && (O[w] = O[w] || [], ut(O[w], o));
4573
+ typeof o == "function" && (C[w] = C[w] || [], at(C[w], o));
4567
4574
  }, t.removeHook = function(w) {
4568
- if (O[w])
4569
- return Pr(O[w]);
4575
+ if (C[w])
4576
+ return Rr(C[w]);
4570
4577
  }, t.removeHooks = function(w) {
4571
- O[w] && (O[w] = []);
4578
+ C[w] && (C[w] = []);
4572
4579
  }, t.removeAllHooks = function() {
4573
- O = {};
4580
+ C = {};
4574
4581
  }, t;
4575
4582
  }
4576
- var Gr = Ui();
4577
- const Ga = "data:image/webp;base64,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";
4578
- var ki = { exports: {} };
4583
+ var Fr = Bi();
4584
+ const Fa = "data:image/webp;base64,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";
4585
+ var Ui = { exports: {} };
4579
4586
  (function(e, t) {
4580
4587
  (function(n, r) {
4581
4588
  e.exports = r();
4582
- })(ui, function() {
4583
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", u = "minute", c = "hour", l = "day", f = "week", b = "month", y = "quarter", M = "year", E = "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, U = { 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) {
4584
- var _ = ["th", "st", "nd", "rd"], g = v % 100;
4585
- return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
4586
- } }, A = function(v, _, g) {
4587
- var x = String(v);
4588
- return !x || x.length >= _ ? v : "" + Array(_ + 1 - x.length).join(g) + v;
4589
- }, H = { s: A, z: function(v) {
4590
- var _ = -v.utcOffset(), g = Math.abs(_), x = Math.floor(g / 60), h = g % 60;
4589
+ })(ai, function() {
4590
+ var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", u = "minute", c = "hour", l = "day", f = "week", b = "month", y = "quarter", O = "year", E = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|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, U = { 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(S) {
4591
+ var _ = ["th", "st", "nd", "rd"], g = S % 100;
4592
+ return "[" + S + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
4593
+ } }, A = function(S, _, g) {
4594
+ var x = String(S);
4595
+ return !x || x.length >= _ ? S : "" + Array(_ + 1 - x.length).join(g) + S;
4596
+ }, H = { s: A, z: function(S) {
4597
+ var _ = -S.utcOffset(), g = Math.abs(_), x = Math.floor(g / 60), h = g % 60;
4591
4598
  return (_ <= 0 ? "+" : "-") + A(x, 2, "0") + ":" + A(h, 2, "0");
4592
- }, m: function v(_, g) {
4599
+ }, m: function S(_, g) {
4593
4600
  if (_.date() < g.date())
4594
- return -v(g, _);
4601
+ return -S(g, _);
4595
4602
  var x = 12 * (g.year() - _.year()) + (g.month() - _.month()), h = _.clone().add(x, b), T = g - h < 0, N = _.clone().add(x + (T ? -1 : 1), b);
4596
4603
  return +(-(x + (g - h) / (T ? h - N : N - h)) || 0);
4597
- }, a: function(v) {
4598
- return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
4599
- }, p: function(v) {
4600
- return { M: b, y: M, w: f, d: l, D: E, h: c, m: u, s: a, ms: s, Q: y }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4601
- }, u: function(v) {
4602
- return v === void 0;
4603
- } }, I = "en", F = {};
4604
- F[I] = U;
4605
- var Y = "$isDayjsObject", V = function(v) {
4606
- return v instanceof ne || !(!v || !v[Y]);
4607
- }, Q = function v(_, g, x) {
4604
+ }, a: function(S) {
4605
+ return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
4606
+ }, p: function(S) {
4607
+ return { M: b, y: O, w: f, d: l, D: E, h: c, m: u, s: a, ms: s, Q: y }[S] || String(S || "").toLowerCase().replace(/s$/, "");
4608
+ }, u: function(S) {
4609
+ return S === void 0;
4610
+ } }, P = "en", G = {};
4611
+ G[P] = U;
4612
+ var Y = "$isDayjsObject", J = function(S) {
4613
+ return S instanceof ne || !(!S || !S[Y]);
4614
+ }, Q = function S(_, g, x) {
4608
4615
  var h;
4609
4616
  if (!_)
4610
- return I;
4617
+ return P;
4611
4618
  if (typeof _ == "string") {
4612
4619
  var T = _.toLowerCase();
4613
- F[T] && (h = T), g && (F[T] = g, h = T);
4620
+ G[T] && (h = T), g && (G[T] = g, h = T);
4614
4621
  var N = _.split("-");
4615
4622
  if (!h && N.length > 1)
4616
- return v(N[0]);
4623
+ return S(N[0]);
4617
4624
  } else {
4618
4625
  var L = _.name;
4619
- F[L] = _, h = L;
4626
+ G[L] = _, h = L;
4620
4627
  }
4621
- return !x && h && (I = h), h || !x && I;
4622
- }, j = function(v, _) {
4623
- if (V(v))
4624
- return v.clone();
4628
+ return !x && h && (P = h), h || !x && P;
4629
+ }, z = function(S, _) {
4630
+ if (J(S))
4631
+ return S.clone();
4625
4632
  var g = typeof _ == "object" ? _ : {};
4626
- return g.date = v, g.args = arguments, new ne(g);
4627
- }, O = H;
4628
- O.l = Q, O.i = V, O.w = function(v, _) {
4629
- return j(v, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4633
+ return g.date = S, g.args = arguments, new ne(g);
4634
+ }, C = H;
4635
+ C.l = Q, C.i = J, C.w = function(S, _) {
4636
+ return z(S, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4630
4637
  };
4631
4638
  var ne = function() {
4632
- function v(g) {
4639
+ function S(g) {
4633
4640
  this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Y] = !0;
4634
4641
  }
4635
- var _ = v.prototype;
4642
+ var _ = S.prototype;
4636
4643
  return _.parse = function(g) {
4637
4644
  this.$d = function(x) {
4638
4645
  var h = x.date, T = x.utc;
4639
4646
  if (h === null)
4640
4647
  return /* @__PURE__ */ new Date(NaN);
4641
- if (O.u(h))
4648
+ if (C.u(h))
4642
4649
  return /* @__PURE__ */ new Date();
4643
4650
  if (h instanceof Date)
4644
4651
  return new Date(h);
4645
4652
  if (typeof h == "string" && !/Z$/i.test(h)) {
4646
- var N = h.match(C);
4653
+ var N = h.match(M);
4647
4654
  if (N) {
4648
- var L = N[2] - 1 || 0, z = (N[7] || "0").substring(0, 3);
4649
- return T ? new Date(Date.UTC(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, z)) : new Date(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, z);
4655
+ var L = N[2] - 1 || 0, W = (N[7] || "0").substring(0, 3);
4656
+ return T ? new Date(Date.UTC(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W)) : new Date(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W);
4650
4657
  }
4651
4658
  }
4652
4659
  return new Date(h);
@@ -4655,105 +4662,105 @@ var ki = { exports: {} };
4655
4662
  var g = this.$d;
4656
4663
  this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
4657
4664
  }, _.$utils = function() {
4658
- return O;
4665
+ return C;
4659
4666
  }, _.isValid = function() {
4660
4667
  return this.$d.toString() !== d;
4661
4668
  }, _.isSame = function(g, x) {
4662
- var h = j(g);
4669
+ var h = z(g);
4663
4670
  return this.startOf(x) <= h && h <= this.endOf(x);
4664
4671
  }, _.isAfter = function(g, x) {
4665
- return j(g) < this.startOf(x);
4672
+ return z(g) < this.startOf(x);
4666
4673
  }, _.isBefore = function(g, x) {
4667
- return this.endOf(x) < j(g);
4674
+ return this.endOf(x) < z(g);
4668
4675
  }, _.$g = function(g, x, h) {
4669
- return O.u(g) ? this[x] : this.set(h, g);
4676
+ return C.u(g) ? this[x] : this.set(h, g);
4670
4677
  }, _.unix = function() {
4671
4678
  return Math.floor(this.valueOf() / 1e3);
4672
4679
  }, _.valueOf = function() {
4673
4680
  return this.$d.getTime();
4674
4681
  }, _.startOf = function(g, x) {
4675
- var h = this, T = !!O.u(x) || x, N = O.p(g), L = function(ye, ie) {
4676
- var Te = O.w(h.$u ? Date.UTC(h.$y, ie, ye) : new Date(h.$y, ie, ye), h);
4682
+ var h = this, T = !!C.u(x) || x, N = C.p(g), L = function(ye, ie) {
4683
+ var Te = C.w(h.$u ? Date.UTC(h.$y, ie, ye) : new Date(h.$y, ie, ye), h);
4677
4684
  return T ? Te : Te.endOf(l);
4678
- }, z = function(ye, ie) {
4679
- return O.w(h.toDate()[ye].apply(h.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
4680
- }, R = this.$W, q = this.$M, m = this.$D, k = "set" + (this.$u ? "UTC" : "");
4685
+ }, W = function(ye, ie) {
4686
+ return C.w(h.toDate()[ye].apply(h.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
4687
+ }, R = this.$W, Z = this.$M, m = this.$D, k = "set" + (this.$u ? "UTC" : "");
4681
4688
  switch (N) {
4682
- case M:
4689
+ case O:
4683
4690
  return T ? L(1, 0) : L(31, 11);
4684
4691
  case b:
4685
- return T ? L(1, q) : L(0, q + 1);
4692
+ return T ? L(1, Z) : L(0, Z + 1);
4686
4693
  case f:
4687
4694
  var ee = this.$locale().weekStart || 0, K = (R < ee ? R + 7 : R) - ee;
4688
- return L(T ? m - K : m + (6 - K), q);
4695
+ return L(T ? m - K : m + (6 - K), Z);
4689
4696
  case l:
4690
4697
  case E:
4691
- return z(k + "Hours", 0);
4698
+ return W(k + "Hours", 0);
4692
4699
  case c:
4693
- return z(k + "Minutes", 1);
4700
+ return W(k + "Minutes", 1);
4694
4701
  case u:
4695
- return z(k + "Seconds", 2);
4702
+ return W(k + "Seconds", 2);
4696
4703
  case a:
4697
- return z(k + "Milliseconds", 3);
4704
+ return W(k + "Milliseconds", 3);
4698
4705
  default:
4699
4706
  return this.clone();
4700
4707
  }
4701
4708
  }, _.endOf = function(g) {
4702
4709
  return this.startOf(g, !1);
4703
4710
  }, _.$set = function(g, x) {
4704
- var h, T = O.p(g), N = "set" + (this.$u ? "UTC" : ""), L = (h = {}, h[l] = N + "Date", h[E] = N + "Date", h[b] = N + "Month", h[M] = N + "FullYear", h[c] = N + "Hours", h[u] = N + "Minutes", h[a] = N + "Seconds", h[s] = N + "Milliseconds", h)[T], z = T === l ? this.$D + (x - this.$W) : x;
4705
- if (T === b || T === M) {
4711
+ var h, T = C.p(g), N = "set" + (this.$u ? "UTC" : ""), L = (h = {}, h[l] = N + "Date", h[E] = N + "Date", h[b] = N + "Month", h[O] = N + "FullYear", h[c] = N + "Hours", h[u] = N + "Minutes", h[a] = N + "Seconds", h[s] = N + "Milliseconds", h)[T], W = T === l ? this.$D + (x - this.$W) : x;
4712
+ if (T === b || T === O) {
4706
4713
  var R = this.clone().set(E, 1);
4707
- R.$d[L](z), R.init(), this.$d = R.set(E, Math.min(this.$D, R.daysInMonth())).$d;
4714
+ R.$d[L](W), R.init(), this.$d = R.set(E, Math.min(this.$D, R.daysInMonth())).$d;
4708
4715
  } else
4709
- L && this.$d[L](z);
4716
+ L && this.$d[L](W);
4710
4717
  return this.init(), this;
4711
4718
  }, _.set = function(g, x) {
4712
4719
  return this.clone().$set(g, x);
4713
4720
  }, _.get = function(g) {
4714
- return this[O.p(g)]();
4721
+ return this[C.p(g)]();
4715
4722
  }, _.add = function(g, x) {
4716
4723
  var h, T = this;
4717
4724
  g = Number(g);
4718
- var N = O.p(x), L = function(q) {
4719
- var m = j(T);
4720
- return O.w(m.date(m.date() + Math.round(q * g)), T);
4725
+ var N = C.p(x), L = function(Z) {
4726
+ var m = z(T);
4727
+ return C.w(m.date(m.date() + Math.round(Z * g)), T);
4721
4728
  };
4722
4729
  if (N === b)
4723
4730
  return this.set(b, this.$M + g);
4724
- if (N === M)
4725
- return this.set(M, this.$y + g);
4731
+ if (N === O)
4732
+ return this.set(O, this.$y + g);
4726
4733
  if (N === l)
4727
4734
  return L(1);
4728
4735
  if (N === f)
4729
4736
  return L(7);
4730
- var z = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[N] || 1, R = this.$d.getTime() + g * z;
4731
- return O.w(R, this);
4737
+ var W = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[N] || 1, R = this.$d.getTime() + g * W;
4738
+ return C.w(R, this);
4732
4739
  }, _.subtract = function(g, x) {
4733
4740
  return this.add(-1 * g, x);
4734
4741
  }, _.format = function(g) {
4735
4742
  var x = this, h = this.$locale();
4736
4743
  if (!this.isValid())
4737
4744
  return h.invalidDate || d;
4738
- var T = g || "YYYY-MM-DDTHH:mm:ssZ", N = O.z(this), L = this.$H, z = this.$m, R = this.$M, q = h.weekdays, m = h.months, k = h.meridiem, ee = function(ie, Te, be, Le) {
4739
- return ie && (ie[Te] || ie(x, T)) || be[Te].slice(0, Le);
4745
+ var T = g || "YYYY-MM-DDTHH:mm:ssZ", N = C.z(this), L = this.$H, W = this.$m, R = this.$M, Z = h.weekdays, m = h.months, k = h.meridiem, ee = function(ie, Te, be, Ne) {
4746
+ return ie && (ie[Te] || ie(x, T)) || be[Te].slice(0, Ne);
4740
4747
  }, K = function(ie) {
4741
- return O.s(L % 12 || 12, ie, "0");
4748
+ return C.s(L % 12 || 12, ie, "0");
4742
4749
  }, ye = k || function(ie, Te, be) {
4743
- var Le = ie < 12 ? "AM" : "PM";
4744
- return be ? Le.toLowerCase() : Le;
4750
+ var Ne = ie < 12 ? "AM" : "PM";
4751
+ return be ? Ne.toLowerCase() : Ne;
4745
4752
  };
4746
- return T.replace(G, function(ie, Te) {
4753
+ return T.replace($, function(ie, Te) {
4747
4754
  return Te || function(be) {
4748
4755
  switch (be) {
4749
4756
  case "YY":
4750
4757
  return String(x.$y).slice(-2);
4751
4758
  case "YYYY":
4752
- return O.s(x.$y, 4, "0");
4759
+ return C.s(x.$y, 4, "0");
4753
4760
  case "M":
4754
4761
  return R + 1;
4755
4762
  case "MM":
4756
- return O.s(R + 1, 2, "0");
4763
+ return C.s(R + 1, 2, "0");
4757
4764
  case "MMM":
4758
4765
  return ee(h.monthsShort, R, m, 3);
4759
4766
  case "MMMM":
@@ -4761,37 +4768,37 @@ var ki = { exports: {} };
4761
4768
  case "D":
4762
4769
  return x.$D;
4763
4770
  case "DD":
4764
- return O.s(x.$D, 2, "0");
4771
+ return C.s(x.$D, 2, "0");
4765
4772
  case "d":
4766
4773
  return String(x.$W);
4767
4774
  case "dd":
4768
- return ee(h.weekdaysMin, x.$W, q, 2);
4775
+ return ee(h.weekdaysMin, x.$W, Z, 2);
4769
4776
  case "ddd":
4770
- return ee(h.weekdaysShort, x.$W, q, 3);
4777
+ return ee(h.weekdaysShort, x.$W, Z, 3);
4771
4778
  case "dddd":
4772
- return q[x.$W];
4779
+ return Z[x.$W];
4773
4780
  case "H":
4774
4781
  return String(L);
4775
4782
  case "HH":
4776
- return O.s(L, 2, "0");
4783
+ return C.s(L, 2, "0");
4777
4784
  case "h":
4778
4785
  return K(1);
4779
4786
  case "hh":
4780
4787
  return K(2);
4781
4788
  case "a":
4782
- return ye(L, z, !0);
4789
+ return ye(L, W, !0);
4783
4790
  case "A":
4784
- return ye(L, z, !1);
4791
+ return ye(L, W, !1);
4785
4792
  case "m":
4786
- return String(z);
4793
+ return String(W);
4787
4794
  case "mm":
4788
- return O.s(z, 2, "0");
4795
+ return C.s(W, 2, "0");
4789
4796
  case "s":
4790
4797
  return String(x.$s);
4791
4798
  case "ss":
4792
- return O.s(x.$s, 2, "0");
4799
+ return C.s(x.$s, 2, "0");
4793
4800
  case "SSS":
4794
- return O.s(x.$ms, 3, "0");
4801
+ return C.s(x.$ms, 3, "0");
4795
4802
  case "Z":
4796
4803
  return N;
4797
4804
  }
@@ -4801,11 +4808,11 @@ var ki = { exports: {} };
4801
4808
  }, _.utcOffset = function() {
4802
4809
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4803
4810
  }, _.diff = function(g, x, h) {
4804
- var T, N = this, L = O.p(x), z = j(g), R = (z.utcOffset() - this.utcOffset()) * r, q = this - z, m = function() {
4805
- return O.m(N, z);
4811
+ var T, N = this, L = C.p(x), W = z(g), R = (W.utcOffset() - this.utcOffset()) * r, Z = this - W, m = function() {
4812
+ return C.m(N, W);
4806
4813
  };
4807
4814
  switch (L) {
4808
- case M:
4815
+ case O:
4809
4816
  T = m() / 12;
4810
4817
  break;
4811
4818
  case b:
@@ -4815,35 +4822,35 @@ var ki = { exports: {} };
4815
4822
  T = m() / 3;
4816
4823
  break;
4817
4824
  case f:
4818
- T = (q - R) / 6048e5;
4825
+ T = (Z - R) / 6048e5;
4819
4826
  break;
4820
4827
  case l:
4821
- T = (q - R) / 864e5;
4828
+ T = (Z - R) / 864e5;
4822
4829
  break;
4823
4830
  case c:
4824
- T = q / i;
4831
+ T = Z / i;
4825
4832
  break;
4826
4833
  case u:
4827
- T = q / r;
4834
+ T = Z / r;
4828
4835
  break;
4829
4836
  case a:
4830
- T = q / n;
4837
+ T = Z / n;
4831
4838
  break;
4832
4839
  default:
4833
- T = q;
4840
+ T = Z;
4834
4841
  }
4835
- return h ? T : O.a(T);
4842
+ return h ? T : C.a(T);
4836
4843
  }, _.daysInMonth = function() {
4837
4844
  return this.endOf(b).$D;
4838
4845
  }, _.$locale = function() {
4839
- return F[this.$L];
4846
+ return G[this.$L];
4840
4847
  }, _.locale = function(g, x) {
4841
4848
  if (!g)
4842
4849
  return this.$L;
4843
4850
  var h = this.clone(), T = Q(g, x, !0);
4844
4851
  return T && (h.$L = T), h;
4845
4852
  }, _.clone = function() {
4846
- return O.w(this.$d, this);
4853
+ return C.w(this.$d, this);
4847
4854
  }, _.toDate = function() {
4848
4855
  return new Date(this.valueOf());
4849
4856
  }, _.toJSON = function() {
@@ -4852,35 +4859,35 @@ var ki = { exports: {} };
4852
4859
  return this.$d.toISOString();
4853
4860
  }, _.toString = function() {
4854
4861
  return this.$d.toUTCString();
4855
- }, v;
4862
+ }, S;
4856
4863
  }(), he = ne.prototype;
4857
- return j.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", b], ["$y", M], ["$D", E]].forEach(function(v) {
4858
- he[v[1]] = function(_) {
4859
- return this.$g(_, v[0], v[1]);
4864
+ return z.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", b], ["$y", O], ["$D", E]].forEach(function(S) {
4865
+ he[S[1]] = function(_) {
4866
+ return this.$g(_, S[0], S[1]);
4860
4867
  };
4861
- }), j.extend = function(v, _) {
4862
- return v.$i || (v(_, ne, j), v.$i = !0), j;
4863
- }, j.locale = Q, j.isDayjs = V, j.unix = function(v) {
4864
- return j(1e3 * v);
4865
- }, j.en = F[I], j.Ls = F, j.p = {}, j;
4868
+ }), z.extend = function(S, _) {
4869
+ return S.$i || (S(_, ne, z), S.$i = !0), z;
4870
+ }, z.locale = Q, z.isDayjs = J, z.unix = function(S) {
4871
+ return z(1e3 * S);
4872
+ }, z.en = G[P], z.Ls = G, z.p = {}, z;
4866
4873
  });
4867
- })(ki);
4868
- var $a = ki.exports;
4869
- const $r = /* @__PURE__ */ Dn($a);
4870
- var Fi = { exports: {} };
4874
+ })(Ui);
4875
+ var Ga = Ui.exports;
4876
+ const Gr = /* @__PURE__ */ In(Ga);
4877
+ var ki = { exports: {} };
4871
4878
  (function(e, t) {
4872
4879
  (function(n, r) {
4873
4880
  e.exports = r();
4874
- })(ui, function() {
4881
+ })(ai, function() {
4875
4882
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4876
4883
  return function(s, a, u) {
4877
4884
  var c = a.prototype;
4878
4885
  u.utc = function(d) {
4879
- var C = { date: d, utc: !0, args: arguments };
4880
- return new a(C);
4886
+ var M = { date: d, utc: !0, args: arguments };
4887
+ return new a(M);
4881
4888
  }, c.utc = function(d) {
4882
- var C = u(this.toDate(), { locale: this.$L, utc: !0 });
4883
- return d ? C.add(this.utcOffset(), n) : C;
4889
+ var M = u(this.toDate(), { locale: this.$L, utc: !0 });
4890
+ return d ? M.add(this.utcOffset(), n) : M;
4884
4891
  }, c.local = function() {
4885
4892
  return u(this.toDate(), { locale: this.$L, utc: !1 });
4886
4893
  };
@@ -4897,21 +4904,21 @@ var Fi = { exports: {} };
4897
4904
  f.call(this);
4898
4905
  };
4899
4906
  var b = c.utcOffset;
4900
- c.utcOffset = function(d, C) {
4901
- var G = this.$utils().u;
4902
- if (G(d))
4903
- return this.$u ? 0 : G(this.$offset) ? b.call(this) : this.$offset;
4904
- if (typeof d == "string" && (d = function(I) {
4905
- I === void 0 && (I = "");
4906
- var F = I.match(r);
4907
- if (!F)
4907
+ c.utcOffset = function(d, M) {
4908
+ var $ = this.$utils().u;
4909
+ if ($(d))
4910
+ return this.$u ? 0 : $(this.$offset) ? b.call(this) : this.$offset;
4911
+ if (typeof d == "string" && (d = function(P) {
4912
+ P === void 0 && (P = "");
4913
+ var G = P.match(r);
4914
+ if (!G)
4908
4915
  return null;
4909
- var Y = ("" + F[0]).match(i) || ["-", 0, 0], V = Y[0], Q = 60 * +Y[1] + +Y[2];
4910
- return Q === 0 ? 0 : V === "+" ? Q : -Q;
4916
+ var Y = ("" + G[0]).match(i) || ["-", 0, 0], J = Y[0], Q = 60 * +Y[1] + +Y[2];
4917
+ return Q === 0 ? 0 : J === "+" ? Q : -Q;
4911
4918
  }(d), d === null))
4912
4919
  return this;
4913
4920
  var U = Math.abs(d) <= 16 ? 60 * d : d, A = this;
4914
- if (C)
4921
+ if (M)
4915
4922
  return A.$offset = U, A.$u = d === 0, A;
4916
4923
  if (d !== 0) {
4917
4924
  var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
@@ -4922,8 +4929,8 @@ var Fi = { exports: {} };
4922
4929
  };
4923
4930
  var y = c.format;
4924
4931
  c.format = function(d) {
4925
- var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4926
- return y.call(this, C);
4932
+ var M = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4933
+ return y.call(this, M);
4927
4934
  }, c.valueOf = function() {
4928
4935
  var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4929
4936
  return this.$d.valueOf() - 6e4 * d;
@@ -4934,30 +4941,30 @@ var Fi = { exports: {} };
4934
4941
  }, c.toString = function() {
4935
4942
  return this.toDate().toUTCString();
4936
4943
  };
4937
- var M = c.toDate;
4944
+ var O = c.toDate;
4938
4945
  c.toDate = function(d) {
4939
- return d === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
4946
+ return d === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : O.call(this);
4940
4947
  };
4941
4948
  var E = c.diff;
4942
- c.diff = function(d, C, G) {
4949
+ c.diff = function(d, M, $) {
4943
4950
  if (d && this.$u === d.$u)
4944
- return E.call(this, d, C, G);
4951
+ return E.call(this, d, M, $);
4945
4952
  var U = this.local(), A = u(d).local();
4946
- return E.call(U, A, C, G);
4953
+ return E.call(U, A, M, $);
4947
4954
  };
4948
4955
  };
4949
4956
  });
4950
- })(Fi);
4951
- var ja = Fi.exports;
4952
- const za = /* @__PURE__ */ Dn(ja);
4953
- let jr = _t(null);
4954
- function Wa(e, t) {
4957
+ })(ki);
4958
+ var $a = ki.exports;
4959
+ const ja = /* @__PURE__ */ In($a);
4960
+ let $r = Et(null);
4961
+ function za(e, t) {
4955
4962
  if (e) {
4956
4963
  const n = document.createElement("style");
4957
4964
  n.innerHTML = t, e.appendChild(n);
4958
4965
  }
4959
4966
  }
4960
- function Va(e, t) {
4967
+ function Wa(e, t) {
4961
4968
  const n = new URL(t);
4962
4969
  fetch(n.href).then((r) => r.text()).then((r) => {
4963
4970
  const i = document.createElement("style");
@@ -4966,7 +4973,7 @@ function Va(e, t) {
4966
4973
  console.error("There was an error while trying to load client styling from URL", r);
4967
4974
  });
4968
4975
  }
4969
- function Xa(e, t, n) {
4976
+ function Va(e, t, n) {
4970
4977
  if (window.emMessageBus) {
4971
4978
  const r = document.createElement("style");
4972
4979
  window.emMessageBus.subscribe(t, (i) => {
@@ -4974,70 +4981,70 @@ function Xa(e, t, n) {
4974
4981
  });
4975
4982
  }
4976
4983
  }
4977
- function Ya(e) {
4978
- is(e, "svelte-1cb9n1l", "*,*::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:5;top:0;left:0;background-color:var(--mmw--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(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-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(--mmw--color-grey-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(--mmw--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(--mmw--color-grey-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(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
4984
+ function Xa(e) {
4985
+ rs(e, "svelte-140mrml", "*,*::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:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--mmw--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(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-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(--mmw--color-grey-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(--mmw--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(--mmw--color-grey-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(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
4979
4986
  }
4980
- const Za = (e) => ({}), zr = (e) => ({}), qa = (e) => ({}), Wr = (e) => ({}), Ja = (e) => ({}), Vr = (e) => ({}), Qa = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4981
- function Yr(e) {
4987
+ const Ya = (e) => ({}), jr = (e) => ({}), Za = (e) => ({}), zr = (e) => ({}), qa = (e) => ({}), Wr = (e) => ({}), Ja = (e) => ({}), Vr = (e) => ({ class: "CashierSessionExpirationIcon" });
4988
+ function Xr(e) {
4982
4989
  let t, n, r, i, s, a = (
4983
4990
  /*$_*/
4984
4991
  e[8]("sessionExpirationHeader") + ""
4985
- ), u, c, l, f, b, y, M, E, d, C, G, U, A, H, I;
4986
- const F = (
4992
+ ), u, c, l, f, b, y, O, E, d, M, $, U, A, H, P;
4993
+ const G = (
4987
4994
  /*#slots*/
4988
4995
  e[22].icon
4989
- ), Y = Ht(
4990
- F,
4996
+ ), Y = Lt(
4997
+ G,
4991
4998
  e,
4992
4999
  /*$$scope*/
4993
5000
  e[21],
4994
- Xr
4995
- ), V = Y || tu(e), Q = (
5001
+ Vr
5002
+ ), J = Y || eu(e), Q = (
4996
5003
  /*#slots*/
4997
5004
  e[22].title
4998
- ), j = Ht(
5005
+ ), z = Lt(
4999
5006
  Q,
5000
5007
  e,
5001
5008
  /*$$scope*/
5002
5009
  e[21],
5003
- Vr
5004
- ), O = j || nu(e), ne = (
5010
+ Wr
5011
+ ), C = z || tu(e), ne = (
5005
5012
  /*#slots*/
5006
5013
  e[22].text
5007
- ), he = Ht(
5014
+ ), he = Lt(
5008
5015
  ne,
5009
5016
  e,
5010
5017
  /*$$scope*/
5011
5018
  e[21],
5012
- Wr
5013
- ), v = he || ru(e), _ = [su, iu], g = [];
5019
+ zr
5020
+ ), S = he || nu(e), _ = [iu, ru], g = [];
5014
5021
  function x(h, T) {
5015
5022
  return (
5016
5023
  /*showLoaderButton*/
5017
5024
  h[6] ? 0 : 1
5018
5025
  );
5019
5026
  }
5020
- return d = x(e), C = g[d] = _[d](e), {
5027
+ return d = x(e), M = g[d] = _[d](e), {
5021
5028
  c() {
5022
- 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(), b = mt(), O && O.c(), y = mt(), v && v.c(), M = mt(), E = te("button"), C.c(), $(s, "class", "CashierSessionExpirationModalHeaderTitle"), $(i, "class", "CashierSessionExpirationModalHeader"), $(E, "type", "button"), E.disabled = /*showLoaderButton*/
5023
- e[6], $(E, "class", "CashierSessionExpirationButton"), $(f, "class", "CashierSessionExpiration"), $(l, "class", "CashierSessionExpirationModalContainer"), $(r, "class", "CashierSessionExpirationModalWrapper"), $(n, "class", "CashierSessionExpirationModalWindow"), $(n, "id", "CashierSessionExpirationModal"), Ze(() => (
5029
+ 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"), J.c(), b = ht(), C.c(), y = ht(), S.c(), O = ht(), E = te("button"), M.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(E, "type", "button"), E.disabled = /*showLoaderButton*/
5030
+ e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(l, "class", "CashierSessionExpirationModalContainer"), j(r, "class", "CashierSessionExpirationModalWrapper"), j(n, "class", "CashierSessionExpirationModalWindow"), j(n, "id", "CashierSessionExpirationModal"), Ye(() => (
5024
5031
  /*div5_elementresize_handler*/
5025
5032
  e[24].call(n)
5026
5033
  ));
5027
5034
  },
5028
5035
  m(h, T) {
5029
- Oe(h, t, T), 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, b), O && O.m(f, null), J(f, y), v && v.m(f, null), J(f, M), J(f, E), g[d].m(E, null), e[23](f), G = us(
5036
+ we(h, t, T), q(t, n), q(n, r), q(r, i), q(i, s), q(s, u), q(r, c), q(r, l), q(l, f), J.m(f, null), q(f, b), C.m(f, null), q(f, y), S.m(f, null), q(f, O), q(f, E), g[d].m(E, null), e[23](f), $ = as(
5030
5037
  n,
5031
5038
  /*div5_elementresize_handler*/
5032
5039
  e[24].bind(n)
5033
- ), e[25](t), A = !0, H || (I = [
5034
- Gt(
5040
+ ), e[25](t), A = !0, H || (P = [
5041
+ Ft(
5035
5042
  E,
5036
5043
  "click",
5037
5044
  /*renewSession*/
5038
5045
  e[9]
5039
5046
  ),
5040
- Gt(
5047
+ Ft(
5041
5048
  n,
5042
5049
  "click",
5043
5050
  /*outOfModalClick*/
@@ -5048,98 +5055,98 @@ function Yr(e) {
5048
5055
  p(h, T) {
5049
5056
  e = h, (!A || T[0] & /*$_*/
5050
5057
  256) && a !== (a = /*$_*/
5051
- e[8]("sessionExpirationHeader") + "") && qt(u, a), Y ? Y.p && (!A || T[0] & /*$$scope*/
5052
- 2097152) && Pt(
5058
+ e[8]("sessionExpirationHeader") + "") && Yt(u, a), Y ? Y.p && (!A || T[0] & /*$$scope*/
5059
+ 2097152) && Rt(
5053
5060
  Y,
5054
- F,
5061
+ G,
5055
5062
  e,
5056
5063
  /*$$scope*/
5057
5064
  e[21],
5058
- A ? Rt(
5059
- F,
5065
+ A ? Ht(
5066
+ G,
5060
5067
  /*$$scope*/
5061
5068
  e[21],
5062
5069
  T,
5063
- Qa
5070
+ Ja
5064
5071
  ) : It(
5065
5072
  /*$$scope*/
5066
5073
  e[21]
5067
5074
  ),
5068
- Xr
5069
- ) : V && V.p && (!A || T[0] & /*assetsurl*/
5070
- 8) && V.p(e, A ? T : [-1, -1]), j ? j.p && (!A || T[0] & /*$$scope*/
5071
- 2097152) && Pt(
5072
- j,
5075
+ Vr
5076
+ ) : J.p && (!A || T[0] & /*assetsurl*/
5077
+ 8) && J.p(e, A ? T : [-1, -1]), z ? z.p && (!A || T[0] & /*$$scope*/
5078
+ 2097152) && Rt(
5079
+ z,
5073
5080
  Q,
5074
5081
  e,
5075
5082
  /*$$scope*/
5076
5083
  e[21],
5077
- A ? Rt(
5084
+ A ? Ht(
5078
5085
  Q,
5079
5086
  /*$$scope*/
5080
5087
  e[21],
5081
5088
  T,
5082
- Ja
5089
+ qa
5083
5090
  ) : It(
5084
5091
  /*$$scope*/
5085
5092
  e[21]
5086
5093
  ),
5087
- Vr
5088
- ) : O && O.p && (!A || T[0] & /*$_*/
5089
- 256) && O.p(e, A ? T : [-1, -1]), he ? he.p && (!A || T[0] & /*$$scope*/
5090
- 2097152) && Pt(
5094
+ Wr
5095
+ ) : C.p && (!A || T[0] & /*$_*/
5096
+ 256) && C.p(e, A ? T : [-1, -1]), he ? he.p && (!A || T[0] & /*$$scope*/
5097
+ 2097152) && Rt(
5091
5098
  he,
5092
5099
  ne,
5093
5100
  e,
5094
5101
  /*$$scope*/
5095
5102
  e[21],
5096
- A ? Rt(
5103
+ A ? Ht(
5097
5104
  ne,
5098
5105
  /*$$scope*/
5099
5106
  e[21],
5100
5107
  T,
5101
- qa
5108
+ Za
5102
5109
  ) : It(
5103
5110
  /*$$scope*/
5104
5111
  e[21]
5105
5112
  ),
5106
- Wr
5107
- ) : v && v.p && (!A || T[0] & /*$_, timeLeft*/
5108
- 384) && v.p(e, A ? T : [-1, -1]);
5113
+ zr
5114
+ ) : S.p && (!A || T[0] & /*$_, timeLeft*/
5115
+ 384) && S.p(e, A ? T : [-1, -1]);
5109
5116
  let N = d;
5110
- d = x(e), d === N ? g[d].p(e, T) : (si(), He(g[N], 1, 1, () => {
5117
+ d = x(e), d === N ? g[d].p(e, T) : (ii(), Le(g[N], 1, 1, () => {
5111
5118
  g[N] = null;
5112
- }), oi(), C = g[d], C ? C.p(e, T) : (C = g[d] = _[d](e), C.c()), Ae(C, 1), C.m(E, null)), (!A || T[0] & /*showLoaderButton*/
5119
+ }), si(), M = g[d], M ? M.p(e, T) : (M = g[d] = _[d](e), M.c()), Se(M, 1), M.m(E, null)), (!A || T[0] & /*showLoaderButton*/
5113
5120
  64) && (E.disabled = /*showLoaderButton*/
5114
5121
  e[6]);
5115
5122
  },
5116
5123
  i(h) {
5117
- A || (Ae(V, h), Ae(O, h), Ae(v, h), Ae(C), h && Ze(() => {
5118
- A && (U || (U = pr(n, gr, { duration: (
5124
+ A || (Se(J, h), Se(C, h), Se(S, h), Se(M), h && Ye(() => {
5125
+ A && (U || (U = dr(n, pr, { duration: (
5119
5126
  /*duration*/
5120
5127
  e[2]
5121
5128
  ) }, !0)), U.run(1));
5122
5129
  }), A = !0);
5123
5130
  },
5124
5131
  o(h) {
5125
- He(V, h), He(O, h), He(v, h), He(C), h && (U || (U = pr(n, gr, { duration: (
5132
+ Le(J, h), Le(C, h), Le(S, h), Le(M), h && (U || (U = dr(n, pr, { duration: (
5126
5133
  /*duration*/
5127
5134
  e[2]
5128
5135
  ) }, !1)), U.run(0)), A = !1;
5129
5136
  },
5130
5137
  d(h) {
5131
- h && ge(t), V && V.d(h), O && O.d(h), v && v.d(h), g[d].d(), e[23](null), G(), h && U && U.end(), e[25](null), H = !1, Pe(I);
5138
+ h && ge(t), J.d(h), C.d(h), S.d(h), g[d].d(), e[23](null), $(), h && U && U.end(), e[25](null), H = !1, Re(P);
5132
5139
  }
5133
5140
  };
5134
5141
  }
5135
- function Ka(e) {
5142
+ function Qa(e) {
5136
5143
  let t, n;
5137
5144
  return {
5138
5145
  c() {
5139
- t = te("img"), xn(t.src, n = Ga) || $(t, "src", n), $(t, "width", "300px"), $(t, "alt", "error");
5146
+ t = te("img"), yn(t.src, n = Fa) || j(t, "src", n), j(t, "width", "300px"), j(t, "alt", "error");
5140
5147
  },
5141
5148
  m(r, i) {
5142
- Oe(r, t, i);
5149
+ we(r, t, i);
5143
5150
  },
5144
5151
  p: de,
5145
5152
  d(r) {
@@ -5147,41 +5154,41 @@ function Ka(e) {
5147
5154
  }
5148
5155
  };
5149
5156
  }
5150
- function eu(e) {
5157
+ function Ka(e) {
5151
5158
  let t, n;
5152
5159
  return {
5153
5160
  c() {
5154
- t = te("img"), xn(t.src, n = `${/*assetsurl*/
5155
- e[3]}/set-timeout-icon.png`) || $(t, "src", n), $(t, "width", "300px"), $(t, "alt", "error");
5161
+ t = te("img"), yn(t.src, n = `${/*assetsurl*/
5162
+ e[3]}/set-timeout-icon.png`) || j(t, "src", n), j(t, "width", "300px"), j(t, "alt", "error");
5156
5163
  },
5157
5164
  m(r, i) {
5158
- Oe(r, t, i);
5165
+ we(r, t, i);
5159
5166
  },
5160
5167
  p(r, i) {
5161
5168
  i[0] & /*assetsurl*/
5162
- 8 && !xn(t.src, n = `${/*assetsurl*/
5163
- r[3]}/set-timeout-icon.png`) && $(t, "src", n);
5169
+ 8 && !yn(t.src, n = `${/*assetsurl*/
5170
+ r[3]}/set-timeout-icon.png`) && j(t, "src", n);
5164
5171
  },
5165
5172
  d(r) {
5166
5173
  r && ge(t);
5167
5174
  }
5168
5175
  };
5169
5176
  }
5170
- function tu(e) {
5177
+ function eu(e) {
5171
5178
  let t;
5172
5179
  function n(s, a) {
5173
5180
  return (
5174
5181
  /*assetsurl*/
5175
- s[3] ? eu : Ka
5182
+ s[3] ? Ka : Qa
5176
5183
  );
5177
5184
  }
5178
5185
  let r = n(e), i = r(e);
5179
5186
  return {
5180
5187
  c() {
5181
- i.c(), t = ri();
5188
+ i.c(), t = ni();
5182
5189
  },
5183
5190
  m(s, a) {
5184
- i.m(s, a), Oe(s, t, a);
5191
+ i.m(s, a), we(s, t, a);
5185
5192
  },
5186
5193
  p(s, a) {
5187
5194
  r === (r = n(s)) && i ? i.p(s, a) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
@@ -5191,30 +5198,30 @@ function tu(e) {
5191
5198
  }
5192
5199
  };
5193
5200
  }
5194
- function nu(e) {
5201
+ function tu(e) {
5195
5202
  let t, n = (
5196
5203
  /*$_*/
5197
5204
  e[8]("sessionExpirationTitle") + ""
5198
5205
  ), r;
5199
5206
  return {
5200
5207
  c() {
5201
- t = te("span"), r = et(n), $(t, "class", "CashierSessionExpirationTitle");
5208
+ t = te("span"), r = Ke(n), j(t, "class", "CashierSessionExpirationTitle");
5202
5209
  },
5203
5210
  m(i, s) {
5204
- Oe(i, t, s), J(t, r);
5211
+ we(i, t, s), q(t, r);
5205
5212
  },
5206
5213
  p(i, s) {
5207
5214
  s[0] & /*$_*/
5208
5215
  256 && n !== (n = /*$_*/
5209
- i[8]("sessionExpirationTitle") + "") && qt(r, n);
5216
+ i[8]("sessionExpirationTitle") + "") && Yt(r, n);
5210
5217
  },
5211
5218
  d(i) {
5212
5219
  i && ge(t);
5213
5220
  }
5214
5221
  };
5215
5222
  }
5216
- function ru(e) {
5217
- let t, n = Gr.sanitize(
5223
+ function nu(e) {
5224
+ let t, n = Fr.sanitize(
5218
5225
  /*$_*/
5219
5226
  e[8]("sessionExpirationGeneralText", { values: { second: (
5220
5227
  /*timeLeft*/
@@ -5223,14 +5230,14 @@ function ru(e) {
5223
5230
  ) + "";
5224
5231
  return {
5225
5232
  c() {
5226
- t = te("span"), $(t, "class", "CashierSessionExpirationText");
5233
+ t = te("span"), j(t, "class", "CashierSessionExpirationText");
5227
5234
  },
5228
5235
  m(r, i) {
5229
- Oe(r, t, i), t.innerHTML = n;
5236
+ we(r, t, i), t.innerHTML = n;
5230
5237
  },
5231
5238
  p(r, i) {
5232
5239
  i[0] & /*$_, timeLeft*/
5233
- 384 && n !== (n = Gr.sanitize(
5240
+ 384 && n !== (n = Fr.sanitize(
5234
5241
  /*$_*/
5235
5242
  r[8]("sessionExpirationGeneralText", { values: { second: (
5236
5243
  /*timeLeft*/
@@ -5243,74 +5250,74 @@ function ru(e) {
5243
5250
  }
5244
5251
  };
5245
5252
  }
5246
- function iu(e) {
5253
+ function ru(e) {
5247
5254
  let t;
5248
5255
  const n = (
5249
5256
  /*#slots*/
5250
5257
  e[22].button
5251
- ), r = Ht(
5258
+ ), r = Lt(
5252
5259
  n,
5253
5260
  e,
5254
5261
  /*$$scope*/
5255
5262
  e[21],
5256
- zr
5257
- ), i = r || ou(e);
5263
+ jr
5264
+ ), i = r || su(e);
5258
5265
  return {
5259
5266
  c() {
5260
- i && i.c();
5267
+ i.c();
5261
5268
  },
5262
5269
  m(s, a) {
5263
- i && i.m(s, a), t = !0;
5270
+ i.m(s, a), t = !0;
5264
5271
  },
5265
5272
  p(s, a) {
5266
5273
  r ? r.p && (!t || a[0] & /*$$scope*/
5267
- 2097152) && Pt(
5274
+ 2097152) && Rt(
5268
5275
  r,
5269
5276
  n,
5270
5277
  s,
5271
5278
  /*$$scope*/
5272
5279
  s[21],
5273
- t ? Rt(
5280
+ t ? Ht(
5274
5281
  n,
5275
5282
  /*$$scope*/
5276
5283
  s[21],
5277
5284
  a,
5278
- Za
5285
+ Ya
5279
5286
  ) : It(
5280
5287
  /*$$scope*/
5281
5288
  s[21]
5282
5289
  ),
5283
- zr
5284
- ) : i && i.p && (!t || a[0] & /*$_*/
5290
+ jr
5291
+ ) : i.p && (!t || a[0] & /*$_*/
5285
5292
  256) && i.p(s, t ? a : [-1, -1]);
5286
5293
  },
5287
5294
  i(s) {
5288
- t || (Ae(i, s), t = !0);
5295
+ t || (Se(i, s), t = !0);
5289
5296
  },
5290
5297
  o(s) {
5291
- He(i, s), t = !1;
5298
+ Le(i, s), t = !1;
5292
5299
  },
5293
5300
  d(s) {
5294
- i && i.d(s);
5301
+ i.d(s);
5295
5302
  }
5296
5303
  };
5297
5304
  }
5298
- function su(e) {
5305
+ function iu(e) {
5299
5306
  let t, n, r, i, s, a = (
5300
5307
  /*$_*/
5301
5308
  e[8]("sessionExpirationLoadingButton") + ""
5302
5309
  ), u;
5303
5310
  return {
5304
5311
  c() {
5305
- t = te("div"), n = hr("svg"), r = hr("path"), i = mt(), s = te("span"), u = et(a), $(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"), $(r, "fill", "white"), $(n, "class", "CashierSessionExpirationButtonSpinner"), $(n, "xmlns", "http://www.w3.org/2000/svg"), $(n, "width", "15"), $(n, "height", "14"), $(n, "viewBox", "0 0 15 14"), $(n, "fill", "none"), $(s, "class", "CashierSessionExpirationButtonText");
5312
+ t = te("div"), n = fr("svg"), r = fr("path"), i = ht(), s = te("span"), u = Ke(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");
5306
5313
  },
5307
5314
  m(c, l) {
5308
- Oe(c, t, l), J(t, n), J(n, r), J(t, i), J(t, s), J(s, u);
5315
+ we(c, t, l), q(t, n), q(n, r), q(t, i), q(t, s), q(s, u);
5309
5316
  },
5310
5317
  p(c, l) {
5311
5318
  l[0] & /*$_*/
5312
5319
  256 && a !== (a = /*$_*/
5313
- c[8]("sessionExpirationLoadingButton") + "") && qt(u, a);
5320
+ c[8]("sessionExpirationLoadingButton") + "") && Yt(u, a);
5314
5321
  },
5315
5322
  i: de,
5316
5323
  o: de,
@@ -5319,72 +5326,72 @@ function su(e) {
5319
5326
  }
5320
5327
  };
5321
5328
  }
5322
- function ou(e) {
5329
+ function su(e) {
5323
5330
  let t, n = (
5324
5331
  /*$_*/
5325
5332
  e[8]("sessionExpirationGeneralButton") + ""
5326
5333
  ), r;
5327
5334
  return {
5328
5335
  c() {
5329
- t = te("span"), r = et(n), $(t, "class", "CashierSessionExpirationButtonText");
5336
+ t = te("span"), r = Ke(n), j(t, "class", "CashierSessionExpirationButtonText");
5330
5337
  },
5331
5338
  m(i, s) {
5332
- Oe(i, t, s), J(t, r);
5339
+ we(i, t, s), q(t, r);
5333
5340
  },
5334
5341
  p(i, s) {
5335
5342
  s[0] & /*$_*/
5336
5343
  256 && n !== (n = /*$_*/
5337
- i[8]("sessionExpirationGeneralButton") + "") && qt(r, n);
5344
+ i[8]("sessionExpirationGeneralButton") + "") && Yt(r, n);
5338
5345
  },
5339
5346
  d(i) {
5340
5347
  i && ge(t);
5341
5348
  }
5342
5349
  };
5343
5350
  }
5344
- function au(e) {
5351
+ function ou(e) {
5345
5352
  let t, n, r = (
5346
5353
  /*show*/
5347
- e[5] && Yr(e)
5354
+ e[5] && Xr(e)
5348
5355
  );
5349
5356
  return {
5350
5357
  c() {
5351
- r && r.c(), t = ri();
5358
+ r && r.c(), t = ni();
5352
5359
  },
5353
5360
  m(i, s) {
5354
- r && r.m(i, s), Oe(i, t, s), n = !0;
5361
+ r && r.m(i, s), we(i, t, s), n = !0;
5355
5362
  },
5356
5363
  p(i, s) {
5357
5364
  /*show*/
5358
5365
  i[5] ? r ? (r.p(i, s), s[0] & /*show*/
5359
- 32 && Ae(r, 1)) : (r = Yr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (si(), He(r, 1, 1, () => {
5366
+ 32 && Se(r, 1)) : (r = Xr(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (ii(), Le(r, 1, 1, () => {
5360
5367
  r = null;
5361
- }), oi());
5368
+ }), si());
5362
5369
  },
5363
5370
  i(i) {
5364
- n || (Ae(r), n = !0);
5371
+ n || (Se(r), n = !0);
5365
5372
  },
5366
5373
  o(i) {
5367
- He(r), n = !1;
5374
+ Le(r), n = !1;
5368
5375
  },
5369
5376
  d(i) {
5370
5377
  i && ge(t), r && r.d(i);
5371
5378
  }
5372
5379
  };
5373
5380
  }
5374
- const uu = 90;
5375
- function lu(e, t, n) {
5381
+ const au = 90;
5382
+ function uu(e, t, n) {
5376
5383
  let r, i;
5377
- fr(e, jr, (m) => n(20, r = m)), fr(e, ya, (m) => n(8, i = m));
5384
+ cr(e, $r, (m) => n(20, r = m)), cr(e, _a, (m) => n(8, i = m));
5378
5385
  let { $$slots: s = {}, $$scope: a } = t;
5379
- $r.extend(za);
5380
- let { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: b = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: E = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: G } = t, { selectedpaymentmethodname: U } = t, { mbsource: A = "" } = t, H, I = !1, F = !1, Y, V, Q, j, O;
5386
+ Gr.extend(ja);
5387
+ let { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: b = 200 } = t, { assetsurl: y = "" } = t, { lang: O = "en" } = t, { translationurl: E = "" } = t, { endpoint: d } = t, { currency: M } = t, { customerid: $ } = t, { selectedpaymentmethodname: U } = t, { mbsource: A = "" } = t, H, P = !1, G = !1, Y, J, Q, z, C;
5381
5388
  var ne;
5382
5389
  (function(m) {
5383
5390
  m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
5384
5391
  })(ne || (ne = {}));
5385
5392
  const he = (m) => {
5386
- m.data.type === "StartSessionCountdown" && (j = m.data.paymentMethodName);
5387
- }, v = (m) => {
5393
+ m.data.type === "StartSessionCountdown" && (z = m.data.paymentMethodName);
5394
+ }, S = (m) => {
5388
5395
  try {
5389
5396
  return JSON.parse(atob(m.split(".")[1]));
5390
5397
  } catch (k) {
@@ -5394,34 +5401,34 @@ function lu(e, t, n) {
5394
5401
  window.postMessage(
5395
5402
  {
5396
5403
  type: "ErrorResponseCode",
5397
- errorResponseCode: O
5404
+ errorResponseCode: C
5398
5405
  },
5399
5406
  window.location.href
5400
5407
  );
5401
5408
  }, g = (m) => {
5402
- n(5, I = !1);
5403
- const k = v(m);
5404
- k && (V = k == null ? void 0 : k.exp, n(7, Y = V), Q && clearInterval(Q), Q = setInterval(
5409
+ n(5, P = !1);
5410
+ const k = S(m);
5411
+ k && (J = k == null ? void 0 : k.exp, n(7, Y = J), Q && clearInterval(Q), Q = setInterval(
5405
5412
  () => {
5406
5413
  const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5407
- n(7, Y = V - ee), Y <= uu && n(5, I = !0), ee >= V && (x(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5414
+ n(7, Y = J - ee), Y <= au && n(5, P = !0), ee >= J && (x(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5408
5415
  },
5409
5416
  1e3
5410
5417
  ));
5411
5418
  }, x = () => {
5412
- n(7, Y = 0), n(5, I = !1), clearInterval(Q);
5419
+ n(7, Y = 0), n(5, P = !1), clearInterval(Q);
5413
5420
  }, h = () => {
5414
- if (F)
5421
+ if (G)
5415
5422
  return;
5416
- const m = new URL(`${d}/v1/player/${G}/payment/GetPaymentMethod`), k = new Headers();
5417
- n(6, F = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", $r.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5423
+ const m = new URL(`${d}/v1/player/${$}/payment/GetPaymentMethod`), k = new Headers();
5424
+ n(6, G = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", Gr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5418
5425
  const ee = {
5419
5426
  method: "POST",
5420
5427
  mode: "cors",
5421
5428
  headers: k,
5422
5429
  body: JSON.stringify({
5423
- PaymentMethodName: j || U,
5424
- Currency: C,
5430
+ PaymentMethodName: z || U,
5431
+ Currency: M,
5425
5432
  XPaymentSessionToken: r
5426
5433
  })
5427
5434
  };
@@ -5437,60 +5444,60 @@ function lu(e, t, n) {
5437
5444
  return;
5438
5445
  }
5439
5446
  if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
5440
- O = K.ResponseCode, x(), _();
5447
+ C = K.ResponseCode, x(), _();
5441
5448
  return;
5442
5449
  }
5443
5450
  if (K.ResponseCode !== ne.Success) {
5444
- O = K.ResponseCode, x();
5451
+ C = K.ResponseCode, x();
5445
5452
  return;
5446
5453
  }
5447
- K.XPaymentSessionToken && jr.set(K.XPaymentSessionToken);
5448
- }).finally(() => n(6, F = !1));
5454
+ K.XPaymentSessionToken && $r.set(K.XPaymentSessionToken);
5455
+ }).finally(() => n(6, G = !1));
5449
5456
  }, T = (m) => {
5450
5457
  const k = m.currentTarget;
5451
5458
  m.target === k && h();
5452
5459
  }, N = () => {
5453
5460
  fetch(E).then((k) => k.json()).then((k) => {
5454
5461
  Object.keys(k).forEach((ee) => {
5455
- Lr(ee, k[ee]);
5462
+ Nr(ee, k[ee]);
5456
5463
  });
5457
5464
  }).catch((k) => {
5458
5465
  console.log(k);
5459
5466
  });
5460
5467
  };
5461
- Object.keys(Hr).forEach((m) => {
5462
- Lr(m, Hr[m]);
5468
+ Object.keys(Lr).forEach((m) => {
5469
+ Nr(m, Lr[m]);
5463
5470
  });
5464
5471
  const L = () => {
5465
- Ta(M);
5472
+ ya(O);
5466
5473
  };
5467
- ps(() => (window.addEventListener("message", he, !1), () => {
5474
+ ds(() => (window.addEventListener("message", he, !1), () => {
5468
5475
  window.removeEventListener("message", he);
5469
- })), gs(() => {
5476
+ })), ps(() => {
5470
5477
  clearInterval(Q);
5471
5478
  });
5472
- function z(m) {
5473
- zt[m ? "unshift" : "push"](() => {
5479
+ function W(m) {
5480
+ jt[m ? "unshift" : "push"](() => {
5474
5481
  H = m, n(4, H);
5475
5482
  });
5476
5483
  }
5477
5484
  function R() {
5478
5485
  l = this.clientWidth, f = this.clientHeight, n(0, l), n(1, f);
5479
5486
  }
5480
- function q(m) {
5481
- zt[m ? "unshift" : "push"](() => {
5487
+ function Z(m) {
5488
+ jt[m ? "unshift" : "push"](() => {
5482
5489
  H = m, n(4, H);
5483
5490
  });
5484
5491
  }
5485
5492
  return e.$$set = (m) => {
5486
- "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, b = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, E = 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, U = m.selectedpaymentmethodname), "mbsource" in m && n(19, A = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5493
+ "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, b = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, O = m.lang), "translationurl" in m && n(14, E = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, M = m.currency), "customerid" in m && n(17, $ = m.customerid), "selectedpaymentmethodname" in m && n(18, U = m.selectedpaymentmethodname), "mbsource" in m && n(19, A = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5487
5494
  }, e.$$.update = () => {
5488
5495
  e.$$.dirty[0] & /*$xPaymentSessionToken*/
5489
5496
  1048576 && g(r), e.$$.dirty[0] & /*lang*/
5490
- 8192 && M && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5491
- 2064 && u && H && Wa(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5492
- 4112 && c && H && Va(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5493
- 524304 && A && H && Xa(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
5497
+ 8192 && O && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5498
+ 2064 && u && H && za(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5499
+ 4112 && c && H && Wa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5500
+ 524304 && A && H && Va(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
5494
5501
  16384 && E && N();
5495
5502
  }, [
5496
5503
  l,
@@ -5498,37 +5505,37 @@ function lu(e, t, n) {
5498
5505
  b,
5499
5506
  y,
5500
5507
  H,
5501
- I,
5502
- F,
5508
+ P,
5509
+ G,
5503
5510
  Y,
5504
5511
  i,
5505
5512
  h,
5506
5513
  T,
5507
5514
  u,
5508
5515
  c,
5509
- M,
5516
+ O,
5510
5517
  E,
5511
5518
  d,
5512
- C,
5513
- G,
5519
+ M,
5520
+ $,
5514
5521
  U,
5515
5522
  A,
5516
5523
  r,
5517
5524
  a,
5518
5525
  s,
5519
- z,
5526
+ W,
5520
5527
  R,
5521
- q
5528
+ Z
5522
5529
  ];
5523
5530
  }
5524
- class cu extends Ms {
5531
+ class lu extends Os {
5525
5532
  constructor(t) {
5526
- super(), ws(
5533
+ super(), Ss(
5527
5534
  this,
5528
5535
  t,
5529
- lu,
5530
- au,
5531
- Jr,
5536
+ uu,
5537
+ ou,
5538
+ qr,
5532
5539
  {
5533
5540
  clientstyling: 11,
5534
5541
  clientstylingurl: 12,
@@ -5544,7 +5551,7 @@ class cu extends Ms {
5544
5551
  selectedpaymentmethodname: 18,
5545
5552
  mbsource: 19
5546
5553
  },
5547
- Ya,
5554
+ Xa,
5548
5555
  [-1, -1]
5549
5556
  );
5550
5557
  }
@@ -5627,7 +5634,7 @@ class cu extends Ms {
5627
5634
  this.$$set({ mbsource: t }), le();
5628
5635
  }
5629
5636
  }
5630
- Os(cu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5637
+ ws(lu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5631
5638
  export {
5632
- cu as default
5639
+ lu as default
5633
5640
  };