@everymatrix/cashier-carousel 1.87.26 → 1.87.27

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,50 +1,50 @@
1
- function L() {
1
+ function N() {
2
2
  }
3
- function ur(e) {
3
+ function lr(e) {
4
4
  return e();
5
5
  }
6
- function Pt() {
6
+ function Mt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ce(e) {
10
- e.forEach(ur);
9
+ function pe(e) {
10
+ e.forEach(lr);
11
11
  }
12
- function Tt(e) {
12
+ function Ct(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function lr(e, t) {
15
+ function hr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Oe;
19
- function Mt(e, t) {
20
- return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
18
+ let Be;
19
+ function Ot(e, t) {
20
+ return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
21
21
  }
22
- function zr(e) {
22
+ function Qr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function hr(e, ...t) {
25
+ function cr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return L;
29
+ return N;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Zr(e, t, r) {
35
- e.$$.on_destroy.push(hr(t, r));
34
+ function Yr(e, t, r) {
35
+ e.$$.on_destroy.push(cr(t, r));
36
36
  }
37
- function v(e, t) {
37
+ function _(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Qr(e, t, r) {
41
- const n = Jr(e);
40
+ function Jr(e, t, r) {
41
+ const n = qr(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = T("style");
44
- i.id = t, i.textContent = r, Yr(n, i);
43
+ const i = S("style");
44
+ i.id = t, i.textContent = r, Kr(n, i);
45
45
  }
46
46
  }
47
- function Jr(e) {
47
+ function qr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,65 +54,65 @@ function Jr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Yr(e, t) {
58
- return v(
57
+ function Kr(e, t) {
58
+ return _(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function j(e, t, r) {
64
+ function k(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function D(e) {
67
+ function $(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Ot(e, t) {
70
+ function Bt(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function T(e) {
74
+ function S(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function F(e) {
77
+ function G(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function R() {
81
- return F(" ");
80
+ function D() {
81
+ return G(" ");
82
82
  }
83
83
  function Z(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function P(e, t, r) {
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 qr(e) {
89
+ function en(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
92
  function V(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- let Be;
97
- function Kr() {
98
- if (Be === void 0) {
99
- Be = !1;
96
+ let Le;
97
+ function tn() {
98
+ if (Le === void 0) {
99
+ Le = !1;
100
100
  try {
101
101
  typeof window < "u" && window.parent && window.parent.document;
102
102
  } catch {
103
- Be = !0;
103
+ Le = !0;
104
104
  }
105
105
  }
106
- return Be;
106
+ return Le;
107
107
  }
108
- function en(e, t) {
108
+ function rn(e, t) {
109
109
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
110
- const n = T("iframe");
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 = Kr();
115
+ const i = tn();
116
116
  let o;
117
117
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
118
118
  window,
@@ -123,11 +123,11 @@ function en(e, t) {
123
123
  }
124
124
  )) : (n.src = "about:blank", n.onload = () => {
125
125
  o = Z(n.contentWindow, "resize", t), t();
126
- }), v(e, n), () => {
127
- (i || o && n.contentWindow) && o(), D(n);
126
+ }), _(e, n), () => {
127
+ (i || o && n.contentWindow) && o(), $(n);
128
128
  };
129
129
  }
130
- function tn(e) {
130
+ function nn(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,98 +136,98 @@ function tn(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let Ee;
140
- function _e(e) {
141
- Ee = e;
139
+ let Se;
140
+ function we(e) {
141
+ Se = e;
142
142
  }
143
- function rn() {
144
- if (!Ee)
143
+ function on() {
144
+ if (!Se)
145
145
  throw new Error("Function called outside component initialization");
146
- return Ee;
146
+ return Se;
147
147
  }
148
- function nn(e) {
149
- rn().$$.on_mount.push(e);
148
+ function sn(e) {
149
+ on().$$.on_mount.push(e);
150
150
  }
151
- const oe = [], ke = [];
152
- let se = [];
153
- const Bt = [], on = /* @__PURE__ */ Promise.resolve();
154
- let ht = !1;
155
- function sn() {
156
- ht || (ht = !0, on.then(N));
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));
157
157
  }
158
- function Ve(e) {
159
- se.push(e);
158
+ function We(e) {
159
+ ue.push(e);
160
160
  }
161
- const rt = /* @__PURE__ */ new Set();
162
- let ne = 0;
163
- function N() {
164
- if (ne !== 0)
161
+ const nt = /* @__PURE__ */ new Set();
162
+ let ie = 0;
163
+ function R() {
164
+ if (ie !== 0)
165
165
  return;
166
- const e = Ee;
166
+ const e = Se;
167
167
  do {
168
168
  try {
169
- for (; ne < oe.length; ) {
170
- const t = oe[ne];
171
- ne++, _e(t), an(t.$$);
169
+ for (; ie < se.length; ) {
170
+ const t = se[ie];
171
+ ie++, we(t), ln(t.$$);
172
172
  }
173
173
  } catch (t) {
174
- throw oe.length = 0, ne = 0, t;
174
+ throw se.length = 0, ie = 0, t;
175
175
  }
176
- for (_e(null), oe.length = 0, ne = 0; ke.length; )
177
- ke.pop()();
178
- for (let t = 0; t < se.length; t += 1) {
179
- const r = se[t];
180
- rt.has(r) || (rt.add(r), r());
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());
181
181
  }
182
- se.length = 0;
183
- } while (oe.length);
184
- for (; Bt.length; )
185
- Bt.pop()();
186
- ht = !1, rt.clear(), _e(e);
182
+ ue.length = 0;
183
+ } while (se.length);
184
+ for (; Lt.length; )
185
+ Lt.pop()();
186
+ ct = !1, nt.clear(), we(e);
187
187
  }
188
- function an(e) {
188
+ function ln(e) {
189
189
  if (e.fragment !== null) {
190
- e.update(), ce(e.before_update);
190
+ e.update(), pe(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
193
193
  }
194
194
  }
195
- function un(e) {
195
+ function hn(e) {
196
196
  const t = [], r = [];
197
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
197
+ ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
198
198
  }
199
- const ln = /* @__PURE__ */ new Set();
200
- function hn(e, t) {
201
- e && e.i && (ln.delete(e), e.i(t));
199
+ const cn = /* @__PURE__ */ new Set();
200
+ function fn(e, t) {
201
+ e && e.i && (cn.delete(e), e.i(t));
202
202
  }
203
203
  function Ie(e) {
204
204
  return e?.length !== void 0 ? e : Array.from(e);
205
205
  }
206
- function cn(e, t, r) {
206
+ function pn(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Ve(() => {
209
- const o = e.$$.on_mount.map(ur).filter(Tt);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
211
- }), i.forEach(Ve);
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 = [];
211
+ }), i.forEach(We);
212
212
  }
213
- function fn(e, t) {
213
+ function dn(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (un(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
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 = []);
216
216
  }
217
- function pn(e, t) {
218
- e.$$.dirty[0] === -1 && (oe.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
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;
219
219
  }
220
- function mn(e, t, r, n, i, o, s = null, a = [-1]) {
221
- const l = Ee;
222
- _e(e);
220
+ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
221
+ const l = Se;
222
+ we(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
226
226
  // state
227
227
  props: o,
228
- update: L,
228
+ update: N,
229
229
  not_equal: i,
230
- bound: Pt(),
230
+ bound: Mt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,7 +236,7 @@ function mn(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: Pt(),
239
+ callbacks: Mt(),
240
240
  dirty: a,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
@@ -244,20 +244,20 @@ function mn(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 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 && pn(e, f)), c;
249
- }) : [], u.update(), h = !0, ce(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
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) {
250
250
  if (t.hydrate) {
251
- const f = qr(t.target);
252
- u.fragment && u.fragment.l(f), f.forEach(D);
251
+ const f = en(t.target);
252
+ u.fragment && u.fragment.l(f), f.forEach($);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && hn(e.$$.fragment), cn(e, t.target, t.anchor), N();
255
+ t.intro && fn(e.$$.fragment), pn(e, t.target, t.anchor), R();
256
256
  }
257
- _e(l);
257
+ we(l);
258
258
  }
259
- let cr;
260
- typeof HTMLElement == "function" && (cr = class extends HTMLElement {
259
+ let fr;
260
+ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
261
261
  /** The Svelte component constructor */
262
262
  $$ctor;
263
263
  /** Slots */
@@ -299,29 +299,29 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
299
299
  let o;
300
300
  return {
301
301
  c: function() {
302
- o = T("slot"), i !== "default" && P(o, "name", i);
302
+ o = S("slot"), i !== "default" && H(o, "name", i);
303
303
  },
304
304
  /**
305
305
  * @param {HTMLElement} target
306
306
  * @param {HTMLElement} [anchor]
307
307
  */
308
308
  m: function(l, u) {
309
- j(l, o, u);
309
+ k(l, o, u);
310
310
  },
311
311
  d: function(l) {
312
- l && D(o);
312
+ l && $(o);
313
313
  }
314
314
  };
315
315
  };
316
316
  };
317
317
  if (await Promise.resolve(), !this.$$cn || this.$$c)
318
318
  return;
319
- const t = {}, r = tn(this);
319
+ const t = {}, r = nn(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] = $e(o, i.value, this.$$p_d, "toProp"));
324
+ o in this.$$d || (this.$$d[o] = Ue(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" && (cr = 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 = $e(
342
+ const o = Ue(
343
343
  i,
344
344
  this.$$d[i],
345
345
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (cr = 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] = $e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
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] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
374
374
  ) || e;
375
375
  }
376
376
  });
377
- function $e(e, t, r, n) {
377
+ function Ue(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 $e(e, t, r, n) {
403
403
  return t;
404
404
  }
405
405
  }
406
- function dn(e, t, r, n, i, o) {
407
- let s = class extends cr {
406
+ function gn(e, t, r, n, i, o) {
407
+ let s = class extends fr {
408
408
  constructor() {
409
409
  super(e, r, i), this.$$p_d = t;
410
410
  }
@@ -420,7 +420,7 @@ function dn(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 = $e(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
423
+ l = Ue(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 dn(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class bn {
435
+ class yn {
436
436
  /**
437
437
  * ### PRIVATE API
438
438
  *
@@ -451,7 +451,7 @@ class bn {
451
451
  $$set = void 0;
452
452
  /** @returns {void} */
453
453
  $destroy() {
454
- fn(this, 1), this.$destroy = L;
454
+ dn(this, 1), this.$destroy = N;
455
455
  }
456
456
  /**
457
457
  * @template {Extract<keyof Events, string>} K
@@ -460,8 +460,8 @@ class bn {
460
460
  * @returns {() => void}
461
461
  */
462
462
  $on(t, r) {
463
- if (!Tt(r))
464
- return L;
463
+ if (!Ct(r))
464
+ return N;
465
465
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
466
466
  return n.push(r), () => {
467
467
  const i = n.indexOf(r);
@@ -473,176 +473,176 @@ class bn {
473
473
  * @returns {void}
474
474
  */
475
475
  $set(t) {
476
- this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
+ this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
477
  }
478
478
  }
479
- const gn = "4";
480
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
481
- const ie = [];
482
- function yn(e, t) {
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) {
483
483
  return {
484
- subscribe: Qe(e, t).subscribe
484
+ subscribe: Ye(e, t).subscribe
485
485
  };
486
486
  }
487
- function Qe(e, t = L) {
487
+ function Ye(e, t = N) {
488
488
  let r;
489
489
  const n = /* @__PURE__ */ new Set();
490
490
  function i(a) {
491
- if (lr(e, a) && (e = a, r)) {
492
- const l = !ie.length;
491
+ if (hr(e, a) && (e = a, r)) {
492
+ const l = !oe.length;
493
493
  for (const u of n)
494
- u[1](), ie.push(u, e);
494
+ u[1](), oe.push(u, e);
495
495
  if (l) {
496
- for (let u = 0; u < ie.length; u += 2)
497
- ie[u][0](ie[u + 1]);
498
- ie.length = 0;
496
+ for (let u = 0; u < oe.length; u += 2)
497
+ oe[u][0](oe[u + 1]);
498
+ oe.length = 0;
499
499
  }
500
500
  }
501
501
  }
502
502
  function o(a) {
503
503
  i(a(e));
504
504
  }
505
- function s(a, l = L) {
505
+ function s(a, l = N) {
506
506
  const u = [a, l];
507
- return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
507
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
508
508
  n.delete(u), n.size === 0 && r && (r(), r = null);
509
509
  };
510
510
  }
511
511
  return { set: i, update: o, subscribe: s };
512
512
  }
513
- function fe(e, t, r) {
513
+ function de(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 yn(r, (s, a) => {
518
+ return _n(r, (s, a) => {
519
519
  let l = !1;
520
520
  const u = [];
521
- let h = 0, f = L;
521
+ let h = 0, f = N;
522
522
  const c = () => {
523
523
  if (h)
524
524
  return;
525
525
  f();
526
- const d = t(n ? u[0] : u, s, a);
527
- o ? s(d) : f = Tt(d) ? d : L;
526
+ const m = t(n ? u[0] : u, s, a);
527
+ o ? s(m) : f = Ct(m) ? m : N;
528
528
  }, g = i.map(
529
- (d, m) => hr(
530
- d,
531
- (_) => {
532
- u[m] = _, h &= ~(1 << m), l && c();
529
+ (m, p) => cr(
530
+ m,
531
+ (E) => {
532
+ u[p] = E, h &= ~(1 << p), l && c();
533
533
  },
534
534
  () => {
535
- h |= 1 << m;
535
+ h |= 1 << p;
536
536
  }
537
537
  )
538
538
  );
539
539
  return l = !0, c(), function() {
540
- ce(g), f(), l = !1;
540
+ pe(g), f(), l = !1;
541
541
  };
542
542
  });
543
543
  }
544
- function vn(e) {
544
+ function En(e) {
545
545
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
546
546
  }
547
- var _n = function(t) {
548
- return En(t) && !xn(t);
547
+ var xn = function(t) {
548
+ return wn(t) && !Sn(t);
549
549
  };
550
- function En(e) {
550
+ function wn(e) {
551
551
  return !!e && typeof e == "object";
552
552
  }
553
- function xn(e) {
553
+ function Sn(e) {
554
554
  var t = Object.prototype.toString.call(e);
555
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
556
- }
557
- var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
558
- function Tn(e) {
559
- return e.$$typeof === Sn;
555
+ return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
560
556
  }
557
+ var Tn = typeof Symbol == "function" && Symbol.for, Cn = Tn ? Symbol.for("react.element") : 60103;
561
558
  function Hn(e) {
559
+ return e.$$typeof === Cn;
560
+ }
561
+ function An(e) {
562
562
  return Array.isArray(e) ? [] : {};
563
563
  }
564
- function xe(e, t) {
565
- return t.clone !== !1 && t.isMergeableObject(e) ? ae(Hn(e), e, t) : e;
564
+ function Te(e, t) {
565
+ return t.clone !== !1 && t.isMergeableObject(e) ? le(An(e), e, t) : e;
566
566
  }
567
- function Cn(e, t, r) {
567
+ function Pn(e, t, r) {
568
568
  return e.concat(t).map(function(n) {
569
- return xe(n, r);
569
+ return Te(n, r);
570
570
  });
571
571
  }
572
- function An(e, t) {
572
+ function Mn(e, t) {
573
573
  if (!t.customMerge)
574
- return ae;
574
+ return le;
575
575
  var r = t.customMerge(e);
576
- return typeof r == "function" ? r : ae;
576
+ return typeof r == "function" ? r : le;
577
577
  }
578
- function Pn(e) {
578
+ function On(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
583
  function It(e) {
584
- return Object.keys(e).concat(Pn(e));
584
+ return Object.keys(e).concat(On(e));
585
585
  }
586
- function fr(e, t) {
586
+ function pr(e, t) {
587
587
  try {
588
588
  return t in e;
589
589
  } catch {
590
590
  return !1;
591
591
  }
592
592
  }
593
- function Mn(e, t) {
594
- return fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
593
+ function Bn(e, t) {
594
+ return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
595
595
  }
596
- function On(e, t, r) {
596
+ function Ln(e, t, r) {
597
597
  var n = {};
598
598
  return r.isMergeableObject(e) && It(e).forEach(function(i) {
599
- n[i] = xe(e[i], r);
599
+ n[i] = Te(e[i], r);
600
600
  }), It(t).forEach(function(i) {
601
- Mn(e, i) || (fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
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));
602
602
  }), n;
603
603
  }
604
- function ae(e, t, r) {
605
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = xe;
604
+ function le(e, t, r) {
605
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = Te;
606
606
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
607
- return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : xe(t, r);
607
+ return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : Te(t, r);
608
608
  }
609
- ae.all = function(t, r) {
609
+ le.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 ae(n, i, r);
613
+ return le(n, i, r);
614
614
  }, {});
615
615
  };
616
- var Bn = ae, In = Bn;
617
- const Ln = /* @__PURE__ */ vn(In);
618
- var ct = function(e, t) {
619
- return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
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) {
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
- }, ct(e, t);
624
+ }, ft(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
- ct(e, t);
629
+ ft(e, t);
630
630
  function r() {
631
631
  this.constructor = e;
632
632
  }
633
633
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
634
634
  }
635
- var G = function() {
636
- return G = Object.assign || function(t) {
635
+ var j = function() {
636
+ return j = Object.assign || function(t) {
637
637
  for (var r, n = 1, i = arguments.length; n < i; n++) {
638
638
  r = arguments[n];
639
639
  for (var o in r)
640
640
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
641
641
  }
642
642
  return t;
643
- }, G.apply(this, arguments);
643
+ }, j.apply(this, arguments);
644
644
  };
645
- function Nn(e, t) {
645
+ function Dn(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 Nn(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 nt(e, t, r) {
654
+ function it(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 it(e, t) {
661
- var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : $n;
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;
662
662
  return i(e, {
663
663
  cache: r,
664
664
  serializer: n
665
665
  });
666
666
  }
667
- function Rn(e) {
667
+ function $n(e) {
668
668
  return e == null || typeof e == "number" || typeof e == "boolean";
669
669
  }
670
- function Dn(e, t, r, n) {
671
- var i = Rn(n) ? n : r(n), o = t.get(i);
670
+ function Un(e, t, r, n) {
671
+ var i = $n(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 pr(e, t, r) {
674
+ function dr(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
678
  function mr(e, t, r, n, i) {
679
679
  return r.bind(t, e, n, i);
680
680
  }
681
- function $n(e, t) {
682
- var r = e.length === 1 ? Dn : pr;
681
+ function Fn(e, t) {
682
+ var r = e.length === 1 ? Un : dr;
683
683
  return mr(e, this, r, t.cache.create(), t.serializer);
684
684
  }
685
- function Un(e, t) {
686
- return mr(e, this, pr, t.cache.create(), t.serializer);
685
+ function Gn(e, t) {
686
+ return mr(e, this, dr, t.cache.create(), t.serializer);
687
687
  }
688
- var Fn = function() {
688
+ var jn = function() {
689
689
  return JSON.stringify(arguments);
690
- }, Gn = (
690
+ }, kn = (
691
691
  /** @class */
692
692
  function() {
693
693
  function e() {
@@ -699,21 +699,21 @@ var Fn = function() {
699
699
  this.cache[t] = r;
700
700
  }, e;
701
701
  }()
702
- ), jn = {
702
+ ), Vn = {
703
703
  create: function() {
704
- return new Gn();
704
+ return new kn();
705
705
  }
706
- }, ot = {
707
- variadic: Un
708
- }, We = function() {
709
- return We = Object.assign || function(t) {
706
+ }, st = {
707
+ variadic: Gn
708
+ }, Xe = function() {
709
+ return Xe = Object.assign || function(t) {
710
710
  for (var r, n = 1, i = arguments.length; n < i; n++) {
711
711
  r = arguments[n];
712
712
  for (var o in r)
713
713
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
714
714
  }
715
715
  return t;
716
- }, We.apply(this, arguments);
716
+ }, Xe.apply(this, arguments);
717
717
  };
718
718
  var x;
719
719
  (function(e) {
@@ -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 ue;
726
+ var he;
727
727
  (function(e) {
728
728
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
729
- })(ue || (ue = {}));
730
- function Lt(e) {
729
+ })(he || (he = {}));
730
+ function Nt(e) {
731
731
  return e.type === C.literal;
732
732
  }
733
- function kn(e) {
733
+ function Wn(e) {
734
734
  return e.type === C.argument;
735
735
  }
736
- function dr(e) {
736
+ function br(e) {
737
737
  return e.type === C.number;
738
738
  }
739
- function br(e) {
739
+ function gr(e) {
740
740
  return e.type === C.date;
741
741
  }
742
- function gr(e) {
742
+ function yr(e) {
743
743
  return e.type === C.time;
744
744
  }
745
- function yr(e) {
745
+ function vr(e) {
746
746
  return e.type === C.select;
747
747
  }
748
- function vr(e) {
748
+ function _r(e) {
749
749
  return e.type === C.plural;
750
750
  }
751
- function Vn(e) {
751
+ function Xn(e) {
752
752
  return e.type === C.pound;
753
753
  }
754
- function _r(e) {
754
+ function Er(e) {
755
755
  return e.type === C.tag;
756
756
  }
757
- function Er(e) {
758
- return !!(e && typeof e == "object" && e.type === ue.number);
757
+ function xr(e) {
758
+ return !!(e && typeof e == "object" && e.type === he.number);
759
759
  }
760
- function ft(e) {
761
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
760
+ function pt(e) {
761
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
762
762
  }
763
- var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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 Xn(e) {
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) {
765
765
  var t = {};
766
- return e.replace(Wn, 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 Xn(e) {
852
852
  return "";
853
853
  }), t;
854
854
  }
855
- var M = function() {
856
- return M = Object.assign || function(t) {
855
+ var P = function() {
856
+ return P = 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
- }, M.apply(this, arguments);
863
+ }, P.apply(this, arguments);
864
864
  };
865
- var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
- function Zn(e) {
865
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
+ function Yn(e) {
867
867
  if (e.length === 0)
868
868
  throw new Error("Number skeleton cannot be empty");
869
- for (var t = e.split(zn).filter(function(c) {
869
+ for (var t = e.split(Qn).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 Zn(e) {
881
881
  }
882
882
  return r;
883
883
  }
884
- function Qn(e) {
884
+ function Jn(e) {
885
885
  return e.replace(/^(.*?)-/, "");
886
886
  }
887
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
888
- function Rt(e) {
887
+ var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
888
+ function Dt(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(wr, function(r, n, i) {
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) {
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 Tr(e) {
894
+ function Cr(e) {
895
895
  switch (e) {
896
896
  case "sign-auto":
897
897
  return {
@@ -931,7 +931,7 @@ function Tr(e) {
931
931
  };
932
932
  }
933
933
  }
934
- function Yn(e) {
934
+ function Kn(e) {
935
935
  var t;
936
936
  if (e[0] === "E" && e[1] === "E" ? (t = {
937
937
  notation: "engineering"
@@ -939,17 +939,17 @@ function Yn(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)), !Sr.test(e))
942
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.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 Dt(e) {
949
- var t = {}, r = Tr(e);
948
+ function $t(e) {
949
+ var t = {}, r = Cr(e);
950
950
  return r || t;
951
951
  }
952
- function qn(e) {
952
+ function ei(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 qn(e) {
973
973
  continue;
974
974
  case "measure-unit":
975
975
  case "unit":
976
- t.style = "unit", t.unit = Qn(i.options[0]);
976
+ t.style = "unit", t.unit = Jn(i.options[0]);
977
977
  continue;
978
978
  case "compact-short":
979
979
  case "K":
@@ -984,13 +984,13 @@ function qn(e) {
984
984
  t.notation = "compact", t.compactDisplay = "long";
985
985
  continue;
986
986
  case "scientific":
987
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
- return M(M({}, l), Dt(u));
987
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
+ return P(P({}, l), $t(u));
989
989
  }, {}));
990
990
  continue;
991
991
  case "engineering":
992
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
- return M(M({}, l), Dt(u));
992
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
+ return P(P({}, l), $t(u));
994
994
  }, {}));
995
995
  continue;
996
996
  case "notation-simple":
@@ -1035,7 +1035,7 @@ function qn(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(Jn, function(l, u, h, f, c, g) {
1038
+ i.options[0].replace(qn, 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 qn(e) {
1048
1048
  });
1049
1049
  continue;
1050
1050
  }
1051
- if (Sr.test(i.stem)) {
1051
+ if (Tr.test(i.stem)) {
1052
1052
  t.minimumIntegerDigits = i.stem.length;
1053
1053
  continue;
1054
1054
  }
1055
- if (Nt.test(i.stem)) {
1055
+ if (Rt.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(Nt, function(l, u, h, f, c, g) {
1058
+ i.stem.replace(Rt, 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 = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Rt(o)));
1062
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Dt(o)));
1063
1063
  continue;
1064
1064
  }
1065
- if (wr.test(i.stem)) {
1066
- t = M(M({}, t), Rt(i.stem));
1065
+ if (Sr.test(i.stem)) {
1066
+ t = P(P({}, t), Dt(i.stem));
1067
1067
  continue;
1068
1068
  }
1069
- var s = Tr(i.stem);
1070
- s && (t = M(M({}, t), s));
1071
- var a = Yn(i.stem);
1072
- a && (t = M(M({}, t), a));
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));
1073
1073
  }
1074
1074
  return t;
1075
1075
  }
1076
- var Le = {
1076
+ var Ne = {
1077
1077
  "001": [
1078
1078
  "H",
1079
1079
  "h"
@@ -2488,13 +2488,13 @@ var Le = {
2488
2488
  "h"
2489
2489
  ]
2490
2490
  };
2491
- function Kn(e, t) {
2491
+ function ti(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 = ei(t);
2497
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(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 Kn(e, t) {
2504
2504
  }
2505
2505
  return r;
2506
2506
  }
2507
- function ei(e) {
2507
+ function ri(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 ei(e) {
2523
2523
  }
2524
2524
  var r = e.language, n;
2525
2525
  r !== "root" && (n = e.maximize().region);
2526
- var i = Le[n || ""] || Le[r || ""] || Le["".concat(r, "-001")] || Le["001"];
2526
+ var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
2527
2527
  return i[0];
2528
2528
  }
2529
- var st, ti = new RegExp("^".concat(xr.source, "*")), ri = new RegExp("".concat(xr.source, "*$"));
2529
+ var at, ni = new RegExp("^".concat(wr.source, "*")), ii = new RegExp("".concat(wr.source, "*$"));
2530
2530
  function w(e, t) {
2531
2531
  return { start: e, end: t };
2532
2532
  }
2533
- var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, hi = li ? Number.isSafeInteger : function(e) {
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) {
2534
2534
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2535
- }, pt = !0;
2535
+ }, dt = !0;
2536
2536
  try {
2537
- var ci = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
- pt = ((st = ci.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
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";
2539
2539
  } catch {
2540
- pt = !1;
2540
+ dt = !1;
2541
2541
  }
2542
- var $t = ni ? (
2542
+ var Ut = oi ? (
2543
2543
  // Native
2544
2544
  function(t, r, n) {
2545
2545
  return t.startsWith(r, n);
@@ -2549,7 +2549,7 @@ var $t = ni ? (
2549
2549
  function(t, r, n) {
2550
2550
  return t.slice(n, n + r.length) === r;
2551
2551
  }
2552
- ), mt = ii ? String.fromCodePoint : (
2552
+ ), mt = si ? String.fromCodePoint : (
2553
2553
  // IE11
2554
2554
  function() {
2555
2555
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2561,9 +2561,9 @@ var $t = ni ? (
2561
2561
  }
2562
2562
  return n;
2563
2563
  }
2564
- ), Ut = (
2564
+ ), Ft = (
2565
2565
  // native
2566
- oi ? Object.fromEntries : (
2566
+ ai ? 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 $t = ni ? (
2573
2573
  return r;
2574
2574
  }
2575
2575
  )
2576
- ), Hr = si ? (
2576
+ ), Hr = ui ? (
2577
2577
  // Native
2578
2578
  function(t, r) {
2579
2579
  return t.codePointAt(r);
@@ -2587,7 +2587,7 @@ var $t = ni ? (
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
- ), fi = ai ? (
2590
+ ), di = li ? (
2591
2591
  // Native
2592
2592
  function(t) {
2593
2593
  return t.trimStart();
@@ -2595,9 +2595,9 @@ var $t = ni ? (
2595
2595
  ) : (
2596
2596
  // Ponyfill
2597
2597
  function(t) {
2598
- return t.replace(ti, "");
2598
+ return t.replace(ni, "");
2599
2599
  }
2600
- ), pi = ui ? (
2600
+ ), mi = hi ? (
2601
2601
  // Native
2602
2602
  function(t) {
2603
2603
  return t.trimEnd();
@@ -2605,32 +2605,32 @@ var $t = ni ? (
2605
2605
  ) : (
2606
2606
  // Ponyfill
2607
2607
  function(t) {
2608
- return t.replace(ri, "");
2608
+ return t.replace(ii, "");
2609
2609
  }
2610
2610
  );
2611
- function Cr(e, t) {
2611
+ function Ar(e, t) {
2612
2612
  return new RegExp(e, t);
2613
2613
  }
2614
- var dt;
2615
- if (pt) {
2616
- var Ft = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- dt = function(t, r) {
2614
+ var bt;
2615
+ if (dt) {
2616
+ var Gt = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ bt = function(t, r) {
2618
2618
  var n;
2619
- Ft.lastIndex = r;
2620
- var i = Ft.exec(t);
2619
+ Gt.lastIndex = r;
2620
+ var i = Gt.exec(t);
2621
2621
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2622
2622
  };
2623
2623
  } else
2624
- dt = function(t, r) {
2624
+ bt = function(t, r) {
2625
2625
  for (var n = []; ; ) {
2626
2626
  var i = Hr(t, r);
2627
- if (i === void 0 || Ar(i) || gi(i))
2627
+ if (i === void 0 || Pr(i) || vi(i))
2628
2628
  break;
2629
2629
  n.push(i), r += i >= 65536 ? 2 : 1;
2630
2630
  }
2631
2631
  return mt.apply(void 0, n);
2632
2632
  };
2633
- var mi = (
2633
+ var bi = (
2634
2634
  /** @class */
2635
2635
  function() {
2636
2636
  function e(t, r) {
@@ -2661,7 +2661,7 @@ var mi = (
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 && bt(this.peek() || 0)) {
2664
+ } else if (o === 60 && !this.ignoreTag && gt(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 mi = (
2694
2694
  return o;
2695
2695
  var s = o.val, a = this.clonePosition();
2696
2696
  if (this.bumpIf("</")) {
2697
- if (this.isEOF() || !bt(this.char()))
2697
+ if (this.isEOF() || !gt(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 mi = (
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() && bi(this.char()); )
2715
+ for (this.bump(); !this.isEOF() && yi(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 mi = (
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
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
+ !gi(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;
@@ -2809,7 +2809,7 @@ var mi = (
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 = dt(this.message, r), i = r + n.length;
2812
+ var t = this.clonePosition(), r = this.offset(), n = bt(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,37 +2828,37 @@ var mi = (
2828
2828
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2829
2829
  if (f.err)
2830
2830
  return f;
2831
- var c = pi(f.val);
2831
+ var c = mi(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 d = this.tryParseArgumentClose(i);
2838
- if (d.err)
2839
- return d;
2840
- var m = w(i, this.clonePosition());
2841
- if (u && $t(u?.style, "::", 0)) {
2842
- var _ = fi(u.style.slice(2));
2837
+ var m = this.tryParseArgumentClose(i);
2838
+ if (m.err)
2839
+ return m;
2840
+ var p = w(i, this.clonePosition());
2841
+ if (u && Ut(u?.style, "::", 0)) {
2842
+ var E = di(u.style.slice(2));
2843
2843
  if (a === "number") {
2844
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2844
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2845
2845
  return f.err ? f : {
2846
- val: { type: C.number, value: n, location: m, style: f.val },
2846
+ val: { type: C.number, value: n, location: p, style: f.val },
2847
2847
  err: null
2848
2848
  };
2849
2849
  } else {
2850
- if (_.length === 0)
2851
- return this.error(x.EXPECT_DATE_TIME_SKELETON, m);
2852
- var E = _;
2853
- this.locale && (E = Kn(_, this.locale));
2850
+ if (E.length === 0)
2851
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, p);
2852
+ var T = E;
2853
+ this.locale && (T = ti(E, this.locale));
2854
2854
  var c = {
2855
- type: ue.dateTime,
2856
- pattern: E,
2855
+ type: he.dateTime,
2856
+ pattern: T,
2857
2857
  location: u.styleLocation,
2858
- parsedOptions: this.shouldParseSkeletons ? Xn(E) : {}
2859
- }, p = a === "date" ? C.date : C.time;
2858
+ parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
2859
+ }, d = a === "date" ? C.date : C.time;
2860
2860
  return {
2861
- val: { type: p, value: n, location: m, style: c },
2861
+ val: { type: d, value: n, location: p, style: c },
2862
2862
  err: null
2863
2863
  };
2864
2864
  }
@@ -2867,7 +2867,7 @@ var mi = (
2867
2867
  val: {
2868
2868
  type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2869
2869
  value: n,
2870
- location: m,
2870
+ location: p,
2871
2871
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2872
2872
  },
2873
2873
  err: null
@@ -2876,9 +2876,9 @@ var mi = (
2876
2876
  case "plural":
2877
2877
  case "selectordinal":
2878
2878
  case "select": {
2879
- var S = this.clonePosition();
2879
+ var v = this.clonePosition();
2880
2880
  if (this.bumpSpace(), !this.bumpIf(","))
2881
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, We({}, S)));
2881
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(v, Xe({}, v)));
2882
2882
  this.bumpSpace();
2883
2883
  var y = this.parseIdentifierIfPossible(), A = 0;
2884
2884
  if (a !== "select" && y.value === "offset") {
@@ -2890,29 +2890,29 @@ var mi = (
2890
2890
  return f;
2891
2891
  this.bumpSpace(), y = this.parseIdentifierIfPossible(), A = f.val;
2892
2892
  }
2893
- var H = this.tryParsePluralOrSelectOptions(t, a, r, y);
2894
- if (H.err)
2895
- return H;
2896
- var d = this.tryParseArgumentClose(i);
2897
- if (d.err)
2898
- return d;
2899
- var $ = w(i, this.clonePosition());
2893
+ var L = this.tryParsePluralOrSelectOptions(t, a, r, y);
2894
+ if (L.err)
2895
+ return L;
2896
+ var m = this.tryParseArgumentClose(i);
2897
+ if (m.err)
2898
+ return m;
2899
+ var M = w(i, this.clonePosition());
2900
2900
  return a === "select" ? {
2901
2901
  val: {
2902
2902
  type: C.select,
2903
2903
  value: n,
2904
- options: Ut(H.val),
2905
- location: $
2904
+ options: Ft(L.val),
2905
+ location: M
2906
2906
  },
2907
2907
  err: null
2908
2908
  } : {
2909
2909
  val: {
2910
2910
  type: C.plural,
2911
2911
  value: n,
2912
- options: Ut(H.val),
2912
+ options: Ft(L.val),
2913
2913
  offset: A,
2914
2914
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2915
- location: $
2915
+ location: M
2916
2916
  },
2917
2917
  err: null
2918
2918
  };
@@ -2960,16 +2960,16 @@ var mi = (
2960
2960
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2961
2961
  var n = [];
2962
2962
  try {
2963
- n = Zn(t);
2963
+ n = Yn(t);
2964
2964
  } catch {
2965
2965
  return this.error(x.INVALID_NUMBER_SKELETON, r);
2966
2966
  }
2967
2967
  return {
2968
2968
  val: {
2969
- type: ue.number,
2969
+ type: he.number,
2970
2970
  tokens: n,
2971
2971
  location: r,
2972
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
2972
+ parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
2973
2973
  },
2974
2974
  err: null
2975
2975
  };
@@ -2991,16 +2991,16 @@ var mi = (
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 d = this.parseMessage(t + 1, r, n);
2995
- if (d.err)
2996
- return d;
2997
- var m = this.tryParseArgumentClose(g);
2994
+ var m = this.parseMessage(t + 1, r, n);
2998
2995
  if (m.err)
2999
2996
  return m;
2997
+ var p = this.tryParseArgumentClose(g);
2998
+ if (p.err)
2999
+ return p;
3000
3000
  a.push([
3001
3001
  u,
3002
3002
  {
3003
- value: d.val,
3003
+ value: m.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 mi = (
3017
3017
  break;
3018
3018
  }
3019
3019
  var l = w(i, this.clonePosition());
3020
- return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3020
+ return o ? (s *= n, fi(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() {
@@ -3051,7 +3051,7 @@ var mi = (
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 ($t(this.message, t, this.offset())) {
3054
+ if (Ut(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 mi = (
3073
3073
  break;
3074
3074
  }
3075
3075
  }, e.prototype.bumpSpace = function() {
3076
- for (; !this.isEOF() && Ar(this.char()); )
3076
+ for (; !this.isEOF() && Pr(this.char()); )
3077
3077
  this.bump();
3078
3078
  }, e.prototype.peek = function() {
3079
3079
  if (this.isEOF())
@@ -3083,44 +3083,44 @@ var mi = (
3083
3083
  }, e;
3084
3084
  }()
3085
3085
  );
3086
- function bt(e) {
3086
+ function gt(e) {
3087
3087
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3088
3088
  }
3089
- function di(e) {
3090
- return bt(e) || e === 47;
3089
+ function gi(e) {
3090
+ return gt(e) || e === 47;
3091
3091
  }
3092
- function bi(e) {
3092
+ function yi(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 Ar(e) {
3095
+ function Pr(e) {
3096
3096
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3097
3097
  }
3098
- function gi(e) {
3098
+ function vi(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 gt(e) {
3101
+ function yt(e) {
3102
3102
  e.forEach(function(t) {
3103
- if (delete t.location, yr(t) || vr(t))
3103
+ if (delete t.location, vr(t) || _r(t))
3104
3104
  for (var r in t.options)
3105
- delete t.options[r].location, gt(t.options[r].value);
3105
+ delete t.options[r].location, yt(t.options[r].value);
3106
3106
  else
3107
- dr(t) && Er(t.style) || (br(t) || gr(t)) && ft(t.style) ? delete t.style.location : _r(t) && gt(t.children);
3107
+ br(t) && xr(t.style) || (gr(t) || yr(t)) && pt(t.style) ? delete t.style.location : Er(t) && yt(t.children);
3108
3108
  });
3109
3109
  }
3110
- function yi(e, t) {
3111
- t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
- var r = new mi(e, t).parse();
3110
+ function _i(e, t) {
3111
+ t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
+ var r = new bi(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 || gt(r.val), r.val;
3117
+ return t?.captureLocation || yt(r.val), r.val;
3118
3118
  }
3119
- var le;
3119
+ var ce;
3120
3120
  (function(e) {
3121
3121
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3122
- })(le || (le = {}));
3123
- var Ye = (
3122
+ })(ce || (ce = {}));
3123
+ var qe = (
3124
3124
  /** @class */
3125
3125
  function(e) {
3126
3126
  Je(t, e);
@@ -3132,48 +3132,48 @@ var Ye = (
3132
3132
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3133
3133
  }, t;
3134
3134
  }(Error)
3135
- ), Gt = (
3135
+ ), jt = (
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('", "'), '"'), le.INVALID_VALUE, o) || this;
3140
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3141
3141
  }
3142
3142
  return t;
3143
- }(Ye)
3144
- ), vi = (
3143
+ }(qe)
3144
+ ), Ei = (
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), le.INVALID_VALUE, i) || this;
3149
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3150
3150
  }
3151
3151
  return t;
3152
- }(Ye)
3153
- ), _i = (
3152
+ }(qe)
3153
+ ), xi = (
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, '"'), le.MISSING_VALUE, n) || this;
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;
3159
3159
  }
3160
3160
  return t;
3161
- }(Ye)
3161
+ }(qe)
3162
3162
  ), B;
3163
3163
  (function(e) {
3164
3164
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3165
3165
  })(B || (B = {}));
3166
- function Ei(e) {
3166
+ function wi(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 xi(e) {
3172
+ function Si(e) {
3173
3173
  return typeof e == "function";
3174
3174
  }
3175
- function Ue(e, t, r, n, i, o, s) {
3176
- if (e.length === 1 && Lt(e[0]))
3175
+ function Fe(e, t, r, n, i, o, s) {
3176
+ if (e.length === 1 && Nt(e[0]))
3177
3177
  return [
3178
3178
  {
3179
3179
  type: B.literal,
@@ -3182,14 +3182,14 @@ function Ue(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 (Lt(h)) {
3185
+ if (Nt(h)) {
3186
3186
  a.push({
3187
3187
  type: B.literal,
3188
3188
  value: h.value
3189
3189
  });
3190
3190
  continue;
3191
3191
  }
3192
- if (Vn(h)) {
3192
+ if (Xn(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 Ue(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 _i(f, s);
3201
+ throw new xi(f, s);
3202
3202
  var c = i[f];
3203
- if (kn(h)) {
3203
+ if (Wn(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 (br(h)) {
3211
- var g = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3210
+ if (gr(h)) {
3211
+ var g = typeof h.style == "string" ? n.date[h.style] : pt(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 (gr(h)) {
3219
- var g = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
3218
+ if (yr(h)) {
3219
+ var g = typeof h.style == "string" ? n.time[h.style] : pt(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 (dr(h)) {
3227
- var g = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3226
+ if (br(h)) {
3227
+ var g = typeof h.style == "string" ? n.number[h.style] : xr(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 (_r(h)) {
3235
- var d = h.children, m = h.value, _ = i[m];
3236
- if (!xi(_))
3237
- throw new vi(m, "function", s);
3238
- var E = Ue(d, t, r, n, i, o), p = _(E.map(function(A) {
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) {
3239
3239
  return A.value;
3240
3240
  }));
3241
- Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(A) {
3241
+ Array.isArray(d) || (d = [d]), a.push.apply(a, d.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 (yr(h)) {
3249
- var S = h.options[c] || h.options.other;
3250
- if (!S)
3251
- throw new Gt(h.value, c, Object.keys(h.options), s);
3252
- a.push.apply(a, Ue(S.value, t, r, n, i));
3248
+ if (vr(h)) {
3249
+ var v = h.options[c] || h.options.other;
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));
3253
3253
  continue;
3254
3254
  }
3255
- if (vr(h)) {
3256
- var S = h.options["=".concat(c)];
3257
- if (!S) {
3255
+ if (_r(h)) {
3256
+ var v = h.options["=".concat(c)];
3257
+ if (!v) {
3258
3258
  if (!Intl.PluralRules)
3259
- throw new Ye(`Intl.PluralRules is not available in this environment.
3259
+ throw new qe(`Intl.PluralRules is not available in this environment.
3260
3260
  Try polyfilling it using "@formatjs/intl-pluralrules"
3261
- `, le.MISSING_INTL_API, s);
3261
+ `, ce.MISSING_INTL_API, s);
3262
3262
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3263
- S = h.options[y] || h.options.other;
3263
+ v = h.options[y] || h.options.other;
3264
3264
  }
3265
- if (!S)
3266
- throw new Gt(h.value, c, Object.keys(h.options), s);
3267
- a.push.apply(a, Ue(S.value, t, r, n, i, c - (h.offset || 0)));
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)));
3268
3268
  continue;
3269
3269
  }
3270
3270
  }
3271
- return Ei(a);
3271
+ return wi(a);
3272
3272
  }
3273
- function wi(e, t) {
3274
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3273
+ function Ti(e, t) {
3274
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3276
3276
  }, {})) : e;
3277
3277
  }
3278
- function Si(e, t) {
3278
+ function Ci(e, t) {
3279
3279
  return t ? Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = wi(e[n], t[n]), r;
3281
- }, G({}, e)) : e;
3280
+ return r[n] = Ti(e[n], t[n]), r;
3281
+ }, j({}, e)) : e;
3282
3282
  }
3283
- function at(e) {
3283
+ function ut(e) {
3284
3284
  return {
3285
3285
  create: function() {
3286
3286
  return {
@@ -3294,39 +3294,39 @@ function at(e) {
3294
3294
  }
3295
3295
  };
3296
3296
  }
3297
- function Ti(e) {
3297
+ function Hi(e) {
3298
3298
  return e === void 0 && (e = {
3299
3299
  number: {},
3300
3300
  dateTime: {},
3301
3301
  pluralRules: {}
3302
3302
  }), {
3303
- getNumberFormat: it(function() {
3303
+ getNumberFormat: ot(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, nt([void 0], r, !1)))();
3306
+ return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], r, !1)))();
3307
3307
  }, {
3308
- cache: at(e.number),
3309
- strategy: ot.variadic
3308
+ cache: ut(e.number),
3309
+ strategy: st.variadic
3310
3310
  }),
3311
- getDateTimeFormat: it(function() {
3311
+ getDateTimeFormat: ot(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, nt([void 0], r, !1)))();
3314
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], r, !1)))();
3315
3315
  }, {
3316
- cache: at(e.dateTime),
3317
- strategy: ot.variadic
3316
+ cache: ut(e.dateTime),
3317
+ strategy: st.variadic
3318
3318
  }),
3319
- getPluralRules: it(function() {
3319
+ getPluralRules: ot(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, nt([void 0], r, !1)))();
3322
+ return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], r, !1)))();
3323
3323
  }, {
3324
- cache: at(e.pluralRules),
3325
- strategy: ot.variadic
3324
+ cache: ut(e.pluralRules),
3325
+ strategy: st.variadic
3326
3326
  })
3327
3327
  };
3328
3328
  }
3329
- var Pr = (
3329
+ var Mr = (
3330
3330
  /** @class */
3331
3331
  function() {
3332
3332
  function e(t, r, n, i) {
@@ -3345,7 +3345,7 @@ var Pr = (
3345
3345
  }, []);
3346
3346
  return h.length <= 1 ? h[0] || "" : h;
3347
3347
  }, this.formatToParts = function(l) {
3348
- return Ue(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3348
+ return Fe(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 Pr = (
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 = Nn(s, ["formatters"]);
3362
- this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3361
+ var a = Dn(s, ["formatters"]);
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 = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
3367
+ this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
3368
3368
  }
3369
3369
  return Object.defineProperty(e, "defaultLocale", {
3370
3370
  get: function() {
@@ -3377,7 +3377,7 @@ var Pr = (
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 = yi, e.formats = {
3380
+ }, e.__parse = _i, e.formats = {
3381
3381
  number: {
3382
3382
  integer: {
3383
3383
  maximumFractionDigits: 0
@@ -3438,7 +3438,7 @@ var Pr = (
3438
3438
  }, e;
3439
3439
  }()
3440
3440
  );
3441
- function Hi(e, t) {
3441
+ function Ai(e, t) {
3442
3442
  if (t == null)
3443
3443
  return;
3444
3444
  if (t in e)
@@ -3459,101 +3459,101 @@ function Hi(e, t) {
3459
3459
  n = void 0;
3460
3460
  return n;
3461
3461
  }
3462
- const z = {}, Ci = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
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) => {
3463
3463
  if (t == null)
3464
3464
  return;
3465
3465
  if (t in z && e in z[t])
3466
3466
  return z[t][e];
3467
- const r = Te(t);
3467
+ const r = Ae(t);
3468
3468
  for (let n = 0; n < r.length; n++) {
3469
- const i = r[n], o = Pi(i, e);
3469
+ const i = r[n], o = Oi(i, e);
3470
3470
  if (o)
3471
- return Ci(e, t, o);
3471
+ return Pi(e, t, o);
3472
3472
  }
3473
3473
  };
3474
3474
  let Ht;
3475
- const Se = Qe({});
3476
- function Ai(e) {
3475
+ const He = Ye({});
3476
+ function Mi(e) {
3477
3477
  return Ht[e] || null;
3478
3478
  }
3479
- function Or(e) {
3479
+ function Br(e) {
3480
3480
  return e in Ht;
3481
3481
  }
3482
- function Pi(e, t) {
3483
- if (!Or(e))
3482
+ function Oi(e, t) {
3483
+ if (!Br(e))
3484
3484
  return null;
3485
- const r = Ai(e);
3486
- return Hi(r, t);
3485
+ const r = Mi(e);
3486
+ return Ai(r, t);
3487
3487
  }
3488
- function Mi(e) {
3488
+ function Bi(e) {
3489
3489
  if (e == null)
3490
3490
  return;
3491
- const t = Te(e);
3491
+ const t = Ae(e);
3492
3492
  for (let r = 0; r < t.length; r++) {
3493
3493
  const n = t[r];
3494
- if (Or(n))
3494
+ if (Br(n))
3495
3495
  return n;
3496
3496
  }
3497
3497
  }
3498
- function Br(e, ...t) {
3499
- delete z[e], Se.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
3498
+ function Lr(e, ...t) {
3499
+ delete z[e], He.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
3500
3500
  }
3501
- fe(
3502
- [Se],
3501
+ de(
3502
+ [He],
3503
3503
  ([e]) => Object.keys(e)
3504
3504
  );
3505
- Se.subscribe((e) => Ht = e);
3506
- const Fe = {};
3507
- function Oi(e, t) {
3508
- Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
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];
3509
3509
  }
3510
3510
  function Ir(e) {
3511
- return Fe[e];
3511
+ return Ge[e];
3512
3512
  }
3513
- function Bi(e) {
3514
- return Te(e).map((t) => {
3513
+ function Ii(e) {
3514
+ return Ae(e).map((t) => {
3515
3515
  const r = Ir(t);
3516
3516
  return [t, r ? [...r] : []];
3517
3517
  }).filter(([, t]) => t.length > 0);
3518
3518
  }
3519
- function Xe(e) {
3520
- return e == null ? !1 : Te(e).some(
3519
+ function ze(e) {
3520
+ return e == null ? !1 : Ae(e).some(
3521
3521
  (t) => {
3522
3522
  var r;
3523
3523
  return (r = Ir(t)) == null ? void 0 : r.size;
3524
3524
  }
3525
3525
  );
3526
3526
  }
3527
- function Ii(e, t) {
3527
+ function Ni(e, t) {
3528
3528
  return Promise.all(
3529
- t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
3530
- ).then((n) => Br(e, ...n));
3531
- }
3532
- const be = {};
3533
- function Lr(e) {
3534
- if (!Xe(e))
3535
- return e in be ? be[e] : Promise.resolve();
3536
- const t = Bi(e);
3537
- return be[e] = Promise.all(
3529
+ t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
3530
+ ).then((n) => Lr(e, ...n));
3531
+ }
3532
+ const ve = {};
3533
+ function Nr(e) {
3534
+ if (!ze(e))
3535
+ return e in ve ? ve[e] : Promise.resolve();
3536
+ const t = Ii(e);
3537
+ return ve[e] = Promise.all(
3538
3538
  t.map(
3539
- ([r, n]) => Ii(r, n)
3539
+ ([r, n]) => Ni(r, n)
3540
3540
  )
3541
3541
  ).then(() => {
3542
- if (Xe(e))
3543
- return Lr(e);
3544
- delete be[e];
3545
- }), be[e];
3542
+ if (ze(e))
3543
+ return Nr(e);
3544
+ delete ve[e];
3545
+ }), ve[e];
3546
3546
  }
3547
- var jt = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Ri = (e, t) => {
3547
+ var kt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, $i = (e, t) => {
3548
3548
  var r = {};
3549
3549
  for (var n in e)
3550
- Li.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 && Ni.call(e, n) && (r[n] = e[n]);
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]);
3554
3554
  return r;
3555
3555
  };
3556
- const Di = {
3556
+ const Ui = {
3557
3557
  number: {
3558
3558
  scientific: { notation: "scientific" },
3559
3559
  engineering: { notation: "engineering" },
@@ -3583,159 +3583,159 @@ const Di = {
3583
3583
  }
3584
3584
  }
3585
3585
  };
3586
- function $i({ locale: e, id: t }) {
3586
+ function Fi({ locale: e, id: t }) {
3587
3587
  console.warn(
3588
- `[svelte-i18n] The message "${t}" was not found in "${Te(
3588
+ `[svelte-i18n] The message "${t}" was not found in "${Ae(
3589
3589
  e
3590
- ).join('", "')}".${Xe(Q()) ? `
3590
+ ).join('", "')}".${ze(Q()) ? `
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 Ui = {
3595
+ const Gi = {
3596
3596
  fallbackLocale: null,
3597
3597
  loadingDelay: 200,
3598
- formats: Di,
3598
+ formats: Ui,
3599
3599
  warnOnMissingMessages: !0,
3600
3600
  handleMissingMessage: void 0,
3601
3601
  ignoreTag: !0
3602
- }, ge = Ui;
3603
- function he() {
3604
- return ge;
3602
+ }, _e = Gi;
3603
+ function fe() {
3604
+ return _e;
3605
3605
  }
3606
- function Fi(e) {
3607
- const t = e, { formats: r } = t, n = Ri(t, ["formats"]);
3606
+ function ji(e) {
3607
+ const t = e, { formats: r } = t, n = $i(t, ["formats"]);
3608
3608
  let i = e.fallbackLocale;
3609
3609
  if (e.initialLocale)
3610
3610
  try {
3611
- Pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3611
+ Mr.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 = $i : console.warn(
3617
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fi : console.warn(
3618
3618
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3619
- )), Object.assign(ge, n, { initialLocale: i }), r && ("number" in r && Object.assign(ge.formats.number, r.number), "date" in r && Object.assign(ge.formats.date, r.date), "time" in r && Object.assign(ge.formats.time, r.time)), K.set(i);
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 ut = Qe(!1);
3622
- var Gi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
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) => {
3623
3623
  for (var r in t || (t = {}))
3624
- Vi.call(t, r) && Vt(e, r, t[r]);
3625
- if (kt)
3626
- for (var r of kt(t))
3627
- Wi.call(t, r) && Vt(e, r, t[r]);
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]);
3628
3628
  return e;
3629
- }, zi = (e, t) => ji(e, ki(t));
3630
- let yt;
3631
- const ze = Qe(null);
3632
- function Wt(e) {
3629
+ }, Qi = (e, t) => Vi(e, Wi(t));
3630
+ let vt;
3631
+ const Ze = Ye(null);
3632
+ function Xt(e) {
3633
3633
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3634
3634
  }
3635
- function Te(e, t = he().fallbackLocale) {
3636
- const r = Wt(e);
3637
- return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3635
+ function Ae(e, t = fe().fallbackLocale) {
3636
+ const r = Xt(e);
3637
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
3638
3638
  }
3639
3639
  function Q() {
3640
- return yt ?? void 0;
3640
+ return vt ?? void 0;
3641
3641
  }
3642
- ze.subscribe((e) => {
3643
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3642
+ Ze.subscribe((e) => {
3643
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3644
3644
  });
3645
- const Zi = (e) => {
3646
- if (e && Mi(e) && Xe(e)) {
3647
- const { loadingDelay: t } = he();
3645
+ const Yi = (e) => {
3646
+ if (e && Bi(e) && ze(e)) {
3647
+ const { loadingDelay: t } = fe();
3648
3648
  let r;
3649
3649
  return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
3650
- () => ut.set(!0),
3650
+ () => lt.set(!0),
3651
3651
  t
3652
- ) : ut.set(!0), Lr(e).then(() => {
3653
- ze.set(e);
3652
+ ) : lt.set(!0), Nr(e).then(() => {
3653
+ Ze.set(e);
3654
3654
  }).finally(() => {
3655
- clearTimeout(r), ut.set(!1);
3655
+ clearTimeout(r), lt.set(!1);
3656
3656
  });
3657
3657
  }
3658
- return ze.set(e);
3659
- }, K = zi(Xi({}, ze), {
3660
- set: Zi
3661
- }), qe = (e) => {
3658
+ return Ze.set(e);
3659
+ }, K = Qi(Zi({}, Ze), {
3660
+ set: Yi
3661
+ }), Ke = (e) => {
3662
3662
  const t = /* @__PURE__ */ Object.create(null);
3663
3663
  return (n) => {
3664
3664
  const i = JSON.stringify(n);
3665
3665
  return i in t ? t[i] : t[i] = e(n);
3666
3666
  };
3667
3667
  };
3668
- var Qi = Object.defineProperty, Ze = 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, Ct = (e, t) => {
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) => {
3669
3669
  for (var r in t || (t = {}))
3670
- Nr.call(t, r) && Xt(e, r, t[r]);
3671
- if (Ze)
3672
- for (var r of Ze(t))
3673
- Rr.call(t, r) && Xt(e, r, t[r]);
3670
+ Rr.call(t, r) && zt(e, r, t[r]);
3671
+ if (Qe)
3672
+ for (var r of Qe(t))
3673
+ Dr.call(t, r) && zt(e, r, t[r]);
3674
3674
  return e;
3675
- }, pe = (e, t) => {
3675
+ }, me = (e, t) => {
3676
3676
  var r = {};
3677
3677
  for (var n in e)
3678
- Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
- if (e != null && Ze)
3680
- for (var n of Ze(e))
3681
- t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
3678
+ Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
+ if (e != null && Qe)
3680
+ for (var n of Qe(e))
3681
+ t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
3682
3682
  return r;
3683
3683
  };
3684
- const we = (e, t) => {
3685
- const { formats: r } = he();
3684
+ const Ce = (e, t) => {
3685
+ const { formats: r } = fe();
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
- }, Ji = qe(
3689
+ }, qi = Ke(
3690
3690
  (e) => {
3691
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3691
+ var t = e, { locale: r, format: n } = t, i = me(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 = we("number", n)), new Intl.NumberFormat(r, i);
3694
+ return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
3695
3695
  }
3696
- ), Yi = qe(
3696
+ ), Ki = Ke(
3697
3697
  (e) => {
3698
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3698
+ var t = e, { locale: r, format: n } = t, i = me(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 = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3701
+ return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
3702
3702
  }
3703
- ), qi = qe(
3703
+ ), eo = Ke(
3704
3704
  (e) => {
3705
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3705
+ var t = e, { locale: r, format: n } = t, i = me(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 = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3710
+ return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
3711
3711
  }
3712
- ), Ki = (e = {}) => {
3712
+ ), to = (e = {}) => {
3713
3713
  var t = e, {
3714
3714
  locale: r = Q()
3715
- } = t, n = pe(t, [
3715
+ } = t, n = me(t, [
3716
3716
  "locale"
3717
3717
  ]);
3718
- return Ji(Ct({ locale: r }, n));
3719
- }, eo = (e = {}) => {
3718
+ return qi(At({ locale: r }, n));
3719
+ }, ro = (e = {}) => {
3720
3720
  var t = e, {
3721
3721
  locale: r = Q()
3722
- } = t, n = pe(t, [
3722
+ } = t, n = me(t, [
3723
3723
  "locale"
3724
3724
  ]);
3725
- return Yi(Ct({ locale: r }, n));
3726
- }, to = (e = {}) => {
3725
+ return Ki(At({ locale: r }, n));
3726
+ }, no = (e = {}) => {
3727
3727
  var t = e, {
3728
3728
  locale: r = Q()
3729
- } = t, n = pe(t, [
3729
+ } = t, n = me(t, [
3730
3730
  "locale"
3731
3731
  ]);
3732
- return qi(Ct({ locale: r }, n));
3733
- }, ro = qe(
3732
+ return eo(At({ locale: r }, n));
3733
+ }, io = Ke(
3734
3734
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3735
- (e, t = Q()) => new Pr(e, t, he().formats, {
3736
- ignoreTag: he().ignoreTag
3735
+ (e, t = Q()) => new Mr(e, t, fe().formats, {
3736
+ ignoreTag: fe().ignoreTag
3737
3737
  })
3738
- ), no = (e, t = {}) => {
3738
+ ), oo = (e, t = {}) => {
3739
3739
  var r, n, i, o;
3740
3740
  let s = t;
3741
3741
  typeof e == "object" && (s = e, e = s.id);
@@ -3748,9 +3748,9 @@ const we = (e, t) => {
3748
3748
  throw new Error(
3749
3749
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3750
3750
  );
3751
- let h = Mr(e, l);
3751
+ let h = Or(e, l);
3752
3752
  if (!h)
3753
- h = (o = (i = (n = (r = he()).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 = fe()).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 we = (e, t) => {
3759
3759
  return h;
3760
3760
  let f = h;
3761
3761
  try {
3762
- f = ro(h, l).format(a);
3762
+ f = io(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,26 +3767,27 @@ const we = (e, t) => {
3767
3767
  );
3768
3768
  }
3769
3769
  return f;
3770
- }, io = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Ki(t).format(e), ao = (e, t = Q()) => Mr(e, t), uo = fe([K, Se], () => no);
3771
- fe([K], () => io);
3772
- fe([K], () => oo);
3773
- fe([K], () => so);
3774
- fe([K, Se], () => ao);
3775
- function zt(e, t) {
3776
- Br(e, t);
3777
- }
3778
- function lo(e) {
3779
- Fi({
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({
3780
3780
  fallbackLocale: "en"
3781
3781
  }), K.set(e);
3782
3782
  }
3783
- function ho(e, t) {
3783
+ const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
3784
+ function fo(e, t) {
3784
3785
  if (e) {
3785
3786
  const r = document.createElement("style");
3786
3787
  r.innerHTML = t, e.appendChild(r);
3787
3788
  }
3788
3789
  }
3789
- function co(e, t) {
3790
+ function po(e, t) {
3790
3791
  if (!e || !t)
3791
3792
  return;
3792
3793
  const r = new URL(t);
@@ -3797,13 +3798,40 @@ function co(e, t) {
3797
3798
  console.error("There was an error while trying to load client styling from URL", n);
3798
3799
  });
3799
3800
  }
3800
- function fo(e, t, r) {
3801
- if (window.emMessageBus) {
3802
- const n = document.createElement("style");
3803
- window.emMessageBus.subscribe(t, (i) => {
3804
- n.innerHTML = i, e && e.appendChild(n);
3801
+ function mo(e, t, r, n = !1) {
3802
+ if (!window.emMessageBus)
3803
+ return;
3804
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3805
+ return r = bo(e, t), r;
3806
+ window[ae] || (window[ae] = {}), r = go(e, t);
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];
3811
+ }
3812
+ o();
3813
+ };
3814
+ return r.unsubscribe = s, r;
3815
+ }
3816
+ function bo(e, t) {
3817
+ const r = document.createElement("style");
3818
+ return window.emMessageBus.subscribe(t, (n) => {
3819
+ e && (r.innerHTML = n, e.appendChild(r));
3820
+ });
3821
+ }
3822
+ function go(e, t) {
3823
+ return window.emMessageBus.subscribe(t, (r) => {
3824
+ if (!e)
3825
+ return;
3826
+ const n = e.getRootNode(), i = window[ae];
3827
+ let o = i[t]?.sheet;
3828
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
3829
+ sheet: o,
3830
+ refCount: 1
3805
3831
  });
3806
- }
3832
+ const s = n.adoptedStyleSheets || [];
3833
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
3834
+ });
3807
3835
  }
3808
3836
  /*! *****************************************************************************
3809
3837
  Copyright (c) Microsoft Corporation.
@@ -3819,24 +3847,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3819
3847
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3820
3848
  PERFORMANCE OF THIS SOFTWARE.
3821
3849
  ***************************************************************************** */
3822
- var vt = function(e, t) {
3823
- return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3850
+ var _t = function(e, t) {
3851
+ return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3824
3852
  r.__proto__ = n;
3825
3853
  } || function(r, n) {
3826
3854
  for (var i in n)
3827
3855
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3828
- }, vt(e, t);
3856
+ }, _t(e, t);
3829
3857
  };
3830
- function He(e, t) {
3858
+ function Pe(e, t) {
3831
3859
  if (typeof t != "function" && t !== null)
3832
3860
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3833
- vt(e, t);
3861
+ _t(e, t);
3834
3862
  function r() {
3835
3863
  this.constructor = e;
3836
3864
  }
3837
3865
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3838
3866
  }
3839
- function _t(e) {
3867
+ function Et(e) {
3840
3868
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3841
3869
  if (r)
3842
3870
  return r.call(e);
@@ -3848,7 +3876,7 @@ function _t(e) {
3848
3876
  };
3849
3877
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3850
3878
  }
3851
- function Et(e, t) {
3879
+ function xt(e, t) {
3852
3880
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3853
3881
  if (!r)
3854
3882
  return e;
@@ -3868,7 +3896,7 @@ function Et(e, t) {
3868
3896
  }
3869
3897
  return o;
3870
3898
  }
3871
- function xt(e, t, r) {
3899
+ function wt(e, t, r) {
3872
3900
  if (arguments.length === 2)
3873
3901
  for (var n = 0, i = t.length, o; n < i; n++)
3874
3902
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -3877,13 +3905,13 @@ function xt(e, t, r) {
3877
3905
  function W(e) {
3878
3906
  return typeof e == "function";
3879
3907
  }
3880
- function Dr(e) {
3908
+ function $r(e) {
3881
3909
  var t = function(n) {
3882
3910
  Error.call(n), n.stack = new Error().stack;
3883
3911
  }, r = e(t);
3884
3912
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3885
3913
  }
3886
- var lt = Dr(function(e) {
3914
+ var ht = $r(function(e) {
3887
3915
  return function(r) {
3888
3916
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3889
3917
  ` + r.map(function(n, i) {
@@ -3892,13 +3920,13 @@ var lt = Dr(function(e) {
3892
3920
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3893
3921
  };
3894
3922
  });
3895
- function wt(e, t) {
3923
+ function St(e, t) {
3896
3924
  if (e) {
3897
3925
  var r = e.indexOf(t);
3898
3926
  0 <= r && e.splice(r, 1);
3899
3927
  }
3900
3928
  }
3901
- var Ke = function() {
3929
+ var et = function() {
3902
3930
  function e(t) {
3903
3931
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3904
3932
  }
@@ -3910,12 +3938,12 @@ var Ke = function() {
3910
3938
  if (s)
3911
3939
  if (this._parentage = null, Array.isArray(s))
3912
3940
  try {
3913
- for (var a = _t(s), l = a.next(); !l.done; l = a.next()) {
3941
+ for (var a = Et(s), l = a.next(); !l.done; l = a.next()) {
3914
3942
  var u = l.value;
3915
3943
  u.remove(this);
3916
3944
  }
3917
- } catch (m) {
3918
- t = { error: m };
3945
+ } catch (p) {
3946
+ t = { error: p };
3919
3947
  } finally {
3920
3948
  try {
3921
3949
  l && !l.done && (r = a.return) && r.call(a);
@@ -3930,23 +3958,23 @@ var Ke = function() {
3930
3958
  if (W(h))
3931
3959
  try {
3932
3960
  h();
3933
- } catch (m) {
3934
- o = m instanceof lt ? m.errors : [m];
3961
+ } catch (p) {
3962
+ o = p instanceof ht ? p.errors : [p];
3935
3963
  }
3936
3964
  var f = this._finalizers;
3937
3965
  if (f) {
3938
3966
  this._finalizers = null;
3939
3967
  try {
3940
- for (var c = _t(f), g = c.next(); !g.done; g = c.next()) {
3941
- var d = g.value;
3968
+ for (var c = Et(f), g = c.next(); !g.done; g = c.next()) {
3969
+ var m = g.value;
3942
3970
  try {
3943
- Zt(d);
3944
- } catch (m) {
3945
- o = o ?? [], m instanceof lt ? o = xt(xt([], Et(o)), Et(m.errors)) : o.push(m);
3971
+ Qt(m);
3972
+ } catch (p) {
3973
+ o = o ?? [], p instanceof ht ? o = wt(wt([], xt(o)), xt(p.errors)) : o.push(p);
3946
3974
  }
3947
3975
  }
3948
- } catch (m) {
3949
- n = { error: m };
3976
+ } catch (p) {
3977
+ n = { error: p };
3950
3978
  } finally {
3951
3979
  try {
3952
3980
  g && !g.done && (i = c.return) && i.call(c);
@@ -3957,13 +3985,13 @@ var Ke = function() {
3957
3985
  }
3958
3986
  }
3959
3987
  if (o)
3960
- throw new lt(o);
3988
+ throw new ht(o);
3961
3989
  }
3962
3990
  }, e.prototype.add = function(t) {
3963
3991
  var r;
3964
3992
  if (t && t !== this)
3965
3993
  if (this.closed)
3966
- Zt(t);
3994
+ Qt(t);
3967
3995
  else {
3968
3996
  if (t instanceof e) {
3969
3997
  if (t.closed || t._hasParent(this))
@@ -3980,52 +4008,52 @@ var Ke = function() {
3980
4008
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3981
4009
  }, e.prototype._removeParent = function(t) {
3982
4010
  var r = this._parentage;
3983
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
4011
+ r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
3984
4012
  }, e.prototype.remove = function(t) {
3985
4013
  var r = this._finalizers;
3986
- r && wt(r, t), t instanceof e && t._removeParent(this);
4014
+ r && St(r, t), t instanceof e && t._removeParent(this);
3987
4015
  }, e.EMPTY = function() {
3988
4016
  var t = new e();
3989
4017
  return t.closed = !0, t;
3990
4018
  }(), e;
3991
- }(), $r = Ke.EMPTY;
3992
- function Ur(e) {
3993
- return e instanceof Ke || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
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);
3994
4022
  }
3995
- function Zt(e) {
4023
+ function Qt(e) {
3996
4024
  W(e) ? e() : e.unsubscribe();
3997
4025
  }
3998
- var po = {
4026
+ var yo = {
3999
4027
  Promise: void 0
4000
- }, mo = {
4028
+ }, vo = {
4001
4029
  setTimeout: function(e, t) {
4002
4030
  for (var r = [], n = 2; n < arguments.length; n++)
4003
4031
  r[n - 2] = arguments[n];
4004
- return setTimeout.apply(void 0, xt([e, t], Et(r)));
4032
+ return setTimeout.apply(void 0, wt([e, t], xt(r)));
4005
4033
  },
4006
4034
  clearTimeout: function(e) {
4007
4035
  return clearTimeout(e);
4008
4036
  },
4009
4037
  delegate: void 0
4010
4038
  };
4011
- function bo(e) {
4012
- mo.setTimeout(function() {
4039
+ function _o(e) {
4040
+ vo.setTimeout(function() {
4013
4041
  throw e;
4014
4042
  });
4015
4043
  }
4016
- function Qt() {
4044
+ function Yt() {
4017
4045
  }
4018
- function Ge(e) {
4046
+ function je(e) {
4019
4047
  e();
4020
4048
  }
4021
- var Fr = function(e) {
4022
- He(t, e);
4049
+ var Gr = function(e) {
4050
+ Pe(t, e);
4023
4051
  function t(r) {
4024
4052
  var n = e.call(this) || this;
4025
- return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = vo, n;
4053
+ return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = wo, n;
4026
4054
  }
4027
4055
  return t.create = function(r, n, i) {
4028
- return new St(r, n, i);
4056
+ return new Tt(r, n, i);
4029
4057
  }, t.prototype.next = function(r) {
4030
4058
  this.isStopped || this._next(r);
4031
4059
  }, t.prototype.error = function(r) {
@@ -4049,7 +4077,7 @@ var Fr = function(e) {
4049
4077
  this.unsubscribe();
4050
4078
  }
4051
4079
  }, t;
4052
- }(Ke), go = function() {
4080
+ }(et), Eo = function() {
4053
4081
  function e(t) {
4054
4082
  this.partialObserver = t;
4055
4083
  }
@@ -4059,7 +4087,7 @@ var Fr = function(e) {
4059
4087
  try {
4060
4088
  r.next(t);
4061
4089
  } catch (n) {
4062
- Ne(n);
4090
+ Re(n);
4063
4091
  }
4064
4092
  }, e.prototype.error = function(t) {
4065
4093
  var r = this.partialObserver;
@@ -4067,50 +4095,50 @@ var Fr = function(e) {
4067
4095
  try {
4068
4096
  r.error(t);
4069
4097
  } catch (n) {
4070
- Ne(n);
4098
+ Re(n);
4071
4099
  }
4072
4100
  else
4073
- Ne(t);
4101
+ Re(t);
4074
4102
  }, e.prototype.complete = function() {
4075
4103
  var t = this.partialObserver;
4076
4104
  if (t.complete)
4077
4105
  try {
4078
4106
  t.complete();
4079
4107
  } catch (r) {
4080
- Ne(r);
4108
+ Re(r);
4081
4109
  }
4082
4110
  }, e;
4083
- }(), St = function(e) {
4084
- He(t, e);
4111
+ }(), Tt = function(e) {
4112
+ Pe(t, e);
4085
4113
  function t(r, n, i) {
4086
4114
  var o = e.call(this) || this, s;
4087
4115
  return W(r) || !r ? s = {
4088
4116
  next: r ?? void 0,
4089
4117
  error: n ?? void 0,
4090
4118
  complete: i ?? void 0
4091
- } : s = r, o.destination = new go(s), o;
4119
+ } : s = r, o.destination = new Eo(s), o;
4092
4120
  }
4093
4121
  return t;
4094
- }(Fr);
4095
- function Ne(e) {
4096
- bo(e);
4122
+ }(Gr);
4123
+ function Re(e) {
4124
+ _o(e);
4097
4125
  }
4098
- function yo(e) {
4126
+ function xo(e) {
4099
4127
  throw e;
4100
4128
  }
4101
- var vo = {
4129
+ var wo = {
4102
4130
  closed: !0,
4103
- next: Qt,
4104
- error: yo,
4105
- complete: Qt
4106
- }, _o = function() {
4131
+ next: Yt,
4132
+ error: xo,
4133
+ complete: Yt
4134
+ }, So = function() {
4107
4135
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4108
4136
  }();
4109
- function Eo(e) {
4137
+ function To(e) {
4110
4138
  return e;
4111
4139
  }
4112
- function xo(e) {
4113
- return e.length === 0 ? Eo : e.length === 1 ? e[0] : function(r) {
4140
+ function Co(e) {
4141
+ return e.length === 0 ? To : e.length === 1 ? e[0] : function(r) {
4114
4142
  return e.reduce(function(n, i) {
4115
4143
  return i(n);
4116
4144
  }, r);
@@ -4124,8 +4152,8 @@ var Jt = function() {
4124
4152
  var r = new e();
4125
4153
  return r.source = this, r.operator = t, r;
4126
4154
  }, e.prototype.subscribe = function(t, r, n) {
4127
- var i = this, o = So(t) ? t : new St(t, r, n);
4128
- return Ge(function() {
4155
+ var i = this, o = Ao(t) ? t : new Tt(t, r, n);
4156
+ return je(function() {
4129
4157
  var s = i, a = s.operator, l = s.source;
4130
4158
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4131
4159
  }), o;
@@ -4137,8 +4165,8 @@ var Jt = function() {
4137
4165
  }
4138
4166
  }, e.prototype.forEach = function(t, r) {
4139
4167
  var n = this;
4140
- return r = Yt(r), new r(function(i, o) {
4141
- var s = new St({
4168
+ return r = qt(r), new r(function(i, o) {
4169
+ var s = new Tt({
4142
4170
  next: function(a) {
4143
4171
  try {
4144
4172
  t(a);
@@ -4154,15 +4182,15 @@ var Jt = function() {
4154
4182
  }, e.prototype._subscribe = function(t) {
4155
4183
  var r;
4156
4184
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4157
- }, e.prototype[_o] = function() {
4185
+ }, e.prototype[So] = function() {
4158
4186
  return this;
4159
4187
  }, e.prototype.pipe = function() {
4160
4188
  for (var t = [], r = 0; r < arguments.length; r++)
4161
4189
  t[r] = arguments[r];
4162
- return xo(t)(this);
4190
+ return Co(t)(this);
4163
4191
  }, e.prototype.toPromise = function(t) {
4164
4192
  var r = this;
4165
- return t = Yt(t), new t(function(n, i) {
4193
+ return t = qt(t), new t(function(n, i) {
4166
4194
  var o;
4167
4195
  r.subscribe(function(s) {
4168
4196
  return o = s;
@@ -4176,40 +4204,40 @@ var Jt = function() {
4176
4204
  return new e(t);
4177
4205
  }, e;
4178
4206
  }();
4179
- function Yt(e) {
4207
+ function qt(e) {
4180
4208
  var t;
4181
- return (t = e ?? po.Promise) !== null && t !== void 0 ? t : Promise;
4209
+ return (t = e ?? yo.Promise) !== null && t !== void 0 ? t : Promise;
4182
4210
  }
4183
- function wo(e) {
4211
+ function Ho(e) {
4184
4212
  return e && W(e.next) && W(e.error) && W(e.complete);
4185
4213
  }
4186
- function So(e) {
4187
- return e && e instanceof Fr || wo(e) && Ur(e);
4214
+ function Ao(e) {
4215
+ return e && e instanceof Gr || Ho(e) && Fr(e);
4188
4216
  }
4189
- var To = Dr(function(e) {
4217
+ var Po = $r(function(e) {
4190
4218
  return function() {
4191
4219
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4192
4220
  };
4193
- }), Gr = function(e) {
4194
- He(t, e);
4221
+ }), jr = function(e) {
4222
+ Pe(t, e);
4195
4223
  function t() {
4196
4224
  var r = e.call(this) || this;
4197
4225
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4198
4226
  }
4199
4227
  return t.prototype.lift = function(r) {
4200
- var n = new qt(this, this);
4228
+ var n = new Kt(this, this);
4201
4229
  return n.operator = r, n;
4202
4230
  }, t.prototype._throwIfClosed = function() {
4203
4231
  if (this.closed)
4204
- throw new To();
4232
+ throw new Po();
4205
4233
  }, t.prototype.next = function(r) {
4206
4234
  var n = this;
4207
- Ge(function() {
4235
+ je(function() {
4208
4236
  var i, o;
4209
4237
  if (n._throwIfClosed(), !n.isStopped) {
4210
4238
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4211
4239
  try {
4212
- for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4240
+ for (var s = Et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4213
4241
  var l = a.value;
4214
4242
  l.next(r);
4215
4243
  }
@@ -4227,7 +4255,7 @@ var To = Dr(function(e) {
4227
4255
  });
4228
4256
  }, t.prototype.error = function(r) {
4229
4257
  var n = this;
4230
- Ge(function() {
4258
+ je(function() {
4231
4259
  if (n._throwIfClosed(), !n.isStopped) {
4232
4260
  n.hasError = n.isStopped = !0, n.thrownError = r;
4233
4261
  for (var i = n.observers; i.length; )
@@ -4236,7 +4264,7 @@ var To = Dr(function(e) {
4236
4264
  });
4237
4265
  }, t.prototype.complete = function() {
4238
4266
  var r = this;
4239
- Ge(function() {
4267
+ je(function() {
4240
4268
  if (r._throwIfClosed(), !r.isStopped) {
4241
4269
  r.isStopped = !0;
4242
4270
  for (var n = r.observers; n.length; )
@@ -4258,8 +4286,8 @@ var To = Dr(function(e) {
4258
4286
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4259
4287
  }, t.prototype._innerSubscribe = function(r) {
4260
4288
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4261
- return o || s ? $r : (this.currentObservers = null, a.push(r), new Ke(function() {
4262
- n.currentObservers = null, wt(a, r);
4289
+ return o || s ? Ur : (this.currentObservers = null, a.push(r), new et(function() {
4290
+ n.currentObservers = null, St(a, r);
4263
4291
  }));
4264
4292
  }, t.prototype._checkFinalizedStatuses = function(r) {
4265
4293
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -4268,10 +4296,10 @@ var To = Dr(function(e) {
4268
4296
  var r = new Jt();
4269
4297
  return r.source = this, r;
4270
4298
  }, t.create = function(r, n) {
4271
- return new qt(r, n);
4299
+ return new Kt(r, n);
4272
4300
  }, t;
4273
- }(Jt), qt = function(e) {
4274
- He(t, e);
4301
+ }(Jt), Kt = function(e) {
4302
+ Pe(t, e);
4275
4303
  function t(r, n) {
4276
4304
  var i = e.call(this) || this;
4277
4305
  return i.destination = r, i.source = n, i;
@@ -4287,17 +4315,17 @@ var To = Dr(function(e) {
4287
4315
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4288
4316
  }, t.prototype._subscribe = function(r) {
4289
4317
  var n, i;
4290
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
4318
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
4291
4319
  }, t;
4292
- }(Gr), jr = {
4320
+ }(jr), kr = {
4293
4321
  now: function() {
4294
- return (jr.delegate || Date).now();
4322
+ return (kr.delegate || Date).now();
4295
4323
  },
4296
4324
  delegate: void 0
4297
- }, Ho = function(e) {
4298
- He(t, e);
4325
+ }, Mo = function(e) {
4326
+ Pe(t, e);
4299
4327
  function t(r, n, i) {
4300
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
4328
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
4301
4329
  var o = e.call(this) || this;
4302
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;
4303
4331
  }
@@ -4317,46 +4345,46 @@ var To = Dr(function(e) {
4317
4345
  u && o.splice(0, u + 1);
4318
4346
  }
4319
4347
  }, t;
4320
- }(Gr);
4321
- const Kt = [], er = {}, Co = (e, t = 0) => {
4322
- if (Kt.indexOf(e) == -1) {
4323
- const r = new Ho(t);
4324
- er[e] = r, Kt.push(e);
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);
4325
4353
  }
4326
- return er[e];
4354
+ return tr[e];
4327
4355
  };
4328
- let je = "en-UK", kr = "true", ye = 2, ve = "";
4329
- const Ao = (e, t, r, n) => {
4330
- je = e || "en-UK", kr = t || "true", ye = +n || 0, ve = r || "";
4331
- }, Re = (e, t, r = {}, n = !0) => {
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) => {
4332
4360
  const i = {
4333
- maximumFractionDigits: ye,
4334
- minimumFractionDigits: ye,
4361
+ maximumFractionDigits: Ee,
4362
+ minimumFractionDigits: Ee,
4335
4363
  ...n && {
4336
4364
  style: "currency",
4337
4365
  currency: t,
4338
- currencyDisplay: kr === "true" ? "symbol" : "code"
4366
+ currencyDisplay: Vr === "true" ? "symbol" : "code"
4339
4367
  },
4340
4368
  ...r
4341
4369
  };
4342
4370
  try {
4343
- if (!ve)
4344
- return new Intl.NumberFormat(je, i).format(e);
4345
- const s = new Intl.NumberFormat(je, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, f) => (f.type === "currency" ? h.currencyPart = f : h.amountPart += f.value, h), { currencyPart: "", amountPart: "" });
4346
- return ve === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
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: "" });
4374
+ return xe === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
4347
4375
  } catch (o) {
4348
4376
  console.info(o);
4349
- const s = new Intl.NumberFormat(je, {
4350
- maximumFractionDigits: ye,
4351
- minimumFractionDigits: ye
4377
+ const s = new Intl.NumberFormat(ke, {
4378
+ maximumFractionDigits: Ee,
4379
+ minimumFractionDigits: Ee
4352
4380
  }).format(e);
4353
- return ve ? ve === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4381
+ return xe ? xe === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4354
4382
  }
4355
4383
  };
4356
- window.emWidgets = { topic: Co };
4357
- const De = (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: 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));
4358
4386
  String(Number.MAX_SAFE_INTEGER).length;
4359
- const tr = {
4387
+ const rr = {
4360
4388
  en: {
4361
4389
  generalMin: "Min",
4362
4390
  generalMax: "Max",
@@ -4394,28 +4422,28 @@ const tr = {
4394
4422
  carouselSubtitle: "Les moyens de paiement les plus populaires"
4395
4423
  }
4396
4424
  };
4397
- function Po(e) {
4398
- Qr(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 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)}');
4399
4427
  }
4400
- function rr(e, t, r) {
4428
+ function nr(e, t, r) {
4401
4429
  const n = e.slice();
4402
4430
  return n[40] = t[r], n[42] = r, n;
4403
4431
  }
4404
- function nr(e, t, r) {
4432
+ function ir(e, t, r) {
4405
4433
  const n = e.slice();
4406
4434
  return n[43] = t[r], n[42] = r, n;
4407
4435
  }
4408
- function Mo(e) {
4436
+ function Io(e) {
4409
4437
  let t, r = (
4410
4438
  /*$_*/
4411
4439
  e[8]("noFavoritePaymentMethods") + ""
4412
4440
  ), n;
4413
4441
  return {
4414
4442
  c() {
4415
- t = T("p"), n = F(r), P(t, "class", "NoFavoritePaymentMethods");
4443
+ t = S("p"), n = G(r), H(t, "class", "NoFavoritePaymentMethods");
4416
4444
  },
4417
4445
  m(i, o) {
4418
- j(i, t, o), v(t, n);
4446
+ k(i, t, o), _(t, n);
4419
4447
  },
4420
4448
  p(i, o) {
4421
4449
  o[0] & /*$_*/
@@ -4423,55 +4451,55 @@ function Mo(e) {
4423
4451
  i[8]("noFavoritePaymentMethods") + "") && V(n, r);
4424
4452
  },
4425
4453
  d(i) {
4426
- i && D(t);
4454
+ i && $(t);
4427
4455
  }
4428
4456
  };
4429
4457
  }
4430
- function Oo(e) {
4431
- let t, r = !De(
4458
+ function No(e) {
4459
+ let t, r = !$e(
4432
4460
  /*userAgent*/
4433
4461
  e[9]
4434
4462
  ) && /*promotedPaymentMethods*/
4435
- e[5].length > 1, n, i, o, s = !De(
4463
+ e[5].length > 1, n, i, o, s = !$e(
4436
4464
  /*userAgent*/
4437
4465
  e[9]
4438
4466
  ) && /*promotedPaymentMethods*/
4439
- e[5].length > 1, a, l, u, h, f, c = r && ir(e), g = Ie(
4467
+ e[5].length > 1, a, l, u, h, f, c = r && or(e), g = Ie(
4440
4468
  /*promotedPaymentMethods*/
4441
4469
  e[5]
4442
- ), d = [];
4443
- for (let p = 0; p < g.length; p += 1)
4444
- d[p] = or(nr(e, g, p));
4445
- let m = s && sr(e), _ = Ie(Array(
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(
4446
4474
  /*promotedPaymentMethods*/
4447
4475
  e[5].length
4448
- )), E = [];
4449
- for (let p = 0; p < _.length; p += 1)
4450
- E[p] = ar(rr(e, _, p));
4476
+ )), T = [];
4477
+ for (let d = 0; d < E.length; d += 1)
4478
+ T[d] = ur(nr(e, E, d));
4451
4479
  return {
4452
4480
  c() {
4453
- t = T("div"), c && c.c(), n = R(), i = T("div");
4454
- for (let p = 0; p < d.length; p += 1)
4455
- d[p].c();
4456
- o = R(), m && m.c(), l = R(), u = T("div");
4457
- for (let p = 0; p < E.length; p += 1)
4458
- E[p].c();
4459
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ve(() => (
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();
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();
4487
+ H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), We(() => (
4460
4488
  /*div1_elementresize_handler*/
4461
4489
  e[28].call(t)
4462
- )), P(u, "class", "VisualDotIndicator");
4490
+ )), H(u, "class", "VisualDotIndicator");
4463
4491
  },
4464
- m(p, S) {
4465
- j(p, t, S), c && c.m(t, null), v(t, n), v(t, i);
4466
- for (let y = 0; y < d.length; y += 1)
4467
- d[y] && d[y].m(i, null);
4468
- e[26](i), v(t, o), m && m.m(t, null), a = en(
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(
4469
4497
  t,
4470
4498
  /*div1_elementresize_handler*/
4471
4499
  e[28].bind(t)
4472
- ), j(p, l, S), j(p, u, S);
4473
- for (let y = 0; y < E.length; y += 1)
4474
- E[y] && E[y].m(u, null);
4500
+ ), k(d, l, v), k(d, u, v);
4501
+ for (let y = 0; y < T.length; y += 1)
4502
+ T[y] && T[y].m(u, null);
4475
4503
  h || (f = [
4476
4504
  Z(
4477
4505
  i,
@@ -4493,87 +4521,87 @@ function Oo(e) {
4493
4521
  )
4494
4522
  ], h = !0);
4495
4523
  },
4496
- p(p, S) {
4497
- if (S[0] & /*promotedPaymentMethods*/
4498
- 32 && (r = !De(
4524
+ p(d, v) {
4525
+ if (v[0] & /*promotedPaymentMethods*/
4526
+ 32 && (r = !$e(
4499
4527
  /*userAgent*/
4500
- p[9]
4528
+ d[9]
4501
4529
  ) && /*promotedPaymentMethods*/
4502
- p[5].length > 1), r ? c ? c.p(p, S) : (c = ir(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
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*/
4503
4531
  1521) {
4504
4532
  g = Ie(
4505
4533
  /*promotedPaymentMethods*/
4506
- p[5]
4534
+ d[5]
4507
4535
  );
4508
4536
  let y;
4509
4537
  for (y = 0; y < g.length; y += 1) {
4510
- const A = nr(p, g, y);
4511
- d[y] ? d[y].p(A, S) : (d[y] = or(A), d[y].c(), d[y].m(i, null));
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));
4512
4540
  }
4513
- for (; y < d.length; y += 1)
4514
- d[y].d(1);
4515
- d.length = g.length;
4541
+ for (; y < m.length; y += 1)
4542
+ m[y].d(1);
4543
+ m.length = g.length;
4516
4544
  }
4517
- if (S[0] & /*promotedPaymentMethods*/
4518
- 32 && (s = !De(
4545
+ if (v[0] & /*promotedPaymentMethods*/
4546
+ 32 && (s = !$e(
4519
4547
  /*userAgent*/
4520
- p[9]
4548
+ d[9]
4521
4549
  ) && /*promotedPaymentMethods*/
4522
- p[5].length > 1), s ? m ? m.p(p, S) : (m = sr(p), m.c(), m.m(t, null)) : m && (m.d(1), m = null), S[0] & /*activeIndex, 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*/
4523
4551
  96) {
4524
- _ = Ie(Array(
4552
+ E = Ie(Array(
4525
4553
  /*promotedPaymentMethods*/
4526
- p[5].length
4554
+ d[5].length
4527
4555
  ));
4528
4556
  let y;
4529
- for (y = 0; y < _.length; y += 1) {
4530
- const A = rr(p, _, y);
4531
- E[y] ? E[y].p(A, S) : (E[y] = ar(A), E[y].c(), E[y].m(u, null));
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));
4532
4560
  }
4533
- for (; y < E.length; y += 1)
4534
- E[y].d(1);
4535
- E.length = _.length;
4561
+ for (; y < T.length; y += 1)
4562
+ T[y].d(1);
4563
+ T.length = E.length;
4536
4564
  }
4537
4565
  },
4538
- d(p) {
4539
- p && (D(t), D(l), D(u)), c && c.d(), Ot(d, p), e[26](null), m && m.d(), a(), Ot(E, p), h = !1, ce(f);
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);
4540
4568
  }
4541
4569
  };
4542
4570
  }
4543
- function ir(e) {
4571
+ function or(e) {
4544
4572
  let t, r, n;
4545
4573
  return {
4546
4574
  c() {
4547
- t = T("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>', P(t, "class", "NavigationArrow Left");
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");
4548
4576
  },
4549
4577
  m(i, o) {
4550
- j(i, t, o), r || (n = Z(
4578
+ k(i, t, o), r || (n = Z(
4551
4579
  t,
4552
4580
  "click",
4553
4581
  /*click_handler*/
4554
4582
  e[24]
4555
4583
  ), r = !0);
4556
4584
  },
4557
- p: L,
4585
+ p: N,
4558
4586
  d(i) {
4559
- i && D(t), r = !1, n();
4587
+ i && $(t), r = !1, n();
4560
4588
  }
4561
4589
  };
4562
4590
  }
4563
- function or(e) {
4591
+ function sr(e) {
4564
4592
  let t, r, n, i, o, s, a, l, u, h = (
4565
4593
  /*method*/
4566
4594
  (e[43].Label || /*method*/
4567
4595
  e[43].Name) + ""
4568
- ), f, c, g, d, m = (
4596
+ ), f, c, g, m, p = (
4569
4597
  /*$_*/
4570
4598
  e[8](`${/*methodtype*/
4571
4599
  e[0]}${/*method*/
4572
4600
  e[43].ProcessingTime}`) + ""
4573
- ), _, E, p, S, y, A = (
4601
+ ), E, T, d, v, y, A = (
4574
4602
  /*$_*/
4575
4603
  e[8]("generalMin") + ""
4576
- ), H, $, ee = Re(
4604
+ ), L, M, U = De(
4577
4605
  /*method*/
4578
4606
  e[43].DisplayCurrency.MinAmountLimit,
4579
4607
  /*method*/
@@ -4596,10 +4624,10 @@ function or(e) {
4596
4624
  e[7]
4597
4625
  )
4598
4626
  }
4599
- ) + "", te, Ce, J, Y = (
4627
+ ) + "", be, ge, Y, ee = (
4600
4628
  /*$_*/
4601
4629
  e[8]("generalMax") + ""
4602
- ), k, Ae, re = Re(
4630
+ ), te, X, re = De(
4603
4631
  /*method*/
4604
4632
  e[43].DisplayCurrency.MaxAmountLimit,
4605
4633
  /*method*/
@@ -4622,8 +4650,8 @@ function or(e) {
4622
4650
  e[7]
4623
4651
  )
4624
4652
  }
4625
- ) + "", me, Pe, X, de, Me;
4626
- function et() {
4653
+ ) + "", ye, Me, ne, J, Oe;
4654
+ function tt() {
4627
4655
  return (
4628
4656
  /*click_handler_1*/
4629
4657
  e[25](
@@ -4636,31 +4664,31 @@ function or(e) {
4636
4664
  }
4637
4665
  return {
4638
4666
  c() {
4639
- t = T("div"), r = T("div"), n = T("img"), s = R(), a = T("div"), l = T("div"), u = T("span"), f = F(h), c = R(), g = T("div"), d = T("span"), _ = F(m), E = R(), p = T("div"), S = T("span"), y = T("span"), H = F(A), $ = R(), te = F(ee), Ce = R(), J = T("span"), k = F(Y), Ae = R(), me = F(re), Pe = R(), Mt(n.src, i = /*method*/
4640
- e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
4641
- e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(g, "class", "MethodProcessingTime"), P(S, "class", "Limits"), P(p, "class", "MethodLimits"), P(a, "class", "MethodInfo"), P(t, "class", X = `CarouselCardWrapper ${/*index*/
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*/
4642
4670
  e[42] === /*activeIndex*/
4643
4671
  e[6] ? "active" : ""}`);
4644
4672
  },
4645
4673
  m(q, I) {
4646
- j(q, t, I), v(t, r), v(r, n), v(t, s), v(t, a), v(a, l), v(l, u), v(u, f), v(a, c), v(a, g), v(g, d), v(d, _), v(a, E), v(a, p), v(p, S), v(S, y), v(y, H), v(y, $), v(y, te), v(S, Ce), v(S, J), v(J, k), v(J, Ae), v(J, me), v(t, Pe), de || (Me = Z(t, "click", et), de = !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, 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);
4647
4675
  },
4648
4676
  p(q, I) {
4649
4677
  e = q, I[0] & /*promotedPaymentMethods*/
4650
- 32 && !Mt(n.src, i = /*method*/
4651
- e[43].LogoUrl) && P(n, "src", i), I[0] & /*promotedPaymentMethods*/
4678
+ 32 && !Ot(n.src, i = /*method*/
4679
+ e[43].LogoUrl) && H(n, "src", i), I[0] & /*promotedPaymentMethods*/
4652
4680
  32 && o !== (o = /*method*/
4653
- e[43].Label) && P(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4681
+ e[43].Label) && H(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4654
4682
  32 && h !== (h = /*method*/
4655
4683
  (e[43].Label || /*method*/
4656
4684
  e[43].Name) + "") && V(f, h), I[0] & /*$_, methodtype, promotedPaymentMethods*/
4657
- 289 && m !== (m = /*$_*/
4685
+ 289 && p !== (p = /*$_*/
4658
4686
  e[8](`${/*methodtype*/
4659
4687
  e[0]}${/*method*/
4660
- e[43].ProcessingTime}`) + "") && V(_, m), I[0] & /*$_*/
4688
+ e[43].ProcessingTime}`) + "") && V(E, p), I[0] & /*$_*/
4661
4689
  256 && A !== (A = /*$_*/
4662
- e[8]("generalMin") + "") && V(H, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4663
- 176 && ee !== (ee = Re(
4690
+ e[8]("generalMin") + "") && V(L, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4691
+ 176 && U !== (U = De(
4664
4692
  /*method*/
4665
4693
  e[43].DisplayCurrency.MinAmountLimit,
4666
4694
  /*method*/
@@ -4683,10 +4711,10 @@ function or(e) {
4683
4711
  e[7]
4684
4712
  )
4685
4713
  }
4686
- ) + "") && V(te, ee), I[0] & /*$_*/
4687
- 256 && Y !== (Y = /*$_*/
4688
- e[8]("generalMax") + "") && V(k, Y), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4689
- 176 && re !== (re = Re(
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(
4690
4718
  /*method*/
4691
4719
  e[43].DisplayCurrency.MaxAmountLimit,
4692
4720
  /*method*/
@@ -4709,59 +4737,59 @@ function or(e) {
4709
4737
  e[7]
4710
4738
  )
4711
4739
  }
4712
- ) + "") && V(me, re), I[0] & /*activeIndex*/
4713
- 64 && X !== (X = `CarouselCardWrapper ${/*index*/
4740
+ ) + "") && V(ye, re), I[0] & /*activeIndex*/
4741
+ 64 && ne !== (ne = `CarouselCardWrapper ${/*index*/
4714
4742
  e[42] === /*activeIndex*/
4715
- e[6] ? "active" : ""}`) && P(t, "class", X);
4743
+ e[6] ? "active" : ""}`) && H(t, "class", ne);
4716
4744
  },
4717
4745
  d(q) {
4718
- q && D(t), de = !1, Me();
4746
+ q && $(t), J = !1, Oe();
4719
4747
  }
4720
4748
  };
4721
4749
  }
4722
- function sr(e) {
4750
+ function ar(e) {
4723
4751
  let t, r, n;
4724
4752
  return {
4725
4753
  c() {
4726
- t = T("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>', P(t, "class", "NavigationArrow Right");
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");
4727
4755
  },
4728
4756
  m(i, o) {
4729
- j(i, t, o), r || (n = Z(
4757
+ k(i, t, o), r || (n = Z(
4730
4758
  t,
4731
4759
  "click",
4732
4760
  /*click_handler_2*/
4733
4761
  e[27]
4734
4762
  ), r = !0);
4735
4763
  },
4736
- p: L,
4764
+ p: N,
4737
4765
  d(i) {
4738
- i && D(t), r = !1, n();
4766
+ i && $(t), r = !1, n();
4739
4767
  }
4740
4768
  };
4741
4769
  }
4742
- function ar(e) {
4770
+ function ur(e) {
4743
4771
  let t, r;
4744
4772
  return {
4745
4773
  c() {
4746
- t = T("div"), P(t, "class", r = `Dot ${/*index*/
4774
+ t = S("div"), H(t, "class", r = `Dot ${/*index*/
4747
4775
  e[42] === /*activeIndex*/
4748
4776
  e[6] ? "active" : ""}`);
4749
4777
  },
4750
4778
  m(n, i) {
4751
- j(n, t, i);
4779
+ k(n, t, i);
4752
4780
  },
4753
4781
  p(n, i) {
4754
4782
  i[0] & /*activeIndex*/
4755
4783
  64 && r !== (r = `Dot ${/*index*/
4756
4784
  n[42] === /*activeIndex*/
4757
- n[6] ? "active" : ""}`) && P(t, "class", r);
4785
+ n[6] ? "active" : ""}`) && H(t, "class", r);
4758
4786
  },
4759
4787
  d(n) {
4760
- n && D(t);
4788
+ n && $(t);
4761
4789
  }
4762
4790
  };
4763
4791
  }
4764
- function Bo(e) {
4792
+ function Ro(e) {
4765
4793
  let t, r, n, i, o = (
4766
4794
  /*$_*/
4767
4795
  e[8]("carouselTitle") + ""
@@ -4769,68 +4797,68 @@ function Bo(e) {
4769
4797
  /*$_*/
4770
4798
  e[8]("carouselSubtitle") + ""
4771
4799
  ), h, f;
4772
- function c(m, _) {
4800
+ function c(p, E) {
4773
4801
  return (
4774
4802
  /*promotedPaymentMethods*/
4775
- m[5].length > 0 ? Oo : Mo
4803
+ p[5].length > 0 ? No : Io
4776
4804
  );
4777
4805
  }
4778
- let g = c(e), d = g(e);
4806
+ let g = c(e), m = g(e);
4779
4807
  return {
4780
4808
  c() {
4781
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), s = F(o), a = R(), l = T("p"), h = F(u), f = R(), d.c(), P(n, "class", "CarouselHeader"), P(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(), m.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
4782
4810
  },
4783
- m(m, _) {
4784
- j(m, t, _), v(t, r), v(r, n), v(n, i), v(i, s), v(n, a), v(n, l), v(l, h), v(r, f), d.m(r, null), e[29](t);
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);
4785
4813
  },
4786
- p(m, _) {
4787
- _[0] & /*$_*/
4814
+ p(p, E) {
4815
+ E[0] & /*$_*/
4788
4816
  256 && o !== (o = /*$_*/
4789
- m[8]("carouselTitle") + "") && V(s, o), _[0] & /*$_*/
4817
+ p[8]("carouselTitle") + "") && V(s, o), E[0] & /*$_*/
4790
4818
  256 && u !== (u = /*$_*/
4791
- m[8]("carouselSubtitle") + "") && V(h, u), g === (g = c(m)) && d ? d.p(m, _) : (d.d(1), d = g(m), d && (d.c(), d.m(r, null)));
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)));
4792
4820
  },
4793
- i: L,
4794
- o: L,
4795
- d(m) {
4796
- m && D(t), d.d(), e[29](null);
4821
+ i: N,
4822
+ o: N,
4823
+ d(p) {
4824
+ p && $(t), m.d(), e[29](null);
4797
4825
  }
4798
4826
  };
4799
4827
  }
4800
- function Io(e, t, r) {
4828
+ function Do(e, t, r) {
4801
4829
  let n, i;
4802
- Zr(e, uo, (b) => r(8, i = b));
4803
- 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, m = {}, _, E = [], p = 0, S = !0, y = 0, A = !1, H, $, ee = window.navigator.userAgent;
4804
- const te = (b) => {
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) => {
4805
4833
  const { data: { type: O } = {} } = b || {};
4806
4834
  switch (O) {
4807
4835
  case "PromotedPaymentMethods": {
4808
- r(5, E = b?.data?.promotedPaymentMethods), r(6, p = Math.floor((E.length - 1) / 2));
4836
+ r(5, d = b?.data?.promotedPaymentMethods), r(6, v = Math.floor((d.length - 1) / 2));
4809
4837
  break;
4810
4838
  }
4811
4839
  case "PrecisionCurrenciesMap": {
4812
- r(4, m = b?.data?.payload || {});
4840
+ r(4, p = b?.data?.payload || {});
4813
4841
  break;
4814
4842
  }
4815
4843
  }
4816
4844
  };
4817
- Object.keys(tr).forEach((b) => {
4818
- zt(b, tr[b]);
4845
+ Object.keys(rr).forEach((b) => {
4846
+ Zt(b, rr[b]);
4819
4847
  });
4820
- const Ce = () => {
4821
- let b = d;
4848
+ const Y = () => {
4849
+ let b = m;
4822
4850
  if (b)
4823
4851
  return fetch(b).then((O) => O.json()).then((O) => {
4824
- Object.keys(O).forEach((U) => {
4825
- zt(U, O[U]);
4852
+ Object.keys(O).forEach((F) => {
4853
+ Zt(F, O[F]);
4826
4854
  });
4827
4855
  }).catch((O) => {
4828
4856
  console.log(O);
4829
4857
  });
4830
- }, J = () => {
4831
- lo(o);
4832
- }, Y = (b, O) => {
4833
- r(6, p = O), r(2, H.style.transform = k(), H), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
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(
4834
4862
  "selectPayMeth",
4835
4863
  {
4836
4864
  detail: b,
@@ -4839,78 +4867,78 @@ function Io(e, t, r) {
4839
4867
  composed: !0
4840
4868
  }
4841
4869
  ));
4842
- }, k = () => {
4843
- if (E.length == 1)
4870
+ }, X = () => {
4871
+ if (d.length == 1)
4844
4872
  return "translateX(0px)";
4845
- const U = 78 + 5, At = U * E.length;
4846
- let tt;
4847
- E.length % 2 === 1 ? tt = Math.floor(E.length / 2) : tt = Math.floor(E.length / 2) - 0.5;
4848
- let Wr = $ - At;
4849
- const Xr = tt - p;
4850
- return `translateX(${Wr / 2 + Xr * U - 20}px)`;
4851
- }, Ae = (b) => {
4852
- y = b.touches[0].clientX, A = !0, H.classList.add("dragging");
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)`;
4853
4879
  }, re = (b) => {
4854
- if (!A)
4880
+ A = b.touches[0].clientX, L = !0, M.classList.add("dragging");
4881
+ }, ye = (b) => {
4882
+ if (!L)
4855
4883
  return;
4856
4884
  const O = b.touches[0].clientX;
4857
- Math.abs(O - y) > 10 && b.preventDefault();
4858
- }, me = (b) => {
4859
- if (!A)
4885
+ Math.abs(O - A) > 10 && b.preventDefault();
4886
+ }, Me = (b) => {
4887
+ if (!L)
4860
4888
  return;
4861
- A = !1, H.classList.remove("dragging");
4862
- const O = b.changedTouches[0].clientX, U = y - O;
4863
- Math.abs(U) > 50 && (U > 0 && p < E.length - 1 ? r(6, p++, p) : U < 0 && p > 0 && r(6, p--, p), r(2, H.style.transform = k(), H));
4864
- }, Pe = () => {
4865
- S && (r(2, H.style.transform = k(), H), S = !1);
4866
- }, X = (b) => {
4867
- b === "next" && p < E.length - 1 ? r(6, p++, p) : b === "prev" && p > 0 && r(6, p--, p), r(2, H.style.transform = k(), H);
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);
4868
4896
  };
4869
- nn(() => (Ao(s, a, l, u), window.addEventListener("message", te), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), H && k(), () => {
4870
- window.removeEventListener("message", te);
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);
4871
4899
  }));
4872
- const de = () => X("prev"), Me = (b, O) => Y(b, O);
4873
- function et(b) {
4874
- ke[b ? "unshift" : "push"](() => {
4875
- H = b, r(2, H);
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);
4876
4904
  });
4877
4905
  }
4878
- const q = () => X("next");
4879
- function I() {
4880
- $ = this.clientWidth, r(3, $);
4906
+ const I = () => J("next");
4907
+ function Wr() {
4908
+ U = this.clientWidth, r(3, U);
4881
4909
  }
4882
- function Vr(b) {
4883
- ke[b ? "unshift" : "push"](() => {
4884
- _ = b, r(1, _);
4910
+ function Xr(b) {
4911
+ Ve[b ? "unshift" : "push"](() => {
4912
+ E = b, r(1, E);
4885
4913
  });
4886
4914
  }
4887
4915
  return e.$$set = (b) => {
4888
- "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, d = b.translationurl);
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);
4889
4917
  }, e.$$.update = () => {
4890
4918
  e.$$.dirty[0] & /*lang*/
4891
- 32768 && o && J(), e.$$.dirty[0] & /*lang, translationurl*/
4892
- 8421376 && o && d && Ce(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4893
- 12 && H && $ && Pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4894
- 1048578 && f && _ && ho(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4895
- 2097154 && c && _ && co(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4896
- 4194306 && g && _ && fo(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
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*/
4897
4925
  524288 && r(7, n = Number(u));
4898
4926
  }, [
4899
4927
  h,
4900
- _,
4901
- H,
4902
- $,
4903
- m,
4904
4928
  E,
4929
+ M,
4930
+ U,
4905
4931
  p,
4932
+ d,
4933
+ v,
4906
4934
  n,
4907
4935
  i,
4908
- ee,
4909
- Y,
4910
- Ae,
4936
+ be,
4937
+ te,
4911
4938
  re,
4912
- me,
4913
- X,
4939
+ ye,
4940
+ Me,
4941
+ J,
4914
4942
  o,
4915
4943
  s,
4916
4944
  a,
@@ -4919,23 +4947,23 @@ function Io(e, t, r) {
4919
4947
  f,
4920
4948
  c,
4921
4949
  g,
4922
- d,
4923
- de,
4924
- Me,
4925
- et,
4950
+ m,
4951
+ Oe,
4952
+ tt,
4926
4953
  q,
4927
4954
  I,
4928
- Vr
4955
+ Wr,
4956
+ Xr
4929
4957
  ];
4930
4958
  }
4931
- class Lo extends bn {
4959
+ class $o extends yn {
4932
4960
  constructor(t) {
4933
- super(), mn(
4961
+ super(), bn(
4934
4962
  this,
4935
4963
  t,
4936
- Io,
4937
- Bo,
4938
- lr,
4964
+ Do,
4965
+ Ro,
4966
+ hr,
4939
4967
  {
4940
4968
  lang: 15,
4941
4969
  local: 16,
@@ -4948,7 +4976,7 @@ class Lo extends bn {
4948
4976
  mbsource: 22,
4949
4977
  translationurl: 23
4950
4978
  },
4951
- Po,
4979
+ Lo,
4952
4980
  [-1, -1]
4953
4981
  );
4954
4982
  }
@@ -4956,64 +4984,64 @@ class Lo extends bn {
4956
4984
  return this.$$.ctx[15];
4957
4985
  }
4958
4986
  set lang(t) {
4959
- this.$$set({ lang: t }), N();
4987
+ this.$$set({ lang: t }), R();
4960
4988
  }
4961
4989
  get local() {
4962
4990
  return this.$$.ctx[16];
4963
4991
  }
4964
4992
  set local(t) {
4965
- this.$$set({ local: t }), N();
4993
+ this.$$set({ local: t }), R();
4966
4994
  }
4967
4995
  get currencysymbol() {
4968
4996
  return this.$$.ctx[17];
4969
4997
  }
4970
4998
  set currencysymbol(t) {
4971
- this.$$set({ currencysymbol: t }), N();
4999
+ this.$$set({ currencysymbol: t }), R();
4972
5000
  }
4973
5001
  get currencyposition() {
4974
5002
  return this.$$.ctx[18];
4975
5003
  }
4976
5004
  set currencyposition(t) {
4977
- this.$$set({ currencyposition: t }), N();
5005
+ this.$$set({ currencyposition: t }), R();
4978
5006
  }
4979
5007
  get currencydecimals() {
4980
5008
  return this.$$.ctx[19];
4981
5009
  }
4982
5010
  set currencydecimals(t) {
4983
- this.$$set({ currencydecimals: t }), N();
5011
+ this.$$set({ currencydecimals: t }), R();
4984
5012
  }
4985
5013
  get methodtype() {
4986
5014
  return this.$$.ctx[0];
4987
5015
  }
4988
5016
  set methodtype(t) {
4989
- this.$$set({ methodtype: t }), N();
5017
+ this.$$set({ methodtype: t }), R();
4990
5018
  }
4991
5019
  get clientstyling() {
4992
5020
  return this.$$.ctx[20];
4993
5021
  }
4994
5022
  set clientstyling(t) {
4995
- this.$$set({ clientstyling: t }), N();
5023
+ this.$$set({ clientstyling: t }), R();
4996
5024
  }
4997
5025
  get clientstylingurl() {
4998
5026
  return this.$$.ctx[21];
4999
5027
  }
5000
5028
  set clientstylingurl(t) {
5001
- this.$$set({ clientstylingurl: t }), N();
5029
+ this.$$set({ clientstylingurl: t }), R();
5002
5030
  }
5003
5031
  get mbsource() {
5004
5032
  return this.$$.ctx[22];
5005
5033
  }
5006
5034
  set mbsource(t) {
5007
- this.$$set({ mbsource: t }), N();
5035
+ this.$$set({ mbsource: t }), R();
5008
5036
  }
5009
5037
  get translationurl() {
5010
5038
  return this.$$.ctx[23];
5011
5039
  }
5012
5040
  set translationurl(t) {
5013
- this.$$set({ translationurl: t }), N();
5041
+ this.$$set({ translationurl: t }), R();
5014
5042
  }
5015
5043
  }
5016
- dn(Lo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5044
+ gn($o, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5017
5045
  export {
5018
- Lo as C
5046
+ $o as C
5019
5047
  };