@everymatrix/cashier-methods-list 1.56.0 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Nr = Object.defineProperty, Ir = Object.defineProperties;
2
- var Dr = Object.getOwnPropertyDescriptors;
3
- var Mt = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
- var et = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
1
+ var Dr = 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 et = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Rr.call(t, r) && et(e, r, t[r]);
8
- if (Mt)
9
- for (var r of Mt(t))
10
- Ur.call(t, r) && et(e, r, t[r]);
7
+ Gr.call(t, r) && et(e, r, t[r]);
8
+ if (Ht)
9
+ for (var r of Ht(t))
10
+ kr.call(t, r) && et(e, r, t[r]);
11
11
  return e;
12
- }, Ue = (e, t) => Ir(e, Dr(t));
13
- var ne = (e, t, r) => et(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Tt = (e, t, r) => new Promise((n, i) => {
12
+ }, Ue = (e, t) => Rr(e, Ur(t));
13
+ var ne = (e, t, r) => (et(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,29 +29,29 @@ var Tt = (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 He(e) {
39
- e.forEach(tr);
39
+ e.forEach(nr);
40
40
  }
41
41
  function xt(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 Ge;
48
- function Lt(e, t) {
48
+ function Ot(e, t) {
49
49
  return e === t ? !0 : (Ge || (Ge = document.createElement("a")), Ge.href = t, e === Ge.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,21 +60,22 @@ 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 T(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Fr(e, t, r) {
70
- const n = jr(e);
69
+ function Vr(e, t, r) {
70
+ const n = zr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = F("style");
73
- i.id = t, i.textContent = r, Vr(n, i);
73
+ i.id = t, i.textContent = r, Xr(n, i);
74
74
  }
75
75
  }
76
- function jr(e) {
77
- if (!e) return document;
76
+ function zr(e) {
77
+ if (!e)
78
+ return document;
78
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
80
  return t && /** @type {ShadowRoot} */
80
81
  t.host ? (
@@ -82,7 +83,7 @@ function jr(e) {
82
83
  t
83
84
  ) : e.ownerDocument;
84
85
  }
85
- function Vr(e, t) {
86
+ function Xr(e, t) {
86
87
  return T(
87
88
  /** @type {Document} */
88
89
  e.head || e,
@@ -108,7 +109,7 @@ function ee(e) {
108
109
  function te() {
109
110
  return ee(" ");
110
111
  }
111
- function Xr() {
112
+ function Yr() {
112
113
  return ee("");
113
114
  }
114
115
  function ut(e, t, r, n) {
@@ -121,20 +122,20 @@ function Z(e, t, r) {
121
122
  const n = t.toLowerCase();
122
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 : k(e, t, r);
123
124
  }
124
- function zr(e) {
125
+ function Zr(e) {
125
126
  return Array.from(e.childNodes);
126
127
  }
127
128
  function ie(e, t) {
128
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
130
  t);
130
131
  }
131
- function We(e, t, r) {
132
+ function ze(e, t, r) {
132
133
  e.classList.toggle(t, !!r);
133
134
  }
134
- function Yr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
135
+ function Jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
135
136
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
136
137
  }
137
- function Zr(e) {
138
+ function Qr(e) {
138
139
  const t = {};
139
140
  return e.childNodes.forEach(
140
141
  /** @param {Element} node */
@@ -147,19 +148,20 @@ let Pe;
147
148
  function Be(e) {
148
149
  Pe = e;
149
150
  }
150
- function ir() {
151
- if (!Pe) throw new Error("Function called outside component initialization");
151
+ function or() {
152
+ if (!Pe)
153
+ throw new Error("Function called outside component initialization");
152
154
  return Pe;
153
155
  }
154
- function Jr(e) {
155
- ir().$$.on_mount.push(e);
156
+ function qr(e) {
157
+ or().$$.on_mount.push(e);
156
158
  }
157
- function Qr() {
158
- const e = ir();
159
+ function Kr() {
160
+ const e = or();
159
161
  return (t, r, { cancelable: n = !1 } = {}) => {
160
162
  const i = e.$$.callbacks[t];
161
163
  if (i) {
162
- const s = Yr(
164
+ const s = Jr(
163
165
  /** @type {string} */
164
166
  t,
165
167
  r,
@@ -174,10 +176,10 @@ function Qr() {
174
176
  }
175
177
  const Ee = [], lt = [];
176
178
  let _e = [];
177
- const At = [], qr = /* @__PURE__ */ Promise.resolve();
179
+ const $t = [], en = /* @__PURE__ */ Promise.resolve();
178
180
  let ht = !1;
179
- function Kr() {
180
- ht || (ht = !0, qr.then(q));
181
+ function tn() {
182
+ ht || (ht = !0, en.then(q));
181
183
  }
182
184
  function ft(e) {
183
185
  _e.push(e);
@@ -192,55 +194,56 @@ function q() {
192
194
  try {
193
195
  for (; ve < Ee.length; ) {
194
196
  const t = Ee[ve];
195
- ve++, Be(t), en(t.$$);
197
+ ve++, Be(t), rn(t.$$);
196
198
  }
197
199
  } catch (t) {
198
200
  throw Ee.length = 0, ve = 0, t;
199
201
  }
200
- for (Be(null), Ee.length = 0, ve = 0; lt.length; ) lt.pop()();
202
+ for (Be(null), Ee.length = 0, ve = 0; lt.length; )
203
+ lt.pop()();
201
204
  for (let t = 0; t < _e.length; t += 1) {
202
205
  const r = _e[t];
203
206
  tt.has(r) || (tt.add(r), r());
204
207
  }
205
208
  _e.length = 0;
206
209
  } while (Ee.length);
207
- for (; At.length; )
208
- At.pop()();
210
+ for (; $t.length; )
211
+ $t.pop()();
209
212
  ht = !1, tt.clear(), Be(e);
210
213
  }
211
- function en(e) {
214
+ function rn(e) {
212
215
  if (e.fragment !== null) {
213
216
  e.update(), He(e.before_update);
214
217
  const t = e.dirty;
215
218
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
216
219
  }
217
220
  }
218
- function tn(e) {
221
+ function nn(e) {
219
222
  const t = [], r = [];
220
223
  _e.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), _e = t;
221
224
  }
222
- const rn = /* @__PURE__ */ new Set();
223
- function nn(e, t) {
224
- 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));
225
228
  }
226
- function Ot(e) {
229
+ function Bt(e) {
227
230
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
228
231
  }
229
- function sn(e, t, r) {
232
+ function an(e, t, r) {
230
233
  const { fragment: n, after_update: i } = e.$$;
231
234
  n && n.m(t, r), ft(() => {
232
- const s = e.$$.on_mount.map(tr).filter(xt);
235
+ const s = e.$$.on_mount.map(nr).filter(xt);
233
236
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : He(s), e.$$.on_mount = [];
234
237
  }), i.forEach(ft);
235
238
  }
236
- function on(e, t) {
239
+ function un(e, t) {
237
240
  const r = e.$$;
238
- r.fragment !== null && (tn(r.after_update), He(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), He(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
242
  }
240
- function an(e, t) {
241
- e.$$.dirty[0] === -1 && (Ee.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
+ function ln(e, t) {
244
+ e.$$.dirty[0] === -1 && (Ee.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
245
  }
243
- function un(e, t, r, n, i, s, o = null, a = [-1]) {
246
+ function hn(e, t, r, n, i, s, o = null, a = [-1]) {
244
247
  const l = Pe;
245
248
  Be(e);
246
249
  const u = e.$$ = {
@@ -250,7 +253,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
250
253
  props: s,
251
254
  update: se,
252
255
  not_equal: i,
253
- bound: Ht(),
256
+ bound: At(),
254
257
  // lifecycle
255
258
  on_mount: [],
256
259
  on_destroy: [],
@@ -259,7 +262,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
259
262
  after_update: [],
260
263
  context: new Map(t.context || (l ? l.$$.context : [])),
261
264
  // everything else
262
- callbacks: Ht(),
265
+ callbacks: At(),
263
266
  dirty: a,
264
267
  skip_bound: !1,
265
268
  root: t.target || l.$$.root
@@ -268,19 +271,19 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
268
271
  let h = !1;
269
272
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
270
273
  const w = x.length ? x[0] : c;
271
- return u.ctx && i(u.ctx[f], u.ctx[f] = w) && (!u.skip_bound && u.bound[f] && u.bound[f](w), h && an(e, f)), c;
274
+ return u.ctx && i(u.ctx[f], u.ctx[f] = w) && (!u.skip_bound && u.bound[f] && u.bound[f](w), h && ln(e, f)), c;
272
275
  }) : [], u.update(), h = !0, He(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
273
276
  if (t.hydrate) {
274
- const f = zr(t.target);
277
+ const f = Zr(t.target);
275
278
  u.fragment && u.fragment.l(f), f.forEach(oe);
276
279
  } else
277
280
  u.fragment && u.fragment.c();
278
- 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();
279
282
  }
280
283
  Be(l);
281
284
  }
282
- let sr;
283
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
285
+ let ar;
286
+ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
284
287
  constructor(t, r, n) {
285
288
  super();
286
289
  /** The Svelte component constructor */
@@ -317,7 +320,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
317
320
  }
318
321
  }
319
322
  connectedCallback() {
320
- return Tt(this, null, function* () {
323
+ return Lt(this, null, function* () {
321
324
  if (this.$$cn = !0, !this.$$c) {
322
325
  let t = function(s) {
323
326
  return () => {
@@ -341,7 +344,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
341
344
  };
342
345
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
343
346
  return;
344
- const r = {}, n = Zr(this);
347
+ const r = {}, n = Qr(this);
345
348
  for (const s of this.$$s)
346
349
  s in n && (r[s] = [t(s)]);
347
350
  for (const s of this.attributes) {
@@ -430,8 +433,8 @@ function Fe(e, t, r, n) {
430
433
  return t;
431
434
  }
432
435
  }
433
- function ln(e, t, r, n, i, s) {
434
- let o = class extends sr {
436
+ function fn(e, t, r, n, i, s) {
437
+ let o = class extends ar {
435
438
  constructor() {
436
439
  super(e, r, i), this.$$p_d = t;
437
440
  }
@@ -461,7 +464,7 @@ function ln(e, t, r, n, i, s) {
461
464
  }), e.element = /** @type {any} */
462
465
  o, o;
463
466
  }
464
- class hn {
467
+ class cn {
465
468
  constructor() {
466
469
  /**
467
470
  * ### PRIVATE API
@@ -482,7 +485,7 @@ class hn {
482
485
  }
483
486
  /** @returns {void} */
484
487
  $destroy() {
485
- on(this, 1), this.$destroy = se;
488
+ un(this, 1), this.$destroy = se;
486
489
  }
487
490
  /**
488
491
  * @template {Extract<keyof Events, string>} K
@@ -504,13 +507,13 @@ class hn {
504
507
  * @returns {void}
505
508
  */
506
509
  $set(t) {
507
- 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);
508
511
  }
509
512
  }
510
- const fn = "4";
511
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
513
+ const mn = "4";
514
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
512
515
  const xe = [];
513
- function cn(e, t) {
516
+ function dn(e, t) {
514
517
  return {
515
518
  subscribe: Ze(e, t).subscribe
516
519
  };
@@ -519,7 +522,7 @@ function Ze(e, t = se) {
519
522
  let r;
520
523
  const n = /* @__PURE__ */ new Set();
521
524
  function i(a) {
522
- if (rr(e, a) && (e = a, r)) {
525
+ if (ir(e, a) && (e = a, r)) {
523
526
  const l = !xe.length;
524
527
  for (const u of n)
525
528
  u[1](), xe.push(u, e);
@@ -546,7 +549,7 @@ function Le(e, t, r) {
546
549
  if (!i.every(Boolean))
547
550
  throw new Error("derived() expects stores as input, got a falsy value");
548
551
  const s = t.length < 2;
549
- return cn(r, (o, a) => {
552
+ return dn(r, (o, a) => {
550
553
  let l = !1;
551
554
  const u = [];
552
555
  let h = 0, f = se;
@@ -557,10 +560,10 @@ function Le(e, t, r) {
557
560
  const w = t(n ? u[0] : u, o, a);
558
561
  s ? o(w) : f = xt(w) ? w : se;
559
562
  }, x = i.map(
560
- (w, b) => nr(
563
+ (w, b) => sr(
561
564
  w,
562
- (S) => {
563
- u[b] = S, h &= ~(1 << b), l && c();
565
+ (M) => {
566
+ u[b] = M, h &= ~(1 << b), l && c();
564
567
  },
565
568
  () => {
566
569
  h |= 1 << b;
@@ -572,71 +575,71 @@ function Le(e, t, r) {
572
575
  };
573
576
  });
574
577
  }
575
- var or = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
578
+ var ur = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
576
579
  function Et(e) {
577
580
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
578
581
  }
579
- var mn = function(t) {
580
- return dn(t) && !gn(t);
582
+ var gn = function(t) {
583
+ return pn(t) && !bn(t);
581
584
  };
582
- function dn(e) {
585
+ function pn(e) {
583
586
  return !!e && typeof e == "object";
584
587
  }
585
- function gn(e) {
588
+ function bn(e) {
586
589
  var t = Object.prototype.toString.call(e);
587
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
590
+ return t === "[object RegExp]" || t === "[object Date]" || xn(e);
588
591
  }
589
- var pn = typeof Symbol == "function" && Symbol.for, bn = pn ? Symbol.for("react.element") : 60103;
590
- function yn(e) {
591
- return e.$$typeof === bn;
592
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
593
+ function xn(e) {
594
+ return e.$$typeof === vn;
592
595
  }
593
- function vn(e) {
596
+ function En(e) {
594
597
  return Array.isArray(e) ? [] : {};
595
598
  }
596
599
  function Ce(e, t) {
597
- return t.clone !== !1 && t.isMergeableObject(e) ? we(vn(e), e, t) : e;
600
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(En(e), e, t) : e;
598
601
  }
599
- function xn(e, t, r) {
602
+ function _n(e, t, r) {
600
603
  return e.concat(t).map(function(n) {
601
604
  return Ce(n, r);
602
605
  });
603
606
  }
604
- function En(e, t) {
607
+ function wn(e, t) {
605
608
  if (!t.customMerge)
606
609
  return we;
607
610
  var r = t.customMerge(e);
608
611
  return typeof r == "function" ? r : we;
609
612
  }
610
- function _n(e) {
613
+ function Mn(e) {
611
614
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
612
615
  return Object.propertyIsEnumerable.call(e, t);
613
616
  }) : [];
614
617
  }
615
- function $t(e) {
616
- return Object.keys(e).concat(_n(e));
618
+ function Pt(e) {
619
+ return Object.keys(e).concat(Mn(e));
617
620
  }
618
- function ar(e, t) {
621
+ function lr(e, t) {
619
622
  try {
620
623
  return t in e;
621
624
  } catch (r) {
622
625
  return !1;
623
626
  }
624
627
  }
625
- function wn(e, t) {
626
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
628
+ function Sn(e, t) {
629
+ return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
627
630
  }
628
- function Sn(e, t, r) {
631
+ function Tn(e, t, r) {
629
632
  var n = {};
630
- return r.isMergeableObject(e) && $t(e).forEach(function(i) {
633
+ return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
631
634
  n[i] = Ce(e[i], r);
632
- }), $t(t).forEach(function(i) {
633
- wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
635
+ }), Pt(t).forEach(function(i) {
636
+ Sn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
634
637
  }), n;
635
638
  }
636
639
  function we(e, t, r) {
637
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = Ce;
640
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = Ce;
638
641
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
639
- return s ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : Ce(t, r);
642
+ return s ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : Ce(t, r);
640
643
  }
641
644
  we.all = function(t, r) {
642
645
  if (!Array.isArray(t))
@@ -645,13 +648,28 @@ we.all = function(t, r) {
645
648
  return we(n, i, r);
646
649
  }, {});
647
650
  };
648
- var Mn = we, Tn = Mn;
649
- const Hn = /* @__PURE__ */ Et(Tn);
651
+ var Hn = we, Ln = Hn;
652
+ const An = /* @__PURE__ */ Et(Ln);
653
+ /*! *****************************************************************************
654
+ Copyright (c) Microsoft Corporation.
655
+
656
+ Permission to use, copy, modify, and/or distribute this software for any
657
+ purpose with or without fee is hereby granted.
658
+
659
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
660
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
661
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
662
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
663
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
664
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
665
+ PERFORMANCE OF THIS SOFTWARE.
666
+ ***************************************************************************** */
650
667
  var ct = function(e, t) {
651
668
  return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
652
669
  r.__proto__ = n;
653
670
  } || function(r, n) {
654
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
671
+ for (var i in n)
672
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
655
673
  }, ct(e, t);
656
674
  };
657
675
  function Je(e, t) {
@@ -667,72 +685,77 @@ var O = function() {
667
685
  return O = Object.assign || function(t) {
668
686
  for (var r, n = 1, i = arguments.length; n < i; n++) {
669
687
  r = arguments[n];
670
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
688
+ for (var s in r)
689
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
671
690
  }
672
691
  return t;
673
692
  }, O.apply(this, arguments);
674
693
  };
675
- function Ln(e, t) {
694
+ function On(e, t) {
676
695
  var r = {};
677
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
696
+ for (var n in e)
697
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
678
698
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
679
699
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
680
700
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
681
701
  return r;
682
702
  }
683
703
  function rt(e, t, r) {
684
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
685
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
686
- return e.concat(s || Array.prototype.slice.call(t));
704
+ if (arguments.length === 2)
705
+ for (var n = 0, i = t.length, s; n < i; n++)
706
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
707
+ return e.concat(s || t);
687
708
  }
688
709
  function nt(e, t) {
689
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : $n;
710
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
690
711
  return i(e, {
691
712
  cache: r,
692
713
  serializer: n
693
714
  });
694
715
  }
695
- function An(e) {
716
+ function $n(e) {
696
717
  return e == null || typeof e == "number" || typeof e == "boolean";
697
718
  }
698
- function On(e, t, r, n) {
699
- var i = An(n) ? n : r(n), s = t.get(i);
719
+ function hr(e, t, r, n) {
720
+ var i = $n(n) ? n : r(n), s = t.get(i);
700
721
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
701
722
  }
702
- function ur(e, t, r) {
723
+ function fr(e, t, r) {
703
724
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
704
725
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
705
726
  }
706
- function lr(e, t, r, n, i) {
727
+ function _t(e, t, r, n, i) {
707
728
  return r.bind(t, e, n, i);
708
729
  }
709
- function $n(e, t) {
710
- var r = e.length === 1 ? On : ur;
711
- return lr(e, this, r, t.cache.create(), t.serializer);
712
- }
713
730
  function Bn(e, t) {
714
- return lr(e, this, ur, t.cache.create(), t.serializer);
731
+ var r = e.length === 1 ? hr : fr;
732
+ return _t(e, this, r, t.cache.create(), t.serializer);
733
+ }
734
+ function Pn(e, t) {
735
+ return _t(e, this, fr, t.cache.create(), t.serializer);
715
736
  }
716
- var Pn = function() {
737
+ function Cn(e, t) {
738
+ return _t(e, this, hr, t.cache.create(), t.serializer);
739
+ }
740
+ var Nn = function() {
717
741
  return JSON.stringify(arguments);
718
- }, Cn = (
719
- /** @class */
720
- function() {
721
- function e() {
722
- this.cache = /* @__PURE__ */ Object.create(null);
723
- }
724
- return e.prototype.get = function(t) {
725
- return this.cache[t];
726
- }, e.prototype.set = function(t, r) {
727
- this.cache[t] = r;
728
- }, e;
729
- }()
730
- ), 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 In = {
731
753
  create: function() {
732
- return new Cn();
754
+ return new wt();
733
755
  }
734
756
  }, it = {
735
- variadic: Bn
757
+ variadic: Pn,
758
+ monadic: Cn
736
759
  }, H;
737
760
  (function(e) {
738
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";
@@ -741,47 +764,47 @@ var R;
741
764
  (function(e) {
742
765
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
743
766
  })(R || (R = {}));
744
- var Se;
767
+ var Me;
745
768
  (function(e) {
746
769
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
747
- })(Se || (Se = {}));
748
- function Bt(e) {
770
+ })(Me || (Me = {}));
771
+ function Ct(e) {
749
772
  return e.type === R.literal;
750
773
  }
751
- function In(e) {
774
+ function Dn(e) {
752
775
  return e.type === R.argument;
753
776
  }
754
- function hr(e) {
777
+ function cr(e) {
755
778
  return e.type === R.number;
756
779
  }
757
- function fr(e) {
780
+ function mr(e) {
758
781
  return e.type === R.date;
759
782
  }
760
- function cr(e) {
783
+ function dr(e) {
761
784
  return e.type === R.time;
762
785
  }
763
- function mr(e) {
786
+ function gr(e) {
764
787
  return e.type === R.select;
765
788
  }
766
- function dr(e) {
789
+ function pr(e) {
767
790
  return e.type === R.plural;
768
791
  }
769
- function Dn(e) {
792
+ function Rn(e) {
770
793
  return e.type === R.pound;
771
794
  }
772
- function gr(e) {
795
+ function br(e) {
773
796
  return e.type === R.tag;
774
797
  }
775
- function pr(e) {
776
- return !!(e && typeof e == "object" && e.type === Se.number);
798
+ function yr(e) {
799
+ return !!(e && typeof e == "object" && e.type === Me.number);
777
800
  }
778
801
  function mt(e) {
779
- return !!(e && typeof e == "object" && e.type === Se.dateTime);
802
+ return !!(e && typeof e == "object" && e.type === Me.dateTime);
780
803
  }
781
- 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;
782
- 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) {
783
806
  var t = {};
784
- return e.replace(Rn, function(r) {
807
+ return e.replace(Un, function(r) {
785
808
  var n = r.length;
786
809
  switch (r[0]) {
787
810
  case "G":
@@ -870,11 +893,11 @@ function Un(e) {
870
893
  return "";
871
894
  }), t;
872
895
  }
873
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
- function kn(e) {
896
+ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
897
+ function Fn(e) {
875
898
  if (e.length === 0)
876
899
  throw new Error("Number skeleton cannot be empty");
877
- for (var t = e.split(Gn).filter(function(c) {
900
+ for (var t = e.split(kn).filter(function(c) {
878
901
  return c.length > 0;
879
902
  }), r = [], n = 0, i = t; n < i.length; n++) {
880
903
  var s = i[n], o = s.split("/");
@@ -889,17 +912,17 @@ function kn(e) {
889
912
  }
890
913
  return r;
891
914
  }
892
- function Fn(e) {
915
+ function jn(e) {
893
916
  return e.replace(/^(.*?)-/, "");
894
917
  }
895
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
896
- function Ct(e) {
918
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xr = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
919
+ function It(e) {
897
920
  var t = {};
898
- 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(xr, function(r, n, i) {
899
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)), "";
900
923
  }), t;
901
924
  }
902
- function xr(e) {
925
+ function _r(e) {
903
926
  switch (e) {
904
927
  case "sign-auto":
905
928
  return {
@@ -939,7 +962,7 @@ function xr(e) {
939
962
  };
940
963
  }
941
964
  }
942
- function Vn(e) {
965
+ function zn(e) {
943
966
  var t;
944
967
  if (e[0] === "E" && e[1] === "E" ? (t = {
945
968
  notation: "engineering"
@@ -947,17 +970,17 @@ function Vn(e) {
947
970
  notation: "scientific"
948
971
  }, e = e.slice(1)), t) {
949
972
  var r = e.slice(0, 2);
950
- 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))
951
974
  throw new Error("Malformed concise eng/scientific notation");
952
975
  t.minimumIntegerDigits = e.length;
953
976
  }
954
977
  return t;
955
978
  }
956
- function Nt(e) {
957
- var t = {}, r = xr(e);
979
+ function Dt(e) {
980
+ var t = {}, r = _r(e);
958
981
  return r || t;
959
982
  }
960
- function Wn(e) {
983
+ function Xn(e) {
961
984
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
962
985
  var i = n[r];
963
986
  switch (i.stem) {
@@ -981,7 +1004,7 @@ function Wn(e) {
981
1004
  continue;
982
1005
  case "measure-unit":
983
1006
  case "unit":
984
- t.style = "unit", t.unit = Fn(i.options[0]);
1007
+ t.style = "unit", t.unit = jn(i.options[0]);
985
1008
  continue;
986
1009
  case "compact-short":
987
1010
  case "K":
@@ -993,12 +1016,12 @@ function Wn(e) {
993
1016
  continue;
994
1017
  case "scientific":
995
1018
  t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
996
- return O(O({}, l), Nt(u));
1019
+ return O(O({}, l), Dt(u));
997
1020
  }, {}));
998
1021
  continue;
999
1022
  case "engineering":
1000
1023
  t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1001
- return O(O({}, l), Nt(u));
1024
+ return O(O({}, l), Dt(u));
1002
1025
  }, {}));
1003
1026
  continue;
1004
1027
  case "notation-simple":
@@ -1043,7 +1066,7 @@ function Wn(e) {
1043
1066
  case "integer-width":
1044
1067
  if (i.options.length > 1)
1045
1068
  throw new RangeError("integer-width stems only accept a single optional option");
1046
- i.options[0].replace(jn, function(l, u, h, f, c, x) {
1069
+ i.options[0].replace(Vn, function(l, u, h, f, c, x) {
1047
1070
  if (u)
1048
1071
  t.minimumIntegerDigits = h.length;
1049
1072
  else {
@@ -1056,27 +1079,27 @@ function Wn(e) {
1056
1079
  });
1057
1080
  continue;
1058
1081
  }
1059
- if (vr.test(i.stem)) {
1082
+ if (Er.test(i.stem)) {
1060
1083
  t.minimumIntegerDigits = i.stem.length;
1061
1084
  continue;
1062
1085
  }
1063
- if (Pt.test(i.stem)) {
1086
+ if (Nt.test(i.stem)) {
1064
1087
  if (i.options.length > 1)
1065
1088
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1066
- i.stem.replace(Pt, function(l, u, h, f, c, x) {
1089
+ i.stem.replace(Nt, function(l, u, h, f, c, x) {
1067
1090
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1068
1091
  });
1069
1092
  var s = i.options[0];
1070
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Ct(s)));
1093
+ s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), It(s)));
1071
1094
  continue;
1072
1095
  }
1073
- if (yr.test(i.stem)) {
1074
- t = O(O({}, t), Ct(i.stem));
1096
+ if (xr.test(i.stem)) {
1097
+ t = O(O({}, t), It(i.stem));
1075
1098
  continue;
1076
1099
  }
1077
- var o = xr(i.stem);
1100
+ var o = _r(i.stem);
1078
1101
  o && (t = O(O({}, t), o));
1079
- var a = Vn(i.stem);
1102
+ var a = zn(i.stem);
1080
1103
  a && (t = O(O({}, t), a));
1081
1104
  }
1082
1105
  return t;
@@ -2496,22 +2519,23 @@ var ke = {
2496
2519
  "h"
2497
2520
  ]
2498
2521
  };
2499
- function Xn(e, t) {
2522
+ function Wn(e, t) {
2500
2523
  for (var r = "", n = 0; n < e.length; n++) {
2501
2524
  var i = e.charAt(n);
2502
2525
  if (i === "j") {
2503
2526
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2504
2527
  s++, n++;
2505
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = zn(t);
2528
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Yn(t);
2506
2529
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2507
2530
  r += l;
2508
2531
  for (; o-- > 0; )
2509
2532
  r = u + r;
2510
- } else i === "J" ? r += "H" : r += i;
2533
+ } else
2534
+ i === "J" ? r += "H" : r += i;
2511
2535
  }
2512
2536
  return r;
2513
2537
  }
2514
- function zn(e) {
2538
+ function Yn(e) {
2515
2539
  var t = e.hourCycle;
2516
2540
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2517
2541
  e.hourCycles && // @ts-ignore
@@ -2533,20 +2557,20 @@ function zn(e) {
2533
2557
  var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2534
2558
  return i[0];
2535
2559
  }
2536
- var st, Yn = new RegExp("^".concat(br.source, "*")), Zn = new RegExp("".concat(br.source, "*$"));
2560
+ var st, Zn = new RegExp("^".concat(vr.source, "*")), Jn = new RegExp("".concat(vr.source, "*$"));
2537
2561
  function L(e, t) {
2538
2562
  return { start: e, end: t };
2539
2563
  }
2540
- 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) {
2541
2565
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2542
2566
  }, dt = !0;
2543
2567
  try {
2544
- var ii = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
- dt = ((st = ii.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2568
+ var si = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
+ dt = ((st = si.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2546
2570
  } catch (e) {
2547
2571
  dt = !1;
2548
2572
  }
2549
- var It = Jn ? (
2573
+ var Rt = Qn ? (
2550
2574
  // Native
2551
2575
  function(t, r, n) {
2552
2576
  return t.startsWith(r, n);
@@ -2556,7 +2580,7 @@ var It = Jn ? (
2556
2580
  function(t, r, n) {
2557
2581
  return t.slice(n, n + r.length) === r;
2558
2582
  }
2559
- ), gt = Qn ? String.fromCodePoint : (
2583
+ ), gt = qn ? String.fromCodePoint : (
2560
2584
  // IE11
2561
2585
  function() {
2562
2586
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2568,9 +2592,9 @@ var It = Jn ? (
2568
2592
  }
2569
2593
  return n;
2570
2594
  }
2571
- ), Dt = (
2595
+ ), Ut = (
2572
2596
  // native
2573
- qn ? Object.fromEntries : (
2597
+ Kn ? Object.fromEntries : (
2574
2598
  // Ponyfill
2575
2599
  function(t) {
2576
2600
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2580,7 +2604,7 @@ var It = Jn ? (
2580
2604
  return r;
2581
2605
  }
2582
2606
  )
2583
- ), Er = Kn ? (
2607
+ ), wr = ei ? (
2584
2608
  // Native
2585
2609
  function(t, r) {
2586
2610
  return t.codePointAt(r);
@@ -2594,7 +2618,7 @@ var It = Jn ? (
2594
2618
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2595
2619
  }
2596
2620
  }
2597
- ), si = ei ? (
2621
+ ), oi = ti ? (
2598
2622
  // Native
2599
2623
  function(t) {
2600
2624
  return t.trimStart();
@@ -2602,9 +2626,9 @@ var It = Jn ? (
2602
2626
  ) : (
2603
2627
  // Ponyfill
2604
2628
  function(t) {
2605
- return t.replace(Yn, "");
2629
+ return t.replace(Zn, "");
2606
2630
  }
2607
- ), oi = ti ? (
2631
+ ), ai = ri ? (
2608
2632
  // Native
2609
2633
  function(t) {
2610
2634
  return t.trimEnd();
@@ -2612,32 +2636,32 @@ var It = Jn ? (
2612
2636
  ) : (
2613
2637
  // Ponyfill
2614
2638
  function(t) {
2615
- return t.replace(Zn, "");
2639
+ return t.replace(Jn, "");
2616
2640
  }
2617
2641
  );
2618
- function _r(e, t) {
2642
+ function Mr(e, t) {
2619
2643
  return new RegExp(e, t);
2620
2644
  }
2621
2645
  var pt;
2622
2646
  if (dt) {
2623
- var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2647
+ var Gt = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
2648
  pt = function(t, r) {
2625
2649
  var n;
2626
- Rt.lastIndex = r;
2627
- var i = Rt.exec(t);
2650
+ Gt.lastIndex = r;
2651
+ var i = Gt.exec(t);
2628
2652
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2629
2653
  };
2630
2654
  } else
2631
2655
  pt = function(t, r) {
2632
2656
  for (var n = []; ; ) {
2633
- var i = Er(t, r);
2634
- if (i === void 0 || wr(i) || hi(i))
2657
+ var i = wr(t, r);
2658
+ if (i === void 0 || Sr(i) || fi(i))
2635
2659
  break;
2636
2660
  n.push(i), r += i >= 65536 ? 2 : 1;
2637
2661
  }
2638
2662
  return gt.apply(void 0, n);
2639
2663
  };
2640
- var ai = (
2664
+ var ui = (
2641
2665
  /** @class */
2642
2666
  function() {
2643
2667
  function e(t, r) {
@@ -2719,7 +2743,7 @@ var ai = (
2719
2743
  return this.error(H.INVALID_TAG, L(n, this.clonePosition()));
2720
2744
  }, e.prototype.parseTagName = function() {
2721
2745
  var t = this.offset();
2722
- for (this.bump(); !this.isEOF() && li(this.char()); )
2746
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
2723
2747
  this.bump();
2724
2748
  return this.message.slice(t, this.offset());
2725
2749
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2748,7 +2772,7 @@ var ai = (
2748
2772
  };
2749
2773
  }, e.prototype.tryParseLeftAngleBracket = function() {
2750
2774
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2751
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2775
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
2752
2776
  }, e.prototype.tryParseQuote = function(t) {
2753
2777
  if (this.isEOF() || this.char() !== 39)
2754
2778
  return null;
@@ -2835,7 +2859,7 @@ var ai = (
2835
2859
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2836
2860
  if (f.err)
2837
2861
  return f;
2838
- var c = oi(f.val);
2862
+ var c = ai(f.val);
2839
2863
  if (c.length === 0)
2840
2864
  return this.error(H.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2841
2865
  var x = L(h, this.clonePosition());
@@ -2845,24 +2869,24 @@ var ai = (
2845
2869
  if (w.err)
2846
2870
  return w;
2847
2871
  var b = L(i, this.clonePosition());
2848
- if (u && It(u == null ? void 0 : u.style, "::", 0)) {
2849
- var S = si(u.style.slice(2));
2872
+ if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2873
+ var M = oi(u.style.slice(2));
2850
2874
  if (a === "number") {
2851
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
2875
+ var f = this.parseNumberSkeletonFromString(M, u.styleLocation);
2852
2876
  return f.err ? f : {
2853
2877
  val: { type: R.number, value: n, location: b, style: f.val },
2854
2878
  err: null
2855
2879
  };
2856
2880
  } else {
2857
- if (S.length === 0)
2881
+ if (M.length === 0)
2858
2882
  return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2859
- var P = S;
2860
- this.locale && (P = Xn(S, this.locale));
2883
+ var P = M;
2884
+ this.locale && (P = Wn(M, this.locale));
2861
2885
  var c = {
2862
- type: Se.dateTime,
2886
+ type: Me.dateTime,
2863
2887
  pattern: P,
2864
2888
  location: u.styleLocation,
2865
- parsedOptions: this.shouldParseSkeletons ? Un(P) : {}
2889
+ parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
2866
2890
  }, I = a === "date" ? R.date : R.time;
2867
2891
  return {
2868
2892
  val: { type: I, value: n, location: b, style: c },
@@ -2908,7 +2932,7 @@ var ai = (
2908
2932
  val: {
2909
2933
  type: R.select,
2910
2934
  value: n,
2911
- options: Dt(j.val),
2935
+ options: Ut(j.val),
2912
2936
  location: G
2913
2937
  },
2914
2938
  err: null
@@ -2916,7 +2940,7 @@ var ai = (
2916
2940
  val: {
2917
2941
  type: R.plural,
2918
2942
  value: n,
2919
- options: Dt(j.val),
2943
+ options: Ut(j.val),
2920
2944
  offset: C,
2921
2945
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2922
2946
  location: G
@@ -2967,16 +2991,16 @@ var ai = (
2967
2991
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2968
2992
  var n = [];
2969
2993
  try {
2970
- n = kn(t);
2994
+ n = Fn(t);
2971
2995
  } catch (i) {
2972
2996
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2973
2997
  }
2974
2998
  return {
2975
2999
  val: {
2976
- type: Se.number,
3000
+ type: Me.number,
2977
3001
  tokens: n,
2978
3002
  location: r,
2979
- parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3003
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
2980
3004
  },
2981
3005
  err: null
2982
3006
  };
@@ -3024,7 +3048,7 @@ var ai = (
3024
3048
  break;
3025
3049
  }
3026
3050
  var l = L(i, this.clonePosition());
3027
- return s ? (o *= n, ni(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3051
+ return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3028
3052
  }, e.prototype.offset = function() {
3029
3053
  return this.position.offset;
3030
3054
  }, e.prototype.isEOF = function() {
@@ -3039,7 +3063,7 @@ var ai = (
3039
3063
  var t = this.position.offset;
3040
3064
  if (t >= this.message.length)
3041
3065
  throw Error("out of bound");
3042
- var r = Er(this.message, t);
3066
+ var r = wr(this.message, t);
3043
3067
  if (r === void 0)
3044
3068
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3045
3069
  return r;
@@ -3058,7 +3082,7 @@ var ai = (
3058
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);
3059
3083
  }
3060
3084
  }, e.prototype.bumpIf = function(t) {
3061
- if (It(this.message, t, this.offset())) {
3085
+ if (Rt(this.message, t, this.offset())) {
3062
3086
  for (var r = 0; r < t.length; r++)
3063
3087
  this.bump();
3064
3088
  return !0;
@@ -3080,7 +3104,7 @@ var ai = (
3080
3104
  break;
3081
3105
  }
3082
3106
  }, e.prototype.bumpSpace = function() {
3083
- for (; !this.isEOF() && wr(this.char()); )
3107
+ for (; !this.isEOF() && Sr(this.char()); )
3084
3108
  this.bump();
3085
3109
  }, e.prototype.peek = function() {
3086
3110
  if (this.isEOF())
@@ -3093,39 +3117,40 @@ var ai = (
3093
3117
  function bt(e) {
3094
3118
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3095
3119
  }
3096
- function ui(e) {
3120
+ function li(e) {
3097
3121
  return bt(e) || e === 47;
3098
3122
  }
3099
- function li(e) {
3123
+ function hi(e) {
3100
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;
3101
3125
  }
3102
- function wr(e) {
3126
+ function Sr(e) {
3103
3127
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3104
3128
  }
3105
- function hi(e) {
3129
+ function fi(e) {
3106
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;
3107
3131
  }
3108
3132
  function yt(e) {
3109
3133
  e.forEach(function(t) {
3110
- if (delete t.location, mr(t) || dr(t))
3134
+ if (delete t.location, gr(t) || pr(t))
3111
3135
  for (var r in t.options)
3112
3136
  delete t.options[r].location, yt(t.options[r].value);
3113
- else hr(t) && pr(t.style) || (fr(t) || cr(t)) && mt(t.style) ? delete t.style.location : gr(t) && yt(t.children);
3137
+ else
3138
+ cr(t) && yr(t.style) || (mr(t) || dr(t)) && mt(t.style) ? delete t.style.location : br(t) && yt(t.children);
3114
3139
  });
3115
3140
  }
3116
- function fi(e, t) {
3141
+ function ci(e, t) {
3117
3142
  t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3118
- var r = new ai(e, t).parse();
3143
+ var r = new ui(e, t).parse();
3119
3144
  if (r.err) {
3120
3145
  var n = SyntaxError(H[r.err.kind]);
3121
3146
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3122
3147
  }
3123
3148
  return t != null && t.captureLocation || yt(r.val), r.val;
3124
3149
  }
3125
- var Me;
3150
+ var Se;
3126
3151
  (function(e) {
3127
3152
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3128
- })(Me || (Me = {}));
3153
+ })(Se || (Se = {}));
3129
3154
  var Qe = (
3130
3155
  /** @class */
3131
3156
  function(e) {
@@ -3138,30 +3163,30 @@ var Qe = (
3138
3163
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3139
3164
  }, t;
3140
3165
  }(Error)
3141
- ), Ut = (
3166
+ ), kt = (
3142
3167
  /** @class */
3143
3168
  function(e) {
3144
3169
  Je(t, e);
3145
3170
  function t(r, n, i, s) {
3146
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Me.INVALID_VALUE, s) || this;
3171
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Se.INVALID_VALUE, s) || this;
3147
3172
  }
3148
3173
  return t;
3149
3174
  }(Qe)
3150
- ), ci = (
3175
+ ), mi = (
3151
3176
  /** @class */
3152
3177
  function(e) {
3153
3178
  Je(t, e);
3154
3179
  function t(r, n, i) {
3155
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, i) || this;
3180
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Se.INVALID_VALUE, i) || this;
3156
3181
  }
3157
3182
  return t;
3158
3183
  }(Qe)
3159
- ), mi = (
3184
+ ), di = (
3160
3185
  /** @class */
3161
3186
  function(e) {
3162
3187
  Je(t, e);
3163
3188
  function t(r, n) {
3164
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
3189
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Se.MISSING_VALUE, n) || this;
3165
3190
  }
3166
3191
  return t;
3167
3192
  }(Qe)
@@ -3169,17 +3194,17 @@ var Qe = (
3169
3194
  (function(e) {
3170
3195
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3171
3196
  })(J || (J = {}));
3172
- function di(e) {
3197
+ function gi(e) {
3173
3198
  return e.length < 2 ? e : e.reduce(function(t, r) {
3174
3199
  var n = t[t.length - 1];
3175
3200
  return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3176
3201
  }, []);
3177
3202
  }
3178
- function gi(e) {
3203
+ function pi(e) {
3179
3204
  return typeof e == "function";
3180
3205
  }
3181
3206
  function je(e, t, r, n, i, s, o) {
3182
- if (e.length === 1 && Bt(e[0]))
3207
+ if (e.length === 1 && Ct(e[0]))
3183
3208
  return [
3184
3209
  {
3185
3210
  type: J.literal,
@@ -3188,14 +3213,14 @@ function je(e, t, r, n, i, s, o) {
3188
3213
  ];
3189
3214
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3190
3215
  var h = u[l];
3191
- if (Bt(h)) {
3216
+ if (Ct(h)) {
3192
3217
  a.push({
3193
3218
  type: J.literal,
3194
3219
  value: h.value
3195
3220
  });
3196
3221
  continue;
3197
3222
  }
3198
- if (Dn(h)) {
3223
+ if (Rn(h)) {
3199
3224
  typeof s == "number" && a.push({
3200
3225
  type: J.literal,
3201
3226
  value: r.getNumberFormat(t).format(s)
@@ -3204,16 +3229,16 @@ function je(e, t, r, n, i, s, o) {
3204
3229
  }
3205
3230
  var f = h.value;
3206
3231
  if (!(i && f in i))
3207
- throw new mi(f, o);
3232
+ throw new di(f, o);
3208
3233
  var c = i[f];
3209
- if (In(h)) {
3234
+ if (Dn(h)) {
3210
3235
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3211
3236
  type: typeof c == "string" ? J.literal : J.object,
3212
3237
  value: c
3213
3238
  });
3214
3239
  continue;
3215
3240
  }
3216
- if (fr(h)) {
3241
+ if (mr(h)) {
3217
3242
  var x = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3218
3243
  a.push({
3219
3244
  type: J.literal,
@@ -3221,7 +3246,7 @@ function je(e, t, r, n, i, s, o) {
3221
3246
  });
3222
3247
  continue;
3223
3248
  }
3224
- if (cr(h)) {
3249
+ if (dr(h)) {
3225
3250
  var x = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3226
3251
  a.push({
3227
3252
  type: J.literal,
@@ -3229,19 +3254,19 @@ function je(e, t, r, n, i, s, o) {
3229
3254
  });
3230
3255
  continue;
3231
3256
  }
3232
- if (hr(h)) {
3233
- var x = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3257
+ if (cr(h)) {
3258
+ var x = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
3234
3259
  x && x.scale && (c = c * (x.scale || 1)), a.push({
3235
3260
  type: J.literal,
3236
3261
  value: r.getNumberFormat(t, x).format(c)
3237
3262
  });
3238
3263
  continue;
3239
3264
  }
3240
- if (gr(h)) {
3241
- var w = h.children, b = h.value, S = i[b];
3242
- if (!gi(S))
3243
- throw new ci(b, "function", o);
3244
- var P = je(w, t, r, n, i, s), I = S(P.map(function(C) {
3265
+ if (br(h)) {
3266
+ var w = h.children, b = h.value, M = i[b];
3267
+ if (!pi(M))
3268
+ throw new mi(b, "function", o);
3269
+ var P = je(w, t, r, n, i, s), I = M(P.map(function(C) {
3245
3270
  return C.value;
3246
3271
  }));
3247
3272
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(C) {
@@ -3251,39 +3276,39 @@ function je(e, t, r, n, i, s, o) {
3251
3276
  };
3252
3277
  }));
3253
3278
  }
3254
- if (mr(h)) {
3279
+ if (gr(h)) {
3255
3280
  var A = h.options[c] || h.options.other;
3256
3281
  if (!A)
3257
- throw new Ut(h.value, c, Object.keys(h.options), o);
3282
+ throw new kt(h.value, c, Object.keys(h.options), o);
3258
3283
  a.push.apply(a, je(A.value, t, r, n, i));
3259
3284
  continue;
3260
3285
  }
3261
- if (dr(h)) {
3286
+ if (pr(h)) {
3262
3287
  var A = h.options["=".concat(c)];
3263
3288
  if (!A) {
3264
3289
  if (!Intl.PluralRules)
3265
3290
  throw new Qe(`Intl.PluralRules is not available in this environment.
3266
3291
  Try polyfilling it using "@formatjs/intl-pluralrules"
3267
- `, Me.MISSING_INTL_API, o);
3292
+ `, Se.MISSING_INTL_API, o);
3268
3293
  var D = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3269
3294
  A = h.options[D] || h.options.other;
3270
3295
  }
3271
3296
  if (!A)
3272
- throw new Ut(h.value, c, Object.keys(h.options), o);
3297
+ throw new kt(h.value, c, Object.keys(h.options), o);
3273
3298
  a.push.apply(a, je(A.value, t, r, n, i, c - (h.offset || 0)));
3274
3299
  continue;
3275
3300
  }
3276
3301
  }
3277
- return di(a);
3302
+ return gi(a);
3278
3303
  }
3279
- function pi(e, t) {
3304
+ function bi(e, t) {
3280
3305
  return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3281
3306
  return r[n] = O(O({}, e[n]), t[n] || {}), r;
3282
3307
  }, {})) : e;
3283
3308
  }
3284
- function bi(e, t) {
3309
+ function yi(e, t) {
3285
3310
  return t ? Object.keys(e).reduce(function(r, n) {
3286
- return r[n] = pi(e[n], t[n]), r;
3311
+ return r[n] = bi(e[n], t[n]), r;
3287
3312
  }, O({}, e)) : e;
3288
3313
  }
3289
3314
  function ot(e) {
@@ -3300,7 +3325,7 @@ function ot(e) {
3300
3325
  }
3301
3326
  };
3302
3327
  }
3303
- function yi(e) {
3328
+ function vi(e) {
3304
3329
  return e === void 0 && (e = {
3305
3330
  number: {},
3306
3331
  dateTime: {},
@@ -3332,7 +3357,7 @@ function yi(e) {
3332
3357
  })
3333
3358
  };
3334
3359
  }
3335
- var Sr = (
3360
+ var Tr = (
3336
3361
  /** @class */
3337
3362
  function() {
3338
3363
  function e(t, r, n, i) {
@@ -3364,13 +3389,13 @@ var Sr = (
3364
3389
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3365
3390
  var o = i || {};
3366
3391
  o.formatters;
3367
- var a = Ln(o, ["formatters"]);
3392
+ var a = On(o, ["formatters"]);
3368
3393
  this.ast = e.__parse(t, O(O({}, a), { locale: this.resolvedLocale }));
3369
3394
  } else
3370
3395
  this.ast = t;
3371
3396
  if (!Array.isArray(this.ast))
3372
3397
  throw new TypeError("A message must be provided as a String or AST.");
3373
- 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);
3374
3399
  }
3375
3400
  return Object.defineProperty(e, "defaultLocale", {
3376
3401
  get: function() {
@@ -3383,7 +3408,7 @@ var Sr = (
3383
3408
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3384
3409
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3385
3410
  }
3386
- }, e.__parse = fi, e.formats = {
3411
+ }, e.__parse = ci, e.formats = {
3387
3412
  number: {
3388
3413
  integer: {
3389
3414
  maximumFractionDigits: 0
@@ -3444,7 +3469,7 @@ var Sr = (
3444
3469
  }, e;
3445
3470
  }()
3446
3471
  );
3447
- function vi(e, t) {
3472
+ function xi(e, t) {
3448
3473
  if (t == null)
3449
3474
  return;
3450
3475
  if (t in e)
@@ -3465,60 +3490,60 @@ function vi(e, t) {
3465
3490
  n = void 0;
3466
3491
  return n;
3467
3492
  }
3468
- const de = {}, xi = (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), Hr = (e, t) => {
3469
3494
  if (t == null)
3470
3495
  return;
3471
3496
  if (t in de && e in de[t])
3472
3497
  return de[t][e];
3473
3498
  const r = De(t);
3474
3499
  for (let n = 0; n < r.length; n++) {
3475
- const i = r[n], s = _i(i, e);
3500
+ const i = r[n], s = wi(i, e);
3476
3501
  if (s)
3477
- return xi(e, t, s);
3502
+ return Ei(e, t, s);
3478
3503
  }
3479
3504
  };
3480
- let _t;
3505
+ let Mt;
3481
3506
  const Ie = Ze({});
3482
- function Ei(e) {
3483
- return _t[e] || null;
3507
+ function _i(e) {
3508
+ return Mt[e] || null;
3484
3509
  }
3485
- function Tr(e) {
3486
- return e in _t;
3510
+ function Lr(e) {
3511
+ return e in Mt;
3487
3512
  }
3488
- function _i(e, t) {
3489
- if (!Tr(e))
3513
+ function wi(e, t) {
3514
+ if (!Lr(e))
3490
3515
  return null;
3491
- const r = Ei(e);
3492
- return vi(r, t);
3516
+ const r = _i(e);
3517
+ return xi(r, t);
3493
3518
  }
3494
- function wi(e) {
3519
+ function Mi(e) {
3495
3520
  if (e == null)
3496
3521
  return;
3497
3522
  const t = De(e);
3498
3523
  for (let r = 0; r < t.length; r++) {
3499
3524
  const n = t[r];
3500
- if (Tr(n))
3525
+ if (Lr(n))
3501
3526
  return n;
3502
3527
  }
3503
3528
  }
3504
- function Hr(e, ...t) {
3505
- delete de[e], Ie.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3529
+ function Ar(e, ...t) {
3530
+ delete de[e], Ie.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3506
3531
  }
3507
3532
  Le(
3508
3533
  [Ie],
3509
3534
  ([e]) => Object.keys(e)
3510
3535
  );
3511
- Ie.subscribe((e) => _t = e);
3536
+ Ie.subscribe((e) => Mt = e);
3512
3537
  const Ve = {};
3513
3538
  function Si(e, t) {
3514
3539
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3515
3540
  }
3516
- function Lr(e) {
3541
+ function Or(e) {
3517
3542
  return Ve[e];
3518
3543
  }
3519
- function Mi(e) {
3544
+ function Ti(e) {
3520
3545
  return De(e).map((t) => {
3521
- const r = Lr(t);
3546
+ const r = Or(t);
3522
3547
  return [t, r ? [...r] : []];
3523
3548
  }).filter(([, t]) => t.length > 0);
3524
3549
  }
@@ -3526,40 +3551,40 @@ function Xe(e) {
3526
3551
  return e == null ? !1 : De(e).some(
3527
3552
  (t) => {
3528
3553
  var r;
3529
- return (r = Lr(t)) == null ? void 0 : r.size;
3554
+ return (r = Or(t)) == null ? void 0 : r.size;
3530
3555
  }
3531
3556
  );
3532
3557
  }
3533
- function Ti(e, t) {
3558
+ function Hi(e, t) {
3534
3559
  return Promise.all(
3535
3560
  t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
3536
- ).then((n) => Hr(e, ...n));
3561
+ ).then((n) => Ar(e, ...n));
3537
3562
  }
3538
3563
  const Oe = {};
3539
- function Ar(e) {
3564
+ function $r(e) {
3540
3565
  if (!Xe(e))
3541
3566
  return e in Oe ? Oe[e] : Promise.resolve();
3542
- const t = Mi(e);
3567
+ const t = Ti(e);
3543
3568
  return Oe[e] = Promise.all(
3544
3569
  t.map(
3545
- ([r, n]) => Ti(r, n)
3570
+ ([r, n]) => Hi(r, n)
3546
3571
  )
3547
3572
  ).then(() => {
3548
3573
  if (Xe(e))
3549
- return Ar(e);
3574
+ return $r(e);
3550
3575
  delete Oe[e];
3551
3576
  }), Oe[e];
3552
3577
  }
3553
- var Gt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ai = (e, t) => {
3578
+ var Ft = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Oi = (e, t) => {
3554
3579
  var r = {};
3555
3580
  for (var n in e)
3556
- Hi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3557
- if (e != null && Gt)
3558
- for (var n of Gt(e))
3559
- t.indexOf(n) < 0 && Li.call(e, n) && (r[n] = e[n]);
3581
+ Li.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 && Ai.call(e, n) && (r[n] = e[n]);
3560
3585
  return r;
3561
3586
  };
3562
- const Oi = {
3587
+ const $i = {
3563
3588
  number: {
3564
3589
  scientific: { notation: "scientific" },
3565
3590
  engineering: { notation: "engineering" },
@@ -3589,7 +3614,7 @@ const Oi = {
3589
3614
  }
3590
3615
  }
3591
3616
  };
3592
- function $i({ locale: e, id: t }) {
3617
+ function Bi({ locale: e, id: t }) {
3593
3618
  console.warn(
3594
3619
  `[svelte-i18n] The message "${t}" was not found in "${De(
3595
3620
  e
@@ -3598,72 +3623,72 @@ function $i({ locale: e, id: t }) {
3598
3623
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3599
3624
  );
3600
3625
  }
3601
- const Bi = {
3626
+ const Pi = {
3602
3627
  fallbackLocale: null,
3603
3628
  loadingDelay: 200,
3604
- formats: Oi,
3629
+ formats: $i,
3605
3630
  warnOnMissingMessages: !0,
3606
3631
  handleMissingMessage: void 0,
3607
3632
  ignoreTag: !0
3608
- }, $e = Bi;
3633
+ }, $e = Pi;
3609
3634
  function Te() {
3610
3635
  return $e;
3611
3636
  }
3612
- function Pi(e) {
3613
- const t = e, { formats: r } = t, n = Ai(t, ["formats"]);
3637
+ function Ci(e) {
3638
+ const t = e, { formats: r } = t, n = Oi(t, ["formats"]);
3614
3639
  let i = e.fallbackLocale;
3615
3640
  if (e.initialLocale)
3616
3641
  try {
3617
- Sr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3642
+ Tr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3618
3643
  } catch (s) {
3619
3644
  console.warn(
3620
3645
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3621
3646
  );
3622
3647
  }
3623
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = $i : console.warn(
3648
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Bi : console.warn(
3624
3649
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3625
3650
  )), Object.assign($e, n, { initialLocale: i }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), be.set(i);
3626
3651
  }
3627
3652
  const at = Ze(!1);
3628
- var Ci = Object.defineProperty, Ni = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
3653
+ var Ni = Object.defineProperty, Ii = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
3629
3654
  for (var r in t || (t = {}))
3630
- Di.call(t, r) && Ft(e, r, t[r]);
3631
- if (kt)
3632
- for (var r of kt(t))
3633
- Ri.call(t, r) && Ft(e, r, t[r]);
3655
+ Ri.call(t, r) && Vt(e, r, t[r]);
3656
+ if (jt)
3657
+ for (var r of jt(t))
3658
+ Ui.call(t, r) && Vt(e, r, t[r]);
3634
3659
  return e;
3635
- }, Gi = (e, t) => Ni(e, Ii(t));
3660
+ }, ki = (e, t) => Ii(e, Di(t));
3636
3661
  let vt;
3637
- const ze = Ze(null);
3638
- function jt(e) {
3662
+ const We = Ze(null);
3663
+ function zt(e) {
3639
3664
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3640
3665
  }
3641
3666
  function De(e, t = Te().fallbackLocale) {
3642
- const r = jt(e);
3643
- return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
3667
+ const r = zt(e);
3668
+ return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
3644
3669
  }
3645
3670
  function ge() {
3646
3671
  return vt != null ? vt : void 0;
3647
3672
  }
3648
- ze.subscribe((e) => {
3673
+ We.subscribe((e) => {
3649
3674
  vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3650
3675
  });
3651
- const ki = (e) => {
3652
- if (e && wi(e) && Xe(e)) {
3676
+ const Fi = (e) => {
3677
+ if (e && Mi(e) && Xe(e)) {
3653
3678
  const { loadingDelay: t } = Te();
3654
3679
  let r;
3655
3680
  return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
3656
3681
  () => at.set(!0),
3657
3682
  t
3658
- ) : at.set(!0), Ar(e).then(() => {
3659
- ze.set(e);
3683
+ ) : at.set(!0), $r(e).then(() => {
3684
+ We.set(e);
3660
3685
  }).finally(() => {
3661
3686
  clearTimeout(r), at.set(!1);
3662
3687
  });
3663
3688
  }
3664
- return ze.set(e);
3665
- }, be = Gi(Ui({}, ze), {
3666
- set: ki
3689
+ return We.set(e);
3690
+ }, be = ki(Gi({}, We), {
3691
+ set: Fi
3667
3692
  }), qe = (e) => {
3668
3693
  const t = /* @__PURE__ */ Object.create(null);
3669
3694
  return (n) => {
@@ -3671,20 +3696,20 @@ const ki = (e) => {
3671
3696
  return i in t ? t[i] : t[i] = e(n);
3672
3697
  };
3673
3698
  };
3674
- var Fi = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Vt = (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, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3675
3700
  for (var r in t || (t = {}))
3676
- Or.call(t, r) && Vt(e, r, t[r]);
3701
+ Br.call(t, r) && Xt(e, r, t[r]);
3677
3702
  if (Ye)
3678
3703
  for (var r of Ye(t))
3679
- $r.call(t, r) && Vt(e, r, t[r]);
3704
+ Pr.call(t, r) && Xt(e, r, t[r]);
3680
3705
  return e;
3681
3706
  }, Ae = (e, t) => {
3682
3707
  var r = {};
3683
3708
  for (var n in e)
3684
- Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3709
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3685
3710
  if (e != null && Ye)
3686
3711
  for (var n of Ye(e))
3687
- t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
3712
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
3688
3713
  return r;
3689
3714
  };
3690
3715
  const Ne = (e, t) => {
@@ -3692,21 +3717,21 @@ const Ne = (e, t) => {
3692
3717
  if (e in r && t in r[e])
3693
3718
  return r[e][t];
3694
3719
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3695
- }, ji = qe(
3720
+ }, Vi = qe(
3696
3721
  (e) => {
3697
3722
  var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3698
3723
  if (r == null)
3699
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3700
3725
  return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
3701
3726
  }
3702
- ), Vi = qe(
3727
+ ), zi = qe(
3703
3728
  (e) => {
3704
3729
  var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3705
3730
  if (r == null)
3706
3731
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3707
3732
  return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
3708
3733
  }
3709
- ), Wi = qe(
3734
+ ), Xi = qe(
3710
3735
  (e) => {
3711
3736
  var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3712
3737
  if (r == null)
@@ -3715,33 +3740,33 @@ const Ne = (e, t) => {
3715
3740
  );
3716
3741
  return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
3717
3742
  }
3718
- ), Xi = (e = {}) => {
3743
+ ), Wi = (e = {}) => {
3719
3744
  var t = e, {
3720
3745
  locale: r = ge()
3721
3746
  } = t, n = Ae(t, [
3722
3747
  "locale"
3723
3748
  ]);
3724
- return ji(wt({ locale: r }, n));
3725
- }, zi = (e = {}) => {
3749
+ return Vi(St({ locale: r }, n));
3750
+ }, Yi = (e = {}) => {
3726
3751
  var t = e, {
3727
3752
  locale: r = ge()
3728
3753
  } = t, n = Ae(t, [
3729
3754
  "locale"
3730
3755
  ]);
3731
- return Vi(wt({ locale: r }, n));
3732
- }, Yi = (e = {}) => {
3756
+ return zi(St({ locale: r }, n));
3757
+ }, Zi = (e = {}) => {
3733
3758
  var t = e, {
3734
3759
  locale: r = ge()
3735
3760
  } = t, n = Ae(t, [
3736
3761
  "locale"
3737
3762
  ]);
3738
- return Wi(wt({ locale: r }, n));
3739
- }, Zi = qe(
3763
+ return Xi(St({ locale: r }, n));
3764
+ }, Ji = qe(
3740
3765
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3741
- (e, t = ge()) => new Sr(e, t, Te().formats, {
3766
+ (e, t = ge()) => new Tr(e, t, Te().formats, {
3742
3767
  ignoreTag: Te().ignoreTag
3743
3768
  })
3744
- ), Ji = (e, t = {}) => {
3769
+ ), Qi = (e, t = {}) => {
3745
3770
  var r, n, i, s;
3746
3771
  let o = t;
3747
3772
  typeof e == "object" && (o = e, e = o.id);
@@ -3754,7 +3779,7 @@ const Ne = (e, t) => {
3754
3779
  throw new Error(
3755
3780
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3756
3781
  );
3757
- let h = Mr(e, l);
3782
+ let h = Hr(e, l);
3758
3783
  if (!h)
3759
3784
  h = (s = (i = (n = (r = Te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3760
3785
  else if (typeof h != "string")
@@ -3765,7 +3790,7 @@ const Ne = (e, t) => {
3765
3790
  return h;
3766
3791
  let f = h;
3767
3792
  try {
3768
- f = Zi(h, l).format(a);
3793
+ f = Ji(h, l).format(a);
3769
3794
  } catch (c) {
3770
3795
  c instanceof Error && console.warn(
3771
3796
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3773,20 +3798,20 @@ const Ne = (e, t) => {
3773
3798
  );
3774
3799
  }
3775
3800
  return f;
3776
- }, Qi = (e, t) => Yi(t).format(e), qi = (e, t) => zi(t).format(e), Ki = (e, t) => Xi(t).format(e), es = (e, t = ge()) => Mr(e, t), ts = Le([be, Ie], () => Ji);
3777
- Le([be], () => Qi);
3801
+ }, qi = (e, t) => Zi(t).format(e), Ki = (e, t) => Yi(t).format(e), es = (e, t) => Wi(t).format(e), ts = (e, t = ge()) => Hr(e, t), rs = Le([be, Ie], () => Qi);
3778
3802
  Le([be], () => qi);
3779
3803
  Le([be], () => Ki);
3780
- Le([be, Ie], () => es);
3804
+ Le([be], () => es);
3805
+ Le([be, Ie], () => ts);
3781
3806
  function Wt(e, t) {
3782
- Hr(e, t);
3807
+ Ar(e, t);
3783
3808
  }
3784
- function rs(e) {
3785
- Pi({
3809
+ function ns(e) {
3810
+ Ci({
3786
3811
  fallbackLocale: "en"
3787
3812
  }), be.set(e);
3788
3813
  }
3789
- const Xt = {
3814
+ const Yt = {
3790
3815
  en: {
3791
3816
  generalMin: "Min",
3792
3817
  generalMax: "Max",
@@ -3820,12 +3845,12 @@ const Xt = {
3820
3845
  showLess: "SHOW LESS"
3821
3846
  }
3822
3847
  };
3823
- var Br = { exports: {} };
3848
+ var Cr = { exports: {} };
3824
3849
  (function(e, t) {
3825
3850
  (function(r, n) {
3826
3851
  e.exports = n();
3827
- })(or, function() {
3828
- var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", l = "hour", u = "day", h = "week", f = "month", c = "quarter", x = "year", w = "date", b = "Invalid Date", S = /^(\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(E) {
3852
+ })(ur, function() {
3853
+ var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", l = "hour", u = "day", h = "week", f = "month", c = "quarter", x = "year", w = "date", b = "Invalid Date", M = /^(\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(E) {
3829
3854
  var p = ["th", "st", "nd", "rd"], m = E % 100;
3830
3855
  return "[" + E + (p[(m - 20) % 10] || p[m] || p[0]) + "]";
3831
3856
  } }, A = function(E, p, m) {
@@ -3835,7 +3860,8 @@ var Br = { exports: {} };
3835
3860
  var p = -E.utcOffset(), m = Math.abs(p), y = Math.floor(m / 60), g = m % 60;
3836
3861
  return (p <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(g, 2, "0");
3837
3862
  }, m: function E(p, m) {
3838
- if (p.date() < m.date()) return -E(m, p);
3863
+ if (p.date() < m.date())
3864
+ return -E(m, p);
3839
3865
  var y = 12 * (m.year() - p.year()) + (m.month() - p.month()), g = p.clone().add(y, f), _ = m - g < 0, v = p.clone().add(y + (_ ? -1 : 1), f);
3840
3866
  return +(-(y + (m - g) / (_ ? g - v : v - g)) || 0);
3841
3867
  }, a: function(E) {
@@ -3848,40 +3874,46 @@ var Br = { exports: {} };
3848
3874
  j[C] = I;
3849
3875
  var G = "$isDayjsObject", K = function(E) {
3850
3876
  return E instanceof re || !(!E || !E[G]);
3851
- }, z = function E(p, m, y) {
3877
+ }, W = function E(p, m, y) {
3852
3878
  var g;
3853
- if (!p) return C;
3879
+ if (!p)
3880
+ return C;
3854
3881
  if (typeof p == "string") {
3855
3882
  var _ = p.toLowerCase();
3856
3883
  j[_] && (g = _), m && (j[_] = m, g = _);
3857
3884
  var v = p.split("-");
3858
- if (!g && v.length > 1) return E(v[0]);
3885
+ if (!g && v.length > 1)
3886
+ return E(v[0]);
3859
3887
  } else {
3860
3888
  var $ = p.name;
3861
3889
  j[$] = p, g = $;
3862
3890
  }
3863
3891
  return !y && g && (C = g), g || !y && C;
3864
3892
  }, N = function(E, p) {
3865
- if (K(E)) return E.clone();
3893
+ if (K(E))
3894
+ return E.clone();
3866
3895
  var m = typeof p == "object" ? p : {};
3867
3896
  return m.date = E, m.args = arguments, new re(m);
3868
- }, M = D;
3869
- M.l = z, M.i = K, M.w = function(E, p) {
3897
+ }, S = D;
3898
+ S.l = W, S.i = K, S.w = function(E, p) {
3870
3899
  return N(E, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
3871
3900
  };
3872
3901
  var re = function() {
3873
3902
  function E(m) {
3874
- this.$L = z(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[G] = !0;
3903
+ this.$L = W(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[G] = !0;
3875
3904
  }
3876
3905
  var p = E.prototype;
3877
3906
  return p.parse = function(m) {
3878
3907
  this.$d = function(y) {
3879
3908
  var g = y.date, _ = y.utc;
3880
- if (g === null) return /* @__PURE__ */ new Date(NaN);
3881
- if (M.u(g)) return /* @__PURE__ */ new Date();
3882
- if (g instanceof Date) return new Date(g);
3909
+ if (g === null)
3910
+ return /* @__PURE__ */ new Date(NaN);
3911
+ if (S.u(g))
3912
+ return /* @__PURE__ */ new Date();
3913
+ if (g instanceof Date)
3914
+ return new Date(g);
3883
3915
  if (typeof g == "string" && !/Z$/i.test(g)) {
3884
- var v = g.match(S);
3916
+ var v = g.match(M);
3885
3917
  if (v) {
3886
3918
  var $ = v[2] - 1 || 0, U = (v[7] || "0").substring(0, 3);
3887
3919
  return _ ? new Date(Date.UTC(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U)) : new Date(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U);
@@ -3893,7 +3925,7 @@ var Br = { exports: {} };
3893
3925
  var m = this.$d;
3894
3926
  this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
3895
3927
  }, p.$utils = function() {
3896
- return M;
3928
+ return S;
3897
3929
  }, p.isValid = function() {
3898
3930
  return this.$d.toString() !== b;
3899
3931
  }, p.isSame = function(m, y) {
@@ -3904,17 +3936,17 @@ var Br = { exports: {} };
3904
3936
  }, p.isBefore = function(m, y) {
3905
3937
  return this.endOf(y) < N(m);
3906
3938
  }, p.$g = function(m, y, g) {
3907
- return M.u(m) ? this[y] : this.set(g, m);
3939
+ return S.u(m) ? this[y] : this.set(g, m);
3908
3940
  }, p.unix = function() {
3909
3941
  return Math.floor(this.valueOf() / 1e3);
3910
3942
  }, p.valueOf = function() {
3911
3943
  return this.$d.getTime();
3912
3944
  }, p.startOf = function(m, y) {
3913
- var g = this, _ = !!M.u(y) || y, v = M.p(m), $ = function(fe, Y) {
3914
- var ae = M.w(g.$u ? Date.UTC(g.$y, Y, fe) : new Date(g.$y, Y, fe), g);
3945
+ var g = this, _ = !!S.u(y) || y, v = S.p(m), $ = function(fe, Y) {
3946
+ var ae = S.w(g.$u ? Date.UTC(g.$y, Y, fe) : new Date(g.$y, Y, fe), g);
3915
3947
  return _ ? ae : ae.endOf(u);
3916
3948
  }, U = function(fe, Y) {
3917
- return M.w(g.toDate()[fe].apply(g.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), g);
3949
+ return S.w(g.toDate()[fe].apply(g.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), g);
3918
3950
  }, V = this.$W, X = this.$M, Q = this.$D, ce = "set" + (this.$u ? "UTC" : "");
3919
3951
  switch (v) {
3920
3952
  case x:
@@ -3939,38 +3971,44 @@ var Br = { exports: {} };
3939
3971
  }, p.endOf = function(m) {
3940
3972
  return this.startOf(m, !1);
3941
3973
  }, p.$set = function(m, y) {
3942
- var g, _ = M.p(m), v = "set" + (this.$u ? "UTC" : ""), $ = (g = {}, g[u] = v + "Date", g[w] = v + "Date", g[f] = v + "Month", g[x] = v + "FullYear", g[l] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[_], U = _ === u ? this.$D + (y - this.$W) : y;
3974
+ var g, _ = S.p(m), v = "set" + (this.$u ? "UTC" : ""), $ = (g = {}, g[u] = v + "Date", g[w] = v + "Date", g[f] = v + "Month", g[x] = v + "FullYear", g[l] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[_], U = _ === u ? this.$D + (y - this.$W) : y;
3943
3975
  if (_ === f || _ === x) {
3944
3976
  var V = this.clone().set(w, 1);
3945
3977
  V.$d[$](U), V.init(), this.$d = V.set(w, Math.min(this.$D, V.daysInMonth())).$d;
3946
- } else $ && this.$d[$](U);
3978
+ } else
3979
+ $ && this.$d[$](U);
3947
3980
  return this.init(), this;
3948
3981
  }, p.set = function(m, y) {
3949
3982
  return this.clone().$set(m, y);
3950
3983
  }, p.get = function(m) {
3951
- return this[M.p(m)]();
3984
+ return this[S.p(m)]();
3952
3985
  }, p.add = function(m, y) {
3953
3986
  var g, _ = this;
3954
3987
  m = Number(m);
3955
- var v = M.p(y), $ = function(X) {
3988
+ var v = S.p(y), $ = function(X) {
3956
3989
  var Q = N(_);
3957
- return M.w(Q.date(Q.date() + Math.round(X * m)), _);
3990
+ return S.w(Q.date(Q.date() + Math.round(X * m)), _);
3958
3991
  };
3959
- if (v === f) return this.set(f, this.$M + m);
3960
- if (v === x) return this.set(x, this.$y + m);
3961
- if (v === u) return $(1);
3962
- if (v === h) return $(7);
3992
+ if (v === f)
3993
+ return this.set(f, this.$M + m);
3994
+ if (v === x)
3995
+ return this.set(x, this.$y + m);
3996
+ if (v === u)
3997
+ return $(1);
3998
+ if (v === h)
3999
+ return $(7);
3963
4000
  var U = (g = {}, g[a] = n, g[l] = i, g[o] = r, g)[v] || 1, V = this.$d.getTime() + m * U;
3964
- return M.w(V, this);
4001
+ return S.w(V, this);
3965
4002
  }, p.subtract = function(m, y) {
3966
4003
  return this.add(-1 * m, y);
3967
4004
  }, p.format = function(m) {
3968
4005
  var y = this, g = this.$locale();
3969
- if (!this.isValid()) return g.invalidDate || b;
3970
- var _ = m || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), $ = this.$H, U = this.$m, V = this.$M, X = g.weekdays, Q = g.months, ce = g.meridiem, he = function(Y, ae, d, B) {
4006
+ if (!this.isValid())
4007
+ return g.invalidDate || b;
4008
+ var _ = m || "YYYY-MM-DDTHH:mm:ssZ", v = S.z(this), $ = this.$H, U = this.$m, V = this.$M, X = g.weekdays, Q = g.months, ce = g.meridiem, he = function(Y, ae, d, B) {
3971
4009
  return Y && (Y[ae] || Y(y, _)) || d[ae].slice(0, B);
3972
4010
  }, me = function(Y) {
3973
- return M.s($ % 12 || 12, Y, "0");
4011
+ return S.s($ % 12 || 12, Y, "0");
3974
4012
  }, fe = ce || function(Y, ae, d) {
3975
4013
  var B = Y < 12 ? "AM" : "PM";
3976
4014
  return d ? B.toLowerCase() : B;
@@ -3981,11 +4019,11 @@ var Br = { exports: {} };
3981
4019
  case "YY":
3982
4020
  return String(y.$y).slice(-2);
3983
4021
  case "YYYY":
3984
- return M.s(y.$y, 4, "0");
4022
+ return S.s(y.$y, 4, "0");
3985
4023
  case "M":
3986
4024
  return V + 1;
3987
4025
  case "MM":
3988
- return M.s(V + 1, 2, "0");
4026
+ return S.s(V + 1, 2, "0");
3989
4027
  case "MMM":
3990
4028
  return he(g.monthsShort, V, Q, 3);
3991
4029
  case "MMMM":
@@ -3993,7 +4031,7 @@ var Br = { exports: {} };
3993
4031
  case "D":
3994
4032
  return y.$D;
3995
4033
  case "DD":
3996
- return M.s(y.$D, 2, "0");
4034
+ return S.s(y.$D, 2, "0");
3997
4035
  case "d":
3998
4036
  return String(y.$W);
3999
4037
  case "dd":
@@ -4005,7 +4043,7 @@ var Br = { exports: {} };
4005
4043
  case "H":
4006
4044
  return String($);
4007
4045
  case "HH":
4008
- return M.s($, 2, "0");
4046
+ return S.s($, 2, "0");
4009
4047
  case "h":
4010
4048
  return me(1);
4011
4049
  case "hh":
@@ -4017,13 +4055,13 @@ var Br = { exports: {} };
4017
4055
  case "m":
4018
4056
  return String(U);
4019
4057
  case "mm":
4020
- return M.s(U, 2, "0");
4058
+ return S.s(U, 2, "0");
4021
4059
  case "s":
4022
4060
  return String(y.$s);
4023
4061
  case "ss":
4024
- return M.s(y.$s, 2, "0");
4062
+ return S.s(y.$s, 2, "0");
4025
4063
  case "SSS":
4026
- return M.s(y.$ms, 3, "0");
4064
+ return S.s(y.$ms, 3, "0");
4027
4065
  case "Z":
4028
4066
  return v;
4029
4067
  }
@@ -4033,8 +4071,8 @@ var Br = { exports: {} };
4033
4071
  }, p.utcOffset = function() {
4034
4072
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4035
4073
  }, p.diff = function(m, y, g) {
4036
- var _, v = this, $ = M.p(y), U = N(m), V = (U.utcOffset() - this.utcOffset()) * n, X = this - U, Q = function() {
4037
- return M.m(v, U);
4074
+ var _, v = this, $ = S.p(y), U = N(m), V = (U.utcOffset() - this.utcOffset()) * n, X = this - U, Q = function() {
4075
+ return S.m(v, U);
4038
4076
  };
4039
4077
  switch ($) {
4040
4078
  case x:
@@ -4064,17 +4102,18 @@ var Br = { exports: {} };
4064
4102
  default:
4065
4103
  _ = X;
4066
4104
  }
4067
- return g ? _ : M.a(_);
4105
+ return g ? _ : S.a(_);
4068
4106
  }, p.daysInMonth = function() {
4069
4107
  return this.endOf(f).$D;
4070
4108
  }, p.$locale = function() {
4071
4109
  return j[this.$L];
4072
4110
  }, p.locale = function(m, y) {
4073
- if (!m) return this.$L;
4074
- var g = this.clone(), _ = z(m, y, !0);
4111
+ if (!m)
4112
+ return this.$L;
4113
+ var g = this.clone(), _ = W(m, y, !0);
4075
4114
  return _ && (g.$L = _), g;
4076
4115
  }, p.clone = function() {
4077
- return M.w(this.$d, this);
4116
+ return S.w(this.$d, this);
4078
4117
  }, p.toDate = function() {
4079
4118
  return new Date(this.valueOf());
4080
4119
  }, p.toJSON = function() {
@@ -4091,27 +4130,27 @@ var Br = { exports: {} };
4091
4130
  };
4092
4131
  }), N.extend = function(E, p) {
4093
4132
  return E.$i || (E(p, re, N), E.$i = !0), N;
4094
- }, N.locale = z, N.isDayjs = K, N.unix = function(E) {
4133
+ }, N.locale = W, N.isDayjs = K, N.unix = function(E) {
4095
4134
  return N(1e3 * E);
4096
4135
  }, N.en = j[C], N.Ls = j, N.p = {}, N;
4097
4136
  });
4098
- })(Br);
4099
- var ns = Br.exports;
4100
- const zt = /* @__PURE__ */ Et(ns);
4101
- var Pr = { exports: {} };
4137
+ })(Cr);
4138
+ var is = Cr.exports;
4139
+ const Zt = /* @__PURE__ */ Et(is);
4140
+ var Nr = { exports: {} };
4102
4141
  (function(e, t) {
4103
4142
  (function(r, n) {
4104
4143
  e.exports = n();
4105
- })(or, function() {
4144
+ })(ur, function() {
4106
4145
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4107
4146
  return function(s, o, a) {
4108
4147
  var l = o.prototype;
4109
4148
  a.utc = function(b) {
4110
- var S = { date: b, utc: !0, args: arguments };
4111
- return new o(S);
4149
+ var M = { date: b, utc: !0, args: arguments };
4150
+ return new o(M);
4112
4151
  }, l.utc = function(b) {
4113
- var S = a(this.toDate(), { locale: this.$L, utc: !0 });
4114
- return b ? S.add(this.utcOffset(), r) : S;
4152
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4153
+ return b ? M.add(this.utcOffset(), r) : M;
4115
4154
  }, l.local = function() {
4116
4155
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4117
4156
  };
@@ -4124,31 +4163,37 @@ var Pr = { exports: {} };
4124
4163
  if (this.$u) {
4125
4164
  var b = this.$d;
4126
4165
  this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4127
- } else h.call(this);
4166
+ } else
4167
+ h.call(this);
4128
4168
  };
4129
4169
  var f = l.utcOffset;
4130
- l.utcOffset = function(b, S) {
4170
+ l.utcOffset = function(b, M) {
4131
4171
  var P = this.$utils().u;
4132
- if (P(b)) return this.$u ? 0 : P(this.$offset) ? f.call(this) : this.$offset;
4172
+ if (P(b))
4173
+ return this.$u ? 0 : P(this.$offset) ? f.call(this) : this.$offset;
4133
4174
  if (typeof b == "string" && (b = function(C) {
4134
4175
  C === void 0 && (C = "");
4135
4176
  var j = C.match(n);
4136
- if (!j) return null;
4137
- var G = ("" + j[0]).match(i) || ["-", 0, 0], K = G[0], z = 60 * +G[1] + +G[2];
4138
- return z === 0 ? 0 : K === "+" ? z : -z;
4139
- }(b), b === null)) return this;
4177
+ if (!j)
4178
+ return null;
4179
+ var G = ("" + j[0]).match(i) || ["-", 0, 0], K = G[0], W = 60 * +G[1] + +G[2];
4180
+ return W === 0 ? 0 : K === "+" ? W : -W;
4181
+ }(b), b === null))
4182
+ return this;
4140
4183
  var I = Math.abs(b) <= 16 ? 60 * b : b, A = this;
4141
- if (S) return A.$offset = I, A.$u = b === 0, A;
4184
+ if (M)
4185
+ return A.$offset = I, A.$u = b === 0, A;
4142
4186
  if (b !== 0) {
4143
4187
  var D = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4144
4188
  (A = this.local().add(I + D, r)).$offset = I, A.$x.$localOffset = D;
4145
- } else A = this.utc();
4189
+ } else
4190
+ A = this.utc();
4146
4191
  return A;
4147
4192
  };
4148
4193
  var c = l.format;
4149
4194
  l.format = function(b) {
4150
- var S = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4151
- return c.call(this, S);
4195
+ var M = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4196
+ return c.call(this, M);
4152
4197
  }, l.valueOf = function() {
4153
4198
  var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4154
4199
  return this.$d.valueOf() - 6e4 * b;
@@ -4164,24 +4209,25 @@ var Pr = { exports: {} };
4164
4209
  return b === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4165
4210
  };
4166
4211
  var w = l.diff;
4167
- l.diff = function(b, S, P) {
4168
- if (b && this.$u === b.$u) return w.call(this, b, S, P);
4212
+ l.diff = function(b, M, P) {
4213
+ if (b && this.$u === b.$u)
4214
+ return w.call(this, b, M, P);
4169
4215
  var I = this.local(), A = a(b).local();
4170
- return w.call(I, A, S, P);
4216
+ return w.call(I, A, M, P);
4171
4217
  };
4172
4218
  };
4173
4219
  });
4174
- })(Pr);
4175
- var is = Pr.exports;
4176
- const ss = /* @__PURE__ */ Et(is);
4177
- function os(e) {
4178
- Fr(e, "svelte-1wlv0rl", "*,*::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{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.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__ */ Et(ss);
4223
+ function as(e) {
4224
+ Vr(e, "svelte-1wlv0rl", "*,*::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{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.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}}");
4179
4225
  }
4180
- function Yt(e, t, r) {
4226
+ function Jt(e, t, r) {
4181
4227
  const n = e.slice();
4182
4228
  return n[48] = t[r], n[50] = r, n;
4183
4229
  }
4184
- function Zt(e) {
4230
+ function Qt(e) {
4185
4231
  let t;
4186
4232
  return {
4187
4233
  c() {
@@ -4220,20 +4266,20 @@ function Zt(e) {
4220
4266
  }
4221
4267
  };
4222
4268
  }
4223
- function Jt(e) {
4224
- let t, r, n, i, s = Ot(
4269
+ function qt(e) {
4270
+ let t, r, n, i, s = Bt(
4225
4271
  /*paymentMethodsToShow*/
4226
4272
  e[8]
4227
4273
  ), o = [];
4228
4274
  for (let u = 0; u < s.length; u += 1)
4229
- o[u] = Qt(Yt(e, s, u));
4275
+ o[u] = Kt(Jt(e, s, u));
4230
4276
  let a = (
4231
4277
  /*noPaymentMethodsAvailable*/
4232
4278
  e[13] && !/*showSpinner*/
4233
- e[12] && qt(e)
4279
+ e[12] && er(e)
4234
4280
  ), l = (
4235
4281
  /*methodsButtonToggleText*/
4236
- e[7] && Kt(e)
4282
+ e[7] && tr(e)
4237
4283
  );
4238
4284
  return {
4239
4285
  c() {
@@ -4251,14 +4297,14 @@ function Jt(e) {
4251
4297
  p(u, h) {
4252
4298
  if (h[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
4253
4299
  115008) {
4254
- s = Ot(
4300
+ s = Bt(
4255
4301
  /*paymentMethodsToShow*/
4256
4302
  u[8]
4257
4303
  );
4258
4304
  let f;
4259
4305
  for (f = 0; f < s.length; f += 1) {
4260
- const c = Yt(u, s, f);
4261
- o[f] ? o[f].p(c, h) : (o[f] = Qt(c), o[f].c(), o[f].m(r, n));
4306
+ const c = Jt(u, s, f);
4307
+ o[f] ? o[f].p(c, h) : (o[f] = Kt(c), o[f].c(), o[f].m(r, n));
4262
4308
  }
4263
4309
  for (; f < o.length; f += 1)
4264
4310
  o[f].d(1);
@@ -4266,15 +4312,15 @@ function Jt(e) {
4266
4312
  }
4267
4313
  /*noPaymentMethodsAvailable*/
4268
4314
  u[13] && !/*showSpinner*/
4269
- u[12] ? a ? a.p(u, h) : (a = qt(u), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4270
- u[7] ? l ? l.p(u, h) : (l = Kt(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4315
+ u[12] ? a ? a.p(u, h) : (a = er(u), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4316
+ u[7] ? l ? l.p(u, h) : (l = tr(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4271
4317
  },
4272
4318
  d(u) {
4273
4319
  u && oe(t), Wr(o, u), a && a.d(), l && l.d(), e[27](null);
4274
4320
  }
4275
4321
  };
4276
4322
  }
4277
- function Qt(e) {
4323
+ function Kt(e) {
4278
4324
  let t, r, n, i, s, o, a, l, u = (
4279
4325
  /*payMeth*/
4280
4326
  (e[48].Label || /*payMeth*/
@@ -4282,7 +4328,7 @@ function Qt(e) {
4282
4328
  ), h, f, c, x, w = (
4283
4329
  /*$_*/
4284
4330
  e[14]("generalMin") + ""
4285
- ), b, S, P = (
4331
+ ), b, M, P = (
4286
4332
  /*formatter*/
4287
4333
  e[15].format(
4288
4334
  /*payMeth*/
@@ -4294,7 +4340,7 @@ function Qt(e) {
4294
4340
  ), C, j, G, K = (
4295
4341
  /*$_*/
4296
4342
  e[14]("generalMax") + ""
4297
- ), z, N, M = (
4343
+ ), W, N, S = (
4298
4344
  /*formatter*/
4299
4345
  e[15].format(
4300
4346
  /*payMeth*/
@@ -4315,9 +4361,9 @@ function Qt(e) {
4315
4361
  }
4316
4362
  return {
4317
4363
  c() {
4318
- t = F("div"), r = F("div"), n = F("img"), o = te(), a = F("div"), l = F("span"), h = ee(u), f = te(), c = F("div"), x = F("span"), b = ee(w), S = te(), I = ee(P), A = te(), C = ee(D), j = te(), G = F("span"), z = ee(K), N = te(), re = ee(M), pe = te(), p = ee(E), Lt(n.src, i = /*payMeth*/
4364
+ t = F("div"), r = F("div"), n = F("img"), o = te(), a = F("div"), l = F("span"), h = ee(u), f = te(), c = F("div"), x = F("span"), b = ee(w), M = te(), I = ee(P), A = te(), C = ee(D), j = te(), G = F("span"), W = ee(K), N = te(), re = ee(S), pe = te(), p = ee(E), Ot(n.src, i = /*payMeth*/
4319
4365
  e[48].LogoUrl) || k(n, "src", i), k(n, "alt", s = /*payMeth*/
4320
- e[48].Label), k(r, "class", "MethodLogo"), k(a, "class", "MethodTitle"), k(x, "class", "Limits"), k(G, "class", "Limits"), k(c, "class", "MethodLimits"), k(t, "class", "SelectorWrapper"), We(
4366
+ e[48].Label), k(r, "class", "MethodLogo"), k(a, "class", "MethodTitle"), k(x, "class", "Limits"), k(G, "class", "Limits"), k(c, "class", "MethodLimits"), k(t, "class", "SelectorWrapper"), ze(
4321
4367
  t,
4322
4368
  "checked",
4323
4369
  /*selectedPaymentMethod*/
@@ -4326,14 +4372,14 @@ function Qt(e) {
4326
4372
  );
4327
4373
  },
4328
4374
  m(_, v) {
4329
- le(_, t, v), T(t, r), T(r, n), T(t, o), T(t, a), T(a, l), T(l, h), T(t, f), T(t, c), T(c, x), T(x, b), T(x, S), T(x, I), T(x, A), T(x, C), T(c, j), T(c, G), T(G, z), T(G, N), T(G, re), T(G, pe), T(G, p), m || (y = [
4375
+ le(_, t, v), T(t, r), T(r, n), T(t, o), T(t, a), T(a, l), T(l, h), T(t, f), T(t, c), T(c, x), T(x, b), T(x, M), T(x, I), T(x, A), T(x, C), T(c, j), T(c, G), T(G, W), T(G, N), T(G, re), T(G, pe), T(G, p), m || (y = [
4330
4376
  ut(t, "click", g),
4331
- ut(t, "keyup", us)
4377
+ ut(t, "keyup", ls)
4332
4378
  ], m = !0);
4333
4379
  },
4334
4380
  p(_, v) {
4335
4381
  e = _, v[0] & /*paymentMethodsToShow*/
4336
- 256 && !Lt(n.src, i = /*payMeth*/
4382
+ 256 && !Ot(n.src, i = /*payMeth*/
4337
4383
  e[48].LogoUrl) && k(n, "src", i), v[0] & /*paymentMethodsToShow*/
4338
4384
  256 && s !== (s = /*payMeth*/
4339
4385
  e[48].Label) && k(n, "alt", s), v[0] & /*paymentMethodsToShow*/
@@ -4350,15 +4396,15 @@ function Qt(e) {
4350
4396
  256 && D !== (D = /*payMeth*/
4351
4397
  e[48].DisplayCurrency.Name + "") && ie(C, D), v[0] & /*$_*/
4352
4398
  16384 && K !== (K = /*$_*/
4353
- e[14]("generalMax") + "") && ie(z, K), v[0] & /*paymentMethodsToShow*/
4354
- 256 && M !== (M = /*formatter*/
4399
+ e[14]("generalMax") + "") && ie(W, K), v[0] & /*paymentMethodsToShow*/
4400
+ 256 && S !== (S = /*formatter*/
4355
4401
  e[15].format(
4356
4402
  /*payMeth*/
4357
4403
  e[48].DisplayCurrency.MaxAmountLimit
4358
- ) + "") && ie(re, M), v[0] & /*paymentMethodsToShow*/
4404
+ ) + "") && ie(re, S), v[0] & /*paymentMethodsToShow*/
4359
4405
  256 && E !== (E = /*payMeth*/
4360
4406
  e[48].DisplayCurrency.Name + "") && ie(p, E), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4361
- 320 && We(
4407
+ 320 && ze(
4362
4408
  t,
4363
4409
  "checked",
4364
4410
  /*selectedPaymentMethod*/
@@ -4371,7 +4417,7 @@ function Qt(e) {
4371
4417
  }
4372
4418
  };
4373
4419
  }
4374
- function qt(e) {
4420
+ function er(e) {
4375
4421
  let t, r, n, i, s, o = (
4376
4422
  /*$_*/
4377
4423
  e[14]("error") + ""
@@ -4381,7 +4427,7 @@ function qt(e) {
4381
4427
  ), f;
4382
4428
  return {
4383
4429
  c() {
4384
- t = F("div"), r = F("div"), n = F("div"), n.innerHTML = '<svg fill="currentColor" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 294.995 294.995" xml:space="preserve" stroke="#fa9200"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M291.874,248.279L165.605,26.526c-4.007-7.037-10.776-11.26-18.107-11.26s-14.101,4.202-18.107,11.239L3.121,248.238 c-3.979,6.989-4.164,15.013-0.493,21.326c3.67,6.313,10.663,10.165,18.705,10.165h252.329c8.042,0,15.035-3.852,18.705-10.165 C296.038,263.251,295.854,255.268,291.874,248.279z M146.665,86.229c9.665,0,17.5,7.835,17.5,17.5v63c0,9.665-7.835,17.5-17.5,17.5 c-9.665,0-17.5-7.835-17.5-17.5v-63C129.165,94.064,137,86.229,146.665,86.229z M147.498,204.005c9.665,0,17.5,7.835,17.5,17.5 c0,9.665-7.835,17.5-17.5,17.5c-9.665,0-17.5-7.835-17.5-17.5C129.998,211.84,137.833,204.005,147.498,204.005z"></path></g></g></svg>', i = te(), s = F("p"), a = ee(o), l = te(), u = F("p"), f = ee(h), k(n, "class", "IconWarning"), k(s, "class", "EmptyContentMessageTitle"), k(r, "class", "EmptyContentMessageHeader"), k(u, "class", "EmptyContentMessageText"), k(t, "class", "EmptyContentMessageWrapper"), We(
4430
+ t = F("div"), r = F("div"), n = F("div"), n.innerHTML = '<svg fill="currentColor" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 294.995 294.995" xml:space="preserve" stroke="#fa9200"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M291.874,248.279L165.605,26.526c-4.007-7.037-10.776-11.26-18.107-11.26s-14.101,4.202-18.107,11.239L3.121,248.238 c-3.979,6.989-4.164,15.013-0.493,21.326c3.67,6.313,10.663,10.165,18.705,10.165h252.329c8.042,0,15.035-3.852,18.705-10.165 C296.038,263.251,295.854,255.268,291.874,248.279z M146.665,86.229c9.665,0,17.5,7.835,17.5,17.5v63c0,9.665-7.835,17.5-17.5,17.5 c-9.665,0-17.5-7.835-17.5-17.5v-63C129.165,94.064,137,86.229,146.665,86.229z M147.498,204.005c9.665,0,17.5,7.835,17.5,17.5 c0,9.665-7.835,17.5-17.5,17.5c-9.665,0-17.5-7.835-17.5-17.5C129.998,211.84,137.833,204.005,147.498,204.005z"></path></g></g></svg>', i = te(), s = F("p"), a = ee(o), l = te(), u = F("p"), f = ee(h), k(n, "class", "IconWarning"), k(s, "class", "EmptyContentMessageTitle"), k(r, "class", "EmptyContentMessageHeader"), k(u, "class", "EmptyContentMessageText"), k(t, "class", "EmptyContentMessageWrapper"), ze(
4385
4431
  t,
4386
4432
  "EmptyContentMessageDesktop",
4387
4433
  /*desktopView*/
@@ -4397,7 +4443,7 @@ function qt(e) {
4397
4443
  c[14]("error") + "") && ie(a, o), x[0] & /*$_*/
4398
4444
  16384 && h !== (h = /*$_*/
4399
4445
  c[14]("noPaymentMethods") + "") && ie(f, h), x[0] & /*desktopView*/
4400
- 2048 && We(
4446
+ 2048 && ze(
4401
4447
  t,
4402
4448
  "EmptyContentMessageDesktop",
4403
4449
  /*desktopView*/
@@ -4409,7 +4455,7 @@ function qt(e) {
4409
4455
  }
4410
4456
  };
4411
4457
  }
4412
- function Kt(e) {
4458
+ function tr(e) {
4413
4459
  let t, r, n, i;
4414
4460
  return {
4415
4461
  c() {
@@ -4439,7 +4485,7 @@ function Kt(e) {
4439
4485
  }
4440
4486
  };
4441
4487
  }
4442
- function er(e) {
4488
+ function rr(e) {
4443
4489
  let t, r, n;
4444
4490
  return {
4445
4491
  c() {
@@ -4519,31 +4565,31 @@ function er(e) {
4519
4565
  }
4520
4566
  };
4521
4567
  }
4522
- function as(e) {
4568
+ function us(e) {
4523
4569
  let t, r, n, i = (
4524
4570
  /*showSpinner*/
4525
- e[12] && Zt(e)
4571
+ e[12] && Qt(e)
4526
4572
  ), s = (
4527
4573
  /*showMethodsList*/
4528
4574
  (e[9] || /*desktopView*/
4529
- e[11]) && Jt(e)
4575
+ e[11]) && qt(e)
4530
4576
  ), o = (
4531
4577
  /*errorMessage*/
4532
- e[10] && er(e)
4578
+ e[10] && rr(e)
4533
4579
  );
4534
4580
  return {
4535
4581
  c() {
4536
- i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = Xr();
4582
+ i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = Yr();
4537
4583
  },
4538
4584
  m(a, l) {
4539
4585
  i && i.m(a, l), le(a, t, l), s && s.m(a, l), le(a, r, l), o && o.m(a, l), le(a, n, l);
4540
4586
  },
4541
4587
  p(a, l) {
4542
4588
  /*showSpinner*/
4543
- a[12] ? i ? i.p(a, l) : (i = Zt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4589
+ a[12] ? i ? i.p(a, l) : (i = Qt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4544
4590
  a[9] || /*desktopView*/
4545
- a[11] ? s ? s.p(a, l) : (s = Jt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4546
- a[10] ? o ? o.p(a, l) : (o = er(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4591
+ a[11] ? s ? s.p(a, l) : (s = qt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4592
+ a[10] ? o ? o.p(a, l) : (o = rr(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4547
4593
  },
4548
4594
  i: se,
4549
4595
  o: se,
@@ -4552,16 +4598,16 @@ function as(e) {
4552
4598
  }
4553
4599
  };
4554
4600
  }
4555
- const us = () => {
4601
+ const ls = () => {
4556
4602
  };
4557
- function ls(e, t, r) {
4603
+ function hs(e, t, r) {
4558
4604
  let n;
4559
- kr(e, ts, (d) => r(14, n = d)), zt.extend(ss);
4560
- let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: o } = t, { session: a } = t, { customerid: l } = t, { assetsurl: u } = t, { currency: h } = t, { numberofmethodsshown: f } = t, { translationurl: c = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: w = "" } = t, { ismobileview: b } = t, S = [], P, I, A = "", D = [], C = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), G = "", K, z = !0, N = !1, M = !1;
4605
+ jr(e, rs, (d) => r(14, n = d)), Zt.extend(os);
4606
+ let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: o } = t, { session: a } = t, { customerid: l } = t, { assetsurl: u } = t, { currency: h } = t, { numberofmethodsshown: f } = t, { translationurl: c = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: w = "" } = t, { ismobileview: b } = t, M = [], P, I, A = "", D = [], C = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), G = "", K, W = !0, N = !1, S = !1;
4561
4607
  var re;
4562
4608
  (function(d) {
4563
4609
  d.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", d.Success = "Success", d.JwtTokenError = "JwtTokenError";
4564
- })(re || (re = {})), Qr();
4610
+ })(re || (re = {})), Kr();
4565
4611
  const pe = () => {
4566
4612
  let d = c;
4567
4613
  if (d)
@@ -4573,15 +4619,15 @@ function ls(e, t, r) {
4573
4619
  console.log(B);
4574
4620
  });
4575
4621
  };
4576
- Object.keys(Xt).forEach((d) => {
4577
- Wt(d, Xt[d]);
4622
+ Object.keys(Yt).forEach((d) => {
4623
+ Wt(d, Yt[d]);
4578
4624
  });
4579
4625
  const E = () => {
4580
- rs(i);
4626
+ ns(i);
4581
4627
  }, p = () => {
4582
4628
  r(12, N = !0);
4583
4629
  const d = new URL(`${o}/v1/player/${l}/payment/GetPaymentMetadata`), B = new Headers();
4584
- B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4630
+ B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", Zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4585
4631
  const ue = {
4586
4632
  method: "POST",
4587
4633
  headers: B,
@@ -4591,35 +4637,35 @@ function ls(e, t, r) {
4591
4637
  Tags: { UserAgent: window.navigator.userAgent }
4592
4638
  })
4593
4639
  };
4594
- fetch(d, ue).then((W) => W.json()).then((W) => {
4640
+ fetch(d, ue).then((z) => z.json()).then((z) => {
4595
4641
  var ye;
4596
- if (W.error) {
4597
- r(10, G = W.error);
4642
+ if (z.error) {
4643
+ r(10, G = z.error);
4598
4644
  return;
4599
4645
  }
4600
- if (W.ResponseCode !== re.Success) {
4601
- K = W.ResponseCode, _();
4646
+ if (z.ResponseCode !== re.Success) {
4647
+ K = z.ResponseCode, _();
4602
4648
  return;
4603
4649
  }
4604
- S = (ye = W.PaymentMethods) != null && ye.Ordering ? m(W) : y(W), r(7, A = f && +f > 0 && S.length > +f ? n("showAll") : ""), r(8, D = A ? S.slice(0, +f) : S), window.postMessage(
4650
+ M = (ye = z.PaymentMethods) != null && ye.Ordering ? m(z) : y(z), r(7, A = f && +f > 0 && M.length > +f ? n("showAll") : ""), r(8, D = A ? M.slice(0, +f) : M), window.postMessage(
4605
4651
  {
4606
4652
  type: "StartSessionCountdown",
4607
- paymentMethodName: S[0].Name,
4608
- xPaymentSessionToken: W.XPaymentSessionToken
4653
+ paymentMethodName: M[0].Name,
4654
+ xPaymentSessionToken: z.XPaymentSessionToken
4609
4655
  },
4610
4656
  window.location.href
4611
4657
  ), window.postMessage({ type: "DataLoading", isDataLoaded: !1 });
4612
4658
  }).finally(() => {
4613
- r(12, N = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), r(13, M = !D.length);
4659
+ r(12, N = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), r(13, S = !D.length);
4614
4660
  });
4615
4661
  }, m = (d) => {
4616
4662
  const B = [];
4617
4663
  return d.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ue) => {
4618
- const W = d.PaymentMethods.PaymentMethods.find((ye) => ye.Name === ue);
4619
- if (W) {
4620
- const ye = (W == null ? void 0 : W.Logos.find((Ke) => Ke.LogoType === "Desktop")) || {}, Cr = (W == null ? void 0 : W.Logos.find((Ke) => Ke.LogoType === "Mobile")) || {}, St = z ? ye : Cr;
4621
- B.push(Ue(Re({}, W), {
4622
- LogoUrl: St.LogoUrl ? `https:${St.LogoUrl}` : ""
4664
+ const z = d.PaymentMethods.PaymentMethods.find((ye) => ye.Name === ue);
4665
+ if (z) {
4666
+ const ye = (z == null ? void 0 : z.Logos.find((Ke) => Ke.LogoType === "Desktop")) || {}, Ir = (z == null ? void 0 : z.Logos.find((Ke) => Ke.LogoType === "Mobile")) || {}, Tt = W ? ye : Ir;
4667
+ B.push(Ue(Re({}, z), {
4668
+ LogoUrl: Tt.LogoUrl ? `https:${Tt.LogoUrl}` : ""
4623
4669
  }));
4624
4670
  }
4625
4671
  }), B;
@@ -4644,13 +4690,13 @@ function ls(e, t, r) {
4644
4690
  window.location.href
4645
4691
  );
4646
4692
  }, v = () => {
4647
- r(11, z = b === "false");
4693
+ r(11, W = b === "false");
4648
4694
  }, $ = () => {
4649
- D == S ? V() : U();
4695
+ D == M ? V() : U();
4650
4696
  }, U = () => {
4651
- r(8, D = S), r(7, A = n("showLess"));
4697
+ r(8, D = M), r(7, A = n("showLess"));
4652
4698
  }, V = () => {
4653
- r(8, D = S.slice(0, +f)), I && !D.find((d) => d.Name === I) && D.splice(0, 0, S.find((d) => d.Name === I)), r(7, A = n("showAll"));
4699
+ r(8, D = M.slice(0, +f)), I && !D.find((d) => d.Name === I) && D.splice(0, 0, M.find((d) => d.Name === I)), r(7, A = n("showAll"));
4654
4700
  }, X = () => {
4655
4701
  r(9, C = !0);
4656
4702
  }, Q = (d) => {
@@ -4673,7 +4719,7 @@ function ls(e, t, r) {
4673
4719
  );
4674
4720
  });
4675
4721
  };
4676
- Jr(() => (window.addEventListener("message", me, !1), () => {
4722
+ qr(() => (window.addEventListener("message", me, !1), () => {
4677
4723
  window.removeEventListener("message", me, !1);
4678
4724
  }));
4679
4725
  const me = (d) => {
@@ -4713,9 +4759,9 @@ function ls(e, t, r) {
4713
4759
  D,
4714
4760
  C,
4715
4761
  G,
4716
- z,
4762
+ W,
4717
4763
  N,
4718
- M,
4764
+ S,
4719
4765
  n,
4720
4766
  j,
4721
4767
  g,
@@ -4732,14 +4778,14 @@ function ls(e, t, r) {
4732
4778
  ae
4733
4779
  ];
4734
4780
  }
4735
- class hs extends hn {
4781
+ class fs extends cn {
4736
4782
  constructor(t) {
4737
- super(), un(
4783
+ super(), hn(
4738
4784
  this,
4739
4785
  t,
4740
- ls,
4741
- as,
4742
- rr,
4786
+ hs,
4787
+ us,
4788
+ ir,
4743
4789
  {
4744
4790
  lang: 0,
4745
4791
  local: 18,
@@ -4754,7 +4800,7 @@ class hs extends hn {
4754
4800
  clientstylingurl: 4,
4755
4801
  ismobileview: 24
4756
4802
  },
4757
- os,
4803
+ as,
4758
4804
  [-1, -1]
4759
4805
  );
4760
4806
  }
@@ -4831,7 +4877,7 @@ class hs extends hn {
4831
4877
  this.$$set({ ismobileview: t }), q();
4832
4878
  }
4833
4879
  }
4834
- ln(hs, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4880
+ fn(fs, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4835
4881
  export {
4836
- hs as default
4882
+ fs as default
4837
4883
  };