@everymatrix/cashier-methods-list 1.59.3 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Nr = Object.defineProperty, Dr = Object.defineProperties;
2
- var Ir = Object.getOwnPropertyDescriptors;
3
- var Ct = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
- var tt = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
1
+ var Ir = Object.defineProperty, Rr = Object.defineProperties;
2
+ var Ur = Object.getOwnPropertyDescriptors;
3
+ var Ht = Object.getOwnPropertySymbols;
4
+ var Gr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
+ var tt = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Rr.call(t, r) && tt(e, r, t[r]);
8
- if (Ct)
9
- for (var r of Ct(t))
10
- Ur.call(t, r) && tt(e, r, t[r]);
7
+ Gr.call(t, r) && tt(e, r, t[r]);
8
+ if (Ht)
9
+ for (var r of Ht(t))
10
+ kr.call(t, r) && tt(e, r, t[r]);
11
11
  return e;
12
- }, Ge = (e, t) => Dr(e, Ir(t));
12
+ }, Ge = (e, t) => Rr(e, Ur(t));
13
13
  var ie = (e, t, r) => (tt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
14
+ var Tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,29 +29,29 @@ var St = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function se() {
31
31
  }
32
- function tr(e) {
32
+ function nr(e) {
33
33
  return e();
34
34
  }
35
- function Ht() {
35
+ function At() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Se(e) {
39
- e.forEach(tr);
39
+ e.forEach(nr);
40
40
  }
41
41
  function Et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function rr(e, t) {
44
+ function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ke;
48
48
  function Be(e, t) {
49
49
  return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
50
50
  }
51
- function Gr(e) {
51
+ function Fr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function nr(e, ...t) {
54
+ function sr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function nr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function kr(e, t, r) {
64
- e.$$.on_destroy.push(nr(t, r));
63
+ function jr(e, t, r) {
64
+ e.$$.on_destroy.push(sr(t, r));
65
65
  }
66
66
  function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Fr(e, t, r) {
70
- const n = jr(e);
69
+ function Zr(e, t, r) {
70
+ const n = Vr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = k("style");
73
- i.id = t, i.textContent = r, Zr(n, i);
73
+ i.id = t, i.textContent = r, Xr(n, i);
74
74
  }
75
75
  }
76
- function jr(e) {
76
+ function Vr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function jr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Zr(e, t) {
86
+ function Xr(e, t) {
87
87
  return C(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function oe(e, t, r) {
96
96
  function re(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Vr(e, t) {
99
+ function Wr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -109,7 +109,7 @@ function ee(e) {
109
109
  function te() {
110
110
  return ee(" ");
111
111
  }
112
- function Xr() {
112
+ function zr() {
113
113
  return ee("");
114
114
  }
115
115
  function ut(e, t, r, n) {
@@ -122,7 +122,7 @@ function Y(e, t, r) {
122
122
  const n = t.toLowerCase();
123
123
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
124
124
  }
125
- function Wr(e) {
125
+ function Yr(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
128
  function ae(e, t) {
@@ -132,10 +132,10 @@ function ae(e, t) {
132
132
  function Xe(e, t, r) {
133
133
  e.classList.toggle(t, !!r);
134
134
  }
135
- function zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
135
+ function Jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
136
136
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
137
137
  }
138
- function Yr(e) {
138
+ function Qr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,20 +148,20 @@ let Pe;
148
148
  function $e(e) {
149
149
  Pe = e;
150
150
  }
151
- function ir() {
151
+ function or() {
152
152
  if (!Pe)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return Pe;
155
155
  }
156
- function Jr(e) {
157
- ir().$$.on_mount.push(e);
156
+ function qr(e) {
157
+ or().$$.on_mount.push(e);
158
158
  }
159
- function Qr() {
160
- const e = ir();
159
+ function Kr() {
160
+ const e = or();
161
161
  return (t, r, { cancelable: n = !1 } = {}) => {
162
162
  const i = e.$$.callbacks[t];
163
163
  if (i) {
164
- const s = zr(
164
+ const s = Jr(
165
165
  /** @type {string} */
166
166
  t,
167
167
  r,
@@ -176,10 +176,10 @@ function Qr() {
176
176
  }
177
177
  const Ee = [], ht = [];
178
178
  let xe = [];
179
- const Tt = [], qr = /* @__PURE__ */ Promise.resolve();
179
+ const Ot = [], en = /* @__PURE__ */ Promise.resolve();
180
180
  let ct = !1;
181
- function Kr() {
182
- ct || (ct = !0, qr.then(q));
181
+ function tn() {
182
+ ct || (ct = !0, en.then(q));
183
183
  }
184
184
  function ft(e) {
185
185
  xe.push(e);
@@ -194,7 +194,7 @@ function q() {
194
194
  try {
195
195
  for (; ve < Ee.length; ) {
196
196
  const t = Ee[ve];
197
- ve++, $e(t), en(t.$$);
197
+ ve++, $e(t), rn(t.$$);
198
198
  }
199
199
  } catch (t) {
200
200
  throw Ee.length = 0, ve = 0, t;
@@ -207,43 +207,43 @@ function q() {
207
207
  }
208
208
  xe.length = 0;
209
209
  } while (Ee.length);
210
- for (; Tt.length; )
211
- Tt.pop()();
210
+ for (; Ot.length; )
211
+ Ot.pop()();
212
212
  ct = !1, rt.clear(), $e(e);
213
213
  }
214
- function en(e) {
214
+ function rn(e) {
215
215
  if (e.fragment !== null) {
216
216
  e.update(), Se(e.before_update);
217
217
  const t = e.dirty;
218
218
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
219
219
  }
220
220
  }
221
- function tn(e) {
221
+ function nn(e) {
222
222
  const t = [], r = [];
223
223
  xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
224
224
  }
225
- const rn = /* @__PURE__ */ new Set();
226
- function nn(e, t) {
227
- e && e.i && (rn.delete(e), e.i(t));
225
+ const sn = /* @__PURE__ */ new Set();
226
+ function on(e, t) {
227
+ e && e.i && (sn.delete(e), e.i(t));
228
228
  }
229
- function Ot(e) {
229
+ function $t(e) {
230
230
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
231
231
  }
232
- function sn(e, t, r) {
232
+ function an(e, t, r) {
233
233
  const { fragment: n, after_update: i } = e.$$;
234
234
  n && n.m(t, r), ft(() => {
235
- const s = e.$$.on_mount.map(tr).filter(Et);
235
+ const s = e.$$.on_mount.map(nr).filter(Et);
236
236
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Se(s), e.$$.on_mount = [];
237
237
  }), i.forEach(ft);
238
238
  }
239
- function on(e, t) {
239
+ function ln(e, t) {
240
240
  const r = e.$$;
241
- r.fragment !== null && (tn(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
241
+ r.fragment !== null && (nn(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
242
242
  }
243
- function an(e, t) {
244
- e.$$.dirty[0] === -1 && (Ee.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
+ function un(e, t) {
244
+ e.$$.dirty[0] === -1 && (Ee.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
245
245
  }
246
- function ln(e, t, r, n, i, s, o = null, a = [-1]) {
246
+ function hn(e, t, r, n, i, s, o = null, a = [-1]) {
247
247
  const u = Pe;
248
248
  $e(e);
249
249
  const l = e.$$ = {
@@ -253,7 +253,7 @@ function ln(e, t, r, n, i, s, o = null, a = [-1]) {
253
253
  props: s,
254
254
  update: se,
255
255
  not_equal: i,
256
- bound: Ht(),
256
+ bound: At(),
257
257
  // lifecycle
258
258
  on_mount: [],
259
259
  on_destroy: [],
@@ -262,7 +262,7 @@ function ln(e, t, r, n, i, s, o = null, a = [-1]) {
262
262
  after_update: [],
263
263
  context: new Map(t.context || (u ? u.$$.context : [])),
264
264
  // everything else
265
- callbacks: Ht(),
265
+ callbacks: At(),
266
266
  dirty: a,
267
267
  skip_bound: !1,
268
268
  root: t.target || u.$$.root
@@ -271,19 +271,19 @@ function ln(e, t, r, n, i, s, o = null, a = [-1]) {
271
271
  let h = !1;
272
272
  if (l.ctx = r ? r(e, t.props || {}, (c, d, ..._) => {
273
273
  const E = _.length ? _[0] : d;
274
- return l.ctx && i(l.ctx[c], l.ctx[c] = E) && (!l.skip_bound && l.bound[c] && l.bound[c](E), h && an(e, c)), d;
274
+ return l.ctx && i(l.ctx[c], l.ctx[c] = E) && (!l.skip_bound && l.bound[c] && l.bound[c](E), h && un(e, c)), d;
275
275
  }) : [], l.update(), h = !0, Se(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
276
276
  if (t.hydrate) {
277
- const c = Wr(t.target);
277
+ const c = Yr(t.target);
278
278
  l.fragment && l.fragment.l(c), c.forEach(re);
279
279
  } else
280
280
  l.fragment && l.fragment.c();
281
- t.intro && nn(e.$$.fragment), sn(e, t.target, t.anchor), q();
281
+ t.intro && on(e.$$.fragment), an(e, t.target, t.anchor), q();
282
282
  }
283
283
  $e(u);
284
284
  }
285
- let sr;
286
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
285
+ let ar;
286
+ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
287
287
  constructor(t, r, n) {
288
288
  super();
289
289
  /** The Svelte component constructor */
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
320
320
  }
321
321
  }
322
322
  connectedCallback() {
323
- return St(this, null, function* () {
323
+ return Tt(this, null, function* () {
324
324
  if (this.$$cn = !0, !this.$$c) {
325
325
  let t = function(s) {
326
326
  return () => {
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
344
344
  };
345
345
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
346
346
  return;
347
- const r = {}, n = Yr(this);
347
+ const r = {}, n = Qr(this);
348
348
  for (const s of this.$$s)
349
349
  s in n && (r[s] = [t(s)]);
350
350
  for (const s of this.attributes) {
@@ -433,8 +433,8 @@ function je(e, t, r, n) {
433
433
  return t;
434
434
  }
435
435
  }
436
- function un(e, t, r, n, i, s) {
437
- let o = class extends sr {
436
+ function cn(e, t, r, n, i, s) {
437
+ let o = class extends ar {
438
438
  constructor() {
439
439
  super(e, r, i), this.$$p_d = t;
440
440
  }
@@ -464,7 +464,7 @@ function un(e, t, r, n, i, s) {
464
464
  }), e.element = /** @type {any} */
465
465
  o, o;
466
466
  }
467
- class hn {
467
+ class fn {
468
468
  constructor() {
469
469
  /**
470
470
  * ### PRIVATE API
@@ -485,7 +485,7 @@ class hn {
485
485
  }
486
486
  /** @returns {void} */
487
487
  $destroy() {
488
- on(this, 1), this.$destroy = se;
488
+ ln(this, 1), this.$destroy = se;
489
489
  }
490
490
  /**
491
491
  * @template {Extract<keyof Events, string>} K
@@ -507,13 +507,13 @@ class hn {
507
507
  * @returns {void}
508
508
  */
509
509
  $set(t) {
510
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
510
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
511
511
  }
512
512
  }
513
- const cn = "4";
514
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
513
+ const mn = "4";
514
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
515
515
  const _e = [];
516
- function fn(e, t) {
516
+ function dn(e, t) {
517
517
  return {
518
518
  subscribe: Je(e, t).subscribe
519
519
  };
@@ -522,7 +522,7 @@ function Je(e, t = se) {
522
522
  let r;
523
523
  const n = /* @__PURE__ */ new Set();
524
524
  function i(a) {
525
- if (rr(e, a) && (e = a, r)) {
525
+ if (ir(e, a) && (e = a, r)) {
526
526
  const u = !_e.length;
527
527
  for (const l of n)
528
528
  l[1](), _e.push(l, e);
@@ -549,7 +549,7 @@ function He(e, t, r) {
549
549
  if (!i.every(Boolean))
550
550
  throw new Error("derived() expects stores as input, got a falsy value");
551
551
  const s = t.length < 2;
552
- return fn(r, (o, a) => {
552
+ return dn(r, (o, a) => {
553
553
  let u = !1;
554
554
  const l = [];
555
555
  let h = 0, c = se;
@@ -560,7 +560,7 @@ function He(e, t, r) {
560
560
  const E = t(n ? l[0] : l, o, a);
561
561
  s ? o(E) : c = Et(E) ? E : se;
562
562
  }, _ = i.map(
563
- (E, f) => nr(
563
+ (E, f) => sr(
564
564
  E,
565
565
  (w) => {
566
566
  l[f] = w, h &= ~(1 << f), u && d();
@@ -575,71 +575,71 @@ function He(e, t, r) {
575
575
  };
576
576
  });
577
577
  }
578
- var or = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
578
+ var lr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
579
579
  function xt(e) {
580
580
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
581
581
  }
582
- var mn = function(t) {
583
- return dn(t) && !pn(t);
582
+ var pn = function(t) {
583
+ return gn(t) && !bn(t);
584
584
  };
585
- function dn(e) {
585
+ function gn(e) {
586
586
  return !!e && typeof e == "object";
587
587
  }
588
- function pn(e) {
588
+ function bn(e) {
589
589
  var t = Object.prototype.toString.call(e);
590
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
590
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
591
591
  }
592
- var gn = typeof Symbol == "function" && Symbol.for, bn = gn ? Symbol.for("react.element") : 60103;
593
- function yn(e) {
594
- return e.$$typeof === bn;
592
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
593
+ function _n(e) {
594
+ return e.$$typeof === vn;
595
595
  }
596
- function vn(e) {
596
+ function En(e) {
597
597
  return Array.isArray(e) ? [] : {};
598
598
  }
599
599
  function Ne(e, t) {
600
- return t.clone !== !1 && t.isMergeableObject(e) ? Le(vn(e), e, t) : e;
600
+ return t.clone !== !1 && t.isMergeableObject(e) ? Le(En(e), e, t) : e;
601
601
  }
602
- function _n(e, t, r) {
602
+ function xn(e, t, r) {
603
603
  return e.concat(t).map(function(n) {
604
604
  return Ne(n, r);
605
605
  });
606
606
  }
607
- function En(e, t) {
607
+ function Ln(e, t) {
608
608
  if (!t.customMerge)
609
609
  return Le;
610
610
  var r = t.customMerge(e);
611
611
  return typeof r == "function" ? r : Le;
612
612
  }
613
- function xn(e) {
613
+ function wn(e) {
614
614
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
615
615
  return Object.propertyIsEnumerable.call(e, t);
616
616
  }) : [];
617
617
  }
618
- function At(e) {
619
- return Object.keys(e).concat(xn(e));
618
+ function Bt(e) {
619
+ return Object.keys(e).concat(wn(e));
620
620
  }
621
- function ar(e, t) {
621
+ function ur(e, t) {
622
622
  try {
623
623
  return t in e;
624
624
  } catch (r) {
625
625
  return !1;
626
626
  }
627
627
  }
628
- function Ln(e, t) {
629
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
628
+ function Mn(e, t) {
629
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
630
630
  }
631
- function wn(e, t, r) {
631
+ function Cn(e, t, r) {
632
632
  var n = {};
633
- return r.isMergeableObject(e) && At(e).forEach(function(i) {
633
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
634
634
  n[i] = Ne(e[i], r);
635
- }), At(t).forEach(function(i) {
636
- Ln(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = Ne(t[i], r));
635
+ }), Bt(t).forEach(function(i) {
636
+ Mn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = Ne(t[i], r));
637
637
  }), n;
638
638
  }
639
639
  function Le(e, t, r) {
640
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = Ne;
640
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = Ne;
641
641
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
642
- return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : Ne(t, r);
642
+ return s ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : Ne(t, r);
643
643
  }
644
644
  Le.all = function(t, r) {
645
645
  if (!Array.isArray(t))
@@ -648,8 +648,8 @@ Le.all = function(t, r) {
648
648
  return Le(n, i, r);
649
649
  }, {});
650
650
  };
651
- var Mn = Le, Cn = Mn;
652
- const Sn = /* @__PURE__ */ xt(Cn);
651
+ var Sn = Le, Hn = Sn;
652
+ const Tn = /* @__PURE__ */ xt(Hn);
653
653
  /*! *****************************************************************************
654
654
  Copyright (c) Microsoft Corporation.
655
655
 
@@ -681,17 +681,17 @@ function Qe(e, t) {
681
681
  }
682
682
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
683
683
  }
684
- var O = function() {
685
- return O = Object.assign || function(t) {
684
+ var A = function() {
685
+ return A = Object.assign || function(t) {
686
686
  for (var r, n = 1, i = arguments.length; n < i; n++) {
687
687
  r = arguments[n];
688
688
  for (var s in r)
689
689
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
690
690
  }
691
691
  return t;
692
- }, O.apply(this, arguments);
692
+ }, A.apply(this, arguments);
693
693
  };
694
- function Hn(e, t) {
694
+ function An(e, t) {
695
695
  var r = {};
696
696
  for (var n in e)
697
697
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -707,53 +707,55 @@ function nt(e, t, r) {
707
707
  return e.concat(s || t);
708
708
  }
709
709
  function it(e, t) {
710
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : An;
710
+ var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : $n;
711
711
  return i(e, {
712
712
  cache: r,
713
713
  serializer: n
714
714
  });
715
715
  }
716
- function Tn(e) {
716
+ function On(e) {
717
717
  return e == null || typeof e == "number" || typeof e == "boolean";
718
718
  }
719
- function On(e, t, r, n) {
720
- var i = Tn(n) ? n : r(n), s = t.get(i);
719
+ function hr(e, t, r, n) {
720
+ var i = On(n) ? n : r(n), s = t.get(i);
721
721
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
722
722
  }
723
- function lr(e, t, r) {
723
+ function cr(e, t, r) {
724
724
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
725
725
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
726
726
  }
727
- function ur(e, t, r, n, i) {
727
+ function Lt(e, t, r, n, i) {
728
728
  return r.bind(t, e, n, i);
729
729
  }
730
- function An(e, t) {
731
- var r = e.length === 1 ? On : lr;
732
- return ur(e, this, r, t.cache.create(), t.serializer);
733
- }
734
730
  function $n(e, t) {
735
- return ur(e, this, lr, t.cache.create(), t.serializer);
731
+ var r = e.length === 1 ? hr : cr;
732
+ return Lt(e, this, r, t.cache.create(), t.serializer);
733
+ }
734
+ function Bn(e, t) {
735
+ return Lt(e, this, cr, t.cache.create(), t.serializer);
736
+ }
737
+ function Pn(e, t) {
738
+ return Lt(e, this, hr, t.cache.create(), t.serializer);
736
739
  }
737
- var Bn = function() {
740
+ var Nn = function() {
738
741
  return JSON.stringify(arguments);
739
- }, Pn = (
740
- /** @class */
741
- function() {
742
- function e() {
743
- this.cache = /* @__PURE__ */ Object.create(null);
744
- }
745
- return e.prototype.get = function(t) {
746
- return this.cache[t];
747
- }, e.prototype.set = function(t, r) {
748
- this.cache[t] = r;
749
- }, e;
750
- }()
751
- ), Nn = {
742
+ };
743
+ function wt() {
744
+ this.cache = /* @__PURE__ */ Object.create(null);
745
+ }
746
+ wt.prototype.get = function(e) {
747
+ return this.cache[e];
748
+ };
749
+ wt.prototype.set = function(e, t) {
750
+ this.cache[e] = t;
751
+ };
752
+ var Dn = {
752
753
  create: function() {
753
- return new Pn();
754
+ return new wt();
754
755
  }
755
756
  }, st = {
756
- variadic: $n
757
+ variadic: Bn,
758
+ monadic: Pn
757
759
  }, S;
758
760
  (function(e) {
759
761
  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";
@@ -766,43 +768,43 @@ var we;
766
768
  (function(e) {
767
769
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
768
770
  })(we || (we = {}));
769
- function $t(e) {
771
+ function Pt(e) {
770
772
  return e.type === U.literal;
771
773
  }
772
- function Dn(e) {
774
+ function In(e) {
773
775
  return e.type === U.argument;
774
776
  }
775
- function hr(e) {
777
+ function fr(e) {
776
778
  return e.type === U.number;
777
779
  }
778
- function cr(e) {
780
+ function mr(e) {
779
781
  return e.type === U.date;
780
782
  }
781
- function fr(e) {
783
+ function dr(e) {
782
784
  return e.type === U.time;
783
785
  }
784
- function mr(e) {
786
+ function pr(e) {
785
787
  return e.type === U.select;
786
788
  }
787
- function dr(e) {
789
+ function gr(e) {
788
790
  return e.type === U.plural;
789
791
  }
790
- function In(e) {
792
+ function Rn(e) {
791
793
  return e.type === U.pound;
792
794
  }
793
- function pr(e) {
795
+ function br(e) {
794
796
  return e.type === U.tag;
795
797
  }
796
- function gr(e) {
798
+ function yr(e) {
797
799
  return !!(e && typeof e == "object" && e.type === we.number);
798
800
  }
799
801
  function dt(e) {
800
802
  return !!(e && typeof e == "object" && e.type === we.dateTime);
801
803
  }
802
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
803
- function Un(e) {
804
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
805
+ function Gn(e) {
804
806
  var t = {};
805
- return e.replace(Rn, function(r) {
807
+ return e.replace(Un, function(r) {
806
808
  var n = r.length;
807
809
  switch (r[0]) {
808
810
  case "G":
@@ -891,11 +893,11 @@ function Un(e) {
891
893
  return "";
892
894
  }), t;
893
895
  }
894
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
895
- function kn(e) {
896
+ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
897
+ function Fn(e) {
896
898
  if (e.length === 0)
897
899
  throw new Error("Number skeleton cannot be empty");
898
- for (var t = e.split(Gn).filter(function(d) {
900
+ for (var t = e.split(kn).filter(function(d) {
899
901
  return d.length > 0;
900
902
  }), r = [], n = 0, i = t; n < i.length; n++) {
901
903
  var s = i[n], o = s.split("/");
@@ -910,17 +912,17 @@ function kn(e) {
910
912
  }
911
913
  return r;
912
914
  }
913
- function Fn(e) {
915
+ function jn(e) {
914
916
  return e.replace(/^(.*?)-/, "");
915
917
  }
916
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
917
- function Pt(e) {
918
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
919
+ function Dt(e) {
918
920
  var t = {};
919
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
921
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
920
922
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
921
923
  }), t;
922
924
  }
923
- function _r(e) {
925
+ function xr(e) {
924
926
  switch (e) {
925
927
  case "sign-auto":
926
928
  return {
@@ -960,7 +962,7 @@ function _r(e) {
960
962
  };
961
963
  }
962
964
  }
963
- function Zn(e) {
965
+ function Vn(e) {
964
966
  var t;
965
967
  if (e[0] === "E" && e[1] === "E" ? (t = {
966
968
  notation: "engineering"
@@ -968,17 +970,17 @@ function Zn(e) {
968
970
  notation: "scientific"
969
971
  }, e = e.slice(1)), t) {
970
972
  var r = e.slice(0, 2);
971
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
973
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Er.test(e))
972
974
  throw new Error("Malformed concise eng/scientific notation");
973
975
  t.minimumIntegerDigits = e.length;
974
976
  }
975
977
  return t;
976
978
  }
977
- function Nt(e) {
978
- var t = {}, r = _r(e);
979
+ function It(e) {
980
+ var t = {}, r = xr(e);
979
981
  return r || t;
980
982
  }
981
- function Vn(e) {
983
+ function Xn(e) {
982
984
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
983
985
  var i = n[r];
984
986
  switch (i.stem) {
@@ -1002,7 +1004,7 @@ function Vn(e) {
1002
1004
  continue;
1003
1005
  case "measure-unit":
1004
1006
  case "unit":
1005
- t.style = "unit", t.unit = Fn(i.options[0]);
1007
+ t.style = "unit", t.unit = jn(i.options[0]);
1006
1008
  continue;
1007
1009
  case "compact-short":
1008
1010
  case "K":
@@ -1013,13 +1015,13 @@ function Vn(e) {
1013
1015
  t.notation = "compact", t.compactDisplay = "long";
1014
1016
  continue;
1015
1017
  case "scientific":
1016
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1017
- return O(O({}, u), Nt(l));
1018
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1019
+ return A(A({}, u), It(l));
1018
1020
  }, {}));
1019
1021
  continue;
1020
1022
  case "engineering":
1021
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1022
- return O(O({}, u), Nt(l));
1023
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1024
+ return A(A({}, u), It(l));
1023
1025
  }, {}));
1024
1026
  continue;
1025
1027
  case "notation-simple":
@@ -1064,7 +1066,7 @@ function Vn(e) {
1064
1066
  case "integer-width":
1065
1067
  if (i.options.length > 1)
1066
1068
  throw new RangeError("integer-width stems only accept a single optional option");
1067
- i.options[0].replace(jn, function(u, l, h, c, d, _) {
1069
+ i.options[0].replace(Zn, function(u, l, h, c, d, _) {
1068
1070
  if (l)
1069
1071
  t.minimumIntegerDigits = h.length;
1070
1072
  else {
@@ -1077,28 +1079,28 @@ function Vn(e) {
1077
1079
  });
1078
1080
  continue;
1079
1081
  }
1080
- if (vr.test(i.stem)) {
1082
+ if (Er.test(i.stem)) {
1081
1083
  t.minimumIntegerDigits = i.stem.length;
1082
1084
  continue;
1083
1085
  }
1084
- if (Bt.test(i.stem)) {
1086
+ if (Nt.test(i.stem)) {
1085
1087
  if (i.options.length > 1)
1086
1088
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1087
- i.stem.replace(Bt, function(u, l, h, c, d, _) {
1089
+ i.stem.replace(Nt, function(u, l, h, c, d, _) {
1088
1090
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && _ ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1089
1091
  });
1090
1092
  var s = i.options[0];
1091
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Pt(s)));
1093
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Dt(s)));
1092
1094
  continue;
1093
1095
  }
1094
- if (yr.test(i.stem)) {
1095
- t = O(O({}, t), Pt(i.stem));
1096
+ if (_r.test(i.stem)) {
1097
+ t = A(A({}, t), Dt(i.stem));
1096
1098
  continue;
1097
1099
  }
1098
- var o = _r(i.stem);
1099
- o && (t = O(O({}, t), o));
1100
- var a = Zn(i.stem);
1101
- a && (t = O(O({}, t), a));
1100
+ var o = xr(i.stem);
1101
+ o && (t = A(A({}, t), o));
1102
+ var a = Vn(i.stem);
1103
+ a && (t = A(A({}, t), a));
1102
1104
  }
1103
1105
  return t;
1104
1106
  }
@@ -2517,13 +2519,13 @@ var Fe = {
2517
2519
  "h"
2518
2520
  ]
2519
2521
  };
2520
- function Xn(e, t) {
2522
+ function Wn(e, t) {
2521
2523
  for (var r = "", n = 0; n < e.length; n++) {
2522
2524
  var i = e.charAt(n);
2523
2525
  if (i === "j") {
2524
2526
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2525
2527
  s++, n++;
2526
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = Wn(t);
2528
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = zn(t);
2527
2529
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2528
2530
  r += u;
2529
2531
  for (; o-- > 0; )
@@ -2533,7 +2535,7 @@ function Xn(e, t) {
2533
2535
  }
2534
2536
  return r;
2535
2537
  }
2536
- function Wn(e) {
2538
+ function zn(e) {
2537
2539
  var t = e.hourCycle;
2538
2540
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2539
2541
  e.hourCycles && // @ts-ignore
@@ -2555,20 +2557,20 @@ function Wn(e) {
2555
2557
  var i = Fe[n || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2556
2558
  return i[0];
2557
2559
  }
2558
- var ot, zn = new RegExp("^".concat(br.source, "*")), Yn = new RegExp("".concat(br.source, "*$"));
2560
+ var ot, Yn = new RegExp("^".concat(vr.source, "*")), Jn = new RegExp("".concat(vr.source, "*$"));
2559
2561
  function H(e, t) {
2560
2562
  return { start: e, end: t };
2561
2563
  }
2562
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2564
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
2563
2565
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2564
2566
  }, pt = !0;
2565
2567
  try {
2566
- var ii = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2567
- pt = ((ot = ii.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2568
+ var si = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
+ pt = ((ot = si.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2568
2570
  } catch (e) {
2569
2571
  pt = !1;
2570
2572
  }
2571
- var Dt = Jn ? (
2573
+ var Rt = Qn ? (
2572
2574
  // Native
2573
2575
  function(t, r, n) {
2574
2576
  return t.startsWith(r, n);
@@ -2578,7 +2580,7 @@ var Dt = Jn ? (
2578
2580
  function(t, r, n) {
2579
2581
  return t.slice(n, n + r.length) === r;
2580
2582
  }
2581
- ), gt = Qn ? String.fromCodePoint : (
2583
+ ), gt = qn ? String.fromCodePoint : (
2582
2584
  // IE11
2583
2585
  function() {
2584
2586
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2590,9 +2592,9 @@ var Dt = Jn ? (
2590
2592
  }
2591
2593
  return n;
2592
2594
  }
2593
- ), It = (
2595
+ ), Ut = (
2594
2596
  // native
2595
- qn ? Object.fromEntries : (
2597
+ Kn ? Object.fromEntries : (
2596
2598
  // Ponyfill
2597
2599
  function(t) {
2598
2600
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2602,7 +2604,7 @@ var Dt = Jn ? (
2602
2604
  return r;
2603
2605
  }
2604
2606
  )
2605
- ), Er = Kn ? (
2607
+ ), Lr = ei ? (
2606
2608
  // Native
2607
2609
  function(t, r) {
2608
2610
  return t.codePointAt(r);
@@ -2616,7 +2618,7 @@ var Dt = Jn ? (
2616
2618
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2617
2619
  }
2618
2620
  }
2619
- ), si = ei ? (
2621
+ ), oi = ti ? (
2620
2622
  // Native
2621
2623
  function(t) {
2622
2624
  return t.trimStart();
@@ -2624,9 +2626,9 @@ var Dt = Jn ? (
2624
2626
  ) : (
2625
2627
  // Ponyfill
2626
2628
  function(t) {
2627
- return t.replace(zn, "");
2629
+ return t.replace(Yn, "");
2628
2630
  }
2629
- ), oi = ti ? (
2631
+ ), ai = ri ? (
2630
2632
  // Native
2631
2633
  function(t) {
2632
2634
  return t.trimEnd();
@@ -2634,32 +2636,32 @@ var Dt = Jn ? (
2634
2636
  ) : (
2635
2637
  // Ponyfill
2636
2638
  function(t) {
2637
- return t.replace(Yn, "");
2639
+ return t.replace(Jn, "");
2638
2640
  }
2639
2641
  );
2640
- function xr(e, t) {
2642
+ function wr(e, t) {
2641
2643
  return new RegExp(e, t);
2642
2644
  }
2643
2645
  var bt;
2644
2646
  if (pt) {
2645
- var Rt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2647
+ var Gt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2646
2648
  bt = function(t, r) {
2647
2649
  var n;
2648
- Rt.lastIndex = r;
2649
- var i = Rt.exec(t);
2650
+ Gt.lastIndex = r;
2651
+ var i = Gt.exec(t);
2650
2652
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2651
2653
  };
2652
2654
  } else
2653
2655
  bt = function(t, r) {
2654
2656
  for (var n = []; ; ) {
2655
- var i = Er(t, r);
2656
- if (i === void 0 || Lr(i) || hi(i))
2657
+ var i = Lr(t, r);
2658
+ if (i === void 0 || Mr(i) || ci(i))
2657
2659
  break;
2658
2660
  n.push(i), r += i >= 65536 ? 2 : 1;
2659
2661
  }
2660
2662
  return gt.apply(void 0, n);
2661
2663
  };
2662
- var ai = (
2664
+ var li = (
2663
2665
  /** @class */
2664
2666
  function() {
2665
2667
  function e(t, r) {
@@ -2741,7 +2743,7 @@ var ai = (
2741
2743
  return this.error(S.INVALID_TAG, H(n, this.clonePosition()));
2742
2744
  }, e.prototype.parseTagName = function() {
2743
2745
  var t = this.offset();
2744
- for (this.bump(); !this.isEOF() && ui(this.char()); )
2746
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
2745
2747
  this.bump();
2746
2748
  return this.message.slice(t, this.offset());
2747
2749
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2770,7 +2772,7 @@ var ai = (
2770
2772
  };
2771
2773
  }, e.prototype.tryParseLeftAngleBracket = function() {
2772
2774
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2773
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
2775
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2774
2776
  }, e.prototype.tryParseQuote = function(t) {
2775
2777
  if (this.isEOF() || this.char() !== 39)
2776
2778
  return null;
@@ -2857,7 +2859,7 @@ var ai = (
2857
2859
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2858
2860
  if (c.err)
2859
2861
  return c;
2860
- var d = oi(c.val);
2862
+ var d = ai(c.val);
2861
2863
  if (d.length === 0)
2862
2864
  return this.error(S.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2863
2865
  var _ = H(h, this.clonePosition());
@@ -2867,8 +2869,8 @@ var ai = (
2867
2869
  if (E.err)
2868
2870
  return E;
2869
2871
  var f = H(i, this.clonePosition());
2870
- if (l && Dt(l == null ? void 0 : l.style, "::", 0)) {
2871
- var w = si(l.style.slice(2));
2872
+ if (l && Rt(l == null ? void 0 : l.style, "::", 0)) {
2873
+ var w = oi(l.style.slice(2));
2872
2874
  if (a === "number") {
2873
2875
  var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
2874
2876
  return c.err ? c : {
@@ -2879,12 +2881,12 @@ var ai = (
2879
2881
  if (w.length === 0)
2880
2882
  return this.error(S.EXPECT_DATE_TIME_SKELETON, f);
2881
2883
  var P = w;
2882
- this.locale && (P = Xn(w, this.locale));
2884
+ this.locale && (P = Wn(w, this.locale));
2883
2885
  var d = {
2884
2886
  type: we.dateTime,
2885
2887
  pattern: P,
2886
2888
  location: l.styleLocation,
2887
- parsedOptions: this.shouldParseSkeletons ? Un(P) : {}
2889
+ parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
2888
2890
  }, I = a === "date" ? U.date : U.time;
2889
2891
  return {
2890
2892
  val: { type: I, value: n, location: f, style: d },
@@ -2907,7 +2909,7 @@ var ai = (
2907
2909
  case "select": {
2908
2910
  var T = this.clonePosition();
2909
2911
  if (this.bumpSpace(), !this.bumpIf(","))
2910
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(T, O({}, T)));
2912
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(T, A({}, T)));
2911
2913
  this.bumpSpace();
2912
2914
  var R = this.parseIdentifierIfPossible(), N = 0;
2913
2915
  if (a !== "select" && R.value === "offset") {
@@ -2930,7 +2932,7 @@ var ai = (
2930
2932
  val: {
2931
2933
  type: U.select,
2932
2934
  value: n,
2933
- options: It(j.val),
2935
+ options: Ut(j.val),
2934
2936
  location: F
2935
2937
  },
2936
2938
  err: null
@@ -2938,7 +2940,7 @@ var ai = (
2938
2940
  val: {
2939
2941
  type: U.plural,
2940
2942
  value: n,
2941
- options: It(j.val),
2943
+ options: Ut(j.val),
2942
2944
  offset: N,
2943
2945
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2944
2946
  location: F
@@ -2989,7 +2991,7 @@ var ai = (
2989
2991
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2990
2992
  var n = [];
2991
2993
  try {
2992
- n = kn(t);
2994
+ n = Fn(t);
2993
2995
  } catch (i) {
2994
2996
  return this.error(S.INVALID_NUMBER_SKELETON, r);
2995
2997
  }
@@ -2998,7 +3000,7 @@ var ai = (
2998
3000
  type: we.number,
2999
3001
  tokens: n,
3000
3002
  location: r,
3001
- parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3003
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3002
3004
  },
3003
3005
  err: null
3004
3006
  };
@@ -3046,7 +3048,7 @@ var ai = (
3046
3048
  break;
3047
3049
  }
3048
3050
  var u = H(i, this.clonePosition());
3049
- return s ? (o *= n, ni(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3051
+ return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3050
3052
  }, e.prototype.offset = function() {
3051
3053
  return this.position.offset;
3052
3054
  }, e.prototype.isEOF = function() {
@@ -3061,7 +3063,7 @@ var ai = (
3061
3063
  var t = this.position.offset;
3062
3064
  if (t >= this.message.length)
3063
3065
  throw Error("out of bound");
3064
- var r = Er(this.message, t);
3066
+ var r = Lr(this.message, t);
3065
3067
  if (r === void 0)
3066
3068
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3067
3069
  return r;
@@ -3080,7 +3082,7 @@ var ai = (
3080
3082
  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);
3081
3083
  }
3082
3084
  }, e.prototype.bumpIf = function(t) {
3083
- if (Dt(this.message, t, this.offset())) {
3085
+ if (Rt(this.message, t, this.offset())) {
3084
3086
  for (var r = 0; r < t.length; r++)
3085
3087
  this.bump();
3086
3088
  return !0;
@@ -3102,7 +3104,7 @@ var ai = (
3102
3104
  break;
3103
3105
  }
3104
3106
  }, e.prototype.bumpSpace = function() {
3105
- for (; !this.isEOF() && Lr(this.char()); )
3107
+ for (; !this.isEOF() && Mr(this.char()); )
3106
3108
  this.bump();
3107
3109
  }, e.prototype.peek = function() {
3108
3110
  if (this.isEOF())
@@ -3115,30 +3117,30 @@ var ai = (
3115
3117
  function yt(e) {
3116
3118
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3117
3119
  }
3118
- function li(e) {
3120
+ function ui(e) {
3119
3121
  return yt(e) || e === 47;
3120
3122
  }
3121
- function ui(e) {
3123
+ function hi(e) {
3122
3124
  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;
3123
3125
  }
3124
- function Lr(e) {
3126
+ function Mr(e) {
3125
3127
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3126
3128
  }
3127
- function hi(e) {
3129
+ function ci(e) {
3128
3130
  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;
3129
3131
  }
3130
3132
  function vt(e) {
3131
3133
  e.forEach(function(t) {
3132
- if (delete t.location, mr(t) || dr(t))
3134
+ if (delete t.location, pr(t) || gr(t))
3133
3135
  for (var r in t.options)
3134
3136
  delete t.options[r].location, vt(t.options[r].value);
3135
3137
  else
3136
- hr(t) && gr(t.style) || (cr(t) || fr(t)) && dt(t.style) ? delete t.style.location : pr(t) && vt(t.children);
3138
+ fr(t) && yr(t.style) || (mr(t) || dr(t)) && dt(t.style) ? delete t.style.location : br(t) && vt(t.children);
3137
3139
  });
3138
3140
  }
3139
- function ci(e, t) {
3140
- t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3141
- var r = new ai(e, t).parse();
3141
+ function fi(e, t) {
3142
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3143
+ var r = new li(e, t).parse();
3142
3144
  if (r.err) {
3143
3145
  var n = SyntaxError(S[r.err.kind]);
3144
3146
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3161,7 +3163,7 @@ var qe = (
3161
3163
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3162
3164
  }, t;
3163
3165
  }(Error)
3164
- ), Ut = (
3166
+ ), kt = (
3165
3167
  /** @class */
3166
3168
  function(e) {
3167
3169
  Qe(t, e);
@@ -3170,7 +3172,7 @@ var qe = (
3170
3172
  }
3171
3173
  return t;
3172
3174
  }(qe)
3173
- ), fi = (
3175
+ ), mi = (
3174
3176
  /** @class */
3175
3177
  function(e) {
3176
3178
  Qe(t, e);
@@ -3179,7 +3181,7 @@ var qe = (
3179
3181
  }
3180
3182
  return t;
3181
3183
  }(qe)
3182
- ), mi = (
3184
+ ), di = (
3183
3185
  /** @class */
3184
3186
  function(e) {
3185
3187
  Qe(t, e);
@@ -3192,17 +3194,17 @@ var qe = (
3192
3194
  (function(e) {
3193
3195
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3194
3196
  })(J || (J = {}));
3195
- function di(e) {
3197
+ function pi(e) {
3196
3198
  return e.length < 2 ? e : e.reduce(function(t, r) {
3197
3199
  var n = t[t.length - 1];
3198
3200
  return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3199
3201
  }, []);
3200
3202
  }
3201
- function pi(e) {
3203
+ function gi(e) {
3202
3204
  return typeof e == "function";
3203
3205
  }
3204
3206
  function Ze(e, t, r, n, i, s, o) {
3205
- if (e.length === 1 && $t(e[0]))
3207
+ if (e.length === 1 && Pt(e[0]))
3206
3208
  return [
3207
3209
  {
3208
3210
  type: J.literal,
@@ -3211,14 +3213,14 @@ function Ze(e, t, r, n, i, s, o) {
3211
3213
  ];
3212
3214
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3213
3215
  var h = l[u];
3214
- if ($t(h)) {
3216
+ if (Pt(h)) {
3215
3217
  a.push({
3216
3218
  type: J.literal,
3217
3219
  value: h.value
3218
3220
  });
3219
3221
  continue;
3220
3222
  }
3221
- if (In(h)) {
3223
+ if (Rn(h)) {
3222
3224
  typeof s == "number" && a.push({
3223
3225
  type: J.literal,
3224
3226
  value: r.getNumberFormat(t).format(s)
@@ -3227,16 +3229,16 @@ function Ze(e, t, r, n, i, s, o) {
3227
3229
  }
3228
3230
  var c = h.value;
3229
3231
  if (!(i && c in i))
3230
- throw new mi(c, o);
3232
+ throw new di(c, o);
3231
3233
  var d = i[c];
3232
- if (Dn(h)) {
3234
+ if (In(h)) {
3233
3235
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3234
3236
  type: typeof d == "string" ? J.literal : J.object,
3235
3237
  value: d
3236
3238
  });
3237
3239
  continue;
3238
3240
  }
3239
- if (cr(h)) {
3241
+ if (mr(h)) {
3240
3242
  var _ = typeof h.style == "string" ? n.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3241
3243
  a.push({
3242
3244
  type: J.literal,
@@ -3244,7 +3246,7 @@ function Ze(e, t, r, n, i, s, o) {
3244
3246
  });
3245
3247
  continue;
3246
3248
  }
3247
- if (fr(h)) {
3249
+ if (dr(h)) {
3248
3250
  var _ = typeof h.style == "string" ? n.time[h.style] : dt(h.style) ? h.style.parsedOptions : n.time.medium;
3249
3251
  a.push({
3250
3252
  type: J.literal,
@@ -3252,18 +3254,18 @@ function Ze(e, t, r, n, i, s, o) {
3252
3254
  });
3253
3255
  continue;
3254
3256
  }
3255
- if (hr(h)) {
3256
- var _ = typeof h.style == "string" ? n.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3257
+ if (fr(h)) {
3258
+ var _ = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
3257
3259
  _ && _.scale && (d = d * (_.scale || 1)), a.push({
3258
3260
  type: J.literal,
3259
3261
  value: r.getNumberFormat(t, _).format(d)
3260
3262
  });
3261
3263
  continue;
3262
3264
  }
3263
- if (pr(h)) {
3265
+ if (br(h)) {
3264
3266
  var E = h.children, f = h.value, w = i[f];
3265
- if (!pi(w))
3266
- throw new fi(f, "function", o);
3267
+ if (!gi(w))
3268
+ throw new mi(f, "function", o);
3267
3269
  var P = Ze(E, t, r, n, i, s), I = w(P.map(function(N) {
3268
3270
  return N.value;
3269
3271
  }));
@@ -3274,14 +3276,14 @@ function Ze(e, t, r, n, i, s, o) {
3274
3276
  };
3275
3277
  }));
3276
3278
  }
3277
- if (mr(h)) {
3279
+ if (pr(h)) {
3278
3280
  var T = h.options[d] || h.options.other;
3279
3281
  if (!T)
3280
- throw new Ut(h.value, d, Object.keys(h.options), o);
3282
+ throw new kt(h.value, d, Object.keys(h.options), o);
3281
3283
  a.push.apply(a, Ze(T.value, t, r, n, i));
3282
3284
  continue;
3283
3285
  }
3284
- if (dr(h)) {
3286
+ if (gr(h)) {
3285
3287
  var T = h.options["=".concat(d)];
3286
3288
  if (!T) {
3287
3289
  if (!Intl.PluralRules)
@@ -3292,22 +3294,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3292
3294
  T = h.options[R] || h.options.other;
3293
3295
  }
3294
3296
  if (!T)
3295
- throw new Ut(h.value, d, Object.keys(h.options), o);
3297
+ throw new kt(h.value, d, Object.keys(h.options), o);
3296
3298
  a.push.apply(a, Ze(T.value, t, r, n, i, d - (h.offset || 0)));
3297
3299
  continue;
3298
3300
  }
3299
3301
  }
3300
- return di(a);
3302
+ return pi(a);
3301
3303
  }
3302
- function gi(e, t) {
3303
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3304
- return r[n] = O(O({}, e[n]), t[n] || {}), r;
3304
+ function bi(e, t) {
3305
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3306
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3305
3307
  }, {})) : e;
3306
3308
  }
3307
- function bi(e, t) {
3309
+ function yi(e, t) {
3308
3310
  return t ? Object.keys(e).reduce(function(r, n) {
3309
- return r[n] = gi(e[n], t[n]), r;
3310
- }, O({}, e)) : e;
3311
+ return r[n] = bi(e[n], t[n]), r;
3312
+ }, A({}, e)) : e;
3311
3313
  }
3312
3314
  function at(e) {
3313
3315
  return {
@@ -3323,7 +3325,7 @@ function at(e) {
3323
3325
  }
3324
3326
  };
3325
3327
  }
3326
- function yi(e) {
3328
+ function vi(e) {
3327
3329
  return e === void 0 && (e = {
3328
3330
  number: {},
3329
3331
  dateTime: {},
@@ -3355,7 +3357,7 @@ function yi(e) {
3355
3357
  })
3356
3358
  };
3357
3359
  }
3358
- var wr = (
3360
+ var Cr = (
3359
3361
  /** @class */
3360
3362
  function() {
3361
3363
  function e(t, r, n, i) {
@@ -3387,13 +3389,13 @@ var wr = (
3387
3389
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3388
3390
  var o = i || {};
3389
3391
  o.formatters;
3390
- var a = Hn(o, ["formatters"]);
3391
- this.ast = e.__parse(t, O(O({}, a), { locale: this.resolvedLocale }));
3392
+ var a = An(o, ["formatters"]);
3393
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3392
3394
  } else
3393
3395
  this.ast = t;
3394
3396
  if (!Array.isArray(this.ast))
3395
3397
  throw new TypeError("A message must be provided as a String or AST.");
3396
- this.formats = bi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3398
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3397
3399
  }
3398
3400
  return Object.defineProperty(e, "defaultLocale", {
3399
3401
  get: function() {
@@ -3406,7 +3408,7 @@ var wr = (
3406
3408
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3407
3409
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3408
3410
  }
3409
- }, e.__parse = ci, e.formats = {
3411
+ }, e.__parse = fi, e.formats = {
3410
3412
  number: {
3411
3413
  integer: {
3412
3414
  maximumFractionDigits: 0
@@ -3467,7 +3469,7 @@ var wr = (
3467
3469
  }, e;
3468
3470
  }()
3469
3471
  );
3470
- function vi(e, t) {
3472
+ function _i(e, t) {
3471
3473
  if (t == null)
3472
3474
  return;
3473
3475
  if (t in e)
@@ -3488,60 +3490,60 @@ function vi(e, t) {
3488
3490
  n = void 0;
3489
3491
  return n;
3490
3492
  }
3491
- const de = {}, _i = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Mr = (e, t) => {
3493
+ const de = {}, Ei = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Sr = (e, t) => {
3492
3494
  if (t == null)
3493
3495
  return;
3494
3496
  if (t in de && e in de[t])
3495
3497
  return de[t][e];
3496
3498
  const r = Re(t);
3497
3499
  for (let n = 0; n < r.length; n++) {
3498
- const i = r[n], s = xi(i, e);
3500
+ const i = r[n], s = Li(i, e);
3499
3501
  if (s)
3500
- return _i(e, t, s);
3502
+ return Ei(e, t, s);
3501
3503
  }
3502
3504
  };
3503
- let Lt;
3505
+ let Mt;
3504
3506
  const Ie = Je({});
3505
- function Ei(e) {
3506
- return Lt[e] || null;
3507
+ function xi(e) {
3508
+ return Mt[e] || null;
3507
3509
  }
3508
- function Cr(e) {
3509
- return e in Lt;
3510
+ function Hr(e) {
3511
+ return e in Mt;
3510
3512
  }
3511
- function xi(e, t) {
3512
- if (!Cr(e))
3513
+ function Li(e, t) {
3514
+ if (!Hr(e))
3513
3515
  return null;
3514
- const r = Ei(e);
3515
- return vi(r, t);
3516
+ const r = xi(e);
3517
+ return _i(r, t);
3516
3518
  }
3517
- function Li(e) {
3519
+ function wi(e) {
3518
3520
  if (e == null)
3519
3521
  return;
3520
3522
  const t = Re(e);
3521
3523
  for (let r = 0; r < t.length; r++) {
3522
3524
  const n = t[r];
3523
- if (Cr(n))
3525
+ if (Hr(n))
3524
3526
  return n;
3525
3527
  }
3526
3528
  }
3527
- function Sr(e, ...t) {
3528
- delete de[e], Ie.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3529
+ function Tr(e, ...t) {
3530
+ delete de[e], Ie.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
3529
3531
  }
3530
3532
  He(
3531
3533
  [Ie],
3532
3534
  ([e]) => Object.keys(e)
3533
3535
  );
3534
- Ie.subscribe((e) => Lt = e);
3536
+ Ie.subscribe((e) => Mt = e);
3535
3537
  const Ve = {};
3536
- function wi(e, t) {
3538
+ function Mi(e, t) {
3537
3539
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3538
3540
  }
3539
- function Hr(e) {
3541
+ function Ar(e) {
3540
3542
  return Ve[e];
3541
3543
  }
3542
- function Mi(e) {
3544
+ function Ci(e) {
3543
3545
  return Re(e).map((t) => {
3544
- const r = Hr(t);
3546
+ const r = Ar(t);
3545
3547
  return [t, r ? [...r] : []];
3546
3548
  }).filter(([, t]) => t.length > 0);
3547
3549
  }
@@ -3549,37 +3551,37 @@ function We(e) {
3549
3551
  return e == null ? !1 : Re(e).some(
3550
3552
  (t) => {
3551
3553
  var r;
3552
- return (r = Hr(t)) == null ? void 0 : r.size;
3554
+ return (r = Ar(t)) == null ? void 0 : r.size;
3553
3555
  }
3554
3556
  );
3555
3557
  }
3556
- function Ci(e, t) {
3558
+ function Si(e, t) {
3557
3559
  return Promise.all(
3558
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3559
- ).then((n) => Sr(e, ...n));
3560
+ t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
3561
+ ).then((n) => Tr(e, ...n));
3560
3562
  }
3561
- const Oe = {};
3562
- function Tr(e) {
3563
+ const Ae = {};
3564
+ function Or(e) {
3563
3565
  if (!We(e))
3564
- return e in Oe ? Oe[e] : Promise.resolve();
3565
- const t = Mi(e);
3566
- return Oe[e] = Promise.all(
3566
+ return e in Ae ? Ae[e] : Promise.resolve();
3567
+ const t = Ci(e);
3568
+ return Ae[e] = Promise.all(
3567
3569
  t.map(
3568
- ([r, n]) => Ci(r, n)
3570
+ ([r, n]) => Si(r, n)
3569
3571
  )
3570
3572
  ).then(() => {
3571
3573
  if (We(e))
3572
- return Tr(e);
3573
- delete Oe[e];
3574
- }), Oe[e];
3574
+ return Or(e);
3575
+ delete Ae[e];
3576
+ }), Ae[e];
3575
3577
  }
3576
- var Gt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Ti = (e, t) => {
3578
+ var Ft = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Ai = (e, t) => {
3577
3579
  var r = {};
3578
3580
  for (var n in e)
3579
- Si.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3580
- if (e != null && Gt)
3581
- for (var n of Gt(e))
3582
- t.indexOf(n) < 0 && Hi.call(e, n) && (r[n] = e[n]);
3581
+ Hi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3582
+ if (e != null && Ft)
3583
+ for (var n of Ft(e))
3584
+ t.indexOf(n) < 0 && Ti.call(e, n) && (r[n] = e[n]);
3583
3585
  return r;
3584
3586
  };
3585
3587
  const Oi = {
@@ -3612,7 +3614,7 @@ const Oi = {
3612
3614
  }
3613
3615
  }
3614
3616
  };
3615
- function Ai({ locale: e, id: t }) {
3617
+ function $i({ locale: e, id: t }) {
3616
3618
  console.warn(
3617
3619
  `[svelte-i18n] The message "${t}" was not found in "${Re(
3618
3620
  e
@@ -3621,49 +3623,49 @@ function Ai({ locale: e, id: t }) {
3621
3623
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3622
3624
  );
3623
3625
  }
3624
- const $i = {
3626
+ const Bi = {
3625
3627
  fallbackLocale: null,
3626
3628
  loadingDelay: 200,
3627
3629
  formats: Oi,
3628
3630
  warnOnMissingMessages: !0,
3629
3631
  handleMissingMessage: void 0,
3630
3632
  ignoreTag: !0
3631
- }, Ae = $i;
3633
+ }, Oe = Bi;
3632
3634
  function Ce() {
3633
- return Ae;
3635
+ return Oe;
3634
3636
  }
3635
- function Bi(e) {
3636
- const t = e, { formats: r } = t, n = Ti(t, ["formats"]);
3637
+ function Pi(e) {
3638
+ const t = e, { formats: r } = t, n = Ai(t, ["formats"]);
3637
3639
  let i = e.fallbackLocale;
3638
3640
  if (e.initialLocale)
3639
3641
  try {
3640
- wr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3642
+ Cr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3641
3643
  } catch (s) {
3642
3644
  console.warn(
3643
3645
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3644
3646
  );
3645
3647
  }
3646
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ai : console.warn(
3648
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = $i : console.warn(
3647
3649
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3648
- )), Object.assign(Ae, n, { initialLocale: i }), 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)), be.set(i);
3650
+ )), Object.assign(Oe, n, { initialLocale: i }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), be.set(i);
3649
3651
  }
3650
3652
  const lt = Je(!1);
3651
- var Pi = Object.defineProperty, Ni = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
3653
+ var Ni = Object.defineProperty, Di = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
3652
3654
  for (var r in t || (t = {}))
3653
- Ii.call(t, r) && Ft(e, r, t[r]);
3654
- if (kt)
3655
- for (var r of kt(t))
3656
- Ri.call(t, r) && Ft(e, r, t[r]);
3655
+ Ri.call(t, r) && Zt(e, r, t[r]);
3656
+ if (jt)
3657
+ for (var r of jt(t))
3658
+ Ui.call(t, r) && Zt(e, r, t[r]);
3657
3659
  return e;
3658
- }, Gi = (e, t) => Ni(e, Di(t));
3660
+ }, ki = (e, t) => Di(e, Ii(t));
3659
3661
  let _t;
3660
3662
  const ze = Je(null);
3661
- function jt(e) {
3663
+ function Vt(e) {
3662
3664
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3663
3665
  }
3664
3666
  function Re(e, t = Ce().fallbackLocale) {
3665
- const r = jt(e);
3666
- return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
3667
+ const r = Vt(e);
3668
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
3667
3669
  }
3668
3670
  function pe() {
3669
3671
  return _t != null ? _t : void 0;
@@ -3671,22 +3673,22 @@ function pe() {
3671
3673
  ze.subscribe((e) => {
3672
3674
  _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3673
3675
  });
3674
- const ki = (e) => {
3675
- if (e && Li(e) && We(e)) {
3676
+ const Fi = (e) => {
3677
+ if (e && wi(e) && We(e)) {
3676
3678
  const { loadingDelay: t } = Ce();
3677
3679
  let r;
3678
3680
  return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
3679
3681
  () => lt.set(!0),
3680
3682
  t
3681
- ) : lt.set(!0), Tr(e).then(() => {
3683
+ ) : lt.set(!0), Or(e).then(() => {
3682
3684
  ze.set(e);
3683
3685
  }).finally(() => {
3684
3686
  clearTimeout(r), lt.set(!1);
3685
3687
  });
3686
3688
  }
3687
3689
  return ze.set(e);
3688
- }, be = Gi(Ui({}, ze), {
3689
- set: ki
3690
+ }, be = ki(Gi({}, ze), {
3691
+ set: Fi
3690
3692
  }), Ke = (e) => {
3691
3693
  const t = /* @__PURE__ */ Object.create(null);
3692
3694
  return (n) => {
@@ -3694,20 +3696,20 @@ const ki = (e) => {
3694
3696
  return i in t ? t[i] : t[i] = e(n);
3695
3697
  };
3696
3698
  };
3697
- var Fi = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3699
+ var ji = Object.defineProperty, Ye = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
3698
3700
  for (var r in t || (t = {}))
3699
- Or.call(t, r) && Zt(e, r, t[r]);
3701
+ $r.call(t, r) && Xt(e, r, t[r]);
3700
3702
  if (Ye)
3701
3703
  for (var r of Ye(t))
3702
- Ar.call(t, r) && Zt(e, r, t[r]);
3704
+ Br.call(t, r) && Xt(e, r, t[r]);
3703
3705
  return e;
3704
3706
  }, Te = (e, t) => {
3705
3707
  var r = {};
3706
3708
  for (var n in e)
3707
- Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3709
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3708
3710
  if (e != null && Ye)
3709
3711
  for (var n of Ye(e))
3710
- t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
3712
+ t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
3711
3713
  return r;
3712
3714
  };
3713
3715
  const De = (e, t) => {
@@ -3715,21 +3717,21 @@ const De = (e, t) => {
3715
3717
  if (e in r && t in r[e])
3716
3718
  return r[e][t];
3717
3719
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3718
- }, ji = Ke(
3720
+ }, Zi = Ke(
3719
3721
  (e) => {
3720
3722
  var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3721
3723
  if (r == null)
3722
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3723
3725
  return n && (i = De("number", n)), new Intl.NumberFormat(r, i);
3724
3726
  }
3725
- ), Zi = Ke(
3727
+ ), Vi = Ke(
3726
3728
  (e) => {
3727
3729
  var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3728
3730
  if (r == null)
3729
3731
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3730
3732
  return n ? i = De("date", n) : Object.keys(i).length === 0 && (i = De("date", "short")), new Intl.DateTimeFormat(r, i);
3731
3733
  }
3732
- ), Vi = Ke(
3734
+ ), Xi = Ke(
3733
3735
  (e) => {
3734
3736
  var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3735
3737
  if (r == null)
@@ -3738,33 +3740,33 @@ const De = (e, t) => {
3738
3740
  );
3739
3741
  return n ? i = De("time", n) : Object.keys(i).length === 0 && (i = De("time", "short")), new Intl.DateTimeFormat(r, i);
3740
3742
  }
3741
- ), Xi = (e = {}) => {
3743
+ ), Wi = (e = {}) => {
3742
3744
  var t = e, {
3743
3745
  locale: r = pe()
3744
3746
  } = t, n = Te(t, [
3745
3747
  "locale"
3746
3748
  ]);
3747
- return ji(wt({ locale: r }, n));
3748
- }, Wi = (e = {}) => {
3749
+ return Zi(Ct({ locale: r }, n));
3750
+ }, zi = (e = {}) => {
3749
3751
  var t = e, {
3750
3752
  locale: r = pe()
3751
3753
  } = t, n = Te(t, [
3752
3754
  "locale"
3753
3755
  ]);
3754
- return Zi(wt({ locale: r }, n));
3755
- }, zi = (e = {}) => {
3756
+ return Vi(Ct({ locale: r }, n));
3757
+ }, Yi = (e = {}) => {
3756
3758
  var t = e, {
3757
3759
  locale: r = pe()
3758
3760
  } = t, n = Te(t, [
3759
3761
  "locale"
3760
3762
  ]);
3761
- return Vi(wt({ locale: r }, n));
3762
- }, Yi = Ke(
3763
+ return Xi(Ct({ locale: r }, n));
3764
+ }, Ji = Ke(
3763
3765
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3764
- (e, t = pe()) => new wr(e, t, Ce().formats, {
3766
+ (e, t = pe()) => new Cr(e, t, Ce().formats, {
3765
3767
  ignoreTag: Ce().ignoreTag
3766
3768
  })
3767
- ), Ji = (e, t = {}) => {
3769
+ ), Qi = (e, t = {}) => {
3768
3770
  var r, n, i, s;
3769
3771
  let o = t;
3770
3772
  typeof e == "object" && (o = e, e = o.id);
@@ -3777,7 +3779,7 @@ const De = (e, t) => {
3777
3779
  throw new Error(
3778
3780
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3779
3781
  );
3780
- let h = Mr(e, u);
3782
+ let h = Sr(e, u);
3781
3783
  if (!h)
3782
3784
  h = (s = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3783
3785
  else if (typeof h != "string")
@@ -3788,7 +3790,7 @@ const De = (e, t) => {
3788
3790
  return h;
3789
3791
  let c = h;
3790
3792
  try {
3791
- c = Yi(h, u).format(a);
3793
+ c = Ji(h, u).format(a);
3792
3794
  } catch (d) {
3793
3795
  d instanceof Error && console.warn(
3794
3796
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3796,20 +3798,20 @@ const De = (e, t) => {
3796
3798
  );
3797
3799
  }
3798
3800
  return c;
3799
- }, Qi = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Ki = (e, t) => Xi(t).format(e), es = (e, t = pe()) => Mr(e, t), ts = He([be, Ie], () => Ji);
3800
- He([be], () => Qi);
3801
+ }, qi = (e, t) => Yi(t).format(e), Ki = (e, t) => zi(t).format(e), es = (e, t) => Wi(t).format(e), ts = (e, t = pe()) => Sr(e, t), rs = He([be, Ie], () => Qi);
3801
3802
  He([be], () => qi);
3802
3803
  He([be], () => Ki);
3803
- He([be, Ie], () => es);
3804
- function Vt(e, t) {
3805
- Sr(e, t);
3804
+ He([be], () => es);
3805
+ He([be, Ie], () => ts);
3806
+ function Wt(e, t) {
3807
+ Tr(e, t);
3806
3808
  }
3807
- function rs(e) {
3808
- Bi({
3809
+ function ns(e) {
3810
+ Pi({
3809
3811
  fallbackLocale: "en"
3810
3812
  }), be.set(e);
3811
3813
  }
3812
- const Xt = {
3814
+ const zt = {
3813
3815
  en: {
3814
3816
  generalMin: "Min",
3815
3817
  generalMax: "Max",
@@ -3843,11 +3845,11 @@ const Xt = {
3843
3845
  showLess: "SHOW LESS"
3844
3846
  }
3845
3847
  };
3846
- var $r = { exports: {} };
3848
+ var Pr = { exports: {} };
3847
3849
  (function(e, t) {
3848
3850
  (function(r, n) {
3849
3851
  e.exports = n();
3850
- })(or, function() {
3852
+ })(lr, function() {
3851
3853
  var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", u = "hour", l = "day", h = "week", c = "month", d = "quarter", _ = "year", E = "date", f = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, I = { 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(x) {
3852
3854
  var b = ["th", "st", "nd", "rd"], m = x % 100;
3853
3855
  return "[" + x + (b[(m - 20) % 10] || b[m] || b[0]) + "]";
@@ -3883,8 +3885,8 @@ var $r = { exports: {} };
3883
3885
  if (!g && v.length > 1)
3884
3886
  return x(v[0]);
3885
3887
  } else {
3886
- var A = b.name;
3887
- j[A] = b, g = A;
3888
+ var O = b.name;
3889
+ j[O] = b, g = O;
3888
3890
  }
3889
3891
  return !y && g && (N = g), g || !y && N;
3890
3892
  }, D = function(x, b) {
@@ -3913,8 +3915,8 @@ var $r = { exports: {} };
3913
3915
  if (typeof g == "string" && !/Z$/i.test(g)) {
3914
3916
  var v = g.match(w);
3915
3917
  if (v) {
3916
- var A = v[2] - 1 || 0, G = (v[7] || "0").substring(0, 3);
3917
- return L ? new Date(Date.UTC(v[1], A, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G)) : new Date(v[1], A, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G);
3918
+ var O = v[2] - 1 || 0, G = (v[7] || "0").substring(0, 3);
3919
+ return L ? new Date(Date.UTC(v[1], O, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G)) : new Date(v[1], O, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G);
3918
3920
  }
3919
3921
  }
3920
3922
  return new Date(g);
@@ -3940,7 +3942,7 @@ var $r = { exports: {} };
3940
3942
  }, b.valueOf = function() {
3941
3943
  return this.$d.getTime();
3942
3944
  }, b.startOf = function(m, y) {
3943
- var g = this, L = !!M.u(y) || y, v = M.p(m), A = function(ce, z) {
3945
+ var g = this, L = !!M.u(y) || y, v = M.p(m), O = function(ce, z) {
3944
3946
  var le = M.w(g.$u ? Date.UTC(g.$y, z, ce) : new Date(g.$y, z, ce), g);
3945
3947
  return L ? le : le.endOf(l);
3946
3948
  }, G = function(ce, z) {
@@ -3948,12 +3950,12 @@ var $r = { exports: {} };
3948
3950
  }, Z = this.$W, X = this.$M, Q = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3949
3951
  switch (v) {
3950
3952
  case _:
3951
- return L ? A(1, 0) : A(31, 11);
3953
+ return L ? O(1, 0) : O(31, 11);
3952
3954
  case c:
3953
- return L ? A(1, X) : A(0, X + 1);
3955
+ return L ? O(1, X) : O(0, X + 1);
3954
3956
  case h:
3955
3957
  var he = this.$locale().weekStart || 0, me = (Z < he ? Z + 7 : Z) - he;
3956
- return A(L ? Q - me : Q + (6 - me), X);
3958
+ return O(L ? Q - me : Q + (6 - me), X);
3957
3959
  case l:
3958
3960
  case E:
3959
3961
  return G(fe + "Hours", 0);
@@ -3969,12 +3971,12 @@ var $r = { exports: {} };
3969
3971
  }, b.endOf = function(m) {
3970
3972
  return this.startOf(m, !1);
3971
3973
  }, b.$set = function(m, y) {
3972
- var g, L = M.p(m), v = "set" + (this.$u ? "UTC" : ""), A = (g = {}, g[l] = v + "Date", g[E] = v + "Date", g[c] = v + "Month", g[_] = v + "FullYear", g[u] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[L], G = L === l ? this.$D + (y - this.$W) : y;
3974
+ var g, L = M.p(m), v = "set" + (this.$u ? "UTC" : ""), O = (g = {}, g[l] = v + "Date", g[E] = v + "Date", g[c] = v + "Month", g[_] = v + "FullYear", g[u] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[L], G = L === l ? this.$D + (y - this.$W) : y;
3973
3975
  if (L === c || L === _) {
3974
3976
  var Z = this.clone().set(E, 1);
3975
- Z.$d[A](G), Z.init(), this.$d = Z.set(E, Math.min(this.$D, Z.daysInMonth())).$d;
3977
+ Z.$d[O](G), Z.init(), this.$d = Z.set(E, Math.min(this.$D, Z.daysInMonth())).$d;
3976
3978
  } else
3977
- A && this.$d[A](G);
3979
+ O && this.$d[O](G);
3978
3980
  return this.init(), this;
3979
3981
  }, b.set = function(m, y) {
3980
3982
  return this.clone().$set(m, y);
@@ -3983,7 +3985,7 @@ var $r = { exports: {} };
3983
3985
  }, b.add = function(m, y) {
3984
3986
  var g, L = this;
3985
3987
  m = Number(m);
3986
- var v = M.p(y), A = function(X) {
3988
+ var v = M.p(y), O = function(X) {
3987
3989
  var Q = D(L);
3988
3990
  return M.w(Q.date(Q.date() + Math.round(X * m)), L);
3989
3991
  };
@@ -3992,9 +3994,9 @@ var $r = { exports: {} };
3992
3994
  if (v === _)
3993
3995
  return this.set(_, this.$y + m);
3994
3996
  if (v === l)
3995
- return A(1);
3997
+ return O(1);
3996
3998
  if (v === h)
3997
- return A(7);
3999
+ return O(7);
3998
4000
  var G = (g = {}, g[a] = n, g[u] = i, g[o] = r, g)[v] || 1, Z = this.$d.getTime() + m * G;
3999
4001
  return M.w(Z, this);
4000
4002
  }, b.subtract = function(m, y) {
@@ -4003,10 +4005,10 @@ var $r = { exports: {} };
4003
4005
  var y = this, g = this.$locale();
4004
4006
  if (!this.isValid())
4005
4007
  return g.invalidDate || f;
4006
- var L = m || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), A = this.$H, G = this.$m, Z = this.$M, X = g.weekdays, Q = g.months, fe = g.meridiem, he = function(z, le, p, $) {
4008
+ var L = m || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), O = this.$H, G = this.$m, Z = this.$M, X = g.weekdays, Q = g.months, fe = g.meridiem, he = function(z, le, p, $) {
4007
4009
  return z && (z[le] || z(y, L)) || p[le].slice(0, $);
4008
4010
  }, me = function(z) {
4009
- return M.s(A % 12 || 12, z, "0");
4011
+ return M.s(O % 12 || 12, z, "0");
4010
4012
  }, ce = fe || function(z, le, p) {
4011
4013
  var $ = z < 12 ? "AM" : "PM";
4012
4014
  return p ? $.toLowerCase() : $;
@@ -4039,17 +4041,17 @@ var $r = { exports: {} };
4039
4041
  case "dddd":
4040
4042
  return X[y.$W];
4041
4043
  case "H":
4042
- return String(A);
4044
+ return String(O);
4043
4045
  case "HH":
4044
- return M.s(A, 2, "0");
4046
+ return M.s(O, 2, "0");
4045
4047
  case "h":
4046
4048
  return me(1);
4047
4049
  case "hh":
4048
4050
  return me(2);
4049
4051
  case "a":
4050
- return ce(A, G, !0);
4052
+ return ce(O, G, !0);
4051
4053
  case "A":
4052
- return ce(A, G, !1);
4054
+ return ce(O, G, !1);
4053
4055
  case "m":
4054
4056
  return String(G);
4055
4057
  case "mm":
@@ -4069,10 +4071,10 @@ var $r = { exports: {} };
4069
4071
  }, b.utcOffset = function() {
4070
4072
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4071
4073
  }, b.diff = function(m, y, g) {
4072
- var L, v = this, A = M.p(y), G = D(m), Z = (G.utcOffset() - this.utcOffset()) * n, X = this - G, Q = function() {
4074
+ var L, v = this, O = M.p(y), G = D(m), Z = (G.utcOffset() - this.utcOffset()) * n, X = this - G, Q = function() {
4073
4075
  return M.m(v, G);
4074
4076
  };
4075
- switch (A) {
4077
+ switch (O) {
4076
4078
  case _:
4077
4079
  L = Q() / 12;
4078
4080
  break;
@@ -4132,14 +4134,14 @@ var $r = { exports: {} };
4132
4134
  return D(1e3 * x);
4133
4135
  }, D.en = j[N], D.Ls = j, D.p = {}, D;
4134
4136
  });
4135
- })($r);
4136
- var ns = $r.exports;
4137
- const Wt = /* @__PURE__ */ xt(ns);
4138
- var Br = { exports: {} };
4137
+ })(Pr);
4138
+ var is = Pr.exports;
4139
+ const Yt = /* @__PURE__ */ xt(is);
4140
+ var Nr = { exports: {} };
4139
4141
  (function(e, t) {
4140
4142
  (function(r, n) {
4141
4143
  e.exports = n();
4142
- })(or, function() {
4144
+ })(lr, function() {
4143
4145
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4144
4146
  return function(s, o, a) {
4145
4147
  var u = o.prototype;
@@ -4215,17 +4217,17 @@ var Br = { exports: {} };
4215
4217
  };
4216
4218
  };
4217
4219
  });
4218
- })(Br);
4219
- var is = Br.exports;
4220
- const ss = /* @__PURE__ */ xt(is), os = "data:image/svg+xml,%3csvg%20width='337'%20height='182'%20viewBox='0%200%20337%20182'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3810_1046)'%3e%3cmask%20id='mask0_3810_1046'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='337'%20height='182'%3e%3cpath%20d='M337%200H0V182H337V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3810_1046)'%3e%3cpath%20opacity='0.16'%20d='M309.269%20229.727C361.939%20177.104%20362.219%2092.0651%20309.895%2039.7875C257.571%20-12.49%20172.456%20-12.21%20119.786%2040.413C67.1163%2093.0359%2066.836%20178.075%20119.16%20230.352C171.484%20282.63%20256.599%20282.35%20309.269%20229.727Z'%20fill='url(%23paint0_linear_3810_1046)'/%3e%3cpath%20d='M306.91%2085.1765C306.739%2085.2338%20302.567%2086.122%20302.567%2086.122L303.5%2091.4846C303.248%2093.837%20303.341%2096.6725%20303.844%2099.6755C304.373%20102.836%20305.272%20105.672%20306.347%20107.862L307.255%20113.083C307.255%20113.083%20311.566%20111.854%20311.731%20111.798C314.285%20110.94%20315.276%20104.285%20313.945%2096.9328C312.614%2089.5809%20309.464%2084.317%20306.91%2085.1751V85.1765Z'%20fill='%23EFED85'/%3e%3cpath%20d='M306.685%20113.272C309.314%20112.85%20310.469%20106.436%20309.264%2098.9468C308.06%2091.4575%20304.952%2085.7283%20302.323%2086.1504C299.695%2086.5724%20298.54%2092.9859%20299.745%20100.475C300.949%20107.965%20304.057%20113.694%20306.685%20113.272Z'%20fill='white'/%3e%3cpath%20d='M305.827%20108.917C307.296%20108.672%20307.819%20104.485%20306.996%2099.565C306.173%2094.6451%20304.315%2090.8556%20302.847%2091.1009C301.378%2091.3461%20300.855%2095.5332%20301.678%20100.453C302.501%20105.373%20304.359%20109.162%20305.827%20108.917Z'%20fill='%23F4F3AC'/%3e%3cpath%20d='M304.62%20105.084L304.075%20103.589C303.619%20102.177%20303.262%20101.098%20302.642%20100.459L302.04%2099.8406L302.288%2099.5744C302.849%2098.9733%20303.198%2097.6789%20303.232%2095.9681L303.248%2095.1577L303.659%2096.3726C304.164%2097.8677%20304.895%2099.1162%20305.724%2099.851L306.266%20100.447L305.602%20100.9C304.866%20101.503%20304.705%20102.631%20304.648%20104.26L304.619%20105.084H304.62Z'%20fill='white'/%3e%3cpath%20opacity='0.72'%20d='M200.267%20126.95L215.345%20130.531L220.921%20107.008L213.789%20105.314L200.267%20126.95Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M206.435%2099.1181L221.513%20102.699L227.089%2079.1759L219.957%2077.4819L206.435%2099.1181Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M264.663%2061.4345L235.427%2055.1773L236.027%2047.2476L267.382%2054.2159L264.663%2061.4345Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M267.172%2054.3082L236.177%2047.334L241.326%2039.9707L265.402%2045.3879L267.172%2054.3082Z'%20fill='%23E5E8EB'/%3e%3cpath%20opacity='0.72'%20d='M255.482%20116.025L251.839%20139.685L247.535%20137.953L251.822%20114.85L255.482%20116.025ZM259.581%2088.2698L254.196%20110.232L256.849%20111.475L262.769%2088.2698H259.581ZM269.145%2060.0598L265.72%2059.8086L260.923%2082.2169L263.224%2083.7198L269.145%2060.0598Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M226.752%2081.0609L226.682%2081.044L219.685%20110.601L219.612%20110.584L213.828%20135.857L218.236%20138.931L240.91%20144.235L246.268%20142.965L251.838%20118.626L251.91%20118.643L258.982%2088.7745L259.052%2088.7913L266.134%2058.8773L233.824%2051.1924L226.752%2081.0609Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M227.064%2079.4609L226.994%2079.444L220.404%20107.182L220.33%20107.165L213.535%20135.791L246.258%20142.963L252.849%20115.225L252.923%20115.242L259.583%2087.2109L259.653%2087.2277L266.323%2059.1542L233.724%2051.4297L227.064%2079.4609Z'%20fill='white'/%3e%3cpath%20d='M226.947%2079.7684L226.879%2079.7525L220.297%20107.492L220.225%20107.476L213.438%20136.104L245.311%20143.084L251.893%20115.344L251.965%20115.361L258.617%2087.3278L258.685%2087.3441L265.347%2059.2688L233.599%2051.7358L226.947%2079.7684Z'%20fill='white'/%3e%3cpath%20opacity='0.5'%20d='M226.961%2079.7714L226.892%2079.755L220.304%20107.494L220.23%20107.476L213.438%20136.104L245.879%20143.212L252.467%20115.473L252.54%20115.49L259.197%2087.4582L259.267%2087.4745L265.934%2059.4006L233.618%2051.7397L226.961%2079.7714Z'%20fill='url(%23paint1_linear_3810_1046)'/%3e%3cpath%20opacity='0.72'%20d='M213.147%2071.0995L228.225%2074.6808L233.801%2051.1573L226.67%2049.4634L213.147%2071.0995Z'%20fill='%23335176'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='white'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='url(%23paint2_linear_3810_1046)'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='white'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='url(%23paint3_linear_3810_1046)'/%3e%3cpath%20d='M232.837%20135.937C239.26%20135.937%20244.468%20130.734%20244.468%20124.316C244.468%20117.898%20239.26%20112.695%20232.837%20112.695C226.413%20112.695%20221.205%20117.898%20221.205%20124.316C221.205%20130.734%20226.413%20135.937%20232.837%20135.937Z'%20fill='white'/%3e%3cg%20opacity='0.31'%3e%3cpath%20d='M232.966%20133.318C238.149%20133.318%20242.351%20129.12%20242.351%20123.941C242.351%20118.763%20238.149%20114.564%20232.966%20114.564C227.783%20114.564%20223.581%20118.763%20223.581%20123.941C223.581%20129.12%20227.783%20133.318%20232.966%20133.318Z'%20fill='%237EC51E'/%3e%3c/g%3e%3cpath%20d='M239.767%20108.582C246.191%20108.582%20251.399%20103.379%20251.399%2096.961C251.399%2090.5428%20246.191%2085.3398%20239.767%2085.3398C233.343%2085.3398%20228.136%2090.5428%20228.136%2096.961C228.136%20103.379%20233.343%20108.582%20239.767%20108.582Z'%20fill='white'/%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M239.897%20105.963C245.08%20105.963%20249.282%20101.765%20249.282%2096.5861C249.282%2091.4075%20245.08%2087.2095%20239.897%2087.2095C234.714%2087.2095%20230.512%2091.4075%20230.512%2096.5861C230.512%20101.765%20234.714%20105.963%20239.897%20105.963Z'%20fill='%23EFED85'/%3e%3c/g%3e%3cpath%20d='M247.767%2080.7623C254.191%2080.7623%20259.399%2075.5594%20259.399%2069.1412C259.399%2062.723%20254.191%2057.52%20247.767%2057.52C241.343%2057.52%20236.136%2062.723%20236.136%2069.1412C236.136%2075.5594%20241.343%2080.7623%20247.767%2080.7623Z'%20fill='white'/%3e%3cg%20opacity='0.47'%3e%3cpath%20d='M248.022%2085.2495C256.699%2085.2495%20263.734%2078.2215%20263.734%2069.552C263.734%2060.8825%20256.699%2053.8545%20248.022%2053.8545C239.345%2053.8545%20232.311%2060.8825%20232.311%2069.552C232.311%2078.2215%20239.345%2085.2495%20248.022%2085.2495Z'%20fill='%23FFE5BE'/%3e%3c/g%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M247.472%2080.0554C253.318%2080.0554%20258.057%2075.3206%20258.057%2069.4799C258.057%2063.6391%20253.318%2058.9043%20247.472%2058.9043C241.626%2058.9043%20236.887%2063.6391%20236.887%2069.4799C236.887%2075.3206%20241.626%2080.0554%20247.472%2080.0554Z'%20fill='%23FFA726'/%3e%3c/g%3e%3cpath%20d='M225.426%2037.6665L189.408%2042.7698L187.953%2036.5627L225.233%2031.4321L225.426%2037.6665Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M187.957%2036.5846L190.505%2032.4892L215.212%2028.6162L225.294%2031.3844L187.957%2036.5846Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M201.065%2030.5759L203.025%2034.1504L204.17%2040.6892L211.068%2039.8502L210.023%2033.7673L206.24%2029.731L201.065%2030.5759Z'%20fill='white'/%3e%3cpath%20d='M160.588%2079.8823L165.616%2087.0722L151.713%20102.497L145.829%2096.1782L160.588%2079.8823Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M171.11%20133.02L172.813%20127.332L196.181%20140.808L192.506%20144.839L171.11%20133.02Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M258.894%20156.181L262.412%20148.881L278.337%20162.727L273.605%20168.398L258.894%20156.181Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M207.241%20153.371L212.273%20153.509C212.273%20153.509%20219.934%20160.635%20222.834%20164.031C225.734%20167.426%20229.899%20173.527%20229.899%20173.527L232.334%20181.542L220.067%20166.246L207.241%20153.371Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M227.172%20185.145L215.896%20170.61L202.893%20158.016L207.257%20153.355L220.673%20166.876L232.261%20181.518L227.172%20185.145Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M220.887%20161.734L218.801%20164.233L213.988%20168.822L218.523%20174.095L223.012%20169.843L224.701%20166.281L220.887%20161.734Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3810_1046'%20x1='377.71'%20y1='128.355'%20x2='109.138'%20y2='100.506'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.294'%20stop-color='%237EC51E'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.306'%20stop-color='%237EC51E'%20stop-opacity='0.788'/%3e%3cstop%20offset='0.735'%20stop-color='%237EC51E'%20stop-opacity='0.367'/%3e%3cstop%20offset='0.931'%20stop-color='%237EC51E'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3810_1046'%20x1='222.977'%20y1='93.7971'%20x2='256.48'%20y2='101.349'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D0D2D3'%20stop-opacity='0'/%3e%3cstop%20offset='0.147'%20stop-color='%23CED2D4'%20stop-opacity='0.175'/%3e%3cstop%20offset='0.332'%20stop-color='%23CDD2D5'%20stop-opacity='0.362'/%3e%3cstop%20offset='0.513'%20stop-color='%23CDD2D5'%20stop-opacity='0.51'/%3e%3cstop%20offset='0.688'%20stop-color='%23CCD2D6'%20stop-opacity='0.615'/%3e%3cstop%20offset='0.853'%20stop-color='%23CCD2D6'%20stop-opacity='0.678'/%3e%3cstop%20offset='1'%20stop-color='%23CCD2D7'%20stop-opacity='0.7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3810_1046'%20x1='231.03'%20y1='58.5166'%20x2='200.367'%20y2='123.696'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.25'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.5'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.702'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.83'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3810_1046'%20x1='245.954'%20y1='83.3307'%20x2='285.109'%20y2='122.52'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.207'%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.432'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.656'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.837'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.952'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_3810_1046'%3e%3crect%20width='337'%20height='182'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
4221
- function as(e) {
4222
- Fr(e, "svelte-17o07ba", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);position:absolute;bottom:10%;left:5%;width:calc(100% - 125px)}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 4px)}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--mmw--color-grey-290, #666)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{top:50%;left:250px;bottom:auto;transform:translateY(-50%);padding:0 10px 0 5px;width:calc(100% - 250px);margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4220
+ })(Nr);
4221
+ var ss = Nr.exports;
4222
+ const os = /* @__PURE__ */ xt(ss), as = "data:image/svg+xml,%3csvg%20width='337'%20height='182'%20viewBox='0%200%20337%20182'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3810_1046)'%3e%3cmask%20id='mask0_3810_1046'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='337'%20height='182'%3e%3cpath%20d='M337%200H0V182H337V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3810_1046)'%3e%3cpath%20opacity='0.16'%20d='M309.269%20229.727C361.939%20177.104%20362.219%2092.0651%20309.895%2039.7875C257.571%20-12.49%20172.456%20-12.21%20119.786%2040.413C67.1163%2093.0359%2066.836%20178.075%20119.16%20230.352C171.484%20282.63%20256.599%20282.35%20309.269%20229.727Z'%20fill='url(%23paint0_linear_3810_1046)'/%3e%3cpath%20d='M306.91%2085.1765C306.739%2085.2338%20302.567%2086.122%20302.567%2086.122L303.5%2091.4846C303.248%2093.837%20303.341%2096.6725%20303.844%2099.6755C304.373%20102.836%20305.272%20105.672%20306.347%20107.862L307.255%20113.083C307.255%20113.083%20311.566%20111.854%20311.731%20111.798C314.285%20110.94%20315.276%20104.285%20313.945%2096.9328C312.614%2089.5809%20309.464%2084.317%20306.91%2085.1751V85.1765Z'%20fill='%23EFED85'/%3e%3cpath%20d='M306.685%20113.272C309.314%20112.85%20310.469%20106.436%20309.264%2098.9468C308.06%2091.4575%20304.952%2085.7283%20302.323%2086.1504C299.695%2086.5724%20298.54%2092.9859%20299.745%20100.475C300.949%20107.965%20304.057%20113.694%20306.685%20113.272Z'%20fill='white'/%3e%3cpath%20d='M305.827%20108.917C307.296%20108.672%20307.819%20104.485%20306.996%2099.565C306.173%2094.6451%20304.315%2090.8556%20302.847%2091.1009C301.378%2091.3461%20300.855%2095.5332%20301.678%20100.453C302.501%20105.373%20304.359%20109.162%20305.827%20108.917Z'%20fill='%23F4F3AC'/%3e%3cpath%20d='M304.62%20105.084L304.075%20103.589C303.619%20102.177%20303.262%20101.098%20302.642%20100.459L302.04%2099.8406L302.288%2099.5744C302.849%2098.9733%20303.198%2097.6789%20303.232%2095.9681L303.248%2095.1577L303.659%2096.3726C304.164%2097.8677%20304.895%2099.1162%20305.724%2099.851L306.266%20100.447L305.602%20100.9C304.866%20101.503%20304.705%20102.631%20304.648%20104.26L304.619%20105.084H304.62Z'%20fill='white'/%3e%3cpath%20opacity='0.72'%20d='M200.267%20126.95L215.345%20130.531L220.921%20107.008L213.789%20105.314L200.267%20126.95Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M206.435%2099.1181L221.513%20102.699L227.089%2079.1759L219.957%2077.4819L206.435%2099.1181Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M264.663%2061.4345L235.427%2055.1773L236.027%2047.2476L267.382%2054.2159L264.663%2061.4345Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M267.172%2054.3082L236.177%2047.334L241.326%2039.9707L265.402%2045.3879L267.172%2054.3082Z'%20fill='%23E5E8EB'/%3e%3cpath%20opacity='0.72'%20d='M255.482%20116.025L251.839%20139.685L247.535%20137.953L251.822%20114.85L255.482%20116.025ZM259.581%2088.2698L254.196%20110.232L256.849%20111.475L262.769%2088.2698H259.581ZM269.145%2060.0598L265.72%2059.8086L260.923%2082.2169L263.224%2083.7198L269.145%2060.0598Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M226.752%2081.0609L226.682%2081.044L219.685%20110.601L219.612%20110.584L213.828%20135.857L218.236%20138.931L240.91%20144.235L246.268%20142.965L251.838%20118.626L251.91%20118.643L258.982%2088.7745L259.052%2088.7913L266.134%2058.8773L233.824%2051.1924L226.752%2081.0609Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M227.064%2079.4609L226.994%2079.444L220.404%20107.182L220.33%20107.165L213.535%20135.791L246.258%20142.963L252.849%20115.225L252.923%20115.242L259.583%2087.2109L259.653%2087.2277L266.323%2059.1542L233.724%2051.4297L227.064%2079.4609Z'%20fill='white'/%3e%3cpath%20d='M226.947%2079.7684L226.879%2079.7525L220.297%20107.492L220.225%20107.476L213.438%20136.104L245.311%20143.084L251.893%20115.344L251.965%20115.361L258.617%2087.3278L258.685%2087.3441L265.347%2059.2688L233.599%2051.7358L226.947%2079.7684Z'%20fill='white'/%3e%3cpath%20opacity='0.5'%20d='M226.961%2079.7714L226.892%2079.755L220.304%20107.494L220.23%20107.476L213.438%20136.104L245.879%20143.212L252.467%20115.473L252.54%20115.49L259.197%2087.4582L259.267%2087.4745L265.934%2059.4006L233.618%2051.7397L226.961%2079.7714Z'%20fill='url(%23paint1_linear_3810_1046)'/%3e%3cpath%20opacity='0.72'%20d='M213.147%2071.0995L228.225%2074.6808L233.801%2051.1573L226.67%2049.4634L213.147%2071.0995Z'%20fill='%23335176'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='white'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='url(%23paint2_linear_3810_1046)'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='white'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='url(%23paint3_linear_3810_1046)'/%3e%3cpath%20d='M232.837%20135.937C239.26%20135.937%20244.468%20130.734%20244.468%20124.316C244.468%20117.898%20239.26%20112.695%20232.837%20112.695C226.413%20112.695%20221.205%20117.898%20221.205%20124.316C221.205%20130.734%20226.413%20135.937%20232.837%20135.937Z'%20fill='white'/%3e%3cg%20opacity='0.31'%3e%3cpath%20d='M232.966%20133.318C238.149%20133.318%20242.351%20129.12%20242.351%20123.941C242.351%20118.763%20238.149%20114.564%20232.966%20114.564C227.783%20114.564%20223.581%20118.763%20223.581%20123.941C223.581%20129.12%20227.783%20133.318%20232.966%20133.318Z'%20fill='%237EC51E'/%3e%3c/g%3e%3cpath%20d='M239.767%20108.582C246.191%20108.582%20251.399%20103.379%20251.399%2096.961C251.399%2090.5428%20246.191%2085.3398%20239.767%2085.3398C233.343%2085.3398%20228.136%2090.5428%20228.136%2096.961C228.136%20103.379%20233.343%20108.582%20239.767%20108.582Z'%20fill='white'/%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M239.897%20105.963C245.08%20105.963%20249.282%20101.765%20249.282%2096.5861C249.282%2091.4075%20245.08%2087.2095%20239.897%2087.2095C234.714%2087.2095%20230.512%2091.4075%20230.512%2096.5861C230.512%20101.765%20234.714%20105.963%20239.897%20105.963Z'%20fill='%23EFED85'/%3e%3c/g%3e%3cpath%20d='M247.767%2080.7623C254.191%2080.7623%20259.399%2075.5594%20259.399%2069.1412C259.399%2062.723%20254.191%2057.52%20247.767%2057.52C241.343%2057.52%20236.136%2062.723%20236.136%2069.1412C236.136%2075.5594%20241.343%2080.7623%20247.767%2080.7623Z'%20fill='white'/%3e%3cg%20opacity='0.47'%3e%3cpath%20d='M248.022%2085.2495C256.699%2085.2495%20263.734%2078.2215%20263.734%2069.552C263.734%2060.8825%20256.699%2053.8545%20248.022%2053.8545C239.345%2053.8545%20232.311%2060.8825%20232.311%2069.552C232.311%2078.2215%20239.345%2085.2495%20248.022%2085.2495Z'%20fill='%23FFE5BE'/%3e%3c/g%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M247.472%2080.0554C253.318%2080.0554%20258.057%2075.3206%20258.057%2069.4799C258.057%2063.6391%20253.318%2058.9043%20247.472%2058.9043C241.626%2058.9043%20236.887%2063.6391%20236.887%2069.4799C236.887%2075.3206%20241.626%2080.0554%20247.472%2080.0554Z'%20fill='%23FFA726'/%3e%3c/g%3e%3cpath%20d='M225.426%2037.6665L189.408%2042.7698L187.953%2036.5627L225.233%2031.4321L225.426%2037.6665Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M187.957%2036.5846L190.505%2032.4892L215.212%2028.6162L225.294%2031.3844L187.957%2036.5846Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M201.065%2030.5759L203.025%2034.1504L204.17%2040.6892L211.068%2039.8502L210.023%2033.7673L206.24%2029.731L201.065%2030.5759Z'%20fill='white'/%3e%3cpath%20d='M160.588%2079.8823L165.616%2087.0722L151.713%20102.497L145.829%2096.1782L160.588%2079.8823Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M171.11%20133.02L172.813%20127.332L196.181%20140.808L192.506%20144.839L171.11%20133.02Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M258.894%20156.181L262.412%20148.881L278.337%20162.727L273.605%20168.398L258.894%20156.181Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M207.241%20153.371L212.273%20153.509C212.273%20153.509%20219.934%20160.635%20222.834%20164.031C225.734%20167.426%20229.899%20173.527%20229.899%20173.527L232.334%20181.542L220.067%20166.246L207.241%20153.371Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M227.172%20185.145L215.896%20170.61L202.893%20158.016L207.257%20153.355L220.673%20166.876L232.261%20181.518L227.172%20185.145Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M220.887%20161.734L218.801%20164.233L213.988%20168.822L218.523%20174.095L223.012%20169.843L224.701%20166.281L220.887%20161.734Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3810_1046'%20x1='377.71'%20y1='128.355'%20x2='109.138'%20y2='100.506'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.294'%20stop-color='%237EC51E'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.306'%20stop-color='%237EC51E'%20stop-opacity='0.788'/%3e%3cstop%20offset='0.735'%20stop-color='%237EC51E'%20stop-opacity='0.367'/%3e%3cstop%20offset='0.931'%20stop-color='%237EC51E'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3810_1046'%20x1='222.977'%20y1='93.7971'%20x2='256.48'%20y2='101.349'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D0D2D3'%20stop-opacity='0'/%3e%3cstop%20offset='0.147'%20stop-color='%23CED2D4'%20stop-opacity='0.175'/%3e%3cstop%20offset='0.332'%20stop-color='%23CDD2D5'%20stop-opacity='0.362'/%3e%3cstop%20offset='0.513'%20stop-color='%23CDD2D5'%20stop-opacity='0.51'/%3e%3cstop%20offset='0.688'%20stop-color='%23CCD2D6'%20stop-opacity='0.615'/%3e%3cstop%20offset='0.853'%20stop-color='%23CCD2D6'%20stop-opacity='0.678'/%3e%3cstop%20offset='1'%20stop-color='%23CCD2D7'%20stop-opacity='0.7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3810_1046'%20x1='231.03'%20y1='58.5166'%20x2='200.367'%20y2='123.696'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.25'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.5'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.702'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.83'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3810_1046'%20x1='245.954'%20y1='83.3307'%20x2='285.109'%20y2='122.52'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.207'%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.432'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.656'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.837'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.952'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_3810_1046'%3e%3crect%20width='337'%20height='182'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
4223
+ function ls(e) {
4224
+ Zr(e, "svelte-17o07ba", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);position:absolute;bottom:10%;left:5%;width:calc(100% - 125px)}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 4px)}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--mmw--color-grey-290, #666)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{top:50%;left:250px;bottom:auto;transform:translateY(-50%);padding:0 10px 0 5px;width:calc(100% - 250px);margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4223
4225
  }
4224
- function zt(e, t, r) {
4226
+ function Jt(e, t, r) {
4225
4227
  const n = e.slice();
4226
4228
  return n[48] = t[r], n[50] = r, n;
4227
4229
  }
4228
- function Yt(e) {
4230
+ function Qt(e) {
4229
4231
  let t;
4230
4232
  return {
4231
4233
  c() {
@@ -4264,20 +4266,20 @@ function Yt(e) {
4264
4266
  }
4265
4267
  };
4266
4268
  }
4267
- function Jt(e) {
4268
- let t, r, n, i, s = Ot(
4269
+ function qt(e) {
4270
+ let t, r, n, i, s = $t(
4269
4271
  /*paymentMethodsToShow*/
4270
4272
  e[8]
4271
4273
  ), o = [];
4272
4274
  for (let l = 0; l < s.length; l += 1)
4273
- o[l] = Qt(zt(e, s, l));
4275
+ o[l] = Kt(Jt(e, s, l));
4274
4276
  let a = (
4275
4277
  /*noPaymentMethodsAvailable*/
4276
4278
  e[13] && !/*showSpinner*/
4277
- e[12] && qt(e)
4279
+ e[12] && er(e)
4278
4280
  ), u = (
4279
4281
  /*methodsButtonToggleText*/
4280
- e[7] && Kt(e)
4282
+ e[7] && tr(e)
4281
4283
  );
4282
4284
  return {
4283
4285
  c() {
@@ -4295,14 +4297,14 @@ function Jt(e) {
4295
4297
  p(l, h) {
4296
4298
  if (h[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
4297
4299
  115008) {
4298
- s = Ot(
4300
+ s = $t(
4299
4301
  /*paymentMethodsToShow*/
4300
4302
  l[8]
4301
4303
  );
4302
4304
  let c;
4303
4305
  for (c = 0; c < s.length; c += 1) {
4304
- const d = zt(l, s, c);
4305
- o[c] ? o[c].p(d, h) : (o[c] = Qt(d), o[c].c(), o[c].m(r, n));
4306
+ const d = Jt(l, s, c);
4307
+ o[c] ? o[c].p(d, h) : (o[c] = Kt(d), o[c].c(), o[c].m(r, n));
4306
4308
  }
4307
4309
  for (; c < o.length; c += 1)
4308
4310
  o[c].d(1);
@@ -4310,15 +4312,15 @@ function Jt(e) {
4310
4312
  }
4311
4313
  /*noPaymentMethodsAvailable*/
4312
4314
  l[13] && !/*showSpinner*/
4313
- l[12] ? a ? a.p(l, h) : (a = qt(l), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4314
- l[7] ? u ? u.p(l, h) : (u = Kt(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
4315
+ l[12] ? a ? a.p(l, h) : (a = er(l), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4316
+ l[7] ? u ? u.p(l, h) : (u = tr(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
4315
4317
  },
4316
4318
  d(l) {
4317
- l && re(t), Vr(o, l), a && a.d(), u && u.d(), e[27](null);
4319
+ l && re(t), Wr(o, l), a && a.d(), u && u.d(), e[27](null);
4318
4320
  }
4319
4321
  };
4320
4322
  }
4321
- function Qt(e) {
4323
+ function Kt(e) {
4322
4324
  let t, r, n, i, s, o, a, u, l = (
4323
4325
  /*payMeth*/
4324
4326
  (e[48].Label || /*payMeth*/
@@ -4372,7 +4374,7 @@ function Qt(e) {
4372
4374
  m(L, v) {
4373
4375
  oe(L, t, v), C(t, r), C(r, n), C(t, o), C(t, a), C(a, u), C(u, h), C(t, c), C(t, d), C(d, _), C(_, f), C(_, w), C(_, I), C(_, T), C(_, N), C(d, j), C(d, F), C(F, W), C(F, D), C(F, ne), C(F, ge), C(F, b), m || (y = [
4374
4376
  ut(t, "click", g),
4375
- ut(t, "keyup", cs)
4377
+ ut(t, "keyup", fs)
4376
4378
  ], m = !0);
4377
4379
  },
4378
4380
  p(L, v) {
@@ -4415,7 +4417,7 @@ function Qt(e) {
4415
4417
  }
4416
4418
  };
4417
4419
  }
4418
- function qt(e) {
4420
+ function er(e) {
4419
4421
  let t, r, n, i, s, o = (
4420
4422
  /*$_*/
4421
4423
  e[14]("error") + ""
@@ -4426,7 +4428,7 @@ function qt(e) {
4426
4428
  function d(f, w) {
4427
4429
  return (
4428
4430
  /*assetsurl*/
4429
- f[1] ? us : ls
4431
+ f[1] ? hs : us
4430
4432
  );
4431
4433
  }
4432
4434
  let _ = d(e), E = _(e);
@@ -4460,11 +4462,11 @@ function qt(e) {
4460
4462
  }
4461
4463
  };
4462
4464
  }
4463
- function ls(e) {
4465
+ function us(e) {
4464
4466
  let t, r;
4465
4467
  return {
4466
4468
  c() {
4467
- t = k("img"), Be(t.src, r = os) || B(t, "src", r), B(t, "alt", "empty-payment-method-list");
4469
+ t = k("img"), Be(t.src, r = as) || B(t, "src", r), B(t, "alt", "empty-payment-method-list");
4468
4470
  },
4469
4471
  m(n, i) {
4470
4472
  oe(n, t, i);
@@ -4475,7 +4477,7 @@ function ls(e) {
4475
4477
  }
4476
4478
  };
4477
4479
  }
4478
- function us(e) {
4480
+ function hs(e) {
4479
4481
  let t, r;
4480
4482
  return {
4481
4483
  c() {
@@ -4495,7 +4497,7 @@ function us(e) {
4495
4497
  }
4496
4498
  };
4497
4499
  }
4498
- function Kt(e) {
4500
+ function tr(e) {
4499
4501
  let t, r, n, i;
4500
4502
  return {
4501
4503
  c() {
@@ -4525,7 +4527,7 @@ function Kt(e) {
4525
4527
  }
4526
4528
  };
4527
4529
  }
4528
- function er(e) {
4530
+ function rr(e) {
4529
4531
  let t, r, n;
4530
4532
  return {
4531
4533
  c() {
@@ -4605,31 +4607,31 @@ function er(e) {
4605
4607
  }
4606
4608
  };
4607
4609
  }
4608
- function hs(e) {
4610
+ function cs(e) {
4609
4611
  let t, r, n, i = (
4610
4612
  /*showSpinner*/
4611
- e[12] && Yt(e)
4613
+ e[12] && Qt(e)
4612
4614
  ), s = (
4613
4615
  /*showMethodsList*/
4614
4616
  (e[9] || /*desktopView*/
4615
- e[11]) && Jt(e)
4617
+ e[11]) && qt(e)
4616
4618
  ), o = (
4617
4619
  /*errorMessage*/
4618
- e[10] && er(e)
4620
+ e[10] && rr(e)
4619
4621
  );
4620
4622
  return {
4621
4623
  c() {
4622
- i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = Xr();
4624
+ i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = zr();
4623
4625
  },
4624
4626
  m(a, u) {
4625
4627
  i && i.m(a, u), oe(a, t, u), s && s.m(a, u), oe(a, r, u), o && o.m(a, u), oe(a, n, u);
4626
4628
  },
4627
4629
  p(a, u) {
4628
4630
  /*showSpinner*/
4629
- a[12] ? i ? i.p(a, u) : (i = Yt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4631
+ a[12] ? i ? i.p(a, u) : (i = Qt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4630
4632
  a[9] || /*desktopView*/
4631
- a[11] ? s ? s.p(a, u) : (s = Jt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4632
- a[10] ? o ? o.p(a, u) : (o = er(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4633
+ a[11] ? s ? s.p(a, u) : (s = qt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4634
+ a[10] ? o ? o.p(a, u) : (o = rr(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4633
4635
  },
4634
4636
  i: se,
4635
4637
  o: se,
@@ -4638,36 +4640,36 @@ function hs(e) {
4638
4640
  }
4639
4641
  };
4640
4642
  }
4641
- const cs = () => {
4643
+ const fs = () => {
4642
4644
  };
4643
- function fs(e, t, r) {
4645
+ function ms(e, t, r) {
4644
4646
  let n;
4645
- kr(e, ts, (p) => r(14, n = p)), Wt.extend(ss);
4647
+ jr(e, rs, (p) => r(14, n = p)), Yt.extend(os);
4646
4648
  let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: o } = t, { session: a } = t, { customerid: u } = t, { assetsurl: l } = t, { currency: h } = t, { numberofmethodsshown: c } = t, { translationurl: d = "" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: E = "" } = t, { ismobileview: f } = t, w = [], P, I, T = "", R = [], N = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), F = "", K, W = !0, D = !1, M = !1;
4647
4649
  var ne;
4648
4650
  (function(p) {
4649
4651
  p.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", p.Success = "Success", p.JwtTokenError = "JwtTokenError";
4650
- })(ne || (ne = {})), Qr();
4652
+ })(ne || (ne = {})), Kr();
4651
4653
  const ge = () => {
4652
4654
  let p = d;
4653
4655
  if (p)
4654
4656
  return fetch(p).then(($) => $.json()).then(($) => {
4655
4657
  Object.keys($).forEach((ue) => {
4656
- Vt(ue, $[ue]);
4658
+ Wt(ue, $[ue]);
4657
4659
  });
4658
4660
  }).catch(($) => {
4659
4661
  console.log($);
4660
4662
  });
4661
4663
  };
4662
- Object.keys(Xt).forEach((p) => {
4663
- Vt(p, Xt[p]);
4664
+ Object.keys(zt).forEach((p) => {
4665
+ Wt(p, zt[p]);
4664
4666
  });
4665
4667
  const x = () => {
4666
- rs(i);
4668
+ ns(i);
4667
4669
  }, b = () => {
4668
4670
  r(12, D = !0);
4669
4671
  const p = new URL(`${o}/v1/player/${u}/payment/GetPaymentMetadata`), $ = new Headers();
4670
- $.append("accept", "application/json"), $.append("Content-Type", "application/json"), $.append("X-Client-Request-Timestamp", Wt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4672
+ $.append("accept", "application/json"), $.append("Content-Type", "application/json"), $.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4671
4673
  const ue = {
4672
4674
  method: "POST",
4673
4675
  headers: $,
@@ -4687,7 +4689,7 @@ function fs(e, t, r) {
4687
4689
  K = V.ResponseCode, L();
4688
4690
  return;
4689
4691
  }
4690
- w = (ye = V.PaymentMethods) != null && ye.Ordering ? m(V) : y(V), r(7, T = c && +c > 0 && w.length > +c ? n("showAll") : ""), r(8, R = T ? w.slice(0, +c) : w), window.postMessage(
4692
+ w = (ye = V.PaymentMethods) != null && ye.Ordering ? m(V) : y(V), r(7, T = c && +c > 0 && w.length > +c ? n("showAll") : ""), r(8, R = T ? w.slice(0, +c) : w), r(13, M = !R.length), window.postMessage(
4691
4693
  {
4692
4694
  type: "StartSessionCountdown",
4693
4695
  paymentMethodName: w[0].Name,
@@ -4696,16 +4698,16 @@ function fs(e, t, r) {
4696
4698
  window.location.href
4697
4699
  ), window.postMessage({ type: "DataLoading", isDataLoaded: !1 });
4698
4700
  }).finally(() => {
4699
- r(12, D = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), r(13, M = !R.length);
4701
+ r(12, D = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 });
4700
4702
  });
4701
4703
  }, m = (p) => {
4702
4704
  const $ = [];
4703
4705
  return p.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ue) => {
4704
4706
  const V = p.PaymentMethods.PaymentMethods.find((ye) => ye.Name === ue);
4705
4707
  if (V) {
4706
- const ye = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Desktop")) || {}, Pr = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Mobile")) || {}, Mt = W ? ye : Pr;
4708
+ const ye = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Desktop")) || {}, Dr = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Mobile")) || {}, St = W ? ye : Dr;
4707
4709
  $.push(Ge(Ue({}, V), {
4708
- LogoUrl: Mt.LogoUrl ? `https:${Mt.LogoUrl}` : ""
4710
+ LogoUrl: St.LogoUrl ? `https:${St.LogoUrl}` : ""
4709
4711
  }));
4710
4712
  }
4711
4713
  }), $;
@@ -4731,7 +4733,7 @@ function fs(e, t, r) {
4731
4733
  );
4732
4734
  }, v = () => {
4733
4735
  r(11, W = f === "false");
4734
- }, A = () => {
4736
+ }, O = () => {
4735
4737
  R == w ? Z() : G();
4736
4738
  }, G = () => {
4737
4739
  r(8, R = w), r(7, T = n("showLess"));
@@ -4759,7 +4761,7 @@ function fs(e, t, r) {
4759
4761
  );
4760
4762
  });
4761
4763
  };
4762
- Jr(() => (window.addEventListener("message", me, !1), () => {
4764
+ qr(() => (window.addEventListener("message", me, !1), () => {
4763
4765
  window.removeEventListener("message", me, !1);
4764
4766
  }));
4765
4767
  const me = (p) => {
@@ -4771,7 +4773,7 @@ function fs(e, t, r) {
4771
4773
  Q(p.data.details);
4772
4774
  break;
4773
4775
  }
4774
- }, ce = (p) => g(p), z = () => A();
4776
+ }, ce = (p) => g(p), z = () => O();
4775
4777
  function le(p) {
4776
4778
  ht[p ? "unshift" : "push"](() => {
4777
4779
  P = p, r(5, P);
@@ -4805,7 +4807,7 @@ function fs(e, t, r) {
4805
4807
  n,
4806
4808
  j,
4807
4809
  g,
4808
- A,
4810
+ O,
4809
4811
  s,
4810
4812
  o,
4811
4813
  a,
@@ -4818,14 +4820,14 @@ function fs(e, t, r) {
4818
4820
  le
4819
4821
  ];
4820
4822
  }
4821
- class ms extends hn {
4823
+ class ds extends fn {
4822
4824
  constructor(t) {
4823
- super(), ln(
4825
+ super(), hn(
4824
4826
  this,
4825
4827
  t,
4826
- fs,
4827
- hs,
4828
- rr,
4828
+ ms,
4829
+ cs,
4830
+ ir,
4829
4831
  {
4830
4832
  lang: 0,
4831
4833
  local: 18,
@@ -4840,7 +4842,7 @@ class ms extends hn {
4840
4842
  clientstylingurl: 4,
4841
4843
  ismobileview: 24
4842
4844
  },
4843
- as,
4845
+ ls,
4844
4846
  [-1, -1]
4845
4847
  );
4846
4848
  }
@@ -4917,7 +4919,7 @@ class ms extends hn {
4917
4919
  this.$$set({ ismobileview: t }), q();
4918
4920
  }
4919
4921
  }
4920
- un(ms, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4922
+ cn(ds, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4921
4923
  export {
4922
- ms as default
4924
+ ds as default
4923
4925
  };