@everymatrix/cashier-carousel 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ln = Object.defineProperty, hn = Object.defineProperties;
2
- var cn = Object.getOwnPropertyDescriptors;
3
- var kt = Object.getOwnPropertySymbols;
4
- var fn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
- var st = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ne = (e, t) => {
1
+ var un = Object.defineProperty, ln = Object.defineProperties;
2
+ var hn = Object.getOwnPropertyDescriptors;
3
+ var Gt = Object.getOwnPropertySymbols;
4
+ var cn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable;
5
+ var it = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ne = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fn.call(t, r) && st(e, r, t[r]);
8
- if (kt)
9
- for (var r of kt(t))
10
- pn.call(t, r) && st(e, r, t[r]);
7
+ cn.call(t, r) && it(e, r, t[r]);
8
+ if (Gt)
9
+ for (var r of Gt(t))
10
+ fn.call(t, r) && it(e, r, t[r]);
11
11
  return e;
12
- }, Vt = (e, t) => hn(e, cn(t));
13
- var R = (e, t, r) => (st(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Xt = (e, t, r) => new Promise((n, i) => {
12
+ }, jt = (e, t) => ln(e, hn(t));
13
+ var R = (e, t, r) => (it(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var kt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,29 +29,29 @@ var Xt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- function Hr(e) {
32
+ function Sr(e) {
33
33
  return e();
34
34
  }
35
- function Wt() {
35
+ function Vt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function me(e) {
39
- e.forEach(Hr);
38
+ function pe(e) {
39
+ e.forEach(Sr);
40
40
  }
41
- function It(e) {
41
+ function Pt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Cr(e, t) {
44
+ function Tr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Re;
48
- function zt(e, t) {
48
+ function Xt(e, t) {
49
49
  return e === t ? !0 : (Re || (Re = document.createElement("a")), Re.href = t, e === Re.href);
50
50
  }
51
51
  function mn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ar(e, ...t) {
54
+ function Hr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -61,19 +61,19 @@ function Ar(e, ...t) {
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
63
  function dn(e, t, r) {
64
- e.$$.on_destroy.push(Ar(t, r));
64
+ e.$$.on_destroy.push(Hr(t, r));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function bn(e, t, r) {
70
- const n = gn(e);
69
+ function pn(e, t, r) {
70
+ const n = bn(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = T("style");
73
- i.id = t, i.textContent = r, yn(n, i);
72
+ const i = H("style");
73
+ i.id = t, i.textContent = r, gn(n, i);
74
74
  }
75
75
  }
76
- function gn(e) {
76
+ function bn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,24 +83,24 @@ function gn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function yn(e, t) {
86
+ function gn(e, t) {
87
87
  return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function k(e, t, r) {
93
+ function j(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function U(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Zt(e, t) {
99
+ function Wt(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function T(e) {
103
+ function H(e) {
104
104
  return document.createElement(e);
105
105
  }
106
106
  function G(e) {
@@ -112,18 +112,18 @@ function $() {
112
112
  function J(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function P(e, t, r) {
115
+ function M(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function vn(e) {
118
+ function yn(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function X(e, t) {
121
+ function V(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
125
  let De;
126
- function _n() {
126
+ function vn() {
127
127
  if (De === void 0) {
128
128
  De = !1;
129
129
  try {
@@ -134,14 +134,14 @@ function _n() {
134
134
  }
135
135
  return De;
136
136
  }
137
- function En(e, t) {
137
+ function _n(e, t) {
138
138
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
139
- const n = T("iframe");
139
+ const n = H("iframe");
140
140
  n.setAttribute(
141
141
  "style",
142
142
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
143
143
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
144
- const i = _n();
144
+ const i = vn();
145
145
  let o;
146
146
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
147
147
  window,
@@ -156,7 +156,7 @@ function En(e, t) {
156
156
  (i || o && n.contentWindow) && o(), U(n);
157
157
  };
158
158
  }
159
- function xn(e) {
159
+ function En(e) {
160
160
  const t = {};
161
161
  return e.childNodes.forEach(
162
162
  /** @param {Element} node */
@@ -165,90 +165,90 @@ function xn(e) {
165
165
  }
166
166
  ), t;
167
167
  }
168
- let xe;
169
- function Ee(e) {
170
- xe = e;
168
+ let we;
169
+ function xe(e) {
170
+ we = e;
171
171
  }
172
- function wn() {
173
- if (!xe)
172
+ function xn() {
173
+ if (!we)
174
174
  throw new Error("Function called outside component initialization");
175
- return xe;
175
+ return we;
176
176
  }
177
- function Sn(e) {
178
- wn().$$.on_mount.push(e);
177
+ function wn(e) {
178
+ xn().$$.on_mount.push(e);
179
179
  }
180
180
  const ue = [], ze = [];
181
181
  let le = [];
182
- const Qt = [], Tn = /* @__PURE__ */ Promise.resolve();
183
- let dt = !1;
184
- function Hn() {
185
- dt || (dt = !0, Tn.then(D));
182
+ const zt = [], Sn = /* @__PURE__ */ Promise.resolve();
183
+ let mt = !1;
184
+ function Tn() {
185
+ mt || (mt = !0, Sn.then(D));
186
186
  }
187
187
  function Ze(e) {
188
188
  le.push(e);
189
189
  }
190
- const at = /* @__PURE__ */ new Set();
190
+ const ot = /* @__PURE__ */ new Set();
191
191
  let se = 0;
192
192
  function D() {
193
193
  if (se !== 0)
194
194
  return;
195
- const e = xe;
195
+ const e = we;
196
196
  do {
197
197
  try {
198
198
  for (; se < ue.length; ) {
199
199
  const t = ue[se];
200
- se++, Ee(t), Cn(t.$$);
200
+ se++, xe(t), Hn(t.$$);
201
201
  }
202
202
  } catch (t) {
203
203
  throw ue.length = 0, se = 0, t;
204
204
  }
205
- for (Ee(null), ue.length = 0, se = 0; ze.length; )
205
+ for (xe(null), ue.length = 0, se = 0; ze.length; )
206
206
  ze.pop()();
207
207
  for (let t = 0; t < le.length; t += 1) {
208
208
  const r = le[t];
209
- at.has(r) || (at.add(r), r());
209
+ ot.has(r) || (ot.add(r), r());
210
210
  }
211
211
  le.length = 0;
212
212
  } while (ue.length);
213
- for (; Qt.length; )
214
- Qt.pop()();
215
- dt = !1, at.clear(), Ee(e);
213
+ for (; zt.length; )
214
+ zt.pop()();
215
+ mt = !1, ot.clear(), xe(e);
216
216
  }
217
- function Cn(e) {
217
+ function Hn(e) {
218
218
  if (e.fragment !== null) {
219
- e.update(), me(e.before_update);
219
+ e.update(), pe(e.before_update);
220
220
  const t = e.dirty;
221
221
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
222
222
  }
223
223
  }
224
- function An(e) {
224
+ function Cn(e) {
225
225
  const t = [], r = [];
226
226
  le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
227
227
  }
228
- const Pn = /* @__PURE__ */ new Set();
229
- function Mn(e, t) {
230
- e && e.i && (Pn.delete(e), e.i(t));
228
+ const An = /* @__PURE__ */ new Set();
229
+ function Pn(e, t) {
230
+ e && e.i && (An.delete(e), e.i(t));
231
231
  }
232
232
  function $e(e) {
233
233
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
234
234
  }
235
- function On(e, t, r) {
235
+ function Mn(e, t, r) {
236
236
  const { fragment: n, after_update: i } = e.$$;
237
237
  n && n.m(t, r), Ze(() => {
238
- const o = e.$$.on_mount.map(Hr).filter(It);
239
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
238
+ const o = e.$$.on_mount.map(Sr).filter(Pt);
239
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : pe(o), e.$$.on_mount = [];
240
240
  }), i.forEach(Ze);
241
241
  }
242
242
  function Bn(e, t) {
243
243
  const r = e.$$;
244
- r.fragment !== null && (An(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
244
+ r.fragment !== null && (Cn(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
245
245
  }
246
- function In(e, t) {
247
- e.$$.dirty[0] === -1 && (ue.push(e), Hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
246
+ function On(e, t) {
247
+ e.$$.dirty[0] === -1 && (ue.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
248
248
  }
249
- function Ln(e, t, r, n, i, o, s = null, a = [-1]) {
250
- const l = xe;
251
- Ee(e);
249
+ function In(e, t, r, n, i, o, s = null, a = [-1]) {
250
+ const l = we;
251
+ xe(e);
252
252
  const u = e.$$ = {
253
253
  fragment: null,
254
254
  ctx: [],
@@ -256,7 +256,7 @@ function Ln(e, t, r, n, i, o, s = null, a = [-1]) {
256
256
  props: o,
257
257
  update: N,
258
258
  not_equal: i,
259
- bound: Wt(),
259
+ bound: Vt(),
260
260
  // lifecycle
261
261
  on_mount: [],
262
262
  on_destroy: [],
@@ -265,7 +265,7 @@ function Ln(e, t, r, n, i, o, s = null, a = [-1]) {
265
265
  after_update: [],
266
266
  context: new Map(t.context || (l ? l.$$.context : [])),
267
267
  // everything else
268
- callbacks: Wt(),
268
+ callbacks: Vt(),
269
269
  dirty: a,
270
270
  skip_bound: !1,
271
271
  root: t.target || l.$$.root
@@ -274,19 +274,19 @@ function Ln(e, t, r, n, i, o, s = null, a = [-1]) {
274
274
  let h = !1;
275
275
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
276
276
  const b = g.length ? g[0] : c;
277
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && In(e, f)), c;
278
- }) : [], u.update(), h = !0, me(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
277
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && On(e, f)), c;
278
+ }) : [], u.update(), h = !0, pe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
279
279
  if (t.hydrate) {
280
- const f = vn(t.target);
280
+ const f = yn(t.target);
281
281
  u.fragment && u.fragment.l(f), f.forEach(U);
282
282
  } else
283
283
  u.fragment && u.fragment.c();
284
- t.intro && Mn(e.$$.fragment), On(e, t.target, t.anchor), D();
284
+ t.intro && Pn(e.$$.fragment), Mn(e, t.target, t.anchor), D();
285
285
  }
286
- Ee(l);
286
+ xe(l);
287
287
  }
288
- let Pr;
289
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
288
+ let Cr;
289
+ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
290
290
  constructor(t, r, n) {
291
291
  super();
292
292
  /** The Svelte component constructor */
@@ -323,21 +323,21 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
323
323
  }
324
324
  }
325
325
  connectedCallback() {
326
- return Xt(this, null, function* () {
326
+ return kt(this, null, function* () {
327
327
  if (this.$$cn = !0, !this.$$c) {
328
328
  let t = function(o) {
329
329
  return () => {
330
330
  let s;
331
331
  return {
332
332
  c: function() {
333
- s = T("slot"), o !== "default" && P(s, "name", o);
333
+ s = H("slot"), o !== "default" && M(s, "name", o);
334
334
  },
335
335
  /**
336
336
  * @param {HTMLElement} target
337
337
  * @param {HTMLElement} [anchor]
338
338
  */
339
339
  m: function(u, h) {
340
- k(u, s, h);
340
+ j(u, s, h);
341
341
  },
342
342
  d: function(u) {
343
343
  u && U(s);
@@ -347,7 +347,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
347
347
  };
348
348
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
349
349
  return;
350
- const r = {}, n = xn(this);
350
+ const r = {}, n = En(this);
351
351
  for (const o of this.$$s)
352
352
  o in n && (r[o] = [t(o)]);
353
353
  for (const o of this.attributes) {
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
358
358
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
359
359
  this.$$c = new this.$$ctor({
360
360
  target: this.shadowRoot || this,
361
- props: Vt(Ne({}, this.$$d), {
361
+ props: jt(Ne({}, this.$$d), {
362
362
  $$slots: r,
363
363
  $$scope: {
364
364
  ctx: []
@@ -436,8 +436,8 @@ function ke(e, t, r, n) {
436
436
  return t;
437
437
  }
438
438
  }
439
- function Nn(e, t, r, n, i, o) {
440
- let s = class extends Pr {
439
+ function Ln(e, t, r, n, i, o) {
440
+ let s = class extends Cr {
441
441
  constructor() {
442
442
  super(e, r, i), this.$$p_d = t;
443
443
  }
@@ -467,7 +467,7 @@ function Nn(e, t, r, n, i, o) {
467
467
  }), e.element = /** @type {any} */
468
468
  s, s;
469
469
  }
470
- class Rn {
470
+ class Nn {
471
471
  constructor() {
472
472
  /**
473
473
  * ### PRIVATE API
@@ -497,7 +497,7 @@ class Rn {
497
497
  * @returns {() => void}
498
498
  */
499
499
  $on(t, r) {
500
- if (!It(r))
500
+ if (!Pt(r))
501
501
  return N;
502
502
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
503
503
  return n.push(r), () => {
@@ -513,19 +513,19 @@ class Rn {
513
513
  this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
514
514
  }
515
515
  }
516
- const Dn = "4";
517
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
516
+ const Rn = "4";
517
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rn);
518
518
  const ae = [];
519
- function $n(e, t) {
519
+ function Dn(e, t) {
520
520
  return {
521
- subscribe: Ke(e, t).subscribe
521
+ subscribe: qe(e, t).subscribe
522
522
  };
523
523
  }
524
- function Ke(e, t = N) {
524
+ function qe(e, t = N) {
525
525
  let r;
526
526
  const n = /* @__PURE__ */ new Set();
527
527
  function i(a) {
528
- if (Cr(e, a) && (e = a, r)) {
528
+ if (Tr(e, a) && (e = a, r)) {
529
529
  const l = !ae.length;
530
530
  for (const u of n)
531
531
  u[1](), ae.push(u, e);
@@ -547,12 +547,12 @@ function Ke(e, t = N) {
547
547
  }
548
548
  return { set: i, update: o, subscribe: s };
549
549
  }
550
- function de(e, t, r) {
550
+ function be(e, t, r) {
551
551
  const n = !Array.isArray(e), i = n ? [e] : e;
552
552
  if (!i.every(Boolean))
553
553
  throw new Error("derived() expects stores as input, got a falsy value");
554
554
  const o = t.length < 2;
555
- return $n(r, (s, a) => {
555
+ return Dn(r, (s, a) => {
556
556
  let l = !1;
557
557
  const u = [];
558
558
  let h = 0, f = N;
@@ -561,125 +561,139 @@ function de(e, t, r) {
561
561
  return;
562
562
  f();
563
563
  const b = t(n ? u[0] : u, s, a);
564
- o ? s(b) : f = It(b) ? b : N;
564
+ o ? s(b) : f = Pt(b) ? b : N;
565
565
  }, g = i.map(
566
- (b, d) => Ar(
566
+ (b, p) => Hr(
567
567
  b,
568
568
  (_) => {
569
- u[d] = _, h &= ~(1 << d), l && c();
569
+ u[p] = _, h &= ~(1 << p), l && c();
570
570
  },
571
571
  () => {
572
- h |= 1 << d;
572
+ h |= 1 << p;
573
573
  }
574
574
  )
575
575
  );
576
576
  return l = !0, c(), function() {
577
- me(g), f(), l = !1;
577
+ pe(g), f(), l = !1;
578
578
  };
579
579
  });
580
580
  }
581
- function Un(e) {
581
+ function $n(e) {
582
582
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
583
583
  }
584
- var Fn = function(t) {
585
- return Gn(t) && !jn(t);
584
+ var Un = function(t) {
585
+ return Fn(t) && !Gn(t);
586
586
  };
587
- function Gn(e) {
587
+ function Fn(e) {
588
588
  return !!e && typeof e == "object";
589
589
  }
590
- function jn(e) {
590
+ function Gn(e) {
591
591
  var t = Object.prototype.toString.call(e);
592
- return t === "[object RegExp]" || t === "[object Date]" || Xn(e);
592
+ return t === "[object RegExp]" || t === "[object Date]" || Vn(e);
593
593
  }
594
- var kn = typeof Symbol == "function" && Symbol.for, Vn = kn ? Symbol.for("react.element") : 60103;
595
- function Xn(e) {
596
- return e.$$typeof === Vn;
594
+ var jn = typeof Symbol == "function" && Symbol.for, kn = jn ? Symbol.for("react.element") : 60103;
595
+ function Vn(e) {
596
+ return e.$$typeof === kn;
597
597
  }
598
- function Wn(e) {
598
+ function Xn(e) {
599
599
  return Array.isArray(e) ? [] : {};
600
600
  }
601
- function we(e, t) {
602
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Wn(e), e, t) : e;
601
+ function Se(e, t) {
602
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Xn(e), e, t) : e;
603
603
  }
604
- function zn(e, t, r) {
604
+ function Wn(e, t, r) {
605
605
  return e.concat(t).map(function(n) {
606
- return we(n, r);
606
+ return Se(n, r);
607
607
  });
608
608
  }
609
- function Zn(e, t) {
609
+ function zn(e, t) {
610
610
  if (!t.customMerge)
611
- return he;
611
+ return ce;
612
612
  var r = t.customMerge(e);
613
- return typeof r == "function" ? r : he;
613
+ return typeof r == "function" ? r : ce;
614
614
  }
615
- function Qn(e) {
615
+ function Zn(e) {
616
616
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
617
617
  return Object.propertyIsEnumerable.call(e, t);
618
618
  }) : [];
619
619
  }
620
- function Jt(e) {
621
- return Object.keys(e).concat(Qn(e));
620
+ function Zt(e) {
621
+ return Object.keys(e).concat(Zn(e));
622
622
  }
623
- function Mr(e, t) {
623
+ function Ar(e, t) {
624
624
  try {
625
625
  return t in e;
626
626
  } catch (r) {
627
627
  return !1;
628
628
  }
629
629
  }
630
- function Jn(e, t) {
631
- return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
630
+ function Qn(e, t) {
631
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
632
632
  }
633
- function Yn(e, t, r) {
633
+ function Jn(e, t, r) {
634
634
  var n = {};
635
- return r.isMergeableObject(e) && Jt(e).forEach(function(i) {
636
- n[i] = we(e[i], r);
637
- }), Jt(t).forEach(function(i) {
638
- Jn(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
635
+ return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
636
+ n[i] = Se(e[i], r);
637
+ }), Zt(t).forEach(function(i) {
638
+ Qn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
639
639
  }), n;
640
640
  }
641
- function he(e, t, r) {
642
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = we;
641
+ function ce(e, t, r) {
642
+ r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = Se;
643
643
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
644
- return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : we(t, r);
644
+ return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : Se(t, r);
645
645
  }
646
- he.all = function(t, r) {
646
+ ce.all = function(t, r) {
647
647
  if (!Array.isArray(t))
648
648
  throw new Error("first argument should be an array");
649
649
  return t.reduce(function(n, i) {
650
- return he(n, i, r);
650
+ return ce(n, i, r);
651
651
  }, {});
652
652
  };
653
- var qn = he, Kn = qn;
654
- const ei = /* @__PURE__ */ Un(Kn);
655
- var bt = function(e, t) {
656
- return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
653
+ var Yn = ce, qn = Yn;
654
+ const Kn = /* @__PURE__ */ $n(qn);
655
+ /*! *****************************************************************************
656
+ Copyright (c) Microsoft Corporation.
657
+
658
+ Permission to use, copy, modify, and/or distribute this software for any
659
+ purpose with or without fee is hereby granted.
660
+
661
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
662
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
663
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
664
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
665
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
666
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
667
+ PERFORMANCE OF THIS SOFTWARE.
668
+ ***************************************************************************** */
669
+ var dt = function(e, t) {
670
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
657
671
  r.__proto__ = n;
658
672
  } || function(r, n) {
659
673
  for (var i in n)
660
674
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
661
- }, bt(e, t);
675
+ }, dt(e, t);
662
676
  };
663
- function et(e, t) {
677
+ function W(e, t) {
664
678
  if (typeof t != "function" && t !== null)
665
679
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
666
- bt(e, t);
680
+ dt(e, t);
667
681
  function r() {
668
682
  this.constructor = e;
669
683
  }
670
684
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
671
685
  }
672
- var j = function() {
673
- return j = Object.assign || function(t) {
686
+ var T = function() {
687
+ return T = Object.assign || function(t) {
674
688
  for (var r, n = 1, i = arguments.length; n < i; n++) {
675
689
  r = arguments[n];
676
690
  for (var o in r)
677
691
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
678
692
  }
679
693
  return t;
680
- }, j.apply(this, arguments);
694
+ }, T.apply(this, arguments);
681
695
  };
682
- function ti(e, t) {
696
+ function ei(e, t) {
683
697
  var r = {};
684
698
  for (var n in e)
685
699
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -688,119 +702,143 @@ function ti(e, t) {
688
702
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
689
703
  return r;
690
704
  }
691
- function ut(e, t, r) {
705
+ function pt(e) {
706
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
707
+ if (r)
708
+ return r.call(e);
709
+ if (e && typeof e.length == "number")
710
+ return {
711
+ next: function() {
712
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
713
+ }
714
+ };
715
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
716
+ }
717
+ function bt(e, t) {
718
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
719
+ if (!r)
720
+ return e;
721
+ var n = r.call(e), i, o = [], s;
722
+ try {
723
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
724
+ o.push(i.value);
725
+ } catch (a) {
726
+ s = { error: a };
727
+ } finally {
728
+ try {
729
+ i && !i.done && (r = n.return) && r.call(n);
730
+ } finally {
731
+ if (s)
732
+ throw s.error;
733
+ }
734
+ }
735
+ return o;
736
+ }
737
+ function he(e, t, r) {
692
738
  if (r || arguments.length === 2)
693
739
  for (var n = 0, i = t.length, o; n < i; n++)
694
740
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
695
- return e.concat(o || Array.prototype.slice.call(t));
741
+ return e.concat(o || t);
696
742
  }
697
- function lt(e, t) {
698
- var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ii;
743
+ function st(e, t) {
744
+ var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ri;
699
745
  return i(e, {
700
746
  cache: r,
701
747
  serializer: n
702
748
  });
703
749
  }
704
- function ri(e) {
750
+ function ti(e) {
705
751
  return e == null || typeof e == "number" || typeof e == "boolean";
706
752
  }
707
- function ni(e, t, r, n) {
708
- var i = ri(n) ? n : r(n), o = t.get(i);
753
+ function Pr(e, t, r, n) {
754
+ var i = ti(n) ? n : r(n), o = t.get(i);
709
755
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
710
756
  }
711
- function Or(e, t, r) {
757
+ function Mr(e, t, r) {
712
758
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
713
759
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
714
760
  }
715
- function Br(e, t, r, n, i) {
761
+ function Mt(e, t, r, n, i) {
716
762
  return r.bind(t, e, n, i);
717
763
  }
718
- function ii(e, t) {
719
- var r = e.length === 1 ? ni : Or;
720
- return Br(e, this, r, t.cache.create(), t.serializer);
764
+ function ri(e, t) {
765
+ var r = e.length === 1 ? Pr : Mr;
766
+ return Mt(e, this, r, t.cache.create(), t.serializer);
721
767
  }
722
- function oi(e, t) {
723
- return Br(e, this, Or, t.cache.create(), t.serializer);
768
+ function ni(e, t) {
769
+ return Mt(e, this, Mr, t.cache.create(), t.serializer);
724
770
  }
725
- var si = function() {
771
+ function ii(e, t) {
772
+ return Mt(e, this, Pr, t.cache.create(), t.serializer);
773
+ }
774
+ var oi = function() {
726
775
  return JSON.stringify(arguments);
727
- }, ai = (
728
- /** @class */
729
- function() {
730
- function e() {
731
- this.cache = /* @__PURE__ */ Object.create(null);
732
- }
733
- return e.prototype.get = function(t) {
734
- return this.cache[t];
735
- }, e.prototype.set = function(t, r) {
736
- this.cache[t] = r;
737
- }, e;
738
- }()
739
- ), ui = {
776
+ };
777
+ function Bt() {
778
+ this.cache = /* @__PURE__ */ Object.create(null);
779
+ }
780
+ Bt.prototype.get = function(e) {
781
+ return this.cache[e];
782
+ };
783
+ Bt.prototype.set = function(e, t) {
784
+ this.cache[e] = t;
785
+ };
786
+ var si = {
740
787
  create: function() {
741
- return new ai();
788
+ return new Bt();
742
789
  }
743
- }, ht = {
744
- variadic: oi
745
- }, Qe = function() {
746
- return Qe = Object.assign || function(t) {
747
- for (var r, n = 1, i = arguments.length; n < i; n++) {
748
- r = arguments[n];
749
- for (var o in r)
750
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
751
- }
752
- return t;
753
- }, Qe.apply(this, arguments);
754
- };
755
- var x;
790
+ }, at = {
791
+ variadic: ni,
792
+ monadic: ii
793
+ }, x;
756
794
  (function(e) {
757
795
  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";
758
796
  })(x || (x = {}));
759
- var C;
797
+ var A;
760
798
  (function(e) {
761
799
  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";
762
- })(C || (C = {}));
763
- var ce;
800
+ })(A || (A = {}));
801
+ var fe;
764
802
  (function(e) {
765
803
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
766
- })(ce || (ce = {}));
767
- function Yt(e) {
768
- return e.type === C.literal;
804
+ })(fe || (fe = {}));
805
+ function Qt(e) {
806
+ return e.type === A.literal;
807
+ }
808
+ function ai(e) {
809
+ return e.type === A.argument;
769
810
  }
770
- function li(e) {
771
- return e.type === C.argument;
811
+ function Br(e) {
812
+ return e.type === A.number;
813
+ }
814
+ function Or(e) {
815
+ return e.type === A.date;
772
816
  }
773
817
  function Ir(e) {
774
- return e.type === C.number;
818
+ return e.type === A.time;
775
819
  }
776
820
  function Lr(e) {
777
- return e.type === C.date;
821
+ return e.type === A.select;
778
822
  }
779
823
  function Nr(e) {
780
- return e.type === C.time;
824
+ return e.type === A.plural;
825
+ }
826
+ function ui(e) {
827
+ return e.type === A.pound;
781
828
  }
782
829
  function Rr(e) {
783
- return e.type === C.select;
830
+ return e.type === A.tag;
784
831
  }
785
832
  function Dr(e) {
786
- return e.type === C.plural;
787
- }
788
- function hi(e) {
789
- return e.type === C.pound;
790
- }
791
- function $r(e) {
792
- return e.type === C.tag;
793
- }
794
- function Ur(e) {
795
- return !!(e && typeof e == "object" && e.type === ce.number);
833
+ return !!(e && typeof e == "object" && e.type === fe.number);
796
834
  }
797
835
  function gt(e) {
798
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
836
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
799
837
  }
800
- var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ci = /(?:[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;
801
- function fi(e) {
838
+ var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
839
+ function hi(e) {
802
840
  var t = {};
803
- return e.replace(ci, function(r) {
841
+ return e.replace(li, function(r) {
804
842
  var n = r.length;
805
843
  switch (r[0]) {
806
844
  case "G":
@@ -889,21 +927,11 @@ function fi(e) {
889
927
  return "";
890
928
  }), t;
891
929
  }
892
- var M = function() {
893
- return M = Object.assign || function(t) {
894
- for (var r, n = 1, i = arguments.length; n < i; n++) {
895
- r = arguments[n];
896
- for (var o in r)
897
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
898
- }
899
- return t;
900
- }, M.apply(this, arguments);
901
- };
902
- var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
903
- function mi(e) {
930
+ var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
931
+ function fi(e) {
904
932
  if (e.length === 0)
905
933
  throw new Error("Number skeleton cannot be empty");
906
- for (var t = e.split(pi).filter(function(c) {
934
+ for (var t = e.split(ci).filter(function(c) {
907
935
  return c.length > 0;
908
936
  }), r = [], n = 0, i = t; n < i.length; n++) {
909
937
  var o = i[n], s = o.split("/");
@@ -918,17 +946,17 @@ function mi(e) {
918
946
  }
919
947
  return r;
920
948
  }
921
- function di(e) {
949
+ function mi(e) {
922
950
  return e.replace(/^(.*?)-/, "");
923
951
  }
924
- var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
925
- function Kt(e) {
952
+ var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
953
+ function Yt(e) {
926
954
  var t = {};
927
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
955
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
928
956
  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)), "";
929
957
  }), t;
930
958
  }
931
- function kr(e) {
959
+ function Gr(e) {
932
960
  switch (e) {
933
961
  case "sign-auto":
934
962
  return {
@@ -968,7 +996,7 @@ function kr(e) {
968
996
  };
969
997
  }
970
998
  }
971
- function gi(e) {
999
+ function pi(e) {
972
1000
  var t;
973
1001
  if (e[0] === "E" && e[1] === "E" ? (t = {
974
1002
  notation: "engineering"
@@ -976,17 +1004,17 @@ function gi(e) {
976
1004
  notation: "scientific"
977
1005
  }, e = e.slice(1)), t) {
978
1006
  var r = e.slice(0, 2);
979
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1007
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
980
1008
  throw new Error("Malformed concise eng/scientific notation");
981
1009
  t.minimumIntegerDigits = e.length;
982
1010
  }
983
1011
  return t;
984
1012
  }
985
- function er(e) {
986
- var t = {}, r = kr(e);
1013
+ function qt(e) {
1014
+ var t = {}, r = Gr(e);
987
1015
  return r || t;
988
1016
  }
989
- function yi(e) {
1017
+ function bi(e) {
990
1018
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
991
1019
  var i = n[r];
992
1020
  switch (i.stem) {
@@ -1010,7 +1038,7 @@ function yi(e) {
1010
1038
  continue;
1011
1039
  case "measure-unit":
1012
1040
  case "unit":
1013
- t.style = "unit", t.unit = di(i.options[0]);
1041
+ t.style = "unit", t.unit = mi(i.options[0]);
1014
1042
  continue;
1015
1043
  case "compact-short":
1016
1044
  case "K":
@@ -1021,13 +1049,13 @@ function yi(e) {
1021
1049
  t.notation = "compact", t.compactDisplay = "long";
1022
1050
  continue;
1023
1051
  case "scientific":
1024
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1025
- return M(M({}, l), er(u));
1052
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1053
+ return T(T({}, l), qt(u));
1026
1054
  }, {}));
1027
1055
  continue;
1028
1056
  case "engineering":
1029
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1030
- return M(M({}, l), er(u));
1057
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1058
+ return T(T({}, l), qt(u));
1031
1059
  }, {}));
1032
1060
  continue;
1033
1061
  case "notation-simple":
@@ -1072,7 +1100,7 @@ function yi(e) {
1072
1100
  case "integer-width":
1073
1101
  if (i.options.length > 1)
1074
1102
  throw new RangeError("integer-width stems only accept a single optional option");
1075
- i.options[0].replace(bi, function(l, u, h, f, c, g) {
1103
+ i.options[0].replace(di, function(l, u, h, f, c, g) {
1076
1104
  if (u)
1077
1105
  t.minimumIntegerDigits = h.length;
1078
1106
  else {
@@ -1085,28 +1113,28 @@ function yi(e) {
1085
1113
  });
1086
1114
  continue;
1087
1115
  }
1088
- if (jr.test(i.stem)) {
1116
+ if (Fr.test(i.stem)) {
1089
1117
  t.minimumIntegerDigits = i.stem.length;
1090
1118
  continue;
1091
1119
  }
1092
- if (qt.test(i.stem)) {
1120
+ if (Jt.test(i.stem)) {
1093
1121
  if (i.options.length > 1)
1094
1122
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1095
- i.stem.replace(qt, function(l, u, h, f, c, g) {
1123
+ i.stem.replace(Jt, function(l, u, h, f, c, g) {
1096
1124
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1097
1125
  });
1098
1126
  var o = i.options[0];
1099
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Kt(o)));
1127
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Yt(o)));
1100
1128
  continue;
1101
1129
  }
1102
- if (Gr.test(i.stem)) {
1103
- t = M(M({}, t), Kt(i.stem));
1130
+ if (Ur.test(i.stem)) {
1131
+ t = T(T({}, t), Yt(i.stem));
1104
1132
  continue;
1105
1133
  }
1106
- var s = kr(i.stem);
1107
- s && (t = M(M({}, t), s));
1108
- var a = gi(i.stem);
1109
- a && (t = M(M({}, t), a));
1134
+ var s = Gr(i.stem);
1135
+ s && (t = T(T({}, t), s));
1136
+ var a = pi(i.stem);
1137
+ a && (t = T(T({}, t), a));
1110
1138
  }
1111
1139
  return t;
1112
1140
  }
@@ -2525,13 +2553,13 @@ var Ue = {
2525
2553
  "h"
2526
2554
  ]
2527
2555
  };
2528
- function vi(e, t) {
2556
+ function gi(e, t) {
2529
2557
  for (var r = "", n = 0; n < e.length; n++) {
2530
2558
  var i = e.charAt(n);
2531
2559
  if (i === "j") {
2532
2560
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2533
2561
  o++, n++;
2534
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = _i(t);
2562
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
2535
2563
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2536
2564
  r += l;
2537
2565
  for (; s-- > 0; )
@@ -2541,7 +2569,7 @@ function vi(e, t) {
2541
2569
  }
2542
2570
  return r;
2543
2571
  }
2544
- function _i(e) {
2572
+ function yi(e) {
2545
2573
  var t = e.hourCycle;
2546
2574
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2547
2575
  e.hourCycles && // @ts-ignore
@@ -2563,20 +2591,20 @@ function _i(e) {
2563
2591
  var i = Ue[n || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2564
2592
  return i[0];
2565
2593
  }
2566
- var ct, Ei = new RegExp("^".concat(Fr.source, "*")), xi = new RegExp("".concat(Fr.source, "*$"));
2594
+ var ut, vi = new RegExp("^".concat($r.source, "*")), _i = new RegExp("".concat($r.source, "*$"));
2567
2595
  function w(e, t) {
2568
2596
  return { start: e, end: t };
2569
2597
  }
2570
- var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Mi = Pi ? Number.isSafeInteger : function(e) {
2598
+ var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Ai = Ci ? Number.isSafeInteger : function(e) {
2571
2599
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2572
2600
  }, yt = !0;
2573
2601
  try {
2574
- var Oi = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2575
- yt = ((ct = Oi.exec("a")) === null || ct === void 0 ? void 0 : ct[0]) === "a";
2602
+ var Pi = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2603
+ yt = ((ut = Pi.exec("a")) === null || ut === void 0 ? void 0 : ut[0]) === "a";
2576
2604
  } catch (e) {
2577
2605
  yt = !1;
2578
2606
  }
2579
- var tr = wi ? (
2607
+ var Kt = Ei ? (
2580
2608
  // Native
2581
2609
  function(t, r, n) {
2582
2610
  return t.startsWith(r, n);
@@ -2586,7 +2614,7 @@ var tr = wi ? (
2586
2614
  function(t, r, n) {
2587
2615
  return t.slice(n, n + r.length) === r;
2588
2616
  }
2589
- ), vt = Si ? String.fromCodePoint : (
2617
+ ), vt = xi ? String.fromCodePoint : (
2590
2618
  // IE11
2591
2619
  function() {
2592
2620
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2598,9 +2626,9 @@ var tr = wi ? (
2598
2626
  }
2599
2627
  return n;
2600
2628
  }
2601
- ), rr = (
2629
+ ), er = (
2602
2630
  // native
2603
- Ti ? Object.fromEntries : (
2631
+ wi ? Object.fromEntries : (
2604
2632
  // Ponyfill
2605
2633
  function(t) {
2606
2634
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2610,7 +2638,7 @@ var tr = wi ? (
2610
2638
  return r;
2611
2639
  }
2612
2640
  )
2613
- ), Vr = Hi ? (
2641
+ ), jr = Si ? (
2614
2642
  // Native
2615
2643
  function(t, r) {
2616
2644
  return t.codePointAt(r);
@@ -2624,7 +2652,7 @@ var tr = wi ? (
2624
2652
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2625
2653
  }
2626
2654
  }
2627
- ), Bi = Ci ? (
2655
+ ), Mi = Ti ? (
2628
2656
  // Native
2629
2657
  function(t) {
2630
2658
  return t.trimStart();
@@ -2632,9 +2660,9 @@ var tr = wi ? (
2632
2660
  ) : (
2633
2661
  // Ponyfill
2634
2662
  function(t) {
2635
- return t.replace(Ei, "");
2663
+ return t.replace(vi, "");
2636
2664
  }
2637
- ), Ii = Ai ? (
2665
+ ), Bi = Hi ? (
2638
2666
  // Native
2639
2667
  function(t) {
2640
2668
  return t.trimEnd();
@@ -2642,32 +2670,32 @@ var tr = wi ? (
2642
2670
  ) : (
2643
2671
  // Ponyfill
2644
2672
  function(t) {
2645
- return t.replace(xi, "");
2673
+ return t.replace(_i, "");
2646
2674
  }
2647
2675
  );
2648
- function Xr(e, t) {
2676
+ function kr(e, t) {
2649
2677
  return new RegExp(e, t);
2650
2678
  }
2651
2679
  var _t;
2652
2680
  if (yt) {
2653
- var nr = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2681
+ var tr = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
2682
  _t = function(t, r) {
2655
2683
  var n;
2656
- nr.lastIndex = r;
2657
- var i = nr.exec(t);
2684
+ tr.lastIndex = r;
2685
+ var i = tr.exec(t);
2658
2686
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2659
2687
  };
2660
2688
  } else
2661
2689
  _t = function(t, r) {
2662
2690
  for (var n = []; ; ) {
2663
- var i = Vr(t, r);
2664
- if (i === void 0 || Wr(i) || Di(i))
2691
+ var i = jr(t, r);
2692
+ if (i === void 0 || Vr(i) || Ni(i))
2665
2693
  break;
2666
2694
  n.push(i), r += i >= 65536 ? 2 : 1;
2667
2695
  }
2668
2696
  return vt.apply(void 0, n);
2669
2697
  };
2670
- var Li = (
2698
+ var Oi = (
2671
2699
  /** @class */
2672
2700
  function() {
2673
2701
  function e(t, r) {
@@ -2691,7 +2719,7 @@ var Li = (
2691
2719
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2692
2720
  var a = this.clonePosition();
2693
2721
  this.bump(), i.push({
2694
- type: C.pound,
2722
+ type: A.pound,
2695
2723
  location: w(a, this.clonePosition())
2696
2724
  });
2697
2725
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2719,7 +2747,7 @@ var Li = (
2719
2747
  if (this.bumpSpace(), this.bumpIf("/>"))
2720
2748
  return {
2721
2749
  val: {
2722
- type: C.literal,
2750
+ type: A.literal,
2723
2751
  value: "<".concat(i, "/>"),
2724
2752
  location: w(n, this.clonePosition())
2725
2753
  },
@@ -2736,7 +2764,7 @@ var Li = (
2736
2764
  var l = this.clonePosition(), u = this.parseTagName();
2737
2765
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2738
2766
  val: {
2739
- type: C.tag,
2767
+ type: A.tag,
2740
2768
  value: i,
2741
2769
  children: s,
2742
2770
  location: w(n, this.clonePosition())
@@ -2749,7 +2777,7 @@ var Li = (
2749
2777
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
2750
2778
  }, e.prototype.parseTagName = function() {
2751
2779
  var t = this.offset();
2752
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
2780
+ for (this.bump(); !this.isEOF() && Li(this.char()); )
2753
2781
  this.bump();
2754
2782
  return this.message.slice(t, this.offset());
2755
2783
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2773,12 +2801,12 @@ var Li = (
2773
2801
  }
2774
2802
  var l = w(n, this.clonePosition());
2775
2803
  return {
2776
- val: { type: C.literal, value: i, location: l },
2804
+ val: { type: A.literal, value: i, location: l },
2777
2805
  err: null
2778
2806
  };
2779
2807
  }, e.prototype.tryParseLeftAngleBracket = function() {
2780
2808
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2781
- !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2809
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2782
2810
  }, e.prototype.tryParseQuote = function(t) {
2783
2811
  if (this.isEOF() || this.char() !== 39)
2784
2812
  return null;
@@ -2833,7 +2861,7 @@ var Li = (
2833
2861
  case 125:
2834
2862
  return this.bump(), {
2835
2863
  val: {
2836
- type: C.argument,
2864
+ type: A.argument,
2837
2865
  // value does not include the opening and closing braces.
2838
2866
  value: i,
2839
2867
  location: w(n, this.clonePosition())
@@ -2865,7 +2893,7 @@ var Li = (
2865
2893
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2866
2894
  if (f.err)
2867
2895
  return f;
2868
- var c = Ii(f.val);
2896
+ var c = Bi(f.val);
2869
2897
  if (c.length === 0)
2870
2898
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2871
2899
  var g = w(h, this.clonePosition());
@@ -2874,37 +2902,37 @@ var Li = (
2874
2902
  var b = this.tryParseArgumentClose(i);
2875
2903
  if (b.err)
2876
2904
  return b;
2877
- var d = w(i, this.clonePosition());
2878
- if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
2879
- var _ = Bi(u.style.slice(2));
2905
+ var p = w(i, this.clonePosition());
2906
+ if (u && Kt(u == null ? void 0 : u.style, "::", 0)) {
2907
+ var _ = Mi(u.style.slice(2));
2880
2908
  if (a === "number") {
2881
2909
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2882
2910
  return f.err ? f : {
2883
- val: { type: C.number, value: n, location: d, style: f.val },
2911
+ val: { type: A.number, value: n, location: p, style: f.val },
2884
2912
  err: null
2885
2913
  };
2886
2914
  } else {
2887
2915
  if (_.length === 0)
2888
- return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
2916
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, p);
2889
2917
  var E = _;
2890
- this.locale && (E = vi(_, this.locale));
2918
+ this.locale && (E = gi(_, this.locale));
2891
2919
  var c = {
2892
- type: ce.dateTime,
2920
+ type: fe.dateTime,
2893
2921
  pattern: E,
2894
2922
  location: u.styleLocation,
2895
- parsedOptions: this.shouldParseSkeletons ? fi(E) : {}
2896
- }, p = a === "date" ? C.date : C.time;
2923
+ parsedOptions: this.shouldParseSkeletons ? hi(E) : {}
2924
+ }, m = a === "date" ? A.date : A.time;
2897
2925
  return {
2898
- val: { type: p, value: n, location: d, style: c },
2926
+ val: { type: m, value: n, location: p, style: c },
2899
2927
  err: null
2900
2928
  };
2901
2929
  }
2902
2930
  }
2903
2931
  return {
2904
2932
  val: {
2905
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2933
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2906
2934
  value: n,
2907
- location: d,
2935
+ location: p,
2908
2936
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2909
2937
  },
2910
2938
  err: null
@@ -2915,9 +2943,9 @@ var Li = (
2915
2943
  case "select": {
2916
2944
  var S = this.clonePosition();
2917
2945
  if (this.bumpSpace(), !this.bumpIf(","))
2918
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, Qe({}, S)));
2946
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, T({}, S)));
2919
2947
  this.bumpSpace();
2920
- var y = this.parseIdentifierIfPossible(), A = 0;
2948
+ var y = this.parseIdentifierIfPossible(), P = 0;
2921
2949
  if (a !== "select" && y.value === "offset") {
2922
2950
  if (!this.bumpIf(":"))
2923
2951
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
@@ -2925,29 +2953,29 @@ var Li = (
2925
2953
  var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2926
2954
  if (f.err)
2927
2955
  return f;
2928
- this.bumpSpace(), y = this.parseIdentifierIfPossible(), A = f.val;
2956
+ this.bumpSpace(), y = this.parseIdentifierIfPossible(), P = f.val;
2929
2957
  }
2930
- var H = this.tryParsePluralOrSelectOptions(t, a, r, y);
2931
- if (H.err)
2932
- return H;
2958
+ var C = this.tryParsePluralOrSelectOptions(t, a, r, y);
2959
+ if (C.err)
2960
+ return C;
2933
2961
  var b = this.tryParseArgumentClose(i);
2934
2962
  if (b.err)
2935
2963
  return b;
2936
2964
  var F = w(i, this.clonePosition());
2937
2965
  return a === "select" ? {
2938
2966
  val: {
2939
- type: C.select,
2967
+ type: A.select,
2940
2968
  value: n,
2941
- options: rr(H.val),
2969
+ options: er(C.val),
2942
2970
  location: F
2943
2971
  },
2944
2972
  err: null
2945
2973
  } : {
2946
2974
  val: {
2947
- type: C.plural,
2975
+ type: A.plural,
2948
2976
  value: n,
2949
- options: rr(H.val),
2950
- offset: A,
2977
+ options: er(C.val),
2978
+ offset: P,
2951
2979
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2952
2980
  location: F
2953
2981
  },
@@ -2997,16 +3025,16 @@ var Li = (
2997
3025
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2998
3026
  var n = [];
2999
3027
  try {
3000
- n = mi(t);
3028
+ n = fi(t);
3001
3029
  } catch (i) {
3002
3030
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3003
3031
  }
3004
3032
  return {
3005
3033
  val: {
3006
- type: ce.number,
3034
+ type: fe.number,
3007
3035
  tokens: n,
3008
3036
  location: r,
3009
- parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3037
+ parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
3010
3038
  },
3011
3039
  err: null
3012
3040
  };
@@ -3031,9 +3059,9 @@ var Li = (
3031
3059
  var b = this.parseMessage(t + 1, r, n);
3032
3060
  if (b.err)
3033
3061
  return b;
3034
- var d = this.tryParseArgumentClose(g);
3035
- if (d.err)
3036
- return d;
3062
+ var p = this.tryParseArgumentClose(g);
3063
+ if (p.err)
3064
+ return p;
3037
3065
  a.push([
3038
3066
  u,
3039
3067
  {
@@ -3054,7 +3082,7 @@ var Li = (
3054
3082
  break;
3055
3083
  }
3056
3084
  var l = w(i, this.clonePosition());
3057
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3085
+ return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3058
3086
  }, e.prototype.offset = function() {
3059
3087
  return this.position.offset;
3060
3088
  }, e.prototype.isEOF = function() {
@@ -3069,7 +3097,7 @@ var Li = (
3069
3097
  var t = this.position.offset;
3070
3098
  if (t >= this.message.length)
3071
3099
  throw Error("out of bound");
3072
- var r = Vr(this.message, t);
3100
+ var r = jr(this.message, t);
3073
3101
  if (r === void 0)
3074
3102
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3075
3103
  return r;
@@ -3088,7 +3116,7 @@ var Li = (
3088
3116
  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);
3089
3117
  }
3090
3118
  }, e.prototype.bumpIf = function(t) {
3091
- if (tr(this.message, t, this.offset())) {
3119
+ if (Kt(this.message, t, this.offset())) {
3092
3120
  for (var r = 0; r < t.length; r++)
3093
3121
  this.bump();
3094
3122
  return !0;
@@ -3110,7 +3138,7 @@ var Li = (
3110
3138
  break;
3111
3139
  }
3112
3140
  }, e.prototype.bumpSpace = function() {
3113
- for (; !this.isEOF() && Wr(this.char()); )
3141
+ for (; !this.isEOF() && Vr(this.char()); )
3114
3142
  this.bump();
3115
3143
  }, e.prototype.peek = function() {
3116
3144
  if (this.isEOF())
@@ -3123,44 +3151,44 @@ var Li = (
3123
3151
  function Et(e) {
3124
3152
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3125
3153
  }
3126
- function Ni(e) {
3154
+ function Ii(e) {
3127
3155
  return Et(e) || e === 47;
3128
3156
  }
3129
- function Ri(e) {
3157
+ function Li(e) {
3130
3158
  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;
3131
3159
  }
3132
- function Wr(e) {
3160
+ function Vr(e) {
3133
3161
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3134
3162
  }
3135
- function Di(e) {
3163
+ function Ni(e) {
3136
3164
  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;
3137
3165
  }
3138
3166
  function xt(e) {
3139
3167
  e.forEach(function(t) {
3140
- if (delete t.location, Rr(t) || Dr(t))
3168
+ if (delete t.location, Lr(t) || Nr(t))
3141
3169
  for (var r in t.options)
3142
3170
  delete t.options[r].location, xt(t.options[r].value);
3143
3171
  else
3144
- Ir(t) && Ur(t.style) || (Lr(t) || Nr(t)) && gt(t.style) ? delete t.style.location : $r(t) && xt(t.children);
3172
+ Br(t) && Dr(t.style) || (Or(t) || Ir(t)) && gt(t.style) ? delete t.style.location : Rr(t) && xt(t.children);
3145
3173
  });
3146
3174
  }
3147
- function $i(e, t) {
3148
- t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3149
- var r = new Li(e, t).parse();
3175
+ function Ri(e, t) {
3176
+ t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3177
+ var r = new Oi(e, t).parse();
3150
3178
  if (r.err) {
3151
3179
  var n = SyntaxError(x[r.err.kind]);
3152
3180
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3153
3181
  }
3154
3182
  return t != null && t.captureLocation || xt(r.val), r.val;
3155
3183
  }
3156
- var fe;
3184
+ var me;
3157
3185
  (function(e) {
3158
3186
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3159
- })(fe || (fe = {}));
3160
- var tt = (
3187
+ })(me || (me = {}));
3188
+ var Ke = (
3161
3189
  /** @class */
3162
3190
  function(e) {
3163
- et(t, e);
3191
+ W(t, e);
3164
3192
  function t(r, n, i) {
3165
3193
  var o = e.call(this, r) || this;
3166
3194
  return o.code = n, o.originalMessage = i, o;
@@ -3169,48 +3197,48 @@ var tt = (
3169
3197
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3170
3198
  }, t;
3171
3199
  }(Error)
3172
- ), ir = (
3200
+ ), rr = (
3173
3201
  /** @class */
3174
3202
  function(e) {
3175
- et(t, e);
3203
+ W(t, e);
3176
3204
  function t(r, n, i, o) {
3177
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3205
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3178
3206
  }
3179
3207
  return t;
3180
- }(tt)
3181
- ), Ui = (
3208
+ }(Ke)
3209
+ ), Di = (
3182
3210
  /** @class */
3183
3211
  function(e) {
3184
- et(t, e);
3212
+ W(t, e);
3185
3213
  function t(r, n, i) {
3186
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3214
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3187
3215
  }
3188
3216
  return t;
3189
- }(tt)
3190
- ), Fi = (
3217
+ }(Ke)
3218
+ ), $i = (
3191
3219
  /** @class */
3192
3220
  function(e) {
3193
- et(t, e);
3221
+ W(t, e);
3194
3222
  function t(r, n) {
3195
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3223
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3196
3224
  }
3197
3225
  return t;
3198
- }(tt)
3226
+ }(Ke)
3199
3227
  ), I;
3200
3228
  (function(e) {
3201
3229
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3202
3230
  })(I || (I = {}));
3203
- function Gi(e) {
3231
+ function Ui(e) {
3204
3232
  return e.length < 2 ? e : e.reduce(function(t, r) {
3205
3233
  var n = t[t.length - 1];
3206
3234
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3207
3235
  }, []);
3208
3236
  }
3209
- function ji(e) {
3237
+ function Fi(e) {
3210
3238
  return typeof e == "function";
3211
3239
  }
3212
3240
  function Ve(e, t, r, n, i, o, s) {
3213
- if (e.length === 1 && Yt(e[0]))
3241
+ if (e.length === 1 && Qt(e[0]))
3214
3242
  return [
3215
3243
  {
3216
3244
  type: I.literal,
@@ -3219,14 +3247,14 @@ function Ve(e, t, r, n, i, o, s) {
3219
3247
  ];
3220
3248
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3221
3249
  var h = u[l];
3222
- if (Yt(h)) {
3250
+ if (Qt(h)) {
3223
3251
  a.push({
3224
3252
  type: I.literal,
3225
3253
  value: h.value
3226
3254
  });
3227
3255
  continue;
3228
3256
  }
3229
- if (hi(h)) {
3257
+ if (ui(h)) {
3230
3258
  typeof o == "number" && a.push({
3231
3259
  type: I.literal,
3232
3260
  value: r.getNumberFormat(t).format(o)
@@ -3235,16 +3263,16 @@ function Ve(e, t, r, n, i, o, s) {
3235
3263
  }
3236
3264
  var f = h.value;
3237
3265
  if (!(i && f in i))
3238
- throw new Fi(f, s);
3266
+ throw new $i(f, s);
3239
3267
  var c = i[f];
3240
- if (li(h)) {
3268
+ if (ai(h)) {
3241
3269
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3242
3270
  type: typeof c == "string" ? I.literal : I.object,
3243
3271
  value: c
3244
3272
  });
3245
3273
  continue;
3246
3274
  }
3247
- if (Lr(h)) {
3275
+ if (Or(h)) {
3248
3276
  var g = typeof h.style == "string" ? n.date[h.style] : gt(h.style) ? h.style.parsedOptions : void 0;
3249
3277
  a.push({
3250
3278
  type: I.literal,
@@ -3252,7 +3280,7 @@ function Ve(e, t, r, n, i, o, s) {
3252
3280
  });
3253
3281
  continue;
3254
3282
  }
3255
- if (Nr(h)) {
3283
+ if (Ir(h)) {
3256
3284
  var g = typeof h.style == "string" ? n.time[h.style] : gt(h.style) ? h.style.parsedOptions : n.time.medium;
3257
3285
  a.push({
3258
3286
  type: I.literal,
@@ -3260,64 +3288,64 @@ function Ve(e, t, r, n, i, o, s) {
3260
3288
  });
3261
3289
  continue;
3262
3290
  }
3263
- if (Ir(h)) {
3264
- var g = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3291
+ if (Br(h)) {
3292
+ var g = typeof h.style == "string" ? n.number[h.style] : Dr(h.style) ? h.style.parsedOptions : void 0;
3265
3293
  g && g.scale && (c = c * (g.scale || 1)), a.push({
3266
3294
  type: I.literal,
3267
3295
  value: r.getNumberFormat(t, g).format(c)
3268
3296
  });
3269
3297
  continue;
3270
3298
  }
3271
- if ($r(h)) {
3272
- var b = h.children, d = h.value, _ = i[d];
3273
- if (!ji(_))
3274
- throw new Ui(d, "function", s);
3275
- var E = Ve(b, t, r, n, i, o), p = _(E.map(function(A) {
3276
- return A.value;
3299
+ if (Rr(h)) {
3300
+ var b = h.children, p = h.value, _ = i[p];
3301
+ if (!Fi(_))
3302
+ throw new Di(p, "function", s);
3303
+ var E = Ve(b, t, r, n, i, o), m = _(E.map(function(P) {
3304
+ return P.value;
3277
3305
  }));
3278
- Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(A) {
3306
+ Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(P) {
3279
3307
  return {
3280
- type: typeof A == "string" ? I.literal : I.object,
3281
- value: A
3308
+ type: typeof P == "string" ? I.literal : I.object,
3309
+ value: P
3282
3310
  };
3283
3311
  }));
3284
3312
  }
3285
- if (Rr(h)) {
3313
+ if (Lr(h)) {
3286
3314
  var S = h.options[c] || h.options.other;
3287
3315
  if (!S)
3288
- throw new ir(h.value, c, Object.keys(h.options), s);
3316
+ throw new rr(h.value, c, Object.keys(h.options), s);
3289
3317
  a.push.apply(a, Ve(S.value, t, r, n, i));
3290
3318
  continue;
3291
3319
  }
3292
- if (Dr(h)) {
3320
+ if (Nr(h)) {
3293
3321
  var S = h.options["=".concat(c)];
3294
3322
  if (!S) {
3295
3323
  if (!Intl.PluralRules)
3296
- throw new tt(`Intl.PluralRules is not available in this environment.
3324
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3297
3325
  Try polyfilling it using "@formatjs/intl-pluralrules"
3298
- `, fe.MISSING_INTL_API, s);
3326
+ `, me.MISSING_INTL_API, s);
3299
3327
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3300
3328
  S = h.options[y] || h.options.other;
3301
3329
  }
3302
3330
  if (!S)
3303
- throw new ir(h.value, c, Object.keys(h.options), s);
3331
+ throw new rr(h.value, c, Object.keys(h.options), s);
3304
3332
  a.push.apply(a, Ve(S.value, t, r, n, i, c - (h.offset || 0)));
3305
3333
  continue;
3306
3334
  }
3307
3335
  }
3308
- return Gi(a);
3336
+ return Ui(a);
3309
3337
  }
3310
- function ki(e, t) {
3311
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3312
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3338
+ function Gi(e, t) {
3339
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3340
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3313
3341
  }, {})) : e;
3314
3342
  }
3315
- function Vi(e, t) {
3343
+ function ji(e, t) {
3316
3344
  return t ? Object.keys(e).reduce(function(r, n) {
3317
- return r[n] = ki(e[n], t[n]), r;
3318
- }, j({}, e)) : e;
3345
+ return r[n] = Gi(e[n], t[n]), r;
3346
+ }, T({}, e)) : e;
3319
3347
  }
3320
- function ft(e) {
3348
+ function lt(e) {
3321
3349
  return {
3322
3350
  create: function() {
3323
3351
  return {
@@ -3331,39 +3359,39 @@ function ft(e) {
3331
3359
  }
3332
3360
  };
3333
3361
  }
3334
- function Xi(e) {
3362
+ function ki(e) {
3335
3363
  return e === void 0 && (e = {
3336
3364
  number: {},
3337
3365
  dateTime: {},
3338
3366
  pluralRules: {}
3339
3367
  }), {
3340
- getNumberFormat: lt(function() {
3368
+ getNumberFormat: st(function() {
3341
3369
  for (var t, r = [], n = 0; n < arguments.length; n++)
3342
3370
  r[n] = arguments[n];
3343
- return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], r, !1)))();
3371
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3344
3372
  }, {
3345
- cache: ft(e.number),
3346
- strategy: ht.variadic
3373
+ cache: lt(e.number),
3374
+ strategy: at.variadic
3347
3375
  }),
3348
- getDateTimeFormat: lt(function() {
3376
+ getDateTimeFormat: st(function() {
3349
3377
  for (var t, r = [], n = 0; n < arguments.length; n++)
3350
3378
  r[n] = arguments[n];
3351
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], r, !1)))();
3379
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3352
3380
  }, {
3353
- cache: ft(e.dateTime),
3354
- strategy: ht.variadic
3381
+ cache: lt(e.dateTime),
3382
+ strategy: at.variadic
3355
3383
  }),
3356
- getPluralRules: lt(function() {
3384
+ getPluralRules: st(function() {
3357
3385
  for (var t, r = [], n = 0; n < arguments.length; n++)
3358
3386
  r[n] = arguments[n];
3359
- return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], r, !1)))();
3387
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3360
3388
  }, {
3361
- cache: ft(e.pluralRules),
3362
- strategy: ht.variadic
3389
+ cache: lt(e.pluralRules),
3390
+ strategy: at.variadic
3363
3391
  })
3364
3392
  };
3365
3393
  }
3366
- var zr = (
3394
+ var Xr = (
3367
3395
  /** @class */
3368
3396
  function() {
3369
3397
  function e(t, r, n, i) {
@@ -3395,13 +3423,13 @@ var zr = (
3395
3423
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3396
3424
  var s = i || {};
3397
3425
  s.formatters;
3398
- var a = ti(s, ["formatters"]);
3399
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3426
+ var a = ei(s, ["formatters"]);
3427
+ this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3400
3428
  } else
3401
3429
  this.ast = t;
3402
3430
  if (!Array.isArray(this.ast))
3403
3431
  throw new TypeError("A message must be provided as a String or AST.");
3404
- this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3432
+ this.formats = ji(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
3405
3433
  }
3406
3434
  return Object.defineProperty(e, "defaultLocale", {
3407
3435
  get: function() {
@@ -3414,7 +3442,7 @@ var zr = (
3414
3442
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3415
3443
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3416
3444
  }
3417
- }, e.__parse = $i, e.formats = {
3445
+ }, e.__parse = Ri, e.formats = {
3418
3446
  number: {
3419
3447
  integer: {
3420
3448
  maximumFractionDigits: 0
@@ -3475,7 +3503,7 @@ var zr = (
3475
3503
  }, e;
3476
3504
  }()
3477
3505
  );
3478
- function Wi(e, t) {
3506
+ function Vi(e, t) {
3479
3507
  if (t == null)
3480
3508
  return;
3481
3509
  if (t in e)
@@ -3496,101 +3524,101 @@ function Wi(e, t) {
3496
3524
  n = void 0;
3497
3525
  return n;
3498
3526
  }
3499
- const Q = {}, zi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Zr = (e, t) => {
3527
+ const Q = {}, Xi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Wr = (e, t) => {
3500
3528
  if (t == null)
3501
3529
  return;
3502
3530
  if (t in Q && e in Q[t])
3503
3531
  return Q[t][e];
3504
- const r = He(t);
3532
+ const r = Ce(t);
3505
3533
  for (let n = 0; n < r.length; n++) {
3506
- const i = r[n], o = Qi(i, e);
3534
+ const i = r[n], o = zi(i, e);
3507
3535
  if (o)
3508
- return zi(e, t, o);
3536
+ return Xi(e, t, o);
3509
3537
  }
3510
3538
  };
3511
- let Lt;
3512
- const Te = Ke({});
3513
- function Zi(e) {
3514
- return Lt[e] || null;
3539
+ let Ot;
3540
+ const He = qe({});
3541
+ function Wi(e) {
3542
+ return Ot[e] || null;
3515
3543
  }
3516
- function Qr(e) {
3517
- return e in Lt;
3544
+ function zr(e) {
3545
+ return e in Ot;
3518
3546
  }
3519
- function Qi(e, t) {
3520
- if (!Qr(e))
3547
+ function zi(e, t) {
3548
+ if (!zr(e))
3521
3549
  return null;
3522
- const r = Zi(e);
3523
- return Wi(r, t);
3550
+ const r = Wi(e);
3551
+ return Vi(r, t);
3524
3552
  }
3525
- function Ji(e) {
3553
+ function Zi(e) {
3526
3554
  if (e == null)
3527
3555
  return;
3528
- const t = He(e);
3556
+ const t = Ce(e);
3529
3557
  for (let r = 0; r < t.length; r++) {
3530
3558
  const n = t[r];
3531
- if (Qr(n))
3559
+ if (zr(n))
3532
3560
  return n;
3533
3561
  }
3534
3562
  }
3535
- function Jr(e, ...t) {
3536
- delete Q[e], Te.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
3563
+ function Zr(e, ...t) {
3564
+ delete Q[e], He.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
3537
3565
  }
3538
- de(
3539
- [Te],
3566
+ be(
3567
+ [He],
3540
3568
  ([e]) => Object.keys(e)
3541
3569
  );
3542
- Te.subscribe((e) => Lt = e);
3570
+ He.subscribe((e) => Ot = e);
3543
3571
  const Xe = {};
3544
- function Yi(e, t) {
3572
+ function Qi(e, t) {
3545
3573
  Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3546
3574
  }
3547
- function Yr(e) {
3575
+ function Qr(e) {
3548
3576
  return Xe[e];
3549
3577
  }
3550
- function qi(e) {
3551
- return He(e).map((t) => {
3552
- const r = Yr(t);
3578
+ function Ji(e) {
3579
+ return Ce(e).map((t) => {
3580
+ const r = Qr(t);
3553
3581
  return [t, r ? [...r] : []];
3554
3582
  }).filter(([, t]) => t.length > 0);
3555
3583
  }
3556
- function Je(e) {
3557
- return e == null ? !1 : He(e).some(
3584
+ function Qe(e) {
3585
+ return e == null ? !1 : Ce(e).some(
3558
3586
  (t) => {
3559
3587
  var r;
3560
- return (r = Yr(t)) == null ? void 0 : r.size;
3588
+ return (r = Qr(t)) == null ? void 0 : r.size;
3561
3589
  }
3562
3590
  );
3563
3591
  }
3564
- function Ki(e, t) {
3592
+ function Yi(e, t) {
3565
3593
  return Promise.all(
3566
- t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
3567
- ).then((n) => Jr(e, ...n));
3568
- }
3569
- const ve = {};
3570
- function qr(e) {
3571
- if (!Je(e))
3572
- return e in ve ? ve[e] : Promise.resolve();
3573
- const t = qi(e);
3574
- return ve[e] = Promise.all(
3594
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
3595
+ ).then((n) => Zr(e, ...n));
3596
+ }
3597
+ const _e = {};
3598
+ function Jr(e) {
3599
+ if (!Qe(e))
3600
+ return e in _e ? _e[e] : Promise.resolve();
3601
+ const t = Ji(e);
3602
+ return _e[e] = Promise.all(
3575
3603
  t.map(
3576
- ([r, n]) => Ki(r, n)
3604
+ ([r, n]) => Yi(r, n)
3577
3605
  )
3578
3606
  ).then(() => {
3579
- if (Je(e))
3580
- return qr(e);
3581
- delete ve[e];
3582
- }), ve[e];
3607
+ if (Qe(e))
3608
+ return Jr(e);
3609
+ delete _e[e];
3610
+ }), _e[e];
3583
3611
  }
3584
- var or = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, ro = (e, t) => {
3612
+ var nr = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, eo = (e, t) => {
3585
3613
  var r = {};
3586
3614
  for (var n in e)
3587
- eo.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3588
- if (e != null && or)
3589
- for (var n of or(e))
3590
- t.indexOf(n) < 0 && to.call(e, n) && (r[n] = e[n]);
3615
+ qi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
+ if (e != null && nr)
3617
+ for (var n of nr(e))
3618
+ t.indexOf(n) < 0 && Ki.call(e, n) && (r[n] = e[n]);
3591
3619
  return r;
3592
3620
  };
3593
- const no = {
3621
+ const to = {
3594
3622
  number: {
3595
3623
  scientific: { notation: "scientific" },
3596
3624
  engineering: { notation: "engineering" },
@@ -3620,159 +3648,159 @@ const no = {
3620
3648
  }
3621
3649
  }
3622
3650
  };
3623
- function io({ locale: e, id: t }) {
3651
+ function ro({ locale: e, id: t }) {
3624
3652
  console.warn(
3625
- `[svelte-i18n] The message "${t}" was not found in "${He(
3653
+ `[svelte-i18n] The message "${t}" was not found in "${Ce(
3626
3654
  e
3627
- ).join('", "')}".${Je(Y()) ? `
3655
+ ).join('", "')}".${Qe(Y()) ? `
3628
3656
 
3629
3657
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3630
3658
  );
3631
3659
  }
3632
- const oo = {
3660
+ const no = {
3633
3661
  fallbackLocale: null,
3634
3662
  loadingDelay: 200,
3635
- formats: no,
3663
+ formats: to,
3636
3664
  warnOnMissingMessages: !0,
3637
3665
  handleMissingMessage: void 0,
3638
3666
  ignoreTag: !0
3639
- }, _e = oo;
3640
- function pe() {
3641
- return _e;
3667
+ }, Ee = no;
3668
+ function de() {
3669
+ return Ee;
3642
3670
  }
3643
- function so(e) {
3644
- const t = e, { formats: r } = t, n = ro(t, ["formats"]);
3671
+ function io(e) {
3672
+ const t = e, { formats: r } = t, n = eo(t, ["formats"]);
3645
3673
  let i = e.fallbackLocale;
3646
3674
  if (e.initialLocale)
3647
3675
  try {
3648
- zr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3676
+ Xr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3649
3677
  } catch (o) {
3650
3678
  console.warn(
3651
3679
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3652
3680
  );
3653
3681
  }
3654
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = io : console.warn(
3682
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ro : console.warn(
3655
3683
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3656
- )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), te.set(i);
3684
+ )), Object.assign(Ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ee.formats.number, r.number), "date" in r && Object.assign(Ee.formats.date, r.date), "time" in r && Object.assign(Ee.formats.time, r.time)), te.set(i);
3657
3685
  }
3658
- const pt = Ke(!1);
3659
- var ao = Object.defineProperty, uo = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fo = (e, t) => {
3686
+ const ht = qe(!1);
3687
+ var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
3660
3688
  for (var r in t || (t = {}))
3661
- ho.call(t, r) && ar(e, r, t[r]);
3662
- if (sr)
3663
- for (var r of sr(t))
3664
- co.call(t, r) && ar(e, r, t[r]);
3689
+ uo.call(t, r) && or(e, r, t[r]);
3690
+ if (ir)
3691
+ for (var r of ir(t))
3692
+ lo.call(t, r) && or(e, r, t[r]);
3665
3693
  return e;
3666
- }, po = (e, t) => uo(e, lo(t));
3694
+ }, co = (e, t) => so(e, ao(t));
3667
3695
  let wt;
3668
- const Ye = Ke(null);
3669
- function ur(e) {
3696
+ const Je = qe(null);
3697
+ function sr(e) {
3670
3698
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3671
3699
  }
3672
- function He(e, t = pe().fallbackLocale) {
3673
- const r = ur(e);
3674
- return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
3700
+ function Ce(e, t = de().fallbackLocale) {
3701
+ const r = sr(e);
3702
+ return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
3675
3703
  }
3676
3704
  function Y() {
3677
3705
  return wt != null ? wt : void 0;
3678
3706
  }
3679
- Ye.subscribe((e) => {
3707
+ Je.subscribe((e) => {
3680
3708
  wt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3681
3709
  });
3682
- const mo = (e) => {
3683
- if (e && Ji(e) && Je(e)) {
3684
- const { loadingDelay: t } = pe();
3710
+ const fo = (e) => {
3711
+ if (e && Zi(e) && Qe(e)) {
3712
+ const { loadingDelay: t } = de();
3685
3713
  let r;
3686
3714
  return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3687
- () => pt.set(!0),
3715
+ () => ht.set(!0),
3688
3716
  t
3689
- ) : pt.set(!0), qr(e).then(() => {
3690
- Ye.set(e);
3717
+ ) : ht.set(!0), Jr(e).then(() => {
3718
+ Je.set(e);
3691
3719
  }).finally(() => {
3692
- clearTimeout(r), pt.set(!1);
3720
+ clearTimeout(r), ht.set(!1);
3693
3721
  });
3694
3722
  }
3695
- return Ye.set(e);
3696
- }, te = po(fo({}, Ye), {
3697
- set: mo
3698
- }), rt = (e) => {
3723
+ return Je.set(e);
3724
+ }, te = co(ho({}, Je), {
3725
+ set: fo
3726
+ }), et = (e) => {
3699
3727
  const t = /* @__PURE__ */ Object.create(null);
3700
3728
  return (n) => {
3701
3729
  const i = JSON.stringify(n);
3702
3730
  return i in t ? t[i] : t[i] = e(n);
3703
3731
  };
3704
3732
  };
3705
- var bo = Object.defineProperty, qe = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
3733
+ var mo = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
3706
3734
  for (var r in t || (t = {}))
3707
- Kr.call(t, r) && lr(e, r, t[r]);
3708
- if (qe)
3709
- for (var r of qe(t))
3710
- en.call(t, r) && lr(e, r, t[r]);
3735
+ Yr.call(t, r) && ar(e, r, t[r]);
3736
+ if (Ye)
3737
+ for (var r of Ye(t))
3738
+ qr.call(t, r) && ar(e, r, t[r]);
3711
3739
  return e;
3712
- }, be = (e, t) => {
3740
+ }, ge = (e, t) => {
3713
3741
  var r = {};
3714
3742
  for (var n in e)
3715
- Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3716
- if (e != null && qe)
3717
- for (var n of qe(e))
3718
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
3743
+ Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3744
+ if (e != null && Ye)
3745
+ for (var n of Ye(e))
3746
+ t.indexOf(n) < 0 && qr.call(e, n) && (r[n] = e[n]);
3719
3747
  return r;
3720
3748
  };
3721
- const Se = (e, t) => {
3722
- const { formats: r } = pe();
3749
+ const Te = (e, t) => {
3750
+ const { formats: r } = de();
3723
3751
  if (e in r && t in r[e])
3724
3752
  return r[e][t];
3725
3753
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3726
- }, go = rt(
3754
+ }, po = et(
3727
3755
  (e) => {
3728
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3756
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3729
3757
  if (r == null)
3730
3758
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3731
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3759
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
3732
3760
  }
3733
- ), yo = rt(
3761
+ ), bo = et(
3734
3762
  (e) => {
3735
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3763
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3736
3764
  if (r == null)
3737
3765
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3738
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3766
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
3739
3767
  }
3740
- ), vo = rt(
3768
+ ), go = et(
3741
3769
  (e) => {
3742
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3770
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3743
3771
  if (r == null)
3744
3772
  throw new Error(
3745
3773
  '[svelte-i18n] A "locale" must be set to format time values'
3746
3774
  );
3747
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3775
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
3748
3776
  }
3749
- ), _o = (e = {}) => {
3777
+ ), yo = (e = {}) => {
3750
3778
  var t = e, {
3751
3779
  locale: r = Y()
3752
- } = t, n = be(t, [
3780
+ } = t, n = ge(t, [
3753
3781
  "locale"
3754
3782
  ]);
3755
- return go(Nt({ locale: r }, n));
3756
- }, Eo = (e = {}) => {
3783
+ return po(It({ locale: r }, n));
3784
+ }, vo = (e = {}) => {
3757
3785
  var t = e, {
3758
3786
  locale: r = Y()
3759
- } = t, n = be(t, [
3787
+ } = t, n = ge(t, [
3760
3788
  "locale"
3761
3789
  ]);
3762
- return yo(Nt({ locale: r }, n));
3763
- }, xo = (e = {}) => {
3790
+ return bo(It({ locale: r }, n));
3791
+ }, _o = (e = {}) => {
3764
3792
  var t = e, {
3765
3793
  locale: r = Y()
3766
- } = t, n = be(t, [
3794
+ } = t, n = ge(t, [
3767
3795
  "locale"
3768
3796
  ]);
3769
- return vo(Nt({ locale: r }, n));
3770
- }, wo = rt(
3797
+ return go(It({ locale: r }, n));
3798
+ }, Eo = et(
3771
3799
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3772
- (e, t = Y()) => new zr(e, t, pe().formats, {
3773
- ignoreTag: pe().ignoreTag
3800
+ (e, t = Y()) => new Xr(e, t, de().formats, {
3801
+ ignoreTag: de().ignoreTag
3774
3802
  })
3775
- ), So = (e, t = {}) => {
3803
+ ), xo = (e, t = {}) => {
3776
3804
  var r, n, i, o;
3777
3805
  let s = t;
3778
3806
  typeof e == "object" && (s = e, e = s.id);
@@ -3785,9 +3813,9 @@ const Se = (e, t) => {
3785
3813
  throw new Error(
3786
3814
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3787
3815
  );
3788
- let h = Zr(e, l);
3816
+ let h = Wr(e, l);
3789
3817
  if (!h)
3790
- h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3818
+ h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3791
3819
  else if (typeof h != "string")
3792
3820
  return console.warn(
3793
3821
  `[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.`
@@ -3796,7 +3824,7 @@ const Se = (e, t) => {
3796
3824
  return h;
3797
3825
  let f = h;
3798
3826
  try {
3799
- f = wo(h, l).format(a);
3827
+ f = Eo(h, l).format(a);
3800
3828
  } catch (c) {
3801
3829
  c instanceof Error && console.warn(
3802
3830
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3804,26 +3832,26 @@ const Se = (e, t) => {
3804
3832
  );
3805
3833
  }
3806
3834
  return f;
3807
- }, To = (e, t) => xo(t).format(e), Ho = (e, t) => Eo(t).format(e), Co = (e, t) => _o(t).format(e), Ao = (e, t = Y()) => Zr(e, t), Po = de([te, Te], () => So);
3808
- de([te], () => To);
3809
- de([te], () => Ho);
3810
- de([te], () => Co);
3811
- de([te, Te], () => Ao);
3812
- function hr(e, t) {
3813
- Jr(e, t);
3814
- }
3815
- function Mo(e) {
3816
- so({
3835
+ }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), To = (e, t) => yo(t).format(e), Ho = (e, t = Y()) => Wr(e, t), Co = be([te, He], () => xo);
3836
+ be([te], () => wo);
3837
+ be([te], () => So);
3838
+ be([te], () => To);
3839
+ be([te, He], () => Ho);
3840
+ function ur(e, t) {
3841
+ Zr(e, t);
3842
+ }
3843
+ function Ao(e) {
3844
+ io({
3817
3845
  fallbackLocale: "en"
3818
3846
  }), te.set(e);
3819
3847
  }
3820
- function Oo(e, t) {
3848
+ function Po(e, t) {
3821
3849
  if (e) {
3822
3850
  const r = document.createElement("style");
3823
3851
  r.innerHTML = t, e.appendChild(r);
3824
3852
  }
3825
3853
  }
3826
- function Bo(e, t) {
3854
+ function Mo(e, t) {
3827
3855
  if (!e || !t)
3828
3856
  return;
3829
3857
  const r = new URL(t);
@@ -3834,7 +3862,7 @@ function Bo(e, t) {
3834
3862
  console.error("There was an error while trying to load client styling from URL", n);
3835
3863
  });
3836
3864
  }
3837
- function Io(e, t, r) {
3865
+ function Bo(e, t, r) {
3838
3866
  if (window.emMessageBus) {
3839
3867
  const n = document.createElement("style");
3840
3868
  window.emMessageBus.subscribe(t, (i) => {
@@ -3842,85 +3870,16 @@ function Io(e, t, r) {
3842
3870
  });
3843
3871
  }
3844
3872
  }
3845
- /*! *****************************************************************************
3846
- Copyright (c) Microsoft Corporation.
3847
-
3848
- Permission to use, copy, modify, and/or distribute this software for any
3849
- purpose with or without fee is hereby granted.
3850
-
3851
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3852
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3853
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3854
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3855
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3856
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3857
- PERFORMANCE OF THIS SOFTWARE.
3858
- ***************************************************************************** */
3859
- var St = function(e, t) {
3860
- return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3861
- r.__proto__ = n;
3862
- } || function(r, n) {
3863
- for (var i in n)
3864
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3865
- }, St(e, t);
3866
- };
3867
- function Ce(e, t) {
3868
- if (typeof t != "function" && t !== null)
3869
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3870
- St(e, t);
3871
- function r() {
3872
- this.constructor = e;
3873
- }
3874
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3875
- }
3876
- function Tt(e) {
3877
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3878
- if (r)
3879
- return r.call(e);
3880
- if (e && typeof e.length == "number")
3881
- return {
3882
- next: function() {
3883
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3884
- }
3885
- };
3886
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3887
- }
3888
- function Ht(e, t) {
3889
- var r = typeof Symbol == "function" && e[Symbol.iterator];
3890
- if (!r)
3891
- return e;
3892
- var n = r.call(e), i, o = [], s;
3893
- try {
3894
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3895
- o.push(i.value);
3896
- } catch (a) {
3897
- s = { error: a };
3898
- } finally {
3899
- try {
3900
- i && !i.done && (r = n.return) && r.call(n);
3901
- } finally {
3902
- if (s)
3903
- throw s.error;
3904
- }
3905
- }
3906
- return o;
3907
- }
3908
- function Ct(e, t, r) {
3909
- if (arguments.length === 2)
3910
- for (var n = 0, i = t.length, o; n < i; n++)
3911
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3912
- return e.concat(o || t);
3913
- }
3914
- function W(e) {
3873
+ function X(e) {
3915
3874
  return typeof e == "function";
3916
3875
  }
3917
- function tn(e) {
3876
+ function Kr(e) {
3918
3877
  var t = function(n) {
3919
3878
  Error.call(n), n.stack = new Error().stack;
3920
3879
  }, r = e(t);
3921
3880
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3922
3881
  }
3923
- var mt = tn(function(e) {
3882
+ var ct = Kr(function(e) {
3924
3883
  return function(r) {
3925
3884
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3926
3885
  ` + r.map(function(n, i) {
@@ -3929,13 +3888,13 @@ var mt = tn(function(e) {
3929
3888
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3930
3889
  };
3931
3890
  });
3932
- function At(e, t) {
3891
+ function St(e, t) {
3933
3892
  if (e) {
3934
3893
  var r = e.indexOf(t);
3935
3894
  0 <= r && e.splice(r, 1);
3936
3895
  }
3937
3896
  }
3938
- var nt = function() {
3897
+ var tt = function() {
3939
3898
  function e(t) {
3940
3899
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3941
3900
  }
@@ -3947,12 +3906,12 @@ var nt = function() {
3947
3906
  if (s)
3948
3907
  if (this._parentage = null, Array.isArray(s))
3949
3908
  try {
3950
- for (var a = Tt(s), l = a.next(); !l.done; l = a.next()) {
3909
+ for (var a = pt(s), l = a.next(); !l.done; l = a.next()) {
3951
3910
  var u = l.value;
3952
3911
  u.remove(this);
3953
3912
  }
3954
- } catch (d) {
3955
- t = { error: d };
3913
+ } catch (p) {
3914
+ t = { error: p };
3956
3915
  } finally {
3957
3916
  try {
3958
3917
  l && !l.done && (r = a.return) && r.call(a);
@@ -3964,26 +3923,26 @@ var nt = function() {
3964
3923
  else
3965
3924
  s.remove(this);
3966
3925
  var h = this.initialTeardown;
3967
- if (W(h))
3926
+ if (X(h))
3968
3927
  try {
3969
3928
  h();
3970
- } catch (d) {
3971
- o = d instanceof mt ? d.errors : [d];
3929
+ } catch (p) {
3930
+ o = p instanceof ct ? p.errors : [p];
3972
3931
  }
3973
3932
  var f = this._finalizers;
3974
3933
  if (f) {
3975
3934
  this._finalizers = null;
3976
3935
  try {
3977
- for (var c = Tt(f), g = c.next(); !g.done; g = c.next()) {
3936
+ for (var c = pt(f), g = c.next(); !g.done; g = c.next()) {
3978
3937
  var b = g.value;
3979
3938
  try {
3980
- cr(b);
3981
- } catch (d) {
3982
- o = o != null ? o : [], d instanceof mt ? o = Ct(Ct([], Ht(o)), Ht(d.errors)) : o.push(d);
3939
+ lr(b);
3940
+ } catch (p) {
3941
+ o = o != null ? o : [], p instanceof ct ? o = he(he([], bt(o)), bt(p.errors)) : o.push(p);
3983
3942
  }
3984
3943
  }
3985
- } catch (d) {
3986
- n = { error: d };
3944
+ } catch (p) {
3945
+ n = { error: p };
3987
3946
  } finally {
3988
3947
  try {
3989
3948
  g && !g.done && (i = c.return) && i.call(c);
@@ -3994,13 +3953,13 @@ var nt = function() {
3994
3953
  }
3995
3954
  }
3996
3955
  if (o)
3997
- throw new mt(o);
3956
+ throw new ct(o);
3998
3957
  }
3999
3958
  }, e.prototype.add = function(t) {
4000
3959
  var r;
4001
3960
  if (t && t !== this)
4002
3961
  if (this.closed)
4003
- cr(t);
3962
+ lr(t);
4004
3963
  else {
4005
3964
  if (t instanceof e) {
4006
3965
  if (t.closed || t._hasParent(this))
@@ -4017,52 +3976,56 @@ var nt = function() {
4017
3976
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4018
3977
  }, e.prototype._removeParent = function(t) {
4019
3978
  var r = this._parentage;
4020
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
3979
+ r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
4021
3980
  }, e.prototype.remove = function(t) {
4022
3981
  var r = this._finalizers;
4023
- r && At(r, t), t instanceof e && t._removeParent(this);
3982
+ r && St(r, t), t instanceof e && t._removeParent(this);
4024
3983
  }, e.EMPTY = function() {
4025
3984
  var t = new e();
4026
3985
  return t.closed = !0, t;
4027
3986
  }(), e;
4028
- }(), rn = nt.EMPTY;
4029
- function nn(e) {
4030
- return e instanceof nt || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
4031
- }
4032
- function cr(e) {
4033
- W(e) ? e() : e.unsubscribe();
4034
- }
4035
- var Lo = {
4036
- Promise: void 0
4037
- }, No = {
3987
+ }(), en = tt.EMPTY;
3988
+ function tn(e) {
3989
+ return e instanceof tt || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
3990
+ }
3991
+ function lr(e) {
3992
+ X(e) ? e() : e.unsubscribe();
3993
+ }
3994
+ var rn = {
3995
+ onUnhandledError: null,
3996
+ onStoppedNotification: null,
3997
+ Promise: void 0,
3998
+ useDeprecatedSynchronousErrorHandling: !1,
3999
+ useDeprecatedNextContext: !1
4000
+ }, Oo = {
4038
4001
  setTimeout: function(e, t) {
4039
4002
  for (var r = [], n = 2; n < arguments.length; n++)
4040
4003
  r[n - 2] = arguments[n];
4041
- return setTimeout.apply(void 0, Ct([e, t], Ht(r)));
4004
+ return setTimeout.apply(void 0, he([e, t], bt(r)));
4042
4005
  },
4043
4006
  clearTimeout: function(e) {
4044
4007
  return clearTimeout(e);
4045
4008
  },
4046
4009
  delegate: void 0
4047
4010
  };
4048
- function Ro(e) {
4049
- No.setTimeout(function() {
4011
+ function Io(e) {
4012
+ Oo.setTimeout(function() {
4050
4013
  throw e;
4051
4014
  });
4052
4015
  }
4053
- function fr() {
4016
+ function hr() {
4054
4017
  }
4055
4018
  function We(e) {
4056
4019
  e();
4057
4020
  }
4058
- var on = function(e) {
4059
- Ce(t, e);
4021
+ var nn = function(e) {
4022
+ W(t, e);
4060
4023
  function t(r) {
4061
4024
  var n = e.call(this) || this;
4062
- return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = Uo, n;
4025
+ return n.isStopped = !1, r ? (n.destination = r, tn(r) && r.add(n)) : n.destination = Do, n;
4063
4026
  }
4064
4027
  return t.create = function(r, n, i) {
4065
- return new Pt(r, n, i);
4028
+ return new Tt(r, n, i);
4066
4029
  }, t.prototype.next = function(r) {
4067
4030
  this.isStopped || this._next(r);
4068
4031
  }, t.prototype.error = function(r) {
@@ -4086,7 +4049,11 @@ var on = function(e) {
4086
4049
  this.unsubscribe();
4087
4050
  }
4088
4051
  }, t;
4089
- }(nt), Do = function() {
4052
+ }(tt), Lo = Function.prototype.bind;
4053
+ function ft(e, t) {
4054
+ return Lo.call(e, t);
4055
+ }
4056
+ var No = function() {
4090
4057
  function e(t) {
4091
4058
  this.partialObserver = t;
4092
4059
  }
@@ -4117,43 +4084,55 @@ var on = function(e) {
4117
4084
  Fe(r);
4118
4085
  }
4119
4086
  }, e;
4120
- }(), Pt = function(e) {
4121
- Ce(t, e);
4087
+ }(), Tt = function(e) {
4088
+ W(t, e);
4122
4089
  function t(r, n, i) {
4123
4090
  var o = e.call(this) || this, s;
4124
- return W(r) || !r ? s = {
4125
- next: r != null ? r : void 0,
4126
- error: n != null ? n : void 0,
4127
- complete: i != null ? i : void 0
4128
- } : s = r, o.destination = new Do(s), o;
4091
+ if (X(r) || !r)
4092
+ s = {
4093
+ next: r != null ? r : void 0,
4094
+ error: n != null ? n : void 0,
4095
+ complete: i != null ? i : void 0
4096
+ };
4097
+ else {
4098
+ var a;
4099
+ o && rn.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4100
+ return o.unsubscribe();
4101
+ }, s = {
4102
+ next: r.next && ft(r.next, a),
4103
+ error: r.error && ft(r.error, a),
4104
+ complete: r.complete && ft(r.complete, a)
4105
+ }) : s = r;
4106
+ }
4107
+ return o.destination = new No(s), o;
4129
4108
  }
4130
4109
  return t;
4131
- }(on);
4110
+ }(nn);
4132
4111
  function Fe(e) {
4133
- Ro(e);
4112
+ Io(e);
4134
4113
  }
4135
- function $o(e) {
4114
+ function Ro(e) {
4136
4115
  throw e;
4137
4116
  }
4138
- var Uo = {
4117
+ var Do = {
4139
4118
  closed: !0,
4140
- next: fr,
4141
- error: $o,
4142
- complete: fr
4143
- }, Fo = function() {
4119
+ next: hr,
4120
+ error: Ro,
4121
+ complete: hr
4122
+ }, $o = function() {
4144
4123
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4145
4124
  }();
4146
- function Go(e) {
4125
+ function Uo(e) {
4147
4126
  return e;
4148
4127
  }
4149
- function jo(e) {
4150
- return e.length === 0 ? Go : e.length === 1 ? e[0] : function(r) {
4128
+ function Fo(e) {
4129
+ return e.length === 0 ? Uo : e.length === 1 ? e[0] : function(r) {
4151
4130
  return e.reduce(function(n, i) {
4152
4131
  return i(n);
4153
4132
  }, r);
4154
4133
  };
4155
4134
  }
4156
- var pr = function() {
4135
+ var cr = function() {
4157
4136
  function e(t) {
4158
4137
  t && (this._subscribe = t);
4159
4138
  }
@@ -4161,7 +4140,7 @@ var pr = function() {
4161
4140
  var r = new e();
4162
4141
  return r.source = this, r.operator = t, r;
4163
4142
  }, e.prototype.subscribe = function(t, r, n) {
4164
- var i = this, o = Vo(t) ? t : new Pt(t, r, n);
4143
+ var i = this, o = jo(t) ? t : new Tt(t, r, n);
4165
4144
  return We(function() {
4166
4145
  var s = i, a = s.operator, l = s.source;
4167
4146
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -4174,8 +4153,8 @@ var pr = function() {
4174
4153
  }
4175
4154
  }, e.prototype.forEach = function(t, r) {
4176
4155
  var n = this;
4177
- return r = mr(r), new r(function(i, o) {
4178
- var s = new Pt({
4156
+ return r = fr(r), new r(function(i, o) {
4157
+ var s = new Tt({
4179
4158
  next: function(a) {
4180
4159
  try {
4181
4160
  t(a);
@@ -4191,15 +4170,15 @@ var pr = function() {
4191
4170
  }, e.prototype._subscribe = function(t) {
4192
4171
  var r;
4193
4172
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4194
- }, e.prototype[Fo] = function() {
4173
+ }, e.prototype[$o] = function() {
4195
4174
  return this;
4196
4175
  }, e.prototype.pipe = function() {
4197
4176
  for (var t = [], r = 0; r < arguments.length; r++)
4198
4177
  t[r] = arguments[r];
4199
- return jo(t)(this);
4178
+ return Fo(t)(this);
4200
4179
  }, e.prototype.toPromise = function(t) {
4201
4180
  var r = this;
4202
- return t = mr(t), new t(function(n, i) {
4181
+ return t = fr(t), new t(function(n, i) {
4203
4182
  var o;
4204
4183
  r.subscribe(function(s) {
4205
4184
  return o = s;
@@ -4213,32 +4192,32 @@ var pr = function() {
4213
4192
  return new e(t);
4214
4193
  }, e;
4215
4194
  }();
4216
- function mr(e) {
4195
+ function fr(e) {
4217
4196
  var t;
4218
- return (t = e != null ? e : Lo.Promise) !== null && t !== void 0 ? t : Promise;
4197
+ return (t = e != null ? e : rn.Promise) !== null && t !== void 0 ? t : Promise;
4219
4198
  }
4220
- function ko(e) {
4221
- return e && W(e.next) && W(e.error) && W(e.complete);
4199
+ function Go(e) {
4200
+ return e && X(e.next) && X(e.error) && X(e.complete);
4222
4201
  }
4223
- function Vo(e) {
4224
- return e && e instanceof on || ko(e) && nn(e);
4202
+ function jo(e) {
4203
+ return e && e instanceof nn || Go(e) && tn(e);
4225
4204
  }
4226
- var Xo = tn(function(e) {
4205
+ var ko = Kr(function(e) {
4227
4206
  return function() {
4228
4207
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4229
4208
  };
4230
- }), sn = function(e) {
4231
- Ce(t, e);
4209
+ }), on = function(e) {
4210
+ W(t, e);
4232
4211
  function t() {
4233
4212
  var r = e.call(this) || this;
4234
4213
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4235
4214
  }
4236
4215
  return t.prototype.lift = function(r) {
4237
- var n = new dr(this, this);
4216
+ var n = new mr(this, this);
4238
4217
  return n.operator = r, n;
4239
4218
  }, t.prototype._throwIfClosed = function() {
4240
4219
  if (this.closed)
4241
- throw new Xo();
4220
+ throw new ko();
4242
4221
  }, t.prototype.next = function(r) {
4243
4222
  var n = this;
4244
4223
  We(function() {
@@ -4246,7 +4225,7 @@ var Xo = tn(function(e) {
4246
4225
  if (n._throwIfClosed(), !n.isStopped) {
4247
4226
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4248
4227
  try {
4249
- for (var s = Tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4228
+ for (var s = pt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4250
4229
  var l = a.value;
4251
4230
  l.next(r);
4252
4231
  }
@@ -4295,20 +4274,20 @@ var Xo = tn(function(e) {
4295
4274
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4296
4275
  }, t.prototype._innerSubscribe = function(r) {
4297
4276
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4298
- return o || s ? rn : (this.currentObservers = null, a.push(r), new nt(function() {
4299
- n.currentObservers = null, At(a, r);
4277
+ return o || s ? en : (this.currentObservers = null, a.push(r), new tt(function() {
4278
+ n.currentObservers = null, St(a, r);
4300
4279
  }));
4301
4280
  }, t.prototype._checkFinalizedStatuses = function(r) {
4302
4281
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4303
4282
  i ? r.error(o) : s && r.complete();
4304
4283
  }, t.prototype.asObservable = function() {
4305
- var r = new pr();
4284
+ var r = new cr();
4306
4285
  return r.source = this, r;
4307
4286
  }, t.create = function(r, n) {
4308
- return new dr(r, n);
4287
+ return new mr(r, n);
4309
4288
  }, t;
4310
- }(pr), dr = function(e) {
4311
- Ce(t, e);
4289
+ }(cr), mr = function(e) {
4290
+ W(t, e);
4312
4291
  function t(r, n) {
4313
4292
  var i = e.call(this) || this;
4314
4293
  return i.destination = r, i.source = n, i;
@@ -4324,17 +4303,17 @@ var Xo = tn(function(e) {
4324
4303
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4325
4304
  }, t.prototype._subscribe = function(r) {
4326
4305
  var n, i;
4327
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rn;
4306
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : en;
4328
4307
  }, t;
4329
- }(sn), an = {
4308
+ }(on), sn = {
4330
4309
  now: function() {
4331
- return (an.delegate || Date).now();
4310
+ return (sn.delegate || Date).now();
4332
4311
  },
4333
4312
  delegate: void 0
4334
- }, Wo = function(e) {
4335
- Ce(t, e);
4313
+ }, Vo = function(e) {
4314
+ W(t, e);
4336
4315
  function t(r, n, i) {
4337
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4316
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sn);
4338
4317
  var o = e.call(this) || this;
4339
4318
  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;
4340
4319
  }
@@ -4354,18 +4333,18 @@ var Xo = tn(function(e) {
4354
4333
  u && o.splice(0, u + 1);
4355
4334
  }
4356
4335
  }, t;
4357
- }(sn);
4358
- const br = [], gr = {}, zo = (e, t = 0) => {
4359
- if (br.indexOf(e) == -1) {
4360
- const r = new Wo(t);
4361
- gr[e] = r, br.push(e);
4336
+ }(on);
4337
+ const dr = [], pr = {}, Xo = (e, t = 0) => {
4338
+ if (dr.indexOf(e) == -1) {
4339
+ const r = new Vo(t);
4340
+ pr[e] = r, dr.push(e);
4362
4341
  }
4363
- return gr[e];
4342
+ return pr[e];
4364
4343
  };
4365
- let Mt = "en-UK", un = "true", Ot = 0, Bt = "";
4366
- const Zo = (e, t, r, n) => {
4367
- Mt = e || "en-UK", un = t || "true", Ot = +n || 0, Bt = r || "";
4368
- }, yr = ({ local: e, options: t = {}, amount: r }) => {
4344
+ let Ht = "en-UK", an = "true", Ct = 0, At = "";
4345
+ const Wo = (e, t, r, n) => {
4346
+ Ht = e || "en-UK", an = t || "true", Ct = +n || 0, At = r || "";
4347
+ }, br = ({ local: e, options: t = {}, amount: r }) => {
4369
4348
  try {
4370
4349
  return new Intl.NumberFormat(e, t);
4371
4350
  } catch (n) {
@@ -4376,22 +4355,22 @@ const Zo = (e, t, r, n) => {
4376
4355
  }
4377
4356
  }, Ge = (e, t, r = {}, n = !0) => {
4378
4357
  const i = Ne(Ne({
4379
- maximumFractionDigits: Ot,
4380
- minimumFractionDigits: Ot
4358
+ maximumFractionDigits: Ct,
4359
+ minimumFractionDigits: Ct
4381
4360
  }, n && {
4382
4361
  style: "currency",
4383
4362
  currency: t,
4384
- currencyDisplay: un === "true" ? "symbol" : "code"
4363
+ currencyDisplay: an === "true" ? "symbol" : "code"
4385
4364
  }), r);
4386
- if (!Bt)
4387
- return yr({ local: Mt, options: i }).format(e);
4388
- const s = yr({ local: Mt, options: i }).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, l = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4389
- return Bt === "before" ? `${a.value || t || ""} ${l}` : `${l} ${a.value || t || ""}`;
4365
+ if (!At)
4366
+ return br({ local: Ht, options: i }).format(e);
4367
+ const s = br({ local: Ht, options: i }).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, l = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4368
+ return At === "before" ? `${a.value || t || ""} ${l}` : `${l} ${a.value || t || ""}`;
4390
4369
  };
4391
- window.emWidgets = { topic: zo };
4370
+ window.emWidgets = { topic: Xo };
4392
4371
  const je = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4393
4372
  String(Number.MAX_SAFE_INTEGER).length;
4394
- const vr = {
4373
+ const gr = {
4395
4374
  en: {
4396
4375
  generalMin: "Min",
4397
4376
  generalMax: "Max",
@@ -4417,40 +4396,40 @@ const vr = {
4417
4396
  carouselSubtitle: "En popüler ödeme yöntemleri"
4418
4397
  }
4419
4398
  };
4420
- function Qo(e) {
4421
- bn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height: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{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;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{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4399
+ function zo(e) {
4400
+ pn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height: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{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;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{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4422
4401
  }
4423
- function _r(e, t, r) {
4402
+ function yr(e, t, r) {
4424
4403
  const n = e.slice();
4425
4404
  return n[40] = t[r], n[42] = r, n;
4426
4405
  }
4427
- function Er(e, t, r) {
4406
+ function vr(e, t, r) {
4428
4407
  const n = e.slice();
4429
4408
  return n[43] = t[r], n[42] = r, n;
4430
4409
  }
4431
- function Jo(e) {
4410
+ function Zo(e) {
4432
4411
  let t, r = (
4433
4412
  /*$_*/
4434
4413
  e[8]("noFavoritePaymentMethods") + ""
4435
4414
  ), n;
4436
4415
  return {
4437
4416
  c() {
4438
- t = T("p"), n = G(r), P(t, "class", "NoFavoritePaymentMethods");
4417
+ t = H("p"), n = G(r), M(t, "class", "NoFavoritePaymentMethods");
4439
4418
  },
4440
4419
  m(i, o) {
4441
- k(i, t, o), v(t, n);
4420
+ j(i, t, o), v(t, n);
4442
4421
  },
4443
4422
  p(i, o) {
4444
4423
  o[0] & /*$_*/
4445
4424
  256 && r !== (r = /*$_*/
4446
- i[8]("noFavoritePaymentMethods") + "") && X(n, r);
4425
+ i[8]("noFavoritePaymentMethods") + "") && V(n, r);
4447
4426
  },
4448
4427
  d(i) {
4449
4428
  i && U(t);
4450
4429
  }
4451
4430
  };
4452
4431
  }
4453
- function Yo(e) {
4432
+ function Qo(e) {
4454
4433
  let t, r = !je(
4455
4434
  /*userAgent*/
4456
4435
  e[9]
@@ -4459,40 +4438,40 @@ function Yo(e) {
4459
4438
  /*userAgent*/
4460
4439
  e[9]
4461
4440
  ) && /*promotedPaymentMethods*/
4462
- e[5].length > 1, a, l, u, h, f, c = r && xr(e), g = $e(
4441
+ e[5].length > 1, a, l, u, h, f, c = r && _r(e), g = $e(
4463
4442
  /*promotedPaymentMethods*/
4464
4443
  e[5]
4465
4444
  ), b = [];
4466
- for (let p = 0; p < g.length; p += 1)
4467
- b[p] = wr(Er(e, g, p));
4468
- let d = s && Sr(e), _ = $e(Array(
4445
+ for (let m = 0; m < g.length; m += 1)
4446
+ b[m] = Er(vr(e, g, m));
4447
+ let p = s && xr(e), _ = $e(Array(
4469
4448
  /*promotedPaymentMethods*/
4470
4449
  e[5].length
4471
4450
  )), E = [];
4472
- for (let p = 0; p < _.length; p += 1)
4473
- E[p] = Tr(_r(e, _, p));
4451
+ for (let m = 0; m < _.length; m += 1)
4452
+ E[m] = wr(yr(e, _, m));
4474
4453
  return {
4475
4454
  c() {
4476
- t = T("div"), c && c.c(), n = $(), i = T("div");
4477
- for (let p = 0; p < b.length; p += 1)
4478
- b[p].c();
4479
- o = $(), d && d.c(), l = $(), u = T("div");
4480
- for (let p = 0; p < E.length; p += 1)
4481
- E[p].c();
4482
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ze(() => (
4455
+ t = H("div"), c && c.c(), n = $(), i = H("div");
4456
+ for (let m = 0; m < b.length; m += 1)
4457
+ b[m].c();
4458
+ o = $(), p && p.c(), l = $(), u = H("div");
4459
+ for (let m = 0; m < E.length; m += 1)
4460
+ E[m].c();
4461
+ M(i, "class", "Carousel"), M(t, "class", "CarouselCardsContainer"), Ze(() => (
4483
4462
  /*div1_elementresize_handler*/
4484
4463
  e[28].call(t)
4485
- )), P(u, "class", "VisualDotIndicator");
4464
+ )), M(u, "class", "VisualDotIndicator");
4486
4465
  },
4487
- m(p, S) {
4488
- k(p, t, S), c && c.m(t, null), v(t, n), v(t, i);
4466
+ m(m, S) {
4467
+ j(m, t, S), c && c.m(t, null), v(t, n), v(t, i);
4489
4468
  for (let y = 0; y < b.length; y += 1)
4490
4469
  b[y] && b[y].m(i, null);
4491
- e[26](i), v(t, o), d && d.m(t, null), a = En(
4470
+ e[26](i), v(t, o), p && p.m(t, null), a = _n(
4492
4471
  t,
4493
4472
  /*div1_elementresize_handler*/
4494
4473
  e[28].bind(t)
4495
- ), k(p, l, S), k(p, u, S);
4474
+ ), j(m, l, S), j(m, u, S);
4496
4475
  for (let y = 0; y < E.length; y += 1)
4497
4476
  E[y] && E[y].m(u, null);
4498
4477
  h || (f = [
@@ -4516,22 +4495,22 @@ function Yo(e) {
4516
4495
  )
4517
4496
  ], h = !0);
4518
4497
  },
4519
- p(p, S) {
4498
+ p(m, S) {
4520
4499
  if (S[0] & /*promotedPaymentMethods*/
4521
4500
  32 && (r = !je(
4522
4501
  /*userAgent*/
4523
- p[9]
4502
+ m[9]
4524
4503
  ) && /*promotedPaymentMethods*/
4525
- p[5].length > 1), r ? c ? c.p(p, S) : (c = xr(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4504
+ m[5].length > 1), r ? c ? c.p(m, S) : (c = _r(m), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4526
4505
  1521) {
4527
4506
  g = $e(
4528
4507
  /*promotedPaymentMethods*/
4529
- p[5]
4508
+ m[5]
4530
4509
  );
4531
4510
  let y;
4532
4511
  for (y = 0; y < g.length; y += 1) {
4533
- const A = Er(p, g, y);
4534
- b[y] ? b[y].p(A, S) : (b[y] = wr(A), b[y].c(), b[y].m(i, null));
4512
+ const P = vr(m, g, y);
4513
+ b[y] ? b[y].p(P, S) : (b[y] = Er(P), b[y].c(), b[y].m(i, null));
4535
4514
  }
4536
4515
  for (; y < b.length; y += 1)
4537
4516
  b[y].d(1);
@@ -4540,37 +4519,37 @@ function Yo(e) {
4540
4519
  if (S[0] & /*promotedPaymentMethods*/
4541
4520
  32 && (s = !je(
4542
4521
  /*userAgent*/
4543
- p[9]
4522
+ m[9]
4544
4523
  ) && /*promotedPaymentMethods*/
4545
- p[5].length > 1), s ? d ? d.p(p, S) : (d = Sr(p), d.c(), d.m(t, null)) : d && (d.d(1), d = null), S[0] & /*activeIndex, promotedPaymentMethods*/
4524
+ m[5].length > 1), s ? p ? p.p(m, S) : (p = xr(m), p.c(), p.m(t, null)) : p && (p.d(1), p = null), S[0] & /*activeIndex, promotedPaymentMethods*/
4546
4525
  96) {
4547
4526
  _ = $e(Array(
4548
4527
  /*promotedPaymentMethods*/
4549
- p[5].length
4528
+ m[5].length
4550
4529
  ));
4551
4530
  let y;
4552
4531
  for (y = 0; y < _.length; y += 1) {
4553
- const A = _r(p, _, y);
4554
- E[y] ? E[y].p(A, S) : (E[y] = Tr(A), E[y].c(), E[y].m(u, null));
4532
+ const P = yr(m, _, y);
4533
+ E[y] ? E[y].p(P, S) : (E[y] = wr(P), E[y].c(), E[y].m(u, null));
4555
4534
  }
4556
4535
  for (; y < E.length; y += 1)
4557
4536
  E[y].d(1);
4558
4537
  E.length = _.length;
4559
4538
  }
4560
4539
  },
4561
- d(p) {
4562
- p && (U(t), U(l), U(u)), c && c.d(), Zt(b, p), e[26](null), d && d.d(), a(), Zt(E, p), h = !1, me(f);
4540
+ d(m) {
4541
+ m && (U(t), U(l), U(u)), c && c.d(), Wt(b, m), e[26](null), p && p.d(), a(), Wt(E, m), h = !1, pe(f);
4563
4542
  }
4564
4543
  };
4565
4544
  }
4566
- function xr(e) {
4545
+ function _r(e) {
4567
4546
  let t, r, n;
4568
4547
  return {
4569
4548
  c() {
4570
- t = T("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Left");
4549
+ t = H("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', M(t, "class", "NavigationArrow Left");
4571
4550
  },
4572
4551
  m(i, o) {
4573
- k(i, t, o), r || (n = J(
4552
+ j(i, t, o), r || (n = J(
4574
4553
  t,
4575
4554
  "click",
4576
4555
  /*click_handler*/
@@ -4583,21 +4562,21 @@ function xr(e) {
4583
4562
  }
4584
4563
  };
4585
4564
  }
4586
- function wr(e) {
4587
- var Be, Ie, Le, m, O, B, Z, oe;
4565
+ function Er(e) {
4566
+ var Oe, Ie, Le, d, B, O, Z, oe;
4588
4567
  let t, r, n, i, o, s, a, l, u, h = (
4589
4568
  /*method*/
4590
4569
  (e[43].Label || /*method*/
4591
4570
  e[43].Name) + ""
4592
- ), f, c, g, b, d = (
4571
+ ), f, c, g, b, p = (
4593
4572
  /*$_*/
4594
4573
  e[8](`${/*methodtype*/
4595
4574
  e[0]}${/*method*/
4596
4575
  e[43].ProcessingTime}`) + ""
4597
- ), _, E, p, S, y, A = (
4576
+ ), _, E, m, S, y, P = (
4598
4577
  /*$_*/
4599
4578
  e[8]("generalMin") + ""
4600
- ), H, F, re = Ge(
4579
+ ), C, F, re = Ge(
4601
4580
  /*method*/
4602
4581
  e[43].DisplayCurrency.MinAmountLimit,
4603
4582
  /*method*/
@@ -4607,7 +4586,7 @@ function wr(e) {
4607
4586
  /*precisionCurrenciesMap*/
4608
4587
  e[4][
4609
4588
  /*method*/
4610
- (Ie = (Be = e[43]) == null ? void 0 : Be.DisplayCurrency) == null ? void 0 : Ie.Name
4589
+ (Ie = (Oe = e[43]) == null ? void 0 : Oe.DisplayCurrency) == null ? void 0 : Ie.Name
4611
4590
  ] || /*numericCurrencyDecimals*/
4612
4591
  e[7]
4613
4592
  ),
@@ -4615,7 +4594,7 @@ function wr(e) {
4615
4594
  /*precisionCurrenciesMap*/
4616
4595
  e[4][
4617
4596
  /*method*/
4618
- (m = (Le = e[43]) == null ? void 0 : Le.DisplayCurrency) == null ? void 0 : m.Name
4597
+ (d = (Le = e[43]) == null ? void 0 : Le.DisplayCurrency) == null ? void 0 : d.Name
4619
4598
  ] || /*numericCurrencyDecimals*/
4620
4599
  e[7]
4621
4600
  )
@@ -4623,7 +4602,7 @@ function wr(e) {
4623
4602
  ) + "", ne, Ae, q, K = (
4624
4603
  /*$_*/
4625
4604
  e[8]("generalMax") + ""
4626
- ), V, Pe, ie = Ge(
4605
+ ), k, Pe, ie = Ge(
4627
4606
  /*method*/
4628
4607
  e[43].DisplayCurrency.MaxAmountLimit,
4629
4608
  /*method*/
@@ -4633,7 +4612,7 @@ function wr(e) {
4633
4612
  /*precisionCurrenciesMap*/
4634
4613
  e[4][
4635
4614
  /*method*/
4636
- (B = (O = e[43]) == null ? void 0 : O.DisplayCurrency) == null ? void 0 : B.Name
4615
+ (O = (B = e[43]) == null ? void 0 : B.DisplayCurrency) == null ? void 0 : O.Name
4637
4616
  ] || /*numericCurrencyDecimals*/
4638
4617
  e[7]
4639
4618
  ),
@@ -4646,8 +4625,8 @@ function wr(e) {
4646
4625
  e[7]
4647
4626
  )
4648
4627
  }
4649
- ) + "", ge, Me, z, ye, Oe;
4650
- function it() {
4628
+ ) + "", ye, Me, z, ve, Be;
4629
+ function rt() {
4651
4630
  return (
4652
4631
  /*click_handler_1*/
4653
4632
  e[25](
@@ -4660,31 +4639,31 @@ function wr(e) {
4660
4639
  }
4661
4640
  return {
4662
4641
  c() {
4663
- t = T("div"), r = T("div"), n = T("img"), s = $(), a = T("div"), l = T("div"), u = T("span"), f = G(h), c = $(), g = T("div"), b = T("span"), _ = G(d), E = $(), p = T("div"), S = T("span"), y = T("span"), H = G(A), F = $(), ne = G(re), Ae = $(), q = T("span"), V = G(K), Pe = $(), ge = G(ie), Me = $(), zt(n.src, i = /*method*/
4664
- e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
4665
- e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(g, "class", "MethodProcessingTime"), P(S, "class", "Limits"), P(p, "class", "MethodLimits"), P(a, "class", "MethodInfo"), P(t, "class", z = `CarouselCardWrapper ${/*index*/
4642
+ t = H("div"), r = H("div"), n = H("img"), s = $(), a = H("div"), l = H("div"), u = H("span"), f = G(h), c = $(), g = H("div"), b = H("span"), _ = G(p), E = $(), m = H("div"), S = H("span"), y = H("span"), C = G(P), F = $(), ne = G(re), Ae = $(), q = H("span"), k = G(K), Pe = $(), ye = G(ie), Me = $(), Xt(n.src, i = /*method*/
4643
+ e[43].LogoUrl) || M(n, "src", i), M(n, "alt", o = /*method*/
4644
+ e[43].Label), M(r, "class", "MethodLogo"), M(l, "class", "MethodTitle"), M(g, "class", "MethodProcessingTime"), M(S, "class", "Limits"), M(m, "class", "MethodLimits"), M(a, "class", "MethodInfo"), M(t, "class", z = `CarouselCardWrapper ${/*index*/
4666
4645
  e[42] === /*activeIndex*/
4667
4646
  e[6] ? "active" : ""}`);
4668
4647
  },
4669
4648
  m(ee, L) {
4670
- k(ee, t, L), v(t, r), v(r, n), v(t, s), v(t, a), v(a, l), v(l, u), v(u, f), v(a, c), v(a, g), v(g, b), v(b, _), v(a, E), v(a, p), v(p, S), v(S, y), v(y, H), v(y, F), v(y, ne), v(S, Ae), v(S, q), v(q, V), v(q, Pe), v(q, ge), v(t, Me), ye || (Oe = J(t, "click", it), ye = !0);
4649
+ j(ee, t, L), v(t, r), v(r, n), v(t, s), v(t, a), v(a, l), v(l, u), v(u, f), v(a, c), v(a, g), v(g, b), v(b, _), v(a, E), v(a, m), v(m, S), v(S, y), v(y, C), v(y, F), v(y, ne), v(S, Ae), v(S, q), v(q, k), v(q, Pe), v(q, ye), v(t, Me), ve || (Be = J(t, "click", rt), ve = !0);
4671
4650
  },
4672
4651
  p(ee, L) {
4673
- var ot, Rt, Dt, $t, Ut, Ft, Gt, jt;
4652
+ var nt, Lt, Nt, Rt, Dt, $t, Ut, Ft;
4674
4653
  e = ee, L[0] & /*promotedPaymentMethods*/
4675
- 32 && !zt(n.src, i = /*method*/
4676
- e[43].LogoUrl) && P(n, "src", i), L[0] & /*promotedPaymentMethods*/
4654
+ 32 && !Xt(n.src, i = /*method*/
4655
+ e[43].LogoUrl) && M(n, "src", i), L[0] & /*promotedPaymentMethods*/
4677
4656
  32 && o !== (o = /*method*/
4678
- e[43].Label) && P(n, "alt", o), L[0] & /*promotedPaymentMethods*/
4657
+ e[43].Label) && M(n, "alt", o), L[0] & /*promotedPaymentMethods*/
4679
4658
  32 && h !== (h = /*method*/
4680
4659
  (e[43].Label || /*method*/
4681
- e[43].Name) + "") && X(f, h), L[0] & /*$_, methodtype, promotedPaymentMethods*/
4682
- 289 && d !== (d = /*$_*/
4660
+ e[43].Name) + "") && V(f, h), L[0] & /*$_, methodtype, promotedPaymentMethods*/
4661
+ 289 && p !== (p = /*$_*/
4683
4662
  e[8](`${/*methodtype*/
4684
4663
  e[0]}${/*method*/
4685
- e[43].ProcessingTime}`) + "") && X(_, d), L[0] & /*$_*/
4686
- 256 && A !== (A = /*$_*/
4687
- e[8]("generalMin") + "") && X(H, A), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4664
+ e[43].ProcessingTime}`) + "") && V(_, p), L[0] & /*$_*/
4665
+ 256 && P !== (P = /*$_*/
4666
+ e[8]("generalMin") + "") && V(C, P), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4688
4667
  176 && re !== (re = Ge(
4689
4668
  /*method*/
4690
4669
  e[43].DisplayCurrency.MinAmountLimit,
@@ -4695,7 +4674,7 @@ function wr(e) {
4695
4674
  /*precisionCurrenciesMap*/
4696
4675
  e[4][
4697
4676
  /*method*/
4698
- (Rt = (ot = e[43]) == null ? void 0 : ot.DisplayCurrency) == null ? void 0 : Rt.Name
4677
+ (Lt = (nt = e[43]) == null ? void 0 : nt.DisplayCurrency) == null ? void 0 : Lt.Name
4699
4678
  ] || /*numericCurrencyDecimals*/
4700
4679
  e[7]
4701
4680
  ),
@@ -4703,14 +4682,14 @@ function wr(e) {
4703
4682
  /*precisionCurrenciesMap*/
4704
4683
  e[4][
4705
4684
  /*method*/
4706
- ($t = (Dt = e[43]) == null ? void 0 : Dt.DisplayCurrency) == null ? void 0 : $t.Name
4685
+ (Rt = (Nt = e[43]) == null ? void 0 : Nt.DisplayCurrency) == null ? void 0 : Rt.Name
4707
4686
  ] || /*numericCurrencyDecimals*/
4708
4687
  e[7]
4709
4688
  )
4710
4689
  }
4711
- ) + "") && X(ne, re), L[0] & /*$_*/
4690
+ ) + "") && V(ne, re), L[0] & /*$_*/
4712
4691
  256 && K !== (K = /*$_*/
4713
- e[8]("generalMax") + "") && X(V, K), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4692
+ e[8]("generalMax") + "") && V(k, K), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4714
4693
  176 && ie !== (ie = Ge(
4715
4694
  /*method*/
4716
4695
  e[43].DisplayCurrency.MaxAmountLimit,
@@ -4721,7 +4700,7 @@ function wr(e) {
4721
4700
  /*precisionCurrenciesMap*/
4722
4701
  e[4][
4723
4702
  /*method*/
4724
- (Ft = (Ut = e[43]) == null ? void 0 : Ut.DisplayCurrency) == null ? void 0 : Ft.Name
4703
+ ($t = (Dt = e[43]) == null ? void 0 : Dt.DisplayCurrency) == null ? void 0 : $t.Name
4725
4704
  ] || /*numericCurrencyDecimals*/
4726
4705
  e[7]
4727
4706
  ),
@@ -4729,29 +4708,29 @@ function wr(e) {
4729
4708
  /*precisionCurrenciesMap*/
4730
4709
  e[4][
4731
4710
  /*method*/
4732
- (jt = (Gt = e[43]) == null ? void 0 : Gt.DisplayCurrency) == null ? void 0 : jt.Name
4711
+ (Ft = (Ut = e[43]) == null ? void 0 : Ut.DisplayCurrency) == null ? void 0 : Ft.Name
4733
4712
  ] || /*numericCurrencyDecimals*/
4734
4713
  e[7]
4735
4714
  )
4736
4715
  }
4737
- ) + "") && X(ge, ie), L[0] & /*activeIndex*/
4716
+ ) + "") && V(ye, ie), L[0] & /*activeIndex*/
4738
4717
  64 && z !== (z = `CarouselCardWrapper ${/*index*/
4739
4718
  e[42] === /*activeIndex*/
4740
- e[6] ? "active" : ""}`) && P(t, "class", z);
4719
+ e[6] ? "active" : ""}`) && M(t, "class", z);
4741
4720
  },
4742
4721
  d(ee) {
4743
- ee && U(t), ye = !1, Oe();
4722
+ ee && U(t), ve = !1, Be();
4744
4723
  }
4745
4724
  };
4746
4725
  }
4747
- function Sr(e) {
4726
+ function xr(e) {
4748
4727
  let t, r, n;
4749
4728
  return {
4750
4729
  c() {
4751
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Right");
4730
+ t = H("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', M(t, "class", "NavigationArrow Right");
4752
4731
  },
4753
4732
  m(i, o) {
4754
- k(i, t, o), r || (n = J(
4733
+ j(i, t, o), r || (n = J(
4755
4734
  t,
4756
4735
  "click",
4757
4736
  /*click_handler_2*/
@@ -4764,29 +4743,29 @@ function Sr(e) {
4764
4743
  }
4765
4744
  };
4766
4745
  }
4767
- function Tr(e) {
4746
+ function wr(e) {
4768
4747
  let t, r;
4769
4748
  return {
4770
4749
  c() {
4771
- t = T("div"), P(t, "class", r = `Dot ${/*index*/
4750
+ t = H("div"), M(t, "class", r = `Dot ${/*index*/
4772
4751
  e[42] === /*activeIndex*/
4773
4752
  e[6] ? "active" : ""}`);
4774
4753
  },
4775
4754
  m(n, i) {
4776
- k(n, t, i);
4755
+ j(n, t, i);
4777
4756
  },
4778
4757
  p(n, i) {
4779
4758
  i[0] & /*activeIndex*/
4780
4759
  64 && r !== (r = `Dot ${/*index*/
4781
4760
  n[42] === /*activeIndex*/
4782
- n[6] ? "active" : ""}`) && P(t, "class", r);
4761
+ n[6] ? "active" : ""}`) && M(t, "class", r);
4783
4762
  },
4784
4763
  d(n) {
4785
4764
  n && U(t);
4786
4765
  }
4787
4766
  };
4788
4767
  }
4789
- function qo(e) {
4768
+ function Jo(e) {
4790
4769
  let t, r, n, i, o = (
4791
4770
  /*$_*/
4792
4771
  e[8]("carouselTitle") + ""
@@ -4794,148 +4773,148 @@ function qo(e) {
4794
4773
  /*$_*/
4795
4774
  e[8]("carouselSubtitle") + ""
4796
4775
  ), h, f;
4797
- function c(d, _) {
4776
+ function c(p, _) {
4798
4777
  return (
4799
4778
  /*promotedPaymentMethods*/
4800
- d[5].length > 0 ? Yo : Jo
4779
+ p[5].length > 0 ? Qo : Zo
4801
4780
  );
4802
4781
  }
4803
4782
  let g = c(e), b = g(e);
4804
4783
  return {
4805
4784
  c() {
4806
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), s = G(o), a = $(), l = T("p"), h = G(u), f = $(), b.c(), P(n, "class", "CarouselHeader"), P(r, "class", "CashierCarouselWarpper");
4785
+ t = H("div"), r = H("div"), n = H("div"), i = H("h4"), s = G(o), a = $(), l = H("p"), h = G(u), f = $(), b.c(), M(n, "class", "CarouselHeader"), M(r, "class", "CashierCarouselWarpper");
4807
4786
  },
4808
- m(d, _) {
4809
- k(d, t, _), v(t, r), v(r, n), v(n, i), v(i, s), v(n, a), v(n, l), v(l, h), v(r, f), b.m(r, null), e[29](t);
4787
+ m(p, _) {
4788
+ j(p, t, _), v(t, r), v(r, n), v(n, i), v(i, s), v(n, a), v(n, l), v(l, h), v(r, f), b.m(r, null), e[29](t);
4810
4789
  },
4811
- p(d, _) {
4790
+ p(p, _) {
4812
4791
  _[0] & /*$_*/
4813
4792
  256 && o !== (o = /*$_*/
4814
- d[8]("carouselTitle") + "") && X(s, o), _[0] & /*$_*/
4793
+ p[8]("carouselTitle") + "") && V(s, o), _[0] & /*$_*/
4815
4794
  256 && u !== (u = /*$_*/
4816
- d[8]("carouselSubtitle") + "") && X(h, u), g === (g = c(d)) && b ? b.p(d, _) : (b.d(1), b = g(d), b && (b.c(), b.m(r, null)));
4795
+ p[8]("carouselSubtitle") + "") && V(h, u), g === (g = c(p)) && b ? b.p(p, _) : (b.d(1), b = g(p), b && (b.c(), b.m(r, null)));
4817
4796
  },
4818
4797
  i: N,
4819
4798
  o: N,
4820
- d(d) {
4821
- d && U(t), b.d(), e[29](null);
4799
+ d(p) {
4800
+ p && U(t), b.d(), e[29](null);
4822
4801
  }
4823
4802
  };
4824
4803
  }
4825
- function Ko(e, t, r) {
4804
+ function Yo(e, t, r) {
4826
4805
  let n, i;
4827
- dn(e, Po, (m) => r(8, i = m));
4828
- let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: b = "" } = t, d = {}, _, E = [], p = 0, S = !0, y = 0, A = !1, H, F, re = window.navigator.userAgent;
4829
- const ne = (m) => {
4830
- var B, Z;
4831
- const { data: { type: O } = {} } = m || {};
4832
- switch (O) {
4806
+ dn(e, Co, (d) => r(8, i = d));
4807
+ let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: b = "" } = t, p = {}, _, E = [], m = 0, S = !0, y = 0, P = !1, C, F, re = window.navigator.userAgent;
4808
+ const ne = (d) => {
4809
+ var O, Z;
4810
+ const { data: { type: B } = {} } = d || {};
4811
+ switch (B) {
4833
4812
  case "PromotedPaymentMethods": {
4834
- r(5, E = (B = m == null ? void 0 : m.data) == null ? void 0 : B.promotedPaymentMethods), r(6, p = Math.floor((E.length - 1) / 2));
4813
+ r(5, E = (O = d == null ? void 0 : d.data) == null ? void 0 : O.promotedPaymentMethods), r(6, m = Math.floor((E.length - 1) / 2));
4835
4814
  break;
4836
4815
  }
4837
4816
  case "PrecisionCurrenciesMap": {
4838
- r(4, d = ((Z = m == null ? void 0 : m.data) == null ? void 0 : Z.payload) || {});
4817
+ r(4, p = ((Z = d == null ? void 0 : d.data) == null ? void 0 : Z.payload) || {});
4839
4818
  break;
4840
4819
  }
4841
4820
  }
4842
4821
  };
4843
- Object.keys(vr).forEach((m) => {
4844
- hr(m, vr[m]);
4822
+ Object.keys(gr).forEach((d) => {
4823
+ ur(d, gr[d]);
4845
4824
  });
4846
4825
  const Ae = () => {
4847
- let m = b;
4848
- if (m)
4849
- return fetch(m).then((O) => O.json()).then((O) => {
4850
- Object.keys(O).forEach((B) => {
4851
- hr(B, O[B]);
4826
+ let d = b;
4827
+ if (d)
4828
+ return fetch(d).then((B) => B.json()).then((B) => {
4829
+ Object.keys(B).forEach((O) => {
4830
+ ur(O, B[O]);
4852
4831
  });
4853
- }).catch((O) => {
4854
- console.log(O);
4832
+ }).catch((B) => {
4833
+ console.log(B);
4855
4834
  });
4856
4835
  }, q = () => {
4857
- Mo(o);
4858
- }, K = (m, O) => {
4859
- r(6, p = O), r(2, H.style.transform = V(), H), m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4836
+ Ao(o);
4837
+ }, K = (d, B) => {
4838
+ r(6, m = B), r(2, C.style.transform = k(), C), d.Name, window.postMessage({ type: "SelectPayMeth", details: d }, window.location.href), dispatchEvent(new CustomEvent(
4860
4839
  "selectPayMeth",
4861
4840
  {
4862
- detail: m,
4841
+ detail: d,
4863
4842
  bubbles: !0,
4864
4843
  cancelable: !0,
4865
4844
  composed: !0
4866
4845
  }
4867
4846
  ));
4868
- }, V = () => {
4847
+ }, k = () => {
4869
4848
  if (E.length == 1)
4870
4849
  return "translateX(0px)";
4871
- const B = 160 + 5, Z = B * E.length;
4850
+ const O = 160 + 5, Z = O * E.length;
4872
4851
  let oe;
4873
4852
  E.length % 2 === 1 ? oe = Math.floor(E.length / 2) : oe = Math.floor(E.length / 2) - 0.5;
4874
4853
  let ee = F - Z;
4875
- const L = oe - p;
4876
- return `translateX(${ee / 2 + L * B - 20}px)`;
4877
- }, Pe = (m) => {
4878
- y = m.touches[0].clientX, A = !0, H.classList.add("dragging");
4879
- }, ie = (m) => {
4880
- if (!A)
4854
+ const L = oe - m;
4855
+ return `translateX(${ee / 2 + L * O - 20}px)`;
4856
+ }, Pe = (d) => {
4857
+ y = d.touches[0].clientX, P = !0, C.classList.add("dragging");
4858
+ }, ie = (d) => {
4859
+ if (!P)
4881
4860
  return;
4882
- const O = m.touches[0].clientX;
4883
- Math.abs(O - y) > 10 && m.preventDefault();
4884
- }, ge = (m) => {
4885
- if (!A)
4861
+ const B = d.touches[0].clientX;
4862
+ Math.abs(B - y) > 10 && d.preventDefault();
4863
+ }, ye = (d) => {
4864
+ if (!P)
4886
4865
  return;
4887
- A = !1, H.classList.remove("dragging");
4888
- const O = m.changedTouches[0].clientX, B = y - O;
4889
- Math.abs(B) > 50 && (B > 0 && p < E.length - 1 ? r(6, p++, p) : B < 0 && p > 0 && r(6, p--, p), r(2, H.style.transform = V(), H));
4866
+ P = !1, C.classList.remove("dragging");
4867
+ const B = d.changedTouches[0].clientX, O = y - B;
4868
+ Math.abs(O) > 50 && (O > 0 && m < E.length - 1 ? r(6, m++, m) : O < 0 && m > 0 && r(6, m--, m), r(2, C.style.transform = k(), C));
4890
4869
  }, Me = () => {
4891
- S && (r(2, H.style.transform = V(), H), S = !1);
4892
- }, z = (m) => {
4893
- m === "next" && p < E.length - 1 ? r(6, p++, p) : m === "prev" && p > 0 && r(6, p--, p), r(2, H.style.transform = V(), H);
4870
+ S && (r(2, C.style.transform = k(), C), S = !1);
4871
+ }, z = (d) => {
4872
+ d === "next" && m < E.length - 1 ? r(6, m++, m) : d === "prev" && m > 0 && r(6, m--, m), r(2, C.style.transform = k(), C);
4894
4873
  };
4895
- Sn(() => (Zo(s, a, l, u), window.addEventListener("message", ne), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), H && V(), () => {
4874
+ wn(() => (Wo(s, a, l, u), window.addEventListener("message", ne), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), C && k(), () => {
4896
4875
  window.removeEventListener("message", ne);
4897
4876
  }));
4898
- const ye = () => z("prev"), Oe = (m, O) => K(m, O);
4899
- function it(m) {
4900
- ze[m ? "unshift" : "push"](() => {
4901
- H = m, r(2, H);
4877
+ const ve = () => z("prev"), Be = (d, B) => K(d, B);
4878
+ function rt(d) {
4879
+ ze[d ? "unshift" : "push"](() => {
4880
+ C = d, r(2, C);
4902
4881
  });
4903
4882
  }
4904
- const Be = () => z("next");
4883
+ const Oe = () => z("next");
4905
4884
  function Ie() {
4906
4885
  F = this.clientWidth, r(3, F);
4907
4886
  }
4908
- function Le(m) {
4909
- ze[m ? "unshift" : "push"](() => {
4910
- _ = m, r(1, _);
4887
+ function Le(d) {
4888
+ ze[d ? "unshift" : "push"](() => {
4889
+ _ = d, r(1, _);
4911
4890
  });
4912
4891
  }
4913
- return e.$$set = (m) => {
4914
- "lang" in m && r(15, o = m.lang), "local" in m && r(16, s = m.local), "currencysymbol" in m && r(17, a = m.currencysymbol), "currencyposition" in m && r(18, l = m.currencyposition), "currencydecimals" in m && r(19, u = m.currencydecimals), "methodtype" in m && r(0, h = m.methodtype), "clientstyling" in m && r(20, f = m.clientstyling), "clientstylingurl" in m && r(21, c = m.clientstylingurl), "mbsource" in m && r(22, g = m.mbsource), "translationurl" in m && r(23, b = m.translationurl);
4892
+ return e.$$set = (d) => {
4893
+ "lang" in d && r(15, o = d.lang), "local" in d && r(16, s = d.local), "currencysymbol" in d && r(17, a = d.currencysymbol), "currencyposition" in d && r(18, l = d.currencyposition), "currencydecimals" in d && r(19, u = d.currencydecimals), "methodtype" in d && r(0, h = d.methodtype), "clientstyling" in d && r(20, f = d.clientstyling), "clientstylingurl" in d && r(21, c = d.clientstylingurl), "mbsource" in d && r(22, g = d.mbsource), "translationurl" in d && r(23, b = d.translationurl);
4915
4894
  }, e.$$.update = () => {
4916
4895
  e.$$.dirty[0] & /*lang*/
4917
4896
  32768 && o && q(), e.$$.dirty[0] & /*lang, translationurl*/
4918
4897
  8421376 && o && b && Ae(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4919
- 12 && H && F && Me(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4920
- 1048578 && f && _ && Oo(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4921
- 2097154 && c && _ && Bo(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4922
- 4194306 && g && _ && Io(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
4898
+ 12 && C && F && Me(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4899
+ 1048578 && f && _ && Po(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4900
+ 2097154 && c && _ && Mo(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4901
+ 4194306 && g && _ && Bo(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
4923
4902
  524288 && r(7, n = Number(u));
4924
4903
  }, [
4925
4904
  h,
4926
4905
  _,
4927
- H,
4906
+ C,
4928
4907
  F,
4929
- d,
4930
- E,
4931
4908
  p,
4909
+ E,
4910
+ m,
4932
4911
  n,
4933
4912
  i,
4934
4913
  re,
4935
4914
  K,
4936
4915
  Pe,
4937
4916
  ie,
4938
- ge,
4917
+ ye,
4939
4918
  z,
4940
4919
  o,
4941
4920
  s,
@@ -4946,22 +4925,22 @@ function Ko(e, t, r) {
4946
4925
  c,
4947
4926
  g,
4948
4927
  b,
4949
- ye,
4950
- Oe,
4951
- it,
4928
+ ve,
4952
4929
  Be,
4930
+ rt,
4931
+ Oe,
4953
4932
  Ie,
4954
4933
  Le
4955
4934
  ];
4956
4935
  }
4957
- class es extends Rn {
4936
+ class qo extends Nn {
4958
4937
  constructor(t) {
4959
- super(), Ln(
4938
+ super(), In(
4960
4939
  this,
4961
4940
  t,
4962
- Ko,
4963
- qo,
4964
- Cr,
4941
+ Yo,
4942
+ Jo,
4943
+ Tr,
4965
4944
  {
4966
4945
  lang: 15,
4967
4946
  local: 16,
@@ -4974,7 +4953,7 @@ class es extends Rn {
4974
4953
  mbsource: 22,
4975
4954
  translationurl: 23
4976
4955
  },
4977
- Qo,
4956
+ zo,
4978
4957
  [-1, -1]
4979
4958
  );
4980
4959
  }
@@ -5039,7 +5018,7 @@ class es extends Rn {
5039
5018
  this.$$set({ translationurl: t }), D();
5040
5019
  }
5041
5020
  }
5042
- Nn(es, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5021
+ Ln(qo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5043
5022
  export {
5044
- es as default
5023
+ qo as default
5045
5024
  };