@everymatrix/cashier-verifications 1.74.5 → 1.74.7

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,637 +1,142 @@
1
- var Ur = Object.defineProperty, Fr = Object.defineProperties;
2
- var Vr = Object.getOwnPropertyDescriptors;
3
- var Pt = Object.getOwnPropertySymbols;
4
- var Gr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var Ke = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Gr.call(t, r) && Ke(e, r, t[r]);
8
- if (Pt)
9
- for (var r of Pt(t))
10
- jr.call(t, r) && Ke(e, r, t[r]);
11
- return e;
12
- }, At = (e, t) => Fr(e, Vr(t));
13
- var J = (e, t, r) => (Ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Bt = (e, t, r) => new Promise((i, n) => {
15
- var s = (a) => {
16
- try {
17
- l(r.next(a));
18
- } catch (u) {
19
- n(u);
20
- }
21
- }, o = (a) => {
22
- try {
23
- l(r.throw(a));
24
- } catch (u) {
25
- n(u);
26
- }
27
- }, l = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(s, o);
28
- l((r = r.apply(e, t)).next());
29
- });
30
- function te() {
31
- }
32
- function rr(e) {
33
- return e();
34
- }
35
- function $t() {
36
- return /* @__PURE__ */ Object.create(null);
37
- }
38
- function Ne(e) {
39
- e.forEach(rr);
40
- }
41
- function bt(e) {
42
- return typeof e == "function";
43
- }
44
- function ir(e, t) {
45
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
- }
47
- let Ve;
48
- function ys(e, t) {
49
- return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
- }
51
- function zr(e) {
52
- return Object.keys(e).length === 0;
53
- }
54
- function nr(e, ...t) {
55
- if (e == null) {
56
- for (const i of t)
57
- i(void 0);
58
- return te;
59
- }
60
- const r = e.subscribe(...t);
61
- return r.unsubscribe ? () => r.unsubscribe() : r;
62
- }
63
- function Mt(e, t, r) {
64
- e.$$.on_destroy.push(nr(t, r));
65
- }
66
- function se(e, t) {
67
- e.appendChild(t);
68
- }
69
- function Xr(e, t, r) {
70
- const i = Wr(e);
71
- if (!i.getElementById(t)) {
72
- const n = Y("style");
73
- n.id = t, n.textContent = r, qr(i, n);
74
- }
75
- }
76
- function Wr(e) {
77
- if (!e)
78
- return document;
79
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
80
- return t && /** @type {ShadowRoot} */
81
- t.host ? (
82
- /** @type {ShadowRoot} */
83
- t
84
- ) : e.ownerDocument;
85
- }
86
- function qr(e, t) {
87
- return se(
88
- /** @type {Document} */
89
- e.head || e,
90
- t
91
- ), t.sheet;
92
- }
93
- function oe(e, t, r) {
94
- e.insertBefore(t, r || null);
95
- }
96
- function ee(e) {
97
- e.parentNode && e.parentNode.removeChild(e);
98
- }
99
- function Yr(e, t) {
100
- for (let r = 0; r < e.length; r += 1)
101
- e[r] && e[r].d(t);
102
- }
103
- function Y(e) {
104
- return document.createElement(e);
105
- }
106
- function xs(e) {
107
- return document.createElementNS("http://www.w3.org/2000/svg", e);
108
- }
109
- function yt(e) {
110
- return document.createTextNode(e);
111
- }
112
- function Ee() {
113
- return yt(" ");
114
- }
115
- function _s() {
116
- return yt("");
117
- }
118
- function xt(e, t, r, i) {
119
- return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
120
- }
121
- function re(e, t, r) {
122
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
- }
124
- function K(e, t, r) {
125
- const i = t.toLowerCase();
126
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : re(e, t, r);
127
- }
128
- function Zr(e) {
129
- return Array.from(e.childNodes);
130
- }
131
- function Jr(e, t) {
132
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
- t);
134
- }
135
- function Se(e, t, r) {
136
- e.classList.toggle(t, !!r);
137
- }
138
- function Qr(e) {
139
- const t = {};
140
- return e.childNodes.forEach(
141
- /** @param {Element} node */
142
- (r) => {
143
- t[r.slot || "default"] = !0;
144
- }
145
- ), t;
146
- }
147
- let De;
148
- function Ce(e) {
149
- De = e;
150
- }
151
- function Kr() {
152
- if (!De)
153
- throw new Error("Function called outside component initialization");
154
- return De;
155
- }
156
- function ei(e) {
157
- Kr().$$.on_mount.push(e);
158
- }
159
- const _e = [], at = [];
160
- let we = [];
161
- const Ct = [], ti = /* @__PURE__ */ Promise.resolve();
162
- let ut = !1;
163
- function ri() {
164
- ut || (ut = !0, ti.then(Q));
165
- }
166
- function lt(e) {
167
- we.push(e);
168
- }
169
- const et = /* @__PURE__ */ new Set();
170
- let ye = 0;
171
- function Q() {
172
- if (ye !== 0)
173
- return;
174
- const e = De;
175
- do {
176
- try {
177
- for (; ye < _e.length; ) {
178
- const t = _e[ye];
179
- ye++, Ce(t), ii(t.$$);
180
- }
181
- } catch (t) {
182
- throw _e.length = 0, ye = 0, t;
183
- }
184
- for (Ce(null), _e.length = 0, ye = 0; at.length; )
185
- at.pop()();
186
- for (let t = 0; t < we.length; t += 1) {
187
- const r = we[t];
188
- et.has(r) || (et.add(r), r());
189
- }
190
- we.length = 0;
191
- } while (_e.length);
192
- for (; Ct.length; )
193
- Ct.pop()();
194
- ut = !1, et.clear(), Ce(e);
195
- }
196
- function ii(e) {
197
- if (e.fragment !== null) {
198
- e.update(), Ne(e.before_update);
199
- const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
201
- }
202
- }
203
- function ni(e) {
204
- const t = [], r = [];
205
- we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
206
- }
207
- const si = /* @__PURE__ */ new Set();
208
- function oi(e, t) {
209
- e && e.i && (si.delete(e), e.i(t));
210
- }
211
- function Dt(e) {
212
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
- }
214
- function ai(e, t, r) {
215
- const { fragment: i, after_update: n } = e.$$;
216
- i && i.m(t, r), lt(() => {
217
- const s = e.$$.on_mount.map(rr).filter(bt);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
219
- }), n.forEach(lt);
220
- }
221
- function ui(e, t) {
222
- const r = e.$$;
223
- r.fragment !== null && (ni(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
- }
225
- function li(e, t) {
226
- e.$$.dirty[0] === -1 && (_e.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
- }
228
- function hi(e, t, r, i, n, s, o = null, l = [-1]) {
229
- const a = De;
230
- Ce(e);
231
- const u = e.$$ = {
232
- fragment: null,
233
- ctx: [],
234
- // state
235
- props: s,
236
- update: te,
237
- not_equal: n,
238
- bound: $t(),
239
- // lifecycle
240
- on_mount: [],
241
- on_destroy: [],
242
- on_disconnect: [],
243
- before_update: [],
244
- after_update: [],
245
- context: new Map(t.context || (a ? a.$$.context : [])),
246
- // everything else
247
- callbacks: $t(),
248
- dirty: l,
249
- skip_bound: !1,
250
- root: t.target || a.$$.root
251
- };
252
- o && o(u.root);
253
- let h = !1;
254
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
255
- const S = x.length ? x[0] : p;
256
- return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && li(e, c)), p;
257
- }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
258
- if (t.hydrate) {
259
- const c = Zr(t.target);
260
- u.fragment && u.fragment.l(c), c.forEach(ee);
261
- } else
262
- u.fragment && u.fragment.c();
263
- t.intro && oi(e.$$.fragment), ai(e, t.target, t.anchor), Q();
264
- }
265
- Ce(a);
266
- }
267
- let sr;
268
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
269
- constructor(t, r, i) {
270
- super();
271
- /** The Svelte component constructor */
272
- J(this, "$$ctor");
273
- /** Slots */
274
- J(this, "$$s");
275
- /** The Svelte component instance */
276
- J(this, "$$c");
277
- /** Whether or not the custom element is connected */
278
- J(this, "$$cn", !1);
279
- /** Component props data */
280
- J(this, "$$d", {});
281
- /** `true` if currently in the process of reflecting component props back to attributes */
282
- J(this, "$$r", !1);
283
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
284
- J(this, "$$p_d", {});
285
- /** @type {Record<string, Function[]>} Event listeners */
286
- J(this, "$$l", {});
287
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
288
- J(this, "$$l_u", /* @__PURE__ */ new Map());
289
- this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
290
- }
291
- addEventListener(t, r, i) {
292
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
293
- const n = this.$$c.$on(t, r);
294
- this.$$l_u.set(r, n);
295
- }
296
- super.addEventListener(t, r, i);
297
- }
298
- removeEventListener(t, r, i) {
299
- if (super.removeEventListener(t, r, i), this.$$c) {
300
- const n = this.$$l_u.get(r);
301
- n && (n(), this.$$l_u.delete(r));
302
- }
303
- }
304
- connectedCallback() {
305
- return Bt(this, null, function* () {
306
- if (this.$$cn = !0, !this.$$c) {
307
- let t = function(s) {
308
- return () => {
309
- let o;
310
- return {
311
- c: function() {
312
- o = Y("slot"), s !== "default" && re(o, "name", s);
313
- },
314
- /**
315
- * @param {HTMLElement} target
316
- * @param {HTMLElement} [anchor]
317
- */
318
- m: function(u, h) {
319
- oe(u, o, h);
320
- },
321
- d: function(u) {
322
- u && ee(o);
323
- }
324
- };
325
- };
326
- };
327
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
- return;
329
- const r = {}, i = Qr(this);
330
- for (const s of this.$$s)
331
- s in i && (r[s] = [t(s)]);
332
- for (const s of this.attributes) {
333
- const o = this.$$g_p(s.name);
334
- o in this.$$d || (this.$$d[o] = je(o, s.value, this.$$p_d, "toProp"));
335
- }
336
- for (const s in this.$$p_d)
337
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
338
- this.$$c = new this.$$ctor({
339
- target: this.shadowRoot || this,
340
- props: At(Ot({}, this.$$d), {
341
- $$slots: r,
342
- $$scope: {
343
- ctx: []
344
- }
345
- })
346
- });
347
- const n = () => {
348
- this.$$r = !0;
349
- for (const s in this.$$p_d)
350
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
351
- const o = je(
352
- s,
353
- this.$$d[s],
354
- this.$$p_d,
355
- "toAttribute"
356
- );
357
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
358
- }
359
- this.$$r = !1;
360
- };
361
- this.$$c.$$.after_update.push(n), n();
362
- for (const s in this.$$l)
363
- for (const o of this.$$l[s]) {
364
- const l = this.$$c.$on(s, o);
365
- this.$$l_u.set(o, l);
366
- }
367
- this.$$l = {};
368
- }
369
- });
370
- }
371
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
372
- // and setting attributes through setAttribute etc, this is helpful
373
- attributeChangedCallback(t, r, i) {
374
- var n;
375
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = je(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
376
- }
377
- disconnectedCallback() {
378
- this.$$cn = !1, Promise.resolve().then(() => {
379
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
380
- });
381
- }
382
- $$g_p(t) {
383
- return Object.keys(this.$$p_d).find(
384
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
385
- ) || t;
386
- }
387
- });
388
- function je(e, t, r, i) {
389
- var s;
390
- const n = (s = r[e]) == null ? void 0 : s.type;
391
- if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
392
- return t;
393
- if (i === "toAttribute")
394
- switch (n) {
395
- case "Object":
396
- case "Array":
397
- return t == null ? null : JSON.stringify(t);
398
- case "Boolean":
399
- return t ? "" : null;
400
- case "Number":
401
- return t == null ? null : t;
402
- default:
403
- return t;
404
- }
405
- else
406
- switch (n) {
407
- case "Object":
408
- case "Array":
409
- return t && JSON.parse(t);
410
- case "Boolean":
411
- return t;
412
- case "Number":
413
- return t != null ? +t : t;
414
- default:
415
- return t;
416
- }
417
- }
418
- function fi(e, t, r, i, n, s) {
419
- let o = class extends sr {
420
- constructor() {
421
- super(e, r, n), this.$$p_d = t;
422
- }
423
- static get observedAttributes() {
424
- return Object.keys(t).map(
425
- (l) => (t[l].attribute || l).toLowerCase()
426
- );
427
- }
428
- };
429
- return Object.keys(t).forEach((l) => {
430
- Object.defineProperty(o.prototype, l, {
431
- get() {
432
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
433
- },
434
- set(a) {
435
- var u;
436
- a = je(l, a, t), this.$$d[l] = a, (u = this.$$c) == null || u.$set({ [l]: a });
437
- }
438
- });
439
- }), i.forEach((l) => {
440
- Object.defineProperty(o.prototype, l, {
441
- get() {
442
- var a;
443
- return (a = this.$$c) == null ? void 0 : a[l];
444
- }
445
- });
446
- }), e.element = /** @type {any} */
447
- o, o;
448
- }
449
- class ci {
450
- constructor() {
451
- /**
452
- * ### PRIVATE API
453
- *
454
- * Do not use, may change at any time
455
- *
456
- * @type {any}
457
- */
458
- J(this, "$$");
459
- /**
460
- * ### PRIVATE API
461
- *
462
- * Do not use, may change at any time
463
- *
464
- * @type {any}
465
- */
466
- J(this, "$$set");
467
- }
468
- /** @returns {void} */
469
- $destroy() {
470
- ui(this, 1), this.$destroy = te;
471
- }
472
- /**
473
- * @template {Extract<keyof Events, string>} K
474
- * @param {K} type
475
- * @param {((e: Events[K]) => void) | null | undefined} callback
476
- * @returns {() => void}
477
- */
478
- $on(t, r) {
479
- if (!bt(r))
480
- return te;
481
- const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
- return i.push(r), () => {
483
- const n = i.indexOf(r);
484
- n !== -1 && i.splice(n, 1);
485
- };
486
- }
487
- /**
488
- * @param {Partial<Props>} props
489
- * @returns {void}
490
- */
491
- $set(t) {
492
- this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
- }
494
- }
495
- const di = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
497
- const xe = [];
498
- function mi(e, t) {
1
+ import { n as ve, s as Rr, r as kr, a as Zt, i as Ur, S as Fr, b as Vr, f as re, c as Gr, d as $r, e as Q, g as ne, t as Ee, h as fe, j as ce, k as xt, o as jr, l as zr, m as Wr, p as Xr, q as Et, u as Be, v as qr, w as Yr, x as Re, y as ie, z as pt, A as Zr, B as Jr, C as Qr } from "./CashierModal-DoWhMWTf.js";
2
+ const ye = [];
3
+ function Kr(e, t) {
499
4
  return {
500
- subscribe: Re(e, t).subscribe
5
+ subscribe: De(e, t).subscribe
501
6
  };
502
7
  }
503
- function Re(e, t = te) {
8
+ function De(e, t = ve) {
504
9
  let r;
505
10
  const i = /* @__PURE__ */ new Set();
506
- function n(l) {
507
- if (ir(e, l) && (e = l, r)) {
508
- const a = !xe.length;
509
- for (const u of i)
510
- u[1](), xe.push(u, e);
511
- if (a) {
512
- for (let u = 0; u < xe.length; u += 2)
513
- xe[u][0](xe[u + 1]);
514
- xe.length = 0;
11
+ function n(a) {
12
+ if (Zt(e, a) && (e = a, r)) {
13
+ const u = !ye.length;
14
+ for (const l of i)
15
+ l[1](), ye.push(l, e);
16
+ if (u) {
17
+ for (let l = 0; l < ye.length; l += 2)
18
+ ye[l][0](ye[l + 1]);
19
+ ye.length = 0;
515
20
  }
516
21
  }
517
22
  }
518
- function s(l) {
519
- n(l(e));
23
+ function o(a) {
24
+ n(a(e));
520
25
  }
521
- function o(l, a = te) {
522
- const u = [l, a];
523
- return i.add(u), i.size === 1 && (r = t(n, s) || te), l(e), () => {
524
- i.delete(u), i.size === 0 && r && (r(), r = null);
26
+ function s(a, u = ve) {
27
+ const l = [a, u];
28
+ return i.add(l), i.size === 1 && (r = t(n, o) || ve), a(e), () => {
29
+ i.delete(l), i.size === 0 && r && (r(), r = null);
525
30
  };
526
31
  }
527
- return { set: n, update: s, subscribe: o };
32
+ return { set: n, update: o, subscribe: s };
528
33
  }
529
- function Ae(e, t, r) {
34
+ function Pe(e, t, r) {
530
35
  const i = !Array.isArray(e), n = i ? [e] : e;
531
36
  if (!n.every(Boolean))
532
37
  throw new Error("derived() expects stores as input, got a falsy value");
533
- const s = t.length < 2;
534
- return mi(r, (o, l) => {
535
- let a = !1;
536
- const u = [];
537
- let h = 0, c = te;
38
+ const o = t.length < 2;
39
+ return Kr(r, (s, a) => {
40
+ let u = !1;
41
+ const l = [];
42
+ let f = 0, g = ve;
538
43
  const p = () => {
539
- if (h)
44
+ if (f)
540
45
  return;
541
- c();
542
- const S = t(i ? u[0] : u, o, l);
543
- s ? o(S) : c = bt(S) ? S : te;
46
+ g();
47
+ const S = t(i ? l[0] : l, s, a);
48
+ o ? s(S) : g = Ur(S) ? S : ve;
544
49
  }, x = n.map(
545
- (S, v) => nr(
50
+ (S, d) => Rr(
546
51
  S,
547
- (M) => {
548
- u[v] = M, h &= ~(1 << v), a && p();
52
+ (C) => {
53
+ l[d] = C, f &= ~(1 << d), u && p();
549
54
  },
550
55
  () => {
551
- h |= 1 << v;
56
+ f |= 1 << d;
552
57
  }
553
58
  )
554
59
  );
555
- return a = !0, p(), function() {
556
- Ne(x), c(), a = !1;
60
+ return u = !0, p(), function() {
61
+ kr(x), g(), u = !1;
557
62
  };
558
63
  });
559
64
  }
560
- var or = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
- function _t(e) {
65
+ var Jt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
+ function mt(e) {
562
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
68
  }
564
- var pi = function(t) {
565
- return gi(t) && !vi(t);
69
+ var ei = function(t) {
70
+ return ti(t) && !ri(t);
566
71
  };
567
- function gi(e) {
72
+ function ti(e) {
568
73
  return !!e && typeof e == "object";
569
74
  }
570
- function vi(e) {
75
+ function ri(e) {
571
76
  var t = Object.prototype.toString.call(e);
572
- return t === "[object RegExp]" || t === "[object Date]" || xi(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
573
78
  }
574
- var bi = typeof Symbol == "function" && Symbol.for, yi = bi ? Symbol.for("react.element") : 60103;
575
- function xi(e) {
576
- return e.$$typeof === yi;
79
+ var ii = typeof Symbol == "function" && Symbol.for, ni = ii ? Symbol.for("react.element") : 60103;
80
+ function oi(e) {
81
+ return e.$$typeof === ni;
577
82
  }
578
- function _i(e) {
83
+ function si(e) {
579
84
  return Array.isArray(e) ? [] : {};
580
85
  }
581
- function Le(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? Te(_i(e), e, t) : e;
86
+ function Me(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? _e(si(e), e, t) : e;
583
88
  }
584
- function Ei(e, t, r) {
89
+ function ai(e, t, r) {
585
90
  return e.concat(t).map(function(i) {
586
- return Le(i, r);
91
+ return Me(i, r);
587
92
  });
588
93
  }
589
- function wi(e, t) {
94
+ function ui(e, t) {
590
95
  if (!t.customMerge)
591
- return Te;
96
+ return _e;
592
97
  var r = t.customMerge(e);
593
- return typeof r == "function" ? r : Te;
98
+ return typeof r == "function" ? r : _e;
594
99
  }
595
- function Si(e) {
100
+ function li(e) {
596
101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
597
102
  return Object.propertyIsEnumerable.call(e, t);
598
103
  }) : [];
599
104
  }
600
- function Lt(e) {
601
- return Object.keys(e).concat(Si(e));
105
+ function _t(e) {
106
+ return Object.keys(e).concat(li(e));
602
107
  }
603
- function ar(e, t) {
108
+ function Qt(e, t) {
604
109
  try {
605
110
  return t in e;
606
111
  } catch (r) {
607
112
  return !1;
608
113
  }
609
114
  }
610
- function Ti(e, t) {
611
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function hi(e, t) {
116
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
117
  }
613
- function Hi(e, t, r) {
118
+ function fi(e, t, r) {
614
119
  var i = {};
615
- return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
616
- i[n] = Le(e[n], r);
617
- }), Lt(t).forEach(function(n) {
618
- Ti(e, n) || (ar(e, n) && r.isMergeableObject(t[n]) ? i[n] = wi(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
120
+ return r.isMergeableObject(e) && _t(e).forEach(function(n) {
121
+ i[n] = Me(e[n], r);
122
+ }), _t(t).forEach(function(n) {
123
+ hi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Me(t[n], r));
619
124
  }), i;
620
125
  }
621
- function Te(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = Le;
623
- var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
624
- return s ? i ? r.arrayMerge(e, t, r) : Hi(e, t, r) : Le(t, r);
126
+ function _e(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Me;
128
+ var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
+ return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Me(t, r);
625
130
  }
626
- Te.all = function(t, r) {
131
+ _e.all = function(t, r) {
627
132
  if (!Array.isArray(t))
628
133
  throw new Error("first argument should be an array");
629
134
  return t.reduce(function(i, n) {
630
- return Te(i, n, r);
135
+ return _e(i, n, r);
631
136
  }, {});
632
137
  };
633
- var Pi = Te, Oi = Pi;
634
- const Ai = /* @__PURE__ */ _t(Oi);
138
+ var ci = _e, di = ci;
139
+ const pi = /* @__PURE__ */ mt(di);
635
140
  /*! *****************************************************************************
636
141
  Copyright (c) Microsoft Corporation.
637
142
 
@@ -646,18 +151,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
646
151
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
647
152
  PERFORMANCE OF THIS SOFTWARE.
648
153
  ***************************************************************************** */
649
- var ht = function(e, t) {
650
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
154
+ var rt = function(e, t) {
155
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
651
156
  r.__proto__ = i;
652
157
  } || function(r, i) {
653
158
  for (var n in i)
654
159
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
655
- }, ht(e, t);
160
+ }, rt(e, t);
656
161
  };
657
- function Ze(e, t) {
162
+ function se(e, t) {
658
163
  if (typeof t != "function" && t !== null)
659
164
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
660
- ht(e, t);
165
+ rt(e, t);
661
166
  function r() {
662
167
  this.constructor = e;
663
168
  }
@@ -667,13 +172,13 @@ var A = function() {
667
172
  return A = Object.assign || function(t) {
668
173
  for (var r, i = 1, n = arguments.length; i < n; i++) {
669
174
  r = arguments[i];
670
- for (var s in r)
671
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
175
+ for (var o in r)
176
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
672
177
  }
673
178
  return t;
674
179
  }, A.apply(this, arguments);
675
180
  };
676
- function Bi(e, t) {
181
+ function mi(e, t) {
677
182
  var r = {};
678
183
  for (var i in e)
679
184
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -682,7 +187,7 @@ function Bi(e, t) {
682
187
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
683
188
  return r;
684
189
  }
685
- function Es(e) {
190
+ function it(e) {
686
191
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
687
192
  if (r)
688
193
  return r.call(e);
@@ -694,131 +199,131 @@ function Es(e) {
694
199
  };
695
200
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
696
201
  }
697
- function ws(e, t) {
202
+ function nt(e, t) {
698
203
  var r = typeof Symbol == "function" && e[Symbol.iterator];
699
204
  if (!r)
700
205
  return e;
701
- var i = r.call(e), n, s = [], o;
206
+ var i = r.call(e), n, o = [], s;
702
207
  try {
703
208
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
704
- s.push(n.value);
705
- } catch (l) {
706
- o = { error: l };
209
+ o.push(n.value);
210
+ } catch (a) {
211
+ s = { error: a };
707
212
  } finally {
708
213
  try {
709
214
  n && !n.done && (r = i.return) && r.call(i);
710
215
  } finally {
711
- if (o)
712
- throw o.error;
216
+ if (s)
217
+ throw s.error;
713
218
  }
714
219
  }
715
- return s;
220
+ return o;
716
221
  }
717
- function tt(e, t, r) {
222
+ function xe(e, t, r) {
718
223
  if (r || arguments.length === 2)
719
- for (var i = 0, n = t.length, s; i < n; i++)
720
- (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
721
- return e.concat(s || t);
224
+ for (var i = 0, n = t.length, o; i < n; i++)
225
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
226
+ return e.concat(o || t);
722
227
  }
723
- function rt(e, t) {
724
- var r = t && t.cache ? t.cache : Ii, i = t && t.serializer ? t.serializer : Li, n = t && t.strategy ? t.strategy : Mi;
228
+ function Ye(e, t) {
229
+ var r = t && t.cache ? t.cache : Ei, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : gi;
725
230
  return n(e, {
726
231
  cache: r,
727
232
  serializer: i
728
233
  });
729
234
  }
730
- function $i(e) {
235
+ function vi(e) {
731
236
  return e == null || typeof e == "number" || typeof e == "boolean";
732
237
  }
733
- function ur(e, t, r, i) {
734
- var n = $i(i) ? i : r(i), s = t.get(n);
735
- return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
238
+ function Kt(e, t, r, i) {
239
+ var n = vi(i) ? i : r(i), o = t.get(n);
240
+ return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
736
241
  }
737
- function lr(e, t, r) {
738
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
739
- return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
242
+ function er(e, t, r) {
243
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
244
+ return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
740
245
  }
741
- function Et(e, t, r, i, n) {
246
+ function vt(e, t, r, i, n) {
742
247
  return r.bind(t, e, i, n);
743
248
  }
744
- function Mi(e, t) {
745
- var r = e.length === 1 ? ur : lr;
746
- return Et(e, this, r, t.cache.create(), t.serializer);
249
+ function gi(e, t) {
250
+ var r = e.length === 1 ? Kt : er;
251
+ return vt(e, this, r, t.cache.create(), t.serializer);
747
252
  }
748
- function Ci(e, t) {
749
- return Et(e, this, lr, t.cache.create(), t.serializer);
253
+ function bi(e, t) {
254
+ return vt(e, this, er, t.cache.create(), t.serializer);
750
255
  }
751
- function Di(e, t) {
752
- return Et(e, this, ur, t.cache.create(), t.serializer);
256
+ function yi(e, t) {
257
+ return vt(e, this, Kt, t.cache.create(), t.serializer);
753
258
  }
754
- var Li = function() {
259
+ var xi = function() {
755
260
  return JSON.stringify(arguments);
756
261
  };
757
- function wt() {
262
+ function gt() {
758
263
  this.cache = /* @__PURE__ */ Object.create(null);
759
264
  }
760
- wt.prototype.get = function(e) {
265
+ gt.prototype.get = function(e) {
761
266
  return this.cache[e];
762
267
  };
763
- wt.prototype.set = function(e, t) {
268
+ gt.prototype.set = function(e, t) {
764
269
  this.cache[e] = t;
765
270
  };
766
- var Ii = {
271
+ var Ei = {
767
272
  create: function() {
768
- return new wt();
273
+ return new gt();
769
274
  }
770
- }, it = {
771
- variadic: Ci,
772
- monadic: Di
275
+ }, Ze = {
276
+ variadic: bi,
277
+ monadic: yi
773
278
  }, T;
774
279
  (function(e) {
775
280
  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";
776
281
  })(T || (T = {}));
777
- var D;
282
+ var I;
778
283
  (function(e) {
779
284
  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";
780
- })(D || (D = {}));
781
- var He;
285
+ })(I || (I = {}));
286
+ var we;
782
287
  (function(e) {
783
288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
784
- })(He || (He = {}));
785
- function It(e) {
786
- return e.type === D.literal;
289
+ })(we || (we = {}));
290
+ function wt(e) {
291
+ return e.type === I.literal;
787
292
  }
788
- function Ni(e) {
789
- return e.type === D.argument;
293
+ function _i(e) {
294
+ return e.type === I.argument;
790
295
  }
791
- function hr(e) {
792
- return e.type === D.number;
296
+ function tr(e) {
297
+ return e.type === I.number;
793
298
  }
794
- function fr(e) {
795
- return e.type === D.date;
299
+ function rr(e) {
300
+ return e.type === I.date;
796
301
  }
797
- function cr(e) {
798
- return e.type === D.time;
302
+ function ir(e) {
303
+ return e.type === I.time;
799
304
  }
800
- function dr(e) {
801
- return e.type === D.select;
305
+ function nr(e) {
306
+ return e.type === I.select;
802
307
  }
803
- function mr(e) {
804
- return e.type === D.plural;
308
+ function or(e) {
309
+ return e.type === I.plural;
805
310
  }
806
- function Ri(e) {
807
- return e.type === D.pound;
311
+ function wi(e) {
312
+ return e.type === I.pound;
808
313
  }
809
- function pr(e) {
810
- return e.type === D.tag;
314
+ function sr(e) {
315
+ return e.type === I.tag;
811
316
  }
812
- function gr(e) {
813
- return !!(e && typeof e == "object" && e.type === He.number);
317
+ function ar(e) {
318
+ return !!(e && typeof e == "object" && e.type === we.number);
814
319
  }
815
- function ft(e) {
816
- return !!(e && typeof e == "object" && e.type === He.dateTime);
320
+ function ot(e) {
321
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
817
322
  }
818
- var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
819
- function Ui(e) {
323
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
324
+ function Ti(e) {
820
325
  var t = {};
821
- return e.replace(ki, function(r) {
326
+ return e.replace(Si, function(r) {
822
327
  var i = r.length;
823
328
  switch (r[0]) {
824
329
  case "G":
@@ -907,36 +412,36 @@ function Ui(e) {
907
412
  return "";
908
413
  }), t;
909
414
  }
910
- var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
911
- function Vi(e) {
415
+ var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
416
+ function Hi(e) {
912
417
  if (e.length === 0)
913
418
  throw new Error("Number skeleton cannot be empty");
914
- for (var t = e.split(Fi).filter(function(p) {
419
+ for (var t = e.split(Pi).filter(function(p) {
915
420
  return p.length > 0;
916
421
  }), r = [], i = 0, n = t; i < n.length; i++) {
917
- var s = n[i], o = s.split("/");
918
- if (o.length === 0)
422
+ var o = n[i], s = o.split("/");
423
+ if (s.length === 0)
919
424
  throw new Error("Invalid number skeleton");
920
- for (var l = o[0], a = o.slice(1), u = 0, h = a; u < h.length; u++) {
921
- var c = h[u];
922
- if (c.length === 0)
425
+ for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
426
+ var g = f[l];
427
+ if (g.length === 0)
923
428
  throw new Error("Invalid number skeleton");
924
429
  }
925
- r.push({ stem: l, options: a });
430
+ r.push({ stem: a, options: u });
926
431
  }
927
432
  return r;
928
433
  }
929
- function Gi(e) {
434
+ function Oi(e) {
930
435
  return e.replace(/^(.*?)-/, "");
931
436
  }
932
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ji = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
933
- function Rt(e) {
437
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
438
+ function Tt(e) {
934
439
  var t = {};
935
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, i, n) {
440
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
936
441
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
937
442
  }), t;
938
443
  }
939
- function xr(e) {
444
+ function fr(e) {
940
445
  switch (e) {
941
446
  case "sign-auto":
942
447
  return {
@@ -976,7 +481,7 @@ function xr(e) {
976
481
  };
977
482
  }
978
483
  }
979
- function zi(e) {
484
+ function Bi(e) {
980
485
  var t;
981
486
  if (e[0] === "E" && e[1] === "E" ? (t = {
982
487
  notation: "engineering"
@@ -984,17 +489,17 @@ function zi(e) {
984
489
  notation: "scientific"
985
490
  }, e = e.slice(1)), t) {
986
491
  var r = e.slice(0, 2);
987
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
492
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
988
493
  throw new Error("Malformed concise eng/scientific notation");
989
494
  t.minimumIntegerDigits = e.length;
990
495
  }
991
496
  return t;
992
497
  }
993
- function kt(e) {
994
- var t = {}, r = xr(e);
498
+ function Pt(e) {
499
+ var t = {}, r = fr(e);
995
500
  return r || t;
996
501
  }
997
- function Xi(e) {
502
+ function Mi(e) {
998
503
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
999
504
  var n = i[r];
1000
505
  switch (n.stem) {
@@ -1018,7 +523,7 @@ function Xi(e) {
1018
523
  continue;
1019
524
  case "measure-unit":
1020
525
  case "unit":
1021
- t.style = "unit", t.unit = Gi(n.options[0]);
526
+ t.style = "unit", t.unit = Oi(n.options[0]);
1022
527
  continue;
1023
528
  case "compact-short":
1024
529
  case "K":
@@ -1029,13 +534,13 @@ function Xi(e) {
1029
534
  t.notation = "compact", t.compactDisplay = "long";
1030
535
  continue;
1031
536
  case "scientific":
1032
- t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(a, u) {
1033
- return A(A({}, a), kt(u));
537
+ t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
538
+ return A(A({}, u), Pt(l));
1034
539
  }, {}));
1035
540
  continue;
1036
541
  case "engineering":
1037
- t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(a, u) {
1038
- return A(A({}, a), kt(u));
542
+ t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
543
+ return A(A({}, u), Pt(l));
1039
544
  }, {}));
1040
545
  continue;
1041
546
  case "notation-simple":
@@ -1080,11 +585,11 @@ function Xi(e) {
1080
585
  case "integer-width":
1081
586
  if (n.options.length > 1)
1082
587
  throw new RangeError("integer-width stems only accept a single optional option");
1083
- n.options[0].replace(ji, function(a, u, h, c, p, x) {
1084
- if (u)
1085
- t.minimumIntegerDigits = h.length;
588
+ n.options[0].replace(Ai, function(u, l, f, g, p, x) {
589
+ if (l)
590
+ t.minimumIntegerDigits = f.length;
1086
591
  else {
1087
- if (c && p)
592
+ if (g && p)
1088
593
  throw new Error("We currently do not support maximum integer digits");
1089
594
  if (x)
1090
595
  throw new Error("We currently do not support exact integer digits");
@@ -1093,32 +598,32 @@ function Xi(e) {
1093
598
  });
1094
599
  continue;
1095
600
  }
1096
- if (yr.test(n.stem)) {
601
+ if (hr.test(n.stem)) {
1097
602
  t.minimumIntegerDigits = n.stem.length;
1098
603
  continue;
1099
604
  }
1100
- if (Nt.test(n.stem)) {
605
+ if (St.test(n.stem)) {
1101
606
  if (n.options.length > 1)
1102
607
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1103
- n.stem.replace(Nt, function(a, u, h, c, p, x) {
1104
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
608
+ n.stem.replace(St, function(u, l, f, g, p, x) {
609
+ return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1105
610
  });
1106
- var s = n.options[0];
1107
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Rt(s)));
611
+ var o = n.options[0];
612
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Tt(o)));
1108
613
  continue;
1109
614
  }
1110
- if (br.test(n.stem)) {
1111
- t = A(A({}, t), Rt(n.stem));
615
+ if (lr.test(n.stem)) {
616
+ t = A(A({}, t), Tt(n.stem));
1112
617
  continue;
1113
618
  }
1114
- var o = xr(n.stem);
1115
- o && (t = A(A({}, t), o));
1116
- var l = zi(n.stem);
1117
- l && (t = A(A({}, t), l));
619
+ var s = fr(n.stem);
620
+ s && (t = A(A({}, t), s));
621
+ var a = Bi(n.stem);
622
+ a && (t = A(A({}, t), a));
1118
623
  }
1119
624
  return t;
1120
625
  }
1121
- var Ge = {
626
+ var ke = {
1122
627
  "001": [
1123
628
  "H",
1124
629
  "h"
@@ -2533,23 +2038,23 @@ var Ge = {
2533
2038
  "h"
2534
2039
  ]
2535
2040
  };
2536
- function Wi(e, t) {
2041
+ function Ci(e, t) {
2537
2042
  for (var r = "", i = 0; i < e.length; i++) {
2538
2043
  var n = e.charAt(i);
2539
2044
  if (n === "j") {
2540
- for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2541
- s++, i++;
2542
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), a = "a", u = qi(t);
2543
- for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2544
- r += a;
2545
- for (; o-- > 0; )
2546
- r = u + r;
2045
+ for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2046
+ o++, i++;
2047
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Di(t);
2048
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2049
+ r += u;
2050
+ for (; s-- > 0; )
2051
+ r = l + r;
2547
2052
  } else
2548
2053
  n === "J" ? r += "H" : r += n;
2549
2054
  }
2550
2055
  return r;
2551
2056
  }
2552
- function qi(e) {
2057
+ function Di(e) {
2553
2058
  var t = e.hourCycle;
2554
2059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2555
2060
  e.hourCycles && // @ts-ignore
@@ -2568,23 +2073,23 @@ function qi(e) {
2568
2073
  }
2569
2074
  var r = e.language, i;
2570
2075
  r !== "root" && (i = e.maximize().region);
2571
- var n = Ge[i || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2076
+ var n = ke[i || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2572
2077
  return n[0];
2573
2078
  }
2574
- var nt, Yi = new RegExp("^".concat(vr.source, "*")), Zi = new RegExp("".concat(vr.source, "*$"));
2575
- function P(e, t) {
2079
+ var Je, Ii = new RegExp("^".concat(ur.source, "*")), Li = new RegExp("".concat(ur.source, "*$"));
2080
+ function H(e, t) {
2576
2081
  return { start: e, end: t };
2577
2082
  }
2578
- var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qi = !!String.fromCodePoint, Ki = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2083
+ var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, ki = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, $i = Gi ? Number.isSafeInteger : function(e) {
2579
2084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2580
- }, ct = !0;
2085
+ }, st = !0;
2581
2086
  try {
2582
- var on = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2583
- ct = ((nt = on.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2087
+ var ji = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2088
+ st = ((Je = ji.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2584
2089
  } catch (e) {
2585
- ct = !1;
2090
+ st = !1;
2586
2091
  }
2587
- var Ut = Ji ? (
2092
+ var Ht = Ni ? (
2588
2093
  // Native
2589
2094
  function(t, r, i) {
2590
2095
  return t.startsWith(r, i);
@@ -2594,31 +2099,31 @@ var Ut = Ji ? (
2594
2099
  function(t, r, i) {
2595
2100
  return t.slice(i, i + r.length) === r;
2596
2101
  }
2597
- ), dt = Qi ? String.fromCodePoint : (
2102
+ ), at = Ri ? String.fromCodePoint : (
2598
2103
  // IE11
2599
2104
  function() {
2600
2105
  for (var t = [], r = 0; r < arguments.length; r++)
2601
2106
  t[r] = arguments[r];
2602
- for (var i = "", n = t.length, s = 0, o; n > s; ) {
2603
- if (o = t[s++], o > 1114111)
2604
- throw RangeError(o + " is not a valid code point");
2605
- i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2107
+ for (var i = "", n = t.length, o = 0, s; n > o; ) {
2108
+ if (s = t[o++], s > 1114111)
2109
+ throw RangeError(s + " is not a valid code point");
2110
+ i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2606
2111
  }
2607
2112
  return i;
2608
2113
  }
2609
- ), Ft = (
2114
+ ), Ot = (
2610
2115
  // native
2611
- Ki ? Object.fromEntries : (
2116
+ ki ? Object.fromEntries : (
2612
2117
  // Ponyfill
2613
2118
  function(t) {
2614
2119
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2615
- var s = n[i], o = s[0], l = s[1];
2616
- r[o] = l;
2120
+ var o = n[i], s = o[0], a = o[1];
2121
+ r[s] = a;
2617
2122
  }
2618
2123
  return r;
2619
2124
  }
2620
2125
  )
2621
- ), _r = en ? (
2126
+ ), cr = Ui ? (
2622
2127
  // Native
2623
2128
  function(t, r) {
2624
2129
  return t.codePointAt(r);
@@ -2628,11 +2133,11 @@ var Ut = Ji ? (
2628
2133
  function(t, r) {
2629
2134
  var i = t.length;
2630
2135
  if (!(r < 0 || r >= i)) {
2631
- var n = t.charCodeAt(r), s;
2632
- return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2136
+ var n = t.charCodeAt(r), o;
2137
+ return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2633
2138
  }
2634
2139
  }
2635
- ), an = tn ? (
2140
+ ), zi = Fi ? (
2636
2141
  // Native
2637
2142
  function(t) {
2638
2143
  return t.trimStart();
@@ -2640,9 +2145,9 @@ var Ut = Ji ? (
2640
2145
  ) : (
2641
2146
  // Ponyfill
2642
2147
  function(t) {
2643
- return t.replace(Yi, "");
2148
+ return t.replace(Ii, "");
2644
2149
  }
2645
- ), un = rn ? (
2150
+ ), Wi = Vi ? (
2646
2151
  // Native
2647
2152
  function(t) {
2648
2153
  return t.trimEnd();
@@ -2650,32 +2155,32 @@ var Ut = Ji ? (
2650
2155
  ) : (
2651
2156
  // Ponyfill
2652
2157
  function(t) {
2653
- return t.replace(Zi, "");
2158
+ return t.replace(Li, "");
2654
2159
  }
2655
2160
  );
2656
- function Er(e, t) {
2161
+ function dr(e, t) {
2657
2162
  return new RegExp(e, t);
2658
2163
  }
2659
- var mt;
2660
- if (ct) {
2661
- var Vt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2662
- mt = function(t, r) {
2164
+ var ut;
2165
+ if (st) {
2166
+ var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2167
+ ut = function(t, r) {
2663
2168
  var i;
2664
- Vt.lastIndex = r;
2665
- var n = Vt.exec(t);
2169
+ At.lastIndex = r;
2170
+ var n = At.exec(t);
2666
2171
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2667
2172
  };
2668
2173
  } else
2669
- mt = function(t, r) {
2174
+ ut = function(t, r) {
2670
2175
  for (var i = []; ; ) {
2671
- var n = _r(t, r);
2672
- if (n === void 0 || wr(n) || cn(n))
2176
+ var n = cr(t, r);
2177
+ if (n === void 0 || pr(n) || Zi(n))
2673
2178
  break;
2674
2179
  i.push(n), r += n >= 65536 ? 2 : 1;
2675
2180
  }
2676
- return dt.apply(void 0, i);
2181
+ return at.apply(void 0, i);
2677
2182
  };
2678
- var ln = (
2183
+ var Xi = (
2679
2184
  /** @class */
2680
2185
  function() {
2681
2186
  function e(t, r) {
@@ -2687,35 +2192,35 @@ var ln = (
2687
2192
  return this.parseMessage(0, "", !1);
2688
2193
  }, e.prototype.parseMessage = function(t, r, i) {
2689
2194
  for (var n = []; !this.isEOF(); ) {
2690
- var s = this.char();
2691
- if (s === 123) {
2692
- var o = this.parseArgument(t, i);
2693
- if (o.err)
2694
- return o;
2695
- n.push(o.val);
2195
+ var o = this.char();
2196
+ if (o === 123) {
2197
+ var s = this.parseArgument(t, i);
2198
+ if (s.err)
2199
+ return s;
2200
+ n.push(s.val);
2696
2201
  } else {
2697
- if (s === 125 && t > 0)
2202
+ if (o === 125 && t > 0)
2698
2203
  break;
2699
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2700
- var l = this.clonePosition();
2204
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2205
+ var a = this.clonePosition();
2701
2206
  this.bump(), n.push({
2702
- type: D.pound,
2703
- location: P(l, this.clonePosition())
2207
+ type: I.pound,
2208
+ location: H(a, this.clonePosition())
2704
2209
  });
2705
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2210
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2706
2211
  if (i)
2707
2212
  break;
2708
- return this.error(T.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2709
- } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2710
- var o = this.parseTag(t, r);
2711
- if (o.err)
2712
- return o;
2713
- n.push(o.val);
2213
+ return this.error(T.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2214
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2215
+ var s = this.parseTag(t, r);
2216
+ if (s.err)
2217
+ return s;
2218
+ n.push(s.val);
2714
2219
  } else {
2715
- var o = this.parseLiteral(t, r);
2716
- if (o.err)
2717
- return o;
2718
- n.push(o.val);
2220
+ var s = this.parseLiteral(t, r);
2221
+ if (s.err)
2222
+ return s;
2223
+ n.push(s.val);
2719
2224
  }
2720
2225
  }
2721
2226
  }
@@ -2727,66 +2232,66 @@ var ln = (
2727
2232
  if (this.bumpSpace(), this.bumpIf("/>"))
2728
2233
  return {
2729
2234
  val: {
2730
- type: D.literal,
2235
+ type: I.literal,
2731
2236
  value: "<".concat(n, "/>"),
2732
- location: P(i, this.clonePosition())
2237
+ location: H(i, this.clonePosition())
2733
2238
  },
2734
2239
  err: null
2735
2240
  };
2736
2241
  if (this.bumpIf(">")) {
2737
- var s = this.parseMessage(t + 1, r, !0);
2738
- if (s.err)
2739
- return s;
2740
- var o = s.val, l = this.clonePosition();
2242
+ var o = this.parseMessage(t + 1, r, !0);
2243
+ if (o.err)
2244
+ return o;
2245
+ var s = o.val, a = this.clonePosition();
2741
2246
  if (this.bumpIf("</")) {
2742
- if (this.isEOF() || !pt(this.char()))
2743
- return this.error(T.INVALID_TAG, P(l, this.clonePosition()));
2744
- var a = this.clonePosition(), u = this.parseTagName();
2745
- return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, P(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2247
+ if (this.isEOF() || !lt(this.char()))
2248
+ return this.error(T.INVALID_TAG, H(a, this.clonePosition()));
2249
+ var u = this.clonePosition(), l = this.parseTagName();
2250
+ return n !== l ? this.error(T.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2746
2251
  val: {
2747
- type: D.tag,
2252
+ type: I.tag,
2748
2253
  value: n,
2749
- children: o,
2750
- location: P(i, this.clonePosition())
2254
+ children: s,
2255
+ location: H(i, this.clonePosition())
2751
2256
  },
2752
2257
  err: null
2753
- } : this.error(T.INVALID_TAG, P(l, this.clonePosition())));
2258
+ } : this.error(T.INVALID_TAG, H(a, this.clonePosition())));
2754
2259
  } else
2755
- return this.error(T.UNCLOSED_TAG, P(i, this.clonePosition()));
2260
+ return this.error(T.UNCLOSED_TAG, H(i, this.clonePosition()));
2756
2261
  } else
2757
- return this.error(T.INVALID_TAG, P(i, this.clonePosition()));
2262
+ return this.error(T.INVALID_TAG, H(i, this.clonePosition()));
2758
2263
  }, e.prototype.parseTagName = function() {
2759
2264
  var t = this.offset();
2760
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2265
+ for (this.bump(); !this.isEOF() && Yi(this.char()); )
2761
2266
  this.bump();
2762
2267
  return this.message.slice(t, this.offset());
2763
2268
  }, e.prototype.parseLiteral = function(t, r) {
2764
2269
  for (var i = this.clonePosition(), n = ""; ; ) {
2765
- var s = this.tryParseQuote(r);
2766
- if (s) {
2767
- n += s;
2768
- continue;
2769
- }
2770
- var o = this.tryParseUnquoted(t, r);
2270
+ var o = this.tryParseQuote(r);
2771
2271
  if (o) {
2772
2272
  n += o;
2773
2273
  continue;
2774
2274
  }
2775
- var l = this.tryParseLeftAngleBracket();
2776
- if (l) {
2777
- n += l;
2275
+ var s = this.tryParseUnquoted(t, r);
2276
+ if (s) {
2277
+ n += s;
2278
+ continue;
2279
+ }
2280
+ var a = this.tryParseLeftAngleBracket();
2281
+ if (a) {
2282
+ n += a;
2778
2283
  continue;
2779
2284
  }
2780
2285
  break;
2781
2286
  }
2782
- var a = P(i, this.clonePosition());
2287
+ var u = H(i, this.clonePosition());
2783
2288
  return {
2784
- val: { type: D.literal, value: n, location: a },
2289
+ val: { type: I.literal, value: n, location: u },
2785
2290
  err: null
2786
2291
  };
2787
2292
  }, e.prototype.tryParseLeftAngleBracket = function() {
2788
2293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2789
- !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2294
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2790
2295
  }, e.prototype.tryParseQuote = function(t) {
2791
2296
  if (this.isEOF() || this.char() !== 39)
2792
2297
  return null;
@@ -2820,100 +2325,100 @@ var ln = (
2820
2325
  r.push(i);
2821
2326
  this.bump();
2822
2327
  }
2823
- return dt.apply(void 0, r);
2328
+ return at.apply(void 0, r);
2824
2329
  }, e.prototype.tryParseUnquoted = function(t, r) {
2825
2330
  if (this.isEOF())
2826
2331
  return null;
2827
2332
  var i = this.char();
2828
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2333
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2829
2334
  }, e.prototype.parseArgument = function(t, r) {
2830
2335
  var i = this.clonePosition();
2831
2336
  if (this.bump(), this.bumpSpace(), this.isEOF())
2832
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2337
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2833
2338
  if (this.char() === 125)
2834
- return this.bump(), this.error(T.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2339
+ return this.bump(), this.error(T.EMPTY_ARGUMENT, H(i, this.clonePosition()));
2835
2340
  var n = this.parseIdentifierIfPossible().value;
2836
2341
  if (!n)
2837
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2342
+ return this.error(T.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2838
2343
  if (this.bumpSpace(), this.isEOF())
2839
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2344
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2840
2345
  switch (this.char()) {
2841
2346
  case 125:
2842
2347
  return this.bump(), {
2843
2348
  val: {
2844
- type: D.argument,
2349
+ type: I.argument,
2845
2350
  // value does not include the opening and closing braces.
2846
2351
  value: n,
2847
- location: P(i, this.clonePosition())
2352
+ location: H(i, this.clonePosition())
2848
2353
  },
2849
2354
  err: null
2850
2355
  };
2851
2356
  case 44:
2852
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2357
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2853
2358
  default:
2854
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2359
+ return this.error(T.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2855
2360
  }
2856
2361
  }, e.prototype.parseIdentifierIfPossible = function() {
2857
- var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2362
+ var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2858
2363
  this.bumpTo(n);
2859
- var s = this.clonePosition(), o = P(t, s);
2860
- return { value: i, location: o };
2364
+ var o = this.clonePosition(), s = H(t, o);
2365
+ return { value: i, location: s };
2861
2366
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2862
- var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, a = this.clonePosition();
2863
- switch (l) {
2367
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2368
+ switch (a) {
2864
2369
  case "":
2865
- return this.error(T.EXPECT_ARGUMENT_TYPE, P(o, a));
2370
+ return this.error(T.EXPECT_ARGUMENT_TYPE, H(s, u));
2866
2371
  case "number":
2867
2372
  case "date":
2868
2373
  case "time": {
2869
2374
  this.bumpSpace();
2870
- var u = null;
2375
+ var l = null;
2871
2376
  if (this.bumpIf(",")) {
2872
2377
  this.bumpSpace();
2873
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2874
- if (c.err)
2875
- return c;
2876
- var p = un(c.val);
2378
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2379
+ if (g.err)
2380
+ return g;
2381
+ var p = Wi(g.val);
2877
2382
  if (p.length === 0)
2878
- return this.error(T.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2879
- var x = P(h, this.clonePosition());
2880
- u = { style: p, styleLocation: x };
2383
+ return this.error(T.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2384
+ var x = H(f, this.clonePosition());
2385
+ l = { style: p, styleLocation: x };
2881
2386
  }
2882
2387
  var S = this.tryParseArgumentClose(n);
2883
2388
  if (S.err)
2884
2389
  return S;
2885
- var v = P(n, this.clonePosition());
2886
- if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
2887
- var M = an(u.style.slice(2));
2888
- if (l === "number") {
2889
- var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2890
- return c.err ? c : {
2891
- val: { type: D.number, value: i, location: v, style: c.val },
2390
+ var d = H(n, this.clonePosition());
2391
+ if (l && Ht(l == null ? void 0 : l.style, "::", 0)) {
2392
+ var C = zi(l.style.slice(2));
2393
+ if (a === "number") {
2394
+ var g = this.parseNumberSkeletonFromString(C, l.styleLocation);
2395
+ return g.err ? g : {
2396
+ val: { type: I.number, value: i, location: d, style: g.val },
2892
2397
  err: null
2893
2398
  };
2894
2399
  } else {
2895
- if (M.length === 0)
2896
- return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2897
- var G = M;
2898
- this.locale && (G = Wi(M, this.locale));
2400
+ if (C.length === 0)
2401
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, d);
2402
+ var G = C;
2403
+ this.locale && (G = Ci(C, this.locale));
2899
2404
  var p = {
2900
- type: He.dateTime,
2405
+ type: we.dateTime,
2901
2406
  pattern: G,
2902
- location: u.styleLocation,
2903
- parsedOptions: this.shouldParseSkeletons ? Ui(G) : {}
2904
- }, R = l === "date" ? D.date : D.time;
2407
+ location: l.styleLocation,
2408
+ parsedOptions: this.shouldParseSkeletons ? Ti(G) : {}
2409
+ }, k = a === "date" ? I.date : I.time;
2905
2410
  return {
2906
- val: { type: R, value: i, location: v, style: p },
2411
+ val: { type: k, value: i, location: d, style: p },
2907
2412
  err: null
2908
2413
  };
2909
2414
  }
2910
2415
  }
2911
2416
  return {
2912
2417
  val: {
2913
- type: l === "number" ? D.number : l === "date" ? D.date : D.time,
2418
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2914
2419
  value: i,
2915
- location: v,
2916
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2420
+ location: d,
2421
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2917
2422
  },
2918
2423
  err: null
2919
2424
  };
@@ -2923,50 +2428,50 @@ var ln = (
2923
2428
  case "select": {
2924
2429
  var B = this.clonePosition();
2925
2430
  if (this.bumpSpace(), !this.bumpIf(","))
2926
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, P(B, A({}, B)));
2431
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, A({}, B)));
2927
2432
  this.bumpSpace();
2928
- var X = this.parseIdentifierIfPossible(), I = 0;
2929
- if (l !== "select" && X.value === "offset") {
2433
+ var W = this.parseIdentifierIfPossible(), R = 0;
2434
+ if (a !== "select" && W.value === "offset") {
2930
2435
  if (!this.bumpIf(":"))
2931
- return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2436
+ return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2932
2437
  this.bumpSpace();
2933
- var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2934
- if (c.err)
2935
- return c;
2936
- this.bumpSpace(), X = this.parseIdentifierIfPossible(), I = c.val;
2438
+ var g = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2439
+ if (g.err)
2440
+ return g;
2441
+ this.bumpSpace(), W = this.parseIdentifierIfPossible(), R = g.val;
2937
2442
  }
2938
- var F = this.tryParsePluralOrSelectOptions(t, l, r, X);
2939
- if (F.err)
2940
- return F;
2443
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, W);
2444
+ if (U.err)
2445
+ return U;
2941
2446
  var S = this.tryParseArgumentClose(n);
2942
2447
  if (S.err)
2943
2448
  return S;
2944
- var q = P(n, this.clonePosition());
2945
- return l === "select" ? {
2449
+ var q = H(n, this.clonePosition());
2450
+ return a === "select" ? {
2946
2451
  val: {
2947
- type: D.select,
2452
+ type: I.select,
2948
2453
  value: i,
2949
- options: Ft(F.val),
2454
+ options: Ot(U.val),
2950
2455
  location: q
2951
2456
  },
2952
2457
  err: null
2953
2458
  } : {
2954
2459
  val: {
2955
- type: D.plural,
2460
+ type: I.plural,
2956
2461
  value: i,
2957
- options: Ft(F.val),
2958
- offset: I,
2959
- pluralType: l === "plural" ? "cardinal" : "ordinal",
2462
+ options: Ot(U.val),
2463
+ offset: R,
2464
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2960
2465
  location: q
2961
2466
  },
2962
2467
  err: null
2963
2468
  };
2964
2469
  }
2965
2470
  default:
2966
- return this.error(T.INVALID_ARGUMENT_TYPE, P(o, a));
2471
+ return this.error(T.INVALID_ARGUMENT_TYPE, H(s, u));
2967
2472
  }
2968
2473
  }, e.prototype.tryParseArgumentClose = function(t) {
2969
- return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2474
+ return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2970
2475
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2971
2476
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2972
2477
  var i = this.char();
@@ -2975,7 +2480,7 @@ var ln = (
2975
2480
  this.bump();
2976
2481
  var n = this.clonePosition();
2977
2482
  if (!this.bumpUntil("'"))
2978
- return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2483
+ return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(n, this.clonePosition()));
2979
2484
  this.bump();
2980
2485
  break;
2981
2486
  }
@@ -3005,64 +2510,64 @@ var ln = (
3005
2510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3006
2511
  var i = [];
3007
2512
  try {
3008
- i = Vi(t);
2513
+ i = Hi(t);
3009
2514
  } catch (n) {
3010
2515
  return this.error(T.INVALID_NUMBER_SKELETON, r);
3011
2516
  }
3012
2517
  return {
3013
2518
  val: {
3014
- type: He.number,
2519
+ type: we.number,
3015
2520
  tokens: i,
3016
2521
  location: r,
3017
- parsedOptions: this.shouldParseSkeletons ? Xi(i) : {}
2522
+ parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
3018
2523
  },
3019
2524
  err: null
3020
2525
  };
3021
2526
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3022
- for (var s, o = !1, l = [], a = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3023
- if (u.length === 0) {
3024
- var c = this.clonePosition();
2527
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2528
+ if (l.length === 0) {
2529
+ var g = this.clonePosition();
3025
2530
  if (r !== "select" && this.bumpIf("=")) {
3026
2531
  var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3027
2532
  if (p.err)
3028
2533
  return p;
3029
- h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2534
+ f = H(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
3030
2535
  } else
3031
2536
  break;
3032
2537
  }
3033
- if (a.has(u))
3034
- return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3035
- u === "other" && (o = !0), this.bumpSpace();
2538
+ if (u.has(l))
2539
+ return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2540
+ l === "other" && (s = !0), this.bumpSpace();
3036
2541
  var x = this.clonePosition();
3037
2542
  if (!this.bumpIf("{"))
3038
- return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2543
+ return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3039
2544
  var S = this.parseMessage(t + 1, r, i);
3040
2545
  if (S.err)
3041
2546
  return S;
3042
- var v = this.tryParseArgumentClose(x);
3043
- if (v.err)
3044
- return v;
3045
- l.push([
3046
- u,
2547
+ var d = this.tryParseArgumentClose(x);
2548
+ if (d.err)
2549
+ return d;
2550
+ a.push([
2551
+ l,
3047
2552
  {
3048
2553
  value: S.val,
3049
- location: P(x, this.clonePosition())
2554
+ location: H(x, this.clonePosition())
3050
2555
  }
3051
- ]), a.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2556
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3052
2557
  }
3053
- return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
2558
+ return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(T.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3054
2559
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3055
2560
  var i = 1, n = this.clonePosition();
3056
2561
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3057
- for (var s = !1, o = 0; !this.isEOF(); ) {
3058
- var l = this.char();
3059
- if (l >= 48 && l <= 57)
3060
- s = !0, o = o * 10 + (l - 48), this.bump();
2562
+ for (var o = !1, s = 0; !this.isEOF(); ) {
2563
+ var a = this.char();
2564
+ if (a >= 48 && a <= 57)
2565
+ o = !0, s = s * 10 + (a - 48), this.bump();
3061
2566
  else
3062
2567
  break;
3063
2568
  }
3064
- var a = P(n, this.clonePosition());
3065
- return s ? (o *= i, sn(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
2569
+ var u = H(n, this.clonePosition());
2570
+ return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3066
2571
  }, e.prototype.offset = function() {
3067
2572
  return this.position.offset;
3068
2573
  }, e.prototype.isEOF = function() {
@@ -3077,7 +2582,7 @@ var ln = (
3077
2582
  var t = this.position.offset;
3078
2583
  if (t >= this.message.length)
3079
2584
  throw Error("out of bound");
3080
- var r = _r(this.message, t);
2585
+ var r = cr(this.message, t);
3081
2586
  if (r === void 0)
3082
2587
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3083
2588
  return r;
@@ -3096,7 +2601,7 @@ var ln = (
3096
2601
  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);
3097
2602
  }
3098
2603
  }, e.prototype.bumpIf = function(t) {
3099
- if (Ut(this.message, t, this.offset())) {
2604
+ if (Ht(this.message, t, this.offset())) {
3100
2605
  for (var r = 0; r < t.length; r++)
3101
2606
  this.bump();
3102
2607
  return !0;
@@ -3118,7 +2623,7 @@ var ln = (
3118
2623
  break;
3119
2624
  }
3120
2625
  }, e.prototype.bumpSpace = function() {
3121
- for (; !this.isEOF() && wr(this.char()); )
2626
+ for (; !this.isEOF() && pr(this.char()); )
3122
2627
  this.bump();
3123
2628
  }, e.prototype.peek = function() {
3124
2629
  if (this.isEOF())
@@ -3128,204 +2633,204 @@ var ln = (
3128
2633
  }, e;
3129
2634
  }()
3130
2635
  );
3131
- function pt(e) {
2636
+ function lt(e) {
3132
2637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3133
2638
  }
3134
- function hn(e) {
3135
- return pt(e) || e === 47;
2639
+ function qi(e) {
2640
+ return lt(e) || e === 47;
3136
2641
  }
3137
- function fn(e) {
2642
+ function Yi(e) {
3138
2643
  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;
3139
2644
  }
3140
- function wr(e) {
2645
+ function pr(e) {
3141
2646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3142
2647
  }
3143
- function cn(e) {
2648
+ function Zi(e) {
3144
2649
  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;
3145
2650
  }
3146
- function gt(e) {
2651
+ function ht(e) {
3147
2652
  e.forEach(function(t) {
3148
- if (delete t.location, dr(t) || mr(t))
2653
+ if (delete t.location, nr(t) || or(t))
3149
2654
  for (var r in t.options)
3150
- delete t.options[r].location, gt(t.options[r].value);
2655
+ delete t.options[r].location, ht(t.options[r].value);
3151
2656
  else
3152
- hr(t) && gr(t.style) || (fr(t) || cr(t)) && ft(t.style) ? delete t.style.location : pr(t) && gt(t.children);
2657
+ tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ht(t.children);
3153
2658
  });
3154
2659
  }
3155
- function dn(e, t) {
2660
+ function Ji(e, t) {
3156
2661
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3157
- var r = new ln(e, t).parse();
2662
+ var r = new Xi(e, t).parse();
3158
2663
  if (r.err) {
3159
2664
  var i = SyntaxError(T[r.err.kind]);
3160
2665
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3161
2666
  }
3162
- return t != null && t.captureLocation || gt(r.val), r.val;
2667
+ return t != null && t.captureLocation || ht(r.val), r.val;
3163
2668
  }
3164
- var Pe;
2669
+ var Se;
3165
2670
  (function(e) {
3166
2671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3167
- })(Pe || (Pe = {}));
3168
- var Je = (
2672
+ })(Se || (Se = {}));
2673
+ var We = (
3169
2674
  /** @class */
3170
2675
  function(e) {
3171
- Ze(t, e);
2676
+ se(t, e);
3172
2677
  function t(r, i, n) {
3173
- var s = e.call(this, r) || this;
3174
- return s.code = i, s.originalMessage = n, s;
2678
+ var o = e.call(this, r) || this;
2679
+ return o.code = i, o.originalMessage = n, o;
3175
2680
  }
3176
2681
  return t.prototype.toString = function() {
3177
2682
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3178
2683
  }, t;
3179
2684
  }(Error)
3180
- ), Gt = (
2685
+ ), Bt = (
3181
2686
  /** @class */
3182
2687
  function(e) {
3183
- Ze(t, e);
3184
- function t(r, i, n, s) {
3185
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, s) || this;
2688
+ se(t, e);
2689
+ function t(r, i, n, o) {
2690
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
3186
2691
  }
3187
2692
  return t;
3188
- }(Je)
3189
- ), mn = (
2693
+ }(We)
2694
+ ), Qi = (
3190
2695
  /** @class */
3191
2696
  function(e) {
3192
- Ze(t, e);
2697
+ se(t, e);
3193
2698
  function t(r, i, n) {
3194
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
2699
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
3195
2700
  }
3196
2701
  return t;
3197
- }(Je)
3198
- ), pn = (
2702
+ }(We)
2703
+ ), Ki = (
3199
2704
  /** @class */
3200
2705
  function(e) {
3201
- Ze(t, e);
2706
+ se(t, e);
3202
2707
  function t(r, i) {
3203
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
2708
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
3204
2709
  }
3205
2710
  return t;
3206
- }(Je)
2711
+ }(We)
3207
2712
  ), z;
3208
2713
  (function(e) {
3209
2714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3210
2715
  })(z || (z = {}));
3211
- function gn(e) {
2716
+ function en(e) {
3212
2717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3213
2718
  var i = t[t.length - 1];
3214
2719
  return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
3215
2720
  }, []);
3216
2721
  }
3217
- function vn(e) {
2722
+ function tn(e) {
3218
2723
  return typeof e == "function";
3219
2724
  }
3220
- function ze(e, t, r, i, n, s, o) {
3221
- if (e.length === 1 && It(e[0]))
2725
+ function Fe(e, t, r, i, n, o, s) {
2726
+ if (e.length === 1 && wt(e[0]))
3222
2727
  return [
3223
2728
  {
3224
2729
  type: z.literal,
3225
2730
  value: e[0].value
3226
2731
  }
3227
2732
  ];
3228
- for (var l = [], a = 0, u = e; a < u.length; a++) {
3229
- var h = u[a];
3230
- if (It(h)) {
3231
- l.push({
2733
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
2734
+ var f = l[u];
2735
+ if (wt(f)) {
2736
+ a.push({
3232
2737
  type: z.literal,
3233
- value: h.value
2738
+ value: f.value
3234
2739
  });
3235
2740
  continue;
3236
2741
  }
3237
- if (Ri(h)) {
3238
- typeof s == "number" && l.push({
2742
+ if (wi(f)) {
2743
+ typeof o == "number" && a.push({
3239
2744
  type: z.literal,
3240
- value: r.getNumberFormat(t).format(s)
2745
+ value: r.getNumberFormat(t).format(o)
3241
2746
  });
3242
2747
  continue;
3243
2748
  }
3244
- var c = h.value;
3245
- if (!(n && c in n))
3246
- throw new pn(c, o);
3247
- var p = n[c];
3248
- if (Ni(h)) {
3249
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
2749
+ var g = f.value;
2750
+ if (!(n && g in n))
2751
+ throw new Ki(g, s);
2752
+ var p = n[g];
2753
+ if (_i(f)) {
2754
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3250
2755
  type: typeof p == "string" ? z.literal : z.object,
3251
2756
  value: p
3252
2757
  });
3253
2758
  continue;
3254
2759
  }
3255
- if (fr(h)) {
3256
- var x = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3257
- l.push({
2760
+ if (rr(f)) {
2761
+ var x = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2762
+ a.push({
3258
2763
  type: z.literal,
3259
2764
  value: r.getDateTimeFormat(t, x).format(p)
3260
2765
  });
3261
2766
  continue;
3262
2767
  }
3263
- if (cr(h)) {
3264
- var x = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3265
- l.push({
2768
+ if (ir(f)) {
2769
+ var x = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2770
+ a.push({
3266
2771
  type: z.literal,
3267
2772
  value: r.getDateTimeFormat(t, x).format(p)
3268
2773
  });
3269
2774
  continue;
3270
2775
  }
3271
- if (hr(h)) {
3272
- var x = typeof h.style == "string" ? i.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3273
- x && x.scale && (p = p * (x.scale || 1)), l.push({
2776
+ if (tr(f)) {
2777
+ var x = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2778
+ x && x.scale && (p = p * (x.scale || 1)), a.push({
3274
2779
  type: z.literal,
3275
2780
  value: r.getNumberFormat(t, x).format(p)
3276
2781
  });
3277
2782
  continue;
3278
2783
  }
3279
- if (pr(h)) {
3280
- var S = h.children, v = h.value, M = n[v];
3281
- if (!vn(M))
3282
- throw new mn(v, "function", o);
3283
- var G = ze(S, t, r, i, n, s), R = M(G.map(function(I) {
3284
- return I.value;
2784
+ if (sr(f)) {
2785
+ var S = f.children, d = f.value, C = n[d];
2786
+ if (!tn(C))
2787
+ throw new Qi(d, "function", s);
2788
+ var G = Fe(S, t, r, i, n, o), k = C(G.map(function(R) {
2789
+ return R.value;
3285
2790
  }));
3286
- Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(I) {
2791
+ Array.isArray(k) || (k = [k]), a.push.apply(a, k.map(function(R) {
3287
2792
  return {
3288
- type: typeof I == "string" ? z.literal : z.object,
3289
- value: I
2793
+ type: typeof R == "string" ? z.literal : z.object,
2794
+ value: R
3290
2795
  };
3291
2796
  }));
3292
2797
  }
3293
- if (dr(h)) {
3294
- var B = h.options[p] || h.options.other;
2798
+ if (nr(f)) {
2799
+ var B = f.options[p] || f.options.other;
3295
2800
  if (!B)
3296
- throw new Gt(h.value, p, Object.keys(h.options), o);
3297
- l.push.apply(l, ze(B.value, t, r, i, n));
2801
+ throw new Bt(f.value, p, Object.keys(f.options), s);
2802
+ a.push.apply(a, Fe(B.value, t, r, i, n));
3298
2803
  continue;
3299
2804
  }
3300
- if (mr(h)) {
3301
- var B = h.options["=".concat(p)];
2805
+ if (or(f)) {
2806
+ var B = f.options["=".concat(p)];
3302
2807
  if (!B) {
3303
2808
  if (!Intl.PluralRules)
3304
- throw new Je(`Intl.PluralRules is not available in this environment.
2809
+ throw new We(`Intl.PluralRules is not available in this environment.
3305
2810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3306
- `, Pe.MISSING_INTL_API, o);
3307
- var X = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3308
- B = h.options[X] || h.options.other;
2811
+ `, Se.MISSING_INTL_API, s);
2812
+ var W = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2813
+ B = f.options[W] || f.options.other;
3309
2814
  }
3310
2815
  if (!B)
3311
- throw new Gt(h.value, p, Object.keys(h.options), o);
3312
- l.push.apply(l, ze(B.value, t, r, i, n, p - (h.offset || 0)));
2816
+ throw new Bt(f.value, p, Object.keys(f.options), s);
2817
+ a.push.apply(a, Fe(B.value, t, r, i, n, p - (f.offset || 0)));
3313
2818
  continue;
3314
2819
  }
3315
2820
  }
3316
- return gn(l);
2821
+ return en(a);
3317
2822
  }
3318
- function bn(e, t) {
2823
+ function rn(e, t) {
3319
2824
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3320
2825
  return r[i] = A(A({}, e[i]), t[i] || {}), r;
3321
2826
  }, {})) : e;
3322
2827
  }
3323
- function yn(e, t) {
2828
+ function nn(e, t) {
3324
2829
  return t ? Object.keys(e).reduce(function(r, i) {
3325
- return r[i] = bn(e[i], t[i]), r;
2830
+ return r[i] = rn(e[i], t[i]), r;
3326
2831
  }, A({}, e)) : e;
3327
2832
  }
3328
- function st(e) {
2833
+ function Qe(e) {
3329
2834
  return {
3330
2835
  create: function() {
3331
2836
  return {
@@ -3339,77 +2844,77 @@ function st(e) {
3339
2844
  }
3340
2845
  };
3341
2846
  }
3342
- function xn(e) {
2847
+ function on(e) {
3343
2848
  return e === void 0 && (e = {
3344
2849
  number: {},
3345
2850
  dateTime: {},
3346
2851
  pluralRules: {}
3347
2852
  }), {
3348
- getNumberFormat: rt(function() {
2853
+ getNumberFormat: Ye(function() {
3349
2854
  for (var t, r = [], i = 0; i < arguments.length; i++)
3350
2855
  r[i] = arguments[i];
3351
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
2856
+ return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3352
2857
  }, {
3353
- cache: st(e.number),
3354
- strategy: it.variadic
2858
+ cache: Qe(e.number),
2859
+ strategy: Ze.variadic
3355
2860
  }),
3356
- getDateTimeFormat: rt(function() {
2861
+ getDateTimeFormat: Ye(function() {
3357
2862
  for (var t, r = [], i = 0; i < arguments.length; i++)
3358
2863
  r[i] = arguments[i];
3359
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
2864
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3360
2865
  }, {
3361
- cache: st(e.dateTime),
3362
- strategy: it.variadic
2866
+ cache: Qe(e.dateTime),
2867
+ strategy: Ze.variadic
3363
2868
  }),
3364
- getPluralRules: rt(function() {
2869
+ getPluralRules: Ye(function() {
3365
2870
  for (var t, r = [], i = 0; i < arguments.length; i++)
3366
2871
  r[i] = arguments[i];
3367
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
2872
+ return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3368
2873
  }, {
3369
- cache: st(e.pluralRules),
3370
- strategy: it.variadic
2874
+ cache: Qe(e.pluralRules),
2875
+ strategy: Ze.variadic
3371
2876
  })
3372
2877
  };
3373
2878
  }
3374
- var Sr = (
2879
+ var mr = (
3375
2880
  /** @class */
3376
2881
  function() {
3377
2882
  function e(t, r, i, n) {
3378
2883
  r === void 0 && (r = e.defaultLocale);
3379
- var s = this;
2884
+ var o = this;
3380
2885
  if (this.formatterCache = {
3381
2886
  number: {},
3382
2887
  dateTime: {},
3383
2888
  pluralRules: {}
3384
- }, this.format = function(a) {
3385
- var u = s.formatToParts(a);
3386
- if (u.length === 1)
3387
- return u[0].value;
3388
- var h = u.reduce(function(c, p) {
3389
- return !c.length || p.type !== z.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
2889
+ }, this.format = function(u) {
2890
+ var l = o.formatToParts(u);
2891
+ if (l.length === 1)
2892
+ return l[0].value;
2893
+ var f = l.reduce(function(g, p) {
2894
+ return !g.length || p.type !== z.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
3390
2895
  }, []);
3391
- return h.length <= 1 ? h[0] || "" : h;
3392
- }, this.formatToParts = function(a) {
3393
- return ze(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
2896
+ return f.length <= 1 ? f[0] || "" : f;
2897
+ }, this.formatToParts = function(u) {
2898
+ return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3394
2899
  }, this.resolvedOptions = function() {
3395
- var a;
2900
+ var u;
3396
2901
  return {
3397
- locale: ((a = s.resolvedLocale) === null || a === void 0 ? void 0 : a.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
2902
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3398
2903
  };
3399
2904
  }, this.getAst = function() {
3400
- return s.ast;
2905
+ return o.ast;
3401
2906
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3402
2907
  if (this.message = t, !e.__parse)
3403
2908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3404
- var o = n || {};
3405
- o.formatters;
3406
- var l = Bi(o, ["formatters"]);
3407
- this.ast = e.__parse(t, A(A({}, l), { locale: this.resolvedLocale }));
2909
+ var s = n || {};
2910
+ s.formatters;
2911
+ var a = mi(s, ["formatters"]);
2912
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3408
2913
  } else
3409
2914
  this.ast = t;
3410
2915
  if (!Array.isArray(this.ast))
3411
2916
  throw new TypeError("A message must be provided as a String or AST.");
3412
- this.formats = yn(e.formats, i), this.formatters = n && n.formatters || xn(this.formatterCache);
2917
+ this.formats = nn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
3413
2918
  }
3414
2919
  return Object.defineProperty(e, "defaultLocale", {
3415
2920
  get: function() {
@@ -3422,7 +2927,7 @@ var Sr = (
3422
2927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3423
2928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3424
2929
  }
3425
- }, e.__parse = dn, e.formats = {
2930
+ }, e.__parse = Ji, e.formats = {
3426
2931
  number: {
3427
2932
  integer: {
3428
2933
  maximumFractionDigits: 0
@@ -3483,7 +2988,7 @@ var Sr = (
3483
2988
  }, e;
3484
2989
  }()
3485
2990
  );
3486
- function _n(e, t) {
2991
+ function sn(e, t) {
3487
2992
  if (t == null)
3488
2993
  return;
3489
2994
  if (t in e)
@@ -3493,9 +2998,9 @@ function _n(e, t) {
3493
2998
  for (let n = 0; n < r.length; n++)
3494
2999
  if (typeof i == "object") {
3495
3000
  if (n > 0) {
3496
- const s = r.slice(n, r.length).join(".");
3497
- if (s in i) {
3498
- i = i[s];
3001
+ const o = r.slice(n, r.length).join(".");
3002
+ if (o in i) {
3003
+ i = i[o];
3499
3004
  break;
3500
3005
  }
3501
3006
  }
@@ -3504,101 +3009,101 @@ function _n(e, t) {
3504
3009
  i = void 0;
3505
3010
  return i;
3506
3011
  }
3507
- const de = {}, En = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Tr = (e, t) => {
3012
+ const he = {}, an = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), vr = (e, t) => {
3508
3013
  if (t == null)
3509
3014
  return;
3510
- if (t in de && e in de[t])
3511
- return de[t][e];
3512
- const r = Ue(t);
3015
+ if (t in he && e in he[t])
3016
+ return he[t][e];
3017
+ const r = Le(t);
3513
3018
  for (let i = 0; i < r.length; i++) {
3514
- const n = r[i], s = Sn(n, e);
3515
- if (s)
3516
- return En(e, t, s);
3019
+ const n = r[i], o = ln(n, e);
3020
+ if (o)
3021
+ return an(e, t, o);
3517
3022
  }
3518
3023
  };
3519
- let St;
3520
- const ke = Re({});
3521
- function wn(e) {
3522
- return St[e] || null;
3024
+ let bt;
3025
+ const Ie = De({});
3026
+ function un(e) {
3027
+ return bt[e] || null;
3523
3028
  }
3524
- function Hr(e) {
3525
- return e in St;
3029
+ function gr(e) {
3030
+ return e in bt;
3526
3031
  }
3527
- function Sn(e, t) {
3528
- if (!Hr(e))
3032
+ function ln(e, t) {
3033
+ if (!gr(e))
3529
3034
  return null;
3530
- const r = wn(e);
3531
- return _n(r, t);
3035
+ const r = un(e);
3036
+ return sn(r, t);
3532
3037
  }
3533
- function Tn(e) {
3038
+ function hn(e) {
3534
3039
  if (e == null)
3535
3040
  return;
3536
- const t = Ue(e);
3041
+ const t = Le(e);
3537
3042
  for (let r = 0; r < t.length; r++) {
3538
3043
  const i = t[r];
3539
- if (Hr(i))
3044
+ if (gr(i))
3540
3045
  return i;
3541
3046
  }
3542
3047
  }
3543
- function Pr(e, ...t) {
3544
- delete de[e], ke.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3048
+ function br(e, ...t) {
3049
+ delete he[e], Ie.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3545
3050
  }
3546
- Ae(
3547
- [ke],
3051
+ Pe(
3052
+ [Ie],
3548
3053
  ([e]) => Object.keys(e)
3549
3054
  );
3550
- ke.subscribe((e) => St = e);
3551
- const Xe = {};
3552
- function Hn(e, t) {
3553
- Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3055
+ Ie.subscribe((e) => bt = e);
3056
+ const Ve = {};
3057
+ function fn(e, t) {
3058
+ Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3554
3059
  }
3555
- function Or(e) {
3556
- return Xe[e];
3060
+ function yr(e) {
3061
+ return Ve[e];
3557
3062
  }
3558
- function Pn(e) {
3559
- return Ue(e).map((t) => {
3560
- const r = Or(t);
3063
+ function cn(e) {
3064
+ return Le(e).map((t) => {
3065
+ const r = yr(t);
3561
3066
  return [t, r ? [...r] : []];
3562
3067
  }).filter(([, t]) => t.length > 0);
3563
3068
  }
3564
- function We(e) {
3565
- return e == null ? !1 : Ue(e).some(
3069
+ function $e(e) {
3070
+ return e == null ? !1 : Le(e).some(
3566
3071
  (t) => {
3567
3072
  var r;
3568
- return (r = Or(t)) == null ? void 0 : r.size;
3073
+ return (r = yr(t)) == null ? void 0 : r.size;
3569
3074
  }
3570
3075
  );
3571
3076
  }
3572
- function On(e, t) {
3077
+ function dn(e, t) {
3573
3078
  return Promise.all(
3574
- t.map((i) => (Hn(e, i), i().then((n) => n.default || n)))
3575
- ).then((i) => Pr(e, ...i));
3079
+ t.map((i) => (fn(e, i), i().then((n) => n.default || n)))
3080
+ ).then((i) => br(e, ...i));
3576
3081
  }
3577
- const $e = {};
3578
- function Ar(e) {
3579
- if (!We(e))
3580
- return e in $e ? $e[e] : Promise.resolve();
3581
- const t = Pn(e);
3582
- return $e[e] = Promise.all(
3082
+ const Oe = {};
3083
+ function xr(e) {
3084
+ if (!$e(e))
3085
+ return e in Oe ? Oe[e] : Promise.resolve();
3086
+ const t = cn(e);
3087
+ return Oe[e] = Promise.all(
3583
3088
  t.map(
3584
- ([r, i]) => On(r, i)
3089
+ ([r, i]) => dn(r, i)
3585
3090
  )
3586
3091
  ).then(() => {
3587
- if (We(e))
3588
- return Ar(e);
3589
- delete $e[e];
3590
- }), $e[e];
3092
+ if ($e(e))
3093
+ return xr(e);
3094
+ delete Oe[e];
3095
+ }), Oe[e];
3591
3096
  }
3592
- var jt = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, $n = (e, t) => {
3097
+ var Mt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, vn = (e, t) => {
3593
3098
  var r = {};
3594
3099
  for (var i in e)
3595
- An.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3596
- if (e != null && jt)
3597
- for (var i of jt(e))
3598
- t.indexOf(i) < 0 && Bn.call(e, i) && (r[i] = e[i]);
3100
+ pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3101
+ if (e != null && Mt)
3102
+ for (var i of Mt(e))
3103
+ t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3599
3104
  return r;
3600
3105
  };
3601
- const Mn = {
3106
+ const gn = {
3602
3107
  number: {
3603
3108
  scientific: { notation: "scientific" },
3604
3109
  engineering: { notation: "engineering" },
@@ -3628,204 +3133,204 @@ const Mn = {
3628
3133
  }
3629
3134
  }
3630
3135
  };
3631
- function Cn({ locale: e, id: t }) {
3136
+ function bn({ locale: e, id: t }) {
3632
3137
  console.warn(
3633
- `[svelte-i18n] The message "${t}" was not found in "${Ue(
3138
+ `[svelte-i18n] The message "${t}" was not found in "${Le(
3634
3139
  e
3635
- ).join('", "')}".${We(me()) ? `
3140
+ ).join('", "')}".${$e(de()) ? `
3636
3141
 
3637
3142
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3638
3143
  );
3639
3144
  }
3640
- const Dn = {
3145
+ const yn = {
3641
3146
  fallbackLocale: null,
3642
3147
  loadingDelay: 200,
3643
- formats: Mn,
3148
+ formats: gn,
3644
3149
  warnOnMissingMessages: !0,
3645
3150
  handleMissingMessage: void 0,
3646
3151
  ignoreTag: !0
3647
- }, Me = Dn;
3648
- function Oe() {
3649
- return Me;
3152
+ }, Ae = yn;
3153
+ function Te() {
3154
+ return Ae;
3650
3155
  }
3651
- function Ln(e) {
3652
- const t = e, { formats: r } = t, i = $n(t, ["formats"]);
3156
+ function xn(e) {
3157
+ const t = e, { formats: r } = t, i = vn(t, ["formats"]);
3653
3158
  let n = e.fallbackLocale;
3654
3159
  if (e.initialLocale)
3655
3160
  try {
3656
- Sr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3657
- } catch (s) {
3161
+ mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3162
+ } catch (o) {
3658
3163
  console.warn(
3659
3164
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3660
3165
  );
3661
3166
  }
3662
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Cn : console.warn(
3167
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3663
3168
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3664
- )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), ve.set(n);
3169
+ )), Object.assign(Ae, i, { initialLocale: n }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), ge.set(n);
3665
3170
  }
3666
- const ot = Re(!1);
3667
- var In = Object.defineProperty, Nn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3171
+ const Ke = De(!1);
3172
+ var En = Object.defineProperty, _n = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3668
3173
  for (var r in t || (t = {}))
3669
- kn.call(t, r) && Xt(e, r, t[r]);
3670
- if (zt)
3671
- for (var r of zt(t))
3672
- Un.call(t, r) && Xt(e, r, t[r]);
3174
+ Sn.call(t, r) && Dt(e, r, t[r]);
3175
+ if (Ct)
3176
+ for (var r of Ct(t))
3177
+ Tn.call(t, r) && Dt(e, r, t[r]);
3673
3178
  return e;
3674
- }, Vn = (e, t) => Nn(e, Rn(t));
3675
- let vt;
3676
- const qe = Re(null);
3677
- function Wt(e) {
3179
+ }, Hn = (e, t) => _n(e, wn(t));
3180
+ let ft;
3181
+ const je = De(null);
3182
+ function It(e) {
3678
3183
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3679
3184
  }
3680
- function Ue(e, t = Oe().fallbackLocale) {
3681
- const r = Wt(e);
3682
- return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3185
+ function Le(e, t = Te().fallbackLocale) {
3186
+ const r = It(e);
3187
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3683
3188
  }
3684
- function me() {
3685
- return vt != null ? vt : void 0;
3189
+ function de() {
3190
+ return ft != null ? ft : void 0;
3686
3191
  }
3687
- qe.subscribe((e) => {
3688
- vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3192
+ je.subscribe((e) => {
3193
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3689
3194
  });
3690
- const Gn = (e) => {
3691
- if (e && Tn(e) && We(e)) {
3692
- const { loadingDelay: t } = Oe();
3195
+ const On = (e) => {
3196
+ if (e && hn(e) && $e(e)) {
3197
+ const { loadingDelay: t } = Te();
3693
3198
  let r;
3694
- return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
3695
- () => ot.set(!0),
3199
+ return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3200
+ () => Ke.set(!0),
3696
3201
  t
3697
- ) : ot.set(!0), Ar(e).then(() => {
3698
- qe.set(e);
3202
+ ) : Ke.set(!0), xr(e).then(() => {
3203
+ je.set(e);
3699
3204
  }).finally(() => {
3700
- clearTimeout(r), ot.set(!1);
3205
+ clearTimeout(r), Ke.set(!1);
3701
3206
  });
3702
3207
  }
3703
- return qe.set(e);
3704
- }, ve = Vn(Fn({}, qe), {
3705
- set: Gn
3706
- }), Qe = (e) => {
3208
+ return je.set(e);
3209
+ }, ge = Hn(Pn({}, je), {
3210
+ set: On
3211
+ }), Xe = (e) => {
3707
3212
  const t = /* @__PURE__ */ Object.create(null);
3708
3213
  return (i) => {
3709
3214
  const n = JSON.stringify(i);
3710
3215
  return n in t ? t[n] : t[n] = e(i);
3711
3216
  };
3712
3217
  };
3713
- var jn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3218
+ var An = Object.defineProperty, ze = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
3714
3219
  for (var r in t || (t = {}))
3715
- Br.call(t, r) && qt(e, r, t[r]);
3716
- if (Ye)
3717
- for (var r of Ye(t))
3718
- $r.call(t, r) && qt(e, r, t[r]);
3220
+ Er.call(t, r) && Lt(e, r, t[r]);
3221
+ if (ze)
3222
+ for (var r of ze(t))
3223
+ _r.call(t, r) && Lt(e, r, t[r]);
3719
3224
  return e;
3720
- }, Be = (e, t) => {
3225
+ }, He = (e, t) => {
3721
3226
  var r = {};
3722
3227
  for (var i in e)
3723
- Br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3724
- if (e != null && Ye)
3725
- for (var i of Ye(e))
3726
- t.indexOf(i) < 0 && $r.call(e, i) && (r[i] = e[i]);
3228
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3229
+ if (e != null && ze)
3230
+ for (var i of ze(e))
3231
+ t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3727
3232
  return r;
3728
3233
  };
3729
- const Ie = (e, t) => {
3730
- const { formats: r } = Oe();
3234
+ const Ce = (e, t) => {
3235
+ const { formats: r } = Te();
3731
3236
  if (e in r && t in r[e])
3732
3237
  return r[e][t];
3733
3238
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3734
- }, zn = Qe(
3239
+ }, Bn = Xe(
3735
3240
  (e) => {
3736
- var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3241
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3737
3242
  if (r == null)
3738
3243
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3739
- return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3244
+ return i && (n = Ce("number", i)), new Intl.NumberFormat(r, n);
3740
3245
  }
3741
- ), Xn = Qe(
3246
+ ), Mn = Xe(
3742
3247
  (e) => {
3743
- var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3248
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3744
3249
  if (r == null)
3745
3250
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3746
- return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3251
+ return i ? n = Ce("date", i) : Object.keys(n).length === 0 && (n = Ce("date", "short")), new Intl.DateTimeFormat(r, n);
3747
3252
  }
3748
- ), Wn = Qe(
3253
+ ), Cn = Xe(
3749
3254
  (e) => {
3750
- var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3255
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3751
3256
  if (r == null)
3752
3257
  throw new Error(
3753
3258
  '[svelte-i18n] A "locale" must be set to format time values'
3754
3259
  );
3755
- return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3260
+ return i ? n = Ce("time", i) : Object.keys(n).length === 0 && (n = Ce("time", "short")), new Intl.DateTimeFormat(r, n);
3756
3261
  }
3757
- ), qn = (e = {}) => {
3262
+ ), Dn = (e = {}) => {
3758
3263
  var t = e, {
3759
- locale: r = me()
3760
- } = t, i = Be(t, [
3264
+ locale: r = de()
3265
+ } = t, i = He(t, [
3761
3266
  "locale"
3762
3267
  ]);
3763
- return zn(Tt({ locale: r }, i));
3764
- }, Yn = (e = {}) => {
3268
+ return Bn(yt({ locale: r }, i));
3269
+ }, In = (e = {}) => {
3765
3270
  var t = e, {
3766
- locale: r = me()
3767
- } = t, i = Be(t, [
3271
+ locale: r = de()
3272
+ } = t, i = He(t, [
3768
3273
  "locale"
3769
3274
  ]);
3770
- return Xn(Tt({ locale: r }, i));
3771
- }, Zn = (e = {}) => {
3275
+ return Mn(yt({ locale: r }, i));
3276
+ }, Ln = (e = {}) => {
3772
3277
  var t = e, {
3773
- locale: r = me()
3774
- } = t, i = Be(t, [
3278
+ locale: r = de()
3279
+ } = t, i = He(t, [
3775
3280
  "locale"
3776
3281
  ]);
3777
- return Wn(Tt({ locale: r }, i));
3778
- }, Jn = Qe(
3282
+ return Cn(yt({ locale: r }, i));
3283
+ }, Nn = Xe(
3779
3284
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3780
- (e, t = me()) => new Sr(e, t, Oe().formats, {
3781
- ignoreTag: Oe().ignoreTag
3285
+ (e, t = de()) => new mr(e, t, Te().formats, {
3286
+ ignoreTag: Te().ignoreTag
3782
3287
  })
3783
- ), Qn = (e, t = {}) => {
3784
- var r, i, n, s;
3785
- let o = t;
3786
- typeof e == "object" && (o = e, e = o.id);
3288
+ ), Rn = (e, t = {}) => {
3289
+ var r, i, n, o;
3290
+ let s = t;
3291
+ typeof e == "object" && (s = e, e = s.id);
3787
3292
  const {
3788
- values: l,
3789
- locale: a = me(),
3790
- default: u
3791
- } = o;
3792
- if (a == null)
3293
+ values: a,
3294
+ locale: u = de(),
3295
+ default: l
3296
+ } = s;
3297
+ if (u == null)
3793
3298
  throw new Error(
3794
3299
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3795
3300
  );
3796
- let h = Tr(e, a);
3797
- if (!h)
3798
- h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3799
- else if (typeof h != "string")
3301
+ let f = vr(e, u);
3302
+ if (!f)
3303
+ f = (o = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3304
+ else if (typeof f != "string")
3800
3305
  return console.warn(
3801
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3802
- ), h;
3803
- if (!l)
3804
- return h;
3805
- let c = h;
3306
+ `[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.`
3307
+ ), f;
3308
+ if (!a)
3309
+ return f;
3310
+ let g = f;
3806
3311
  try {
3807
- c = Jn(h, a).format(l);
3312
+ g = Nn(f, u).format(a);
3808
3313
  } catch (p) {
3809
3314
  p instanceof Error && console.warn(
3810
3315
  `[svelte-i18n] Message "${e}" has syntax error:`,
3811
3316
  p.message
3812
3317
  );
3813
3318
  }
3814
- return c;
3815
- }, Kn = (e, t) => Zn(t).format(e), es = (e, t) => Yn(t).format(e), ts = (e, t) => qn(t).format(e), rs = (e, t = me()) => Tr(e, t), is = Ae([ve, ke], () => Qn);
3816
- Ae([ve], () => Kn);
3817
- Ae([ve], () => es);
3818
- Ae([ve], () => ts);
3819
- Ae([ve, ke], () => rs);
3820
- function Yt(e, t) {
3821
- Pr(e, t);
3822
- }
3823
- function ns(e) {
3824
- Ln({
3319
+ return g;
3320
+ }, kn = (e, t) => Ln(t).format(e), Un = (e, t) => In(t).format(e), Fn = (e, t) => Dn(t).format(e), Vn = (e, t = de()) => vr(e, t), Gn = Pe([ge, Ie], () => Rn);
3321
+ Pe([ge], () => kn);
3322
+ Pe([ge], () => Un);
3323
+ Pe([ge], () => Fn);
3324
+ Pe([ge, Ie], () => Vn);
3325
+ function Nt(e, t) {
3326
+ br(e, t);
3327
+ }
3328
+ function $n(e) {
3329
+ xn({
3825
3330
  fallbackLocale: "en"
3826
- }), ve.set(e);
3331
+ }), ge.set(e);
3827
3332
  }
3828
- const Zt = {
3333
+ const Rt = {
3829
3334
  en: {
3830
3335
  "verification.video.how-to": "How to verify yourself",
3831
3336
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3881,6 +3386,480 @@ const Zt = {
3881
3386
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3882
3387
  }
3883
3388
  };
3389
+ let jn = De(null);
3390
+ function oe(e) {
3391
+ return typeof e == "function";
3392
+ }
3393
+ function wr(e) {
3394
+ var t = function(i) {
3395
+ Error.call(i), i.stack = new Error().stack;
3396
+ }, r = e(t);
3397
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3398
+ }
3399
+ var et = wr(function(e) {
3400
+ return function(r) {
3401
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3402
+ ` + r.map(function(i, n) {
3403
+ return n + 1 + ") " + i.toString();
3404
+ }).join(`
3405
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
3406
+ };
3407
+ });
3408
+ function ct(e, t) {
3409
+ if (e) {
3410
+ var r = e.indexOf(t);
3411
+ 0 <= r && e.splice(r, 1);
3412
+ }
3413
+ }
3414
+ var qe = function() {
3415
+ function e(t) {
3416
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3417
+ }
3418
+ return e.prototype.unsubscribe = function() {
3419
+ var t, r, i, n, o;
3420
+ if (!this.closed) {
3421
+ this.closed = !0;
3422
+ var s = this._parentage;
3423
+ if (s)
3424
+ if (this._parentage = null, Array.isArray(s))
3425
+ try {
3426
+ for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
3427
+ var l = u.value;
3428
+ l.remove(this);
3429
+ }
3430
+ } catch (d) {
3431
+ t = { error: d };
3432
+ } finally {
3433
+ try {
3434
+ u && !u.done && (r = a.return) && r.call(a);
3435
+ } finally {
3436
+ if (t)
3437
+ throw t.error;
3438
+ }
3439
+ }
3440
+ else
3441
+ s.remove(this);
3442
+ var f = this.initialTeardown;
3443
+ if (oe(f))
3444
+ try {
3445
+ f();
3446
+ } catch (d) {
3447
+ o = d instanceof et ? d.errors : [d];
3448
+ }
3449
+ var g = this._finalizers;
3450
+ if (g) {
3451
+ this._finalizers = null;
3452
+ try {
3453
+ for (var p = it(g), x = p.next(); !x.done; x = p.next()) {
3454
+ var S = x.value;
3455
+ try {
3456
+ kt(S);
3457
+ } catch (d) {
3458
+ o = o != null ? o : [], d instanceof et ? o = xe(xe([], nt(o)), nt(d.errors)) : o.push(d);
3459
+ }
3460
+ }
3461
+ } catch (d) {
3462
+ i = { error: d };
3463
+ } finally {
3464
+ try {
3465
+ x && !x.done && (n = p.return) && n.call(p);
3466
+ } finally {
3467
+ if (i)
3468
+ throw i.error;
3469
+ }
3470
+ }
3471
+ }
3472
+ if (o)
3473
+ throw new et(o);
3474
+ }
3475
+ }, e.prototype.add = function(t) {
3476
+ var r;
3477
+ if (t && t !== this)
3478
+ if (this.closed)
3479
+ kt(t);
3480
+ else {
3481
+ if (t instanceof e) {
3482
+ if (t.closed || t._hasParent(this))
3483
+ return;
3484
+ t._addParent(this);
3485
+ }
3486
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3487
+ }
3488
+ }, e.prototype._hasParent = function(t) {
3489
+ var r = this._parentage;
3490
+ return r === t || Array.isArray(r) && r.includes(t);
3491
+ }, e.prototype._addParent = function(t) {
3492
+ var r = this._parentage;
3493
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3494
+ }, e.prototype._removeParent = function(t) {
3495
+ var r = this._parentage;
3496
+ r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3497
+ }, e.prototype.remove = function(t) {
3498
+ var r = this._finalizers;
3499
+ r && ct(r, t), t instanceof e && t._removeParent(this);
3500
+ }, e.EMPTY = function() {
3501
+ var t = new e();
3502
+ return t.closed = !0, t;
3503
+ }(), e;
3504
+ }(), Sr = qe.EMPTY;
3505
+ function Tr(e) {
3506
+ return e instanceof qe || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3507
+ }
3508
+ function kt(e) {
3509
+ oe(e) ? e() : e.unsubscribe();
3510
+ }
3511
+ var Pr = {
3512
+ onUnhandledError: null,
3513
+ onStoppedNotification: null,
3514
+ Promise: void 0,
3515
+ useDeprecatedSynchronousErrorHandling: !1,
3516
+ useDeprecatedNextContext: !1
3517
+ }, zn = {
3518
+ setTimeout: function(e, t) {
3519
+ for (var r = [], i = 2; i < arguments.length; i++)
3520
+ r[i - 2] = arguments[i];
3521
+ return setTimeout.apply(void 0, xe([e, t], nt(r)));
3522
+ },
3523
+ clearTimeout: function(e) {
3524
+ return clearTimeout(e);
3525
+ },
3526
+ delegate: void 0
3527
+ };
3528
+ function Wn(e) {
3529
+ zn.setTimeout(function() {
3530
+ throw e;
3531
+ });
3532
+ }
3533
+ function Ut() {
3534
+ }
3535
+ function Ge(e) {
3536
+ e();
3537
+ }
3538
+ var Hr = function(e) {
3539
+ se(t, e);
3540
+ function t(r) {
3541
+ var i = e.call(this) || this;
3542
+ return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Zn, i;
3543
+ }
3544
+ return t.create = function(r, i, n) {
3545
+ return new dt(r, i, n);
3546
+ }, t.prototype.next = function(r) {
3547
+ this.isStopped || this._next(r);
3548
+ }, t.prototype.error = function(r) {
3549
+ this.isStopped || (this.isStopped = !0, this._error(r));
3550
+ }, t.prototype.complete = function() {
3551
+ this.isStopped || (this.isStopped = !0, this._complete());
3552
+ }, t.prototype.unsubscribe = function() {
3553
+ this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
3554
+ }, t.prototype._next = function(r) {
3555
+ this.destination.next(r);
3556
+ }, t.prototype._error = function(r) {
3557
+ try {
3558
+ this.destination.error(r);
3559
+ } finally {
3560
+ this.unsubscribe();
3561
+ }
3562
+ }, t.prototype._complete = function() {
3563
+ try {
3564
+ this.destination.complete();
3565
+ } finally {
3566
+ this.unsubscribe();
3567
+ }
3568
+ }, t;
3569
+ }(qe), Xn = Function.prototype.bind;
3570
+ function tt(e, t) {
3571
+ return Xn.call(e, t);
3572
+ }
3573
+ var qn = function() {
3574
+ function e(t) {
3575
+ this.partialObserver = t;
3576
+ }
3577
+ return e.prototype.next = function(t) {
3578
+ var r = this.partialObserver;
3579
+ if (r.next)
3580
+ try {
3581
+ r.next(t);
3582
+ } catch (i) {
3583
+ Ue(i);
3584
+ }
3585
+ }, e.prototype.error = function(t) {
3586
+ var r = this.partialObserver;
3587
+ if (r.error)
3588
+ try {
3589
+ r.error(t);
3590
+ } catch (i) {
3591
+ Ue(i);
3592
+ }
3593
+ else
3594
+ Ue(t);
3595
+ }, e.prototype.complete = function() {
3596
+ var t = this.partialObserver;
3597
+ if (t.complete)
3598
+ try {
3599
+ t.complete();
3600
+ } catch (r) {
3601
+ Ue(r);
3602
+ }
3603
+ }, e;
3604
+ }(), dt = function(e) {
3605
+ se(t, e);
3606
+ function t(r, i, n) {
3607
+ var o = e.call(this) || this, s;
3608
+ if (oe(r) || !r)
3609
+ s = {
3610
+ next: r != null ? r : void 0,
3611
+ error: i != null ? i : void 0,
3612
+ complete: n != null ? n : void 0
3613
+ };
3614
+ else {
3615
+ var a;
3616
+ o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
3617
+ return o.unsubscribe();
3618
+ }, s = {
3619
+ next: r.next && tt(r.next, a),
3620
+ error: r.error && tt(r.error, a),
3621
+ complete: r.complete && tt(r.complete, a)
3622
+ }) : s = r;
3623
+ }
3624
+ return o.destination = new qn(s), o;
3625
+ }
3626
+ return t;
3627
+ }(Hr);
3628
+ function Ue(e) {
3629
+ Wn(e);
3630
+ }
3631
+ function Yn(e) {
3632
+ throw e;
3633
+ }
3634
+ var Zn = {
3635
+ closed: !0,
3636
+ next: Ut,
3637
+ error: Yn,
3638
+ complete: Ut
3639
+ }, Jn = function() {
3640
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
3641
+ }();
3642
+ function Qn(e) {
3643
+ return e;
3644
+ }
3645
+ function Kn(e) {
3646
+ return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
3647
+ return e.reduce(function(i, n) {
3648
+ return n(i);
3649
+ }, r);
3650
+ };
3651
+ }
3652
+ var Ft = function() {
3653
+ function e(t) {
3654
+ t && (this._subscribe = t);
3655
+ }
3656
+ return e.prototype.lift = function(t) {
3657
+ var r = new e();
3658
+ return r.source = this, r.operator = t, r;
3659
+ }, e.prototype.subscribe = function(t, r, i) {
3660
+ var n = this, o = to(t) ? t : new dt(t, r, i);
3661
+ return Ge(function() {
3662
+ var s = n, a = s.operator, u = s.source;
3663
+ o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
3664
+ }), o;
3665
+ }, e.prototype._trySubscribe = function(t) {
3666
+ try {
3667
+ return this._subscribe(t);
3668
+ } catch (r) {
3669
+ t.error(r);
3670
+ }
3671
+ }, e.prototype.forEach = function(t, r) {
3672
+ var i = this;
3673
+ return r = Vt(r), new r(function(n, o) {
3674
+ var s = new dt({
3675
+ next: function(a) {
3676
+ try {
3677
+ t(a);
3678
+ } catch (u) {
3679
+ o(u), s.unsubscribe();
3680
+ }
3681
+ },
3682
+ error: o,
3683
+ complete: n
3684
+ });
3685
+ i.subscribe(s);
3686
+ });
3687
+ }, e.prototype._subscribe = function(t) {
3688
+ var r;
3689
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3690
+ }, e.prototype[Jn] = function() {
3691
+ return this;
3692
+ }, e.prototype.pipe = function() {
3693
+ for (var t = [], r = 0; r < arguments.length; r++)
3694
+ t[r] = arguments[r];
3695
+ return Kn(t)(this);
3696
+ }, e.prototype.toPromise = function(t) {
3697
+ var r = this;
3698
+ return t = Vt(t), new t(function(i, n) {
3699
+ var o;
3700
+ r.subscribe(function(s) {
3701
+ return o = s;
3702
+ }, function(s) {
3703
+ return n(s);
3704
+ }, function() {
3705
+ return i(o);
3706
+ });
3707
+ });
3708
+ }, e.create = function(t) {
3709
+ return new e(t);
3710
+ }, e;
3711
+ }();
3712
+ function Vt(e) {
3713
+ var t;
3714
+ return (t = e != null ? e : Pr.Promise) !== null && t !== void 0 ? t : Promise;
3715
+ }
3716
+ function eo(e) {
3717
+ return e && oe(e.next) && oe(e.error) && oe(e.complete);
3718
+ }
3719
+ function to(e) {
3720
+ return e && e instanceof Hr || eo(e) && Tr(e);
3721
+ }
3722
+ var ro = wr(function(e) {
3723
+ return function() {
3724
+ e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3725
+ };
3726
+ }), Or = function(e) {
3727
+ se(t, e);
3728
+ function t() {
3729
+ var r = e.call(this) || this;
3730
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3731
+ }
3732
+ return t.prototype.lift = function(r) {
3733
+ var i = new Gt(this, this);
3734
+ return i.operator = r, i;
3735
+ }, t.prototype._throwIfClosed = function() {
3736
+ if (this.closed)
3737
+ throw new ro();
3738
+ }, t.prototype.next = function(r) {
3739
+ var i = this;
3740
+ Ge(function() {
3741
+ var n, o;
3742
+ if (i._throwIfClosed(), !i.isStopped) {
3743
+ i.currentObservers || (i.currentObservers = Array.from(i.observers));
3744
+ try {
3745
+ for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3746
+ var u = a.value;
3747
+ u.next(r);
3748
+ }
3749
+ } catch (l) {
3750
+ n = { error: l };
3751
+ } finally {
3752
+ try {
3753
+ a && !a.done && (o = s.return) && o.call(s);
3754
+ } finally {
3755
+ if (n)
3756
+ throw n.error;
3757
+ }
3758
+ }
3759
+ }
3760
+ });
3761
+ }, t.prototype.error = function(r) {
3762
+ var i = this;
3763
+ Ge(function() {
3764
+ if (i._throwIfClosed(), !i.isStopped) {
3765
+ i.hasError = i.isStopped = !0, i.thrownError = r;
3766
+ for (var n = i.observers; n.length; )
3767
+ n.shift().error(r);
3768
+ }
3769
+ });
3770
+ }, t.prototype.complete = function() {
3771
+ var r = this;
3772
+ Ge(function() {
3773
+ if (r._throwIfClosed(), !r.isStopped) {
3774
+ r.isStopped = !0;
3775
+ for (var i = r.observers; i.length; )
3776
+ i.shift().complete();
3777
+ }
3778
+ });
3779
+ }, t.prototype.unsubscribe = function() {
3780
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
3781
+ }, Object.defineProperty(t.prototype, "observed", {
3782
+ get: function() {
3783
+ var r;
3784
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
3785
+ },
3786
+ enumerable: !1,
3787
+ configurable: !0
3788
+ }), t.prototype._trySubscribe = function(r) {
3789
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
3790
+ }, t.prototype._subscribe = function(r) {
3791
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3792
+ }, t.prototype._innerSubscribe = function(r) {
3793
+ var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3794
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new qe(function() {
3795
+ i.currentObservers = null, ct(a, r);
3796
+ }));
3797
+ }, t.prototype._checkFinalizedStatuses = function(r) {
3798
+ var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3799
+ n ? r.error(o) : s && r.complete();
3800
+ }, t.prototype.asObservable = function() {
3801
+ var r = new Ft();
3802
+ return r.source = this, r;
3803
+ }, t.create = function(r, i) {
3804
+ return new Gt(r, i);
3805
+ }, t;
3806
+ }(Ft), Gt = function(e) {
3807
+ se(t, e);
3808
+ function t(r, i) {
3809
+ var n = e.call(this) || this;
3810
+ return n.destination = r, n.source = i, n;
3811
+ }
3812
+ return t.prototype.next = function(r) {
3813
+ var i, n;
3814
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, r);
3815
+ }, t.prototype.error = function(r) {
3816
+ var i, n;
3817
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, r);
3818
+ }, t.prototype.complete = function() {
3819
+ var r, i;
3820
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3821
+ }, t.prototype._subscribe = function(r) {
3822
+ var i, n;
3823
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3824
+ }, t;
3825
+ }(Or), Ar = {
3826
+ now: function() {
3827
+ return (Ar.delegate || Date).now();
3828
+ },
3829
+ delegate: void 0
3830
+ }, io = function(e) {
3831
+ se(t, e);
3832
+ function t(r, i, n) {
3833
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Ar);
3834
+ var o = e.call(this) || this;
3835
+ return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
3836
+ }
3837
+ return t.prototype.next = function(r) {
3838
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
3839
+ n || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
3840
+ }, t.prototype._subscribe = function(r) {
3841
+ this._throwIfClosed(), this._trimBuffer();
3842
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
3843
+ r.next(a[u]);
3844
+ return this._checkFinalizedStatuses(r), i;
3845
+ }, t.prototype._trimBuffer = function() {
3846
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3847
+ if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3848
+ for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3849
+ l = f;
3850
+ l && o.splice(0, l + 1);
3851
+ }
3852
+ }, t;
3853
+ }(Or);
3854
+ const $t = [], jt = {}, no = (e, t = 0) => {
3855
+ if ($t.indexOf(e) == -1) {
3856
+ const r = new io(t);
3857
+ jt[e] = r, $t.push(e);
3858
+ }
3859
+ return jt[e];
3860
+ };
3861
+ window.emWidgets = { topic: no };
3862
+ const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
3884
3863
  if (typeof window != "undefined") {
3885
3864
  let e = function(t) {
3886
3865
  return function(...r) {
@@ -3893,95 +3872,71 @@ if (typeof window != "undefined") {
3893
3872
  }
3894
3873
  };
3895
3874
  };
3896
- customElements.define = e(customElements.define), import("./CashierVideoModal-CHv6Z0oF.js").then(({ default: t }) => {
3897
- !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3875
+ customElements.define = e(customElements.define), import("./CashierModal-DoWhMWTf.js").then((t) => t.D).then(({ default: t }) => {
3876
+ !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3898
3877
  });
3899
3878
  }
3900
- let ss = Re(null);
3901
- function os(e, t) {
3902
- if (e) {
3903
- const r = document.createElement("style");
3904
- r.innerHTML = t, e.appendChild(r);
3905
- }
3906
- }
3907
- function as(e, t) {
3908
- const r = new URL(t);
3909
- fetch(r.href).then((i) => i.text()).then((i) => {
3910
- const n = document.createElement("style");
3911
- n.innerHTML = i, e && e.appendChild(n);
3912
- }).catch((i) => {
3913
- console.error("There was an error while trying to load client styling from URL", i);
3914
- });
3915
- }
3916
- function us(e, t, r) {
3917
- if (window.emMessageBus) {
3918
- const i = document.createElement("style");
3919
- window.emMessageBus.subscribe(t, (n) => {
3920
- i.innerHTML = n, e && e.appendChild(i);
3921
- });
3922
- }
3923
- }
3924
- var Mr = { exports: {} };
3879
+ var Br = { exports: {} };
3925
3880
  (function(e, t) {
3926
3881
  (function(r, i) {
3927
3882
  e.exports = i();
3928
- })(or, function() {
3929
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", l = "minute", a = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "year", S = "date", v = "Invalid Date", M = /^(\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, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3930
- var g = ["th", "st", "nd", "rd"], d = _ % 100;
3931
- return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3932
- } }, B = function(_, g, d) {
3933
- var b = String(_);
3934
- return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3935
- }, X = { s: B, z: function(_) {
3936
- var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3937
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3938
- }, m: function _(g, d) {
3939
- if (g.date() < d.date())
3940
- return -_(d, g);
3941
- var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3942
- return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3943
- }, a: function(_) {
3944
- return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3945
- }, p: function(_) {
3946
- return { M: c, y: x, w: h, d: u, D: S, h: a, m: l, s: o, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3947
- }, u: function(_) {
3948
- return _ === void 0;
3949
- } }, I = "en", F = {};
3950
- F[I] = R;
3951
- var q = "$isDayjsObject", ae = function(_) {
3952
- return _ instanceof k || !(!_ || !_[q]);
3953
- }, Z = function _(g, d, b) {
3883
+ })(Jt, function() {
3884
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", g = "month", p = "quarter", x = "year", S = "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, k = { 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(E) {
3885
+ var v = ["th", "st", "nd", "rd"], c = E % 100;
3886
+ return "[" + E + (v[(c - 20) % 10] || v[c] || v[0]) + "]";
3887
+ } }, B = function(E, v, c) {
3888
+ var b = String(E);
3889
+ return !b || b.length >= v ? E : "" + Array(v + 1 - b.length).join(c) + E;
3890
+ }, W = { s: B, z: function(E) {
3891
+ var v = -E.utcOffset(), c = Math.abs(v), b = Math.floor(c / 60), m = c % 60;
3892
+ return (v <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3893
+ }, m: function E(v, c) {
3894
+ if (v.date() < c.date())
3895
+ return -E(c, v);
3896
+ var b = 12 * (c.year() - v.year()) + (c.month() - v.month()), m = v.clone().add(b, g), _ = c - m < 0, w = v.clone().add(b + (_ ? -1 : 1), g);
3897
+ return +(-(b + (c - m) / (_ ? m - w : w - m)) || 0);
3898
+ }, a: function(E) {
3899
+ return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
3900
+ }, p: function(E) {
3901
+ return { M: g, y: x, w: f, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3902
+ }, u: function(E) {
3903
+ return E === void 0;
3904
+ } }, R = "en", U = {};
3905
+ U[R] = k;
3906
+ var q = "$isDayjsObject", K = function(E) {
3907
+ return E instanceof F || !(!E || !E[q]);
3908
+ }, Y = function E(v, c, b) {
3954
3909
  var m;
3955
- if (!g)
3956
- return I;
3957
- if (typeof g == "string") {
3958
- var E = g.toLowerCase();
3959
- F[E] && (m = E), d && (F[E] = d, m = E);
3960
- var w = g.split("-");
3910
+ if (!v)
3911
+ return R;
3912
+ if (typeof v == "string") {
3913
+ var _ = v.toLowerCase();
3914
+ U[_] && (m = _), c && (U[_] = c, m = _);
3915
+ var w = v.split("-");
3961
3916
  if (!m && w.length > 1)
3962
- return _(w[0]);
3917
+ return E(w[0]);
3963
3918
  } else {
3964
- var $ = g.name;
3965
- F[$] = g, m = $;
3919
+ var M = v.name;
3920
+ U[M] = v, m = M;
3966
3921
  }
3967
- return !b && m && (I = m), m || !b && I;
3968
- }, C = function(_, g) {
3969
- if (ae(_))
3970
- return _.clone();
3971
- var d = typeof g == "object" ? g : {};
3972
- return d.date = _, d.args = arguments, new k(d);
3973
- }, O = X;
3974
- O.l = Z, O.i = ae, O.w = function(_, g) {
3975
- return C(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3922
+ return !b && m && (R = m), m || !b && R;
3923
+ }, D = function(E, v) {
3924
+ if (K(E))
3925
+ return E.clone();
3926
+ var c = typeof v == "object" ? v : {};
3927
+ return c.date = E, c.args = arguments, new F(c);
3928
+ }, O = W;
3929
+ O.l = Y, O.i = K, O.w = function(E, v) {
3930
+ return D(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3976
3931
  };
3977
- var k = function() {
3978
- function _(d) {
3979
- this.$L = Z(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
3932
+ var F = function() {
3933
+ function E(c) {
3934
+ this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[q] = !0;
3980
3935
  }
3981
- var g = _.prototype;
3982
- return g.parse = function(d) {
3936
+ var v = E.prototype;
3937
+ return v.parse = function(c) {
3983
3938
  this.$d = function(b) {
3984
- var m = b.date, E = b.utc;
3939
+ var m = b.date, _ = b.utc;
3985
3940
  if (m === null)
3986
3941
  return /* @__PURE__ */ new Date(NaN);
3987
3942
  if (O.u(m))
@@ -3989,109 +3944,109 @@ var Mr = { exports: {} };
3989
3944
  if (m instanceof Date)
3990
3945
  return new Date(m);
3991
3946
  if (typeof m == "string" && !/Z$/i.test(m)) {
3992
- var w = m.match(M);
3947
+ var w = m.match(C);
3993
3948
  if (w) {
3994
- var $ = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3995
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3949
+ var M = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3950
+ return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3996
3951
  }
3997
3952
  }
3998
3953
  return new Date(m);
3999
- }(d), this.init();
4000
- }, g.init = function() {
4001
- var d = this.$d;
4002
- this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
4003
- }, g.$utils = function() {
3954
+ }(c), this.init();
3955
+ }, v.init = function() {
3956
+ var c = this.$d;
3957
+ this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3958
+ }, v.$utils = function() {
4004
3959
  return O;
4005
- }, g.isValid = function() {
4006
- return this.$d.toString() !== v;
4007
- }, g.isSame = function(d, b) {
4008
- var m = C(d);
3960
+ }, v.isValid = function() {
3961
+ return this.$d.toString() !== d;
3962
+ }, v.isSame = function(c, b) {
3963
+ var m = D(c);
4009
3964
  return this.startOf(b) <= m && m <= this.endOf(b);
4010
- }, g.isAfter = function(d, b) {
4011
- return C(d) < this.startOf(b);
4012
- }, g.isBefore = function(d, b) {
4013
- return this.endOf(b) < C(d);
4014
- }, g.$g = function(d, b, m) {
4015
- return O.u(d) ? this[b] : this.set(m, d);
4016
- }, g.unix = function() {
3965
+ }, v.isAfter = function(c, b) {
3966
+ return D(c) < this.startOf(b);
3967
+ }, v.isBefore = function(c, b) {
3968
+ return this.endOf(b) < D(c);
3969
+ }, v.$g = function(c, b, m) {
3970
+ return O.u(c) ? this[b] : this.set(m, c);
3971
+ }, v.unix = function() {
4017
3972
  return Math.floor(this.valueOf() / 1e3);
4018
- }, g.valueOf = function() {
3973
+ }, v.valueOf = function() {
4019
3974
  return this.$d.getTime();
4020
- }, g.startOf = function(d, b) {
4021
- var m = this, E = !!O.u(b) || b, w = O.p(d), $ = function(ue, j) {
4022
- var ne = O.w(m.$u ? Date.UTC(m.$y, j, ue) : new Date(m.$y, j, ue), m);
4023
- return E ? ne : ne.endOf(u);
4024
- }, L = function(ue, j) {
4025
- return O.w(m.toDate()[ue].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
4026
- }, N = this.$W, V = this.$M, W = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3975
+ }, v.startOf = function(c, b) {
3976
+ var m = this, _ = !!O.u(b) || b, w = O.p(c), M = function(ee, j) {
3977
+ var J = O.w(m.$u ? Date.UTC(m.$y, j, ee) : new Date(m.$y, j, ee), m);
3978
+ return _ ? J : J.endOf(l);
3979
+ }, L = function(ee, j) {
3980
+ return O.w(m.toDate()[ee].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
3981
+ }, N = this.$W, $ = this.$M, X = this.$D, ue = "set" + (this.$u ? "UTC" : "");
4027
3982
  switch (w) {
4028
3983
  case x:
4029
- return E ? $(1, 0) : $(31, 11);
4030
- case c:
4031
- return E ? $(1, V) : $(0, V + 1);
4032
- case h:
4033
- var ie = this.$locale().weekStart || 0, pe = (N < ie ? N + 7 : N) - ie;
4034
- return $(E ? W - pe : W + (6 - pe), V);
4035
- case u:
3984
+ return _ ? M(1, 0) : M(31, 11);
3985
+ case g:
3986
+ return _ ? M(1, $) : M(0, $ + 1);
3987
+ case f:
3988
+ var Z = this.$locale().weekStart || 0, pe = (N < Z ? N + 7 : N) - Z;
3989
+ return M(_ ? X - pe : X + (6 - pe), $);
3990
+ case l:
4036
3991
  case S:
4037
- return L(fe + "Hours", 0);
3992
+ return L(ue + "Hours", 0);
3993
+ case u:
3994
+ return L(ue + "Minutes", 1);
4038
3995
  case a:
4039
- return L(fe + "Minutes", 1);
4040
- case l:
4041
- return L(fe + "Seconds", 2);
4042
- case o:
4043
- return L(fe + "Milliseconds", 3);
3996
+ return L(ue + "Seconds", 2);
3997
+ case s:
3998
+ return L(ue + "Milliseconds", 3);
4044
3999
  default:
4045
4000
  return this.clone();
4046
4001
  }
4047
- }, g.endOf = function(d) {
4048
- return this.startOf(d, !1);
4049
- }, g.$set = function(d, b) {
4050
- var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[x] = w + "FullYear", m[a] = w + "Hours", m[l] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === u ? this.$D + (b - this.$W) : b;
4051
- if (E === c || E === x) {
4002
+ }, v.endOf = function(c) {
4003
+ return this.startOf(c, !1);
4004
+ }, v.$set = function(c, b) {
4005
+ var m, _ = O.p(c), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[g] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], L = _ === l ? this.$D + (b - this.$W) : b;
4006
+ if (_ === g || _ === x) {
4052
4007
  var N = this.clone().set(S, 1);
4053
- N.$d[$](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4008
+ N.$d[M](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4054
4009
  } else
4055
- $ && this.$d[$](L);
4010
+ M && this.$d[M](L);
4056
4011
  return this.init(), this;
4057
- }, g.set = function(d, b) {
4058
- return this.clone().$set(d, b);
4059
- }, g.get = function(d) {
4060
- return this[O.p(d)]();
4061
- }, g.add = function(d, b) {
4062
- var m, E = this;
4063
- d = Number(d);
4064
- var w = O.p(b), $ = function(V) {
4065
- var W = C(E);
4066
- return O.w(W.date(W.date() + Math.round(V * d)), E);
4012
+ }, v.set = function(c, b) {
4013
+ return this.clone().$set(c, b);
4014
+ }, v.get = function(c) {
4015
+ return this[O.p(c)]();
4016
+ }, v.add = function(c, b) {
4017
+ var m, _ = this;
4018
+ c = Number(c);
4019
+ var w = O.p(b), M = function($) {
4020
+ var X = D(_);
4021
+ return O.w(X.date(X.date() + Math.round($ * c)), _);
4067
4022
  };
4068
- if (w === c)
4069
- return this.set(c, this.$M + d);
4023
+ if (w === g)
4024
+ return this.set(g, this.$M + c);
4070
4025
  if (w === x)
4071
- return this.set(x, this.$y + d);
4072
- if (w === u)
4073
- return $(1);
4074
- if (w === h)
4075
- return $(7);
4076
- var L = (m = {}, m[l] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * L;
4026
+ return this.set(x, this.$y + c);
4027
+ if (w === l)
4028
+ return M(1);
4029
+ if (w === f)
4030
+ return M(7);
4031
+ var L = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, N = this.$d.getTime() + c * L;
4077
4032
  return O.w(N, this);
4078
- }, g.subtract = function(d, b) {
4079
- return this.add(-1 * d, b);
4080
- }, g.format = function(d) {
4033
+ }, v.subtract = function(c, b) {
4034
+ return this.add(-1 * c, b);
4035
+ }, v.format = function(c) {
4081
4036
  var b = this, m = this.$locale();
4082
4037
  if (!this.isValid())
4083
- return m.invalidDate || v;
4084
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), $ = this.$H, L = this.$m, N = this.$M, V = m.weekdays, W = m.months, fe = m.meridiem, ie = function(j, ne, le, be) {
4085
- return j && (j[ne] || j(b, E)) || le[ne].slice(0, be);
4038
+ return m.invalidDate || d;
4039
+ var _ = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), M = this.$H, L = this.$m, N = this.$M, $ = m.weekdays, X = m.months, ue = m.meridiem, Z = function(j, J, te, be) {
4040
+ return j && (j[J] || j(b, _)) || te[J].slice(0, be);
4086
4041
  }, pe = function(j) {
4087
- return O.s($ % 12 || 12, j, "0");
4088
- }, ue = fe || function(j, ne, le) {
4042
+ return O.s(M % 12 || 12, j, "0");
4043
+ }, ee = ue || function(j, J, te) {
4089
4044
  var be = j < 12 ? "AM" : "PM";
4090
- return le ? be.toLowerCase() : be;
4045
+ return te ? be.toLowerCase() : be;
4091
4046
  };
4092
- return E.replace(G, function(j, ne) {
4093
- return ne || function(le) {
4094
- switch (le) {
4047
+ return _.replace(G, function(j, J) {
4048
+ return J || function(te) {
4049
+ switch (te) {
4095
4050
  case "YY":
4096
4051
  return String(b.$y).slice(-2);
4097
4052
  case "YYYY":
@@ -4101,9 +4056,9 @@ var Mr = { exports: {} };
4101
4056
  case "MM":
4102
4057
  return O.s(N + 1, 2, "0");
4103
4058
  case "MMM":
4104
- return ie(m.monthsShort, N, W, 3);
4059
+ return Z(m.monthsShort, N, X, 3);
4105
4060
  case "MMMM":
4106
- return ie(W, N);
4061
+ return Z(X, N);
4107
4062
  case "D":
4108
4063
  return b.$D;
4109
4064
  case "DD":
@@ -4111,23 +4066,23 @@ var Mr = { exports: {} };
4111
4066
  case "d":
4112
4067
  return String(b.$W);
4113
4068
  case "dd":
4114
- return ie(m.weekdaysMin, b.$W, V, 2);
4069
+ return Z(m.weekdaysMin, b.$W, $, 2);
4115
4070
  case "ddd":
4116
- return ie(m.weekdaysShort, b.$W, V, 3);
4071
+ return Z(m.weekdaysShort, b.$W, $, 3);
4117
4072
  case "dddd":
4118
- return V[b.$W];
4073
+ return $[b.$W];
4119
4074
  case "H":
4120
- return String($);
4075
+ return String(M);
4121
4076
  case "HH":
4122
- return O.s($, 2, "0");
4077
+ return O.s(M, 2, "0");
4123
4078
  case "h":
4124
4079
  return pe(1);
4125
4080
  case "hh":
4126
4081
  return pe(2);
4127
4082
  case "a":
4128
- return ue($, L, !0);
4083
+ return ee(M, L, !0);
4129
4084
  case "A":
4130
- return ue($, L, !1);
4085
+ return ee(M, L, !1);
4131
4086
  case "m":
4132
4087
  return String(L);
4133
4088
  case "mm":
@@ -4144,267 +4099,223 @@ var Mr = { exports: {} };
4144
4099
  return null;
4145
4100
  }(j) || w.replace(":", "");
4146
4101
  });
4147
- }, g.utcOffset = function() {
4102
+ }, v.utcOffset = function() {
4148
4103
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4149
- }, g.diff = function(d, b, m) {
4150
- var E, w = this, $ = O.p(b), L = C(d), N = (L.utcOffset() - this.utcOffset()) * i, V = this - L, W = function() {
4104
+ }, v.diff = function(c, b, m) {
4105
+ var _, w = this, M = O.p(b), L = D(c), N = (L.utcOffset() - this.utcOffset()) * i, $ = this - L, X = function() {
4151
4106
  return O.m(w, L);
4152
4107
  };
4153
- switch ($) {
4108
+ switch (M) {
4154
4109
  case x:
4155
- E = W() / 12;
4110
+ _ = X() / 12;
4156
4111
  break;
4157
- case c:
4158
- E = W();
4112
+ case g:
4113
+ _ = X();
4159
4114
  break;
4160
4115
  case p:
4161
- E = W() / 3;
4116
+ _ = X() / 3;
4162
4117
  break;
4163
- case h:
4164
- E = (V - N) / 6048e5;
4118
+ case f:
4119
+ _ = ($ - N) / 6048e5;
4120
+ break;
4121
+ case l:
4122
+ _ = ($ - N) / 864e5;
4165
4123
  break;
4166
4124
  case u:
4167
- E = (V - N) / 864e5;
4125
+ _ = $ / n;
4168
4126
  break;
4169
4127
  case a:
4170
- E = V / n;
4128
+ _ = $ / i;
4171
4129
  break;
4172
- case l:
4173
- E = V / i;
4174
- break;
4175
- case o:
4176
- E = V / r;
4130
+ case s:
4131
+ _ = $ / r;
4177
4132
  break;
4178
4133
  default:
4179
- E = V;
4134
+ _ = $;
4180
4135
  }
4181
- return m ? E : O.a(E);
4182
- }, g.daysInMonth = function() {
4183
- return this.endOf(c).$D;
4184
- }, g.$locale = function() {
4185
- return F[this.$L];
4186
- }, g.locale = function(d, b) {
4187
- if (!d)
4136
+ return m ? _ : O.a(_);
4137
+ }, v.daysInMonth = function() {
4138
+ return this.endOf(g).$D;
4139
+ }, v.$locale = function() {
4140
+ return U[this.$L];
4141
+ }, v.locale = function(c, b) {
4142
+ if (!c)
4188
4143
  return this.$L;
4189
- var m = this.clone(), E = Z(d, b, !0);
4190
- return E && (m.$L = E), m;
4191
- }, g.clone = function() {
4144
+ var m = this.clone(), _ = Y(c, b, !0);
4145
+ return _ && (m.$L = _), m;
4146
+ }, v.clone = function() {
4192
4147
  return O.w(this.$d, this);
4193
- }, g.toDate = function() {
4148
+ }, v.toDate = function() {
4194
4149
  return new Date(this.valueOf());
4195
- }, g.toJSON = function() {
4150
+ }, v.toJSON = function() {
4196
4151
  return this.isValid() ? this.toISOString() : null;
4197
- }, g.toISOString = function() {
4152
+ }, v.toISOString = function() {
4198
4153
  return this.$d.toISOString();
4199
- }, g.toString = function() {
4154
+ }, v.toString = function() {
4200
4155
  return this.$d.toUTCString();
4201
- }, _;
4202
- }(), he = k.prototype;
4203
- return C.prototype = he, [["$ms", s], ["$s", o], ["$m", l], ["$H", a], ["$W", u], ["$M", c], ["$y", x], ["$D", S]].forEach(function(_) {
4204
- he[_[1]] = function(g) {
4205
- return this.$g(g, _[0], _[1]);
4156
+ }, E;
4157
+ }(), ae = F.prototype;
4158
+ return D.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(E) {
4159
+ ae[E[1]] = function(v) {
4160
+ return this.$g(v, E[0], E[1]);
4206
4161
  };
4207
- }), C.extend = function(_, g) {
4208
- return _.$i || (_(g, k, C), _.$i = !0), C;
4209
- }, C.locale = Z, C.isDayjs = ae, C.unix = function(_) {
4210
- return C(1e3 * _);
4211
- }, C.en = F[I], C.Ls = F, C.p = {}, C;
4162
+ }), D.extend = function(E, v) {
4163
+ return E.$i || (E(v, F, D), E.$i = !0), D;
4164
+ }, D.locale = Y, D.isDayjs = K, D.unix = function(E) {
4165
+ return D(1e3 * E);
4166
+ }, D.en = U[R], D.Ls = U, D.p = {}, D;
4212
4167
  });
4213
- })(Mr);
4214
- var ls = Mr.exports;
4215
- const Jt = /* @__PURE__ */ _t(ls);
4216
- var Cr = { exports: {} };
4168
+ })(Br);
4169
+ var so = Br.exports;
4170
+ const zt = /* @__PURE__ */ mt(so);
4171
+ var Mr = { exports: {} };
4217
4172
  (function(e, t) {
4218
4173
  (function(r, i) {
4219
4174
  e.exports = i();
4220
- })(or, function() {
4175
+ })(Jt, function() {
4221
4176
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4222
- return function(s, o, l) {
4223
- var a = o.prototype;
4224
- l.utc = function(v) {
4225
- var M = { date: v, utc: !0, args: arguments };
4226
- return new o(M);
4227
- }, a.utc = function(v) {
4228
- var M = l(this.toDate(), { locale: this.$L, utc: !0 });
4229
- return v ? M.add(this.utcOffset(), r) : M;
4230
- }, a.local = function() {
4231
- return l(this.toDate(), { locale: this.$L, utc: !1 });
4177
+ return function(o, s, a) {
4178
+ var u = s.prototype;
4179
+ a.utc = function(d) {
4180
+ var C = { date: d, utc: !0, args: arguments };
4181
+ return new s(C);
4182
+ }, u.utc = function(d) {
4183
+ var C = a(this.toDate(), { locale: this.$L, utc: !0 });
4184
+ return d ? C.add(this.utcOffset(), r) : C;
4185
+ }, u.local = function() {
4186
+ return a(this.toDate(), { locale: this.$L, utc: !1 });
4232
4187
  };
4233
- var u = a.parse;
4234
- a.parse = function(v) {
4235
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4188
+ var l = u.parse;
4189
+ u.parse = function(d) {
4190
+ d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4236
4191
  };
4237
- var h = a.init;
4238
- a.init = function() {
4192
+ var f = u.init;
4193
+ u.init = function() {
4239
4194
  if (this.$u) {
4240
- var v = this.$d;
4241
- this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4195
+ var d = this.$d;
4196
+ this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4242
4197
  } else
4243
- h.call(this);
4198
+ f.call(this);
4244
4199
  };
4245
- var c = a.utcOffset;
4246
- a.utcOffset = function(v, M) {
4200
+ var g = u.utcOffset;
4201
+ u.utcOffset = function(d, C) {
4247
4202
  var G = this.$utils().u;
4248
- if (G(v))
4249
- return this.$u ? 0 : G(this.$offset) ? c.call(this) : this.$offset;
4250
- if (typeof v == "string" && (v = function(I) {
4251
- I === void 0 && (I = "");
4252
- var F = I.match(i);
4253
- if (!F)
4203
+ if (G(d))
4204
+ return this.$u ? 0 : G(this.$offset) ? g.call(this) : this.$offset;
4205
+ if (typeof d == "string" && (d = function(R) {
4206
+ R === void 0 && (R = "");
4207
+ var U = R.match(i);
4208
+ if (!U)
4254
4209
  return null;
4255
- var q = ("" + F[0]).match(n) || ["-", 0, 0], ae = q[0], Z = 60 * +q[1] + +q[2];
4256
- return Z === 0 ? 0 : ae === "+" ? Z : -Z;
4257
- }(v), v === null))
4210
+ var q = ("" + U[0]).match(n) || ["-", 0, 0], K = q[0], Y = 60 * +q[1] + +q[2];
4211
+ return Y === 0 ? 0 : K === "+" ? Y : -Y;
4212
+ }(d), d === null))
4258
4213
  return this;
4259
- var R = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4260
- if (M)
4261
- return B.$offset = R, B.$u = v === 0, B;
4262
- if (v !== 0) {
4263
- var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4264
- (B = this.local().add(R + X, r)).$offset = R, B.$x.$localOffset = X;
4214
+ var k = Math.abs(d) <= 16 ? 60 * d : d, B = this;
4215
+ if (C)
4216
+ return B.$offset = k, B.$u = d === 0, B;
4217
+ if (d !== 0) {
4218
+ var W = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4219
+ (B = this.local().add(k + W, r)).$offset = k, B.$x.$localOffset = W;
4265
4220
  } else
4266
4221
  B = this.utc();
4267
4222
  return B;
4268
4223
  };
4269
- var p = a.format;
4270
- a.format = function(v) {
4271
- var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4272
- return p.call(this, M);
4273
- }, a.valueOf = function() {
4274
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4275
- return this.$d.valueOf() - 6e4 * v;
4276
- }, a.isUTC = function() {
4224
+ var p = u.format;
4225
+ u.format = function(d) {
4226
+ var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4227
+ return p.call(this, C);
4228
+ }, u.valueOf = function() {
4229
+ var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4230
+ return this.$d.valueOf() - 6e4 * d;
4231
+ }, u.isUTC = function() {
4277
4232
  return !!this.$u;
4278
- }, a.toISOString = function() {
4233
+ }, u.toISOString = function() {
4279
4234
  return this.toDate().toISOString();
4280
- }, a.toString = function() {
4235
+ }, u.toString = function() {
4281
4236
  return this.toDate().toUTCString();
4282
4237
  };
4283
- var x = a.toDate;
4284
- a.toDate = function(v) {
4285
- return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4238
+ var x = u.toDate;
4239
+ u.toDate = function(d) {
4240
+ return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4286
4241
  };
4287
- var S = a.diff;
4288
- a.diff = function(v, M, G) {
4289
- if (v && this.$u === v.$u)
4290
- return S.call(this, v, M, G);
4291
- var R = this.local(), B = l(v).local();
4292
- return S.call(R, B, M, G);
4242
+ var S = u.diff;
4243
+ u.diff = function(d, C, G) {
4244
+ if (d && this.$u === d.$u)
4245
+ return S.call(this, d, C, G);
4246
+ var k = this.local(), B = a(d).local();
4247
+ return S.call(k, B, C, G);
4293
4248
  };
4294
4249
  };
4295
4250
  });
4296
- })(Cr);
4297
- var hs = Cr.exports;
4298
- const fs = /* @__PURE__ */ _t(hs);
4299
- function cs(e) {
4300
- Xr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4251
+ })(Mr);
4252
+ var ao = Mr.exports;
4253
+ const uo = /* @__PURE__ */ mt(ao);
4254
+ function lo(e) {
4255
+ $r(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4301
4256
  }
4302
- function Qt(e, t, r) {
4257
+ function Wt(e, t, r) {
4303
4258
  const i = e.slice();
4304
- return i[54] = t[r], i[56] = r, i;
4259
+ return i[53] = t[r], i[55] = r, i;
4305
4260
  }
4306
- function ds(e) {
4307
- let t, r, i, n, s = Dt(
4261
+ function ho(e) {
4262
+ let t, r, i, n = Et(
4308
4263
  /*displayMessages*/
4309
- e[4]
4264
+ e[3]
4310
4265
  ), o = [];
4311
- for (let a = 0; a < s.length; a += 1)
4312
- o[a] = er(Qt(e, s, a));
4313
- let l = (
4266
+ for (let a = 0; a < n.length; a += 1)
4267
+ o[a] = qt(Wt(e, n, a));
4268
+ let s = (
4314
4269
  /*videoExists*/
4315
- e[7] && tr(e)
4270
+ e[6] && Yt(e)
4316
4271
  );
4317
4272
  return {
4318
4273
  c() {
4319
- t = Y("div");
4274
+ t = Q("div");
4320
4275
  for (let a = 0; a < o.length; a += 1)
4321
4276
  o[a].c();
4322
- r = Ee(), l && l.c(), i = Ee(), n = Y("cashier-video-modal"), re(t, "class", "CashierVerificationsWrapper"), K(
4323
- n,
4324
- "clientstylingurl",
4325
- /*clientstylingurl*/
4326
- e[1]
4327
- ), K(
4328
- n,
4329
- "clientstyling",
4330
- /*clientstyling*/
4331
- e[0]
4332
- ), K(
4333
- n,
4334
- "ismobileview",
4335
- /*ismobileview*/
4336
- e[2]
4337
- ), K(
4338
- n,
4339
- "videosrc",
4340
- /*videoSrc*/
4341
- e[8]
4342
- );
4277
+ r = Be(), s && s.c(), i = qr(), ne(t, "class", "CashierVerificationsWrapper");
4343
4278
  },
4344
4279
  m(a, u) {
4345
- oe(a, t, u);
4346
- for (let h = 0; h < o.length; h += 1)
4347
- o[h] && o[h].m(t, null);
4348
- oe(a, r, u), l && l.m(a, u), oe(a, i, u), oe(a, n, u);
4280
+ fe(a, t, u);
4281
+ for (let l = 0; l < o.length; l += 1)
4282
+ o[l] && o[l].m(t, null);
4283
+ fe(a, r, u), s && s.m(a, u), fe(a, i, u);
4349
4284
  },
4350
4285
  p(a, u) {
4351
4286
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4352
- 2096) {
4353
- s = Dt(
4287
+ 536) {
4288
+ n = Et(
4354
4289
  /*displayMessages*/
4355
- a[4]
4290
+ a[3]
4356
4291
  );
4357
- let h;
4358
- for (h = 0; h < s.length; h += 1) {
4359
- const c = Qt(a, s, h);
4360
- o[h] ? o[h].p(c, u) : (o[h] = er(c), o[h].c(), o[h].m(t, null));
4292
+ let l;
4293
+ for (l = 0; l < n.length; l += 1) {
4294
+ const f = Wt(a, n, l);
4295
+ o[l] ? o[l].p(f, u) : (o[l] = qt(f), o[l].c(), o[l].m(t, null));
4361
4296
  }
4362
- for (; h < o.length; h += 1)
4363
- o[h].d(1);
4364
- o.length = s.length;
4297
+ for (; l < o.length; l += 1)
4298
+ o[l].d(1);
4299
+ o.length = n.length;
4365
4300
  }
4366
4301
  /*videoExists*/
4367
- a[7] ? l ? l.p(a, u) : (l = tr(a), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4368
- 2 && K(
4369
- n,
4370
- "clientstylingurl",
4371
- /*clientstylingurl*/
4372
- a[1]
4373
- ), u[0] & /*clientstyling*/
4374
- 1 && K(
4375
- n,
4376
- "clientstyling",
4377
- /*clientstyling*/
4378
- a[0]
4379
- ), u[0] & /*ismobileview*/
4380
- 4 && K(
4381
- n,
4382
- "ismobileview",
4383
- /*ismobileview*/
4384
- a[2]
4385
- ), u[0] & /*videoSrc*/
4386
- 256 && K(
4387
- n,
4388
- "videosrc",
4389
- /*videoSrc*/
4390
- a[8]
4391
- );
4302
+ a[6] ? s ? s.p(a, u) : (s = Yt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4392
4303
  },
4393
4304
  d(a) {
4394
- a && (ee(t), ee(r), ee(i), ee(n)), Yr(o, a), l && l.d(a);
4305
+ a && (ce(t), ce(r), ce(i)), Yr(o, a), s && s.d(a);
4395
4306
  }
4396
4307
  };
4397
4308
  }
4398
- function ms(e) {
4309
+ function fo(e) {
4399
4310
  let t;
4400
4311
  return {
4401
4312
  c() {
4402
- t = Y("cashier-spinner"), K(
4313
+ t = Q("cashier-spinner"), Re(
4403
4314
  t,
4404
4315
  "clientstylingurl",
4405
4316
  /*clientstylingurl*/
4406
4317
  e[1]
4407
- ), K(
4318
+ ), Re(
4408
4319
  t,
4409
4320
  "clientstyling",
4410
4321
  /*clientstyling*/
@@ -4412,17 +4323,17 @@ function ms(e) {
4412
4323
  );
4413
4324
  },
4414
4325
  m(r, i) {
4415
- oe(r, t, i);
4326
+ fe(r, t, i);
4416
4327
  },
4417
4328
  p(r, i) {
4418
4329
  i[0] & /*clientstylingurl*/
4419
- 2 && K(
4330
+ 2 && Re(
4420
4331
  t,
4421
4332
  "clientstylingurl",
4422
4333
  /*clientstylingurl*/
4423
4334
  r[1]
4424
4335
  ), i[0] & /*clientstyling*/
4425
- 1 && K(
4336
+ 1 && Re(
4426
4337
  t,
4427
4338
  "clientstyling",
4428
4339
  /*clientstyling*/
@@ -4430,487 +4341,445 @@ function ms(e) {
4430
4341
  );
4431
4342
  },
4432
4343
  d(r) {
4433
- r && ee(t);
4344
+ r && ce(t);
4434
4345
  }
4435
4346
  };
4436
4347
  }
4437
- function Kt(e) {
4348
+ function Xt(e) {
4438
4349
  let t, r, i;
4439
- function n(...s) {
4350
+ function n(...o) {
4440
4351
  return (
4441
4352
  /*click_handler*/
4442
- e[21](
4353
+ e[19](
4443
4354
  /*index*/
4444
- e[56],
4445
- ...s
4355
+ e[55],
4356
+ ...o
4446
4357
  )
4447
4358
  );
4448
4359
  }
4449
4360
  return {
4450
4361
  c() {
4451
- t = Y("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', re(t, "class", "CashierVerificationChevron");
4362
+ t = Q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ne(t, "class", "CashierVerificationChevron");
4452
4363
  },
4453
- m(s, o) {
4454
- oe(s, t, o), r || (i = xt(t, "click", n), r = !0);
4364
+ m(o, s) {
4365
+ fe(o, t, s), r || (i = pt(t, "click", n), r = !0);
4455
4366
  },
4456
- p(s, o) {
4457
- e = s;
4367
+ p(o, s) {
4368
+ e = o;
4458
4369
  },
4459
- d(s) {
4460
- s && ee(t), r = !1, i();
4370
+ d(o) {
4371
+ o && ce(t), r = !1, i();
4461
4372
  }
4462
4373
  };
4463
4374
  }
4464
- function er(e) {
4465
- let t, r, i, n, s = (
4375
+ function qt(e) {
4376
+ let t, r, i, n, o = (
4466
4377
  /*message*/
4467
- e[54] + ""
4468
- ), o, l, a, u, h = (
4378
+ e[53] + ""
4379
+ ), s, a, u, l, f = (
4469
4380
  /*displayMessages*/
4470
- e[4].length > 1 && /*index*/
4471
- e[56] === 0 && Kt(e)
4381
+ e[3].length > 1 && /*index*/
4382
+ e[55] === 0 && Xt(e)
4472
4383
  );
4473
- function c(...p) {
4384
+ function g(...p) {
4474
4385
  return (
4475
4386
  /*click_handler_1*/
4476
- e[22](
4387
+ e[20](
4477
4388
  /*index*/
4478
- e[56],
4389
+ e[55],
4479
4390
  ...p
4480
4391
  )
4481
4392
  );
4482
4393
  }
4483
4394
  return {
4484
4395
  c() {
4485
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = Y("p"), o = Ee(), h && h.c(), l = Ee(), re(r, "class", "IconVerification"), re(n, "class", "text"), re(t, "class", "CashierVerificationMessage"), Se(
4396
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Be(), n = Q("p"), s = Be(), f && f.c(), a = Be(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), Ee(
4486
4397
  t,
4487
4398
  "ShowAll",
4488
4399
  /*allVerificationsVisible*/
4489
- e[5]
4400
+ e[4]
4490
4401
  );
4491
4402
  },
4492
4403
  m(p, x) {
4493
- oe(p, t, x), se(t, r), se(t, i), se(t, n), n.innerHTML = s, se(t, o), h && h.m(t, null), se(t, l), a || (u = xt(t, "click", c), a = !0);
4404
+ fe(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), f && f.m(t, null), ie(t, a), u || (l = pt(t, "click", g), u = !0);
4494
4405
  },
4495
4406
  p(p, x) {
4496
4407
  e = p, x[0] & /*displayMessages*/
4497
- 16 && s !== (s = /*message*/
4498
- e[54] + "") && (n.innerHTML = s), /*displayMessages*/
4499
- e[4].length > 1 && /*index*/
4500
- e[56] === 0 ? h ? h.p(e, x) : (h = Kt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4501
- 32 && Se(
4408
+ 8 && o !== (o = /*message*/
4409
+ e[53] + "") && (n.innerHTML = o), /*displayMessages*/
4410
+ e[3].length > 1 && /*index*/
4411
+ e[55] === 0 ? f ? f.p(e, x) : (f = Xt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), x[0] & /*allVerificationsVisible*/
4412
+ 16 && Ee(
4502
4413
  t,
4503
4414
  "ShowAll",
4504
4415
  /*allVerificationsVisible*/
4505
- e[5]
4416
+ e[4]
4506
4417
  );
4507
4418
  },
4508
4419
  d(p) {
4509
- p && ee(t), h && h.d(), a = !1, u();
4420
+ p && ce(t), f && f.d(), u = !1, l();
4510
4421
  }
4511
4422
  };
4512
4423
  }
4513
- function tr(e) {
4514
- let t, r, i, n, s = (
4424
+ function Yt(e) {
4425
+ let t, r, i, n, o = (
4515
4426
  /*$_*/
4516
- e[10]("verification.video.how-to") + ""
4517
- ), o, l, a;
4427
+ e[8]("verification.video.how-to") + ""
4428
+ ), s, a, u;
4518
4429
  return {
4519
4430
  c() {
4520
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = Y("div"), o = yt(s), re(r, "class", "IconVideo"), re(n, "class", "CashierVerificationVideoLink"), Se(
4431
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Be(), n = Q("div"), s = Zr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), Ee(
4521
4432
  n,
4522
4433
  "CashierVerificationVideoLinkDesktop",
4523
4434
  /*desktopView*/
4524
- e[6]
4525
- ), re(t, "class", "CashierVerificationVideo");
4435
+ e[5]
4436
+ ), ne(t, "class", "CashierVerificationVideo");
4526
4437
  },
4527
- m(u, h) {
4528
- oe(u, t, h), se(t, r), se(t, i), se(t, n), se(n, o), l || (a = xt(
4438
+ m(l, f) {
4439
+ fe(l, t, f), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = pt(
4529
4440
  n,
4530
4441
  "click",
4531
- /*click_handler_2*/
4532
- e[23]
4533
- ), l = !0);
4442
+ /*showVideo*/
4443
+ e[10]
4444
+ ), a = !0);
4534
4445
  },
4535
- p(u, h) {
4536
- h[0] & /*$_*/
4537
- 1024 && s !== (s = /*$_*/
4538
- u[10]("verification.video.how-to") + "") && Jr(o, s), h[0] & /*desktopView*/
4539
- 64 && Se(
4446
+ p(l, f) {
4447
+ f[0] & /*$_*/
4448
+ 256 && o !== (o = /*$_*/
4449
+ l[8]("verification.video.how-to") + "") && Jr(s, o), f[0] & /*desktopView*/
4450
+ 32 && Ee(
4540
4451
  n,
4541
4452
  "CashierVerificationVideoLinkDesktop",
4542
4453
  /*desktopView*/
4543
- u[6]
4454
+ l[5]
4544
4455
  );
4545
4456
  },
4546
- d(u) {
4547
- u && ee(t), l = !1, a();
4457
+ d(l) {
4458
+ l && ce(t), a = !1, u();
4548
4459
  }
4549
4460
  };
4550
4461
  }
4551
- function ps(e) {
4462
+ function co(e) {
4552
4463
  let t;
4553
- function r(s, o) {
4464
+ function r(o, s) {
4554
4465
  if (
4555
4466
  /*isLoading*/
4556
- s[9]
4467
+ o[7]
4557
4468
  )
4558
- return ms;
4469
+ return fo;
4559
4470
  if (
4560
4471
  /*displayMessages*/
4561
- s[4]
4472
+ o[3]
4562
4473
  )
4563
- return ds;
4474
+ return ho;
4564
4475
  }
4565
4476
  let i = r(e), n = i && i(e);
4566
4477
  return {
4567
4478
  c() {
4568
- t = Y("div"), n && n.c(), re(t, "class", "CashierVerifications"), Se(
4479
+ t = Q("div"), n && n.c(), ne(t, "class", "CashierVerifications"), Ee(
4569
4480
  t,
4570
4481
  "CashierVerificationsDesktop",
4571
4482
  /*desktopView*/
4572
- e[6]
4483
+ e[5]
4573
4484
  );
4574
4485
  },
4575
- m(s, o) {
4576
- oe(s, t, o), n && n.m(t, null), e[24](t);
4486
+ m(o, s) {
4487
+ fe(o, t, s), n && n.m(t, null), e[21](t);
4577
4488
  },
4578
- p(s, o) {
4579
- i === (i = r(s)) && n ? n.p(s, o) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), o[0] & /*desktopView*/
4580
- 64 && Se(
4489
+ p(o, s) {
4490
+ i === (i = r(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null))), s[0] & /*desktopView*/
4491
+ 32 && Ee(
4581
4492
  t,
4582
4493
  "CashierVerificationsDesktop",
4583
4494
  /*desktopView*/
4584
- s[6]
4495
+ o[5]
4585
4496
  );
4586
4497
  },
4587
- i: te,
4588
- o: te,
4589
- d(s) {
4590
- s && ee(t), n && n.d(), e[24](null);
4498
+ i: ve,
4499
+ o: ve,
4500
+ d(o) {
4501
+ o && ce(t), n && n.d(), e[21](null);
4591
4502
  }
4592
4503
  };
4593
4504
  }
4594
- const gs = "verification_explanation_video_widgets.MP4";
4595
- function vs(e, t, r) {
4505
+ const po = "verification_explanation_video_widgets.MP4";
4506
+ function mo(e, t, r) {
4596
4507
  let i, n;
4597
- Mt(e, is, (f) => r(10, i = f)), Mt(e, ss, (f) => r(30, n = f)), Jt.extend(fs);
4598
- let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: x = "" } = t, { mbsource: S = "" } = t, v, M = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Set(), R, B, X, I = !0, F = !0, q = !1, ae = "", Z = !1;
4599
- var C;
4600
- (function(f) {
4601
- f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4602
- })(C || (C = {}));
4508
+ xt(e, Gn, (h) => r(8, i = h)), xt(e, jn, (h) => r(28, n = h)), zt.extend(uo);
4509
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: g = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), G, k, B, W = !0, R = !0, U = !1, q = "", K = !1, Y = window.navigator.userAgent;
4510
+ var D;
4511
+ (function(h) {
4512
+ h.Manual = "Manual", h.ShuftiPro = "ShuftiPro";
4513
+ })(D || (D = {}));
4603
4514
  var O;
4604
- (function(f) {
4605
- f.Requested = "Requested";
4515
+ (function(h) {
4516
+ h.Requested = "Requested";
4606
4517
  })(O || (O = {}));
4607
- var k;
4608
- (function(f) {
4609
- f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4610
- })(k || (k = {}));
4611
- var he;
4612
- (function(f) {
4613
- f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4614
- })(he || (he = {})), ei(() => () => {
4615
- });
4616
- const _ = [
4617
- k.InProgress,
4618
- k.Referred,
4619
- k.AwaitingForResponse
4620
- ], g = () => {
4621
- let f = l;
4622
- if (f)
4623
- return fetch(f).then((y) => y.json()).then((y) => {
4624
- Object.keys(y).forEach((H) => {
4625
- Yt(H, y[H]);
4518
+ var F;
4519
+ (function(h) {
4520
+ h.Unknown = "Unknown", h.Unverified = "Unverified", h.InProgress = "InProgress", h.Failed = "Failed", h.Verified = "Verified", h.Referred = "Referred", h.True = "True", h.False = "False", h.AwaitingForResponse = "AwaitingForResponse";
4521
+ })(F || (F = {}));
4522
+ var ae;
4523
+ (function(h) {
4524
+ h.Unknown = "Unknown", h.Documents = "Documents", h.Age = "Age", h.Pep = "Pep", h.Sanction = "Sanction", h.Aml = "Aml", h.ProofOfAddress = "ProofOfAddress", h.SourceOfWealth = "SourceOfWealth", h.SocialMedia = "SocialMedia", h.Biometric = "Biometric";
4525
+ })(ae || (ae = {})), jr(() => (be(), () => {
4526
+ }));
4527
+ const E = [
4528
+ F.InProgress,
4529
+ F.Referred,
4530
+ F.AwaitingForResponse
4531
+ ], v = () => {
4532
+ let h = a;
4533
+ if (h)
4534
+ return fetch(h).then((y) => y.json()).then((y) => {
4535
+ Object.keys(y).forEach((P) => {
4536
+ Nt(P, y[P]);
4626
4537
  });
4627
4538
  }).catch((y) => {
4628
4539
  console.log(y);
4629
4540
  });
4630
4541
  };
4631
- Object.keys(Zt).forEach((f) => {
4632
- Yt(f, Zt[f]);
4542
+ Object.keys(Rt).forEach((h) => {
4543
+ Nt(h, Rt[h]);
4633
4544
  });
4634
- const d = () => {
4635
- ns(o);
4545
+ const c = () => {
4546
+ $n(s);
4636
4547
  }, b = () => {
4637
- r(20, B = w());
4638
- const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${o}`), y = new Headers();
4639
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${x}`), y.append("X-Client-Request-Timestamp", Jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4640
- const H = {
4548
+ r(18, k = w());
4549
+ const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4550
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4551
+ const P = {
4641
4552
  method: "POST",
4642
4553
  headers: y,
4643
4554
  body: JSON.stringify({})
4644
4555
  };
4645
- r(9, Z = !0), fetch(f, H).then((U) => U.json()).then((U) => {
4646
- const ce = m(U == null ? void 0 : U.Verifications);
4647
- R = $(ce), R.VerificationStatuses.forEach((Fe) => {
4648
- Fe.VerificationUrlType !== "Widget" && M.add(Fe.Vendor);
4649
- }), r(4, X = ie());
4650
- }).finally(() => r(9, Z = !1));
4651
- }, m = (f) => f ? f.sort((y, H) => new Date(H.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4556
+ r(7, K = !0), fetch(h, P).then((V) => V.json()).then((V) => {
4557
+ const le = m(V == null ? void 0 : V.Verifications);
4558
+ G = M(le), G.VerificationStatuses.forEach((Ne) => {
4559
+ Ne.VerificationUrlType !== "Widget" && d.add(Ne.Vendor);
4560
+ }), r(3, B = Z());
4561
+ }).finally(() => r(7, K = !1));
4562
+ }, m = (h) => h ? h.sort((y, P) => new Date(P.Created).getTime() - new Date(y.Created).getTime()) : [], _ = () => {
4652
4563
  n && b();
4653
4564
  }, w = () => {
4654
- let f = (h || n).split(".")[1];
4655
- if (f) {
4656
- let y = JSON.parse(atob(f));
4565
+ let h = (f || n).split(".")[1];
4566
+ if (h) {
4567
+ let y = JSON.parse(atob(h));
4657
4568
  return y.cdn + "/cashier/operator-assets/" + (y == null ? void 0 : y.mid);
4658
4569
  }
4659
4570
  return "";
4660
- }, $ = (f) => {
4661
- var H;
4662
- if (!f || !f.length)
4571
+ }, M = (h) => {
4572
+ var P;
4573
+ if (!h || !h.length)
4663
4574
  return {
4664
- VerificationSummaryStatus: k.Unverified,
4575
+ VerificationSummaryStatus: F.Unverified,
4665
4576
  VerificationStatuses: []
4666
4577
  };
4667
- const y = V(f);
4578
+ const y = $(h);
4668
4579
  if (y && y.length) {
4669
- const U = L(y);
4580
+ const V = L(y);
4670
4581
  return {
4671
- VerificationSummaryStatus: U.Status,
4672
- VerificationUrl: (H = U.Flags) == null ? void 0 : H.DeferredUrlKey,
4673
- VerificationStatuses: N(y, U.Status)
4582
+ VerificationSummaryStatus: V.Status,
4583
+ VerificationUrl: (P = V.Flags) == null ? void 0 : P.DeferredUrlKey,
4584
+ VerificationStatuses: N(y, V.Status)
4674
4585
  };
4675
4586
  } else
4676
4587
  return {
4677
- VerificationSummaryStatus: f.some((ce) => ce.Status === k.Failed) ? k.Failed : k.Verified,
4678
- VerificationStatuses: N(f, [k.Failed])
4588
+ VerificationSummaryStatus: h.some((le) => le.Status === F.Failed) ? F.Failed : F.Verified,
4589
+ VerificationStatuses: N(h, [F.Failed])
4679
4590
  };
4680
- }, L = (f) => f.reduce(
4681
- (y, H) => y ? new Date(y) < new Date(H) ? H : y : H,
4591
+ }, L = (h) => h.reduce(
4592
+ (y, P) => y ? new Date(y) < new Date(P) ? P : y : P,
4682
4593
  0
4683
- ), N = (f, y) => f.filter((H) => y.includes(H.Status)).map((H) => {
4684
- var U, ce;
4594
+ ), N = (h, y) => h.filter((P) => y.includes(P.Status)).map((P) => {
4595
+ var V, le;
4685
4596
  return {
4686
- Type: H.Type,
4687
- Vendor: H.VendorName,
4688
- VerificationDocuments: H.Documents ? [...H.Documents] : [],
4689
- VerificationUrlType: (U = H.FlowInfo) == null ? void 0 : U.Type,
4690
- VerificationUrl: (ce = H.FlowInfo) == null ? void 0 : ce.Url
4597
+ Type: P.Type,
4598
+ Vendor: P.VendorName,
4599
+ VerificationDocuments: P.Documents ? [...P.Documents] : [],
4600
+ VerificationUrlType: (V = P.FlowInfo) == null ? void 0 : V.Type,
4601
+ VerificationUrl: (le = P.FlowInfo) == null ? void 0 : le.Url
4691
4602
  };
4692
- }), V = (f) => f.filter((y) => _.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || fe(y) : !1), W = (f) => {
4693
- const y = f.Documents && f.VendorName === C.Manual, H = f.Documents && f.Documents.some((U) => U.Status === O.Requested);
4694
- return y && H;
4695
- }, fe = (f) => f.VendorName === C.ShuftiPro && f.Status === k.Referred, ie = () => {
4696
- switch (R.VerificationSummaryStatus) {
4697
- case k.InProgress:
4698
- const f = [];
4699
- return M.forEach((y) => {
4700
- f.push(pe(y));
4701
- }), f;
4702
- case k.Referred:
4603
+ }), $ = (h) => h.filter((y) => E.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || ue(y) : !1), X = (h) => {
4604
+ const y = h.Documents && h.VendorName === D.Manual, P = h.Documents && h.Documents.some((V) => V.Status === O.Requested);
4605
+ return y && P;
4606
+ }, ue = (h) => h.VendorName === D.ShuftiPro && h.Status === F.Referred, Z = () => {
4607
+ switch (G.VerificationSummaryStatus) {
4608
+ case F.InProgress:
4609
+ const h = [];
4610
+ return d.forEach((y) => {
4611
+ h.push(pe(y));
4612
+ }), h;
4613
+ case F.Referred:
4703
4614
  return [i("verification.idenfy.referred-awaiting")];
4704
- case k.Failed:
4615
+ case F.Failed:
4705
4616
  return [i("verification.message.failed")];
4706
4617
  }
4707
- }, pe = (f) => {
4708
- const y = R.VerificationStatuses.filter((H) => H.Vendor === f);
4709
- if (f === C.ShuftiPro)
4710
- return ue(y);
4618
+ }, pe = (h) => {
4619
+ const y = G.VerificationStatuses.filter((P) => P.Vendor === h);
4620
+ if (h === D.ShuftiPro)
4621
+ return ee(y);
4711
4622
  {
4712
- const H = i("verification.idenfy.link-name"), U = {
4713
- link: `<a href="${y[0].VerificationUrl}" target="_blank">${H}</a>`
4623
+ const P = i("verification.idenfy.link-name"), V = {
4624
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${P}</a>`
4714
4625
  };
4715
- return i("verification.idenfy.in-progress", { values: U });
4626
+ return i("verification.idenfy.in-progress", { values: V });
4716
4627
  }
4717
- }, ue = (f) => {
4718
- const y = [], H = {}, U = [
4719
- he.Biometric,
4720
- he.Documents,
4721
- he.ProofOfAddress
4628
+ }, ee = (h) => {
4629
+ const y = [], P = {}, V = [
4630
+ ae.Biometric,
4631
+ ae.Documents,
4632
+ ae.ProofOfAddress
4722
4633
  ];
4723
- f.forEach((ge) => {
4724
- U.includes(ge.Type) && (y.push(ge.Type), H[ge.Type] = j(ge, ne(ge.Type)));
4634
+ h.forEach((me) => {
4635
+ V.includes(me.Type) && (y.push(me.Type), P[me.Type] = j(me, J(me.Type)));
4725
4636
  });
4726
- let ce = y.every((ge) => G.has(ge)), Fe = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4727
- return ce ? i("verification.shuftipro.validations-started") : i(Fe, { values: H });
4728
- }, j = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), le = (f, y) => {
4729
- if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4730
- if (f.target.closest(".verificationLink")) {
4731
- const H = f.target.className.split(" ")[1];
4732
- G.add(H), r(4, X = ie());
4637
+ let le = y.every((me) => C.has(me)), Ne = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4638
+ return le ? i("verification.shuftipro.validations-started") : i(Ne, { values: P });
4639
+ }, j = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, J = (h) => i(`verification.shuftipro.link-name.${h}`), te = (h, y) => {
4640
+ if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4641
+ if (h.target.closest(".verificationLink")) {
4642
+ const P = h.target.className.split(" ")[1];
4643
+ C.add(P), r(3, B = Z());
4733
4644
  }
4734
4645
  return;
4735
4646
  }
4736
- y === 0 && r(5, I = !I);
4647
+ y === 0 && r(4, W = !W);
4737
4648
  }, be = () => {
4738
- r(6, F = p === "false");
4739
- }, Lr = () => {
4740
- r(8, ae = B + "/" + o + "/" + gs);
4649
+ r(5, R = !oo(Y));
4650
+ }, Cr = () => {
4651
+ q = k + "/" + s + "/" + po;
4741
4652
  try {
4742
- fetch(ae, { method: "HEAD" }).then((f) => {
4743
- r(7, q = f.ok);
4653
+ fetch(q, { method: "HEAD" }).then((h) => {
4654
+ r(6, U = h.ok);
4744
4655
  });
4745
- } catch (f) {
4746
- r(7, q = !1);
4656
+ } catch (h) {
4657
+ r(6, U = !1);
4747
4658
  }
4748
- }, Ht = () => {
4749
- window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4750
- }, Ir = (f, y) => le(y, f), Nr = (f, y) => le(y, f), Rr = () => Ht();
4751
- function kr(f) {
4752
- at[f ? "unshift" : "push"](() => {
4753
- v = f, r(3, v);
4659
+ }, Dr = () => {
4660
+ window.postMessage({ type: "ShowVideoModal", videoSrc: q }, window.location.href);
4661
+ }, Ir = (h, y) => te(y, h), Lr = (h, y) => te(y, h);
4662
+ function Nr(h) {
4663
+ Xr[h ? "unshift" : "push"](() => {
4664
+ S = h, r(2, S);
4754
4665
  });
4755
4666
  }
4756
- return e.$$set = (f) => {
4757
- "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, x = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4667
+ return e.$$set = (h) => {
4668
+ "endpoint" in h && r(11, o = h.endpoint), "lang" in h && r(12, s = h.lang), "translationurl" in h && r(13, a = h.translationurl), "clientstyling" in h && r(0, u = h.clientstyling), "clientstylingurl" in h && r(1, l = h.clientstylingurl), "session" in h && r(14, f = h.session), "customerid" in h && r(15, g = h.customerid), "playersession" in h && r(16, p = h.playersession), "mbsource" in h && r(17, x = h.mbsource);
4758
4669
  }, e.$$.update = () => {
4759
4670
  e.$$.dirty[0] & /*lang*/
4760
- 16384 && o && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4761
- 335872 && s && h && x && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4762
- 335872 && s && !h && x && E(), e.$$.dirty[0] & /*translationurl*/
4763
- 32768 && l && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4764
- 9 && a && v && os(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4765
- 10 && u && v && as(), e.$$.dirty[0] & /*ismobileview*/
4766
- 4 && p && be(), e.$$.dirty[0] & /*staticCdnUrl*/
4767
- 1048576 && B && Lr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4768
- 524296 && S && v && us(v, `${S}.Style`);
4671
+ 4096 && s && c(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4672
+ 83968 && o && f && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4673
+ 83968 && o && !f && p && _(), e.$$.dirty[0] & /*translationurl*/
4674
+ 8192 && a && v(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4675
+ 5 && u && S && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4676
+ 6 && l && S && zr(), e.$$.dirty[0] & /*staticCdnUrl*/
4677
+ 262144 && k && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4678
+ 131076 && x && S && Wr(S, `${x}.Style`);
4769
4679
  }, [
4770
- a,
4771
4680
  u,
4772
- p,
4773
- v,
4774
- X,
4775
- I,
4776
- F,
4777
- q,
4778
- ae,
4779
- Z,
4780
- i,
4781
- le,
4782
- Ht,
4783
- s,
4784
- o,
4785
4681
  l,
4786
- h,
4787
- c,
4788
- x,
4789
4682
  S,
4790
4683
  B,
4684
+ W,
4685
+ R,
4686
+ U,
4687
+ K,
4688
+ i,
4689
+ te,
4690
+ Dr,
4691
+ o,
4692
+ s,
4693
+ a,
4694
+ f,
4695
+ g,
4696
+ p,
4697
+ x,
4698
+ k,
4791
4699
  Ir,
4792
- Nr,
4793
- Rr,
4794
- kr
4700
+ Lr,
4701
+ Nr
4795
4702
  ];
4796
4703
  }
4797
- class Dr extends ci {
4704
+ class vo extends Fr {
4798
4705
  constructor(t) {
4799
- super(), hi(
4706
+ super(), Vr(
4800
4707
  this,
4801
4708
  t,
4802
- vs,
4803
- ps,
4804
- ir,
4709
+ mo,
4710
+ co,
4711
+ Zt,
4805
4712
  {
4806
- endpoint: 13,
4807
- lang: 14,
4808
- translationurl: 15,
4713
+ endpoint: 11,
4714
+ lang: 12,
4715
+ translationurl: 13,
4809
4716
  clientstyling: 0,
4810
4717
  clientstylingurl: 1,
4811
- session: 16,
4812
- customerid: 17,
4813
- ismobileview: 2,
4814
- playersession: 18,
4815
- mbsource: 19
4718
+ session: 14,
4719
+ customerid: 15,
4720
+ playersession: 16,
4721
+ mbsource: 17
4816
4722
  },
4817
- cs,
4723
+ lo,
4818
4724
  [-1, -1]
4819
4725
  );
4820
4726
  }
4821
4727
  get endpoint() {
4822
- return this.$$.ctx[13];
4728
+ return this.$$.ctx[11];
4823
4729
  }
4824
4730
  set endpoint(t) {
4825
- this.$$set({ endpoint: t }), Q();
4731
+ this.$$set({ endpoint: t }), re();
4826
4732
  }
4827
4733
  get lang() {
4828
- return this.$$.ctx[14];
4734
+ return this.$$.ctx[12];
4829
4735
  }
4830
4736
  set lang(t) {
4831
- this.$$set({ lang: t }), Q();
4737
+ this.$$set({ lang: t }), re();
4832
4738
  }
4833
4739
  get translationurl() {
4834
- return this.$$.ctx[15];
4740
+ return this.$$.ctx[13];
4835
4741
  }
4836
4742
  set translationurl(t) {
4837
- this.$$set({ translationurl: t }), Q();
4743
+ this.$$set({ translationurl: t }), re();
4838
4744
  }
4839
4745
  get clientstyling() {
4840
4746
  return this.$$.ctx[0];
4841
4747
  }
4842
4748
  set clientstyling(t) {
4843
- this.$$set({ clientstyling: t }), Q();
4749
+ this.$$set({ clientstyling: t }), re();
4844
4750
  }
4845
4751
  get clientstylingurl() {
4846
4752
  return this.$$.ctx[1];
4847
4753
  }
4848
4754
  set clientstylingurl(t) {
4849
- this.$$set({ clientstylingurl: t }), Q();
4755
+ this.$$set({ clientstylingurl: t }), re();
4850
4756
  }
4851
4757
  get session() {
4852
- return this.$$.ctx[16];
4758
+ return this.$$.ctx[14];
4853
4759
  }
4854
4760
  set session(t) {
4855
- this.$$set({ session: t }), Q();
4761
+ this.$$set({ session: t }), re();
4856
4762
  }
4857
4763
  get customerid() {
4858
- return this.$$.ctx[17];
4764
+ return this.$$.ctx[15];
4859
4765
  }
4860
4766
  set customerid(t) {
4861
- this.$$set({ customerid: t }), Q();
4862
- }
4863
- get ismobileview() {
4864
- return this.$$.ctx[2];
4865
- }
4866
- set ismobileview(t) {
4867
- this.$$set({ ismobileview: t }), Q();
4767
+ this.$$set({ customerid: t }), re();
4868
4768
  }
4869
4769
  get playersession() {
4870
- return this.$$.ctx[18];
4770
+ return this.$$.ctx[16];
4871
4771
  }
4872
4772
  set playersession(t) {
4873
- this.$$set({ playersession: t }), Q();
4773
+ this.$$set({ playersession: t }), re();
4874
4774
  }
4875
4775
  get mbsource() {
4876
- return this.$$.ctx[19];
4776
+ return this.$$.ctx[17];
4877
4777
  }
4878
4778
  set mbsource(t) {
4879
- this.$$set({ mbsource: t }), Q();
4779
+ this.$$set({ mbsource: t }), re();
4880
4780
  }
4881
4781
  }
4882
- fi(Dr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4883
- const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4884
- __proto__: null,
4885
- default: Dr
4886
- }, Symbol.toStringTag, { value: "Module" }));
4782
+ Gr(vo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4887
4783
  export {
4888
- Ss as C,
4889
- ci as S,
4890
- Es as _,
4891
- tt as a,
4892
- ws as b,
4893
- Ze as c,
4894
- fi as d,
4895
- Xr as e,
4896
- Q as f,
4897
- _s as g,
4898
- oe as h,
4899
- hi as i,
4900
- ee as j,
4901
- as as k,
4902
- us as l,
4903
- Y as m,
4904
- te as n,
4905
- ei as o,
4906
- Ee as p,
4907
- ys as q,
4908
- re as r,
4909
- ir as s,
4910
- Se as t,
4911
- se as u,
4912
- xs as v,
4913
- xt as w,
4914
- at as x,
4915
- os as y
4784
+ vo as default
4916
4785
  };