@everymatrix/cashier-carousel 1.77.16 → 1.77.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function D() {
2
2
  }
3
- function zt(e) {
3
+ function qt(e) {
4
4
  return e();
5
5
  }
6
- function bt() {
6
+ function Et() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ue(e) {
10
- e.forEach(zt);
9
+ function ae(e) {
10
+ e.forEach(qt);
11
11
  }
12
- function mt(e) {
12
+ function yt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Zt(e, t) {
15
+ function Kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let we;
19
- function gt(e, t) {
19
+ function xt(e, t) {
20
20
  return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
21
21
  }
22
- function Ar(e) {
22
+ function Ir(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Qt(e, ...t) {
25
+ function er(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Qt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Br(e, t, r) {
35
- e.$$.on_destroy.push(Qt(t, r));
34
+ function Lr(e, t, r) {
35
+ e.$$.on_destroy.push(er(t, r));
36
36
  }
37
- function T(e, t) {
37
+ function S(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Mr(e, t, r) {
41
- const n = Or(e);
40
+ function Nr(e, t, r) {
41
+ const n = $r(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = P("style");
44
- i.id = t, i.textContent = r, Cr(n, i);
44
+ i.id = t, i.textContent = r, Rr(n, i);
45
45
  }
46
46
  }
47
- function Or(e) {
47
+ function $r(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,8 +54,8 @@ function Or(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Cr(e, t) {
58
- return T(
57
+ function Rr(e, t) {
58
+ return S(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
@@ -67,7 +67,7 @@ function G(e, t, r) {
67
67
  function R(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function yt(e, t) {
70
+ function St(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -77,23 +77,23 @@ function P(e) {
77
77
  function $(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function F() {
80
+ function j() {
81
81
  return $(" ");
82
82
  }
83
- function Me(e, t, r, n) {
83
+ function Be(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function B(e, t, r) {
86
+ function O(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function Ir(e) {
89
+ function Dr(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
- function j(e, t) {
92
+ function k(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- function Lr(e) {
96
+ function Ur(e) {
97
97
  const t = {};
98
98
  return e.childNodes.forEach(
99
99
  /** @param {Element} node */
@@ -102,90 +102,90 @@ function Lr(e) {
102
102
  }
103
103
  ), t;
104
104
  }
105
- let ge;
106
- function be(e) {
107
- ge = e;
105
+ let be;
106
+ function de(e) {
107
+ be = e;
108
108
  }
109
- function Nr() {
110
- if (!ge)
109
+ function Gr() {
110
+ if (!be)
111
111
  throw new Error("Function called outside component initialization");
112
- return ge;
112
+ return be;
113
113
  }
114
- function $r(e) {
115
- Nr().$$.on_mount.push(e);
114
+ function Fr(e) {
115
+ Gr().$$.on_mount.push(e);
116
116
  }
117
117
  const te = [], Ne = [];
118
118
  let re = [];
119
- const vt = [], Rr = /* @__PURE__ */ Promise.resolve();
120
- let Ye = !1;
121
- function Dr() {
122
- Ye || (Ye = !0, Rr.then(N));
119
+ const Tt = [], jr = /* @__PURE__ */ Promise.resolve();
120
+ let Ke = !1;
121
+ function kr() {
122
+ Ke || (Ke = !0, jr.then(N));
123
123
  }
124
- function Je(e) {
124
+ function et(e) {
125
125
  re.push(e);
126
126
  }
127
- const ke = /* @__PURE__ */ new Set();
127
+ const Xe = /* @__PURE__ */ new Set();
128
128
  let K = 0;
129
129
  function N() {
130
130
  if (K !== 0)
131
131
  return;
132
- const e = ge;
132
+ const e = be;
133
133
  do {
134
134
  try {
135
135
  for (; K < te.length; ) {
136
136
  const t = te[K];
137
- K++, be(t), Ur(t.$$);
137
+ K++, de(t), Vr(t.$$);
138
138
  }
139
139
  } catch (t) {
140
140
  throw te.length = 0, K = 0, t;
141
141
  }
142
- for (be(null), te.length = 0, K = 0; Ne.length; )
142
+ for (de(null), te.length = 0, K = 0; Ne.length; )
143
143
  Ne.pop()();
144
144
  for (let t = 0; t < re.length; t += 1) {
145
145
  const r = re[t];
146
- ke.has(r) || (ke.add(r), r());
146
+ Xe.has(r) || (Xe.add(r), r());
147
147
  }
148
148
  re.length = 0;
149
149
  } while (te.length);
150
- for (; vt.length; )
151
- vt.pop()();
152
- Ye = !1, ke.clear(), be(e);
150
+ for (; Tt.length; )
151
+ Tt.pop()();
152
+ Ke = !1, Xe.clear(), de(e);
153
153
  }
154
- function Ur(e) {
154
+ function Vr(e) {
155
155
  if (e.fragment !== null) {
156
- e.update(), ue(e.before_update);
156
+ e.update(), ae(e.before_update);
157
157
  const t = e.dirty;
158
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
158
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
159
159
  }
160
160
  }
161
- function Gr(e) {
161
+ function Xr(e) {
162
162
  const t = [], r = [];
163
163
  re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
164
164
  }
165
- const Fr = /* @__PURE__ */ new Set();
166
- function jr(e, t) {
167
- e && e.i && (Fr.delete(e), e.i(t));
165
+ const Wr = /* @__PURE__ */ new Set();
166
+ function zr(e, t) {
167
+ e && e.i && (Wr.delete(e), e.i(t));
168
168
  }
169
169
  function He(e) {
170
170
  return e?.length !== void 0 ? e : Array.from(e);
171
171
  }
172
- function kr(e, t, r) {
172
+ function Zr(e, t, r) {
173
173
  const { fragment: n, after_update: i } = e.$$;
174
- n && n.m(t, r), Je(() => {
175
- const o = e.$$.on_mount.map(zt).filter(mt);
176
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
177
- }), i.forEach(Je);
174
+ n && n.m(t, r), et(() => {
175
+ const o = e.$$.on_mount.map(qt).filter(yt);
176
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
177
+ }), i.forEach(et);
178
178
  }
179
- function Vr(e, t) {
179
+ function Qr(e, t) {
180
180
  const r = e.$$;
181
- r.fragment !== null && (Gr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
+ r.fragment !== null && (Xr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
182
182
  }
183
- function Xr(e, t) {
184
- e.$$.dirty[0] === -1 && (te.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ function Yr(e, t) {
184
+ e.$$.dirty[0] === -1 && (te.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
185
  }
186
- function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
187
- const l = ge;
188
- be(e);
186
+ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
187
+ const l = be;
188
+ de(e);
189
189
  const u = e.$$ = {
190
190
  fragment: null,
191
191
  ctx: [],
@@ -193,7 +193,7 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
193
193
  props: o,
194
194
  update: D,
195
195
  not_equal: i,
196
- bound: bt(),
196
+ bound: Et(),
197
197
  // lifecycle
198
198
  on_mount: [],
199
199
  on_destroy: [],
@@ -202,28 +202,28 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  after_update: [],
203
203
  context: new Map(t.context || (l ? l.$$.context : [])),
204
204
  // everything else
205
- callbacks: bt(),
205
+ callbacks: Et(),
206
206
  dirty: a,
207
207
  skip_bound: !1,
208
208
  root: t.target || l.$$.root
209
209
  };
210
210
  s && s(u.root);
211
211
  let h = !1;
212
- if (u.ctx = r ? r(e, t.props || {}, (m, c, ...b) => {
212
+ if (u.ctx = r ? r(e, t.props || {}, (p, c, ...b) => {
213
213
  const y = b.length ? b[0] : c;
214
- return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Xr(e, m)), c;
215
- }) : [], u.update(), h = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ return u.ctx && i(u.ctx[p], u.ctx[p] = y) && (!u.skip_bound && u.bound[p] && u.bound[p](y), h && Yr(e, p)), c;
215
+ }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
216
216
  if (t.hydrate) {
217
- const m = Ir(t.target);
218
- u.fragment && u.fragment.l(m), m.forEach(R);
217
+ const p = Dr(t.target);
218
+ u.fragment && u.fragment.l(p), p.forEach(R);
219
219
  } else
220
220
  u.fragment && u.fragment.c();
221
- t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), N();
221
+ t.intro && zr(e.$$.fragment), Zr(e, t.target, t.anchor), N();
222
222
  }
223
- be(l);
223
+ de(l);
224
224
  }
225
- let Yt;
226
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
225
+ let tr;
226
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
227
227
  /** The Svelte component constructor */
228
228
  $$ctor;
229
229
  /** Slots */
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
265
265
  let o;
266
266
  return {
267
267
  c: function() {
268
- o = P("slot"), i !== "default" && B(o, "name", i);
268
+ o = P("slot"), i !== "default" && O(o, "name", i);
269
269
  },
270
270
  /**
271
271
  * @param {HTMLElement} target
@@ -282,12 +282,12 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
282
282
  };
283
283
  if (await Promise.resolve(), !this.$$cn || this.$$c)
284
284
  return;
285
- const t = {}, r = Lr(this);
285
+ const t = {}, r = Ur(this);
286
286
  for (const i of this.$$s)
287
287
  i in r && (t[i] = [e(i)]);
288
288
  for (const i of this.attributes) {
289
289
  const o = this.$$g_p(i.name);
290
- o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
290
+ o in this.$$d || (this.$$d[o] = Me(o, i.value, this.$$p_d, "toProp"));
291
291
  }
292
292
  for (const i in this.$$p_d)
293
293
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
305
305
  this.$$r = !0;
306
306
  for (const i in this.$$p_d)
307
307
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
308
- const o = Oe(
308
+ const o = Me(
309
309
  i,
310
310
  this.$$d[i],
311
311
  this.$$p_d,
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
327
327
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
328
328
  // and setting attributes through setAttribute etc, this is helpful
329
329
  attributeChangedCallback(e, t, r) {
330
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
331
331
  }
332
332
  disconnectedCallback() {
333
333
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
340
340
  ) || e;
341
341
  }
342
342
  });
343
- function Oe(e, t, r, n) {
343
+ function Me(e, t, r, n) {
344
344
  const i = r[e]?.type;
345
345
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
346
346
  return t;
@@ -369,8 +369,8 @@ function Oe(e, t, r, n) {
369
369
  return t;
370
370
  }
371
371
  }
372
- function zr(e, t, r, n, i, o) {
373
- let s = class extends Yt {
372
+ function qr(e, t, r, n, i, o) {
373
+ let s = class extends tr {
374
374
  constructor() {
375
375
  super(e, r, i), this.$$p_d = t;
376
376
  }
@@ -386,7 +386,7 @@ function zr(e, t, r, n, i, o) {
386
386
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
387
387
  },
388
388
  set(l) {
389
- l = Oe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
389
+ l = Me(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
390
390
  }
391
391
  });
392
392
  }), n.forEach((a) => {
@@ -398,7 +398,7 @@ function zr(e, t, r, n, i, o) {
398
398
  }), e.element = /** @type {any} */
399
399
  s, s;
400
400
  }
401
- class Zr {
401
+ class Kr {
402
402
  /**
403
403
  * ### PRIVATE API
404
404
  *
@@ -417,7 +417,7 @@ class Zr {
417
417
  $$set = void 0;
418
418
  /** @returns {void} */
419
419
  $destroy() {
420
- Vr(this, 1), this.$destroy = D;
420
+ Qr(this, 1), this.$destroy = D;
421
421
  }
422
422
  /**
423
423
  * @template {Extract<keyof Events, string>} K
@@ -426,7 +426,7 @@ class Zr {
426
426
  * @returns {() => void}
427
427
  */
428
428
  $on(t, r) {
429
- if (!mt(r))
429
+ if (!yt(r))
430
430
  return D;
431
431
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
432
432
  return n.push(r), () => {
@@ -439,22 +439,22 @@ class Zr {
439
439
  * @returns {void}
440
440
  */
441
441
  $set(t) {
442
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
+ this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
443
443
  }
444
444
  }
445
- const Qr = "4";
446
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
445
+ const en = "4";
446
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
447
447
  const ee = [];
448
- function Yr(e, t) {
448
+ function tn(e, t) {
449
449
  return {
450
- subscribe: Ue(e, t).subscribe
450
+ subscribe: Ge(e, t).subscribe
451
451
  };
452
452
  }
453
- function Ue(e, t = D) {
453
+ function Ge(e, t = D) {
454
454
  let r;
455
455
  const n = /* @__PURE__ */ new Set();
456
456
  function i(a) {
457
- if (Zt(e, a) && (e = a, r)) {
457
+ if (Kt(e, a) && (e = a, r)) {
458
458
  const l = !ee.length;
459
459
  for (const u of n)
460
460
  u[1](), ee.push(u, e);
@@ -476,26 +476,26 @@ function Ue(e, t = D) {
476
476
  }
477
477
  return { set: i, update: o, subscribe: s };
478
478
  }
479
- function le(e, t, r) {
479
+ function ue(e, t, r) {
480
480
  const n = !Array.isArray(e), i = n ? [e] : e;
481
481
  if (!i.every(Boolean))
482
482
  throw new Error("derived() expects stores as input, got a falsy value");
483
483
  const o = t.length < 2;
484
- return Yr(r, (s, a) => {
484
+ return tn(r, (s, a) => {
485
485
  let l = !1;
486
486
  const u = [];
487
- let h = 0, m = D;
487
+ let h = 0, p = D;
488
488
  const c = () => {
489
489
  if (h)
490
490
  return;
491
- m();
491
+ p();
492
492
  const y = t(n ? u[0] : u, s, a);
493
- o ? s(y) : m = mt(y) ? y : D;
493
+ o ? s(y) : p = yt(y) ? y : D;
494
494
  }, b = i.map(
495
- (y, g) => Qt(
495
+ (y, g) => er(
496
496
  y,
497
- (x) => {
498
- u[g] = x, h &= ~(1 << g), l && c();
497
+ (E) => {
498
+ u[g] = E, h &= ~(1 << g), l && c();
499
499
  },
500
500
  () => {
501
501
  h |= 1 << g;
@@ -503,126 +503,112 @@ function le(e, t, r) {
503
503
  )
504
504
  );
505
505
  return l = !0, c(), function() {
506
- ue(b), m(), l = !1;
506
+ ae(b), p(), l = !1;
507
507
  };
508
508
  });
509
509
  }
510
- function Jr(e) {
510
+ function rn(e) {
511
511
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
512
512
  }
513
- var qr = function(t) {
514
- return Kr(t) && !en(t);
513
+ var nn = function(t) {
514
+ return on(t) && !sn(t);
515
515
  };
516
- function Kr(e) {
516
+ function on(e) {
517
517
  return !!e && typeof e == "object";
518
518
  }
519
- function en(e) {
519
+ function sn(e) {
520
520
  var t = Object.prototype.toString.call(e);
521
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
521
+ return t === "[object RegExp]" || t === "[object Date]" || ln(e);
522
522
  }
523
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
524
- function nn(e) {
525
- return e.$$typeof === rn;
523
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
524
+ function ln(e) {
525
+ return e.$$typeof === un;
526
526
  }
527
- function on(e) {
527
+ function hn(e) {
528
528
  return Array.isArray(e) ? [] : {};
529
529
  }
530
- function ye(e, t) {
531
- return t.clone !== !1 && t.isMergeableObject(e) ? ie(on(e), e, t) : e;
530
+ function ge(e, t) {
531
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(hn(e), e, t) : e;
532
532
  }
533
- function sn(e, t, r) {
533
+ function cn(e, t, r) {
534
534
  return e.concat(t).map(function(n) {
535
- return ye(n, r);
535
+ return ge(n, r);
536
536
  });
537
537
  }
538
- function an(e, t) {
538
+ function fn(e, t) {
539
539
  if (!t.customMerge)
540
- return ie;
540
+ return ne;
541
541
  var r = t.customMerge(e);
542
- return typeof r == "function" ? r : ie;
542
+ return typeof r == "function" ? r : ne;
543
543
  }
544
- function un(e) {
544
+ function pn(e) {
545
545
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
546
546
  return Object.propertyIsEnumerable.call(e, t);
547
547
  }) : [];
548
548
  }
549
- function _t(e) {
550
- return Object.keys(e).concat(un(e));
549
+ function wt(e) {
550
+ return Object.keys(e).concat(pn(e));
551
551
  }
552
- function Jt(e, t) {
552
+ function rr(e, t) {
553
553
  try {
554
554
  return t in e;
555
555
  } catch {
556
556
  return !1;
557
557
  }
558
558
  }
559
- function ln(e, t) {
560
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
559
+ function mn(e, t) {
560
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
561
561
  }
562
- function hn(e, t, r) {
562
+ function dn(e, t, r) {
563
563
  var n = {};
564
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
565
- n[i] = ye(e[i], r);
566
- }), _t(t).forEach(function(i) {
567
- ln(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
564
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
565
+ n[i] = ge(e[i], r);
566
+ }), wt(t).forEach(function(i) {
567
+ mn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
568
568
  }), n;
569
569
  }
570
- function ie(e, t, r) {
571
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = ye;
570
+ function ne(e, t, r) {
571
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = ge;
572
572
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
573
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : ye(t, r);
573
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ge(t, r);
574
574
  }
575
- ie.all = function(t, r) {
575
+ ne.all = function(t, r) {
576
576
  if (!Array.isArray(t))
577
577
  throw new Error("first argument should be an array");
578
578
  return t.reduce(function(n, i) {
579
- return ie(n, i, r);
579
+ return ne(n, i, r);
580
580
  }, {});
581
581
  };
582
- var cn = ie, fn = cn;
583
- const mn = /* @__PURE__ */ Jr(fn);
584
- /*! *****************************************************************************
585
- Copyright (c) Microsoft Corporation.
586
-
587
- Permission to use, copy, modify, and/or distribute this software for any
588
- purpose with or without fee is hereby granted.
589
-
590
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
591
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
592
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
593
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
594
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
595
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
596
- PERFORMANCE OF THIS SOFTWARE.
597
- ***************************************************************************** */
598
- var qe = function(e, t) {
599
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
582
+ var bn = ne, gn = bn;
583
+ const yn = /* @__PURE__ */ rn(gn);
584
+ var tt = function(e, t) {
585
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
600
586
  r.__proto__ = n;
601
587
  } || function(r, n) {
602
588
  for (var i in n)
603
589
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
604
- }, qe(e, t);
590
+ }, tt(e, t);
605
591
  };
606
- function V(e, t) {
592
+ function Fe(e, t) {
607
593
  if (typeof t != "function" && t !== null)
608
594
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
609
- qe(e, t);
595
+ tt(e, t);
610
596
  function r() {
611
597
  this.constructor = e;
612
598
  }
613
599
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
614
600
  }
615
- var S = function() {
616
- return S = Object.assign || function(t) {
601
+ var F = function() {
602
+ return F = Object.assign || function(t) {
617
603
  for (var r, n = 1, i = arguments.length; n < i; n++) {
618
604
  r = arguments[n];
619
605
  for (var o in r)
620
606
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
621
607
  }
622
608
  return t;
623
- }, S.apply(this, arguments);
609
+ }, F.apply(this, arguments);
624
610
  };
625
- function pn(e, t) {
611
+ function vn(e, t) {
626
612
  var r = {};
627
613
  for (var n in e)
628
614
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -631,75 +617,43 @@ function pn(e, t) {
631
617
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
632
618
  return r;
633
619
  }
634
- function Ke(e) {
635
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
636
- if (r)
637
- return r.call(e);
638
- if (e && typeof e.length == "number")
639
- return {
640
- next: function() {
641
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
642
- }
643
- };
644
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
645
- }
646
- function et(e, t) {
647
- var r = typeof Symbol == "function" && e[Symbol.iterator];
648
- if (!r)
649
- return e;
650
- var n = r.call(e), i, o = [], s;
651
- try {
652
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
653
- o.push(i.value);
654
- } catch (a) {
655
- s = { error: a };
656
- } finally {
657
- try {
658
- i && !i.done && (r = n.return) && r.call(n);
659
- } finally {
660
- if (s)
661
- throw s.error;
662
- }
663
- }
664
- return o;
665
- }
666
- function ne(e, t, r) {
620
+ function We(e, t, r) {
667
621
  if (r || arguments.length === 2)
668
622
  for (var n = 0, i = t.length, o; n < i; n++)
669
623
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
670
- return e.concat(o || t);
624
+ return e.concat(o || Array.prototype.slice.call(t));
671
625
  }
672
- function Ve(e, t) {
673
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : gn;
626
+ function ze(e, t) {
627
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
674
628
  return i(e, {
675
629
  cache: r,
676
630
  serializer: n
677
631
  });
678
632
  }
679
- function dn(e) {
633
+ function _n(e) {
680
634
  return e == null || typeof e == "number" || typeof e == "boolean";
681
635
  }
682
- function bn(e, t, r, n) {
683
- var i = dn(n) ? n : r(n), o = t.get(i);
636
+ function En(e, t, r, n) {
637
+ var i = _n(n) ? n : r(n), o = t.get(i);
684
638
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
685
639
  }
686
- function qt(e, t, r) {
640
+ function nr(e, t, r) {
687
641
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
688
642
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
689
643
  }
690
- function Kt(e, t, r, n, i) {
644
+ function ir(e, t, r, n, i) {
691
645
  return r.bind(t, e, n, i);
692
646
  }
693
- function gn(e, t) {
694
- var r = e.length === 1 ? bn : qt;
695
- return Kt(e, this, r, t.cache.create(), t.serializer);
647
+ function xn(e, t) {
648
+ var r = e.length === 1 ? En : nr;
649
+ return ir(e, this, r, t.cache.create(), t.serializer);
696
650
  }
697
- function yn(e, t) {
698
- return Kt(e, this, qt, t.cache.create(), t.serializer);
651
+ function Sn(e, t) {
652
+ return ir(e, this, nr, t.cache.create(), t.serializer);
699
653
  }
700
- var vn = function() {
654
+ var Tn = function() {
701
655
  return JSON.stringify(arguments);
702
- }, _n = (
656
+ }, wn = (
703
657
  /** @class */
704
658
  function() {
705
659
  function e() {
@@ -711,61 +665,71 @@ var vn = function() {
711
665
  this.cache[t] = r;
712
666
  }, e;
713
667
  }()
714
- ), xn = {
668
+ ), Hn = {
715
669
  create: function() {
716
- return new _n();
670
+ return new wn();
717
671
  }
718
- }, Xe = {
719
- variadic: yn
720
- }, v;
672
+ }, Ze = {
673
+ variadic: Sn
674
+ }, $e = function() {
675
+ return $e = Object.assign || function(t) {
676
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
677
+ r = arguments[n];
678
+ for (var o in r)
679
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
680
+ }
681
+ return t;
682
+ }, $e.apply(this, arguments);
683
+ };
684
+ var v;
721
685
  (function(e) {
722
686
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
723
687
  })(v || (v = {}));
724
- var H;
688
+ var w;
725
689
  (function(e) {
726
690
  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";
727
- })(H || (H = {}));
728
- var oe;
691
+ })(w || (w = {}));
692
+ var ie;
729
693
  (function(e) {
730
694
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
731
- })(oe || (oe = {}));
732
- function xt(e) {
733
- return e.type === H.literal;
695
+ })(ie || (ie = {}));
696
+ function Ht(e) {
697
+ return e.type === w.literal;
734
698
  }
735
- function En(e) {
736
- return e.type === H.argument;
699
+ function Pn(e) {
700
+ return e.type === w.argument;
737
701
  }
738
- function er(e) {
739
- return e.type === H.number;
702
+ function or(e) {
703
+ return e.type === w.number;
740
704
  }
741
- function tr(e) {
742
- return e.type === H.date;
705
+ function sr(e) {
706
+ return e.type === w.date;
743
707
  }
744
- function rr(e) {
745
- return e.type === H.time;
708
+ function ar(e) {
709
+ return e.type === w.time;
746
710
  }
747
- function nr(e) {
748
- return e.type === H.select;
711
+ function ur(e) {
712
+ return e.type === w.select;
749
713
  }
750
- function ir(e) {
751
- return e.type === H.plural;
714
+ function lr(e) {
715
+ return e.type === w.plural;
752
716
  }
753
- function Sn(e) {
754
- return e.type === H.pound;
717
+ function An(e) {
718
+ return e.type === w.pound;
755
719
  }
756
- function or(e) {
757
- return e.type === H.tag;
720
+ function hr(e) {
721
+ return e.type === w.tag;
758
722
  }
759
- function sr(e) {
760
- return !!(e && typeof e == "object" && e.type === oe.number);
723
+ function cr(e) {
724
+ return !!(e && typeof e == "object" && e.type === ie.number);
761
725
  }
762
- function tt(e) {
763
- return !!(e && typeof e == "object" && e.type === oe.dateTime);
726
+ function rt(e) {
727
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
764
728
  }
765
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
766
- function wn(e) {
729
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
730
+ function Bn(e) {
767
731
  var t = {};
768
- return e.replace(Tn, function(r) {
732
+ return e.replace(On, function(r) {
769
733
  var n = r.length;
770
734
  switch (r[0]) {
771
735
  case "G":
@@ -854,36 +818,46 @@ function wn(e) {
854
818
  return "";
855
819
  }), t;
856
820
  }
857
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
- function Pn(e) {
821
+ var H = function() {
822
+ return H = Object.assign || function(t) {
823
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
824
+ r = arguments[n];
825
+ for (var o in r)
826
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
827
+ }
828
+ return t;
829
+ }, H.apply(this, arguments);
830
+ };
831
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
832
+ function Cn(e) {
859
833
  if (e.length === 0)
860
834
  throw new Error("Number skeleton cannot be empty");
861
- for (var t = e.split(Hn).filter(function(c) {
835
+ for (var t = e.split(Mn).filter(function(c) {
862
836
  return c.length > 0;
863
837
  }), r = [], n = 0, i = t; n < i.length; n++) {
864
838
  var o = i[n], s = o.split("/");
865
839
  if (s.length === 0)
866
840
  throw new Error("Invalid number skeleton");
867
841
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
868
- var m = h[u];
869
- if (m.length === 0)
842
+ var p = h[u];
843
+ if (p.length === 0)
870
844
  throw new Error("Invalid number skeleton");
871
845
  }
872
846
  r.push({ stem: a, options: l });
873
847
  }
874
848
  return r;
875
849
  }
876
- function An(e) {
850
+ function In(e) {
877
851
  return e.replace(/^(.*?)-/, "");
878
852
  }
879
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
880
- function St(e) {
853
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
854
+ function At(e) {
881
855
  var t = {};
882
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
856
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
883
857
  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)), "";
884
858
  }), t;
885
859
  }
886
- function hr(e) {
860
+ function dr(e) {
887
861
  switch (e) {
888
862
  case "sign-auto":
889
863
  return {
@@ -923,7 +897,7 @@ function hr(e) {
923
897
  };
924
898
  }
925
899
  }
926
- function Mn(e) {
900
+ function Nn(e) {
927
901
  var t;
928
902
  if (e[0] === "E" && e[1] === "E" ? (t = {
929
903
  notation: "engineering"
@@ -931,17 +905,17 @@ function Mn(e) {
931
905
  notation: "scientific"
932
906
  }, e = e.slice(1)), t) {
933
907
  var r = e.slice(0, 2);
934
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
908
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
935
909
  throw new Error("Malformed concise eng/scientific notation");
936
910
  t.minimumIntegerDigits = e.length;
937
911
  }
938
912
  return t;
939
913
  }
940
- function Tt(e) {
941
- var t = {}, r = hr(e);
914
+ function Ot(e) {
915
+ var t = {}, r = dr(e);
942
916
  return r || t;
943
917
  }
944
- function On(e) {
918
+ function $n(e) {
945
919
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
946
920
  var i = n[r];
947
921
  switch (i.stem) {
@@ -965,7 +939,7 @@ function On(e) {
965
939
  continue;
966
940
  case "measure-unit":
967
941
  case "unit":
968
- t.style = "unit", t.unit = An(i.options[0]);
942
+ t.style = "unit", t.unit = In(i.options[0]);
969
943
  continue;
970
944
  case "compact-short":
971
945
  case "K":
@@ -976,13 +950,13 @@ function On(e) {
976
950
  t.notation = "compact", t.compactDisplay = "long";
977
951
  continue;
978
952
  case "scientific":
979
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
980
- return S(S({}, l), Tt(u));
953
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
954
+ return H(H({}, l), Ot(u));
981
955
  }, {}));
982
956
  continue;
983
957
  case "engineering":
984
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
985
- return S(S({}, l), Tt(u));
958
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
959
+ return H(H({}, l), Ot(u));
986
960
  }, {}));
987
961
  continue;
988
962
  case "notation-simple":
@@ -1027,11 +1001,11 @@ function On(e) {
1027
1001
  case "integer-width":
1028
1002
  if (i.options.length > 1)
1029
1003
  throw new RangeError("integer-width stems only accept a single optional option");
1030
- i.options[0].replace(Bn, function(l, u, h, m, c, b) {
1004
+ i.options[0].replace(Ln, function(l, u, h, p, c, b) {
1031
1005
  if (u)
1032
1006
  t.minimumIntegerDigits = h.length;
1033
1007
  else {
1034
- if (m && c)
1008
+ if (p && c)
1035
1009
  throw new Error("We currently do not support maximum integer digits");
1036
1010
  if (b)
1037
1011
  throw new Error("We currently do not support exact integer digits");
@@ -1040,28 +1014,28 @@ function On(e) {
1040
1014
  });
1041
1015
  continue;
1042
1016
  }
1043
- if (lr.test(i.stem)) {
1017
+ if (mr.test(i.stem)) {
1044
1018
  t.minimumIntegerDigits = i.stem.length;
1045
1019
  continue;
1046
1020
  }
1047
- if (Et.test(i.stem)) {
1021
+ if (Pt.test(i.stem)) {
1048
1022
  if (i.options.length > 1)
1049
1023
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1050
- i.stem.replace(Et, function(l, u, h, m, c, b) {
1051
- return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1024
+ i.stem.replace(Pt, function(l, u, h, p, c, b) {
1025
+ return h === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1052
1026
  });
1053
1027
  var o = i.options[0];
1054
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), St(o)));
1028
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), At(o)));
1055
1029
  continue;
1056
1030
  }
1057
- if (ur.test(i.stem)) {
1058
- t = S(S({}, t), St(i.stem));
1031
+ if (pr.test(i.stem)) {
1032
+ t = H(H({}, t), At(i.stem));
1059
1033
  continue;
1060
1034
  }
1061
- var s = hr(i.stem);
1062
- s && (t = S(S({}, t), s));
1063
- var a = Mn(i.stem);
1064
- a && (t = S(S({}, t), a));
1035
+ var s = dr(i.stem);
1036
+ s && (t = H(H({}, t), s));
1037
+ var a = Nn(i.stem);
1038
+ a && (t = H(H({}, t), a));
1065
1039
  }
1066
1040
  return t;
1067
1041
  }
@@ -2480,13 +2454,13 @@ var Pe = {
2480
2454
  "h"
2481
2455
  ]
2482
2456
  };
2483
- function Cn(e, t) {
2457
+ function Rn(e, t) {
2484
2458
  for (var r = "", n = 0; n < e.length; n++) {
2485
2459
  var i = e.charAt(n);
2486
2460
  if (i === "j") {
2487
2461
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2488
2462
  o++, n++;
2489
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = In(t);
2463
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
2490
2464
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2491
2465
  r += l;
2492
2466
  for (; s-- > 0; )
@@ -2496,7 +2470,7 @@ function Cn(e, t) {
2496
2470
  }
2497
2471
  return r;
2498
2472
  }
2499
- function In(e) {
2473
+ function Dn(e) {
2500
2474
  var t = e.hourCycle;
2501
2475
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2502
2476
  e.hourCycles && // @ts-ignore
@@ -2518,20 +2492,20 @@ function In(e) {
2518
2492
  var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
2519
2493
  return i[0];
2520
2494
  }
2521
- var We, Ln = new RegExp("^".concat(ar.source, "*")), Nn = new RegExp("".concat(ar.source, "*$"));
2495
+ var Qe, Un = new RegExp("^".concat(fr.source, "*")), Gn = new RegExp("".concat(fr.source, "*$"));
2522
2496
  function _(e, t) {
2523
2497
  return { start: e, end: t };
2524
2498
  }
2525
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
2499
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
2526
2500
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2527
- }, rt = !0;
2501
+ }, nt = !0;
2528
2502
  try {
2529
- var Vn = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
- rt = ((We = Vn.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2503
+ var Qn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2504
+ nt = ((Qe = Qn.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
2531
2505
  } catch {
2532
- rt = !1;
2506
+ nt = !1;
2533
2507
  }
2534
- var wt = $n ? (
2508
+ var Bt = Fn ? (
2535
2509
  // Native
2536
2510
  function(t, r, n) {
2537
2511
  return t.startsWith(r, n);
@@ -2541,7 +2515,7 @@ var wt = $n ? (
2541
2515
  function(t, r, n) {
2542
2516
  return t.slice(n, n + r.length) === r;
2543
2517
  }
2544
- ), nt = Rn ? String.fromCodePoint : (
2518
+ ), it = jn ? String.fromCodePoint : (
2545
2519
  // IE11
2546
2520
  function() {
2547
2521
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2553,9 +2527,9 @@ var wt = $n ? (
2553
2527
  }
2554
2528
  return n;
2555
2529
  }
2556
- ), Ht = (
2530
+ ), Mt = (
2557
2531
  // native
2558
- Dn ? Object.fromEntries : (
2532
+ kn ? Object.fromEntries : (
2559
2533
  // Ponyfill
2560
2534
  function(t) {
2561
2535
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2565,7 +2539,7 @@ var wt = $n ? (
2565
2539
  return r;
2566
2540
  }
2567
2541
  )
2568
- ), cr = Un ? (
2542
+ ), br = Vn ? (
2569
2543
  // Native
2570
2544
  function(t, r) {
2571
2545
  return t.codePointAt(r);
@@ -2579,7 +2553,7 @@ var wt = $n ? (
2579
2553
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2580
2554
  }
2581
2555
  }
2582
- ), Xn = Gn ? (
2556
+ ), Yn = Xn ? (
2583
2557
  // Native
2584
2558
  function(t) {
2585
2559
  return t.trimStart();
@@ -2587,9 +2561,9 @@ var wt = $n ? (
2587
2561
  ) : (
2588
2562
  // Ponyfill
2589
2563
  function(t) {
2590
- return t.replace(Ln, "");
2564
+ return t.replace(Un, "");
2591
2565
  }
2592
- ), Wn = Fn ? (
2566
+ ), Jn = Wn ? (
2593
2567
  // Native
2594
2568
  function(t) {
2595
2569
  return t.trimEnd();
@@ -2597,32 +2571,32 @@ var wt = $n ? (
2597
2571
  ) : (
2598
2572
  // Ponyfill
2599
2573
  function(t) {
2600
- return t.replace(Nn, "");
2574
+ return t.replace(Gn, "");
2601
2575
  }
2602
2576
  );
2603
- function fr(e, t) {
2577
+ function gr(e, t) {
2604
2578
  return new RegExp(e, t);
2605
2579
  }
2606
- var it;
2607
- if (rt) {
2608
- var Pt = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2609
- it = function(t, r) {
2580
+ var ot;
2581
+ if (nt) {
2582
+ var Ct = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2583
+ ot = function(t, r) {
2610
2584
  var n;
2611
- Pt.lastIndex = r;
2612
- var i = Pt.exec(t);
2585
+ Ct.lastIndex = r;
2586
+ var i = Ct.exec(t);
2613
2587
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2614
2588
  };
2615
2589
  } else
2616
- it = function(t, r) {
2590
+ ot = function(t, r) {
2617
2591
  for (var n = []; ; ) {
2618
- var i = cr(t, r);
2619
- if (i === void 0 || mr(i) || Yn(i))
2592
+ var i = br(t, r);
2593
+ if (i === void 0 || yr(i) || ti(i))
2620
2594
  break;
2621
2595
  n.push(i), r += i >= 65536 ? 2 : 1;
2622
2596
  }
2623
- return nt.apply(void 0, n);
2597
+ return it.apply(void 0, n);
2624
2598
  };
2625
- var zn = (
2599
+ var qn = (
2626
2600
  /** @class */
2627
2601
  function() {
2628
2602
  function e(t, r) {
@@ -2646,14 +2620,14 @@ var zn = (
2646
2620
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2647
2621
  var a = this.clonePosition();
2648
2622
  this.bump(), i.push({
2649
- type: H.pound,
2623
+ type: w.pound,
2650
2624
  location: _(a, this.clonePosition())
2651
2625
  });
2652
2626
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2653
2627
  if (n)
2654
2628
  break;
2655
2629
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2656
- } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
2630
+ } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
2657
2631
  var s = this.parseTag(t, r);
2658
2632
  if (s.err)
2659
2633
  return s;
@@ -2674,7 +2648,7 @@ var zn = (
2674
2648
  if (this.bumpSpace(), this.bumpIf("/>"))
2675
2649
  return {
2676
2650
  val: {
2677
- type: H.literal,
2651
+ type: w.literal,
2678
2652
  value: "<".concat(i, "/>"),
2679
2653
  location: _(n, this.clonePosition())
2680
2654
  },
@@ -2686,12 +2660,12 @@ var zn = (
2686
2660
  return o;
2687
2661
  var s = o.val, a = this.clonePosition();
2688
2662
  if (this.bumpIf("</")) {
2689
- if (this.isEOF() || !ot(this.char()))
2663
+ if (this.isEOF() || !st(this.char()))
2690
2664
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
2691
2665
  var l = this.clonePosition(), u = this.parseTagName();
2692
2666
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
2667
  val: {
2694
- type: H.tag,
2668
+ type: w.tag,
2695
2669
  value: i,
2696
2670
  children: s,
2697
2671
  location: _(n, this.clonePosition())
@@ -2704,7 +2678,7 @@ var zn = (
2704
2678
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
2705
2679
  }, e.prototype.parseTagName = function() {
2706
2680
  var t = this.offset();
2707
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
2681
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
2708
2682
  this.bump();
2709
2683
  return this.message.slice(t, this.offset());
2710
2684
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2728,12 +2702,12 @@ var zn = (
2728
2702
  }
2729
2703
  var l = _(n, this.clonePosition());
2730
2704
  return {
2731
- val: { type: H.literal, value: i, location: l },
2705
+ val: { type: w.literal, value: i, location: l },
2732
2706
  err: null
2733
2707
  };
2734
2708
  }, e.prototype.tryParseLeftAngleBracket = function() {
2735
2709
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2736
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2710
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2737
2711
  }, e.prototype.tryParseQuote = function(t) {
2738
2712
  if (this.isEOF() || this.char() !== 39)
2739
2713
  return null;
@@ -2767,12 +2741,12 @@ var zn = (
2767
2741
  r.push(n);
2768
2742
  this.bump();
2769
2743
  }
2770
- return nt.apply(void 0, r);
2744
+ return it.apply(void 0, r);
2771
2745
  }, e.prototype.tryParseUnquoted = function(t, r) {
2772
2746
  if (this.isEOF())
2773
2747
  return null;
2774
2748
  var n = this.char();
2775
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
2749
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
2776
2750
  }, e.prototype.parseArgument = function(t, r) {
2777
2751
  var n = this.clonePosition();
2778
2752
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2788,7 +2762,7 @@ var zn = (
2788
2762
  case 125:
2789
2763
  return this.bump(), {
2790
2764
  val: {
2791
- type: H.argument,
2765
+ type: w.argument,
2792
2766
  // value does not include the opening and closing braces.
2793
2767
  value: i,
2794
2768
  location: _(n, this.clonePosition())
@@ -2801,7 +2775,7 @@ var zn = (
2801
2775
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2802
2776
  }
2803
2777
  }, e.prototype.parseIdentifierIfPossible = function() {
2804
- var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
2778
+ var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
2805
2779
  this.bumpTo(i);
2806
2780
  var o = this.clonePosition(), s = _(t, o);
2807
2781
  return { value: n, location: s };
@@ -2817,10 +2791,10 @@ var zn = (
2817
2791
  var u = null;
2818
2792
  if (this.bumpIf(",")) {
2819
2793
  this.bumpSpace();
2820
- var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2821
- if (m.err)
2822
- return m;
2823
- var c = Wn(m.val);
2794
+ var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2795
+ if (p.err)
2796
+ return p;
2797
+ var c = Jn(p.val);
2824
2798
  if (c.length === 0)
2825
2799
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2826
2800
  var b = _(h, this.clonePosition());
@@ -2830,34 +2804,34 @@ var zn = (
2830
2804
  if (y.err)
2831
2805
  return y;
2832
2806
  var g = _(i, this.clonePosition());
2833
- if (u && wt(u?.style, "::", 0)) {
2834
- var x = Xn(u.style.slice(2));
2807
+ if (u && Bt(u?.style, "::", 0)) {
2808
+ var E = Yn(u.style.slice(2));
2835
2809
  if (a === "number") {
2836
- var m = this.parseNumberSkeletonFromString(x, u.styleLocation);
2837
- return m.err ? m : {
2838
- val: { type: H.number, value: n, location: g, style: m.val },
2810
+ var p = this.parseNumberSkeletonFromString(E, u.styleLocation);
2811
+ return p.err ? p : {
2812
+ val: { type: w.number, value: n, location: g, style: p.val },
2839
2813
  err: null
2840
2814
  };
2841
2815
  } else {
2842
- if (x.length === 0)
2816
+ if (E.length === 0)
2843
2817
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2844
- var A = x;
2845
- this.locale && (A = Cn(x, this.locale));
2818
+ var A = E;
2819
+ this.locale && (A = Rn(E, this.locale));
2846
2820
  var c = {
2847
- type: oe.dateTime,
2821
+ type: ie.dateTime,
2848
2822
  pattern: A,
2849
2823
  location: u.styleLocation,
2850
- parsedOptions: this.shouldParseSkeletons ? wn(A) : {}
2851
- }, E = a === "date" ? H.date : H.time;
2824
+ parsedOptions: this.shouldParseSkeletons ? Bn(A) : {}
2825
+ }, x = a === "date" ? w.date : w.time;
2852
2826
  return {
2853
- val: { type: E, value: n, location: g, style: c },
2827
+ val: { type: x, value: n, location: g, style: c },
2854
2828
  err: null
2855
2829
  };
2856
2830
  }
2857
2831
  }
2858
2832
  return {
2859
2833
  val: {
2860
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2834
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2861
2835
  value: n,
2862
2836
  location: g,
2863
2837
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2870,38 +2844,38 @@ var zn = (
2870
2844
  case "select": {
2871
2845
  var f = this.clonePosition();
2872
2846
  if (this.bumpSpace(), !this.bumpIf(","))
2873
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(f, S({}, f)));
2847
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(f, $e({}, f)));
2874
2848
  this.bumpSpace();
2875
- var w = this.parseIdentifierIfPossible(), d = 0;
2876
- if (a !== "select" && w.value === "offset") {
2849
+ var T = this.parseIdentifierIfPossible(), d = 0;
2850
+ if (a !== "select" && T.value === "offset") {
2877
2851
  if (!this.bumpIf(":"))
2878
2852
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2879
2853
  this.bumpSpace();
2880
- var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
- if (m.err)
2882
- return m;
2883
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), d = m.val;
2854
+ var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2855
+ if (p.err)
2856
+ return p;
2857
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), d = p.val;
2884
2858
  }
2885
- var M = this.tryParsePluralOrSelectOptions(t, a, r, w);
2886
- if (M.err)
2887
- return M;
2859
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, T);
2860
+ if (B.err)
2861
+ return B;
2888
2862
  var y = this.tryParseArgumentClose(i);
2889
2863
  if (y.err)
2890
2864
  return y;
2891
2865
  var U = _(i, this.clonePosition());
2892
2866
  return a === "select" ? {
2893
2867
  val: {
2894
- type: H.select,
2868
+ type: w.select,
2895
2869
  value: n,
2896
- options: Ht(M.val),
2870
+ options: Mt(B.val),
2897
2871
  location: U
2898
2872
  },
2899
2873
  err: null
2900
2874
  } : {
2901
2875
  val: {
2902
- type: H.plural,
2876
+ type: w.plural,
2903
2877
  value: n,
2904
- options: Ht(M.val),
2878
+ options: Mt(B.val),
2905
2879
  offset: d,
2906
2880
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2907
2881
  location: U
@@ -2952,28 +2926,28 @@ var zn = (
2952
2926
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2953
2927
  var n = [];
2954
2928
  try {
2955
- n = Pn(t);
2929
+ n = Cn(t);
2956
2930
  } catch {
2957
2931
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2958
2932
  }
2959
2933
  return {
2960
2934
  val: {
2961
- type: oe.number,
2935
+ type: ie.number,
2962
2936
  tokens: n,
2963
2937
  location: r,
2964
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
2938
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
2965
2939
  },
2966
2940
  err: null
2967
2941
  };
2968
2942
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2969
2943
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2970
2944
  if (u.length === 0) {
2971
- var m = this.clonePosition();
2945
+ var p = this.clonePosition();
2972
2946
  if (r !== "select" && this.bumpIf("=")) {
2973
2947
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
2948
  if (c.err)
2975
2949
  return c;
2976
- h = _(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2950
+ h = _(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
2977
2951
  } else
2978
2952
  break;
2979
2953
  }
@@ -3009,7 +2983,7 @@ var zn = (
3009
2983
  break;
3010
2984
  }
3011
2985
  var l = _(i, this.clonePosition());
3012
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2986
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3013
2987
  }, e.prototype.offset = function() {
3014
2988
  return this.position.offset;
3015
2989
  }, e.prototype.isEOF = function() {
@@ -3024,7 +2998,7 @@ var zn = (
3024
2998
  var t = this.position.offset;
3025
2999
  if (t >= this.message.length)
3026
3000
  throw Error("out of bound");
3027
- var r = cr(this.message, t);
3001
+ var r = br(this.message, t);
3028
3002
  if (r === void 0)
3029
3003
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3030
3004
  return r;
@@ -3043,7 +3017,7 @@ var zn = (
3043
3017
  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);
3044
3018
  }
3045
3019
  }, e.prototype.bumpIf = function(t) {
3046
- if (wt(this.message, t, this.offset())) {
3020
+ if (Bt(this.message, t, this.offset())) {
3047
3021
  for (var r = 0; r < t.length; r++)
3048
3022
  this.bump();
3049
3023
  return !0;
@@ -3065,7 +3039,7 @@ var zn = (
3065
3039
  break;
3066
3040
  }
3067
3041
  }, e.prototype.bumpSpace = function() {
3068
- for (; !this.isEOF() && mr(this.char()); )
3042
+ for (; !this.isEOF() && yr(this.char()); )
3069
3043
  this.bump();
3070
3044
  }, e.prototype.peek = function() {
3071
3045
  if (this.isEOF())
@@ -3075,47 +3049,47 @@ var zn = (
3075
3049
  }, e;
3076
3050
  }()
3077
3051
  );
3078
- function ot(e) {
3052
+ function st(e) {
3079
3053
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3080
3054
  }
3081
- function Zn(e) {
3082
- return ot(e) || e === 47;
3055
+ function Kn(e) {
3056
+ return st(e) || e === 47;
3083
3057
  }
3084
- function Qn(e) {
3058
+ function ei(e) {
3085
3059
  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;
3086
3060
  }
3087
- function mr(e) {
3061
+ function yr(e) {
3088
3062
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3089
3063
  }
3090
- function Yn(e) {
3064
+ function ti(e) {
3091
3065
  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;
3092
3066
  }
3093
- function st(e) {
3067
+ function at(e) {
3094
3068
  e.forEach(function(t) {
3095
- if (delete t.location, nr(t) || ir(t))
3069
+ if (delete t.location, ur(t) || lr(t))
3096
3070
  for (var r in t.options)
3097
- delete t.options[r].location, st(t.options[r].value);
3071
+ delete t.options[r].location, at(t.options[r].value);
3098
3072
  else
3099
- er(t) && sr(t.style) || (tr(t) || rr(t)) && tt(t.style) ? delete t.style.location : or(t) && st(t.children);
3073
+ or(t) && cr(t.style) || (sr(t) || ar(t)) && rt(t.style) ? delete t.style.location : hr(t) && at(t.children);
3100
3074
  });
3101
3075
  }
3102
- function Jn(e, t) {
3103
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3104
- var r = new zn(e, t).parse();
3076
+ function ri(e, t) {
3077
+ t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3078
+ var r = new qn(e, t).parse();
3105
3079
  if (r.err) {
3106
3080
  var n = SyntaxError(v[r.err.kind]);
3107
3081
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3108
3082
  }
3109
- return t?.captureLocation || st(r.val), r.val;
3083
+ return t?.captureLocation || at(r.val), r.val;
3110
3084
  }
3111
- var se;
3085
+ var oe;
3112
3086
  (function(e) {
3113
3087
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3114
- })(se || (se = {}));
3115
- var Ge = (
3088
+ })(oe || (oe = {}));
3089
+ var je = (
3116
3090
  /** @class */
3117
3091
  function(e) {
3118
- V(t, e);
3092
+ Fe(t, e);
3119
3093
  function t(r, n, i) {
3120
3094
  var o = e.call(this, r) || this;
3121
3095
  return o.code = n, o.originalMessage = i, o;
@@ -3124,48 +3098,48 @@ var Ge = (
3124
3098
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3125
3099
  }, t;
3126
3100
  }(Error)
3127
- ), At = (
3101
+ ), It = (
3128
3102
  /** @class */
3129
3103
  function(e) {
3130
- V(t, e);
3104
+ Fe(t, e);
3131
3105
  function t(r, n, i, o) {
3132
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3106
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3133
3107
  }
3134
3108
  return t;
3135
- }(Ge)
3136
- ), qn = (
3109
+ }(je)
3110
+ ), ni = (
3137
3111
  /** @class */
3138
3112
  function(e) {
3139
- V(t, e);
3113
+ Fe(t, e);
3140
3114
  function t(r, n, i) {
3141
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3115
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3142
3116
  }
3143
3117
  return t;
3144
- }(Ge)
3145
- ), Kn = (
3118
+ }(je)
3119
+ ), ii = (
3146
3120
  /** @class */
3147
3121
  function(e) {
3148
- V(t, e);
3122
+ Fe(t, e);
3149
3123
  function t(r, n) {
3150
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3124
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3151
3125
  }
3152
3126
  return t;
3153
- }(Ge)
3127
+ }(je)
3154
3128
  ), C;
3155
3129
  (function(e) {
3156
3130
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3157
3131
  })(C || (C = {}));
3158
- function ei(e) {
3132
+ function oi(e) {
3159
3133
  return e.length < 2 ? e : e.reduce(function(t, r) {
3160
3134
  var n = t[t.length - 1];
3161
3135
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3162
3136
  }, []);
3163
3137
  }
3164
- function ti(e) {
3138
+ function si(e) {
3165
3139
  return typeof e == "function";
3166
3140
  }
3167
3141
  function Ce(e, t, r, n, i, o, s) {
3168
- if (e.length === 1 && xt(e[0]))
3142
+ if (e.length === 1 && Ht(e[0]))
3169
3143
  return [
3170
3144
  {
3171
3145
  type: C.literal,
@@ -3174,105 +3148,105 @@ function Ce(e, t, r, n, i, o, s) {
3174
3148
  ];
3175
3149
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3176
3150
  var h = u[l];
3177
- if (xt(h)) {
3151
+ if (Ht(h)) {
3178
3152
  a.push({
3179
3153
  type: C.literal,
3180
3154
  value: h.value
3181
3155
  });
3182
3156
  continue;
3183
3157
  }
3184
- if (Sn(h)) {
3158
+ if (An(h)) {
3185
3159
  typeof o == "number" && a.push({
3186
3160
  type: C.literal,
3187
3161
  value: r.getNumberFormat(t).format(o)
3188
3162
  });
3189
3163
  continue;
3190
3164
  }
3191
- var m = h.value;
3192
- if (!(i && m in i))
3193
- throw new Kn(m, s);
3194
- var c = i[m];
3195
- if (En(h)) {
3165
+ var p = h.value;
3166
+ if (!(i && p in i))
3167
+ throw new ii(p, s);
3168
+ var c = i[p];
3169
+ if (Pn(h)) {
3196
3170
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3197
3171
  type: typeof c == "string" ? C.literal : C.object,
3198
3172
  value: c
3199
3173
  });
3200
3174
  continue;
3201
3175
  }
3202
- if (tr(h)) {
3203
- var b = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3176
+ if (sr(h)) {
3177
+ var b = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3204
3178
  a.push({
3205
3179
  type: C.literal,
3206
3180
  value: r.getDateTimeFormat(t, b).format(c)
3207
3181
  });
3208
3182
  continue;
3209
3183
  }
3210
- if (rr(h)) {
3211
- var b = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3184
+ if (ar(h)) {
3185
+ var b = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
3212
3186
  a.push({
3213
3187
  type: C.literal,
3214
3188
  value: r.getDateTimeFormat(t, b).format(c)
3215
3189
  });
3216
3190
  continue;
3217
3191
  }
3218
- if (er(h)) {
3219
- var b = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3192
+ if (or(h)) {
3193
+ var b = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3220
3194
  b && b.scale && (c = c * (b.scale || 1)), a.push({
3221
3195
  type: C.literal,
3222
3196
  value: r.getNumberFormat(t, b).format(c)
3223
3197
  });
3224
3198
  continue;
3225
3199
  }
3226
- if (or(h)) {
3227
- var y = h.children, g = h.value, x = i[g];
3228
- if (!ti(x))
3229
- throw new qn(g, "function", s);
3230
- var A = Ce(y, t, r, n, i, o), E = x(A.map(function(d) {
3200
+ if (hr(h)) {
3201
+ var y = h.children, g = h.value, E = i[g];
3202
+ if (!si(E))
3203
+ throw new ni(g, "function", s);
3204
+ var A = Ce(y, t, r, n, i, o), x = E(A.map(function(d) {
3231
3205
  return d.value;
3232
3206
  }));
3233
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(d) {
3207
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(d) {
3234
3208
  return {
3235
3209
  type: typeof d == "string" ? C.literal : C.object,
3236
3210
  value: d
3237
3211
  };
3238
3212
  }));
3239
3213
  }
3240
- if (nr(h)) {
3214
+ if (ur(h)) {
3241
3215
  var f = h.options[c] || h.options.other;
3242
3216
  if (!f)
3243
- throw new At(h.value, c, Object.keys(h.options), s);
3217
+ throw new It(h.value, c, Object.keys(h.options), s);
3244
3218
  a.push.apply(a, Ce(f.value, t, r, n, i));
3245
3219
  continue;
3246
3220
  }
3247
- if (ir(h)) {
3221
+ if (lr(h)) {
3248
3222
  var f = h.options["=".concat(c)];
3249
3223
  if (!f) {
3250
3224
  if (!Intl.PluralRules)
3251
- throw new Ge(`Intl.PluralRules is not available in this environment.
3225
+ throw new je(`Intl.PluralRules is not available in this environment.
3252
3226
  Try polyfilling it using "@formatjs/intl-pluralrules"
3253
- `, se.MISSING_INTL_API, s);
3254
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3255
- f = h.options[w] || h.options.other;
3227
+ `, oe.MISSING_INTL_API, s);
3228
+ var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3229
+ f = h.options[T] || h.options.other;
3256
3230
  }
3257
3231
  if (!f)
3258
- throw new At(h.value, c, Object.keys(h.options), s);
3232
+ throw new It(h.value, c, Object.keys(h.options), s);
3259
3233
  a.push.apply(a, Ce(f.value, t, r, n, i, c - (h.offset || 0)));
3260
3234
  continue;
3261
3235
  }
3262
3236
  }
3263
- return ei(a);
3237
+ return oi(a);
3264
3238
  }
3265
- function ri(e, t) {
3266
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3267
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3239
+ function ai(e, t) {
3240
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3241
+ return r[n] = F(F({}, e[n]), t[n] || {}), r;
3268
3242
  }, {})) : e;
3269
3243
  }
3270
- function ni(e, t) {
3244
+ function ui(e, t) {
3271
3245
  return t ? Object.keys(e).reduce(function(r, n) {
3272
- return r[n] = ri(e[n], t[n]), r;
3273
- }, S({}, e)) : e;
3246
+ return r[n] = ai(e[n], t[n]), r;
3247
+ }, F({}, e)) : e;
3274
3248
  }
3275
- function ze(e) {
3249
+ function Ye(e) {
3276
3250
  return {
3277
3251
  create: function() {
3278
3252
  return {
@@ -3286,39 +3260,39 @@ function ze(e) {
3286
3260
  }
3287
3261
  };
3288
3262
  }
3289
- function ii(e) {
3263
+ function li(e) {
3290
3264
  return e === void 0 && (e = {
3291
3265
  number: {},
3292
3266
  dateTime: {},
3293
3267
  pluralRules: {}
3294
3268
  }), {
3295
- getNumberFormat: Ve(function() {
3269
+ getNumberFormat: ze(function() {
3296
3270
  for (var t, r = [], n = 0; n < arguments.length; n++)
3297
3271
  r[n] = arguments[n];
3298
- return new ((t = Intl.NumberFormat).bind.apply(t, ne([void 0], r, !1)))();
3272
+ return new ((t = Intl.NumberFormat).bind.apply(t, We([void 0], r, !1)))();
3299
3273
  }, {
3300
- cache: ze(e.number),
3301
- strategy: Xe.variadic
3274
+ cache: Ye(e.number),
3275
+ strategy: Ze.variadic
3302
3276
  }),
3303
- getDateTimeFormat: Ve(function() {
3277
+ getDateTimeFormat: ze(function() {
3304
3278
  for (var t, r = [], n = 0; n < arguments.length; n++)
3305
3279
  r[n] = arguments[n];
3306
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ne([void 0], r, !1)))();
3280
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, We([void 0], r, !1)))();
3307
3281
  }, {
3308
- cache: ze(e.dateTime),
3309
- strategy: Xe.variadic
3282
+ cache: Ye(e.dateTime),
3283
+ strategy: Ze.variadic
3310
3284
  }),
3311
- getPluralRules: Ve(function() {
3285
+ getPluralRules: ze(function() {
3312
3286
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3287
  r[n] = arguments[n];
3314
- return new ((t = Intl.PluralRules).bind.apply(t, ne([void 0], r, !1)))();
3288
+ return new ((t = Intl.PluralRules).bind.apply(t, We([void 0], r, !1)))();
3315
3289
  }, {
3316
- cache: ze(e.pluralRules),
3317
- strategy: Xe.variadic
3290
+ cache: Ye(e.pluralRules),
3291
+ strategy: Ze.variadic
3318
3292
  })
3319
3293
  };
3320
3294
  }
3321
- var pr = (
3295
+ var vr = (
3322
3296
  /** @class */
3323
3297
  function() {
3324
3298
  function e(t, r, n, i) {
@@ -3332,8 +3306,8 @@ var pr = (
3332
3306
  var u = o.formatToParts(l);
3333
3307
  if (u.length === 1)
3334
3308
  return u[0].value;
3335
- var h = u.reduce(function(m, c) {
3336
- return !m.length || c.type !== C.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3309
+ var h = u.reduce(function(p, c) {
3310
+ return !p.length || c.type !== C.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3337
3311
  }, []);
3338
3312
  return h.length <= 1 ? h[0] || "" : h;
3339
3313
  }, this.formatToParts = function(l) {
@@ -3350,13 +3324,13 @@ var pr = (
3350
3324
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3351
3325
  var s = i || {};
3352
3326
  s.formatters;
3353
- var a = pn(s, ["formatters"]);
3354
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3327
+ var a = vn(s, ["formatters"]);
3328
+ this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3355
3329
  } else
3356
3330
  this.ast = t;
3357
3331
  if (!Array.isArray(this.ast))
3358
3332
  throw new TypeError("A message must be provided as a String or AST.");
3359
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3333
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3360
3334
  }
3361
3335
  return Object.defineProperty(e, "defaultLocale", {
3362
3336
  get: function() {
@@ -3369,7 +3343,7 @@ var pr = (
3369
3343
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3370
3344
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3371
3345
  }
3372
- }, e.__parse = Jn, e.formats = {
3346
+ }, e.__parse = ri, e.formats = {
3373
3347
  number: {
3374
3348
  integer: {
3375
3349
  maximumFractionDigits: 0
@@ -3430,7 +3404,7 @@ var pr = (
3430
3404
  }, e;
3431
3405
  }()
3432
3406
  );
3433
- function oi(e, t) {
3407
+ function hi(e, t) {
3434
3408
  if (t == null)
3435
3409
  return;
3436
3410
  if (t in e)
@@ -3451,101 +3425,101 @@ function oi(e, t) {
3451
3425
  n = void 0;
3452
3426
  return n;
3453
3427
  }
3454
- const X = {}, si = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), dr = (e, t) => {
3428
+ const X = {}, ci = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), _r = (e, t) => {
3455
3429
  if (t == null)
3456
3430
  return;
3457
3431
  if (t in X && e in X[t])
3458
3432
  return X[t][e];
3459
- const r = xe(t);
3433
+ const r = _e(t);
3460
3434
  for (let n = 0; n < r.length; n++) {
3461
- const i = r[n], o = ui(i, e);
3435
+ const i = r[n], o = pi(i, e);
3462
3436
  if (o)
3463
- return si(e, t, o);
3437
+ return ci(e, t, o);
3464
3438
  }
3465
3439
  };
3466
- let pt;
3467
- const _e = Ue({});
3468
- function ai(e) {
3469
- return pt[e] || null;
3440
+ let vt;
3441
+ const ve = Ge({});
3442
+ function fi(e) {
3443
+ return vt[e] || null;
3470
3444
  }
3471
- function br(e) {
3472
- return e in pt;
3445
+ function Er(e) {
3446
+ return e in vt;
3473
3447
  }
3474
- function ui(e, t) {
3475
- if (!br(e))
3448
+ function pi(e, t) {
3449
+ if (!Er(e))
3476
3450
  return null;
3477
- const r = ai(e);
3478
- return oi(r, t);
3451
+ const r = fi(e);
3452
+ return hi(r, t);
3479
3453
  }
3480
- function li(e) {
3454
+ function mi(e) {
3481
3455
  if (e == null)
3482
3456
  return;
3483
- const t = xe(e);
3457
+ const t = _e(e);
3484
3458
  for (let r = 0; r < t.length; r++) {
3485
3459
  const n = t[r];
3486
- if (br(n))
3460
+ if (Er(n))
3487
3461
  return n;
3488
3462
  }
3489
3463
  }
3490
- function gr(e, ...t) {
3491
- delete X[e], _e.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3464
+ function xr(e, ...t) {
3465
+ delete X[e], ve.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3492
3466
  }
3493
- le(
3494
- [_e],
3467
+ ue(
3468
+ [ve],
3495
3469
  ([e]) => Object.keys(e)
3496
3470
  );
3497
- _e.subscribe((e) => pt = e);
3471
+ ve.subscribe((e) => vt = e);
3498
3472
  const Ie = {};
3499
- function hi(e, t) {
3473
+ function di(e, t) {
3500
3474
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3501
3475
  }
3502
- function yr(e) {
3476
+ function Sr(e) {
3503
3477
  return Ie[e];
3504
3478
  }
3505
- function ci(e) {
3506
- return xe(e).map((t) => {
3507
- const r = yr(t);
3479
+ function bi(e) {
3480
+ return _e(e).map((t) => {
3481
+ const r = Sr(t);
3508
3482
  return [t, r ? [...r] : []];
3509
3483
  }).filter(([, t]) => t.length > 0);
3510
3484
  }
3511
- function $e(e) {
3512
- return e == null ? !1 : xe(e).some(
3485
+ function Re(e) {
3486
+ return e == null ? !1 : _e(e).some(
3513
3487
  (t) => {
3514
3488
  var r;
3515
- return (r = yr(t)) == null ? void 0 : r.size;
3489
+ return (r = Sr(t)) == null ? void 0 : r.size;
3516
3490
  }
3517
3491
  );
3518
3492
  }
3519
- function fi(e, t) {
3493
+ function gi(e, t) {
3520
3494
  return Promise.all(
3521
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
3522
- ).then((n) => gr(e, ...n));
3523
- }
3524
- const me = {};
3525
- function vr(e) {
3526
- if (!$e(e))
3527
- return e in me ? me[e] : Promise.resolve();
3528
- const t = ci(e);
3529
- return me[e] = Promise.all(
3495
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3496
+ ).then((n) => xr(e, ...n));
3497
+ }
3498
+ const fe = {};
3499
+ function Tr(e) {
3500
+ if (!Re(e))
3501
+ return e in fe ? fe[e] : Promise.resolve();
3502
+ const t = bi(e);
3503
+ return fe[e] = Promise.all(
3530
3504
  t.map(
3531
- ([r, n]) => fi(r, n)
3505
+ ([r, n]) => gi(r, n)
3532
3506
  )
3533
3507
  ).then(() => {
3534
- if ($e(e))
3535
- return vr(e);
3536
- delete me[e];
3537
- }), me[e];
3508
+ if (Re(e))
3509
+ return Tr(e);
3510
+ delete fe[e];
3511
+ }), fe[e];
3538
3512
  }
3539
- var Bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, di = (e, t) => {
3513
+ var Lt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _i = (e, t) => {
3540
3514
  var r = {};
3541
3515
  for (var n in e)
3542
- mi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3543
- if (e != null && Bt)
3544
- for (var n of Bt(e))
3545
- t.indexOf(n) < 0 && pi.call(e, n) && (r[n] = e[n]);
3516
+ yi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3517
+ if (e != null && Lt)
3518
+ for (var n of Lt(e))
3519
+ t.indexOf(n) < 0 && vi.call(e, n) && (r[n] = e[n]);
3546
3520
  return r;
3547
3521
  };
3548
- const bi = {
3522
+ const Ei = {
3549
3523
  number: {
3550
3524
  scientific: { notation: "scientific" },
3551
3525
  engineering: { notation: "engineering" },
@@ -3575,159 +3549,159 @@ const bi = {
3575
3549
  }
3576
3550
  }
3577
3551
  };
3578
- function gi({ locale: e, id: t }) {
3552
+ function xi({ locale: e, id: t }) {
3579
3553
  console.warn(
3580
- `[svelte-i18n] The message "${t}" was not found in "${xe(
3554
+ `[svelte-i18n] The message "${t}" was not found in "${_e(
3581
3555
  e
3582
- ).join('", "')}".${$e(W()) ? `
3556
+ ).join('", "')}".${Re(W()) ? `
3583
3557
 
3584
3558
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3585
3559
  );
3586
3560
  }
3587
- const yi = {
3561
+ const Si = {
3588
3562
  fallbackLocale: null,
3589
3563
  loadingDelay: 200,
3590
- formats: bi,
3564
+ formats: Ei,
3591
3565
  warnOnMissingMessages: !0,
3592
3566
  handleMissingMessage: void 0,
3593
3567
  ignoreTag: !0
3594
- }, pe = yi;
3595
- function ae() {
3568
+ }, pe = Si;
3569
+ function se() {
3596
3570
  return pe;
3597
3571
  }
3598
- function vi(e) {
3599
- const t = e, { formats: r } = t, n = di(t, ["formats"]);
3572
+ function Ti(e) {
3573
+ const t = e, { formats: r } = t, n = _i(t, ["formats"]);
3600
3574
  let i = e.fallbackLocale;
3601
3575
  if (e.initialLocale)
3602
3576
  try {
3603
- pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3577
+ vr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3604
3578
  } catch {
3605
3579
  console.warn(
3606
3580
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3607
3581
  );
3608
3582
  }
3609
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = gi : console.warn(
3583
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = xi : console.warn(
3610
3584
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3611
3585
  )), Object.assign(pe, n, { initialLocale: i }), r && ("number" in r && Object.assign(pe.formats.number, r.number), "date" in r && Object.assign(pe.formats.date, r.date), "time" in r && Object.assign(pe.formats.time, r.time)), Z.set(i);
3612
3586
  }
3613
- const Ze = Ue(!1);
3614
- var _i = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
3587
+ const Je = Ge(!1);
3588
+ var wi = Object.defineProperty, Hi = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3615
3589
  for (var r in t || (t = {}))
3616
- Si.call(t, r) && Ot(e, r, t[r]);
3617
- if (Mt)
3618
- for (var r of Mt(t))
3619
- Ti.call(t, r) && Ot(e, r, t[r]);
3590
+ Ai.call(t, r) && $t(e, r, t[r]);
3591
+ if (Nt)
3592
+ for (var r of Nt(t))
3593
+ Oi.call(t, r) && $t(e, r, t[r]);
3620
3594
  return e;
3621
- }, Hi = (e, t) => xi(e, Ei(t));
3622
- let at;
3623
- const Re = Ue(null);
3624
- function Ct(e) {
3595
+ }, Mi = (e, t) => Hi(e, Pi(t));
3596
+ let ut;
3597
+ const De = Ge(null);
3598
+ function Rt(e) {
3625
3599
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3626
3600
  }
3627
- function xe(e, t = ae().fallbackLocale) {
3628
- const r = Ct(e);
3629
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3601
+ function _e(e, t = se().fallbackLocale) {
3602
+ const r = Rt(e);
3603
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
3630
3604
  }
3631
3605
  function W() {
3632
- return at ?? void 0;
3606
+ return ut ?? void 0;
3633
3607
  }
3634
- Re.subscribe((e) => {
3635
- at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3608
+ De.subscribe((e) => {
3609
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3636
3610
  });
3637
- const Pi = (e) => {
3638
- if (e && li(e) && $e(e)) {
3639
- const { loadingDelay: t } = ae();
3611
+ const Ci = (e) => {
3612
+ if (e && mi(e) && Re(e)) {
3613
+ const { loadingDelay: t } = se();
3640
3614
  let r;
3641
3615
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3642
- () => Ze.set(!0),
3616
+ () => Je.set(!0),
3643
3617
  t
3644
- ) : Ze.set(!0), vr(e).then(() => {
3645
- Re.set(e);
3618
+ ) : Je.set(!0), Tr(e).then(() => {
3619
+ De.set(e);
3646
3620
  }).finally(() => {
3647
- clearTimeout(r), Ze.set(!1);
3621
+ clearTimeout(r), Je.set(!1);
3648
3622
  });
3649
3623
  }
3650
- return Re.set(e);
3651
- }, Z = Hi(wi({}, Re), {
3652
- set: Pi
3653
- }), Fe = (e) => {
3624
+ return De.set(e);
3625
+ }, Z = Mi(Bi({}, De), {
3626
+ set: Ci
3627
+ }), ke = (e) => {
3654
3628
  const t = /* @__PURE__ */ Object.create(null);
3655
3629
  return (n) => {
3656
3630
  const i = JSON.stringify(n);
3657
3631
  return i in t ? t[i] : t[i] = e(n);
3658
3632
  };
3659
3633
  };
3660
- var Ai = Object.defineProperty, De = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
3634
+ var Ii = Object.defineProperty, Ue = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3661
3635
  for (var r in t || (t = {}))
3662
- _r.call(t, r) && It(e, r, t[r]);
3663
- if (De)
3664
- for (var r of De(t))
3665
- xr.call(t, r) && It(e, r, t[r]);
3636
+ wr.call(t, r) && Dt(e, r, t[r]);
3637
+ if (Ue)
3638
+ for (var r of Ue(t))
3639
+ Hr.call(t, r) && Dt(e, r, t[r]);
3666
3640
  return e;
3667
- }, he = (e, t) => {
3641
+ }, le = (e, t) => {
3668
3642
  var r = {};
3669
3643
  for (var n in e)
3670
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3671
- if (e != null && De)
3672
- for (var n of De(e))
3673
- t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
3644
+ wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3645
+ if (e != null && Ue)
3646
+ for (var n of Ue(e))
3647
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
3674
3648
  return r;
3675
3649
  };
3676
- const ve = (e, t) => {
3677
- const { formats: r } = ae();
3650
+ const ye = (e, t) => {
3651
+ const { formats: r } = se();
3678
3652
  if (e in r && t in r[e])
3679
3653
  return r[e][t];
3680
3654
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3681
- }, Bi = Fe(
3655
+ }, Li = ke(
3682
3656
  (e) => {
3683
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3657
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3684
3658
  if (r == null)
3685
3659
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3686
- return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3660
+ return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
3687
3661
  }
3688
- ), Mi = Fe(
3662
+ ), Ni = ke(
3689
3663
  (e) => {
3690
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3664
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3691
3665
  if (r == null)
3692
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3693
- return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3667
+ return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
3694
3668
  }
3695
- ), Oi = Fe(
3669
+ ), $i = ke(
3696
3670
  (e) => {
3697
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3671
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3698
3672
  if (r == null)
3699
3673
  throw new Error(
3700
3674
  '[svelte-i18n] A "locale" must be set to format time values'
3701
3675
  );
3702
- return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3676
+ return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
3703
3677
  }
3704
- ), Ci = (e = {}) => {
3678
+ ), Ri = (e = {}) => {
3705
3679
  var t = e, {
3706
3680
  locale: r = W()
3707
- } = t, n = he(t, [
3681
+ } = t, n = le(t, [
3708
3682
  "locale"
3709
3683
  ]);
3710
- return Bi(dt({ locale: r }, n));
3711
- }, Ii = (e = {}) => {
3684
+ return Li(_t({ locale: r }, n));
3685
+ }, Di = (e = {}) => {
3712
3686
  var t = e, {
3713
3687
  locale: r = W()
3714
- } = t, n = he(t, [
3688
+ } = t, n = le(t, [
3715
3689
  "locale"
3716
3690
  ]);
3717
- return Mi(dt({ locale: r }, n));
3718
- }, Li = (e = {}) => {
3691
+ return Ni(_t({ locale: r }, n));
3692
+ }, Ui = (e = {}) => {
3719
3693
  var t = e, {
3720
3694
  locale: r = W()
3721
- } = t, n = he(t, [
3695
+ } = t, n = le(t, [
3722
3696
  "locale"
3723
3697
  ]);
3724
- return Oi(dt({ locale: r }, n));
3725
- }, Ni = Fe(
3698
+ return $i(_t({ locale: r }, n));
3699
+ }, Gi = ke(
3726
3700
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3727
- (e, t = W()) => new pr(e, t, ae().formats, {
3728
- ignoreTag: ae().ignoreTag
3701
+ (e, t = W()) => new vr(e, t, se().formats, {
3702
+ ignoreTag: se().ignoreTag
3729
3703
  })
3730
- ), $i = (e, t = {}) => {
3704
+ ), Fi = (e, t = {}) => {
3731
3705
  var r, n, i, o;
3732
3706
  let s = t;
3733
3707
  typeof e == "object" && (s = e, e = s.id);
@@ -3740,45 +3714,45 @@ const ve = (e, t) => {
3740
3714
  throw new Error(
3741
3715
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3742
3716
  );
3743
- let h = dr(e, l);
3717
+ let h = _r(e, l);
3744
3718
  if (!h)
3745
- h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3719
+ h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3746
3720
  else if (typeof h != "string")
3747
3721
  return console.warn(
3748
3722
  `[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.`
3749
3723
  ), h;
3750
3724
  if (!a)
3751
3725
  return h;
3752
- let m = h;
3726
+ let p = h;
3753
3727
  try {
3754
- m = Ni(h, l).format(a);
3728
+ p = Gi(h, l).format(a);
3755
3729
  } catch (c) {
3756
3730
  c instanceof Error && console.warn(
3757
3731
  `[svelte-i18n] Message "${e}" has syntax error:`,
3758
3732
  c.message
3759
3733
  );
3760
3734
  }
3761
- return m;
3762
- }, Ri = (e, t) => Li(t).format(e), Di = (e, t) => Ii(t).format(e), Ui = (e, t) => Ci(t).format(e), Gi = (e, t = W()) => dr(e, t), Fi = le([Z, _e], () => $i);
3763
- le([Z], () => Ri);
3764
- le([Z], () => Di);
3765
- le([Z], () => Ui);
3766
- le([Z, _e], () => Gi);
3767
- function Lt(e, t) {
3768
- gr(e, t);
3769
- }
3770
- function ji(e) {
3771
- vi({
3735
+ return p;
3736
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => Ri(t).format(e), Xi = (e, t = W()) => _r(e, t), Wi = ue([Z, ve], () => Fi);
3737
+ ue([Z], () => ji);
3738
+ ue([Z], () => ki);
3739
+ ue([Z], () => Vi);
3740
+ ue([Z, ve], () => Xi);
3741
+ function Ut(e, t) {
3742
+ xr(e, t);
3743
+ }
3744
+ function zi(e) {
3745
+ Ti({
3772
3746
  fallbackLocale: "en"
3773
3747
  }), Z.set(e);
3774
3748
  }
3775
- function ki(e, t) {
3749
+ function Zi(e, t) {
3776
3750
  if (e) {
3777
3751
  const r = document.createElement("style");
3778
3752
  r.innerHTML = t, e.appendChild(r);
3779
3753
  }
3780
3754
  }
3781
- function Vi(e, t) {
3755
+ function Qi(e, t) {
3782
3756
  const r = new URL(t);
3783
3757
  fetch(r.href).then((n) => n.text()).then((n) => {
3784
3758
  const i = document.createElement("style");
@@ -3787,7 +3761,7 @@ function Vi(e, t) {
3787
3761
  console.error("There was an error while trying to load client styling from URL", n);
3788
3762
  });
3789
3763
  }
3790
- function Xi(e, t, r) {
3764
+ function Yi(e, t, r) {
3791
3765
  if (window.emMessageBus) {
3792
3766
  const n = document.createElement("style");
3793
3767
  window.emMessageBus.subscribe(t, (i) => {
@@ -3795,16 +3769,85 @@ function Xi(e, t, r) {
3795
3769
  });
3796
3770
  }
3797
3771
  }
3798
- function k(e) {
3772
+ /*! *****************************************************************************
3773
+ Copyright (c) Microsoft Corporation.
3774
+
3775
+ Permission to use, copy, modify, and/or distribute this software for any
3776
+ purpose with or without fee is hereby granted.
3777
+
3778
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3779
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3780
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3781
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3782
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3783
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3784
+ PERFORMANCE OF THIS SOFTWARE.
3785
+ ***************************************************************************** */
3786
+ var lt = function(e, t) {
3787
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3788
+ r.__proto__ = n;
3789
+ } || function(r, n) {
3790
+ for (var i in n)
3791
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3792
+ }, lt(e, t);
3793
+ };
3794
+ function Ee(e, t) {
3795
+ if (typeof t != "function" && t !== null)
3796
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3797
+ lt(e, t);
3798
+ function r() {
3799
+ this.constructor = e;
3800
+ }
3801
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3802
+ }
3803
+ function ht(e) {
3804
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3805
+ if (r)
3806
+ return r.call(e);
3807
+ if (e && typeof e.length == "number")
3808
+ return {
3809
+ next: function() {
3810
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3811
+ }
3812
+ };
3813
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3814
+ }
3815
+ function ct(e, t) {
3816
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3817
+ if (!r)
3818
+ return e;
3819
+ var n = r.call(e), i, o = [], s;
3820
+ try {
3821
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3822
+ o.push(i.value);
3823
+ } catch (a) {
3824
+ s = { error: a };
3825
+ } finally {
3826
+ try {
3827
+ i && !i.done && (r = n.return) && r.call(n);
3828
+ } finally {
3829
+ if (s)
3830
+ throw s.error;
3831
+ }
3832
+ }
3833
+ return o;
3834
+ }
3835
+ function ft(e, t, r) {
3836
+ if (arguments.length === 2)
3837
+ for (var n = 0, i = t.length, o; n < i; n++)
3838
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3839
+ return e.concat(o || t);
3840
+ }
3841
+ function V(e) {
3799
3842
  return typeof e == "function";
3800
3843
  }
3801
- function Er(e) {
3844
+ function Pr(e) {
3802
3845
  var t = function(n) {
3803
3846
  Error.call(n), n.stack = new Error().stack;
3804
3847
  }, r = e(t);
3805
3848
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3806
3849
  }
3807
- var Qe = Er(function(e) {
3850
+ var qe = Pr(function(e) {
3808
3851
  return function(r) {
3809
3852
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3810
3853
  ` + r.map(function(n, i) {
@@ -3813,13 +3856,13 @@ var Qe = Er(function(e) {
3813
3856
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3814
3857
  };
3815
3858
  });
3816
- function ut(e, t) {
3859
+ function pt(e, t) {
3817
3860
  if (e) {
3818
3861
  var r = e.indexOf(t);
3819
3862
  0 <= r && e.splice(r, 1);
3820
3863
  }
3821
3864
  }
3822
- var je = function() {
3865
+ var Ve = function() {
3823
3866
  function e(t) {
3824
3867
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3825
3868
  }
@@ -3831,7 +3874,7 @@ var je = function() {
3831
3874
  if (s)
3832
3875
  if (this._parentage = null, Array.isArray(s))
3833
3876
  try {
3834
- for (var a = Ke(s), l = a.next(); !l.done; l = a.next()) {
3877
+ for (var a = ht(s), l = a.next(); !l.done; l = a.next()) {
3835
3878
  var u = l.value;
3836
3879
  u.remove(this);
3837
3880
  }
@@ -3848,22 +3891,22 @@ var je = function() {
3848
3891
  else
3849
3892
  s.remove(this);
3850
3893
  var h = this.initialTeardown;
3851
- if (k(h))
3894
+ if (V(h))
3852
3895
  try {
3853
3896
  h();
3854
3897
  } catch (g) {
3855
- o = g instanceof Qe ? g.errors : [g];
3898
+ o = g instanceof qe ? g.errors : [g];
3856
3899
  }
3857
- var m = this._finalizers;
3858
- if (m) {
3900
+ var p = this._finalizers;
3901
+ if (p) {
3859
3902
  this._finalizers = null;
3860
3903
  try {
3861
- for (var c = Ke(m), b = c.next(); !b.done; b = c.next()) {
3904
+ for (var c = ht(p), b = c.next(); !b.done; b = c.next()) {
3862
3905
  var y = b.value;
3863
3906
  try {
3864
- Nt(y);
3907
+ Gt(y);
3865
3908
  } catch (g) {
3866
- o = o ?? [], g instanceof Qe ? o = ne(ne([], et(o)), et(g.errors)) : o.push(g);
3909
+ o = o ?? [], g instanceof qe ? o = ft(ft([], ct(o)), ct(g.errors)) : o.push(g);
3867
3910
  }
3868
3911
  }
3869
3912
  } catch (g) {
@@ -3878,13 +3921,13 @@ var je = function() {
3878
3921
  }
3879
3922
  }
3880
3923
  if (o)
3881
- throw new Qe(o);
3924
+ throw new qe(o);
3882
3925
  }
3883
3926
  }, e.prototype.add = function(t) {
3884
3927
  var r;
3885
3928
  if (t && t !== this)
3886
3929
  if (this.closed)
3887
- Nt(t);
3930
+ Gt(t);
3888
3931
  else {
3889
3932
  if (t instanceof e) {
3890
3933
  if (t.closed || t._hasParent(this))
@@ -3901,52 +3944,52 @@ var je = function() {
3901
3944
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3902
3945
  }, e.prototype._removeParent = function(t) {
3903
3946
  var r = this._parentage;
3904
- r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
3947
+ r === t ? this._parentage = null : Array.isArray(r) && pt(r, t);
3905
3948
  }, e.prototype.remove = function(t) {
3906
3949
  var r = this._finalizers;
3907
- r && ut(r, t), t instanceof e && t._removeParent(this);
3950
+ r && pt(r, t), t instanceof e && t._removeParent(this);
3908
3951
  }, e.EMPTY = function() {
3909
3952
  var t = new e();
3910
3953
  return t.closed = !0, t;
3911
3954
  }(), e;
3912
- }(), Sr = je.EMPTY;
3913
- function Tr(e) {
3914
- return e instanceof je || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
3955
+ }(), Ar = Ve.EMPTY;
3956
+ function Or(e) {
3957
+ return e instanceof Ve || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
3915
3958
  }
3916
- function Nt(e) {
3917
- k(e) ? e() : e.unsubscribe();
3959
+ function Gt(e) {
3960
+ V(e) ? e() : e.unsubscribe();
3918
3961
  }
3919
- var Wi = {
3962
+ var Ji = {
3920
3963
  Promise: void 0
3921
- }, zi = {
3964
+ }, qi = {
3922
3965
  setTimeout: function(e, t) {
3923
3966
  for (var r = [], n = 2; n < arguments.length; n++)
3924
3967
  r[n - 2] = arguments[n];
3925
- return setTimeout.apply(void 0, ne([e, t], et(r)));
3968
+ return setTimeout.apply(void 0, ft([e, t], ct(r)));
3926
3969
  },
3927
3970
  clearTimeout: function(e) {
3928
3971
  return clearTimeout(e);
3929
3972
  },
3930
3973
  delegate: void 0
3931
3974
  };
3932
- function Zi(e) {
3933
- zi.setTimeout(function() {
3975
+ function Ki(e) {
3976
+ qi.setTimeout(function() {
3934
3977
  throw e;
3935
3978
  });
3936
3979
  }
3937
- function $t() {
3980
+ function Ft() {
3938
3981
  }
3939
3982
  function Le(e) {
3940
3983
  e();
3941
3984
  }
3942
- var wr = function(e) {
3943
- V(t, e);
3985
+ var Br = function(e) {
3986
+ Ee(t, e);
3944
3987
  function t(r) {
3945
3988
  var n = e.call(this) || this;
3946
- return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Ji, n;
3989
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = ro, n;
3947
3990
  }
3948
3991
  return t.create = function(r, n, i) {
3949
- return new lt(r, n, i);
3992
+ return new mt(r, n, i);
3950
3993
  }, t.prototype.next = function(r) {
3951
3994
  this.isStopped || this._next(r);
3952
3995
  }, t.prototype.error = function(r) {
@@ -3970,7 +4013,7 @@ var wr = function(e) {
3970
4013
  this.unsubscribe();
3971
4014
  }
3972
4015
  }, t;
3973
- }(je), Qi = function() {
4016
+ }(Ve), eo = function() {
3974
4017
  function e(t) {
3975
4018
  this.partialObserver = t;
3976
4019
  }
@@ -4001,43 +4044,43 @@ var wr = function(e) {
4001
4044
  Ae(r);
4002
4045
  }
4003
4046
  }, e;
4004
- }(), lt = function(e) {
4005
- V(t, e);
4047
+ }(), mt = function(e) {
4048
+ Ee(t, e);
4006
4049
  function t(r, n, i) {
4007
4050
  var o = e.call(this) || this, s;
4008
- return k(r) || !r ? s = {
4051
+ return V(r) || !r ? s = {
4009
4052
  next: r ?? void 0,
4010
4053
  error: n ?? void 0,
4011
4054
  complete: i ?? void 0
4012
- } : s = r, o.destination = new Qi(s), o;
4055
+ } : s = r, o.destination = new eo(s), o;
4013
4056
  }
4014
4057
  return t;
4015
- }(wr);
4058
+ }(Br);
4016
4059
  function Ae(e) {
4017
- Zi(e);
4060
+ Ki(e);
4018
4061
  }
4019
- function Yi(e) {
4062
+ function to(e) {
4020
4063
  throw e;
4021
4064
  }
4022
- var Ji = {
4065
+ var ro = {
4023
4066
  closed: !0,
4024
- next: $t,
4025
- error: Yi,
4026
- complete: $t
4027
- }, qi = function() {
4067
+ next: Ft,
4068
+ error: to,
4069
+ complete: Ft
4070
+ }, no = function() {
4028
4071
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4029
4072
  }();
4030
- function Ki(e) {
4073
+ function io(e) {
4031
4074
  return e;
4032
4075
  }
4033
- function eo(e) {
4034
- return e.length === 0 ? Ki : e.length === 1 ? e[0] : function(r) {
4076
+ function oo(e) {
4077
+ return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
4035
4078
  return e.reduce(function(n, i) {
4036
4079
  return i(n);
4037
4080
  }, r);
4038
4081
  };
4039
4082
  }
4040
- var Rt = function() {
4083
+ var jt = function() {
4041
4084
  function e(t) {
4042
4085
  t && (this._subscribe = t);
4043
4086
  }
@@ -4045,7 +4088,7 @@ var Rt = function() {
4045
4088
  var r = new e();
4046
4089
  return r.source = this, r.operator = t, r;
4047
4090
  }, e.prototype.subscribe = function(t, r, n) {
4048
- var i = this, o = ro(t) ? t : new lt(t, r, n);
4091
+ var i = this, o = ao(t) ? t : new mt(t, r, n);
4049
4092
  return Le(function() {
4050
4093
  var s = i, a = s.operator, l = s.source;
4051
4094
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -4058,8 +4101,8 @@ var Rt = function() {
4058
4101
  }
4059
4102
  }, e.prototype.forEach = function(t, r) {
4060
4103
  var n = this;
4061
- return r = Dt(r), new r(function(i, o) {
4062
- var s = new lt({
4104
+ return r = kt(r), new r(function(i, o) {
4105
+ var s = new mt({
4063
4106
  next: function(a) {
4064
4107
  try {
4065
4108
  t(a);
@@ -4075,15 +4118,15 @@ var Rt = function() {
4075
4118
  }, e.prototype._subscribe = function(t) {
4076
4119
  var r;
4077
4120
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4078
- }, e.prototype[qi] = function() {
4121
+ }, e.prototype[no] = function() {
4079
4122
  return this;
4080
4123
  }, e.prototype.pipe = function() {
4081
4124
  for (var t = [], r = 0; r < arguments.length; r++)
4082
4125
  t[r] = arguments[r];
4083
- return eo(t)(this);
4126
+ return oo(t)(this);
4084
4127
  }, e.prototype.toPromise = function(t) {
4085
4128
  var r = this;
4086
- return t = Dt(t), new t(function(n, i) {
4129
+ return t = kt(t), new t(function(n, i) {
4087
4130
  var o;
4088
4131
  r.subscribe(function(s) {
4089
4132
  return o = s;
@@ -4097,32 +4140,32 @@ var Rt = function() {
4097
4140
  return new e(t);
4098
4141
  }, e;
4099
4142
  }();
4100
- function Dt(e) {
4143
+ function kt(e) {
4101
4144
  var t;
4102
- return (t = e ?? Wi.Promise) !== null && t !== void 0 ? t : Promise;
4145
+ return (t = e ?? Ji.Promise) !== null && t !== void 0 ? t : Promise;
4103
4146
  }
4104
- function to(e) {
4105
- return e && k(e.next) && k(e.error) && k(e.complete);
4147
+ function so(e) {
4148
+ return e && V(e.next) && V(e.error) && V(e.complete);
4106
4149
  }
4107
- function ro(e) {
4108
- return e && e instanceof wr || to(e) && Tr(e);
4150
+ function ao(e) {
4151
+ return e && e instanceof Br || so(e) && Or(e);
4109
4152
  }
4110
- var no = Er(function(e) {
4153
+ var uo = Pr(function(e) {
4111
4154
  return function() {
4112
4155
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4113
4156
  };
4114
- }), Hr = function(e) {
4115
- V(t, e);
4157
+ }), Mr = function(e) {
4158
+ Ee(t, e);
4116
4159
  function t() {
4117
4160
  var r = e.call(this) || this;
4118
4161
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4119
4162
  }
4120
4163
  return t.prototype.lift = function(r) {
4121
- var n = new Ut(this, this);
4164
+ var n = new Vt(this, this);
4122
4165
  return n.operator = r, n;
4123
4166
  }, t.prototype._throwIfClosed = function() {
4124
4167
  if (this.closed)
4125
- throw new no();
4168
+ throw new uo();
4126
4169
  }, t.prototype.next = function(r) {
4127
4170
  var n = this;
4128
4171
  Le(function() {
@@ -4130,7 +4173,7 @@ var no = Er(function(e) {
4130
4173
  if (n._throwIfClosed(), !n.isStopped) {
4131
4174
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4132
4175
  try {
4133
- for (var s = Ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4176
+ for (var s = ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4134
4177
  var l = a.value;
4135
4178
  l.next(r);
4136
4179
  }
@@ -4179,20 +4222,20 @@ var no = Er(function(e) {
4179
4222
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4180
4223
  }, t.prototype._innerSubscribe = function(r) {
4181
4224
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4182
- return o || s ? Sr : (this.currentObservers = null, a.push(r), new je(function() {
4183
- n.currentObservers = null, ut(a, r);
4225
+ return o || s ? Ar : (this.currentObservers = null, a.push(r), new Ve(function() {
4226
+ n.currentObservers = null, pt(a, r);
4184
4227
  }));
4185
4228
  }, t.prototype._checkFinalizedStatuses = function(r) {
4186
4229
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4187
4230
  i ? r.error(o) : s && r.complete();
4188
4231
  }, t.prototype.asObservable = function() {
4189
- var r = new Rt();
4232
+ var r = new jt();
4190
4233
  return r.source = this, r;
4191
4234
  }, t.create = function(r, n) {
4192
- return new Ut(r, n);
4235
+ return new Vt(r, n);
4193
4236
  }, t;
4194
- }(Rt), Ut = function(e) {
4195
- V(t, e);
4237
+ }(jt), Vt = function(e) {
4238
+ Ee(t, e);
4196
4239
  function t(r, n) {
4197
4240
  var i = e.call(this) || this;
4198
4241
  return i.destination = r, i.source = n, i;
@@ -4208,17 +4251,17 @@ var no = Er(function(e) {
4208
4251
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4209
4252
  }, t.prototype._subscribe = function(r) {
4210
4253
  var n, i;
4211
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
4254
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
4212
4255
  }, t;
4213
- }(Hr), Pr = {
4256
+ }(Mr), Cr = {
4214
4257
  now: function() {
4215
- return (Pr.delegate || Date).now();
4258
+ return (Cr.delegate || Date).now();
4216
4259
  },
4217
4260
  delegate: void 0
4218
- }, io = function(e) {
4219
- V(t, e);
4261
+ }, lo = function(e) {
4262
+ Ee(t, e);
4220
4263
  function t(r, n, i) {
4221
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pr);
4264
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Cr);
4222
4265
  var o = e.call(this) || this;
4223
4266
  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;
4224
4267
  }
@@ -4238,25 +4281,25 @@ var no = Er(function(e) {
4238
4281
  u && o.splice(0, u + 1);
4239
4282
  }
4240
4283
  }, t;
4241
- }(Hr);
4242
- const Gt = [], Ft = {}, oo = (e, t = 0) => {
4243
- if (Gt.indexOf(e) == -1) {
4244
- const r = new io(t);
4245
- Ft[e] = r, Gt.push(e);
4284
+ }(Mr);
4285
+ const Xt = [], Wt = {}, ho = (e, t = 0) => {
4286
+ if (Xt.indexOf(e) == -1) {
4287
+ const r = new lo(t);
4288
+ Wt[e] = r, Xt.push(e);
4246
4289
  }
4247
- return Ft[e];
4290
+ return Wt[e];
4248
4291
  };
4249
- let ht = "en-UK", ct = "true", de = 2, ft = "";
4250
- const so = (e, t, r, n) => {
4251
- ht = e || "en-UK", ct = t || "true", de = +n || 2, ft = r || "";
4252
- }, Be = (e, t) => {
4253
- if (!ft)
4254
- return new Intl.NumberFormat(ht, { style: "currency", currency: t, currencyDisplay: ct === "true" ? "symbol" : "code", maximumFractionDigits: de, minimumFractionDigits: de }).format(e);
4255
- const n = new Intl.NumberFormat(ht, { style: "currency", currency: t, currencyDisplay: ct === "true" ? "symbol" : "code", maximumFractionDigits: de, minimumFractionDigits: de }).formatToParts(e), i = n.find((l) => l.type === "currency"), s = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4256
- return ft === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4292
+ let dt = "en-UK", bt = "true", me = 2, gt = "";
4293
+ const co = (e, t, r, n) => {
4294
+ dt = e || "en-UK", bt = t || "true", me = +n || 2, gt = r || "";
4295
+ }, Oe = (e, t) => {
4296
+ if (!gt)
4297
+ return new Intl.NumberFormat(dt, { style: "currency", currency: t, currencyDisplay: bt === "true" ? "symbol" : "code", maximumFractionDigits: me, minimumFractionDigits: me }).format(e);
4298
+ const n = new Intl.NumberFormat(dt, { style: "currency", currency: t, currencyDisplay: bt === "true" ? "symbol" : "code", maximumFractionDigits: me, minimumFractionDigits: me }).formatToParts(e), i = n.find((l) => l.type === "currency"), s = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4299
+ return gt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4257
4300
  };
4258
- window.emWidgets = { topic: oo };
4259
- const jt = {
4301
+ window.emWidgets = { topic: ho };
4302
+ const zt = {
4260
4303
  en: {
4261
4304
  generalMin: "Min",
4262
4305
  generalMax: "Max",
@@ -4288,18 +4331,18 @@ const jt = {
4288
4331
  generalMax: "Max"
4289
4332
  }
4290
4333
  };
4291
- function ao(e) {
4292
- Mr(e, "svelte-19lknjo", '*,*::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}.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}.Carousel{display:flex;gap:10px;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}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.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:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.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:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4334
+ function fo(e) {
4335
+ Nr(e, "svelte-19lknjo", '*,*::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}.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}.Carousel{display:flex;gap:10px;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}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.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:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.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:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4293
4336
  }
4294
- function kt(e, t, r) {
4337
+ function Zt(e, t, r) {
4295
4338
  const n = e.slice();
4296
4339
  return n[32] = t[r], n[34] = r, n;
4297
4340
  }
4298
- function Vt(e, t, r) {
4341
+ function Qt(e, t, r) {
4299
4342
  const n = e.slice();
4300
4343
  return n[35] = t[r], n[34] = r, n;
4301
4344
  }
4302
- function uo(e) {
4345
+ function po(e) {
4303
4346
  let t, r = (
4304
4347
  /*$_*/
4305
4348
  e[4]("noPaymentMethods") + ""
@@ -4309,68 +4352,68 @@ function uo(e) {
4309
4352
  t = P("p"), n = $(r);
4310
4353
  },
4311
4354
  m(i, o) {
4312
- G(i, t, o), T(t, n);
4355
+ G(i, t, o), S(t, n);
4313
4356
  },
4314
4357
  p(i, o) {
4315
4358
  o[0] & /*$_*/
4316
4359
  16 && r !== (r = /*$_*/
4317
- i[4]("noPaymentMethods") + "") && j(n, r);
4360
+ i[4]("noPaymentMethods") + "") && k(n, r);
4318
4361
  },
4319
4362
  d(i) {
4320
4363
  i && R(t);
4321
4364
  }
4322
4365
  };
4323
4366
  }
4324
- function lo(e) {
4367
+ function mo(e) {
4325
4368
  let t, r, n = (
4326
4369
  /*$_*/
4327
4370
  e[4]("carouselTitle") + ""
4328
4371
  ), i, o, s, a = (
4329
4372
  /*$_*/
4330
4373
  e[4]("carouselSubtitle") + ""
4331
- ), l, u, h, m, c, b, y, g = He(
4374
+ ), l, u, h, p, c, b, y, g = He(
4332
4375
  /*promotedPaymentMethods*/
4333
4376
  e[2]
4334
- ), x = [];
4377
+ ), E = [];
4335
4378
  for (let f = 0; f < g.length; f += 1)
4336
- x[f] = Xt(Vt(e, g, f));
4379
+ E[f] = Yt(Qt(e, g, f));
4337
4380
  let A = He(Array(
4338
4381
  /*promotedPaymentMethods*/
4339
4382
  e[2].length
4340
- )), E = [];
4383
+ )), x = [];
4341
4384
  for (let f = 0; f < A.length; f += 1)
4342
- E[f] = Wt(kt(e, A, f));
4385
+ x[f] = Jt(Zt(e, A, f));
4343
4386
  return {
4344
4387
  c() {
4345
- t = P("div"), r = P("h4"), i = $(n), o = F(), s = P("p"), l = $(a), u = F(), h = P("div");
4346
- for (let f = 0; f < x.length; f += 1)
4347
- x[f].c();
4348
- m = F(), c = P("div");
4388
+ t = P("div"), r = P("h4"), i = $(n), o = j(), s = P("p"), l = $(a), u = j(), h = P("div");
4349
4389
  for (let f = 0; f < E.length; f += 1)
4350
4390
  E[f].c();
4351
- B(t, "class", "CarouselHeader"), B(h, "class", "Carousel"), B(c, "class", "VisualDotIndicator");
4391
+ p = j(), c = P("div");
4392
+ for (let f = 0; f < x.length; f += 1)
4393
+ x[f].c();
4394
+ O(t, "class", "CarouselHeader"), O(h, "class", "Carousel"), O(c, "class", "VisualDotIndicator");
4352
4395
  },
4353
- m(f, w) {
4354
- G(f, t, w), T(t, r), T(r, i), T(t, o), T(t, s), T(s, l), G(f, u, w), G(f, h, w);
4355
- for (let d = 0; d < x.length; d += 1)
4356
- x[d] && x[d].m(h, null);
4357
- e[19](h), G(f, m, w), G(f, c, w);
4396
+ m(f, T) {
4397
+ G(f, t, T), S(t, r), S(r, i), S(t, o), S(t, s), S(s, l), G(f, u, T), G(f, h, T);
4358
4398
  for (let d = 0; d < E.length; d += 1)
4359
- E[d] && E[d].m(c, null);
4399
+ E[d] && E[d].m(h, null);
4400
+ e[19](h), G(f, p, T), G(f, c, T);
4401
+ for (let d = 0; d < x.length; d += 1)
4402
+ x[d] && x[d].m(c, null);
4360
4403
  b || (y = [
4361
- Me(
4404
+ Be(
4362
4405
  h,
4363
4406
  "touchstart",
4364
4407
  /*handleTouchStart*/
4365
4408
  e[6]
4366
4409
  ),
4367
- Me(
4410
+ Be(
4368
4411
  h,
4369
4412
  "touchmove",
4370
4413
  /*handleTouchMove*/
4371
4414
  e[7]
4372
4415
  ),
4373
- Me(
4416
+ Be(
4374
4417
  h,
4375
4418
  "touchend",
4376
4419
  /*handleTouchEnd*/
@@ -4378,12 +4421,12 @@ function lo(e) {
4378
4421
  )
4379
4422
  ], b = !0);
4380
4423
  },
4381
- p(f, w) {
4382
- if (w[0] & /*$_*/
4424
+ p(f, T) {
4425
+ if (T[0] & /*$_*/
4383
4426
  16 && n !== (n = /*$_*/
4384
- f[4]("carouselTitle") + "") && j(i, n), w[0] & /*$_*/
4427
+ f[4]("carouselTitle") + "") && k(i, n), T[0] & /*$_*/
4385
4428
  16 && a !== (a = /*$_*/
4386
- f[4]("carouselSubtitle") + "") && j(l, a), w[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4429
+ f[4]("carouselSubtitle") + "") && k(l, a), T[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4387
4430
  60) {
4388
4431
  g = He(
4389
4432
  /*promotedPaymentMethods*/
@@ -4391,14 +4434,14 @@ function lo(e) {
4391
4434
  );
4392
4435
  let d;
4393
4436
  for (d = 0; d < g.length; d += 1) {
4394
- const M = Vt(f, g, d);
4395
- x[d] ? x[d].p(M, w) : (x[d] = Xt(M), x[d].c(), x[d].m(h, null));
4437
+ const B = Qt(f, g, d);
4438
+ E[d] ? E[d].p(B, T) : (E[d] = Yt(B), E[d].c(), E[d].m(h, null));
4396
4439
  }
4397
- for (; d < x.length; d += 1)
4398
- x[d].d(1);
4399
- x.length = g.length;
4440
+ for (; d < E.length; d += 1)
4441
+ E[d].d(1);
4442
+ E.length = g.length;
4400
4443
  }
4401
- if (w[0] & /*activeIndex, promotedPaymentMethods*/
4444
+ if (T[0] & /*activeIndex, promotedPaymentMethods*/
4402
4445
  12) {
4403
4446
  A = He(Array(
4404
4447
  /*promotedPaymentMethods*/
@@ -4406,45 +4449,45 @@ function lo(e) {
4406
4449
  ));
4407
4450
  let d;
4408
4451
  for (d = 0; d < A.length; d += 1) {
4409
- const M = kt(f, A, d);
4410
- E[d] ? E[d].p(M, w) : (E[d] = Wt(M), E[d].c(), E[d].m(c, null));
4452
+ const B = Zt(f, A, d);
4453
+ x[d] ? x[d].p(B, T) : (x[d] = Jt(B), x[d].c(), x[d].m(c, null));
4411
4454
  }
4412
- for (; d < E.length; d += 1)
4413
- E[d].d(1);
4414
- E.length = A.length;
4455
+ for (; d < x.length; d += 1)
4456
+ x[d].d(1);
4457
+ x.length = A.length;
4415
4458
  }
4416
4459
  },
4417
4460
  d(f) {
4418
- f && (R(t), R(u), R(h), R(m), R(c)), yt(x, f), e[19](null), yt(E, f), b = !1, ue(y);
4461
+ f && (R(t), R(u), R(h), R(p), R(c)), St(E, f), e[19](null), St(x, f), b = !1, ae(y);
4419
4462
  }
4420
4463
  };
4421
4464
  }
4422
- function Xt(e) {
4465
+ function Yt(e) {
4423
4466
  let t, r, n, i, o, s, a, l, u, h = (
4424
4467
  /*method*/
4425
4468
  (e[35].Label || /*method*/
4426
4469
  e[35].Name) + ""
4427
- ), m, c, b, y, g = (
4470
+ ), p, c, b, y, g = (
4428
4471
  /*$_*/
4429
4472
  e[4](`${/*method*/
4430
4473
  e[35].ProcessingTime}`) + ""
4431
- ), x, A, E, f, w = (
4474
+ ), E, A, x, f, T = (
4432
4475
  /*$_*/
4433
4476
  e[4]("generalMin") + ""
4434
- ), d, M, U = Be(
4477
+ ), d, B, U = Oe(
4435
4478
  /*method*/
4436
4479
  e[35].DisplayCurrency.MinAmountLimit,
4437
4480
  /*method*/
4438
4481
  e[35].DisplayCurrency.Name
4439
- ) + "", z, Ee, Q = (
4482
+ ) + "", z, xe, Q = (
4440
4483
  /*$_*/
4441
4484
  e[4]("generalMax") + ""
4442
- ), ce, Se, Y = Be(
4485
+ ), he, Se, Y = Oe(
4443
4486
  /*method*/
4444
4487
  e[35].DisplayCurrency.MaxAmountLimit,
4445
4488
  /*method*/
4446
4489
  e[35].DisplayCurrency.Name
4447
- ) + "", fe, Te, p, O, L;
4490
+ ) + "", ce, Te, m, M, L;
4448
4491
  function J() {
4449
4492
  return (
4450
4493
  /*click_handler*/
@@ -4456,57 +4499,57 @@ function Xt(e) {
4456
4499
  }
4457
4500
  return {
4458
4501
  c() {
4459
- t = P("div"), r = P("div"), n = P("img"), s = F(), a = P("div"), l = P("div"), u = P("span"), m = $(h), c = F(), b = P("div"), y = P("span"), x = $(g), A = F(), E = P("div"), f = P("span"), d = $(w), M = F(), z = $(U), Ee = $(" / "), ce = $(Q), Se = F(), fe = $(Y), Te = F(), gt(n.src, i = /*method*/
4460
- e[35].LogoUrl) || B(n, "src", i), B(n, "alt", o = /*method*/
4461
- e[35].Label), B(r, "class", "MethodLogo"), B(l, "class", "MethodTitle"), B(b, "class", "MethodProcessingTime"), B(f, "class", "Limits"), B(E, "class", "MethodLimits"), B(a, "class", "MethodInfo"), B(t, "class", p = `CarouselCardWrapper ${/*index*/
4502
+ t = P("div"), r = P("div"), n = P("img"), s = j(), a = P("div"), l = P("div"), u = P("span"), p = $(h), c = j(), b = P("div"), y = P("span"), E = $(g), A = j(), x = P("div"), f = P("span"), d = $(T), B = j(), z = $(U), xe = $(" / "), he = $(Q), Se = j(), ce = $(Y), Te = j(), xt(n.src, i = /*method*/
4503
+ e[35].LogoUrl) || O(n, "src", i), O(n, "alt", o = /*method*/
4504
+ e[35].Label), O(r, "class", "MethodLogo"), O(l, "class", "MethodTitle"), O(b, "class", "MethodProcessingTime"), O(f, "class", "Limits"), O(x, "class", "MethodLimits"), O(a, "class", "MethodInfo"), O(t, "class", m = `CarouselCardWrapper ${/*index*/
4462
4505
  e[34] === /*activeIndex*/
4463
4506
  e[3] ? "active" : ""}`);
4464
4507
  },
4465
4508
  m(q, I) {
4466
- G(q, t, I), T(t, r), T(r, n), T(t, s), T(t, a), T(a, l), T(l, u), T(u, m), T(a, c), T(a, b), T(b, y), T(y, x), T(a, A), T(a, E), T(E, f), T(f, d), T(f, M), T(f, z), T(f, Ee), T(f, ce), T(f, Se), T(f, fe), T(t, Te), O || (L = Me(t, "click", J), O = !0);
4509
+ G(q, t, I), S(t, r), S(r, n), S(t, s), S(t, a), S(a, l), S(l, u), S(u, p), S(a, c), S(a, b), S(b, y), S(y, E), S(a, A), S(a, x), S(x, f), S(f, d), S(f, B), S(f, z), S(f, xe), S(f, he), S(f, Se), S(f, ce), S(t, Te), M || (L = Be(t, "click", J), M = !0);
4467
4510
  },
4468
4511
  p(q, I) {
4469
4512
  e = q, I[0] & /*promotedPaymentMethods*/
4470
- 4 && !gt(n.src, i = /*method*/
4471
- e[35].LogoUrl) && B(n, "src", i), I[0] & /*promotedPaymentMethods*/
4513
+ 4 && !xt(n.src, i = /*method*/
4514
+ e[35].LogoUrl) && O(n, "src", i), I[0] & /*promotedPaymentMethods*/
4472
4515
  4 && o !== (o = /*method*/
4473
- e[35].Label) && B(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4516
+ e[35].Label) && O(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4474
4517
  4 && h !== (h = /*method*/
4475
4518
  (e[35].Label || /*method*/
4476
- e[35].Name) + "") && j(m, h), I[0] & /*$_, promotedPaymentMethods*/
4519
+ e[35].Name) + "") && k(p, h), I[0] & /*$_, promotedPaymentMethods*/
4477
4520
  20 && g !== (g = /*$_*/
4478
4521
  e[4](`${/*method*/
4479
- e[35].ProcessingTime}`) + "") && j(x, g), I[0] & /*$_*/
4480
- 16 && w !== (w = /*$_*/
4481
- e[4]("generalMin") + "") && j(d, w), I[0] & /*promotedPaymentMethods*/
4482
- 4 && U !== (U = Be(
4522
+ e[35].ProcessingTime}`) + "") && k(E, g), I[0] & /*$_*/
4523
+ 16 && T !== (T = /*$_*/
4524
+ e[4]("generalMin") + "") && k(d, T), I[0] & /*promotedPaymentMethods*/
4525
+ 4 && U !== (U = Oe(
4483
4526
  /*method*/
4484
4527
  e[35].DisplayCurrency.MinAmountLimit,
4485
4528
  /*method*/
4486
4529
  e[35].DisplayCurrency.Name
4487
- ) + "") && j(z, U), I[0] & /*$_*/
4530
+ ) + "") && k(z, U), I[0] & /*$_*/
4488
4531
  16 && Q !== (Q = /*$_*/
4489
- e[4]("generalMax") + "") && j(ce, Q), I[0] & /*promotedPaymentMethods*/
4490
- 4 && Y !== (Y = Be(
4532
+ e[4]("generalMax") + "") && k(he, Q), I[0] & /*promotedPaymentMethods*/
4533
+ 4 && Y !== (Y = Oe(
4491
4534
  /*method*/
4492
4535
  e[35].DisplayCurrency.MaxAmountLimit,
4493
4536
  /*method*/
4494
4537
  e[35].DisplayCurrency.Name
4495
- ) + "") && j(fe, Y), I[0] & /*activeIndex*/
4496
- 8 && p !== (p = `CarouselCardWrapper ${/*index*/
4538
+ ) + "") && k(ce, Y), I[0] & /*activeIndex*/
4539
+ 8 && m !== (m = `CarouselCardWrapper ${/*index*/
4497
4540
  e[34] === /*activeIndex*/
4498
- e[3] ? "active" : ""}`) && B(t, "class", p);
4541
+ e[3] ? "active" : ""}`) && O(t, "class", m);
4499
4542
  },
4500
4543
  d(q) {
4501
- q && R(t), O = !1, L();
4544
+ q && R(t), M = !1, L();
4502
4545
  }
4503
4546
  };
4504
4547
  }
4505
- function Wt(e) {
4548
+ function Jt(e) {
4506
4549
  let t, r;
4507
4550
  return {
4508
4551
  c() {
4509
- t = P("div"), B(t, "class", r = `Dot ${/*index*/
4552
+ t = P("div"), O(t, "class", r = `Dot ${/*index*/
4510
4553
  e[34] === /*activeIndex*/
4511
4554
  e[3] ? "active" : ""}`);
4512
4555
  },
@@ -4517,28 +4560,28 @@ function Wt(e) {
4517
4560
  i[0] & /*activeIndex*/
4518
4561
  8 && r !== (r = `Dot ${/*index*/
4519
4562
  n[34] === /*activeIndex*/
4520
- n[3] ? "active" : ""}`) && B(t, "class", r);
4563
+ n[3] ? "active" : ""}`) && O(t, "class", r);
4521
4564
  },
4522
4565
  d(n) {
4523
4566
  n && R(t);
4524
4567
  }
4525
4568
  };
4526
4569
  }
4527
- function ho(e) {
4570
+ function bo(e) {
4528
4571
  let t, r;
4529
4572
  function n(s, a) {
4530
4573
  return (
4531
4574
  /*promotedPaymentMethods*/
4532
- s[2].length > 0 ? lo : uo
4575
+ s[2].length > 0 ? mo : po
4533
4576
  );
4534
4577
  }
4535
4578
  let i = n(e), o = i(e);
4536
4579
  return {
4537
4580
  c() {
4538
- t = P("div"), r = P("div"), o.c(), B(r, "class", "CashierCarouselWarpper");
4581
+ t = P("div"), r = P("div"), o.c(), O(r, "class", "CashierCarouselWarpper");
4539
4582
  },
4540
4583
  m(s, a) {
4541
- G(s, t, a), T(t, r), o.m(r, null), e[20](t);
4584
+ G(s, t, a), S(t, r), o.m(r, null), e[20](t);
4542
4585
  },
4543
4586
  p(s, a) {
4544
4587
  i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(r, null)));
@@ -4550,33 +4593,33 @@ function ho(e) {
4550
4593
  }
4551
4594
  };
4552
4595
  }
4553
- function co(e, t, r) {
4596
+ function go(e, t, r) {
4554
4597
  let n;
4555
- Br(e, Fi, (p) => r(4, n = p));
4556
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: l = "2" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: m = "" } = t, { translationurl: c = "" } = t, b, y = [], g = 0, x = !0, A = 0, E = !1, f;
4557
- const w = (p) => {
4558
- p.data && p.data.type === "PromotedPaymentMethods" && (r(2, y = p.data.promotedPaymentMethods), r(3, g = Math.floor(y.length / 2)));
4598
+ Lr(e, Wi, (m) => r(4, n = m));
4599
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: l = "2" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: p = "" } = t, { translationurl: c = "" } = t, b, y = [], g = 0, E = !0, A = 0, x = !1, f;
4600
+ const T = (m) => {
4601
+ m.data && m.data.type === "PromotedPaymentMethods" && (r(2, y = m.data.promotedPaymentMethods), r(3, g = Math.floor(y.length / 2)));
4559
4602
  };
4560
- Object.keys(jt).forEach((p) => {
4561
- Lt(p, jt[p]);
4603
+ Object.keys(zt).forEach((m) => {
4604
+ Ut(m, zt[m]);
4562
4605
  });
4563
4606
  const d = () => {
4564
- let p = c;
4565
- if (p)
4566
- return fetch(p).then((O) => O.json()).then((O) => {
4567
- Object.keys(O).forEach((L) => {
4568
- Lt(L, O[L]);
4607
+ let m = c;
4608
+ if (m)
4609
+ return fetch(m).then((M) => M.json()).then((M) => {
4610
+ Object.keys(M).forEach((L) => {
4611
+ Ut(L, M[L]);
4569
4612
  });
4570
- }).catch((O) => {
4571
- console.log(O);
4613
+ }).catch((M) => {
4614
+ console.log(M);
4572
4615
  });
4573
- }, M = () => {
4574
- ji(i);
4575
- }, U = (p) => {
4576
- p.Name, window.postMessage({ type: "SelectPayMeth", details: p }, window.location.href), dispatchEvent(new CustomEvent(
4616
+ }, B = () => {
4617
+ zi(i);
4618
+ }, U = (m) => {
4619
+ m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4577
4620
  "selectPayMeth",
4578
4621
  {
4579
- detail: p,
4622
+ detail: m,
4580
4623
  bubbles: !0,
4581
4624
  cancelable: !0,
4582
4625
  composed: !0
@@ -4585,46 +4628,46 @@ function co(e, t, r) {
4585
4628
  }, z = () => {
4586
4629
  let J;
4587
4630
  return y.length % 2 === 1 ? J = Math.floor(y.length / 2) : J = y.length / 2 - 0.5, `translateX(${(J - g) * 165}px)`;
4588
- }, Ee = (p) => {
4589
- A = p.touches[0].clientX, E = !0, f.classList.add("dragging");
4590
- }, Q = (p) => {
4591
- if (!E)
4631
+ }, xe = (m) => {
4632
+ A = m.touches[0].clientX, x = !0, f.classList.add("dragging");
4633
+ }, Q = (m) => {
4634
+ if (!x)
4592
4635
  return;
4593
- const O = p.touches[0].clientX;
4594
- Math.abs(O - A) > 10 && p.preventDefault();
4595
- }, ce = (p) => {
4596
- if (!E)
4636
+ const M = m.touches[0].clientX;
4637
+ Math.abs(M - A) > 10 && m.preventDefault();
4638
+ }, he = (m) => {
4639
+ if (!x)
4597
4640
  return;
4598
- E = !1, f.classList.remove("dragging");
4599
- const O = p.changedTouches[0].clientX, L = A - O;
4641
+ x = !1, f.classList.remove("dragging");
4642
+ const M = m.changedTouches[0].clientX, L = A - M;
4600
4643
  Math.abs(L) > 50 && (L > 0 && g < y.length - 1 ? r(3, g++, g) : L < 0 && g > 0 && r(3, g--, g), r(1, f.style.transform = z(), f));
4601
4644
  }, Se = () => {
4602
- x && (r(1, f.style.transform = z(), f), x = !1);
4645
+ E && (r(1, f.style.transform = z(), f), E = !1);
4603
4646
  };
4604
- $r(() => (so(o, s, a, l), window.addEventListener("message", w), f && z(), () => {
4605
- window.removeEventListener("message", w);
4647
+ Fr(() => (co(o, s, a, l), window.addEventListener("message", T), f && z(), () => {
4648
+ window.removeEventListener("message", T);
4606
4649
  }));
4607
- const Y = (p) => U(p);
4608
- function fe(p) {
4609
- Ne[p ? "unshift" : "push"](() => {
4610
- f = p, r(1, f);
4650
+ const Y = (m) => U(m);
4651
+ function ce(m) {
4652
+ Ne[m ? "unshift" : "push"](() => {
4653
+ f = m, r(1, f);
4611
4654
  });
4612
4655
  }
4613
- function Te(p) {
4614
- Ne[p ? "unshift" : "push"](() => {
4615
- b = p, r(0, b);
4656
+ function Te(m) {
4657
+ Ne[m ? "unshift" : "push"](() => {
4658
+ b = m, r(0, b);
4616
4659
  });
4617
4660
  }
4618
- return e.$$set = (p) => {
4619
- "lang" in p && r(9, i = p.lang), "local" in p && r(10, o = p.local), "currencysymbol" in p && r(11, s = p.currencysymbol), "currencyposition" in p && r(12, a = p.currencyposition), "currencydecimals" in p && r(13, l = p.currencydecimals), "clientstyling" in p && r(14, u = p.clientstyling), "clientstylingurl" in p && r(15, h = p.clientstylingurl), "mbsource" in p && r(16, m = p.mbsource), "translationurl" in p && r(17, c = p.translationurl);
4661
+ return e.$$set = (m) => {
4662
+ "lang" in m && r(9, i = m.lang), "local" in m && r(10, o = m.local), "currencysymbol" in m && r(11, s = m.currencysymbol), "currencyposition" in m && r(12, a = m.currencyposition), "currencydecimals" in m && r(13, l = m.currencydecimals), "clientstyling" in m && r(14, u = m.clientstyling), "clientstylingurl" in m && r(15, h = m.clientstylingurl), "mbsource" in m && r(16, p = m.mbsource), "translationurl" in m && r(17, c = m.translationurl);
4620
4663
  }, e.$$.update = () => {
4621
4664
  e.$$.dirty[0] & /*lang*/
4622
- 512 && i && M(), e.$$.dirty[0] & /*lang, translationurl*/
4665
+ 512 && i && B(), e.$$.dirty[0] & /*lang, translationurl*/
4623
4666
  131584 && i && c && d(), e.$$.dirty[0] & /*carouselContainer*/
4624
4667
  2 && f && Se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4625
- 16385 && u && b && ki(b, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4626
- 32769 && h && b && Vi(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4627
- 65537 && m && b && Xi(b, `${m}.Style`);
4668
+ 16385 && u && b && Zi(b, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4669
+ 32769 && h && b && Qi(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4670
+ 65537 && p && b && Yi(b, `${p}.Style`);
4628
4671
  }, [
4629
4672
  b,
4630
4673
  f,
@@ -4632,9 +4675,9 @@ function co(e, t, r) {
4632
4675
  g,
4633
4676
  n,
4634
4677
  U,
4635
- Ee,
4678
+ xe,
4636
4679
  Q,
4637
- ce,
4680
+ he,
4638
4681
  i,
4639
4682
  o,
4640
4683
  s,
@@ -4642,21 +4685,21 @@ function co(e, t, r) {
4642
4685
  l,
4643
4686
  u,
4644
4687
  h,
4645
- m,
4688
+ p,
4646
4689
  c,
4647
4690
  Y,
4648
- fe,
4691
+ ce,
4649
4692
  Te
4650
4693
  ];
4651
4694
  }
4652
- class fo extends Zr {
4695
+ class yo extends Kr {
4653
4696
  constructor(t) {
4654
- super(), Wr(
4697
+ super(), Jr(
4655
4698
  this,
4656
4699
  t,
4657
- co,
4658
- ho,
4659
- Zt,
4700
+ go,
4701
+ bo,
4702
+ Kt,
4660
4703
  {
4661
4704
  lang: 9,
4662
4705
  local: 10,
@@ -4668,7 +4711,7 @@ class fo extends Zr {
4668
4711
  mbsource: 16,
4669
4712
  translationurl: 17
4670
4713
  },
4671
- ao,
4714
+ fo,
4672
4715
  [-1, -1]
4673
4716
  );
4674
4717
  }
@@ -4727,7 +4770,7 @@ class fo extends Zr {
4727
4770
  this.$$set({ translationurl: t }), N();
4728
4771
  }
4729
4772
  }
4730
- zr(fo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4773
+ qr(yo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4731
4774
  export {
4732
- fo as C
4775
+ yo as C
4733
4776
  };