@everymatrix/cashier-carousel 1.90.27 → 1.90.29

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,28 +1,28 @@
1
1
  function N() {
2
2
  }
3
- function lr(e) {
3
+ function ur(e) {
4
4
  return e();
5
5
  }
6
- function Mt() {
6
+ function Pt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function pe(e) {
10
- e.forEach(lr);
9
+ function fe(e) {
10
+ e.forEach(ur);
11
11
  }
12
- function Ct(e) {
12
+ function Tt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function hr(e, t) {
15
+ function lr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Be;
19
- function Ot(e, t) {
20
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
18
+ let Le;
19
+ function Mt(e, t) {
20
+ return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
21
21
  }
22
- function Qr(e) {
22
+ function Yr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function cr(e, ...t) {
25
+ function hr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function cr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Yr(e, t, r) {
35
- e.$$.on_destroy.push(cr(t, r));
34
+ function Jr(e, t, r) {
35
+ e.$$.on_destroy.push(hr(t, r));
36
36
  }
37
37
  function _(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Jr(e, t, r) {
41
- const n = qr(e);
40
+ function qr(e, t, r) {
41
+ const n = Kr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = S("style");
44
- i.id = t, i.textContent = r, Kr(n, i);
44
+ i.id = t, i.textContent = r, en(n, i);
45
45
  }
46
46
  }
47
- function qr(e) {
47
+ function Kr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function qr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Kr(e, t) {
57
+ function en(e, t) {
58
58
  return _(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,7 +67,7 @@ function k(e, t, r) {
67
67
  function $(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Bt(e, t) {
70
+ function Ot(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -80,41 +80,41 @@ function G(e) {
80
80
  function D() {
81
81
  return G(" ");
82
82
  }
83
- function Z(e, t, r, n) {
83
+ function Y(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
86
  function H(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function en(e) {
89
+ function tn(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
- function V(e, t) {
92
+ function X(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- let Le;
97
- function tn() {
98
- if (Le === void 0) {
99
- Le = !1;
96
+ let Ie;
97
+ function rn() {
98
+ if (Ie === void 0) {
99
+ Ie = !1;
100
100
  try {
101
101
  typeof window < "u" && window.parent && window.parent.document;
102
102
  } catch {
103
- Le = !0;
103
+ Ie = !0;
104
104
  }
105
105
  }
106
- return Le;
106
+ return Ie;
107
107
  }
108
- function rn(e, t) {
108
+ function nn(e, t) {
109
109
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
110
110
  const n = S("iframe");
111
111
  n.setAttribute(
112
112
  "style",
113
113
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
114
114
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
115
- const i = tn();
115
+ const i = rn();
116
116
  let o;
117
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
117
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Y(
118
118
  window,
119
119
  "message",
120
120
  /** @param {MessageEvent} event */
@@ -122,12 +122,12 @@ function rn(e, t) {
122
122
  s.source === n.contentWindow && t();
123
123
  }
124
124
  )) : (n.src = "about:blank", n.onload = () => {
125
- o = Z(n.contentWindow, "resize", t), t();
125
+ o = Y(n.contentWindow, "resize", t), t();
126
126
  }), _(e, n), () => {
127
127
  (i || o && n.contentWindow) && o(), $(n);
128
128
  };
129
129
  }
130
- function nn(e) {
130
+ function on(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,89 +136,89 @@ function nn(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let Se;
139
+ let Te;
140
140
  function we(e) {
141
- Se = e;
141
+ Te = e;
142
142
  }
143
- function on() {
144
- if (!Se)
143
+ function sn() {
144
+ if (!Te)
145
145
  throw new Error("Function called outside component initialization");
146
- return Se;
146
+ return Te;
147
147
  }
148
- function sn(e) {
149
- on().$$.on_mount.push(e);
148
+ function an(e) {
149
+ sn().$$.on_mount.push(e);
150
150
  }
151
- const se = [], Ve = [];
152
- let ue = [];
153
- const Lt = [], an = /* @__PURE__ */ Promise.resolve();
154
- let ct = !1;
155
- function un() {
156
- ct || (ct = !0, an.then(R));
151
+ const oe = [], Se = [];
152
+ let ae = [];
153
+ const Bt = [], un = /* @__PURE__ */ Promise.resolve();
154
+ let ht = !1;
155
+ function ln() {
156
+ ht || (ht = !0, un.then(R));
157
157
  }
158
158
  function We(e) {
159
- ue.push(e);
159
+ ae.push(e);
160
160
  }
161
- const nt = /* @__PURE__ */ new Set();
162
- let ie = 0;
161
+ const rt = /* @__PURE__ */ new Set();
162
+ let ne = 0;
163
163
  function R() {
164
- if (ie !== 0)
164
+ if (ne !== 0)
165
165
  return;
166
- const e = Se;
166
+ const e = Te;
167
167
  do {
168
168
  try {
169
- for (; ie < se.length; ) {
170
- const t = se[ie];
171
- ie++, we(t), ln(t.$$);
169
+ for (; ne < oe.length; ) {
170
+ const t = oe[ne];
171
+ ne++, we(t), hn(t.$$);
172
172
  }
173
173
  } catch (t) {
174
- throw se.length = 0, ie = 0, t;
174
+ throw oe.length = 0, ne = 0, t;
175
175
  }
176
- for (we(null), se.length = 0, ie = 0; Ve.length; )
177
- Ve.pop()();
178
- for (let t = 0; t < ue.length; t += 1) {
179
- const r = ue[t];
180
- nt.has(r) || (nt.add(r), r());
176
+ for (we(null), oe.length = 0, ne = 0; Se.length; )
177
+ Se.pop()();
178
+ for (let t = 0; t < ae.length; t += 1) {
179
+ const r = ae[t];
180
+ rt.has(r) || (rt.add(r), r());
181
181
  }
182
- ue.length = 0;
183
- } while (se.length);
184
- for (; Lt.length; )
185
- Lt.pop()();
186
- ct = !1, nt.clear(), we(e);
182
+ ae.length = 0;
183
+ } while (oe.length);
184
+ for (; Bt.length; )
185
+ Bt.pop()();
186
+ ht = !1, rt.clear(), we(e);
187
187
  }
188
- function ln(e) {
188
+ function hn(e) {
189
189
  if (e.fragment !== null) {
190
- e.update(), pe(e.before_update);
190
+ e.update(), fe(e.before_update);
191
191
  const t = e.dirty;
192
192
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
193
193
  }
194
194
  }
195
- function hn(e) {
195
+ function cn(e) {
196
196
  const t = [], r = [];
197
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
197
+ ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
198
198
  }
199
- const cn = /* @__PURE__ */ new Set();
200
- function fn(e, t) {
201
- e && e.i && (cn.delete(e), e.i(t));
199
+ const fn = /* @__PURE__ */ new Set();
200
+ function pn(e, t) {
201
+ e && e.i && (fn.delete(e), e.i(t));
202
202
  }
203
- function Ie(e) {
203
+ function Ne(e) {
204
204
  return e?.length !== void 0 ? e : Array.from(e);
205
205
  }
206
- function pn(e, t, r) {
206
+ function dn(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
208
  n && n.m(t, r), We(() => {
209
- const o = e.$$.on_mount.map(lr).filter(Ct);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : pe(o), e.$$.on_mount = [];
209
+ const o = e.$$.on_mount.map(ur).filter(Tt);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
211
211
  }), i.forEach(We);
212
212
  }
213
- function dn(e, t) {
213
+ function mn(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (hn(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (cn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function mn(e, t) {
218
- e.$$.dirty[0] === -1 && (se.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function bn(e, t) {
218
+ e.$$.dirty[0] === -1 && (oe.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function bn(e, t, r, n, i, o, s = null, a = [-1]) {
221
- const l = Se;
220
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
221
+ const l = Te;
222
222
  we(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
@@ -227,7 +227,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  props: o,
228
228
  update: N,
229
229
  not_equal: i,
230
- bound: Mt(),
230
+ bound: Pt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,7 +236,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (l ? l.$$.context : [])),
238
238
  // everything else
239
- callbacks: Mt(),
239
+ callbacks: Pt(),
240
240
  dirty: a,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
@@ -244,20 +244,20 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
244
244
  s && s(u.root);
245
245
  let h = !1;
246
246
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
247
- const m = g.length ? g[0] : c;
248
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && mn(e, f)), c;
249
- }) : [], u.update(), h = !0, pe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
247
+ const d = g.length ? g[0] : c;
248
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && bn(e, f)), c;
249
+ }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const f = en(t.target);
251
+ const f = tn(t.target);
252
252
  u.fragment && u.fragment.l(f), f.forEach($);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && fn(e.$$.fragment), pn(e, t.target, t.anchor), R();
255
+ t.intro && pn(e.$$.fragment), dn(e, t.target, t.anchor), R();
256
256
  }
257
257
  we(l);
258
258
  }
259
- let fr;
260
- typeof HTMLElement == "function" && (fr = class extends HTMLElement {
259
+ let cr;
260
+ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
261
261
  /** The Svelte component constructor */
262
262
  $$ctor;
263
263
  /** Slots */
@@ -316,12 +316,12 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
316
316
  };
317
317
  if (await Promise.resolve(), !this.$$cn || this.$$c)
318
318
  return;
319
- const t = {}, r = nn(this);
319
+ const t = {}, r = on(this);
320
320
  for (const i of this.$$s)
321
321
  i in r && (t[i] = [e(i)]);
322
322
  for (const i of this.attributes) {
323
323
  const o = this.$$g_p(i.name);
324
- o in this.$$d || (this.$$d[o] = Ue(o, i.value, this.$$p_d, "toProp"));
324
+ o in this.$$d || (this.$$d[o] = Fe(o, i.value, this.$$p_d, "toProp"));
325
325
  }
326
326
  for (const i in this.$$p_d)
327
327
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
339
339
  this.$$r = !0;
340
340
  for (const i in this.$$p_d)
341
341
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
342
- const o = Ue(
342
+ const o = Fe(
343
343
  i,
344
344
  this.$$d[i],
345
345
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
361
361
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
362
362
  // and setting attributes through setAttribute etc, this is helpful
363
363
  attributeChangedCallback(e, t, r) {
364
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
364
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
374
374
  ) || e;
375
375
  }
376
376
  });
377
- function Ue(e, t, r, n) {
377
+ function Fe(e, t, r, n) {
378
378
  const i = r[e]?.type;
379
379
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
380
380
  return t;
@@ -403,8 +403,8 @@ function Ue(e, t, r, n) {
403
403
  return t;
404
404
  }
405
405
  }
406
- function gn(e, t, r, n, i, o) {
407
- let s = class extends fr {
406
+ function yn(e, t, r, n, i, o) {
407
+ let s = class extends cr {
408
408
  constructor() {
409
409
  super(e, r, i), this.$$p_d = t;
410
410
  }
@@ -420,7 +420,7 @@ function gn(e, t, r, n, i, o) {
420
420
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
421
421
  },
422
422
  set(l) {
423
- l = Ue(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
423
+ l = Fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
424
424
  }
425
425
  });
426
426
  }), n.forEach((a) => {
@@ -432,7 +432,7 @@ function gn(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class yn {
435
+ class vn {
436
436
  /**
437
437
  * ### PRIVATE API
438
438
  *
@@ -451,7 +451,7 @@ class yn {
451
451
  $$set = void 0;
452
452
  /** @returns {void} */
453
453
  $destroy() {
454
- dn(this, 1), this.$destroy = N;
454
+ mn(this, 1), this.$destroy = N;
455
455
  }
456
456
  /**
457
457
  * @template {Extract<keyof Events, string>} K
@@ -460,7 +460,7 @@ class yn {
460
460
  * @returns {() => void}
461
461
  */
462
462
  $on(t, r) {
463
- if (!Ct(r))
463
+ if (!Tt(r))
464
464
  return N;
465
465
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
466
466
  return n.push(r), () => {
@@ -473,13 +473,13 @@ class yn {
473
473
  * @returns {void}
474
474
  */
475
475
  $set(t) {
476
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
+ this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
477
  }
478
478
  }
479
- const vn = "4";
480
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
481
- const oe = [];
482
- function _n(e, t) {
479
+ const _n = "4";
480
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
481
+ const ie = [];
482
+ function En(e, t) {
483
483
  return {
484
484
  subscribe: Ye(e, t).subscribe
485
485
  };
@@ -488,14 +488,14 @@ function Ye(e, t = N) {
488
488
  let r;
489
489
  const n = /* @__PURE__ */ new Set();
490
490
  function i(a) {
491
- if (hr(e, a) && (e = a, r)) {
492
- const l = !oe.length;
491
+ if (lr(e, a) && (e = a, r)) {
492
+ const l = !ie.length;
493
493
  for (const u of n)
494
- u[1](), oe.push(u, e);
494
+ u[1](), ie.push(u, e);
495
495
  if (l) {
496
- for (let u = 0; u < oe.length; u += 2)
497
- oe[u][0](oe[u + 1]);
498
- oe.length = 0;
496
+ for (let u = 0; u < ie.length; u += 2)
497
+ ie[u][0](ie[u + 1]);
498
+ ie.length = 0;
499
499
  }
500
500
  }
501
501
  }
@@ -510,12 +510,12 @@ function Ye(e, t = N) {
510
510
  }
511
511
  return { set: i, update: o, subscribe: s };
512
512
  }
513
- function de(e, t, r) {
513
+ function pe(e, t, r) {
514
514
  const n = !Array.isArray(e), i = n ? [e] : e;
515
515
  if (!i.every(Boolean))
516
516
  throw new Error("derived() expects stores as input, got a falsy value");
517
517
  const o = t.length < 2;
518
- return _n(r, (s, a) => {
518
+ return En(r, (s, a) => {
519
519
  let l = !1;
520
520
  const u = [];
521
521
  let h = 0, f = N;
@@ -523,11 +523,11 @@ function de(e, t, r) {
523
523
  if (h)
524
524
  return;
525
525
  f();
526
- const m = t(n ? u[0] : u, s, a);
527
- o ? s(m) : f = Ct(m) ? m : N;
526
+ const d = t(n ? u[0] : u, s, a);
527
+ o ? s(d) : f = Tt(d) ? d : N;
528
528
  }, g = i.map(
529
- (m, p) => cr(
530
- m,
529
+ (d, p) => hr(
530
+ d,
531
531
  (E) => {
532
532
  u[p] = E, h &= ~(1 << p), l && c();
533
533
  },
@@ -537,96 +537,96 @@ function de(e, t, r) {
537
537
  )
538
538
  );
539
539
  return l = !0, c(), function() {
540
- pe(g), f(), l = !1;
540
+ fe(g), f(), l = !1;
541
541
  };
542
542
  });
543
543
  }
544
- function En(e) {
544
+ function xn(e) {
545
545
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
546
546
  }
547
- var xn = function(t) {
548
- return wn(t) && !Sn(t);
547
+ var wn = function(t) {
548
+ return Sn(t) && !Tn(t);
549
549
  };
550
- function wn(e) {
550
+ function Sn(e) {
551
551
  return !!e && typeof e == "object";
552
552
  }
553
- function Sn(e) {
553
+ function Tn(e) {
554
554
  var t = Object.prototype.toString.call(e);
555
- return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
556
- }
557
- var Tn = typeof Symbol == "function" && Symbol.for, Cn = Tn ? Symbol.for("react.element") : 60103;
558
- function Hn(e) {
559
- return e.$$typeof === Cn;
555
+ return t === "[object RegExp]" || t === "[object Date]" || An(e);
560
556
  }
557
+ var Cn = typeof Symbol == "function" && Symbol.for, Hn = Cn ? Symbol.for("react.element") : 60103;
561
558
  function An(e) {
559
+ return e.$$typeof === Hn;
560
+ }
561
+ function Pn(e) {
562
562
  return Array.isArray(e) ? [] : {};
563
563
  }
564
- function Te(e, t) {
565
- return t.clone !== !1 && t.isMergeableObject(e) ? le(An(e), e, t) : e;
564
+ function Ce(e, t) {
565
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Pn(e), e, t) : e;
566
566
  }
567
- function Pn(e, t, r) {
567
+ function Mn(e, t, r) {
568
568
  return e.concat(t).map(function(n) {
569
- return Te(n, r);
569
+ return Ce(n, r);
570
570
  });
571
571
  }
572
- function Mn(e, t) {
572
+ function On(e, t) {
573
573
  if (!t.customMerge)
574
- return le;
574
+ return ue;
575
575
  var r = t.customMerge(e);
576
- return typeof r == "function" ? r : le;
576
+ return typeof r == "function" ? r : ue;
577
577
  }
578
- function On(e) {
578
+ function Bn(e) {
579
579
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
580
580
  return Object.propertyIsEnumerable.call(e, t);
581
581
  }) : [];
582
582
  }
583
- function It(e) {
584
- return Object.keys(e).concat(On(e));
583
+ function Lt(e) {
584
+ return Object.keys(e).concat(Bn(e));
585
585
  }
586
- function pr(e, t) {
586
+ function fr(e, t) {
587
587
  try {
588
588
  return t in e;
589
589
  } catch {
590
590
  return !1;
591
591
  }
592
592
  }
593
- function Bn(e, t) {
594
- return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
593
+ function Ln(e, t) {
594
+ return fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
595
595
  }
596
- function Ln(e, t, r) {
596
+ function In(e, t, r) {
597
597
  var n = {};
598
- return r.isMergeableObject(e) && It(e).forEach(function(i) {
599
- n[i] = Te(e[i], r);
600
- }), It(t).forEach(function(i) {
601
- Bn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
598
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
599
+ n[i] = Ce(e[i], r);
600
+ }), Lt(t).forEach(function(i) {
601
+ Ln(e, i) || (fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
602
602
  }), n;
603
603
  }
604
- function le(e, t, r) {
605
- r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = Te;
604
+ function ue(e, t, r) {
605
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = Ce;
606
606
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
607
- return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : Te(t, r);
607
+ return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : Ce(t, r);
608
608
  }
609
- le.all = function(t, r) {
609
+ ue.all = function(t, r) {
610
610
  if (!Array.isArray(t))
611
611
  throw new Error("first argument should be an array");
612
612
  return t.reduce(function(n, i) {
613
- return le(n, i, r);
613
+ return ue(n, i, r);
614
614
  }, {});
615
615
  };
616
- var In = le, Nn = In;
617
- const Rn = /* @__PURE__ */ En(Nn);
618
- var ft = function(e, t) {
619
- return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
616
+ var Nn = ue, Rn = Nn;
617
+ const Dn = /* @__PURE__ */ xn(Rn);
618
+ var ct = function(e, t) {
619
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
620
620
  r.__proto__ = n;
621
621
  } || function(r, n) {
622
622
  for (var i in n)
623
623
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
624
- }, ft(e, t);
624
+ }, ct(e, t);
625
625
  };
626
626
  function Je(e, t) {
627
627
  if (typeof t != "function" && t !== null)
628
628
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
629
- ft(e, t);
629
+ ct(e, t);
630
630
  function r() {
631
631
  this.constructor = e;
632
632
  }
@@ -642,7 +642,7 @@ var j = function() {
642
642
  return t;
643
643
  }, j.apply(this, arguments);
644
644
  };
645
- function Dn(e, t) {
645
+ function $n(e, t) {
646
646
  var r = {};
647
647
  for (var n in e)
648
648
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -651,43 +651,43 @@ function Dn(e, t) {
651
651
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
652
652
  return r;
653
653
  }
654
- function it(e, t, r) {
654
+ function nt(e, t, r) {
655
655
  if (r || arguments.length === 2)
656
656
  for (var n = 0, i = t.length, o; n < i; n++)
657
657
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
658
658
  return e.concat(o || Array.prototype.slice.call(t));
659
659
  }
660
- function ot(e, t) {
661
- var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Fn;
660
+ function it(e, t) {
661
+ var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Gn;
662
662
  return i(e, {
663
663
  cache: r,
664
664
  serializer: n
665
665
  });
666
666
  }
667
- function $n(e) {
667
+ function Un(e) {
668
668
  return e == null || typeof e == "number" || typeof e == "boolean";
669
669
  }
670
- function Un(e, t, r, n) {
671
- var i = $n(n) ? n : r(n), o = t.get(i);
670
+ function Fn(e, t, r, n) {
671
+ var i = Un(n) ? n : r(n), o = t.get(i);
672
672
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
673
673
  }
674
- function dr(e, t, r) {
674
+ function pr(e, t, r) {
675
675
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
676
676
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
677
677
  }
678
- function mr(e, t, r, n, i) {
678
+ function dr(e, t, r, n, i) {
679
679
  return r.bind(t, e, n, i);
680
680
  }
681
- function Fn(e, t) {
682
- var r = e.length === 1 ? Un : dr;
683
- return mr(e, this, r, t.cache.create(), t.serializer);
684
- }
685
681
  function Gn(e, t) {
686
- return mr(e, this, dr, t.cache.create(), t.serializer);
682
+ var r = e.length === 1 ? Fn : pr;
683
+ return dr(e, this, r, t.cache.create(), t.serializer);
687
684
  }
688
- var jn = function() {
685
+ function jn(e, t) {
686
+ return dr(e, this, pr, t.cache.create(), t.serializer);
687
+ }
688
+ var kn = function() {
689
689
  return JSON.stringify(arguments);
690
- }, kn = (
690
+ }, Vn = (
691
691
  /** @class */
692
692
  function() {
693
693
  function e() {
@@ -699,12 +699,12 @@ var jn = function() {
699
699
  this.cache[t] = r;
700
700
  }, e;
701
701
  }()
702
- ), Vn = {
702
+ ), Wn = {
703
703
  create: function() {
704
- return new kn();
704
+ return new Vn();
705
705
  }
706
- }, st = {
707
- variadic: Gn
706
+ }, ot = {
707
+ variadic: jn
708
708
  }, Xe = function() {
709
709
  return Xe = Object.assign || function(t) {
710
710
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -723,47 +723,47 @@ var C;
723
723
  (function(e) {
724
724
  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";
725
725
  })(C || (C = {}));
726
- var he;
726
+ var le;
727
727
  (function(e) {
728
728
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
729
- })(he || (he = {}));
730
- function Nt(e) {
729
+ })(le || (le = {}));
730
+ function It(e) {
731
731
  return e.type === C.literal;
732
732
  }
733
- function Wn(e) {
733
+ function Xn(e) {
734
734
  return e.type === C.argument;
735
735
  }
736
- function br(e) {
736
+ function mr(e) {
737
737
  return e.type === C.number;
738
738
  }
739
- function gr(e) {
739
+ function br(e) {
740
740
  return e.type === C.date;
741
741
  }
742
- function yr(e) {
742
+ function gr(e) {
743
743
  return e.type === C.time;
744
744
  }
745
- function vr(e) {
745
+ function yr(e) {
746
746
  return e.type === C.select;
747
747
  }
748
- function _r(e) {
748
+ function vr(e) {
749
749
  return e.type === C.plural;
750
750
  }
751
- function Xn(e) {
751
+ function zn(e) {
752
752
  return e.type === C.pound;
753
753
  }
754
- function Er(e) {
754
+ function _r(e) {
755
755
  return e.type === C.tag;
756
756
  }
757
- function xr(e) {
758
- return !!(e && typeof e == "object" && e.type === he.number);
757
+ function Er(e) {
758
+ return !!(e && typeof e == "object" && e.type === le.number);
759
759
  }
760
- function pt(e) {
761
- return !!(e && typeof e == "object" && e.type === he.dateTime);
760
+ function ft(e) {
761
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
762
762
  }
763
- var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
764
- function Zn(e) {
763
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[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;
764
+ function Qn(e) {
765
765
  var t = {};
766
- return e.replace(zn, function(r) {
766
+ return e.replace(Zn, function(r) {
767
767
  var n = r.length;
768
768
  switch (r[0]) {
769
769
  case "G":
@@ -852,21 +852,21 @@ function Zn(e) {
852
852
  return "";
853
853
  }), t;
854
854
  }
855
- var P = function() {
856
- return P = Object.assign || function(t) {
855
+ var M = function() {
856
+ return M = Object.assign || function(t) {
857
857
  for (var r, n = 1, i = arguments.length; n < i; n++) {
858
858
  r = arguments[n];
859
859
  for (var o in r)
860
860
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
861
861
  }
862
862
  return t;
863
- }, P.apply(this, arguments);
863
+ }, M.apply(this, arguments);
864
864
  };
865
- var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
- function Yn(e) {
865
+ var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
+ function Jn(e) {
867
867
  if (e.length === 0)
868
868
  throw new Error("Number skeleton cannot be empty");
869
- for (var t = e.split(Qn).filter(function(c) {
869
+ for (var t = e.split(Yn).filter(function(c) {
870
870
  return c.length > 0;
871
871
  }), r = [], n = 0, i = t; n < i.length; n++) {
872
872
  var o = i[n], s = o.split("/");
@@ -881,17 +881,17 @@ function Yn(e) {
881
881
  }
882
882
  return r;
883
883
  }
884
- function Jn(e) {
884
+ function qn(e) {
885
885
  return e.replace(/^(.*?)-/, "");
886
886
  }
887
- var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
888
- function Dt(e) {
887
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wr = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
888
+ function Rt(e) {
889
889
  var t = {};
890
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
890
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wr, function(r, n, i) {
891
891
  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)), "";
892
892
  }), t;
893
893
  }
894
- function Cr(e) {
894
+ function Tr(e) {
895
895
  switch (e) {
896
896
  case "sign-auto":
897
897
  return {
@@ -931,7 +931,7 @@ function Cr(e) {
931
931
  };
932
932
  }
933
933
  }
934
- function Kn(e) {
934
+ function ei(e) {
935
935
  var t;
936
936
  if (e[0] === "E" && e[1] === "E" ? (t = {
937
937
  notation: "engineering"
@@ -939,17 +939,17 @@ function Kn(e) {
939
939
  notation: "scientific"
940
940
  }, e = e.slice(1)), t) {
941
941
  var r = e.slice(0, 2);
942
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
942
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
943
943
  throw new Error("Malformed concise eng/scientific notation");
944
944
  t.minimumIntegerDigits = e.length;
945
945
  }
946
946
  return t;
947
947
  }
948
- function $t(e) {
949
- var t = {}, r = Cr(e);
948
+ function Dt(e) {
949
+ var t = {}, r = Tr(e);
950
950
  return r || t;
951
951
  }
952
- function ei(e) {
952
+ function ti(e) {
953
953
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
954
954
  var i = n[r];
955
955
  switch (i.stem) {
@@ -973,7 +973,7 @@ function ei(e) {
973
973
  continue;
974
974
  case "measure-unit":
975
975
  case "unit":
976
- t.style = "unit", t.unit = Jn(i.options[0]);
976
+ t.style = "unit", t.unit = qn(i.options[0]);
977
977
  continue;
978
978
  case "compact-short":
979
979
  case "K":
@@ -984,13 +984,13 @@ function ei(e) {
984
984
  t.notation = "compact", t.compactDisplay = "long";
985
985
  continue;
986
986
  case "scientific":
987
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
- return P(P({}, l), $t(u));
987
+ t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
+ return M(M({}, l), Dt(u));
989
989
  }, {}));
990
990
  continue;
991
991
  case "engineering":
992
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
- return P(P({}, l), $t(u));
992
+ t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
+ return M(M({}, l), Dt(u));
994
994
  }, {}));
995
995
  continue;
996
996
  case "notation-simple":
@@ -1035,7 +1035,7 @@ function ei(e) {
1035
1035
  case "integer-width":
1036
1036
  if (i.options.length > 1)
1037
1037
  throw new RangeError("integer-width stems only accept a single optional option");
1038
- i.options[0].replace(qn, function(l, u, h, f, c, g) {
1038
+ i.options[0].replace(Kn, function(l, u, h, f, c, g) {
1039
1039
  if (u)
1040
1040
  t.minimumIntegerDigits = h.length;
1041
1041
  else {
@@ -1048,32 +1048,32 @@ function ei(e) {
1048
1048
  });
1049
1049
  continue;
1050
1050
  }
1051
- if (Tr.test(i.stem)) {
1051
+ if (Sr.test(i.stem)) {
1052
1052
  t.minimumIntegerDigits = i.stem.length;
1053
1053
  continue;
1054
1054
  }
1055
- if (Rt.test(i.stem)) {
1055
+ if (Nt.test(i.stem)) {
1056
1056
  if (i.options.length > 1)
1057
1057
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1058
- i.stem.replace(Rt, function(l, u, h, f, c, g) {
1058
+ i.stem.replace(Nt, function(l, u, h, f, c, g) {
1059
1059
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1060
1060
  });
1061
1061
  var o = i.options[0];
1062
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Dt(o)));
1062
+ o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Rt(o)));
1063
1063
  continue;
1064
1064
  }
1065
- if (Sr.test(i.stem)) {
1066
- t = P(P({}, t), Dt(i.stem));
1065
+ if (wr.test(i.stem)) {
1066
+ t = M(M({}, t), Rt(i.stem));
1067
1067
  continue;
1068
1068
  }
1069
- var s = Cr(i.stem);
1070
- s && (t = P(P({}, t), s));
1071
- var a = Kn(i.stem);
1072
- a && (t = P(P({}, t), a));
1069
+ var s = Tr(i.stem);
1070
+ s && (t = M(M({}, t), s));
1071
+ var a = ei(i.stem);
1072
+ a && (t = M(M({}, t), a));
1073
1073
  }
1074
1074
  return t;
1075
1075
  }
1076
- var Ne = {
1076
+ var Re = {
1077
1077
  "001": [
1078
1078
  "H",
1079
1079
  "h"
@@ -2488,13 +2488,13 @@ var Ne = {
2488
2488
  "h"
2489
2489
  ]
2490
2490
  };
2491
- function ti(e, t) {
2491
+ function ri(e, t) {
2492
2492
  for (var r = "", n = 0; n < e.length; n++) {
2493
2493
  var i = e.charAt(n);
2494
2494
  if (i === "j") {
2495
2495
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2496
2496
  o++, n++;
2497
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
2497
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ni(t);
2498
2498
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2499
2499
  r += l;
2500
2500
  for (; s-- > 0; )
@@ -2504,7 +2504,7 @@ function ti(e, t) {
2504
2504
  }
2505
2505
  return r;
2506
2506
  }
2507
- function ri(e) {
2507
+ function ni(e) {
2508
2508
  var t = e.hourCycle;
2509
2509
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2510
2510
  e.hourCycles && // @ts-ignore
@@ -2523,23 +2523,23 @@ function ri(e) {
2523
2523
  }
2524
2524
  var r = e.language, n;
2525
2525
  r !== "root" && (n = e.maximize().region);
2526
- var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
2526
+ var i = Re[n || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2527
2527
  return i[0];
2528
2528
  }
2529
- var at, ni = new RegExp("^".concat(wr.source, "*")), ii = new RegExp("".concat(wr.source, "*$"));
2529
+ var st, ii = new RegExp("^".concat(xr.source, "*")), oi = new RegExp("".concat(xr.source, "*$"));
2530
2530
  function w(e, t) {
2531
2531
  return { start: e, end: t };
2532
2532
  }
2533
- var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
2533
+ var si = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, ui = !!Object.fromEntries, li = !!String.prototype.codePointAt, hi = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, pi = fi ? Number.isSafeInteger : function(e) {
2534
2534
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2535
- }, dt = !0;
2535
+ }, pt = !0;
2536
2536
  try {
2537
- var pi = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
- dt = ((at = pi.exec("a")) === null || at === void 0 ? void 0 : at[0]) === "a";
2537
+ var di = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
+ pt = ((st = di.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2539
2539
  } catch {
2540
- dt = !1;
2540
+ pt = !1;
2541
2541
  }
2542
- var Ut = oi ? (
2542
+ var $t = si ? (
2543
2543
  // Native
2544
2544
  function(t, r, n) {
2545
2545
  return t.startsWith(r, n);
@@ -2549,7 +2549,7 @@ var Ut = oi ? (
2549
2549
  function(t, r, n) {
2550
2550
  return t.slice(n, n + r.length) === r;
2551
2551
  }
2552
- ), mt = si ? String.fromCodePoint : (
2552
+ ), dt = ai ? String.fromCodePoint : (
2553
2553
  // IE11
2554
2554
  function() {
2555
2555
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2561,9 +2561,9 @@ var Ut = oi ? (
2561
2561
  }
2562
2562
  return n;
2563
2563
  }
2564
- ), Ft = (
2564
+ ), Ut = (
2565
2565
  // native
2566
- ai ? Object.fromEntries : (
2566
+ ui ? Object.fromEntries : (
2567
2567
  // Ponyfill
2568
2568
  function(t) {
2569
2569
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2573,7 +2573,7 @@ var Ut = oi ? (
2573
2573
  return r;
2574
2574
  }
2575
2575
  )
2576
- ), Hr = ui ? (
2576
+ ), Cr = li ? (
2577
2577
  // Native
2578
2578
  function(t, r) {
2579
2579
  return t.codePointAt(r);
@@ -2587,7 +2587,7 @@ var Ut = oi ? (
2587
2587
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2588
2588
  }
2589
2589
  }
2590
- ), di = li ? (
2590
+ ), mi = hi ? (
2591
2591
  // Native
2592
2592
  function(t) {
2593
2593
  return t.trimStart();
@@ -2595,9 +2595,9 @@ var Ut = oi ? (
2595
2595
  ) : (
2596
2596
  // Ponyfill
2597
2597
  function(t) {
2598
- return t.replace(ni, "");
2598
+ return t.replace(ii, "");
2599
2599
  }
2600
- ), mi = hi ? (
2600
+ ), bi = ci ? (
2601
2601
  // Native
2602
2602
  function(t) {
2603
2603
  return t.trimEnd();
@@ -2605,32 +2605,32 @@ var Ut = oi ? (
2605
2605
  ) : (
2606
2606
  // Ponyfill
2607
2607
  function(t) {
2608
- return t.replace(ii, "");
2608
+ return t.replace(oi, "");
2609
2609
  }
2610
2610
  );
2611
- function Ar(e, t) {
2611
+ function Hr(e, t) {
2612
2612
  return new RegExp(e, t);
2613
2613
  }
2614
- var bt;
2615
- if (dt) {
2616
- var Gt = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- bt = function(t, r) {
2614
+ var mt;
2615
+ if (pt) {
2616
+ var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ mt = function(t, r) {
2618
2618
  var n;
2619
- Gt.lastIndex = r;
2620
- var i = Gt.exec(t);
2619
+ Ft.lastIndex = r;
2620
+ var i = Ft.exec(t);
2621
2621
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2622
2622
  };
2623
2623
  } else
2624
- bt = function(t, r) {
2624
+ mt = function(t, r) {
2625
2625
  for (var n = []; ; ) {
2626
- var i = Hr(t, r);
2627
- if (i === void 0 || Pr(i) || vi(i))
2626
+ var i = Cr(t, r);
2627
+ if (i === void 0 || Ar(i) || _i(i))
2628
2628
  break;
2629
2629
  n.push(i), r += i >= 65536 ? 2 : 1;
2630
2630
  }
2631
- return mt.apply(void 0, n);
2631
+ return dt.apply(void 0, n);
2632
2632
  };
2633
- var bi = (
2633
+ var gi = (
2634
2634
  /** @class */
2635
2635
  function() {
2636
2636
  function e(t, r) {
@@ -2661,7 +2661,7 @@ var bi = (
2661
2661
  if (n)
2662
2662
  break;
2663
2663
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2664
- } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2664
+ } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2665
2665
  var s = this.parseTag(t, r);
2666
2666
  if (s.err)
2667
2667
  return s;
@@ -2694,7 +2694,7 @@ var bi = (
2694
2694
  return o;
2695
2695
  var s = o.val, a = this.clonePosition();
2696
2696
  if (this.bumpIf("</")) {
2697
- if (this.isEOF() || !gt(this.char()))
2697
+ if (this.isEOF() || !bt(this.char()))
2698
2698
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
2699
2699
  var l = this.clonePosition(), u = this.parseTagName();
2700
2700
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2712,7 +2712,7 @@ var bi = (
2712
2712
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
2713
2713
  }, e.prototype.parseTagName = function() {
2714
2714
  var t = this.offset();
2715
- for (this.bump(); !this.isEOF() && yi(this.char()); )
2715
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
2716
2716
  this.bump();
2717
2717
  return this.message.slice(t, this.offset());
2718
2718
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2741,7 +2741,7 @@ var bi = (
2741
2741
  };
2742
2742
  }, e.prototype.tryParseLeftAngleBracket = function() {
2743
2743
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2744
- !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
+ !yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2745
2745
  }, e.prototype.tryParseQuote = function(t) {
2746
2746
  if (this.isEOF() || this.char() !== 39)
2747
2747
  return null;
@@ -2775,12 +2775,12 @@ var bi = (
2775
2775
  r.push(n);
2776
2776
  this.bump();
2777
2777
  }
2778
- return mt.apply(void 0, r);
2778
+ return dt.apply(void 0, r);
2779
2779
  }, e.prototype.tryParseUnquoted = function(t, r) {
2780
2780
  if (this.isEOF())
2781
2781
  return null;
2782
2782
  var n = this.char();
2783
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
2783
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
2784
2784
  }, e.prototype.parseArgument = function(t, r) {
2785
2785
  var n = this.clonePosition();
2786
2786
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2809,7 +2809,7 @@ var bi = (
2809
2809
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2810
2810
  }
2811
2811
  }, e.prototype.parseIdentifierIfPossible = function() {
2812
- var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
2812
+ var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
2813
2813
  this.bumpTo(i);
2814
2814
  var o = this.clonePosition(), s = w(t, o);
2815
2815
  return { value: n, location: s };
@@ -2828,18 +2828,18 @@ var bi = (
2828
2828
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2829
2829
  if (f.err)
2830
2830
  return f;
2831
- var c = mi(f.val);
2831
+ var c = bi(f.val);
2832
2832
  if (c.length === 0)
2833
2833
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2834
2834
  var g = w(h, this.clonePosition());
2835
2835
  u = { style: c, styleLocation: g };
2836
2836
  }
2837
- var m = this.tryParseArgumentClose(i);
2838
- if (m.err)
2839
- return m;
2837
+ var d = this.tryParseArgumentClose(i);
2838
+ if (d.err)
2839
+ return d;
2840
2840
  var p = w(i, this.clonePosition());
2841
- if (u && Ut(u?.style, "::", 0)) {
2842
- var E = di(u.style.slice(2));
2841
+ if (u && $t(u?.style, "::", 0)) {
2842
+ var E = mi(u.style.slice(2));
2843
2843
  if (a === "number") {
2844
2844
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2845
2845
  return f.err ? f : {
@@ -2850,15 +2850,15 @@ var bi = (
2850
2850
  if (E.length === 0)
2851
2851
  return this.error(x.EXPECT_DATE_TIME_SKELETON, p);
2852
2852
  var T = E;
2853
- this.locale && (T = ti(E, this.locale));
2853
+ this.locale && (T = ri(E, this.locale));
2854
2854
  var c = {
2855
- type: he.dateTime,
2855
+ type: le.dateTime,
2856
2856
  pattern: T,
2857
2857
  location: u.styleLocation,
2858
- parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
2859
- }, d = a === "date" ? C.date : C.time;
2858
+ parsedOptions: this.shouldParseSkeletons ? Qn(T) : {}
2859
+ }, b = a === "date" ? C.date : C.time;
2860
2860
  return {
2861
- val: { type: d, value: n, location: p, style: c },
2861
+ val: { type: b, value: n, location: p, style: c },
2862
2862
  err: null
2863
2863
  };
2864
2864
  }
@@ -2893,26 +2893,26 @@ var bi = (
2893
2893
  var L = this.tryParsePluralOrSelectOptions(t, a, r, y);
2894
2894
  if (L.err)
2895
2895
  return L;
2896
- var m = this.tryParseArgumentClose(i);
2897
- if (m.err)
2898
- return m;
2899
- var M = w(i, this.clonePosition());
2896
+ var d = this.tryParseArgumentClose(i);
2897
+ if (d.err)
2898
+ return d;
2899
+ var P = w(i, this.clonePosition());
2900
2900
  return a === "select" ? {
2901
2901
  val: {
2902
2902
  type: C.select,
2903
2903
  value: n,
2904
- options: Ft(L.val),
2905
- location: M
2904
+ options: Ut(L.val),
2905
+ location: P
2906
2906
  },
2907
2907
  err: null
2908
2908
  } : {
2909
2909
  val: {
2910
2910
  type: C.plural,
2911
2911
  value: n,
2912
- options: Ft(L.val),
2912
+ options: Ut(L.val),
2913
2913
  offset: A,
2914
2914
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2915
- location: M
2915
+ location: P
2916
2916
  },
2917
2917
  err: null
2918
2918
  };
@@ -2960,16 +2960,16 @@ var bi = (
2960
2960
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2961
2961
  var n = [];
2962
2962
  try {
2963
- n = Yn(t);
2963
+ n = Jn(t);
2964
2964
  } catch {
2965
2965
  return this.error(x.INVALID_NUMBER_SKELETON, r);
2966
2966
  }
2967
2967
  return {
2968
2968
  val: {
2969
- type: he.number,
2969
+ type: le.number,
2970
2970
  tokens: n,
2971
2971
  location: r,
2972
- parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
2972
+ parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
2973
2973
  },
2974
2974
  err: null
2975
2975
  };
@@ -2991,16 +2991,16 @@ var bi = (
2991
2991
  var g = this.clonePosition();
2992
2992
  if (!this.bumpIf("{"))
2993
2993
  return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
2994
- var m = this.parseMessage(t + 1, r, n);
2995
- if (m.err)
2996
- return m;
2994
+ var d = this.parseMessage(t + 1, r, n);
2995
+ if (d.err)
2996
+ return d;
2997
2997
  var p = this.tryParseArgumentClose(g);
2998
2998
  if (p.err)
2999
2999
  return p;
3000
3000
  a.push([
3001
3001
  u,
3002
3002
  {
3003
- value: m.val,
3003
+ value: d.val,
3004
3004
  location: w(g, this.clonePosition())
3005
3005
  }
3006
3006
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3017,7 +3017,7 @@ var bi = (
3017
3017
  break;
3018
3018
  }
3019
3019
  var l = w(i, this.clonePosition());
3020
- return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3020
+ return o ? (s *= n, pi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3021
3021
  }, e.prototype.offset = function() {
3022
3022
  return this.position.offset;
3023
3023
  }, e.prototype.isEOF = function() {
@@ -3032,7 +3032,7 @@ var bi = (
3032
3032
  var t = this.position.offset;
3033
3033
  if (t >= this.message.length)
3034
3034
  throw Error("out of bound");
3035
- var r = Hr(this.message, t);
3035
+ var r = Cr(this.message, t);
3036
3036
  if (r === void 0)
3037
3037
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3038
3038
  return r;
@@ -3051,7 +3051,7 @@ var bi = (
3051
3051
  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);
3052
3052
  }
3053
3053
  }, e.prototype.bumpIf = function(t) {
3054
- if (Ut(this.message, t, this.offset())) {
3054
+ if ($t(this.message, t, this.offset())) {
3055
3055
  for (var r = 0; r < t.length; r++)
3056
3056
  this.bump();
3057
3057
  return !0;
@@ -3073,7 +3073,7 @@ var bi = (
3073
3073
  break;
3074
3074
  }
3075
3075
  }, e.prototype.bumpSpace = function() {
3076
- for (; !this.isEOF() && Pr(this.char()); )
3076
+ for (; !this.isEOF() && Ar(this.char()); )
3077
3077
  this.bump();
3078
3078
  }, e.prototype.peek = function() {
3079
3079
  if (this.isEOF())
@@ -3083,43 +3083,43 @@ var bi = (
3083
3083
  }, e;
3084
3084
  }()
3085
3085
  );
3086
- function gt(e) {
3086
+ function bt(e) {
3087
3087
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3088
3088
  }
3089
- function gi(e) {
3090
- return gt(e) || e === 47;
3091
- }
3092
3089
  function yi(e) {
3090
+ return bt(e) || e === 47;
3091
+ }
3092
+ function vi(e) {
3093
3093
  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;
3094
3094
  }
3095
- function Pr(e) {
3095
+ function Ar(e) {
3096
3096
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3097
3097
  }
3098
- function vi(e) {
3098
+ function _i(e) {
3099
3099
  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;
3100
3100
  }
3101
- function yt(e) {
3101
+ function gt(e) {
3102
3102
  e.forEach(function(t) {
3103
- if (delete t.location, vr(t) || _r(t))
3103
+ if (delete t.location, yr(t) || vr(t))
3104
3104
  for (var r in t.options)
3105
- delete t.options[r].location, yt(t.options[r].value);
3105
+ delete t.options[r].location, gt(t.options[r].value);
3106
3106
  else
3107
- br(t) && xr(t.style) || (gr(t) || yr(t)) && pt(t.style) ? delete t.style.location : Er(t) && yt(t.children);
3107
+ mr(t) && Er(t.style) || (br(t) || gr(t)) && ft(t.style) ? delete t.style.location : _r(t) && gt(t.children);
3108
3108
  });
3109
3109
  }
3110
- function _i(e, t) {
3110
+ function Ei(e, t) {
3111
3111
  t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
- var r = new bi(e, t).parse();
3112
+ var r = new gi(e, t).parse();
3113
3113
  if (r.err) {
3114
3114
  var n = SyntaxError(x[r.err.kind]);
3115
3115
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3116
3116
  }
3117
- return t?.captureLocation || yt(r.val), r.val;
3117
+ return t?.captureLocation || gt(r.val), r.val;
3118
3118
  }
3119
- var ce;
3119
+ var he;
3120
3120
  (function(e) {
3121
3121
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3122
- })(ce || (ce = {}));
3122
+ })(he || (he = {}));
3123
3123
  var qe = (
3124
3124
  /** @class */
3125
3125
  function(e) {
@@ -3132,30 +3132,30 @@ var qe = (
3132
3132
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3133
3133
  }, t;
3134
3134
  }(Error)
3135
- ), jt = (
3135
+ ), Gt = (
3136
3136
  /** @class */
3137
3137
  function(e) {
3138
3138
  Je(t, e);
3139
3139
  function t(r, n, i, o) {
3140
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3140
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3141
3141
  }
3142
3142
  return t;
3143
3143
  }(qe)
3144
- ), Ei = (
3144
+ ), xi = (
3145
3145
  /** @class */
3146
3146
  function(e) {
3147
3147
  Je(t, e);
3148
3148
  function t(r, n, i) {
3149
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3149
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3150
3150
  }
3151
3151
  return t;
3152
3152
  }(qe)
3153
- ), xi = (
3153
+ ), wi = (
3154
3154
  /** @class */
3155
3155
  function(e) {
3156
3156
  Je(t, e);
3157
3157
  function t(r, n) {
3158
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3158
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3159
3159
  }
3160
3160
  return t;
3161
3161
  }(qe)
@@ -3163,17 +3163,17 @@ var qe = (
3163
3163
  (function(e) {
3164
3164
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3165
3165
  })(B || (B = {}));
3166
- function wi(e) {
3166
+ function Si(e) {
3167
3167
  return e.length < 2 ? e : e.reduce(function(t, r) {
3168
3168
  var n = t[t.length - 1];
3169
3169
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3170
3170
  }, []);
3171
3171
  }
3172
- function Si(e) {
3172
+ function Ti(e) {
3173
3173
  return typeof e == "function";
3174
3174
  }
3175
- function Fe(e, t, r, n, i, o, s) {
3176
- if (e.length === 1 && Nt(e[0]))
3175
+ function Ge(e, t, r, n, i, o, s) {
3176
+ if (e.length === 1 && It(e[0]))
3177
3177
  return [
3178
3178
  {
3179
3179
  type: B.literal,
@@ -3182,14 +3182,14 @@ function Fe(e, t, r, n, i, o, s) {
3182
3182
  ];
3183
3183
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3184
3184
  var h = u[l];
3185
- if (Nt(h)) {
3185
+ if (It(h)) {
3186
3186
  a.push({
3187
3187
  type: B.literal,
3188
3188
  value: h.value
3189
3189
  });
3190
3190
  continue;
3191
3191
  }
3192
- if (Xn(h)) {
3192
+ if (zn(h)) {
3193
3193
  typeof o == "number" && a.push({
3194
3194
  type: B.literal,
3195
3195
  value: r.getNumberFormat(t).format(o)
@@ -3198,89 +3198,89 @@ function Fe(e, t, r, n, i, o, s) {
3198
3198
  }
3199
3199
  var f = h.value;
3200
3200
  if (!(i && f in i))
3201
- throw new xi(f, s);
3201
+ throw new wi(f, s);
3202
3202
  var c = i[f];
3203
- if (Wn(h)) {
3203
+ if (Xn(h)) {
3204
3204
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3205
3205
  type: typeof c == "string" ? B.literal : B.object,
3206
3206
  value: c
3207
3207
  });
3208
3208
  continue;
3209
3209
  }
3210
- if (gr(h)) {
3211
- var g = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3210
+ if (br(h)) {
3211
+ var g = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3212
3212
  a.push({
3213
3213
  type: B.literal,
3214
3214
  value: r.getDateTimeFormat(t, g).format(c)
3215
3215
  });
3216
3216
  continue;
3217
3217
  }
3218
- if (yr(h)) {
3219
- var g = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3218
+ if (gr(h)) {
3219
+ var g = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
3220
3220
  a.push({
3221
3221
  type: B.literal,
3222
3222
  value: r.getDateTimeFormat(t, g).format(c)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
- if (br(h)) {
3227
- var g = typeof h.style == "string" ? n.number[h.style] : xr(h.style) ? h.style.parsedOptions : void 0;
3226
+ if (mr(h)) {
3227
+ var g = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3228
3228
  g && g.scale && (c = c * (g.scale || 1)), a.push({
3229
3229
  type: B.literal,
3230
3230
  value: r.getNumberFormat(t, g).format(c)
3231
3231
  });
3232
3232
  continue;
3233
3233
  }
3234
- if (Er(h)) {
3235
- var m = h.children, p = h.value, E = i[p];
3236
- if (!Si(E))
3237
- throw new Ei(p, "function", s);
3238
- var T = Fe(m, t, r, n, i, o), d = E(T.map(function(A) {
3234
+ if (_r(h)) {
3235
+ var d = h.children, p = h.value, E = i[p];
3236
+ if (!Ti(E))
3237
+ throw new xi(p, "function", s);
3238
+ var T = Ge(d, t, r, n, i, o), b = E(T.map(function(A) {
3239
3239
  return A.value;
3240
3240
  }));
3241
- Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(A) {
3241
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(A) {
3242
3242
  return {
3243
3243
  type: typeof A == "string" ? B.literal : B.object,
3244
3244
  value: A
3245
3245
  };
3246
3246
  }));
3247
3247
  }
3248
- if (vr(h)) {
3248
+ if (yr(h)) {
3249
3249
  var v = h.options[c] || h.options.other;
3250
3250
  if (!v)
3251
- throw new jt(h.value, c, Object.keys(h.options), s);
3252
- a.push.apply(a, Fe(v.value, t, r, n, i));
3251
+ throw new Gt(h.value, c, Object.keys(h.options), s);
3252
+ a.push.apply(a, Ge(v.value, t, r, n, i));
3253
3253
  continue;
3254
3254
  }
3255
- if (_r(h)) {
3255
+ if (vr(h)) {
3256
3256
  var v = h.options["=".concat(c)];
3257
3257
  if (!v) {
3258
3258
  if (!Intl.PluralRules)
3259
3259
  throw new qe(`Intl.PluralRules is not available in this environment.
3260
3260
  Try polyfilling it using "@formatjs/intl-pluralrules"
3261
- `, ce.MISSING_INTL_API, s);
3261
+ `, he.MISSING_INTL_API, s);
3262
3262
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3263
3263
  v = h.options[y] || h.options.other;
3264
3264
  }
3265
3265
  if (!v)
3266
- throw new jt(h.value, c, Object.keys(h.options), s);
3267
- a.push.apply(a, Fe(v.value, t, r, n, i, c - (h.offset || 0)));
3266
+ throw new Gt(h.value, c, Object.keys(h.options), s);
3267
+ a.push.apply(a, Ge(v.value, t, r, n, i, c - (h.offset || 0)));
3268
3268
  continue;
3269
3269
  }
3270
3270
  }
3271
- return wi(a);
3271
+ return Si(a);
3272
3272
  }
3273
- function Ti(e, t) {
3273
+ function Ci(e, t) {
3274
3274
  return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
3275
  return r[n] = j(j({}, e[n]), t[n] || {}), r;
3276
3276
  }, {})) : e;
3277
3277
  }
3278
- function Ci(e, t) {
3278
+ function Hi(e, t) {
3279
3279
  return t ? Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = Ti(e[n], t[n]), r;
3280
+ return r[n] = Ci(e[n], t[n]), r;
3281
3281
  }, j({}, e)) : e;
3282
3282
  }
3283
- function ut(e) {
3283
+ function at(e) {
3284
3284
  return {
3285
3285
  create: function() {
3286
3286
  return {
@@ -3294,39 +3294,39 @@ function ut(e) {
3294
3294
  }
3295
3295
  };
3296
3296
  }
3297
- function Hi(e) {
3297
+ function Ai(e) {
3298
3298
  return e === void 0 && (e = {
3299
3299
  number: {},
3300
3300
  dateTime: {},
3301
3301
  pluralRules: {}
3302
3302
  }), {
3303
- getNumberFormat: ot(function() {
3303
+ getNumberFormat: it(function() {
3304
3304
  for (var t, r = [], n = 0; n < arguments.length; n++)
3305
3305
  r[n] = arguments[n];
3306
- return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], r, !1)))();
3306
+ return new ((t = Intl.NumberFormat).bind.apply(t, nt([void 0], r, !1)))();
3307
3307
  }, {
3308
- cache: ut(e.number),
3309
- strategy: st.variadic
3308
+ cache: at(e.number),
3309
+ strategy: ot.variadic
3310
3310
  }),
3311
- getDateTimeFormat: ot(function() {
3311
+ getDateTimeFormat: it(function() {
3312
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3313
  r[n] = arguments[n];
3314
- return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], r, !1)))();
3314
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, nt([void 0], r, !1)))();
3315
3315
  }, {
3316
- cache: ut(e.dateTime),
3317
- strategy: st.variadic
3316
+ cache: at(e.dateTime),
3317
+ strategy: ot.variadic
3318
3318
  }),
3319
- getPluralRules: ot(function() {
3319
+ getPluralRules: it(function() {
3320
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3321
3321
  r[n] = arguments[n];
3322
- return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], r, !1)))();
3322
+ return new ((t = Intl.PluralRules).bind.apply(t, nt([void 0], r, !1)))();
3323
3323
  }, {
3324
- cache: ut(e.pluralRules),
3325
- strategy: st.variadic
3324
+ cache: at(e.pluralRules),
3325
+ strategy: ot.variadic
3326
3326
  })
3327
3327
  };
3328
3328
  }
3329
- var Mr = (
3329
+ var Pr = (
3330
3330
  /** @class */
3331
3331
  function() {
3332
3332
  function e(t, r, n, i) {
@@ -3345,7 +3345,7 @@ var Mr = (
3345
3345
  }, []);
3346
3346
  return h.length <= 1 ? h[0] || "" : h;
3347
3347
  }, this.formatToParts = function(l) {
3348
- return Fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3348
+ return Ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3349
3349
  }, this.resolvedOptions = function() {
3350
3350
  var l;
3351
3351
  return {
@@ -3358,13 +3358,13 @@ var Mr = (
3358
3358
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3359
3359
  var s = i || {};
3360
3360
  s.formatters;
3361
- var a = Dn(s, ["formatters"]);
3361
+ var a = $n(s, ["formatters"]);
3362
3362
  this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3363
3363
  } else
3364
3364
  this.ast = t;
3365
3365
  if (!Array.isArray(this.ast))
3366
3366
  throw new TypeError("A message must be provided as a String or AST.");
3367
- this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
3367
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
3368
3368
  }
3369
3369
  return Object.defineProperty(e, "defaultLocale", {
3370
3370
  get: function() {
@@ -3377,7 +3377,7 @@ var Mr = (
3377
3377
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3378
3378
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3379
3379
  }
3380
- }, e.__parse = _i, e.formats = {
3380
+ }, e.__parse = Ei, e.formats = {
3381
3381
  number: {
3382
3382
  integer: {
3383
3383
  maximumFractionDigits: 0
@@ -3438,7 +3438,7 @@ var Mr = (
3438
3438
  }, e;
3439
3439
  }()
3440
3440
  );
3441
- function Ai(e, t) {
3441
+ function Pi(e, t) {
3442
3442
  if (t == null)
3443
3443
  return;
3444
3444
  if (t in e)
@@ -3459,101 +3459,101 @@ function Ai(e, t) {
3459
3459
  n = void 0;
3460
3460
  return n;
3461
3461
  }
3462
- const z = {}, Pi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Or = (e, t) => {
3462
+ const Q = {}, Mi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Mr = (e, t) => {
3463
3463
  if (t == null)
3464
3464
  return;
3465
- if (t in z && e in z[t])
3466
- return z[t][e];
3467
- const r = Ae(t);
3465
+ if (t in Q && e in Q[t])
3466
+ return Q[t][e];
3467
+ const r = Pe(t);
3468
3468
  for (let n = 0; n < r.length; n++) {
3469
- const i = r[n], o = Oi(i, e);
3469
+ const i = r[n], o = Bi(i, e);
3470
3470
  if (o)
3471
- return Pi(e, t, o);
3471
+ return Mi(e, t, o);
3472
3472
  }
3473
3473
  };
3474
- let Ht;
3475
- const He = Ye({});
3476
- function Mi(e) {
3477
- return Ht[e] || null;
3474
+ let Ct;
3475
+ const Ae = Ye({});
3476
+ function Oi(e) {
3477
+ return Ct[e] || null;
3478
3478
  }
3479
- function Br(e) {
3480
- return e in Ht;
3479
+ function Or(e) {
3480
+ return e in Ct;
3481
3481
  }
3482
- function Oi(e, t) {
3483
- if (!Br(e))
3482
+ function Bi(e, t) {
3483
+ if (!Or(e))
3484
3484
  return null;
3485
- const r = Mi(e);
3486
- return Ai(r, t);
3485
+ const r = Oi(e);
3486
+ return Pi(r, t);
3487
3487
  }
3488
- function Bi(e) {
3488
+ function Li(e) {
3489
3489
  if (e == null)
3490
3490
  return;
3491
- const t = Ae(e);
3491
+ const t = Pe(e);
3492
3492
  for (let r = 0; r < t.length; r++) {
3493
3493
  const n = t[r];
3494
- if (Br(n))
3494
+ if (Or(n))
3495
3495
  return n;
3496
3496
  }
3497
3497
  }
3498
- function Lr(e, ...t) {
3499
- delete z[e], He.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
3498
+ function Br(e, ...t) {
3499
+ delete Q[e], Ae.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
3500
3500
  }
3501
- de(
3502
- [He],
3501
+ pe(
3502
+ [Ae],
3503
3503
  ([e]) => Object.keys(e)
3504
3504
  );
3505
- He.subscribe((e) => Ht = e);
3506
- const Ge = {};
3507
- function Li(e, t) {
3508
- Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3505
+ Ae.subscribe((e) => Ct = e);
3506
+ const je = {};
3507
+ function Ii(e, t) {
3508
+ je[e].delete(t), je[e].size === 0 && delete je[e];
3509
3509
  }
3510
- function Ir(e) {
3511
- return Ge[e];
3510
+ function Lr(e) {
3511
+ return je[e];
3512
3512
  }
3513
- function Ii(e) {
3514
- return Ae(e).map((t) => {
3515
- const r = Ir(t);
3513
+ function Ni(e) {
3514
+ return Pe(e).map((t) => {
3515
+ const r = Lr(t);
3516
3516
  return [t, r ? [...r] : []];
3517
3517
  }).filter(([, t]) => t.length > 0);
3518
3518
  }
3519
3519
  function ze(e) {
3520
- return e == null ? !1 : Ae(e).some(
3520
+ return e == null ? !1 : Pe(e).some(
3521
3521
  (t) => {
3522
3522
  var r;
3523
- return (r = Ir(t)) == null ? void 0 : r.size;
3523
+ return (r = Lr(t)) == null ? void 0 : r.size;
3524
3524
  }
3525
3525
  );
3526
3526
  }
3527
- function Ni(e, t) {
3527
+ function Ri(e, t) {
3528
3528
  return Promise.all(
3529
- t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
3530
- ).then((n) => Lr(e, ...n));
3529
+ t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
3530
+ ).then((n) => Br(e, ...n));
3531
3531
  }
3532
3532
  const ve = {};
3533
- function Nr(e) {
3533
+ function Ir(e) {
3534
3534
  if (!ze(e))
3535
3535
  return e in ve ? ve[e] : Promise.resolve();
3536
- const t = Ii(e);
3536
+ const t = Ni(e);
3537
3537
  return ve[e] = Promise.all(
3538
3538
  t.map(
3539
- ([r, n]) => Ni(r, n)
3539
+ ([r, n]) => Ri(r, n)
3540
3540
  )
3541
3541
  ).then(() => {
3542
3542
  if (ze(e))
3543
- return Nr(e);
3543
+ return Ir(e);
3544
3544
  delete ve[e];
3545
3545
  }), ve[e];
3546
3546
  }
3547
- var kt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, $i = (e, t) => {
3547
+ var jt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Ui = (e, t) => {
3548
3548
  var r = {};
3549
3549
  for (var n in e)
3550
- Ri.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3551
- if (e != null && kt)
3552
- for (var n of kt(e))
3553
- t.indexOf(n) < 0 && Di.call(e, n) && (r[n] = e[n]);
3550
+ Di.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3551
+ if (e != null && jt)
3552
+ for (var n of jt(e))
3553
+ t.indexOf(n) < 0 && $i.call(e, n) && (r[n] = e[n]);
3554
3554
  return r;
3555
3555
  };
3556
- const Ui = {
3556
+ const Fi = {
3557
3557
  number: {
3558
3558
  scientific: { notation: "scientific" },
3559
3559
  engineering: { notation: "engineering" },
@@ -3583,81 +3583,81 @@ const Ui = {
3583
3583
  }
3584
3584
  }
3585
3585
  };
3586
- function Fi({ locale: e, id: t }) {
3586
+ function Gi({ locale: e, id: t }) {
3587
3587
  console.warn(
3588
- `[svelte-i18n] The message "${t}" was not found in "${Ae(
3588
+ `[svelte-i18n] The message "${t}" was not found in "${Pe(
3589
3589
  e
3590
- ).join('", "')}".${ze(Q()) ? `
3590
+ ).join('", "')}".${ze(J()) ? `
3591
3591
 
3592
3592
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3593
3593
  );
3594
3594
  }
3595
- const Gi = {
3595
+ const ji = {
3596
3596
  fallbackLocale: null,
3597
3597
  loadingDelay: 200,
3598
- formats: Ui,
3598
+ formats: Fi,
3599
3599
  warnOnMissingMessages: !0,
3600
3600
  handleMissingMessage: void 0,
3601
3601
  ignoreTag: !0
3602
- }, _e = Gi;
3603
- function fe() {
3602
+ }, _e = ji;
3603
+ function ce() {
3604
3604
  return _e;
3605
3605
  }
3606
- function ji(e) {
3607
- const t = e, { formats: r } = t, n = $i(t, ["formats"]);
3606
+ function ki(e) {
3607
+ const t = e, { formats: r } = t, n = Ui(t, ["formats"]);
3608
3608
  let i = e.fallbackLocale;
3609
3609
  if (e.initialLocale)
3610
3610
  try {
3611
- Mr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3611
+ Pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3612
3612
  } catch {
3613
3613
  console.warn(
3614
3614
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3615
3615
  );
3616
3616
  }
3617
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fi : console.warn(
3617
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Gi : console.warn(
3618
3618
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3619
3619
  )), 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)), K.set(i);
3620
3620
  }
3621
- const lt = Ye(!1);
3622
- var ki = Object.defineProperty, Vi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
3621
+ const ut = Ye(!1);
3622
+ var Vi = Object.defineProperty, Wi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
3623
3623
  for (var r in t || (t = {}))
3624
- Xi.call(t, r) && Wt(e, r, t[r]);
3625
- if (Vt)
3626
- for (var r of Vt(t))
3627
- zi.call(t, r) && Wt(e, r, t[r]);
3624
+ zi.call(t, r) && Vt(e, r, t[r]);
3625
+ if (kt)
3626
+ for (var r of kt(t))
3627
+ Zi.call(t, r) && Vt(e, r, t[r]);
3628
3628
  return e;
3629
- }, Qi = (e, t) => Vi(e, Wi(t));
3630
- let vt;
3629
+ }, Yi = (e, t) => Wi(e, Xi(t));
3630
+ let yt;
3631
3631
  const Ze = Ye(null);
3632
- function Xt(e) {
3632
+ function Wt(e) {
3633
3633
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3634
3634
  }
3635
- function Ae(e, t = fe().fallbackLocale) {
3636
- const r = Xt(e);
3637
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
3635
+ function Pe(e, t = ce().fallbackLocale) {
3636
+ const r = Wt(e);
3637
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3638
3638
  }
3639
- function Q() {
3640
- return vt ?? void 0;
3639
+ function J() {
3640
+ return yt ?? void 0;
3641
3641
  }
3642
3642
  Ze.subscribe((e) => {
3643
- vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3643
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3644
3644
  });
3645
- const Yi = (e) => {
3646
- if (e && Bi(e) && ze(e)) {
3647
- const { loadingDelay: t } = fe();
3645
+ const Ji = (e) => {
3646
+ if (e && Li(e) && ze(e)) {
3647
+ const { loadingDelay: t } = ce();
3648
3648
  let r;
3649
- return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
3650
- () => lt.set(!0),
3649
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3650
+ () => ut.set(!0),
3651
3651
  t
3652
- ) : lt.set(!0), Nr(e).then(() => {
3652
+ ) : ut.set(!0), Ir(e).then(() => {
3653
3653
  Ze.set(e);
3654
3654
  }).finally(() => {
3655
- clearTimeout(r), lt.set(!1);
3655
+ clearTimeout(r), ut.set(!1);
3656
3656
  });
3657
3657
  }
3658
3658
  return Ze.set(e);
3659
- }, K = Qi(Zi({}, Ze), {
3660
- set: Yi
3659
+ }, K = Yi(Qi({}, Ze), {
3660
+ set: Ji
3661
3661
  }), Ke = (e) => {
3662
3662
  const t = /* @__PURE__ */ Object.create(null);
3663
3663
  return (n) => {
@@ -3665,92 +3665,92 @@ const Yi = (e) => {
3665
3665
  return i in t ? t[i] : t[i] = e(n);
3666
3666
  };
3667
3667
  };
3668
- var Ji = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
3668
+ var qi = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
3669
3669
  for (var r in t || (t = {}))
3670
- Rr.call(t, r) && zt(e, r, t[r]);
3670
+ Nr.call(t, r) && Xt(e, r, t[r]);
3671
3671
  if (Qe)
3672
3672
  for (var r of Qe(t))
3673
- Dr.call(t, r) && zt(e, r, t[r]);
3673
+ Rr.call(t, r) && Xt(e, r, t[r]);
3674
3674
  return e;
3675
- }, me = (e, t) => {
3675
+ }, de = (e, t) => {
3676
3676
  var r = {};
3677
3677
  for (var n in e)
3678
- Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3678
+ Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
3679
  if (e != null && Qe)
3680
3680
  for (var n of Qe(e))
3681
- t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
3681
+ t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
3682
3682
  return r;
3683
3683
  };
3684
- const Ce = (e, t) => {
3685
- const { formats: r } = fe();
3684
+ const He = (e, t) => {
3685
+ const { formats: r } = ce();
3686
3686
  if (e in r && t in r[e])
3687
3687
  return r[e][t];
3688
3688
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3689
- }, qi = Ke(
3689
+ }, Ki = Ke(
3690
3690
  (e) => {
3691
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3691
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3692
3692
  if (r == null)
3693
3693
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3694
- return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
3694
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
3695
3695
  }
3696
- ), Ki = Ke(
3696
+ ), eo = Ke(
3697
3697
  (e) => {
3698
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3698
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3699
3699
  if (r == null)
3700
3700
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3701
- return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
3701
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
3702
3702
  }
3703
- ), eo = Ke(
3703
+ ), to = Ke(
3704
3704
  (e) => {
3705
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3705
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3706
3706
  if (r == null)
3707
3707
  throw new Error(
3708
3708
  '[svelte-i18n] A "locale" must be set to format time values'
3709
3709
  );
3710
- return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
3710
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
3711
3711
  }
3712
- ), to = (e = {}) => {
3712
+ ), ro = (e = {}) => {
3713
3713
  var t = e, {
3714
- locale: r = Q()
3715
- } = t, n = me(t, [
3714
+ locale: r = J()
3715
+ } = t, n = de(t, [
3716
3716
  "locale"
3717
3717
  ]);
3718
- return qi(At({ locale: r }, n));
3719
- }, ro = (e = {}) => {
3718
+ return Ki(Ht({ locale: r }, n));
3719
+ }, no = (e = {}) => {
3720
3720
  var t = e, {
3721
- locale: r = Q()
3722
- } = t, n = me(t, [
3721
+ locale: r = J()
3722
+ } = t, n = de(t, [
3723
3723
  "locale"
3724
3724
  ]);
3725
- return Ki(At({ locale: r }, n));
3726
- }, no = (e = {}) => {
3725
+ return eo(Ht({ locale: r }, n));
3726
+ }, io = (e = {}) => {
3727
3727
  var t = e, {
3728
- locale: r = Q()
3729
- } = t, n = me(t, [
3728
+ locale: r = J()
3729
+ } = t, n = de(t, [
3730
3730
  "locale"
3731
3731
  ]);
3732
- return eo(At({ locale: r }, n));
3733
- }, io = Ke(
3732
+ return to(Ht({ locale: r }, n));
3733
+ }, oo = Ke(
3734
3734
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3735
- (e, t = Q()) => new Mr(e, t, fe().formats, {
3736
- ignoreTag: fe().ignoreTag
3735
+ (e, t = J()) => new Pr(e, t, ce().formats, {
3736
+ ignoreTag: ce().ignoreTag
3737
3737
  })
3738
- ), oo = (e, t = {}) => {
3738
+ ), so = (e, t = {}) => {
3739
3739
  var r, n, i, o;
3740
3740
  let s = t;
3741
3741
  typeof e == "object" && (s = e, e = s.id);
3742
3742
  const {
3743
3743
  values: a,
3744
- locale: l = Q(),
3744
+ locale: l = J(),
3745
3745
  default: u
3746
3746
  } = s;
3747
3747
  if (l == null)
3748
3748
  throw new Error(
3749
3749
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3750
3750
  );
3751
- let h = Or(e, l);
3751
+ let h = Mr(e, l);
3752
3752
  if (!h)
3753
- h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3753
+ h = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3754
3754
  else if (typeof h != "string")
3755
3755
  return console.warn(
3756
3756
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3759,7 +3759,7 @@ const Ce = (e, t) => {
3759
3759
  return h;
3760
3760
  let f = h;
3761
3761
  try {
3762
- f = io(h, l).format(a);
3762
+ f = oo(h, l).format(a);
3763
3763
  } catch (c) {
3764
3764
  c instanceof Error && console.warn(
3765
3765
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3767,27 +3767,27 @@ const Ce = (e, t) => {
3767
3767
  );
3768
3768
  }
3769
3769
  return f;
3770
- }, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), uo = (e, t) => to(t).format(e), lo = (e, t = Q()) => Or(e, t), ho = de([K, He], () => oo);
3771
- de([K], () => so);
3772
- de([K], () => ao);
3773
- de([K], () => uo);
3774
- de([K, He], () => lo);
3775
- function Zt(e, t) {
3776
- Lr(e, t);
3777
- }
3778
- function co(e) {
3779
- ji({
3770
+ }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = J()) => Mr(e, t), co = pe([K, Ae], () => so);
3771
+ pe([K], () => ao);
3772
+ pe([K], () => uo);
3773
+ pe([K], () => lo);
3774
+ pe([K, Ae], () => ho);
3775
+ function zt(e, t) {
3776
+ Br(e, t);
3777
+ }
3778
+ function fo(e) {
3779
+ ki({
3780
3780
  fallbackLocale: "en"
3781
3781
  }), K.set(e);
3782
3782
  }
3783
- const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
3784
- function fo(e, t) {
3783
+ const se = "__WIDGET_GLOBAL_STYLE_CACHE__";
3784
+ function po(e, t) {
3785
3785
  if (e) {
3786
3786
  const r = document.createElement("style");
3787
3787
  r.innerHTML = t, e.appendChild(r);
3788
3788
  }
3789
3789
  }
3790
- function po(e, t) {
3790
+ function mo(e, t) {
3791
3791
  if (!e || !t)
3792
3792
  return;
3793
3793
  const r = new URL(t);
@@ -3798,32 +3798,32 @@ function po(e, t) {
3798
3798
  console.error("There was an error while trying to load client styling from URL", n);
3799
3799
  });
3800
3800
  }
3801
- function mo(e, t, r, n = !1) {
3801
+ function bo(e, t, r, n = !1) {
3802
3802
  if (!window.emMessageBus)
3803
3803
  return;
3804
3804
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
3805
- return r = bo(e, t), r;
3806
- window[ae] || (window[ae] = {}), r = go(e, t);
3805
+ return r = go(e, t), r;
3806
+ window[se] || (window[se] = {}), r = yo(e, t);
3807
3807
  const o = r.unsubscribe.bind(r), s = () => {
3808
- if (window[ae][t]) {
3809
- const a = window[ae][t];
3810
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[ae][t];
3808
+ if (window[se][t]) {
3809
+ const a = window[se][t];
3810
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[se][t];
3811
3811
  }
3812
3812
  o();
3813
3813
  };
3814
3814
  return r.unsubscribe = s, r;
3815
3815
  }
3816
- function bo(e, t) {
3816
+ function go(e, t) {
3817
3817
  const r = document.createElement("style");
3818
3818
  return window.emMessageBus.subscribe(t, (n) => {
3819
3819
  e && (r.innerHTML = n, e.appendChild(r));
3820
3820
  });
3821
3821
  }
3822
- function go(e, t) {
3822
+ function yo(e, t) {
3823
3823
  return window.emMessageBus.subscribe(t, (r) => {
3824
3824
  if (!e)
3825
3825
  return;
3826
- const n = e.getRootNode(), i = window[ae];
3826
+ const n = e.getRootNode(), i = window[se];
3827
3827
  let o = i[t] && i[t].sheet;
3828
3828
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
3829
3829
  sheet: o,
@@ -3847,24 +3847,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3847
3847
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3848
3848
  PERFORMANCE OF THIS SOFTWARE.
3849
3849
  ***************************************************************************** */
3850
- var _t = function(e, t) {
3851
- return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3850
+ var vt = function(e, t) {
3851
+ return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3852
3852
  r.__proto__ = n;
3853
3853
  } || function(r, n) {
3854
3854
  for (var i in n)
3855
3855
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3856
- }, _t(e, t);
3856
+ }, vt(e, t);
3857
3857
  };
3858
- function Pe(e, t) {
3858
+ function Me(e, t) {
3859
3859
  if (typeof t != "function" && t !== null)
3860
3860
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3861
- _t(e, t);
3861
+ vt(e, t);
3862
3862
  function r() {
3863
3863
  this.constructor = e;
3864
3864
  }
3865
3865
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3866
3866
  }
3867
- function Et(e) {
3867
+ function _t(e) {
3868
3868
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3869
3869
  if (r)
3870
3870
  return r.call(e);
@@ -3876,7 +3876,7 @@ function Et(e) {
3876
3876
  };
3877
3877
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3878
3878
  }
3879
- function xt(e, t) {
3879
+ function Et(e, t) {
3880
3880
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3881
3881
  if (!r)
3882
3882
  return e;
@@ -3896,22 +3896,22 @@ function xt(e, t) {
3896
3896
  }
3897
3897
  return o;
3898
3898
  }
3899
- function wt(e, t, r) {
3899
+ function xt(e, t, r) {
3900
3900
  if (arguments.length === 2)
3901
3901
  for (var n = 0, i = t.length, o; n < i; n++)
3902
3902
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3903
3903
  return e.concat(o || t);
3904
3904
  }
3905
- function W(e) {
3905
+ function z(e) {
3906
3906
  return typeof e == "function";
3907
3907
  }
3908
- function $r(e) {
3908
+ function Dr(e) {
3909
3909
  var t = function(n) {
3910
3910
  Error.call(n), n.stack = new Error().stack;
3911
3911
  }, r = e(t);
3912
3912
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3913
3913
  }
3914
- var ht = $r(function(e) {
3914
+ var lt = Dr(function(e) {
3915
3915
  return function(r) {
3916
3916
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3917
3917
  ` + r.map(function(n, i) {
@@ -3920,7 +3920,7 @@ var ht = $r(function(e) {
3920
3920
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3921
3921
  };
3922
3922
  });
3923
- function St(e, t) {
3923
+ function wt(e, t) {
3924
3924
  if (e) {
3925
3925
  var r = e.indexOf(t);
3926
3926
  0 <= r && e.splice(r, 1);
@@ -3938,7 +3938,7 @@ var et = function() {
3938
3938
  if (s)
3939
3939
  if (this._parentage = null, Array.isArray(s))
3940
3940
  try {
3941
- for (var a = Et(s), l = a.next(); !l.done; l = a.next()) {
3941
+ for (var a = _t(s), l = a.next(); !l.done; l = a.next()) {
3942
3942
  var u = l.value;
3943
3943
  u.remove(this);
3944
3944
  }
@@ -3955,22 +3955,22 @@ var et = function() {
3955
3955
  else
3956
3956
  s.remove(this);
3957
3957
  var h = this.initialTeardown;
3958
- if (W(h))
3958
+ if (z(h))
3959
3959
  try {
3960
3960
  h();
3961
3961
  } catch (p) {
3962
- o = p instanceof ht ? p.errors : [p];
3962
+ o = p instanceof lt ? p.errors : [p];
3963
3963
  }
3964
3964
  var f = this._finalizers;
3965
3965
  if (f) {
3966
3966
  this._finalizers = null;
3967
3967
  try {
3968
- for (var c = Et(f), g = c.next(); !g.done; g = c.next()) {
3969
- var m = g.value;
3968
+ for (var c = _t(f), g = c.next(); !g.done; g = c.next()) {
3969
+ var d = g.value;
3970
3970
  try {
3971
- Qt(m);
3971
+ Zt(d);
3972
3972
  } catch (p) {
3973
- o = o ?? [], p instanceof ht ? o = wt(wt([], xt(o)), xt(p.errors)) : o.push(p);
3973
+ o = o ?? [], p instanceof lt ? o = xt(xt([], Et(o)), Et(p.errors)) : o.push(p);
3974
3974
  }
3975
3975
  }
3976
3976
  } catch (p) {
@@ -3985,13 +3985,13 @@ var et = function() {
3985
3985
  }
3986
3986
  }
3987
3987
  if (o)
3988
- throw new ht(o);
3988
+ throw new lt(o);
3989
3989
  }
3990
3990
  }, e.prototype.add = function(t) {
3991
3991
  var r;
3992
3992
  if (t && t !== this)
3993
3993
  if (this.closed)
3994
- Qt(t);
3994
+ Zt(t);
3995
3995
  else {
3996
3996
  if (t instanceof e) {
3997
3997
  if (t.closed || t._hasParent(this))
@@ -4008,52 +4008,52 @@ var et = function() {
4008
4008
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4009
4009
  }, e.prototype._removeParent = function(t) {
4010
4010
  var r = this._parentage;
4011
- r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
4011
+ r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
4012
4012
  }, e.prototype.remove = function(t) {
4013
4013
  var r = this._finalizers;
4014
- r && St(r, t), t instanceof e && t._removeParent(this);
4014
+ r && wt(r, t), t instanceof e && t._removeParent(this);
4015
4015
  }, e.EMPTY = function() {
4016
4016
  var t = new e();
4017
4017
  return t.closed = !0, t;
4018
4018
  }(), e;
4019
- }(), Ur = et.EMPTY;
4020
- function Fr(e) {
4021
- return e instanceof et || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
4019
+ }(), $r = et.EMPTY;
4020
+ function Ur(e) {
4021
+ return e instanceof et || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
4022
4022
  }
4023
- function Qt(e) {
4024
- W(e) ? e() : e.unsubscribe();
4023
+ function Zt(e) {
4024
+ z(e) ? e() : e.unsubscribe();
4025
4025
  }
4026
- var yo = {
4026
+ var vo = {
4027
4027
  Promise: void 0
4028
- }, vo = {
4028
+ }, _o = {
4029
4029
  setTimeout: function(e, t) {
4030
4030
  for (var r = [], n = 2; n < arguments.length; n++)
4031
4031
  r[n - 2] = arguments[n];
4032
- return setTimeout.apply(void 0, wt([e, t], xt(r)));
4032
+ return setTimeout.apply(void 0, xt([e, t], Et(r)));
4033
4033
  },
4034
4034
  clearTimeout: function(e) {
4035
4035
  return clearTimeout(e);
4036
4036
  },
4037
4037
  delegate: void 0
4038
4038
  };
4039
- function _o(e) {
4040
- vo.setTimeout(function() {
4039
+ function Eo(e) {
4040
+ _o.setTimeout(function() {
4041
4041
  throw e;
4042
4042
  });
4043
4043
  }
4044
- function Yt() {
4044
+ function Qt() {
4045
4045
  }
4046
- function je(e) {
4046
+ function ke(e) {
4047
4047
  e();
4048
4048
  }
4049
- var Gr = function(e) {
4050
- Pe(t, e);
4049
+ var Fr = function(e) {
4050
+ Me(t, e);
4051
4051
  function t(r) {
4052
4052
  var n = e.call(this) || this;
4053
- return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = wo, n;
4053
+ return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = So, n;
4054
4054
  }
4055
4055
  return t.create = function(r, n, i) {
4056
- return new Tt(r, n, i);
4056
+ return new St(r, n, i);
4057
4057
  }, t.prototype.next = function(r) {
4058
4058
  this.isStopped || this._next(r);
4059
4059
  }, t.prototype.error = function(r) {
@@ -4077,7 +4077,7 @@ var Gr = function(e) {
4077
4077
  this.unsubscribe();
4078
4078
  }
4079
4079
  }, t;
4080
- }(et), Eo = function() {
4080
+ }(et), xo = function() {
4081
4081
  function e(t) {
4082
4082
  this.partialObserver = t;
4083
4083
  }
@@ -4087,7 +4087,7 @@ var Gr = function(e) {
4087
4087
  try {
4088
4088
  r.next(t);
4089
4089
  } catch (n) {
4090
- Re(n);
4090
+ De(n);
4091
4091
  }
4092
4092
  }, e.prototype.error = function(t) {
4093
4093
  var r = this.partialObserver;
@@ -4095,56 +4095,56 @@ var Gr = function(e) {
4095
4095
  try {
4096
4096
  r.error(t);
4097
4097
  } catch (n) {
4098
- Re(n);
4098
+ De(n);
4099
4099
  }
4100
4100
  else
4101
- Re(t);
4101
+ De(t);
4102
4102
  }, e.prototype.complete = function() {
4103
4103
  var t = this.partialObserver;
4104
4104
  if (t.complete)
4105
4105
  try {
4106
4106
  t.complete();
4107
4107
  } catch (r) {
4108
- Re(r);
4108
+ De(r);
4109
4109
  }
4110
4110
  }, e;
4111
- }(), Tt = function(e) {
4112
- Pe(t, e);
4111
+ }(), St = function(e) {
4112
+ Me(t, e);
4113
4113
  function t(r, n, i) {
4114
4114
  var o = e.call(this) || this, s;
4115
- return W(r) || !r ? s = {
4115
+ return z(r) || !r ? s = {
4116
4116
  next: r ?? void 0,
4117
4117
  error: n ?? void 0,
4118
4118
  complete: i ?? void 0
4119
- } : s = r, o.destination = new Eo(s), o;
4119
+ } : s = r, o.destination = new xo(s), o;
4120
4120
  }
4121
4121
  return t;
4122
- }(Gr);
4123
- function Re(e) {
4124
- _o(e);
4122
+ }(Fr);
4123
+ function De(e) {
4124
+ Eo(e);
4125
4125
  }
4126
- function xo(e) {
4126
+ function wo(e) {
4127
4127
  throw e;
4128
4128
  }
4129
- var wo = {
4129
+ var So = {
4130
4130
  closed: !0,
4131
- next: Yt,
4132
- error: xo,
4133
- complete: Yt
4134
- }, So = function() {
4131
+ next: Qt,
4132
+ error: wo,
4133
+ complete: Qt
4134
+ }, To = function() {
4135
4135
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4136
4136
  }();
4137
- function To(e) {
4137
+ function Co(e) {
4138
4138
  return e;
4139
4139
  }
4140
- function Co(e) {
4141
- return e.length === 0 ? To : e.length === 1 ? e[0] : function(r) {
4140
+ function Ho(e) {
4141
+ return e.length === 0 ? Co : e.length === 1 ? e[0] : function(r) {
4142
4142
  return e.reduce(function(n, i) {
4143
4143
  return i(n);
4144
4144
  }, r);
4145
4145
  };
4146
4146
  }
4147
- var Jt = function() {
4147
+ var Yt = function() {
4148
4148
  function e(t) {
4149
4149
  t && (this._subscribe = t);
4150
4150
  }
@@ -4152,8 +4152,8 @@ var Jt = function() {
4152
4152
  var r = new e();
4153
4153
  return r.source = this, r.operator = t, r;
4154
4154
  }, e.prototype.subscribe = function(t, r, n) {
4155
- var i = this, o = Ao(t) ? t : new Tt(t, r, n);
4156
- return je(function() {
4155
+ var i = this, o = Po(t) ? t : new St(t, r, n);
4156
+ return ke(function() {
4157
4157
  var s = i, a = s.operator, l = s.source;
4158
4158
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4159
4159
  }), o;
@@ -4165,8 +4165,8 @@ var Jt = function() {
4165
4165
  }
4166
4166
  }, e.prototype.forEach = function(t, r) {
4167
4167
  var n = this;
4168
- return r = qt(r), new r(function(i, o) {
4169
- var s = new Tt({
4168
+ return r = Jt(r), new r(function(i, o) {
4169
+ var s = new St({
4170
4170
  next: function(a) {
4171
4171
  try {
4172
4172
  t(a);
@@ -4182,15 +4182,15 @@ var Jt = function() {
4182
4182
  }, e.prototype._subscribe = function(t) {
4183
4183
  var r;
4184
4184
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4185
- }, e.prototype[So] = function() {
4185
+ }, e.prototype[To] = function() {
4186
4186
  return this;
4187
4187
  }, e.prototype.pipe = function() {
4188
4188
  for (var t = [], r = 0; r < arguments.length; r++)
4189
4189
  t[r] = arguments[r];
4190
- return Co(t)(this);
4190
+ return Ho(t)(this);
4191
4191
  }, e.prototype.toPromise = function(t) {
4192
4192
  var r = this;
4193
- return t = qt(t), new t(function(n, i) {
4193
+ return t = Jt(t), new t(function(n, i) {
4194
4194
  var o;
4195
4195
  r.subscribe(function(s) {
4196
4196
  return o = s;
@@ -4204,40 +4204,40 @@ var Jt = function() {
4204
4204
  return new e(t);
4205
4205
  }, e;
4206
4206
  }();
4207
- function qt(e) {
4207
+ function Jt(e) {
4208
4208
  var t;
4209
- return (t = e ?? yo.Promise) !== null && t !== void 0 ? t : Promise;
4210
- }
4211
- function Ho(e) {
4212
- return e && W(e.next) && W(e.error) && W(e.complete);
4209
+ return (t = e ?? vo.Promise) !== null && t !== void 0 ? t : Promise;
4213
4210
  }
4214
4211
  function Ao(e) {
4215
- return e && e instanceof Gr || Ho(e) && Fr(e);
4212
+ return e && z(e.next) && z(e.error) && z(e.complete);
4216
4213
  }
4217
- var Po = $r(function(e) {
4214
+ function Po(e) {
4215
+ return e && e instanceof Fr || Ao(e) && Ur(e);
4216
+ }
4217
+ var Mo = Dr(function(e) {
4218
4218
  return function() {
4219
4219
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4220
4220
  };
4221
- }), jr = function(e) {
4222
- Pe(t, e);
4221
+ }), Gr = function(e) {
4222
+ Me(t, e);
4223
4223
  function t() {
4224
4224
  var r = e.call(this) || this;
4225
4225
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4226
4226
  }
4227
4227
  return t.prototype.lift = function(r) {
4228
- var n = new Kt(this, this);
4228
+ var n = new qt(this, this);
4229
4229
  return n.operator = r, n;
4230
4230
  }, t.prototype._throwIfClosed = function() {
4231
4231
  if (this.closed)
4232
- throw new Po();
4232
+ throw new Mo();
4233
4233
  }, t.prototype.next = function(r) {
4234
4234
  var n = this;
4235
- je(function() {
4235
+ ke(function() {
4236
4236
  var i, o;
4237
4237
  if (n._throwIfClosed(), !n.isStopped) {
4238
4238
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4239
4239
  try {
4240
- for (var s = Et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4240
+ for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4241
4241
  var l = a.value;
4242
4242
  l.next(r);
4243
4243
  }
@@ -4255,7 +4255,7 @@ var Po = $r(function(e) {
4255
4255
  });
4256
4256
  }, t.prototype.error = function(r) {
4257
4257
  var n = this;
4258
- je(function() {
4258
+ ke(function() {
4259
4259
  if (n._throwIfClosed(), !n.isStopped) {
4260
4260
  n.hasError = n.isStopped = !0, n.thrownError = r;
4261
4261
  for (var i = n.observers; i.length; )
@@ -4264,7 +4264,7 @@ var Po = $r(function(e) {
4264
4264
  });
4265
4265
  }, t.prototype.complete = function() {
4266
4266
  var r = this;
4267
- je(function() {
4267
+ ke(function() {
4268
4268
  if (r._throwIfClosed(), !r.isStopped) {
4269
4269
  r.isStopped = !0;
4270
4270
  for (var n = r.observers; n.length; )
@@ -4286,20 +4286,20 @@ var Po = $r(function(e) {
4286
4286
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4287
4287
  }, t.prototype._innerSubscribe = function(r) {
4288
4288
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4289
- return o || s ? Ur : (this.currentObservers = null, a.push(r), new et(function() {
4290
- n.currentObservers = null, St(a, r);
4289
+ return o || s ? $r : (this.currentObservers = null, a.push(r), new et(function() {
4290
+ n.currentObservers = null, wt(a, r);
4291
4291
  }));
4292
4292
  }, t.prototype._checkFinalizedStatuses = function(r) {
4293
4293
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4294
4294
  i ? r.error(o) : s && r.complete();
4295
4295
  }, t.prototype.asObservable = function() {
4296
- var r = new Jt();
4296
+ var r = new Yt();
4297
4297
  return r.source = this, r;
4298
4298
  }, t.create = function(r, n) {
4299
- return new Kt(r, n);
4299
+ return new qt(r, n);
4300
4300
  }, t;
4301
- }(Jt), Kt = function(e) {
4302
- Pe(t, e);
4301
+ }(Yt), qt = function(e) {
4302
+ Me(t, e);
4303
4303
  function t(r, n) {
4304
4304
  var i = e.call(this) || this;
4305
4305
  return i.destination = r, i.source = n, i;
@@ -4315,17 +4315,17 @@ var Po = $r(function(e) {
4315
4315
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4316
4316
  }, t.prototype._subscribe = function(r) {
4317
4317
  var n, i;
4318
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
4318
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
4319
4319
  }, t;
4320
- }(jr), kr = {
4320
+ }(Gr), jr = {
4321
4321
  now: function() {
4322
- return (kr.delegate || Date).now();
4322
+ return (jr.delegate || Date).now();
4323
4323
  },
4324
4324
  delegate: void 0
4325
- }, Mo = function(e) {
4326
- Pe(t, e);
4325
+ }, Oo = function(e) {
4326
+ Me(t, e);
4327
4327
  function t(r, n, i) {
4328
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
4328
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
4329
4329
  var o = e.call(this) || this;
4330
4330
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4331
4331
  }
@@ -4345,46 +4345,46 @@ var Po = $r(function(e) {
4345
4345
  u && o.splice(0, u + 1);
4346
4346
  }
4347
4347
  }, t;
4348
- }(jr);
4349
- const er = [], tr = {}, Oo = (e, t = 0) => {
4350
- if (er.indexOf(e) == -1) {
4351
- const r = new Mo(t);
4352
- tr[e] = r, er.push(e);
4348
+ }(Gr);
4349
+ const Kt = [], er = {}, Bo = (e, t = 0) => {
4350
+ if (Kt.indexOf(e) == -1) {
4351
+ const r = new Oo(t);
4352
+ er[e] = r, Kt.push(e);
4353
4353
  }
4354
- return tr[e];
4354
+ return er[e];
4355
4355
  };
4356
- let ke = "en-UK", Vr = "true", Ee = 2, xe = "";
4357
- const Bo = (e, t, r, n) => {
4358
- ke = e || "en-UK", Vr = t || "true", Ee = +n || 0, xe = r || "";
4359
- }, De = (e, t, r = {}, n = !0) => {
4356
+ let Ve = "en-UK", kr = "true", Ee = 2, xe = "";
4357
+ const Lo = (e, t, r, n) => {
4358
+ Ve = e || "en-UK", kr = t || "true", Ee = +n || 0, xe = r || "";
4359
+ }, $e = (e, t, r = {}, n = !0) => {
4360
4360
  const i = {
4361
4361
  maximumFractionDigits: Ee,
4362
4362
  minimumFractionDigits: Ee,
4363
4363
  ...n && {
4364
4364
  style: "currency",
4365
4365
  currency: t,
4366
- currencyDisplay: Vr === "true" ? "symbol" : "code"
4366
+ currencyDisplay: kr === "true" ? "symbol" : "code"
4367
4367
  },
4368
4368
  ...r
4369
4369
  };
4370
4370
  try {
4371
4371
  if (!xe)
4372
- return new Intl.NumberFormat(ke, i).format(e);
4373
- const s = new Intl.NumberFormat(ke, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, f) => (f.type === "currency" ? h.currencyPart = f : h.amountPart += f.value, h), { currencyPart: "", amountPart: "" });
4372
+ return new Intl.NumberFormat(Ve, i).format(e);
4373
+ const s = new Intl.NumberFormat(Ve, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, f) => (f.type === "currency" ? h.currencyPart = f : h.amountPart += f.value, h), { currencyPart: "", amountPart: "" });
4374
4374
  return xe === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
4375
4375
  } catch (o) {
4376
4376
  console.info(o);
4377
- const s = new Intl.NumberFormat(ke, {
4377
+ const s = new Intl.NumberFormat(Ve, {
4378
4378
  maximumFractionDigits: Ee,
4379
4379
  minimumFractionDigits: Ee
4380
4380
  }).format(e);
4381
4381
  return xe ? xe === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4382
4382
  }
4383
4383
  };
4384
- window.emWidgets = { topic: Oo };
4385
- const $e = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4384
+ window.emWidgets = { topic: Bo };
4385
+ const Ue = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4386
4386
  String(Number.MAX_SAFE_INTEGER).length;
4387
- const rr = {
4387
+ const tr = {
4388
4388
  en: {
4389
4389
  generalMin: "Min",
4390
4390
  generalMax: "Max",
@@ -4422,21 +4422,21 @@ const rr = {
4422
4422
  carouselSubtitle: "Les moyens de paiement les plus populaires"
4423
4423
  }
4424
4424
  };
4425
- function Lo(e) {
4426
- Jr(e, "svelte-1v34r4p", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
4425
+ function Io(e) {
4426
+ qr(e, "svelte-1tnzy1r", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%;width:inherit}.Carousel{display:flex;gap:var(--emw-cashier-card-gap, 10px);height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;z-index:1;padding:5px;height:115px;width:var(--emw-cashier-card-width, 78px);transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:var(--emw-cashier-card-width-active, 100px)}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
4427
4427
  }
4428
- function nr(e, t, r) {
4428
+ function rr(e, t, r) {
4429
4429
  const n = e.slice();
4430
- return n[40] = t[r], n[42] = r, n;
4430
+ return n[42] = t[r], n[44] = r, n;
4431
4431
  }
4432
- function ir(e, t, r) {
4432
+ function nr(e, t, r) {
4433
4433
  const n = e.slice();
4434
- return n[43] = t[r], n[42] = r, n;
4434
+ return n[45] = t[r], n[44] = r, n;
4435
4435
  }
4436
- function Io(e) {
4436
+ function No(e) {
4437
4437
  let t, r = (
4438
4438
  /*$_*/
4439
- e[8]("noFavoritePaymentMethods") + ""
4439
+ e[9]("noFavoritePaymentMethods") + ""
4440
4440
  ), n;
4441
4441
  return {
4442
4442
  c() {
@@ -4447,139 +4447,139 @@ function Io(e) {
4447
4447
  },
4448
4448
  p(i, o) {
4449
4449
  o[0] & /*$_*/
4450
- 256 && r !== (r = /*$_*/
4451
- i[8]("noFavoritePaymentMethods") + "") && V(n, r);
4450
+ 512 && r !== (r = /*$_*/
4451
+ i[9]("noFavoritePaymentMethods") + "") && X(n, r);
4452
4452
  },
4453
4453
  d(i) {
4454
4454
  i && $(t);
4455
4455
  }
4456
4456
  };
4457
4457
  }
4458
- function No(e) {
4459
- let t, r = !$e(
4458
+ function Ro(e) {
4459
+ let t, r = !Ue(
4460
4460
  /*userAgent*/
4461
- e[9]
4461
+ e[10]
4462
4462
  ) && /*promotedPaymentMethods*/
4463
- e[5].length > 1, n, i, o, s = !$e(
4463
+ e[5].length > 1, n, i, o, s = !Ue(
4464
4464
  /*userAgent*/
4465
- e[9]
4465
+ e[10]
4466
4466
  ) && /*promotedPaymentMethods*/
4467
- e[5].length > 1, a, l, u, h, f, c = r && or(e), g = Ie(
4467
+ e[5].length > 1, a, l, u, h, f, c = r && ir(e), g = Ne(
4468
4468
  /*promotedPaymentMethods*/
4469
4469
  e[5]
4470
- ), m = [];
4471
- for (let d = 0; d < g.length; d += 1)
4472
- m[d] = sr(ir(e, g, d));
4473
- let p = s && ar(e), E = Ie(Array(
4470
+ ), d = [];
4471
+ for (let b = 0; b < g.length; b += 1)
4472
+ d[b] = or(nr(e, g, b));
4473
+ let p = s && sr(e), E = Ne(Array(
4474
4474
  /*promotedPaymentMethods*/
4475
4475
  e[5].length
4476
4476
  )), T = [];
4477
- for (let d = 0; d < E.length; d += 1)
4478
- T[d] = ur(nr(e, E, d));
4477
+ for (let b = 0; b < E.length; b += 1)
4478
+ T[b] = ar(rr(e, E, b));
4479
4479
  return {
4480
4480
  c() {
4481
4481
  t = S("div"), c && c.c(), n = D(), i = S("div");
4482
- for (let d = 0; d < m.length; d += 1)
4483
- m[d].c();
4482
+ for (let b = 0; b < d.length; b += 1)
4483
+ d[b].c();
4484
4484
  o = D(), p && p.c(), l = D(), u = S("div");
4485
- for (let d = 0; d < T.length; d += 1)
4486
- T[d].c();
4485
+ for (let b = 0; b < T.length; b += 1)
4486
+ T[b].c();
4487
4487
  H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), We(() => (
4488
4488
  /*div1_elementresize_handler*/
4489
- e[28].call(t)
4489
+ e[30].call(t)
4490
4490
  )), H(u, "class", "VisualDotIndicator");
4491
4491
  },
4492
- m(d, v) {
4493
- k(d, t, v), c && c.m(t, null), _(t, n), _(t, i);
4494
- for (let y = 0; y < m.length; y += 1)
4495
- m[y] && m[y].m(i, null);
4496
- e[26](i), _(t, o), p && p.m(t, null), a = rn(
4492
+ m(b, v) {
4493
+ k(b, t, v), c && c.m(t, null), _(t, n), _(t, i);
4494
+ for (let y = 0; y < d.length; y += 1)
4495
+ d[y] && d[y].m(i, null);
4496
+ e[28](i), _(t, o), p && p.m(t, null), a = nn(
4497
4497
  t,
4498
4498
  /*div1_elementresize_handler*/
4499
- e[28].bind(t)
4500
- ), k(d, l, v), k(d, u, v);
4499
+ e[30].bind(t)
4500
+ ), k(b, l, v), k(b, u, v);
4501
4501
  for (let y = 0; y < T.length; y += 1)
4502
4502
  T[y] && T[y].m(u, null);
4503
4503
  h || (f = [
4504
- Z(
4504
+ Y(
4505
4505
  i,
4506
4506
  "touchstart",
4507
4507
  /*handleTouchStart*/
4508
- e[11]
4508
+ e[12]
4509
4509
  ),
4510
- Z(
4510
+ Y(
4511
4511
  i,
4512
4512
  "touchmove",
4513
4513
  /*handleTouchMove*/
4514
- e[12]
4514
+ e[13]
4515
4515
  ),
4516
- Z(
4516
+ Y(
4517
4517
  i,
4518
4518
  "touchend",
4519
4519
  /*handleTouchEnd*/
4520
- e[13]
4520
+ e[14]
4521
4521
  )
4522
4522
  ], h = !0);
4523
4523
  },
4524
- p(d, v) {
4524
+ p(b, v) {
4525
4525
  if (v[0] & /*promotedPaymentMethods*/
4526
- 32 && (r = !$e(
4526
+ 32 && (r = !Ue(
4527
4527
  /*userAgent*/
4528
- d[9]
4528
+ b[10]
4529
4529
  ) && /*promotedPaymentMethods*/
4530
- d[5].length > 1), r ? c ? c.p(d, v) : (c = or(d), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4531
- 1521) {
4532
- g = Ie(
4530
+ b[5].length > 1), r ? c ? c.p(b, v) : (c = ir(b), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v[0] & /*activeIndex, cardEl, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4531
+ 3057) {
4532
+ g = Ne(
4533
4533
  /*promotedPaymentMethods*/
4534
- d[5]
4534
+ b[5]
4535
4535
  );
4536
4536
  let y;
4537
4537
  for (y = 0; y < g.length; y += 1) {
4538
- const A = ir(d, g, y);
4539
- m[y] ? m[y].p(A, v) : (m[y] = sr(A), m[y].c(), m[y].m(i, null));
4538
+ const A = nr(b, g, y);
4539
+ d[y] ? d[y].p(A, v) : (d[y] = or(A), d[y].c(), d[y].m(i, null));
4540
4540
  }
4541
- for (; y < m.length; y += 1)
4542
- m[y].d(1);
4543
- m.length = g.length;
4541
+ for (; y < d.length; y += 1)
4542
+ d[y].d(1);
4543
+ d.length = g.length;
4544
4544
  }
4545
4545
  if (v[0] & /*promotedPaymentMethods*/
4546
- 32 && (s = !$e(
4546
+ 32 && (s = !Ue(
4547
4547
  /*userAgent*/
4548
- d[9]
4548
+ b[10]
4549
4549
  ) && /*promotedPaymentMethods*/
4550
- d[5].length > 1), s ? p ? p.p(d, v) : (p = ar(d), p.c(), p.m(t, null)) : p && (p.d(1), p = null), v[0] & /*activeIndex, promotedPaymentMethods*/
4550
+ b[5].length > 1), s ? p ? p.p(b, v) : (p = sr(b), p.c(), p.m(t, null)) : p && (p.d(1), p = null), v[0] & /*activeIndex, promotedPaymentMethods*/
4551
4551
  96) {
4552
- E = Ie(Array(
4552
+ E = Ne(Array(
4553
4553
  /*promotedPaymentMethods*/
4554
- d[5].length
4554
+ b[5].length
4555
4555
  ));
4556
4556
  let y;
4557
4557
  for (y = 0; y < E.length; y += 1) {
4558
- const A = nr(d, E, y);
4559
- T[y] ? T[y].p(A, v) : (T[y] = ur(A), T[y].c(), T[y].m(u, null));
4558
+ const A = rr(b, E, y);
4559
+ T[y] ? T[y].p(A, v) : (T[y] = ar(A), T[y].c(), T[y].m(u, null));
4560
4560
  }
4561
4561
  for (; y < T.length; y += 1)
4562
4562
  T[y].d(1);
4563
4563
  T.length = E.length;
4564
4564
  }
4565
4565
  },
4566
- d(d) {
4567
- d && ($(t), $(l), $(u)), c && c.d(), Bt(m, d), e[26](null), p && p.d(), a(), Bt(T, d), h = !1, pe(f);
4566
+ d(b) {
4567
+ b && ($(t), $(l), $(u)), c && c.d(), Ot(d, b), e[28](null), p && p.d(), a(), Ot(T, b), h = !1, fe(f);
4568
4568
  }
4569
4569
  };
4570
4570
  }
4571
- function or(e) {
4571
+ function ir(e) {
4572
4572
  let t, r, n;
4573
4573
  return {
4574
4574
  c() {
4575
4575
  t = S("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Left");
4576
4576
  },
4577
4577
  m(i, o) {
4578
- k(i, t, o), r || (n = Z(
4578
+ k(i, t, o), r || (n = Y(
4579
4579
  t,
4580
4580
  "click",
4581
4581
  /*click_handler*/
4582
- e[24]
4582
+ e[25]
4583
4583
  ), r = !0);
4584
4584
  },
4585
4585
  p: N,
@@ -4588,177 +4588,177 @@ function or(e) {
4588
4588
  }
4589
4589
  };
4590
4590
  }
4591
- function sr(e) {
4591
+ function or(e) {
4592
4592
  let t, r, n, i, o, s, a, l, u, h = (
4593
4593
  /*method*/
4594
- (e[43].Label || /*method*/
4595
- e[43].Name) + ""
4596
- ), f, c, g, m, p = (
4594
+ (e[45].Label || /*method*/
4595
+ e[45].Name) + ""
4596
+ ), f, c, g, d, p = (
4597
4597
  /*$_*/
4598
- e[8](`${/*methodtype*/
4598
+ e[9](`${/*methodtype*/
4599
4599
  e[0]}${/*method*/
4600
- e[43].ProcessingTime}`) + ""
4601
- ), E, T, d, v, y, A = (
4600
+ e[45].ProcessingTime}`) + ""
4601
+ ), E, T, b, v, y, A = (
4602
4602
  /*$_*/
4603
- e[8]("generalMin") + ""
4604
- ), L, M, U = De(
4603
+ e[9]("generalMin") + ""
4604
+ ), L, P, U = $e(
4605
4605
  /*method*/
4606
- e[43].DisplayCurrency.MinAmountLimit,
4606
+ e[45].DisplayCurrency.MinAmountLimit,
4607
4607
  /*method*/
4608
- e[43].DisplayCurrency.Name,
4608
+ e[45].DisplayCurrency.Name,
4609
4609
  {
4610
4610
  maximumFractionDigits: (
4611
4611
  /*precisionCurrenciesMap*/
4612
4612
  e[4][
4613
4613
  /*method*/
4614
- e[43]?.DisplayCurrency?.Name
4614
+ e[45]?.DisplayCurrency?.Name
4615
4615
  ] || /*numericCurrencyDecimals*/
4616
- e[7]
4616
+ e[8]
4617
4617
  ),
4618
4618
  minimumFractionDigits: (
4619
4619
  /*precisionCurrenciesMap*/
4620
4620
  e[4][
4621
4621
  /*method*/
4622
- e[43]?.DisplayCurrency?.Name
4622
+ e[45]?.DisplayCurrency?.Name
4623
4623
  ] || /*numericCurrencyDecimals*/
4624
- e[7]
4624
+ e[8]
4625
4625
  )
4626
4626
  }
4627
- ) + "", be, ge, Y, ee = (
4627
+ ) + "", V, Oe, Z, ee = (
4628
4628
  /*$_*/
4629
- e[8]("generalMax") + ""
4630
- ), te, X, re = De(
4629
+ e[9]("generalMax") + ""
4630
+ ), me, be, F = $e(
4631
4631
  /*method*/
4632
- e[43].DisplayCurrency.MaxAmountLimit,
4632
+ e[45].DisplayCurrency.MaxAmountLimit,
4633
4633
  /*method*/
4634
- e[43].DisplayCurrency.Name,
4634
+ e[45].DisplayCurrency.Name,
4635
4635
  {
4636
4636
  maximumFractionDigits: (
4637
4637
  /*precisionCurrenciesMap*/
4638
4638
  e[4][
4639
4639
  /*method*/
4640
- e[43]?.DisplayCurrency?.Name
4640
+ e[45]?.DisplayCurrency?.Name
4641
4641
  ] || /*numericCurrencyDecimals*/
4642
- e[7]
4642
+ e[8]
4643
4643
  ),
4644
4644
  minimumFractionDigits: (
4645
4645
  /*precisionCurrenciesMap*/
4646
4646
  e[4][
4647
4647
  /*method*/
4648
- e[43]?.DisplayCurrency?.Name
4648
+ e[45]?.DisplayCurrency?.Name
4649
4649
  ] || /*numericCurrencyDecimals*/
4650
- e[7]
4650
+ e[8]
4651
4651
  )
4652
4652
  }
4653
- ) + "", ye, Me, ne, J, Oe;
4653
+ ) + "", ge, Be, te, ye, re;
4654
4654
  function tt() {
4655
4655
  return (
4656
4656
  /*click_handler_1*/
4657
- e[25](
4657
+ e[26](
4658
4658
  /*method*/
4659
- e[43],
4659
+ e[45],
4660
4660
  /*index*/
4661
- e[42]
4661
+ e[44]
4662
4662
  )
4663
4663
  );
4664
4664
  }
4665
4665
  return {
4666
4666
  c() {
4667
- t = S("div"), r = S("div"), n = S("img"), s = D(), a = S("div"), l = S("div"), u = S("span"), f = G(h), c = D(), g = S("div"), m = S("span"), E = G(p), T = D(), d = S("div"), v = S("span"), y = S("span"), L = G(A), M = D(), be = G(U), ge = D(), Y = S("span"), te = G(ee), X = D(), ye = G(re), Me = D(), Ot(n.src, i = /*method*/
4668
- e[43].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
4669
- e[43].Label), H(r, "class", "MethodLogo"), H(l, "class", "MethodTitle"), H(g, "class", "MethodProcessingTime"), H(v, "class", "Limits"), H(d, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", ne = `CarouselCardWrapper ${/*index*/
4670
- e[42] === /*activeIndex*/
4667
+ t = S("div"), r = S("div"), n = S("img"), s = D(), a = S("div"), l = S("div"), u = S("span"), f = G(h), c = D(), g = S("div"), d = S("span"), E = G(p), T = D(), b = S("div"), v = S("span"), y = S("span"), L = G(A), P = D(), V = G(U), Oe = D(), Z = S("span"), me = G(ee), be = D(), ge = G(F), Be = D(), Mt(n.src, i = /*method*/
4668
+ e[45].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
4669
+ e[45].Label), H(r, "class", "MethodLogo"), H(l, "class", "MethodTitle"), H(g, "class", "MethodProcessingTime"), H(v, "class", "Limits"), H(b, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", te = `CarouselCardWrapper ${/*index*/
4670
+ e[44] === /*activeIndex*/
4671
4671
  e[6] ? "active" : ""}`);
4672
4672
  },
4673
4673
  m(q, I) {
4674
- k(q, t, I), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, m), _(m, E), _(a, T), _(a, d), _(d, v), _(v, y), _(y, L), _(y, M), _(y, be), _(v, ge), _(v, Y), _(Y, te), _(Y, X), _(Y, ye), _(t, Me), J || (Oe = Z(t, "click", tt), J = !0);
4674
+ k(q, t, I), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, d), _(d, E), _(a, T), _(a, b), _(b, v), _(v, y), _(y, L), _(y, P), _(y, V), _(v, Oe), _(v, Z), _(Z, me), _(Z, be), _(Z, ge), _(t, Be), e[27](t), ye || (re = Y(t, "click", tt), ye = !0);
4675
4675
  },
4676
4676
  p(q, I) {
4677
4677
  e = q, I[0] & /*promotedPaymentMethods*/
4678
- 32 && !Ot(n.src, i = /*method*/
4679
- e[43].LogoUrl) && H(n, "src", i), I[0] & /*promotedPaymentMethods*/
4678
+ 32 && !Mt(n.src, i = /*method*/
4679
+ e[45].LogoUrl) && H(n, "src", i), I[0] & /*promotedPaymentMethods*/
4680
4680
  32 && o !== (o = /*method*/
4681
- e[43].Label) && H(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4681
+ e[45].Label) && H(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4682
4682
  32 && h !== (h = /*method*/
4683
- (e[43].Label || /*method*/
4684
- e[43].Name) + "") && V(f, h), I[0] & /*$_, methodtype, promotedPaymentMethods*/
4685
- 289 && p !== (p = /*$_*/
4686
- e[8](`${/*methodtype*/
4683
+ (e[45].Label || /*method*/
4684
+ e[45].Name) + "") && X(f, h), I[0] & /*$_, methodtype, promotedPaymentMethods*/
4685
+ 545 && p !== (p = /*$_*/
4686
+ e[9](`${/*methodtype*/
4687
4687
  e[0]}${/*method*/
4688
- e[43].ProcessingTime}`) + "") && V(E, p), I[0] & /*$_*/
4689
- 256 && A !== (A = /*$_*/
4690
- e[8]("generalMin") + "") && V(L, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4691
- 176 && U !== (U = De(
4688
+ e[45].ProcessingTime}`) + "") && X(E, p), I[0] & /*$_*/
4689
+ 512 && A !== (A = /*$_*/
4690
+ e[9]("generalMin") + "") && X(L, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4691
+ 304 && U !== (U = $e(
4692
4692
  /*method*/
4693
- e[43].DisplayCurrency.MinAmountLimit,
4693
+ e[45].DisplayCurrency.MinAmountLimit,
4694
4694
  /*method*/
4695
- e[43].DisplayCurrency.Name,
4695
+ e[45].DisplayCurrency.Name,
4696
4696
  {
4697
4697
  maximumFractionDigits: (
4698
4698
  /*precisionCurrenciesMap*/
4699
4699
  e[4][
4700
4700
  /*method*/
4701
- e[43]?.DisplayCurrency?.Name
4701
+ e[45]?.DisplayCurrency?.Name
4702
4702
  ] || /*numericCurrencyDecimals*/
4703
- e[7]
4703
+ e[8]
4704
4704
  ),
4705
4705
  minimumFractionDigits: (
4706
4706
  /*precisionCurrenciesMap*/
4707
4707
  e[4][
4708
4708
  /*method*/
4709
- e[43]?.DisplayCurrency?.Name
4709
+ e[45]?.DisplayCurrency?.Name
4710
4710
  ] || /*numericCurrencyDecimals*/
4711
- e[7]
4711
+ e[8]
4712
4712
  )
4713
4713
  }
4714
- ) + "") && V(be, U), I[0] & /*$_*/
4715
- 256 && ee !== (ee = /*$_*/
4716
- e[8]("generalMax") + "") && V(te, ee), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4717
- 176 && re !== (re = De(
4714
+ ) + "") && X(V, U), I[0] & /*$_*/
4715
+ 512 && ee !== (ee = /*$_*/
4716
+ e[9]("generalMax") + "") && X(me, ee), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4717
+ 304 && F !== (F = $e(
4718
4718
  /*method*/
4719
- e[43].DisplayCurrency.MaxAmountLimit,
4719
+ e[45].DisplayCurrency.MaxAmountLimit,
4720
4720
  /*method*/
4721
- e[43].DisplayCurrency.Name,
4721
+ e[45].DisplayCurrency.Name,
4722
4722
  {
4723
4723
  maximumFractionDigits: (
4724
4724
  /*precisionCurrenciesMap*/
4725
4725
  e[4][
4726
4726
  /*method*/
4727
- e[43]?.DisplayCurrency?.Name
4727
+ e[45]?.DisplayCurrency?.Name
4728
4728
  ] || /*numericCurrencyDecimals*/
4729
- e[7]
4729
+ e[8]
4730
4730
  ),
4731
4731
  minimumFractionDigits: (
4732
4732
  /*precisionCurrenciesMap*/
4733
4733
  e[4][
4734
4734
  /*method*/
4735
- e[43]?.DisplayCurrency?.Name
4735
+ e[45]?.DisplayCurrency?.Name
4736
4736
  ] || /*numericCurrencyDecimals*/
4737
- e[7]
4737
+ e[8]
4738
4738
  )
4739
4739
  }
4740
- ) + "") && V(ye, re), I[0] & /*activeIndex*/
4741
- 64 && ne !== (ne = `CarouselCardWrapper ${/*index*/
4742
- e[42] === /*activeIndex*/
4743
- e[6] ? "active" : ""}`) && H(t, "class", ne);
4740
+ ) + "") && X(ge, F), I[0] & /*activeIndex*/
4741
+ 64 && te !== (te = `CarouselCardWrapper ${/*index*/
4742
+ e[44] === /*activeIndex*/
4743
+ e[6] ? "active" : ""}`) && H(t, "class", te);
4744
4744
  },
4745
4745
  d(q) {
4746
- q && $(t), J = !1, Oe();
4746
+ q && $(t), e[27](null), ye = !1, re();
4747
4747
  }
4748
4748
  };
4749
4749
  }
4750
- function ar(e) {
4750
+ function sr(e) {
4751
4751
  let t, r, n;
4752
4752
  return {
4753
4753
  c() {
4754
4754
  t = S("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Right");
4755
4755
  },
4756
4756
  m(i, o) {
4757
- k(i, t, o), r || (n = Z(
4757
+ k(i, t, o), r || (n = Y(
4758
4758
  t,
4759
4759
  "click",
4760
4760
  /*click_handler_2*/
4761
- e[27]
4761
+ e[29]
4762
4762
  ), r = !0);
4763
4763
  },
4764
4764
  p: N,
@@ -4767,12 +4767,12 @@ function ar(e) {
4767
4767
  }
4768
4768
  };
4769
4769
  }
4770
- function ur(e) {
4770
+ function ar(e) {
4771
4771
  let t, r;
4772
4772
  return {
4773
4773
  c() {
4774
4774
  t = S("div"), H(t, "class", r = `Dot ${/*index*/
4775
- e[42] === /*activeIndex*/
4775
+ e[44] === /*activeIndex*/
4776
4776
  e[6] ? "active" : ""}`);
4777
4777
  },
4778
4778
  m(n, i) {
@@ -4781,7 +4781,7 @@ function ur(e) {
4781
4781
  p(n, i) {
4782
4782
  i[0] & /*activeIndex*/
4783
4783
  64 && r !== (r = `Dot ${/*index*/
4784
- n[42] === /*activeIndex*/
4784
+ n[44] === /*activeIndex*/
4785
4785
  n[6] ? "active" : ""}`) && H(t, "class", r);
4786
4786
  },
4787
4787
  d(n) {
@@ -4789,156 +4789,156 @@ function ur(e) {
4789
4789
  }
4790
4790
  };
4791
4791
  }
4792
- function Ro(e) {
4792
+ function Do(e) {
4793
4793
  let t, r, n, i, o = (
4794
4794
  /*$_*/
4795
- e[8]("carouselTitle") + ""
4795
+ e[9]("carouselTitle") + ""
4796
4796
  ), s, a, l, u = (
4797
4797
  /*$_*/
4798
- e[8]("carouselSubtitle") + ""
4798
+ e[9]("carouselSubtitle") + ""
4799
4799
  ), h, f;
4800
4800
  function c(p, E) {
4801
4801
  return (
4802
4802
  /*promotedPaymentMethods*/
4803
- p[5].length > 0 ? No : Io
4803
+ p[5].length > 0 ? Ro : No
4804
4804
  );
4805
4805
  }
4806
- let g = c(e), m = g(e);
4806
+ let g = c(e), d = g(e);
4807
4807
  return {
4808
4808
  c() {
4809
- t = S("div"), r = S("div"), n = S("div"), i = S("h4"), s = G(o), a = D(), l = S("p"), h = G(u), f = D(), m.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
4809
+ t = S("div"), r = S("div"), n = S("div"), i = S("h4"), s = G(o), a = D(), l = S("p"), h = G(u), f = D(), d.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
4810
4810
  },
4811
4811
  m(p, E) {
4812
- k(p, t, E), _(t, r), _(r, n), _(n, i), _(i, s), _(n, a), _(n, l), _(l, h), _(r, f), m.m(r, null), e[29](t);
4812
+ k(p, t, E), _(t, r), _(r, n), _(n, i), _(i, s), _(n, a), _(n, l), _(l, h), _(r, f), d.m(r, null), e[31](t);
4813
4813
  },
4814
4814
  p(p, E) {
4815
4815
  E[0] & /*$_*/
4816
- 256 && o !== (o = /*$_*/
4817
- p[8]("carouselTitle") + "") && V(s, o), E[0] & /*$_*/
4818
- 256 && u !== (u = /*$_*/
4819
- p[8]("carouselSubtitle") + "") && V(h, u), g === (g = c(p)) && m ? m.p(p, E) : (m.d(1), m = g(p), m && (m.c(), m.m(r, null)));
4816
+ 512 && o !== (o = /*$_*/
4817
+ p[9]("carouselTitle") + "") && X(s, o), E[0] & /*$_*/
4818
+ 512 && u !== (u = /*$_*/
4819
+ p[9]("carouselSubtitle") + "") && X(h, u), g === (g = c(p)) && d ? d.p(p, E) : (d.d(1), d = g(p), d && (d.c(), d.m(r, null)));
4820
4820
  },
4821
4821
  i: N,
4822
4822
  o: N,
4823
4823
  d(p) {
4824
- p && $(t), m.d(), e[29](null);
4824
+ p && $(t), d.d(), e[31](null);
4825
4825
  }
4826
4826
  };
4827
4827
  }
4828
- function Do(e, t, r) {
4828
+ function $o(e, t, r) {
4829
4829
  let n, i;
4830
- Yr(e, ho, (b) => r(8, i = b));
4831
- let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: m = "" } = t, p = {}, E, T, d = [], v = 0, y = !0, A = 0, L = !1, M, U, be = window.navigator.userAgent;
4832
- const ge = (b) => {
4833
- const { data: { type: O } = {} } = b || {};
4830
+ Jr(e, co, (m) => r(9, i = m));
4831
+ let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: d = "" } = t, p = {}, E, T, b = [], v = 0, y = !0, A = 0, L = !1, P, U, V, Oe = window.navigator.userAgent;
4832
+ const Z = (m) => {
4833
+ const { data: { type: O } = {} } = m || {};
4834
4834
  switch (O) {
4835
4835
  case "PromotedPaymentMethods": {
4836
- r(5, d = b?.data?.promotedPaymentMethods), r(6, v = Math.floor((d.length - 1) / 2));
4836
+ r(5, b = m?.data?.promotedPaymentMethods), r(6, v = Math.floor((b.length - 1) / 2));
4837
4837
  break;
4838
4838
  }
4839
4839
  case "PrecisionCurrenciesMap": {
4840
- r(4, p = b?.data?.payload || {});
4840
+ r(4, p = m?.data?.payload || {});
4841
4841
  break;
4842
4842
  }
4843
4843
  }
4844
4844
  };
4845
- Object.keys(rr).forEach((b) => {
4846
- Zt(b, rr[b]);
4845
+ Object.keys(tr).forEach((m) => {
4846
+ zt(m, tr[m]);
4847
4847
  });
4848
- const Y = () => {
4849
- let b = m;
4850
- if (b)
4851
- return fetch(b).then((O) => O.json()).then((O) => {
4852
- Object.keys(O).forEach((F) => {
4853
- Zt(F, O[F]);
4848
+ const ee = () => {
4849
+ let m = d;
4850
+ if (m)
4851
+ return fetch(m).then((O) => O.json()).then((O) => {
4852
+ Object.keys(O).forEach((W) => {
4853
+ zt(W, O[W]);
4854
4854
  });
4855
4855
  }).catch((O) => {
4856
4856
  console.log(O);
4857
4857
  });
4858
- }, ee = () => {
4859
- co(o);
4860
- }, te = (b, O) => {
4861
- r(6, v = O), r(2, M.style.transform = X(), M), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
4858
+ }, me = () => {
4859
+ fo(o);
4860
+ }, be = (m, O) => {
4861
+ r(6, v = O), r(2, P.style.transform = F(), P), m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4862
4862
  "selectPayMeth",
4863
4863
  {
4864
- detail: b,
4864
+ detail: m,
4865
4865
  bubbles: !0,
4866
4866
  cancelable: !0,
4867
4867
  composed: !0
4868
4868
  }
4869
4869
  ));
4870
- }, X = () => {
4871
- if (d.length == 1)
4872
- return "translateX(0px)";
4873
- const F = 78 + 5, Pt = F * d.length;
4874
- let rt;
4875
- d.length % 2 === 1 ? rt = Math.floor(d.length / 2) : rt = Math.floor(d.length / 2) - 0.5;
4876
- let zr = U - Pt;
4877
- const Zr = rt - v;
4878
- return `translateX(${zr / 2 + Zr * F - 20}px)`;
4879
- }, re = (b) => {
4880
- A = b.touches[0].clientX, L = !0, M.classList.add("dragging");
4881
- }, ye = (b) => {
4870
+ }, F = () => {
4871
+ const m = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width")) || 78, O = parseFloat(getComputedStyle(P).getPropertyValue("--emw-cashier-card-gap")) || 10, W = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width-active")) || 100, At = m + O, Zr = U / 2, Qr = v * At + W / 2;
4872
+ return `translateX(${Zr - Qr}px)`;
4873
+ }, ge = (m) => {
4874
+ A = m.touches[0].clientX, L = !0, P.classList.add("dragging");
4875
+ }, Be = (m) => {
4882
4876
  if (!L)
4883
4877
  return;
4884
- const O = b.touches[0].clientX;
4885
- Math.abs(O - A) > 10 && b.preventDefault();
4886
- }, Me = (b) => {
4878
+ const O = m.touches[0].clientX;
4879
+ Math.abs(O - A) > 10 && m.preventDefault();
4880
+ }, te = (m) => {
4887
4881
  if (!L)
4888
4882
  return;
4889
- L = !1, M.classList.remove("dragging");
4890
- const O = b.changedTouches[0].clientX, F = A - O;
4891
- Math.abs(F) > 50 && (F > 0 && v < d.length - 1 ? r(6, v++, v) : F < 0 && v > 0 && r(6, v--, v), r(2, M.style.transform = X(), M));
4892
- }, ne = () => {
4893
- y && (r(2, M.style.transform = X(), M), y = !1);
4894
- }, J = (b) => {
4895
- b === "next" && v < d.length - 1 ? r(6, v++, v) : b === "prev" && v > 0 && r(6, v--, v), r(2, M.style.transform = X(), M);
4883
+ L = !1, P.classList.remove("dragging");
4884
+ const O = m.changedTouches[0].clientX, W = A - O;
4885
+ Math.abs(W) > 50 && (W > 0 && v < b.length - 1 ? r(6, v++, v) : W < 0 && v > 0 && r(6, v--, v), r(2, P.style.transform = F(), P));
4886
+ }, ye = () => {
4887
+ y && (r(2, P.style.transform = F(), P), y = !1);
4888
+ }, re = (m) => {
4889
+ m === "next" && v < b.length - 1 ? r(6, v++, v) : m === "prev" && v > 0 && r(6, v--, v), r(2, P.style.transform = F(), P);
4896
4890
  };
4897
- sn(() => (Bo(s, a, l, u), window.addEventListener("message", ge), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), M && X(), () => {
4898
- window.removeEventListener("message", ge);
4891
+ an(() => (Lo(s, a, l, u), window.addEventListener("message", Z), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), P && F(), () => {
4892
+ window.removeEventListener("message", Z);
4899
4893
  }));
4900
- const Oe = () => J("prev"), tt = (b, O) => te(b, O);
4901
- function q(b) {
4902
- Ve[b ? "unshift" : "push"](() => {
4903
- M = b, r(2, M);
4894
+ const tt = () => re("prev"), q = (m, O) => be(m, O);
4895
+ function I(m) {
4896
+ Se[m ? "unshift" : "push"](() => {
4897
+ V = m, r(7, V);
4898
+ });
4899
+ }
4900
+ function Vr(m) {
4901
+ Se[m ? "unshift" : "push"](() => {
4902
+ P = m, r(2, P);
4904
4903
  });
4905
4904
  }
4906
- const I = () => J("next");
4907
- function Wr() {
4905
+ const Wr = () => re("next");
4906
+ function Xr() {
4908
4907
  U = this.clientWidth, r(3, U);
4909
4908
  }
4910
- function Xr(b) {
4911
- Ve[b ? "unshift" : "push"](() => {
4912
- E = b, r(1, E);
4909
+ function zr(m) {
4910
+ Se[m ? "unshift" : "push"](() => {
4911
+ E = m, r(1, E);
4913
4912
  });
4914
4913
  }
4915
- return e.$$set = (b) => {
4916
- "lang" in b && r(15, o = b.lang), "local" in b && r(16, s = b.local), "currencysymbol" in b && r(17, a = b.currencysymbol), "currencyposition" in b && r(18, l = b.currencyposition), "currencydecimals" in b && r(19, u = b.currencydecimals), "methodtype" in b && r(0, h = b.methodtype), "clientstyling" in b && r(20, f = b.clientstyling), "clientstylingurl" in b && r(21, c = b.clientstylingurl), "mbsource" in b && r(22, g = b.mbsource), "translationurl" in b && r(23, m = b.translationurl);
4914
+ return e.$$set = (m) => {
4915
+ "lang" in m && r(16, o = m.lang), "local" in m && r(17, s = m.local), "currencysymbol" in m && r(18, a = m.currencysymbol), "currencyposition" in m && r(19, l = m.currencyposition), "currencydecimals" in m && r(20, u = m.currencydecimals), "methodtype" in m && r(0, h = m.methodtype), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, c = m.clientstylingurl), "mbsource" in m && r(23, g = m.mbsource), "translationurl" in m && r(24, d = m.translationurl);
4917
4916
  }, e.$$.update = () => {
4918
4917
  e.$$.dirty[0] & /*lang*/
4919
- 32768 && o && ee(), e.$$.dirty[0] & /*lang, translationurl*/
4920
- 8421376 && o && m && Y(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4921
- 12 && M && U && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4922
- 1048578 && f && E && fo(E, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4923
- 2097154 && c && E && po(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4924
- 4194306 && g && E && mo(E, `${g}.Style`, T), e.$$.dirty[0] & /*currencydecimals*/
4925
- 524288 && r(7, n = Number(u));
4918
+ 65536 && o && me(), e.$$.dirty[0] & /*lang, translationurl*/
4919
+ 16842752 && o && d && ee(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4920
+ 12 && P && U && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4921
+ 2097154 && f && E && po(E, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4922
+ 4194306 && c && E && mo(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4923
+ 8388610 && g && E && bo(E, `${g}.Style`, T), e.$$.dirty[0] & /*currencydecimals*/
4924
+ 1048576 && r(8, n = Number(u));
4926
4925
  }, [
4927
4926
  h,
4928
4927
  E,
4929
- M,
4928
+ P,
4930
4929
  U,
4931
4930
  p,
4932
- d,
4931
+ b,
4933
4932
  v,
4933
+ V,
4934
4934
  n,
4935
4935
  i,
4936
+ Oe,
4936
4937
  be,
4938
+ ge,
4939
+ Be,
4937
4940
  te,
4938
4941
  re,
4939
- ye,
4940
- Me,
4941
- J,
4942
4942
  o,
4943
4943
  s,
4944
4944
  a,
@@ -4947,65 +4947,66 @@ function Do(e, t, r) {
4947
4947
  f,
4948
4948
  c,
4949
4949
  g,
4950
- m,
4951
- Oe,
4950
+ d,
4952
4951
  tt,
4953
4952
  q,
4954
4953
  I,
4954
+ Vr,
4955
4955
  Wr,
4956
- Xr
4956
+ Xr,
4957
+ zr
4957
4958
  ];
4958
4959
  }
4959
- class $o extends yn {
4960
+ class Uo extends vn {
4960
4961
  constructor(t) {
4961
- super(), bn(
4962
+ super(), gn(
4962
4963
  this,
4963
4964
  t,
4965
+ $o,
4964
4966
  Do,
4965
- Ro,
4966
- hr,
4967
+ lr,
4967
4968
  {
4968
- lang: 15,
4969
- local: 16,
4970
- currencysymbol: 17,
4971
- currencyposition: 18,
4972
- currencydecimals: 19,
4969
+ lang: 16,
4970
+ local: 17,
4971
+ currencysymbol: 18,
4972
+ currencyposition: 19,
4973
+ currencydecimals: 20,
4973
4974
  methodtype: 0,
4974
- clientstyling: 20,
4975
- clientstylingurl: 21,
4976
- mbsource: 22,
4977
- translationurl: 23
4975
+ clientstyling: 21,
4976
+ clientstylingurl: 22,
4977
+ mbsource: 23,
4978
+ translationurl: 24
4978
4979
  },
4979
- Lo,
4980
+ Io,
4980
4981
  [-1, -1]
4981
4982
  );
4982
4983
  }
4983
4984
  get lang() {
4984
- return this.$$.ctx[15];
4985
+ return this.$$.ctx[16];
4985
4986
  }
4986
4987
  set lang(t) {
4987
4988
  this.$$set({ lang: t }), R();
4988
4989
  }
4989
4990
  get local() {
4990
- return this.$$.ctx[16];
4991
+ return this.$$.ctx[17];
4991
4992
  }
4992
4993
  set local(t) {
4993
4994
  this.$$set({ local: t }), R();
4994
4995
  }
4995
4996
  get currencysymbol() {
4996
- return this.$$.ctx[17];
4997
+ return this.$$.ctx[18];
4997
4998
  }
4998
4999
  set currencysymbol(t) {
4999
5000
  this.$$set({ currencysymbol: t }), R();
5000
5001
  }
5001
5002
  get currencyposition() {
5002
- return this.$$.ctx[18];
5003
+ return this.$$.ctx[19];
5003
5004
  }
5004
5005
  set currencyposition(t) {
5005
5006
  this.$$set({ currencyposition: t }), R();
5006
5007
  }
5007
5008
  get currencydecimals() {
5008
- return this.$$.ctx[19];
5009
+ return this.$$.ctx[20];
5009
5010
  }
5010
5011
  set currencydecimals(t) {
5011
5012
  this.$$set({ currencydecimals: t }), R();
@@ -5017,31 +5018,31 @@ class $o extends yn {
5017
5018
  this.$$set({ methodtype: t }), R();
5018
5019
  }
5019
5020
  get clientstyling() {
5020
- return this.$$.ctx[20];
5021
+ return this.$$.ctx[21];
5021
5022
  }
5022
5023
  set clientstyling(t) {
5023
5024
  this.$$set({ clientstyling: t }), R();
5024
5025
  }
5025
5026
  get clientstylingurl() {
5026
- return this.$$.ctx[21];
5027
+ return this.$$.ctx[22];
5027
5028
  }
5028
5029
  set clientstylingurl(t) {
5029
5030
  this.$$set({ clientstylingurl: t }), R();
5030
5031
  }
5031
5032
  get mbsource() {
5032
- return this.$$.ctx[22];
5033
+ return this.$$.ctx[23];
5033
5034
  }
5034
5035
  set mbsource(t) {
5035
5036
  this.$$set({ mbsource: t }), R();
5036
5037
  }
5037
5038
  get translationurl() {
5038
- return this.$$.ctx[23];
5039
+ return this.$$.ctx[24];
5039
5040
  }
5040
5041
  set translationurl(t) {
5041
5042
  this.$$set({ translationurl: t }), R();
5042
5043
  }
5043
5044
  }
5044
- gn($o, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5045
+ yn(Uo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5045
5046
  export {
5046
- $o as C
5047
+ Uo as C
5047
5048
  };