@everymatrix/cashier-carousel 1.86.5 → 1.86.6

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;
1
+ var un = Object.defineProperty, ln = Object.defineProperties;
2
+ var hn = Object.getOwnPropertyDescriptors;
3
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) => {
4
+ var cn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable;
5
+ var lt = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fn.call(t, r) && st(e, r, t[r]);
7
+ cn.call(t, r) && lt(e, r, t[r]);
8
8
  if (kt)
9
9
  for (var r of kt(t))
10
- pn.call(t, r) && st(e, r, t[r]);
10
+ fn.call(t, r) && lt(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
+ }, Vt = (e, t) => ln(e, hn(t));
13
+ var R = (e, t, r) => (lt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Wt = (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 Tr(e) {
33
33
  return e();
34
34
  }
35
- function Wt() {
35
+ function Xt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function me(e) {
39
- e.forEach(Hr);
39
+ e.forEach(Tr);
40
40
  }
41
41
  function It(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Cr(e, t) {
44
+ function Hr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Re;
47
+ let $e;
48
48
  function zt(e, t) {
49
- return e === t ? !0 : (Re || (Re = document.createElement("a")), Re.href = t, e === Re.href);
49
+ return e === t ? !0 : ($e || ($e = document.createElement("a")), $e.href = t, e === $e.href);
50
50
  }
51
- function mn(e) {
51
+ function pn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ar(e, ...t) {
54
+ function Cr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Ar(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function dn(e, t, r) {
64
- e.$$.on_destroy.push(Ar(t, r));
63
+ function mn(e, t, r) {
64
+ e.$$.on_destroy.push(Cr(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 dn(e, t, r) {
70
+ const n = bn(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = T("style");
73
- i.id = t, i.textContent = r, yn(n, i);
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,7 +83,7 @@ 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,
@@ -115,33 +115,33 @@ function J(e, t, r, n) {
115
115
  function P(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 W(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- let De;
126
- function _n() {
127
- if (De === void 0) {
128
- De = !1;
125
+ let Ue;
126
+ function vn() {
127
+ if (Ue === void 0) {
128
+ Ue = !1;
129
129
  try {
130
130
  typeof window != "undefined" && window.parent && window.parent.document;
131
131
  } catch (e) {
132
- De = !0;
132
+ Ue = !0;
133
133
  }
134
134
  }
135
- return De;
135
+ return Ue;
136
136
  }
137
- function En(e, t) {
137
+ function _n(e, t) {
138
138
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
139
139
  const n = T("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 Se;
169
+ function we(e) {
170
+ Se = e;
171
171
  }
172
- function wn() {
173
- if (!xe)
172
+ function xn() {
173
+ if (!Se)
174
174
  throw new Error("Function called outside component initialization");
175
- return xe;
175
+ return Se;
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
- const ue = [], ze = [];
180
+ const ue = [], Je = [];
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 Qt = [], Sn = /* @__PURE__ */ Promise.resolve();
183
+ let yt = !1;
184
+ function Tn() {
185
+ yt || (yt = !0, Sn.then(D));
186
186
  }
187
- function Ze(e) {
187
+ function Ye(e) {
188
188
  le.push(e);
189
189
  }
190
- const at = /* @__PURE__ */ new Set();
190
+ const ht = /* @__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 = Se;
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++, we(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; )
206
- ze.pop()();
205
+ for (we(null), ue.length = 0, se = 0; Je.length; )
206
+ Je.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
+ ht.has(r) || (ht.add(r), r());
210
210
  }
211
211
  le.length = 0;
212
212
  } while (ue.length);
213
213
  for (; Qt.length; )
214
214
  Qt.pop()();
215
- dt = !1, at.clear(), Ee(e);
215
+ yt = !1, ht.clear(), we(e);
216
216
  }
217
- function Cn(e) {
217
+ function Hn(e) {
218
218
  if (e.fragment !== null) {
219
219
  e.update(), me(e.before_update);
220
220
  const t = e.dirty;
221
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
221
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
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
- function $e(e) {
232
+ function Fe(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
- n && n.m(t, r), Ze(() => {
238
- const o = e.$$.on_mount.map(Hr).filter(It);
237
+ n && n.m(t, r), Ye(() => {
238
+ const o = e.$$.on_mount.map(Tr).filter(It);
239
239
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
240
- }), i.forEach(Ze);
240
+ }), i.forEach(Ye);
241
241
  }
242
- function Bn(e, t) {
242
+ function On(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), me(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 Bn(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 = Se;
251
+ we(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: Xt(),
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: Xt(),
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;
277
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Bn(e, f)), c;
278
278
  }) : [], u.update(), h = !0, me(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
+ we(l);
287
287
  }
288
- let Pr;
289
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
288
+ let Ar;
289
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
290
290
  constructor(t, r, n) {
291
291
  super();
292
292
  /** The Svelte component constructor */
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
323
323
  }
324
324
  }
325
325
  connectedCallback() {
326
- return Xt(this, null, function* () {
326
+ return Wt(this, null, function* () {
327
327
  if (this.$$cn = !0, !this.$$c) {
328
328
  let t = function(o) {
329
329
  return () => {
@@ -347,18 +347,18 @@ 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) {
354
354
  const s = this.$$g_p(o.name);
355
- s in this.$$d || (this.$$d[s] = ke(s, o.value, this.$$p_d, "toProp"));
355
+ s in this.$$d || (this.$$d[s] = We(s, o.value, this.$$p_d, "toProp"));
356
356
  }
357
357
  for (const o in this.$$p_d)
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: Vt(De({}, this.$$d), {
362
362
  $$slots: r,
363
363
  $$scope: {
364
364
  ctx: []
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
369
369
  this.$$r = !0;
370
370
  for (const o in this.$$p_d)
371
371
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
372
- const s = ke(
372
+ const s = We(
373
373
  o,
374
374
  this.$$d[o],
375
375
  this.$$p_d,
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
393
393
  // and setting attributes through setAttribute etc, this is helpful
394
394
  attributeChangedCallback(t, r, n) {
395
395
  var i;
396
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ke(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
396
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = We(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
397
397
  }
398
398
  disconnectedCallback() {
399
399
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -406,7 +406,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
406
406
  ) || t;
407
407
  }
408
408
  });
409
- function ke(e, t, r, n) {
409
+ function We(e, t, r, n) {
410
410
  var o;
411
411
  const i = (o = r[e]) == null ? void 0 : o.type;
412
412
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -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 Ar {
441
441
  constructor() {
442
442
  super(e, r, i), this.$$p_d = t;
443
443
  }
@@ -454,7 +454,7 @@ function Nn(e, t, r, n, i, o) {
454
454
  },
455
455
  set(l) {
456
456
  var u;
457
- l = ke(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
457
+ l = We(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
458
458
  }
459
459
  });
460
460
  }), n.forEach((a) => {
@@ -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
@@ -488,7 +488,7 @@ class Rn {
488
488
  }
489
489
  /** @returns {void} */
490
490
  $destroy() {
491
- Bn(this, 1), this.$destroy = N;
491
+ On(this, 1), this.$destroy = N;
492
492
  }
493
493
  /**
494
494
  * @template {Extract<keyof Events, string>} K
@@ -510,22 +510,22 @@ class Rn {
510
510
  * @returns {void}
511
511
  */
512
512
  $set(t) {
513
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
513
+ this.$$set && !pn(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: rt(e, t).subscribe
522
522
  };
523
523
  }
524
- function Ke(e, t = N) {
524
+ function rt(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 (Hr(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);
@@ -552,7 +552,7 @@ function de(e, t, r) {
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;
@@ -563,7 +563,7 @@ function de(e, t, r) {
563
563
  const b = t(n ? u[0] : u, s, a);
564
564
  o ? s(b) : f = It(b) ? b : N;
565
565
  }, g = i.map(
566
- (b, d) => Ar(
566
+ (b, d) => Cr(
567
567
  b,
568
568
  (_) => {
569
569
  u[d] = _, h &= ~(1 << d), l && c();
@@ -578,70 +578,70 @@ function de(e, t, r) {
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
598
  function Wn(e) {
599
599
  return Array.isArray(e) ? [] : {};
600
600
  }
601
- function we(e, t) {
601
+ function Te(e, t) {
602
602
  return t.clone !== !1 && t.isMergeableObject(e) ? he(Wn(e), e, t) : e;
603
603
  }
604
- function zn(e, t, r) {
604
+ function Xn(e, t, r) {
605
605
  return e.concat(t).map(function(n) {
606
- return we(n, r);
606
+ return Te(n, r);
607
607
  });
608
608
  }
609
- function Zn(e, t) {
609
+ function zn(e, t) {
610
610
  if (!t.customMerge)
611
611
  return he;
612
612
  var r = t.customMerge(e);
613
613
  return typeof r == "function" ? r : he;
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
620
  function Jt(e) {
621
- return Object.keys(e).concat(Qn(e));
621
+ return Object.keys(e).concat(Zn(e));
622
622
  }
623
- function Mr(e, t) {
623
+ function Pr(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 Pr(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
635
  return r.isMergeableObject(e) && Jt(e).forEach(function(i) {
636
- n[i] = we(e[i], r);
636
+ n[i] = Te(e[i], r);
637
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));
638
+ Qn(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
639
639
  }), n;
640
640
  }
641
641
  function he(e, t, r) {
642
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = we;
642
+ r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = Te;
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) : Te(t, r);
645
645
  }
646
646
  he.all = function(t, r) {
647
647
  if (!Array.isArray(t))
@@ -650,20 +650,20 @@ he.all = function(t, r) {
650
650
  return he(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 = he, qn = Yn;
654
+ const Kn = /* @__PURE__ */ $n(qn);
655
+ var vt = function(e, t) {
656
+ return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
657
657
  r.__proto__ = n;
658
658
  } || function(r, n) {
659
659
  for (var i in n)
660
660
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
661
- }, bt(e, t);
661
+ }, vt(e, t);
662
662
  };
663
- function et(e, t) {
663
+ function nt(e, t) {
664
664
  if (typeof t != "function" && t !== null)
665
665
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
666
- bt(e, t);
666
+ vt(e, t);
667
667
  function r() {
668
668
  this.constructor = e;
669
669
  }
@@ -679,7 +679,7 @@ var j = function() {
679
679
  return t;
680
680
  }, j.apply(this, arguments);
681
681
  };
682
- function ti(e, t) {
682
+ function ei(e, t) {
683
683
  var r = {};
684
684
  for (var n in e)
685
685
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -688,43 +688,43 @@ function ti(e, t) {
688
688
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
689
689
  return r;
690
690
  }
691
- function ut(e, t, r) {
691
+ function ct(e, t, r) {
692
692
  if (r || arguments.length === 2)
693
693
  for (var n = 0, i = t.length, o; n < i; n++)
694
694
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
695
695
  return e.concat(o || Array.prototype.slice.call(t));
696
696
  }
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;
697
+ function ft(e, t) {
698
+ var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ni;
699
699
  return i(e, {
700
700
  cache: r,
701
701
  serializer: n
702
702
  });
703
703
  }
704
- function ri(e) {
704
+ function ti(e) {
705
705
  return e == null || typeof e == "number" || typeof e == "boolean";
706
706
  }
707
- function ni(e, t, r, n) {
708
- var i = ri(n) ? n : r(n), o = t.get(i);
707
+ function ri(e, t, r, n) {
708
+ var i = ti(n) ? n : r(n), o = t.get(i);
709
709
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
710
710
  }
711
- function Or(e, t, r) {
711
+ function Mr(e, t, r) {
712
712
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
713
713
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
714
714
  }
715
- function Br(e, t, r, n, i) {
715
+ function Or(e, t, r, n, i) {
716
716
  return r.bind(t, e, n, i);
717
717
  }
718
- function ii(e, t) {
719
- var r = e.length === 1 ? ni : Or;
720
- return Br(e, this, r, t.cache.create(), t.serializer);
718
+ function ni(e, t) {
719
+ var r = e.length === 1 ? ri : Mr;
720
+ return Or(e, this, r, t.cache.create(), t.serializer);
721
721
  }
722
- function oi(e, t) {
723
- return Br(e, this, Or, t.cache.create(), t.serializer);
722
+ function ii(e, t) {
723
+ return Or(e, this, Mr, t.cache.create(), t.serializer);
724
724
  }
725
- var si = function() {
725
+ var oi = function() {
726
726
  return JSON.stringify(arguments);
727
- }, ai = (
727
+ }, si = (
728
728
  /** @class */
729
729
  function() {
730
730
  function e() {
@@ -736,21 +736,21 @@ var si = function() {
736
736
  this.cache[t] = r;
737
737
  }, e;
738
738
  }()
739
- ), ui = {
739
+ ), ai = {
740
740
  create: function() {
741
- return new ai();
741
+ return new si();
742
742
  }
743
- }, ht = {
744
- variadic: oi
745
- }, Qe = function() {
746
- return Qe = Object.assign || function(t) {
743
+ }, pt = {
744
+ variadic: ii
745
+ }, qe = function() {
746
+ return qe = Object.assign || function(t) {
747
747
  for (var r, n = 1, i = arguments.length; n < i; n++) {
748
748
  r = arguments[n];
749
749
  for (var o in r)
750
750
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
751
751
  }
752
752
  return t;
753
- }, Qe.apply(this, arguments);
753
+ }, qe.apply(this, arguments);
754
754
  };
755
755
  var x;
756
756
  (function(e) {
@@ -767,40 +767,40 @@ var ce;
767
767
  function Yt(e) {
768
768
  return e.type === C.literal;
769
769
  }
770
- function li(e) {
770
+ function ui(e) {
771
771
  return e.type === C.argument;
772
772
  }
773
- function Ir(e) {
773
+ function Br(e) {
774
774
  return e.type === C.number;
775
775
  }
776
- function Lr(e) {
776
+ function Ir(e) {
777
777
  return e.type === C.date;
778
778
  }
779
- function Nr(e) {
779
+ function Lr(e) {
780
780
  return e.type === C.time;
781
781
  }
782
- function Rr(e) {
782
+ function Nr(e) {
783
783
  return e.type === C.select;
784
784
  }
785
- function Dr(e) {
785
+ function Rr(e) {
786
786
  return e.type === C.plural;
787
787
  }
788
- function hi(e) {
788
+ function li(e) {
789
789
  return e.type === C.pound;
790
790
  }
791
- function $r(e) {
791
+ function Dr(e) {
792
792
  return e.type === C.tag;
793
793
  }
794
- function Ur(e) {
794
+ function $r(e) {
795
795
  return !!(e && typeof e == "object" && e.type === ce.number);
796
796
  }
797
- function gt(e) {
797
+ function _t(e) {
798
798
  return !!(e && typeof e == "object" && e.type === ce.dateTime);
799
799
  }
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) {
800
+ var Ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[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 ci(e) {
802
802
  var t = {};
803
- return e.replace(ci, function(r) {
803
+ return e.replace(hi, function(r) {
804
804
  var n = r.length;
805
805
  switch (r[0]) {
806
806
  case "G":
@@ -899,11 +899,11 @@ var M = function() {
899
899
  return t;
900
900
  }, M.apply(this, arguments);
901
901
  };
902
- var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
903
- function mi(e) {
902
+ var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
903
+ function pi(e) {
904
904
  if (e.length === 0)
905
905
  throw new Error("Number skeleton cannot be empty");
906
- for (var t = e.split(pi).filter(function(c) {
906
+ for (var t = e.split(fi).filter(function(c) {
907
907
  return c.length > 0;
908
908
  }), r = [], n = 0, i = t; n < i.length; n++) {
909
909
  var o = i[n], s = o.split("/");
@@ -918,17 +918,17 @@ function mi(e) {
918
918
  }
919
919
  return r;
920
920
  }
921
- function di(e) {
921
+ function mi(e) {
922
922
  return e.replace(/^(.*?)-/, "");
923
923
  }
924
- var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
924
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
925
925
  function Kt(e) {
926
926
  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) {
927
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
928
928
  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
929
  }), t;
930
930
  }
931
- function kr(e) {
931
+ function jr(e) {
932
932
  switch (e) {
933
933
  case "sign-auto":
934
934
  return {
@@ -968,7 +968,7 @@ function kr(e) {
968
968
  };
969
969
  }
970
970
  }
971
- function gi(e) {
971
+ function bi(e) {
972
972
  var t;
973
973
  if (e[0] === "E" && e[1] === "E" ? (t = {
974
974
  notation: "engineering"
@@ -976,17 +976,17 @@ function gi(e) {
976
976
  notation: "scientific"
977
977
  }, e = e.slice(1)), t) {
978
978
  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))
979
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
980
980
  throw new Error("Malformed concise eng/scientific notation");
981
981
  t.minimumIntegerDigits = e.length;
982
982
  }
983
983
  return t;
984
984
  }
985
985
  function er(e) {
986
- var t = {}, r = kr(e);
986
+ var t = {}, r = jr(e);
987
987
  return r || t;
988
988
  }
989
- function yi(e) {
989
+ function gi(e) {
990
990
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
991
991
  var i = n[r];
992
992
  switch (i.stem) {
@@ -1010,7 +1010,7 @@ function yi(e) {
1010
1010
  continue;
1011
1011
  case "measure-unit":
1012
1012
  case "unit":
1013
- t.style = "unit", t.unit = di(i.options[0]);
1013
+ t.style = "unit", t.unit = mi(i.options[0]);
1014
1014
  continue;
1015
1015
  case "compact-short":
1016
1016
  case "K":
@@ -1072,7 +1072,7 @@ function yi(e) {
1072
1072
  case "integer-width":
1073
1073
  if (i.options.length > 1)
1074
1074
  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) {
1075
+ i.options[0].replace(di, function(l, u, h, f, c, g) {
1076
1076
  if (u)
1077
1077
  t.minimumIntegerDigits = h.length;
1078
1078
  else {
@@ -1085,7 +1085,7 @@ function yi(e) {
1085
1085
  });
1086
1086
  continue;
1087
1087
  }
1088
- if (jr.test(i.stem)) {
1088
+ if (Gr.test(i.stem)) {
1089
1089
  t.minimumIntegerDigits = i.stem.length;
1090
1090
  continue;
1091
1091
  }
@@ -1099,18 +1099,18 @@ function yi(e) {
1099
1099
  o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Kt(o)));
1100
1100
  continue;
1101
1101
  }
1102
- if (Gr.test(i.stem)) {
1102
+ if (Fr.test(i.stem)) {
1103
1103
  t = M(M({}, t), Kt(i.stem));
1104
1104
  continue;
1105
1105
  }
1106
- var s = kr(i.stem);
1106
+ var s = jr(i.stem);
1107
1107
  s && (t = M(M({}, t), s));
1108
- var a = gi(i.stem);
1108
+ var a = bi(i.stem);
1109
1109
  a && (t = M(M({}, t), a));
1110
1110
  }
1111
1111
  return t;
1112
1112
  }
1113
- var Ue = {
1113
+ var Ge = {
1114
1114
  "001": [
1115
1115
  "H",
1116
1116
  "h"
@@ -2525,13 +2525,13 @@ var Ue = {
2525
2525
  "h"
2526
2526
  ]
2527
2527
  };
2528
- function vi(e, t) {
2528
+ function yi(e, t) {
2529
2529
  for (var r = "", n = 0; n < e.length; n++) {
2530
2530
  var i = e.charAt(n);
2531
2531
  if (i === "j") {
2532
2532
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2533
2533
  o++, n++;
2534
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = _i(t);
2534
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vi(t);
2535
2535
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2536
2536
  r += l;
2537
2537
  for (; s-- > 0; )
@@ -2541,7 +2541,7 @@ function vi(e, t) {
2541
2541
  }
2542
2542
  return r;
2543
2543
  }
2544
- function _i(e) {
2544
+ function vi(e) {
2545
2545
  var t = e.hourCycle;
2546
2546
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2547
2547
  e.hourCycles && // @ts-ignore
@@ -2560,23 +2560,23 @@ function _i(e) {
2560
2560
  }
2561
2561
  var r = e.language, n;
2562
2562
  r !== "root" && (n = e.maximize().region);
2563
- var i = Ue[n || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2563
+ var i = Ge[n || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2564
2564
  return i[0];
2565
2565
  }
2566
- var ct, Ei = new RegExp("^".concat(Fr.source, "*")), xi = new RegExp("".concat(Fr.source, "*$"));
2566
+ var mt, _i = new RegExp("^".concat(Ur.source, "*")), Ei = new RegExp("".concat(Ur.source, "*$"));
2567
2567
  function w(e, t) {
2568
2568
  return { start: e, end: t };
2569
2569
  }
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) {
2570
+ var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Pi = Ai ? Number.isSafeInteger : function(e) {
2571
2571
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2572
- }, yt = !0;
2572
+ }, Et = !0;
2573
2573
  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";
2574
+ var Mi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2575
+ Et = ((mt = Mi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2576
2576
  } catch (e) {
2577
- yt = !1;
2577
+ Et = !1;
2578
2578
  }
2579
- var tr = wi ? (
2579
+ var tr = xi ? (
2580
2580
  // Native
2581
2581
  function(t, r, n) {
2582
2582
  return t.startsWith(r, n);
@@ -2586,7 +2586,7 @@ var tr = wi ? (
2586
2586
  function(t, r, n) {
2587
2587
  return t.slice(n, n + r.length) === r;
2588
2588
  }
2589
- ), vt = Si ? String.fromCodePoint : (
2589
+ ), xt = wi ? String.fromCodePoint : (
2590
2590
  // IE11
2591
2591
  function() {
2592
2592
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2600,7 +2600,7 @@ var tr = wi ? (
2600
2600
  }
2601
2601
  ), rr = (
2602
2602
  // native
2603
- Ti ? Object.fromEntries : (
2603
+ Si ? Object.fromEntries : (
2604
2604
  // Ponyfill
2605
2605
  function(t) {
2606
2606
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2610,7 +2610,7 @@ var tr = wi ? (
2610
2610
  return r;
2611
2611
  }
2612
2612
  )
2613
- ), Vr = Hi ? (
2613
+ ), kr = Ti ? (
2614
2614
  // Native
2615
2615
  function(t, r) {
2616
2616
  return t.codePointAt(r);
@@ -2624,7 +2624,7 @@ var tr = wi ? (
2624
2624
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2625
2625
  }
2626
2626
  }
2627
- ), Bi = Ci ? (
2627
+ ), Oi = Hi ? (
2628
2628
  // Native
2629
2629
  function(t) {
2630
2630
  return t.trimStart();
@@ -2632,9 +2632,9 @@ var tr = wi ? (
2632
2632
  ) : (
2633
2633
  // Ponyfill
2634
2634
  function(t) {
2635
- return t.replace(Ei, "");
2635
+ return t.replace(_i, "");
2636
2636
  }
2637
- ), Ii = Ai ? (
2637
+ ), Bi = Ci ? (
2638
2638
  // Native
2639
2639
  function(t) {
2640
2640
  return t.trimEnd();
@@ -2642,32 +2642,32 @@ var tr = wi ? (
2642
2642
  ) : (
2643
2643
  // Ponyfill
2644
2644
  function(t) {
2645
- return t.replace(xi, "");
2645
+ return t.replace(Ei, "");
2646
2646
  }
2647
2647
  );
2648
- function Xr(e, t) {
2648
+ function Vr(e, t) {
2649
2649
  return new RegExp(e, t);
2650
2650
  }
2651
- var _t;
2652
- if (yt) {
2653
- var nr = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
- _t = function(t, r) {
2651
+ var wt;
2652
+ if (Et) {
2653
+ var nr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
+ wt = function(t, r) {
2655
2655
  var n;
2656
2656
  nr.lastIndex = r;
2657
2657
  var i = nr.exec(t);
2658
2658
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2659
2659
  };
2660
2660
  } else
2661
- _t = function(t, r) {
2661
+ wt = function(t, r) {
2662
2662
  for (var n = []; ; ) {
2663
- var i = Vr(t, r);
2664
- if (i === void 0 || Wr(i) || Di(i))
2663
+ var i = kr(t, r);
2664
+ if (i === void 0 || Wr(i) || Ri(i))
2665
2665
  break;
2666
2666
  n.push(i), r += i >= 65536 ? 2 : 1;
2667
2667
  }
2668
- return vt.apply(void 0, n);
2668
+ return xt.apply(void 0, n);
2669
2669
  };
2670
- var Li = (
2670
+ var Ii = (
2671
2671
  /** @class */
2672
2672
  function() {
2673
2673
  function e(t, r) {
@@ -2698,7 +2698,7 @@ var Li = (
2698
2698
  if (n)
2699
2699
  break;
2700
2700
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2701
- } else if (o === 60 && !this.ignoreTag && Et(this.peek() || 0)) {
2701
+ } else if (o === 60 && !this.ignoreTag && St(this.peek() || 0)) {
2702
2702
  var s = this.parseTag(t, r);
2703
2703
  if (s.err)
2704
2704
  return s;
@@ -2731,7 +2731,7 @@ var Li = (
2731
2731
  return o;
2732
2732
  var s = o.val, a = this.clonePosition();
2733
2733
  if (this.bumpIf("</")) {
2734
- if (this.isEOF() || !Et(this.char()))
2734
+ if (this.isEOF() || !St(this.char()))
2735
2735
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
2736
2736
  var l = this.clonePosition(), u = this.parseTagName();
2737
2737
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2749,7 +2749,7 @@ var Li = (
2749
2749
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
2750
2750
  }, e.prototype.parseTagName = function() {
2751
2751
  var t = this.offset();
2752
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
2752
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
2753
2753
  this.bump();
2754
2754
  return this.message.slice(t, this.offset());
2755
2755
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2778,7 +2778,7 @@ var Li = (
2778
2778
  };
2779
2779
  }, e.prototype.tryParseLeftAngleBracket = function() {
2780
2780
  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;
2781
+ !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
2782
2782
  }, e.prototype.tryParseQuote = function(t) {
2783
2783
  if (this.isEOF() || this.char() !== 39)
2784
2784
  return null;
@@ -2812,12 +2812,12 @@ var Li = (
2812
2812
  r.push(n);
2813
2813
  this.bump();
2814
2814
  }
2815
- return vt.apply(void 0, r);
2815
+ return xt.apply(void 0, r);
2816
2816
  }, e.prototype.tryParseUnquoted = function(t, r) {
2817
2817
  if (this.isEOF())
2818
2818
  return null;
2819
2819
  var n = this.char();
2820
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
2820
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xt(n));
2821
2821
  }, e.prototype.parseArgument = function(t, r) {
2822
2822
  var n = this.clonePosition();
2823
2823
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2846,7 +2846,7 @@ var Li = (
2846
2846
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2847
2847
  }
2848
2848
  }, e.prototype.parseIdentifierIfPossible = function() {
2849
- var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
2849
+ var t = this.clonePosition(), r = this.offset(), n = wt(this.message, r), i = r + n.length;
2850
2850
  this.bumpTo(i);
2851
2851
  var o = this.clonePosition(), s = w(t, o);
2852
2852
  return { value: n, location: s };
@@ -2865,7 +2865,7 @@ var Li = (
2865
2865
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2866
2866
  if (f.err)
2867
2867
  return f;
2868
- var c = Ii(f.val);
2868
+ var c = Bi(f.val);
2869
2869
  if (c.length === 0)
2870
2870
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2871
2871
  var g = w(h, this.clonePosition());
@@ -2876,7 +2876,7 @@ var Li = (
2876
2876
  return b;
2877
2877
  var d = w(i, this.clonePosition());
2878
2878
  if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
2879
- var _ = Bi(u.style.slice(2));
2879
+ var _ = Oi(u.style.slice(2));
2880
2880
  if (a === "number") {
2881
2881
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2882
2882
  return f.err ? f : {
@@ -2887,12 +2887,12 @@ var Li = (
2887
2887
  if (_.length === 0)
2888
2888
  return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
2889
2889
  var E = _;
2890
- this.locale && (E = vi(_, this.locale));
2890
+ this.locale && (E = yi(_, this.locale));
2891
2891
  var c = {
2892
2892
  type: ce.dateTime,
2893
2893
  pattern: E,
2894
2894
  location: u.styleLocation,
2895
- parsedOptions: this.shouldParseSkeletons ? fi(E) : {}
2895
+ parsedOptions: this.shouldParseSkeletons ? ci(E) : {}
2896
2896
  }, p = a === "date" ? C.date : C.time;
2897
2897
  return {
2898
2898
  val: { type: p, value: n, location: d, style: c },
@@ -2915,7 +2915,7 @@ var Li = (
2915
2915
  case "select": {
2916
2916
  var S = this.clonePosition();
2917
2917
  if (this.bumpSpace(), !this.bumpIf(","))
2918
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, Qe({}, S)));
2918
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, qe({}, S)));
2919
2919
  this.bumpSpace();
2920
2920
  var y = this.parseIdentifierIfPossible(), A = 0;
2921
2921
  if (a !== "select" && y.value === "offset") {
@@ -2997,7 +2997,7 @@ var Li = (
2997
2997
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2998
2998
  var n = [];
2999
2999
  try {
3000
- n = mi(t);
3000
+ n = pi(t);
3001
3001
  } catch (i) {
3002
3002
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3003
3003
  }
@@ -3006,7 +3006,7 @@ var Li = (
3006
3006
  type: ce.number,
3007
3007
  tokens: n,
3008
3008
  location: r,
3009
- parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3009
+ parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3010
3010
  },
3011
3011
  err: null
3012
3012
  };
@@ -3054,7 +3054,7 @@ var Li = (
3054
3054
  break;
3055
3055
  }
3056
3056
  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);
3057
+ return o ? (s *= n, Pi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3058
3058
  }, e.prototype.offset = function() {
3059
3059
  return this.position.offset;
3060
3060
  }, e.prototype.isEOF = function() {
@@ -3069,7 +3069,7 @@ var Li = (
3069
3069
  var t = this.position.offset;
3070
3070
  if (t >= this.message.length)
3071
3071
  throw Error("out of bound");
3072
- var r = Vr(this.message, t);
3072
+ var r = kr(this.message, t);
3073
3073
  if (r === void 0)
3074
3074
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3075
3075
  return r;
@@ -3120,47 +3120,47 @@ var Li = (
3120
3120
  }, e;
3121
3121
  }()
3122
3122
  );
3123
- function Et(e) {
3123
+ function St(e) {
3124
3124
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3125
3125
  }
3126
- function Ni(e) {
3127
- return Et(e) || e === 47;
3126
+ function Li(e) {
3127
+ return St(e) || e === 47;
3128
3128
  }
3129
- function Ri(e) {
3129
+ function Ni(e) {
3130
3130
  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
3131
  }
3132
3132
  function Wr(e) {
3133
3133
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3134
3134
  }
3135
- function Di(e) {
3135
+ function Ri(e) {
3136
3136
  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
3137
  }
3138
- function xt(e) {
3138
+ function Tt(e) {
3139
3139
  e.forEach(function(t) {
3140
- if (delete t.location, Rr(t) || Dr(t))
3140
+ if (delete t.location, Nr(t) || Rr(t))
3141
3141
  for (var r in t.options)
3142
- delete t.options[r].location, xt(t.options[r].value);
3142
+ delete t.options[r].location, Tt(t.options[r].value);
3143
3143
  else
3144
- Ir(t) && Ur(t.style) || (Lr(t) || Nr(t)) && gt(t.style) ? delete t.style.location : $r(t) && xt(t.children);
3144
+ Br(t) && $r(t.style) || (Ir(t) || Lr(t)) && _t(t.style) ? delete t.style.location : Dr(t) && Tt(t.children);
3145
3145
  });
3146
3146
  }
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();
3147
+ function Di(e, t) {
3148
+ t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3149
+ var r = new Ii(e, t).parse();
3150
3150
  if (r.err) {
3151
3151
  var n = SyntaxError(x[r.err.kind]);
3152
3152
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3153
3153
  }
3154
- return t != null && t.captureLocation || xt(r.val), r.val;
3154
+ return t != null && t.captureLocation || Tt(r.val), r.val;
3155
3155
  }
3156
3156
  var fe;
3157
3157
  (function(e) {
3158
3158
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3159
3159
  })(fe || (fe = {}));
3160
- var tt = (
3160
+ var it = (
3161
3161
  /** @class */
3162
3162
  function(e) {
3163
- et(t, e);
3163
+ nt(t, e);
3164
3164
  function t(r, n, i) {
3165
3165
  var o = e.call(this, r) || this;
3166
3166
  return o.code = n, o.originalMessage = i, o;
@@ -3172,44 +3172,44 @@ var tt = (
3172
3172
  ), ir = (
3173
3173
  /** @class */
3174
3174
  function(e) {
3175
- et(t, e);
3175
+ nt(t, e);
3176
3176
  function t(r, n, i, o) {
3177
3177
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3178
3178
  }
3179
3179
  return t;
3180
- }(tt)
3181
- ), Ui = (
3180
+ }(it)
3181
+ ), $i = (
3182
3182
  /** @class */
3183
3183
  function(e) {
3184
- et(t, e);
3184
+ nt(t, e);
3185
3185
  function t(r, n, i) {
3186
3186
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3187
3187
  }
3188
3188
  return t;
3189
- }(tt)
3190
- ), Fi = (
3189
+ }(it)
3190
+ ), Ui = (
3191
3191
  /** @class */
3192
3192
  function(e) {
3193
- et(t, e);
3193
+ nt(t, e);
3194
3194
  function t(r, n) {
3195
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;
3196
3196
  }
3197
3197
  return t;
3198
- }(tt)
3198
+ }(it)
3199
3199
  ), I;
3200
3200
  (function(e) {
3201
3201
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3202
3202
  })(I || (I = {}));
3203
- function Gi(e) {
3203
+ function Fi(e) {
3204
3204
  return e.length < 2 ? e : e.reduce(function(t, r) {
3205
3205
  var n = t[t.length - 1];
3206
3206
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3207
3207
  }, []);
3208
3208
  }
3209
- function ji(e) {
3209
+ function Gi(e) {
3210
3210
  return typeof e == "function";
3211
3211
  }
3212
- function Ve(e, t, r, n, i, o, s) {
3212
+ function Xe(e, t, r, n, i, o, s) {
3213
3213
  if (e.length === 1 && Yt(e[0]))
3214
3214
  return [
3215
3215
  {
@@ -3226,7 +3226,7 @@ function Ve(e, t, r, n, i, o, s) {
3226
3226
  });
3227
3227
  continue;
3228
3228
  }
3229
- if (hi(h)) {
3229
+ if (li(h)) {
3230
3230
  typeof o == "number" && a.push({
3231
3231
  type: I.literal,
3232
3232
  value: r.getNumberFormat(t).format(o)
@@ -3235,44 +3235,44 @@ function Ve(e, t, r, n, i, o, s) {
3235
3235
  }
3236
3236
  var f = h.value;
3237
3237
  if (!(i && f in i))
3238
- throw new Fi(f, s);
3238
+ throw new Ui(f, s);
3239
3239
  var c = i[f];
3240
- if (li(h)) {
3240
+ if (ui(h)) {
3241
3241
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3242
3242
  type: typeof c == "string" ? I.literal : I.object,
3243
3243
  value: c
3244
3244
  });
3245
3245
  continue;
3246
3246
  }
3247
- if (Lr(h)) {
3248
- var g = typeof h.style == "string" ? n.date[h.style] : gt(h.style) ? h.style.parsedOptions : void 0;
3247
+ if (Ir(h)) {
3248
+ var g = typeof h.style == "string" ? n.date[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3249
3249
  a.push({
3250
3250
  type: I.literal,
3251
3251
  value: r.getDateTimeFormat(t, g).format(c)
3252
3252
  });
3253
3253
  continue;
3254
3254
  }
3255
- if (Nr(h)) {
3256
- var g = typeof h.style == "string" ? n.time[h.style] : gt(h.style) ? h.style.parsedOptions : n.time.medium;
3255
+ if (Lr(h)) {
3256
+ var g = typeof h.style == "string" ? n.time[h.style] : _t(h.style) ? h.style.parsedOptions : n.time.medium;
3257
3257
  a.push({
3258
3258
  type: I.literal,
3259
3259
  value: r.getDateTimeFormat(t, g).format(c)
3260
3260
  });
3261
3261
  continue;
3262
3262
  }
3263
- if (Ir(h)) {
3264
- var g = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3263
+ if (Br(h)) {
3264
+ var g = typeof h.style == "string" ? n.number[h.style] : $r(h.style) ? h.style.parsedOptions : void 0;
3265
3265
  g && g.scale && (c = c * (g.scale || 1)), a.push({
3266
3266
  type: I.literal,
3267
3267
  value: r.getNumberFormat(t, g).format(c)
3268
3268
  });
3269
3269
  continue;
3270
3270
  }
3271
- if ($r(h)) {
3271
+ if (Dr(h)) {
3272
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) {
3273
+ if (!Gi(_))
3274
+ throw new $i(d, "function", s);
3275
+ var E = Xe(b, t, r, n, i, o), p = _(E.map(function(A) {
3276
3276
  return A.value;
3277
3277
  }));
3278
3278
  Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(A) {
@@ -3282,18 +3282,18 @@ function Ve(e, t, r, n, i, o, s) {
3282
3282
  };
3283
3283
  }));
3284
3284
  }
3285
- if (Rr(h)) {
3285
+ if (Nr(h)) {
3286
3286
  var S = h.options[c] || h.options.other;
3287
3287
  if (!S)
3288
3288
  throw new ir(h.value, c, Object.keys(h.options), s);
3289
- a.push.apply(a, Ve(S.value, t, r, n, i));
3289
+ a.push.apply(a, Xe(S.value, t, r, n, i));
3290
3290
  continue;
3291
3291
  }
3292
- if (Dr(h)) {
3292
+ if (Rr(h)) {
3293
3293
  var S = h.options["=".concat(c)];
3294
3294
  if (!S) {
3295
3295
  if (!Intl.PluralRules)
3296
- throw new tt(`Intl.PluralRules is not available in this environment.
3296
+ throw new it(`Intl.PluralRules is not available in this environment.
3297
3297
  Try polyfilling it using "@formatjs/intl-pluralrules"
3298
3298
  `, fe.MISSING_INTL_API, s);
3299
3299
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
@@ -3301,23 +3301,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3301
3301
  }
3302
3302
  if (!S)
3303
3303
  throw new ir(h.value, c, Object.keys(h.options), s);
3304
- a.push.apply(a, Ve(S.value, t, r, n, i, c - (h.offset || 0)));
3304
+ a.push.apply(a, Xe(S.value, t, r, n, i, c - (h.offset || 0)));
3305
3305
  continue;
3306
3306
  }
3307
3307
  }
3308
- return Gi(a);
3308
+ return Fi(a);
3309
3309
  }
3310
- function ki(e, t) {
3310
+ function ji(e, t) {
3311
3311
  return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3312
3312
  return r[n] = j(j({}, e[n]), t[n] || {}), r;
3313
3313
  }, {})) : e;
3314
3314
  }
3315
- function Vi(e, t) {
3315
+ function ki(e, t) {
3316
3316
  return t ? Object.keys(e).reduce(function(r, n) {
3317
- return r[n] = ki(e[n], t[n]), r;
3317
+ return r[n] = ji(e[n], t[n]), r;
3318
3318
  }, j({}, e)) : e;
3319
3319
  }
3320
- function ft(e) {
3320
+ function dt(e) {
3321
3321
  return {
3322
3322
  create: function() {
3323
3323
  return {
@@ -3331,39 +3331,39 @@ function ft(e) {
3331
3331
  }
3332
3332
  };
3333
3333
  }
3334
- function Xi(e) {
3334
+ function Vi(e) {
3335
3335
  return e === void 0 && (e = {
3336
3336
  number: {},
3337
3337
  dateTime: {},
3338
3338
  pluralRules: {}
3339
3339
  }), {
3340
- getNumberFormat: lt(function() {
3340
+ getNumberFormat: ft(function() {
3341
3341
  for (var t, r = [], n = 0; n < arguments.length; n++)
3342
3342
  r[n] = arguments[n];
3343
- return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], r, !1)))();
3343
+ return new ((t = Intl.NumberFormat).bind.apply(t, ct([void 0], r, !1)))();
3344
3344
  }, {
3345
- cache: ft(e.number),
3346
- strategy: ht.variadic
3345
+ cache: dt(e.number),
3346
+ strategy: pt.variadic
3347
3347
  }),
3348
- getDateTimeFormat: lt(function() {
3348
+ getDateTimeFormat: ft(function() {
3349
3349
  for (var t, r = [], n = 0; n < arguments.length; n++)
3350
3350
  r[n] = arguments[n];
3351
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], r, !1)))();
3351
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ct([void 0], r, !1)))();
3352
3352
  }, {
3353
- cache: ft(e.dateTime),
3354
- strategy: ht.variadic
3353
+ cache: dt(e.dateTime),
3354
+ strategy: pt.variadic
3355
3355
  }),
3356
- getPluralRules: lt(function() {
3356
+ getPluralRules: ft(function() {
3357
3357
  for (var t, r = [], n = 0; n < arguments.length; n++)
3358
3358
  r[n] = arguments[n];
3359
- return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], r, !1)))();
3359
+ return new ((t = Intl.PluralRules).bind.apply(t, ct([void 0], r, !1)))();
3360
3360
  }, {
3361
- cache: ft(e.pluralRules),
3362
- strategy: ht.variadic
3361
+ cache: dt(e.pluralRules),
3362
+ strategy: pt.variadic
3363
3363
  })
3364
3364
  };
3365
3365
  }
3366
- var zr = (
3366
+ var Xr = (
3367
3367
  /** @class */
3368
3368
  function() {
3369
3369
  function e(t, r, n, i) {
@@ -3382,7 +3382,7 @@ var zr = (
3382
3382
  }, []);
3383
3383
  return h.length <= 1 ? h[0] || "" : h;
3384
3384
  }, this.formatToParts = function(l) {
3385
- return Ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3385
+ return Xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3386
3386
  }, this.resolvedOptions = function() {
3387
3387
  var l;
3388
3388
  return {
@@ -3395,13 +3395,13 @@ var zr = (
3395
3395
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3396
3396
  var s = i || {};
3397
3397
  s.formatters;
3398
- var a = ti(s, ["formatters"]);
3398
+ var a = ei(s, ["formatters"]);
3399
3399
  this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3400
3400
  } else
3401
3401
  this.ast = t;
3402
3402
  if (!Array.isArray(this.ast))
3403
3403
  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);
3404
+ this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3405
3405
  }
3406
3406
  return Object.defineProperty(e, "defaultLocale", {
3407
3407
  get: function() {
@@ -3414,7 +3414,7 @@ var zr = (
3414
3414
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3415
3415
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3416
3416
  }
3417
- }, e.__parse = $i, e.formats = {
3417
+ }, e.__parse = Di, e.formats = {
3418
3418
  number: {
3419
3419
  integer: {
3420
3420
  maximumFractionDigits: 0
@@ -3496,101 +3496,101 @@ function Wi(e, t) {
3496
3496
  n = void 0;
3497
3497
  return n;
3498
3498
  }
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) => {
3499
+ const Q = {}, Xi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), zr = (e, t) => {
3500
3500
  if (t == null)
3501
3501
  return;
3502
3502
  if (t in Q && e in Q[t])
3503
3503
  return Q[t][e];
3504
- const r = He(t);
3504
+ const r = Ae(t);
3505
3505
  for (let n = 0; n < r.length; n++) {
3506
- const i = r[n], o = Qi(i, e);
3506
+ const i = r[n], o = Zi(i, e);
3507
3507
  if (o)
3508
- return zi(e, t, o);
3508
+ return Xi(e, t, o);
3509
3509
  }
3510
3510
  };
3511
3511
  let Lt;
3512
- const Te = Ke({});
3513
- function Zi(e) {
3512
+ const Ce = rt({});
3513
+ function zi(e) {
3514
3514
  return Lt[e] || null;
3515
3515
  }
3516
- function Qr(e) {
3516
+ function Zr(e) {
3517
3517
  return e in Lt;
3518
3518
  }
3519
- function Qi(e, t) {
3520
- if (!Qr(e))
3519
+ function Zi(e, t) {
3520
+ if (!Zr(e))
3521
3521
  return null;
3522
- const r = Zi(e);
3522
+ const r = zi(e);
3523
3523
  return Wi(r, t);
3524
3524
  }
3525
- function Ji(e) {
3525
+ function Qi(e) {
3526
3526
  if (e == null)
3527
3527
  return;
3528
- const t = He(e);
3528
+ const t = Ae(e);
3529
3529
  for (let r = 0; r < t.length; r++) {
3530
3530
  const n = t[r];
3531
- if (Qr(n))
3531
+ if (Zr(n))
3532
3532
  return n;
3533
3533
  }
3534
3534
  }
3535
- function Jr(e, ...t) {
3536
- delete Q[e], Te.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
3535
+ function Qr(e, ...t) {
3536
+ delete Q[e], Ce.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
3537
3537
  }
3538
3538
  de(
3539
- [Te],
3539
+ [Ce],
3540
3540
  ([e]) => Object.keys(e)
3541
3541
  );
3542
- Te.subscribe((e) => Lt = e);
3543
- const Xe = {};
3544
- function Yi(e, t) {
3545
- Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3542
+ Ce.subscribe((e) => Lt = e);
3543
+ const ze = {};
3544
+ function Ji(e, t) {
3545
+ ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3546
3546
  }
3547
- function Yr(e) {
3548
- return Xe[e];
3547
+ function Jr(e) {
3548
+ return ze[e];
3549
3549
  }
3550
- function qi(e) {
3551
- return He(e).map((t) => {
3552
- const r = Yr(t);
3550
+ function Yi(e) {
3551
+ return Ae(e).map((t) => {
3552
+ const r = Jr(t);
3553
3553
  return [t, r ? [...r] : []];
3554
3554
  }).filter(([, t]) => t.length > 0);
3555
3555
  }
3556
- function Je(e) {
3557
- return e == null ? !1 : He(e).some(
3556
+ function Ke(e) {
3557
+ return e == null ? !1 : Ae(e).some(
3558
3558
  (t) => {
3559
3559
  var r;
3560
- return (r = Yr(t)) == null ? void 0 : r.size;
3560
+ return (r = Jr(t)) == null ? void 0 : r.size;
3561
3561
  }
3562
3562
  );
3563
3563
  }
3564
- function Ki(e, t) {
3564
+ function qi(e, t) {
3565
3565
  return Promise.all(
3566
- t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
3567
- ).then((n) => Jr(e, ...n));
3566
+ t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3567
+ ).then((n) => Qr(e, ...n));
3568
3568
  }
3569
3569
  const ve = {};
3570
- function qr(e) {
3571
- if (!Je(e))
3570
+ function Yr(e) {
3571
+ if (!Ke(e))
3572
3572
  return e in ve ? ve[e] : Promise.resolve();
3573
- const t = qi(e);
3573
+ const t = Yi(e);
3574
3574
  return ve[e] = Promise.all(
3575
3575
  t.map(
3576
- ([r, n]) => Ki(r, n)
3576
+ ([r, n]) => qi(r, n)
3577
3577
  )
3578
3578
  ).then(() => {
3579
- if (Je(e))
3580
- return qr(e);
3579
+ if (Ke(e))
3580
+ return Yr(e);
3581
3581
  delete ve[e];
3582
3582
  }), ve[e];
3583
3583
  }
3584
- var or = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, ro = (e, t) => {
3584
+ var or = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, to = (e, t) => {
3585
3585
  var r = {};
3586
3586
  for (var n in e)
3587
- eo.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3587
+ Ki.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3588
3588
  if (e != null && or)
3589
3589
  for (var n of or(e))
3590
- t.indexOf(n) < 0 && to.call(e, n) && (r[n] = e[n]);
3590
+ t.indexOf(n) < 0 && eo.call(e, n) && (r[n] = e[n]);
3591
3591
  return r;
3592
3592
  };
3593
- const no = {
3593
+ const ro = {
3594
3594
  number: {
3595
3595
  scientific: { notation: "scientific" },
3596
3596
  engineering: { notation: "engineering" },
@@ -3620,159 +3620,159 @@ const no = {
3620
3620
  }
3621
3621
  }
3622
3622
  };
3623
- function io({ locale: e, id: t }) {
3623
+ function no({ locale: e, id: t }) {
3624
3624
  console.warn(
3625
- `[svelte-i18n] The message "${t}" was not found in "${He(
3625
+ `[svelte-i18n] The message "${t}" was not found in "${Ae(
3626
3626
  e
3627
- ).join('", "')}".${Je(Y()) ? `
3627
+ ).join('", "')}".${Ke(Y()) ? `
3628
3628
 
3629
3629
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3630
3630
  );
3631
3631
  }
3632
- const oo = {
3632
+ const io = {
3633
3633
  fallbackLocale: null,
3634
3634
  loadingDelay: 200,
3635
- formats: no,
3635
+ formats: ro,
3636
3636
  warnOnMissingMessages: !0,
3637
3637
  handleMissingMessage: void 0,
3638
3638
  ignoreTag: !0
3639
- }, _e = oo;
3639
+ }, _e = io;
3640
3640
  function pe() {
3641
3641
  return _e;
3642
3642
  }
3643
- function so(e) {
3644
- const t = e, { formats: r } = t, n = ro(t, ["formats"]);
3643
+ function oo(e) {
3644
+ const t = e, { formats: r } = t, n = to(t, ["formats"]);
3645
3645
  let i = e.fallbackLocale;
3646
3646
  if (e.initialLocale)
3647
3647
  try {
3648
- zr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3648
+ Xr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3649
3649
  } catch (o) {
3650
3650
  console.warn(
3651
3651
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3652
3652
  );
3653
3653
  }
3654
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = io : console.warn(
3654
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = no : console.warn(
3655
3655
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3656
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);
3657
3657
  }
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) => {
3658
+ const bt = rt(!1);
3659
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
3660
3660
  for (var r in t || (t = {}))
3661
- ho.call(t, r) && ar(e, r, t[r]);
3661
+ lo.call(t, r) && ar(e, r, t[r]);
3662
3662
  if (sr)
3663
3663
  for (var r of sr(t))
3664
- co.call(t, r) && ar(e, r, t[r]);
3664
+ ho.call(t, r) && ar(e, r, t[r]);
3665
3665
  return e;
3666
- }, po = (e, t) => uo(e, lo(t));
3667
- let wt;
3668
- const Ye = Ke(null);
3666
+ }, fo = (e, t) => ao(e, uo(t));
3667
+ let Ht;
3668
+ const et = rt(null);
3669
3669
  function ur(e) {
3670
3670
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3671
3671
  }
3672
- function He(e, t = pe().fallbackLocale) {
3672
+ function Ae(e, t = pe().fallbackLocale) {
3673
3673
  const r = ur(e);
3674
3674
  return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
3675
3675
  }
3676
3676
  function Y() {
3677
- return wt != null ? wt : void 0;
3677
+ return Ht != null ? Ht : void 0;
3678
3678
  }
3679
- Ye.subscribe((e) => {
3680
- wt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3679
+ et.subscribe((e) => {
3680
+ Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3681
3681
  });
3682
- const mo = (e) => {
3683
- if (e && Ji(e) && Je(e)) {
3682
+ const po = (e) => {
3683
+ if (e && Qi(e) && Ke(e)) {
3684
3684
  const { loadingDelay: t } = pe();
3685
3685
  let r;
3686
3686
  return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3687
- () => pt.set(!0),
3687
+ () => bt.set(!0),
3688
3688
  t
3689
- ) : pt.set(!0), qr(e).then(() => {
3690
- Ye.set(e);
3689
+ ) : bt.set(!0), Yr(e).then(() => {
3690
+ et.set(e);
3691
3691
  }).finally(() => {
3692
- clearTimeout(r), pt.set(!1);
3692
+ clearTimeout(r), bt.set(!1);
3693
3693
  });
3694
3694
  }
3695
- return Ye.set(e);
3696
- }, te = po(fo({}, Ye), {
3697
- set: mo
3698
- }), rt = (e) => {
3695
+ return et.set(e);
3696
+ }, te = fo(co({}, et), {
3697
+ set: po
3698
+ }), ot = (e) => {
3699
3699
  const t = /* @__PURE__ */ Object.create(null);
3700
3700
  return (n) => {
3701
3701
  const i = JSON.stringify(n);
3702
3702
  return i in t ? t[i] : t[i] = e(n);
3703
3703
  };
3704
3704
  };
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) => {
3705
+ var mo = Object.defineProperty, tt = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
3706
3706
  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]);
3707
+ qr.call(t, r) && lr(e, r, t[r]);
3708
+ if (tt)
3709
+ for (var r of tt(t))
3710
+ Kr.call(t, r) && lr(e, r, t[r]);
3711
3711
  return e;
3712
3712
  }, be = (e, t) => {
3713
3713
  var r = {};
3714
3714
  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]);
3715
+ qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3716
+ if (e != null && tt)
3717
+ for (var n of tt(e))
3718
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
3719
3719
  return r;
3720
3720
  };
3721
- const Se = (e, t) => {
3721
+ const He = (e, t) => {
3722
3722
  const { formats: r } = pe();
3723
3723
  if (e in r && t in r[e])
3724
3724
  return r[e][t];
3725
3725
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3726
- }, go = rt(
3726
+ }, bo = ot(
3727
3727
  (e) => {
3728
3728
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3729
3729
  if (r == null)
3730
3730
  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);
3731
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
3732
3732
  }
3733
- ), yo = rt(
3733
+ ), go = ot(
3734
3734
  (e) => {
3735
3735
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3736
3736
  if (r == null)
3737
3737
  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);
3738
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
3739
3739
  }
3740
- ), vo = rt(
3740
+ ), yo = ot(
3741
3741
  (e) => {
3742
3742
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3743
3743
  if (r == null)
3744
3744
  throw new Error(
3745
3745
  '[svelte-i18n] A "locale" must be set to format time values'
3746
3746
  );
3747
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3747
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
3748
3748
  }
3749
- ), _o = (e = {}) => {
3749
+ ), vo = (e = {}) => {
3750
3750
  var t = e, {
3751
3751
  locale: r = Y()
3752
3752
  } = t, n = be(t, [
3753
3753
  "locale"
3754
3754
  ]);
3755
- return go(Nt({ locale: r }, n));
3756
- }, Eo = (e = {}) => {
3755
+ return bo(Nt({ locale: r }, n));
3756
+ }, _o = (e = {}) => {
3757
3757
  var t = e, {
3758
3758
  locale: r = Y()
3759
3759
  } = t, n = be(t, [
3760
3760
  "locale"
3761
3761
  ]);
3762
- return yo(Nt({ locale: r }, n));
3763
- }, xo = (e = {}) => {
3762
+ return go(Nt({ locale: r }, n));
3763
+ }, Eo = (e = {}) => {
3764
3764
  var t = e, {
3765
3765
  locale: r = Y()
3766
3766
  } = t, n = be(t, [
3767
3767
  "locale"
3768
3768
  ]);
3769
- return vo(Nt({ locale: r }, n));
3770
- }, wo = rt(
3769
+ return yo(Nt({ locale: r }, n));
3770
+ }, xo = ot(
3771
3771
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3772
- (e, t = Y()) => new zr(e, t, pe().formats, {
3772
+ (e, t = Y()) => new Xr(e, t, pe().formats, {
3773
3773
  ignoreTag: pe().ignoreTag
3774
3774
  })
3775
- ), So = (e, t = {}) => {
3775
+ ), wo = (e, t = {}) => {
3776
3776
  var r, n, i, o;
3777
3777
  let s = t;
3778
3778
  typeof e == "object" && (s = e, e = s.id);
@@ -3785,7 +3785,7 @@ const Se = (e, t) => {
3785
3785
  throw new Error(
3786
3786
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3787
3787
  );
3788
- let h = Zr(e, l);
3788
+ let h = zr(e, l);
3789
3789
  if (!h)
3790
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;
3791
3791
  else if (typeof h != "string")
@@ -3796,7 +3796,7 @@ const Se = (e, t) => {
3796
3796
  return h;
3797
3797
  let f = h;
3798
3798
  try {
3799
- f = wo(h, l).format(a);
3799
+ f = xo(h, l).format(a);
3800
3800
  } catch (c) {
3801
3801
  c instanceof Error && console.warn(
3802
3802
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3804,26 +3804,26 @@ const Se = (e, t) => {
3804
3804
  );
3805
3805
  }
3806
3806
  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);
3807
+ }, So = (e, t) => Eo(t).format(e), To = (e, t) => _o(t).format(e), Ho = (e, t) => vo(t).format(e), Co = (e, t = Y()) => zr(e, t), Ao = de([te, Ce], () => wo);
3808
+ de([te], () => So);
3808
3809
  de([te], () => To);
3809
3810
  de([te], () => Ho);
3810
- de([te], () => Co);
3811
- de([te, Te], () => Ao);
3811
+ de([te, Ce], () => Co);
3812
3812
  function hr(e, t) {
3813
- Jr(e, t);
3813
+ Qr(e, t);
3814
3814
  }
3815
- function Mo(e) {
3816
- so({
3815
+ function Po(e) {
3816
+ oo({
3817
3817
  fallbackLocale: "en"
3818
3818
  }), te.set(e);
3819
3819
  }
3820
- function Oo(e, t) {
3820
+ function Mo(e, t) {
3821
3821
  if (e) {
3822
3822
  const r = document.createElement("style");
3823
3823
  r.innerHTML = t, e.appendChild(r);
3824
3824
  }
3825
3825
  }
3826
- function Bo(e, t) {
3826
+ function Oo(e, t) {
3827
3827
  if (!e || !t)
3828
3828
  return;
3829
3829
  const r = new URL(t);
@@ -3834,7 +3834,7 @@ function Bo(e, t) {
3834
3834
  console.error("There was an error while trying to load client styling from URL", n);
3835
3835
  });
3836
3836
  }
3837
- function Io(e, t, r) {
3837
+ function Bo(e, t, r) {
3838
3838
  if (window.emMessageBus) {
3839
3839
  const n = document.createElement("style");
3840
3840
  window.emMessageBus.subscribe(t, (i) => {
@@ -3856,24 +3856,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3856
3856
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3857
3857
  PERFORMANCE OF THIS SOFTWARE.
3858
3858
  ***************************************************************************** */
3859
- var St = function(e, t) {
3860
- return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3859
+ var Ct = function(e, t) {
3860
+ return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3861
3861
  r.__proto__ = n;
3862
3862
  } || function(r, n) {
3863
3863
  for (var i in n)
3864
3864
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3865
- }, St(e, t);
3865
+ }, Ct(e, t);
3866
3866
  };
3867
- function Ce(e, t) {
3867
+ function Pe(e, t) {
3868
3868
  if (typeof t != "function" && t !== null)
3869
3869
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3870
- St(e, t);
3870
+ Ct(e, t);
3871
3871
  function r() {
3872
3872
  this.constructor = e;
3873
3873
  }
3874
3874
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3875
3875
  }
3876
- function Tt(e) {
3876
+ function At(e) {
3877
3877
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3878
3878
  if (r)
3879
3879
  return r.call(e);
@@ -3885,7 +3885,7 @@ function Tt(e) {
3885
3885
  };
3886
3886
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3887
3887
  }
3888
- function Ht(e, t) {
3888
+ function Pt(e, t) {
3889
3889
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3890
3890
  if (!r)
3891
3891
  return e;
@@ -3905,22 +3905,22 @@ function Ht(e, t) {
3905
3905
  }
3906
3906
  return o;
3907
3907
  }
3908
- function Ct(e, t, r) {
3908
+ function Mt(e, t, r) {
3909
3909
  if (arguments.length === 2)
3910
3910
  for (var n = 0, i = t.length, o; n < i; n++)
3911
3911
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3912
3912
  return e.concat(o || t);
3913
3913
  }
3914
- function W(e) {
3914
+ function X(e) {
3915
3915
  return typeof e == "function";
3916
3916
  }
3917
- function tn(e) {
3917
+ function en(e) {
3918
3918
  var t = function(n) {
3919
3919
  Error.call(n), n.stack = new Error().stack;
3920
3920
  }, r = e(t);
3921
3921
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3922
3922
  }
3923
- var mt = tn(function(e) {
3923
+ var gt = en(function(e) {
3924
3924
  return function(r) {
3925
3925
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3926
3926
  ` + r.map(function(n, i) {
@@ -3929,13 +3929,13 @@ var mt = tn(function(e) {
3929
3929
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3930
3930
  };
3931
3931
  });
3932
- function At(e, t) {
3932
+ function Ot(e, t) {
3933
3933
  if (e) {
3934
3934
  var r = e.indexOf(t);
3935
3935
  0 <= r && e.splice(r, 1);
3936
3936
  }
3937
3937
  }
3938
- var nt = function() {
3938
+ var st = function() {
3939
3939
  function e(t) {
3940
3940
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3941
3941
  }
@@ -3947,7 +3947,7 @@ var nt = function() {
3947
3947
  if (s)
3948
3948
  if (this._parentage = null, Array.isArray(s))
3949
3949
  try {
3950
- for (var a = Tt(s), l = a.next(); !l.done; l = a.next()) {
3950
+ for (var a = At(s), l = a.next(); !l.done; l = a.next()) {
3951
3951
  var u = l.value;
3952
3952
  u.remove(this);
3953
3953
  }
@@ -3964,22 +3964,22 @@ var nt = function() {
3964
3964
  else
3965
3965
  s.remove(this);
3966
3966
  var h = this.initialTeardown;
3967
- if (W(h))
3967
+ if (X(h))
3968
3968
  try {
3969
3969
  h();
3970
3970
  } catch (d) {
3971
- o = d instanceof mt ? d.errors : [d];
3971
+ o = d instanceof gt ? d.errors : [d];
3972
3972
  }
3973
3973
  var f = this._finalizers;
3974
3974
  if (f) {
3975
3975
  this._finalizers = null;
3976
3976
  try {
3977
- for (var c = Tt(f), g = c.next(); !g.done; g = c.next()) {
3977
+ for (var c = At(f), g = c.next(); !g.done; g = c.next()) {
3978
3978
  var b = g.value;
3979
3979
  try {
3980
3980
  cr(b);
3981
3981
  } catch (d) {
3982
- o = o != null ? o : [], d instanceof mt ? o = Ct(Ct([], Ht(o)), Ht(d.errors)) : o.push(d);
3982
+ o = o != null ? o : [], d instanceof gt ? o = Mt(Mt([], Pt(o)), Pt(d.errors)) : o.push(d);
3983
3983
  }
3984
3984
  }
3985
3985
  } catch (d) {
@@ -3994,7 +3994,7 @@ var nt = function() {
3994
3994
  }
3995
3995
  }
3996
3996
  if (o)
3997
- throw new mt(o);
3997
+ throw new gt(o);
3998
3998
  }
3999
3999
  }, e.prototype.add = function(t) {
4000
4000
  var r;
@@ -4017,52 +4017,52 @@ var nt = function() {
4017
4017
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4018
4018
  }, e.prototype._removeParent = function(t) {
4019
4019
  var r = this._parentage;
4020
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
4020
+ r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
4021
4021
  }, e.prototype.remove = function(t) {
4022
4022
  var r = this._finalizers;
4023
- r && At(r, t), t instanceof e && t._removeParent(this);
4023
+ r && Ot(r, t), t instanceof e && t._removeParent(this);
4024
4024
  }, e.EMPTY = function() {
4025
4025
  var t = new e();
4026
4026
  return t.closed = !0, t;
4027
4027
  }(), 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);
4028
+ }(), tn = st.EMPTY;
4029
+ function rn(e) {
4030
+ return e instanceof st || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
4031
4031
  }
4032
4032
  function cr(e) {
4033
- W(e) ? e() : e.unsubscribe();
4033
+ X(e) ? e() : e.unsubscribe();
4034
4034
  }
4035
- var Lo = {
4035
+ var Io = {
4036
4036
  Promise: void 0
4037
- }, No = {
4037
+ }, Lo = {
4038
4038
  setTimeout: function(e, t) {
4039
4039
  for (var r = [], n = 2; n < arguments.length; n++)
4040
4040
  r[n - 2] = arguments[n];
4041
- return setTimeout.apply(void 0, Ct([e, t], Ht(r)));
4041
+ return setTimeout.apply(void 0, Mt([e, t], Pt(r)));
4042
4042
  },
4043
4043
  clearTimeout: function(e) {
4044
4044
  return clearTimeout(e);
4045
4045
  },
4046
4046
  delegate: void 0
4047
4047
  };
4048
- function Ro(e) {
4049
- No.setTimeout(function() {
4048
+ function No(e) {
4049
+ Lo.setTimeout(function() {
4050
4050
  throw e;
4051
4051
  });
4052
4052
  }
4053
4053
  function fr() {
4054
4054
  }
4055
- function We(e) {
4055
+ function Ze(e) {
4056
4056
  e();
4057
4057
  }
4058
- var on = function(e) {
4059
- Ce(t, e);
4058
+ var nn = function(e) {
4059
+ Pe(t, e);
4060
4060
  function t(r) {
4061
4061
  var n = e.call(this) || this;
4062
- return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = Uo, n;
4062
+ return n.isStopped = !1, r ? (n.destination = r, rn(r) && r.add(n)) : n.destination = $o, n;
4063
4063
  }
4064
4064
  return t.create = function(r, n, i) {
4065
- return new Pt(r, n, i);
4065
+ return new Bt(r, n, i);
4066
4066
  }, t.prototype.next = function(r) {
4067
4067
  this.isStopped || this._next(r);
4068
4068
  }, t.prototype.error = function(r) {
@@ -4086,7 +4086,7 @@ var on = function(e) {
4086
4086
  this.unsubscribe();
4087
4087
  }
4088
4088
  }, t;
4089
- }(nt), Do = function() {
4089
+ }(st), Ro = function() {
4090
4090
  function e(t) {
4091
4091
  this.partialObserver = t;
4092
4092
  }
@@ -4096,7 +4096,7 @@ var on = function(e) {
4096
4096
  try {
4097
4097
  r.next(t);
4098
4098
  } catch (n) {
4099
- Fe(n);
4099
+ je(n);
4100
4100
  }
4101
4101
  }, e.prototype.error = function(t) {
4102
4102
  var r = this.partialObserver;
@@ -4104,50 +4104,50 @@ var on = function(e) {
4104
4104
  try {
4105
4105
  r.error(t);
4106
4106
  } catch (n) {
4107
- Fe(n);
4107
+ je(n);
4108
4108
  }
4109
4109
  else
4110
- Fe(t);
4110
+ je(t);
4111
4111
  }, e.prototype.complete = function() {
4112
4112
  var t = this.partialObserver;
4113
4113
  if (t.complete)
4114
4114
  try {
4115
4115
  t.complete();
4116
4116
  } catch (r) {
4117
- Fe(r);
4117
+ je(r);
4118
4118
  }
4119
4119
  }, e;
4120
- }(), Pt = function(e) {
4121
- Ce(t, e);
4120
+ }(), Bt = function(e) {
4121
+ Pe(t, e);
4122
4122
  function t(r, n, i) {
4123
4123
  var o = e.call(this) || this, s;
4124
- return W(r) || !r ? s = {
4124
+ return X(r) || !r ? s = {
4125
4125
  next: r != null ? r : void 0,
4126
4126
  error: n != null ? n : void 0,
4127
4127
  complete: i != null ? i : void 0
4128
- } : s = r, o.destination = new Do(s), o;
4128
+ } : s = r, o.destination = new Ro(s), o;
4129
4129
  }
4130
4130
  return t;
4131
- }(on);
4132
- function Fe(e) {
4133
- Ro(e);
4131
+ }(nn);
4132
+ function je(e) {
4133
+ No(e);
4134
4134
  }
4135
- function $o(e) {
4135
+ function Do(e) {
4136
4136
  throw e;
4137
4137
  }
4138
- var Uo = {
4138
+ var $o = {
4139
4139
  closed: !0,
4140
4140
  next: fr,
4141
- error: $o,
4141
+ error: Do,
4142
4142
  complete: fr
4143
- }, Fo = function() {
4143
+ }, Uo = function() {
4144
4144
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4145
4145
  }();
4146
- function Go(e) {
4146
+ function Fo(e) {
4147
4147
  return e;
4148
4148
  }
4149
- function jo(e) {
4150
- return e.length === 0 ? Go : e.length === 1 ? e[0] : function(r) {
4149
+ function Go(e) {
4150
+ return e.length === 0 ? Fo : e.length === 1 ? e[0] : function(r) {
4151
4151
  return e.reduce(function(n, i) {
4152
4152
  return i(n);
4153
4153
  }, r);
@@ -4161,8 +4161,8 @@ var pr = function() {
4161
4161
  var r = new e();
4162
4162
  return r.source = this, r.operator = t, r;
4163
4163
  }, e.prototype.subscribe = function(t, r, n) {
4164
- var i = this, o = Vo(t) ? t : new Pt(t, r, n);
4165
- return We(function() {
4164
+ var i = this, o = ko(t) ? t : new Bt(t, r, n);
4165
+ return Ze(function() {
4166
4166
  var s = i, a = s.operator, l = s.source;
4167
4167
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4168
4168
  }), o;
@@ -4175,7 +4175,7 @@ var pr = function() {
4175
4175
  }, e.prototype.forEach = function(t, r) {
4176
4176
  var n = this;
4177
4177
  return r = mr(r), new r(function(i, o) {
4178
- var s = new Pt({
4178
+ var s = new Bt({
4179
4179
  next: function(a) {
4180
4180
  try {
4181
4181
  t(a);
@@ -4191,12 +4191,12 @@ var pr = function() {
4191
4191
  }, e.prototype._subscribe = function(t) {
4192
4192
  var r;
4193
4193
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4194
- }, e.prototype[Fo] = function() {
4194
+ }, e.prototype[Uo] = function() {
4195
4195
  return this;
4196
4196
  }, e.prototype.pipe = function() {
4197
4197
  for (var t = [], r = 0; r < arguments.length; r++)
4198
4198
  t[r] = arguments[r];
4199
- return jo(t)(this);
4199
+ return Go(t)(this);
4200
4200
  }, e.prototype.toPromise = function(t) {
4201
4201
  var r = this;
4202
4202
  return t = mr(t), new t(function(n, i) {
@@ -4215,20 +4215,20 @@ var pr = function() {
4215
4215
  }();
4216
4216
  function mr(e) {
4217
4217
  var t;
4218
- return (t = e != null ? e : Lo.Promise) !== null && t !== void 0 ? t : Promise;
4218
+ return (t = e != null ? e : Io.Promise) !== null && t !== void 0 ? t : Promise;
4219
4219
  }
4220
- function ko(e) {
4221
- return e && W(e.next) && W(e.error) && W(e.complete);
4220
+ function jo(e) {
4221
+ return e && X(e.next) && X(e.error) && X(e.complete);
4222
4222
  }
4223
- function Vo(e) {
4224
- return e && e instanceof on || ko(e) && nn(e);
4223
+ function ko(e) {
4224
+ return e && e instanceof nn || jo(e) && rn(e);
4225
4225
  }
4226
- var Xo = tn(function(e) {
4226
+ var Vo = en(function(e) {
4227
4227
  return function() {
4228
4228
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4229
4229
  };
4230
- }), sn = function(e) {
4231
- Ce(t, e);
4230
+ }), on = function(e) {
4231
+ Pe(t, e);
4232
4232
  function t() {
4233
4233
  var r = e.call(this) || this;
4234
4234
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4238,15 +4238,15 @@ var Xo = tn(function(e) {
4238
4238
  return n.operator = r, n;
4239
4239
  }, t.prototype._throwIfClosed = function() {
4240
4240
  if (this.closed)
4241
- throw new Xo();
4241
+ throw new Vo();
4242
4242
  }, t.prototype.next = function(r) {
4243
4243
  var n = this;
4244
- We(function() {
4244
+ Ze(function() {
4245
4245
  var i, o;
4246
4246
  if (n._throwIfClosed(), !n.isStopped) {
4247
4247
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4248
4248
  try {
4249
- for (var s = Tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4249
+ for (var s = At(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4250
4250
  var l = a.value;
4251
4251
  l.next(r);
4252
4252
  }
@@ -4264,7 +4264,7 @@ var Xo = tn(function(e) {
4264
4264
  });
4265
4265
  }, t.prototype.error = function(r) {
4266
4266
  var n = this;
4267
- We(function() {
4267
+ Ze(function() {
4268
4268
  if (n._throwIfClosed(), !n.isStopped) {
4269
4269
  n.hasError = n.isStopped = !0, n.thrownError = r;
4270
4270
  for (var i = n.observers; i.length; )
@@ -4273,7 +4273,7 @@ var Xo = tn(function(e) {
4273
4273
  });
4274
4274
  }, t.prototype.complete = function() {
4275
4275
  var r = this;
4276
- We(function() {
4276
+ Ze(function() {
4277
4277
  if (r._throwIfClosed(), !r.isStopped) {
4278
4278
  r.isStopped = !0;
4279
4279
  for (var n = r.observers; n.length; )
@@ -4295,8 +4295,8 @@ var Xo = tn(function(e) {
4295
4295
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4296
4296
  }, t.prototype._innerSubscribe = function(r) {
4297
4297
  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);
4298
+ return o || s ? tn : (this.currentObservers = null, a.push(r), new st(function() {
4299
+ n.currentObservers = null, Ot(a, r);
4300
4300
  }));
4301
4301
  }, t.prototype._checkFinalizedStatuses = function(r) {
4302
4302
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -4308,7 +4308,7 @@ var Xo = tn(function(e) {
4308
4308
  return new dr(r, n);
4309
4309
  }, t;
4310
4310
  }(pr), dr = function(e) {
4311
- Ce(t, e);
4311
+ Pe(t, e);
4312
4312
  function t(r, n) {
4313
4313
  var i = e.call(this) || this;
4314
4314
  return i.destination = r, i.source = n, i;
@@ -4324,17 +4324,17 @@ var Xo = tn(function(e) {
4324
4324
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4325
4325
  }, t.prototype._subscribe = function(r) {
4326
4326
  var n, i;
4327
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rn;
4327
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tn;
4328
4328
  }, t;
4329
- }(sn), an = {
4329
+ }(on), sn = {
4330
4330
  now: function() {
4331
- return (an.delegate || Date).now();
4331
+ return (sn.delegate || Date).now();
4332
4332
  },
4333
4333
  delegate: void 0
4334
4334
  }, Wo = function(e) {
4335
- Ce(t, e);
4335
+ Pe(t, e);
4336
4336
  function t(r, n, i) {
4337
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4337
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sn);
4338
4338
  var o = e.call(this) || this;
4339
4339
  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
4340
  }
@@ -4354,44 +4354,44 @@ var Xo = tn(function(e) {
4354
4354
  u && o.splice(0, u + 1);
4355
4355
  }
4356
4356
  }, t;
4357
- }(sn);
4358
- const br = [], gr = {}, zo = (e, t = 0) => {
4357
+ }(on);
4358
+ const br = [], gr = {}, Xo = (e, t = 0) => {
4359
4359
  if (br.indexOf(e) == -1) {
4360
4360
  const r = new Wo(t);
4361
4361
  gr[e] = r, br.push(e);
4362
4362
  }
4363
4363
  return gr[e];
4364
4364
  };
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 }) => {
4369
- try {
4370
- return new Intl.NumberFormat(e, t);
4371
- } catch (n) {
4372
- return console.info(n), new Intl.NumberFormat(e, {
4373
- minimumFractionDigits: t.minimumFractionDigits,
4374
- maximumFractionDigits: t.maximumFractionDigits
4375
- });
4376
- }
4377
- }, Ge = (e, t, r = {}, n = !0) => {
4378
- const i = Ne(Ne({
4379
- maximumFractionDigits: Ot,
4380
- minimumFractionDigits: Ot
4365
+ let Qe = "en-UK", an = "true", Ee = 0, xe = "";
4366
+ const zo = (e, t, r, n) => {
4367
+ Qe = e || "en-UK", an = t || "true", Ee = +n || 0, xe = r || "";
4368
+ }, ke = (e, t, r = {}, n = !0) => {
4369
+ const i = De(De({
4370
+ maximumFractionDigits: Ee,
4371
+ minimumFractionDigits: Ee
4381
4372
  }, n && {
4382
4373
  style: "currency",
4383
4374
  currency: t,
4384
- currencyDisplay: un === "true" ? "symbol" : "code"
4375
+ currencyDisplay: an === "true" ? "symbol" : "code"
4385
4376
  }), 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 || ""}`;
4377
+ try {
4378
+ if (!xe)
4379
+ return new Intl.NumberFormat(Qe, i).format(e);
4380
+ const s = new Intl.NumberFormat(Qe, i).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, l = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4381
+ return xe === "before" ? `${a.value || i.currency || ""} ${l}` : `${l} ${a.value || i.currency || ""}`;
4382
+ } catch (o) {
4383
+ console.info(o);
4384
+ const s = new Intl.NumberFormat(Qe, {
4385
+ maximumFractionDigits: Ee,
4386
+ minimumFractionDigits: Ee
4387
+ }).format(e);
4388
+ return xe ? xe === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4389
+ }
4390
4390
  };
4391
- window.emWidgets = { topic: zo };
4392
- 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));
4391
+ window.emWidgets = { topic: Xo };
4392
+ const Ve = (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
4393
  String(Number.MAX_SAFE_INTEGER).length;
4394
- const vr = {
4394
+ const yr = {
4395
4395
  en: {
4396
4396
  generalMin: "Min",
4397
4397
  generalMax: "Max",
@@ -4417,18 +4417,18 @@ const vr = {
4417
4417
  carouselSubtitle: "En popüler ödeme yöntemleri"
4418
4418
  }
4419
4419
  };
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)}');
4420
+ function Zo(e) {
4421
+ dn(e, "svelte-tpnzvm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding: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
4422
  }
4423
- function _r(e, t, r) {
4423
+ function vr(e, t, r) {
4424
4424
  const n = e.slice();
4425
4425
  return n[40] = t[r], n[42] = r, n;
4426
4426
  }
4427
- function Er(e, t, r) {
4427
+ function _r(e, t, r) {
4428
4428
  const n = e.slice();
4429
4429
  return n[43] = t[r], n[42] = r, n;
4430
4430
  }
4431
- function Jo(e) {
4431
+ function Qo(e) {
4432
4432
  let t, r = (
4433
4433
  /*$_*/
4434
4434
  e[8]("noFavoritePaymentMethods") + ""
@@ -4443,34 +4443,34 @@ function Jo(e) {
4443
4443
  p(i, o) {
4444
4444
  o[0] & /*$_*/
4445
4445
  256 && r !== (r = /*$_*/
4446
- i[8]("noFavoritePaymentMethods") + "") && X(n, r);
4446
+ i[8]("noFavoritePaymentMethods") + "") && W(n, r);
4447
4447
  },
4448
4448
  d(i) {
4449
4449
  i && U(t);
4450
4450
  }
4451
4451
  };
4452
4452
  }
4453
- function Yo(e) {
4454
- let t, r = !je(
4453
+ function Jo(e) {
4454
+ let t, r = !Ve(
4455
4455
  /*userAgent*/
4456
4456
  e[9]
4457
4457
  ) && /*promotedPaymentMethods*/
4458
- e[5].length > 1, n, i, o, s = !je(
4458
+ e[5].length > 1, n, i, o, s = !Ve(
4459
4459
  /*userAgent*/
4460
4460
  e[9]
4461
4461
  ) && /*promotedPaymentMethods*/
4462
- e[5].length > 1, a, l, u, h, f, c = r && xr(e), g = $e(
4462
+ e[5].length > 1, a, l, u, h, f, c = r && Er(e), g = Fe(
4463
4463
  /*promotedPaymentMethods*/
4464
4464
  e[5]
4465
4465
  ), b = [];
4466
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(
4467
+ b[p] = xr(_r(e, g, p));
4468
+ let d = s && wr(e), _ = Fe(Array(
4469
4469
  /*promotedPaymentMethods*/
4470
4470
  e[5].length
4471
4471
  )), E = [];
4472
4472
  for (let p = 0; p < _.length; p += 1)
4473
- E[p] = Tr(_r(e, _, p));
4473
+ E[p] = Sr(vr(e, _, p));
4474
4474
  return {
4475
4475
  c() {
4476
4476
  t = T("div"), c && c.c(), n = $(), i = T("div");
@@ -4479,7 +4479,7 @@ function Yo(e) {
4479
4479
  o = $(), d && d.c(), l = $(), u = T("div");
4480
4480
  for (let p = 0; p < E.length; p += 1)
4481
4481
  E[p].c();
4482
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ze(() => (
4482
+ P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ye(() => (
4483
4483
  /*div1_elementresize_handler*/
4484
4484
  e[28].call(t)
4485
4485
  )), P(u, "class", "VisualDotIndicator");
@@ -4488,7 +4488,7 @@ function Yo(e) {
4488
4488
  k(p, t, S), c && c.m(t, null), v(t, n), v(t, i);
4489
4489
  for (let y = 0; y < b.length; y += 1)
4490
4490
  b[y] && b[y].m(i, null);
4491
- e[26](i), v(t, o), d && d.m(t, null), a = En(
4491
+ e[26](i), v(t, o), d && d.m(t, null), a = _n(
4492
4492
  t,
4493
4493
  /*div1_elementresize_handler*/
4494
4494
  e[28].bind(t)
@@ -4518,40 +4518,40 @@ function Yo(e) {
4518
4518
  },
4519
4519
  p(p, S) {
4520
4520
  if (S[0] & /*promotedPaymentMethods*/
4521
- 32 && (r = !je(
4521
+ 32 && (r = !Ve(
4522
4522
  /*userAgent*/
4523
4523
  p[9]
4524
4524
  ) && /*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*/
4525
+ p[5].length > 1), r ? c ? c.p(p, S) : (c = Er(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4526
4526
  1521) {
4527
- g = $e(
4527
+ g = Fe(
4528
4528
  /*promotedPaymentMethods*/
4529
4529
  p[5]
4530
4530
  );
4531
4531
  let y;
4532
4532
  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));
4533
+ const A = _r(p, g, y);
4534
+ b[y] ? b[y].p(A, S) : (b[y] = xr(A), b[y].c(), b[y].m(i, null));
4535
4535
  }
4536
4536
  for (; y < b.length; y += 1)
4537
4537
  b[y].d(1);
4538
4538
  b.length = g.length;
4539
4539
  }
4540
4540
  if (S[0] & /*promotedPaymentMethods*/
4541
- 32 && (s = !je(
4541
+ 32 && (s = !Ve(
4542
4542
  /*userAgent*/
4543
4543
  p[9]
4544
4544
  ) && /*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*/
4545
+ p[5].length > 1), s ? d ? d.p(p, S) : (d = wr(p), d.c(), d.m(t, null)) : d && (d.d(1), d = null), S[0] & /*activeIndex, promotedPaymentMethods*/
4546
4546
  96) {
4547
- _ = $e(Array(
4547
+ _ = Fe(Array(
4548
4548
  /*promotedPaymentMethods*/
4549
4549
  p[5].length
4550
4550
  ));
4551
4551
  let y;
4552
4552
  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));
4553
+ const A = vr(p, _, y);
4554
+ E[y] ? E[y].p(A, S) : (E[y] = Sr(A), E[y].c(), E[y].m(u, null));
4555
4555
  }
4556
4556
  for (; y < E.length; y += 1)
4557
4557
  E[y].d(1);
@@ -4563,7 +4563,7 @@ function Yo(e) {
4563
4563
  }
4564
4564
  };
4565
4565
  }
4566
- function xr(e) {
4566
+ function Er(e) {
4567
4567
  let t, r, n;
4568
4568
  return {
4569
4569
  c() {
@@ -4583,8 +4583,8 @@ function xr(e) {
4583
4583
  }
4584
4584
  };
4585
4585
  }
4586
- function wr(e) {
4587
- var Be, Ie, Le, m, O, B, Z, oe;
4586
+ function xr(e) {
4587
+ var Le, Ne, Re, m, O, B, Z, oe;
4588
4588
  let t, r, n, i, o, s, a, l, u, h = (
4589
4589
  /*method*/
4590
4590
  (e[43].Label || /*method*/
@@ -4597,7 +4597,7 @@ function wr(e) {
4597
4597
  ), _, E, p, S, y, A = (
4598
4598
  /*$_*/
4599
4599
  e[8]("generalMin") + ""
4600
- ), H, F, re = Ge(
4600
+ ), H, F, re = ke(
4601
4601
  /*method*/
4602
4602
  e[43].DisplayCurrency.MinAmountLimit,
4603
4603
  /*method*/
@@ -4607,7 +4607,7 @@ function wr(e) {
4607
4607
  /*precisionCurrenciesMap*/
4608
4608
  e[4][
4609
4609
  /*method*/
4610
- (Ie = (Be = e[43]) == null ? void 0 : Be.DisplayCurrency) == null ? void 0 : Ie.Name
4610
+ (Ne = (Le = e[43]) == null ? void 0 : Le.DisplayCurrency) == null ? void 0 : Ne.Name
4611
4611
  ] || /*numericCurrencyDecimals*/
4612
4612
  e[7]
4613
4613
  ),
@@ -4615,15 +4615,15 @@ function wr(e) {
4615
4615
  /*precisionCurrenciesMap*/
4616
4616
  e[4][
4617
4617
  /*method*/
4618
- (m = (Le = e[43]) == null ? void 0 : Le.DisplayCurrency) == null ? void 0 : m.Name
4618
+ (m = (Re = e[43]) == null ? void 0 : Re.DisplayCurrency) == null ? void 0 : m.Name
4619
4619
  ] || /*numericCurrencyDecimals*/
4620
4620
  e[7]
4621
4621
  )
4622
4622
  }
4623
- ) + "", ne, Ae, q, K = (
4623
+ ) + "", ne, Me, q, K = (
4624
4624
  /*$_*/
4625
4625
  e[8]("generalMax") + ""
4626
- ), V, Pe, ie = Ge(
4626
+ ), V, Oe, ie = ke(
4627
4627
  /*method*/
4628
4628
  e[43].DisplayCurrency.MaxAmountLimit,
4629
4629
  /*method*/
@@ -4646,8 +4646,8 @@ function wr(e) {
4646
4646
  e[7]
4647
4647
  )
4648
4648
  }
4649
- ) + "", ge, Me, z, ye, Oe;
4650
- function it() {
4649
+ ) + "", ge, Be, z, ye, Ie;
4650
+ function at() {
4651
4651
  return (
4652
4652
  /*click_handler_1*/
4653
4653
  e[25](
@@ -4660,17 +4660,17 @@ function wr(e) {
4660
4660
  }
4661
4661
  return {
4662
4662
  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*/
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), Me = $(), q = T("span"), V = G(K), Oe = $(), ge = G(ie), Be = $(), zt(n.src, i = /*method*/
4664
4664
  e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
4665
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*/
4666
4666
  e[42] === /*activeIndex*/
4667
4667
  e[6] ? "active" : ""}`);
4668
4668
  },
4669
4669
  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);
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, Me), v(S, q), v(q, V), v(q, Oe), v(q, ge), v(t, Be), ye || (Ie = J(t, "click", at), ye = !0);
4671
4671
  },
4672
4672
  p(ee, L) {
4673
- var ot, Rt, Dt, $t, Ut, Ft, Gt, jt;
4673
+ var ut, Rt, Dt, $t, Ut, Ft, Gt, jt;
4674
4674
  e = ee, L[0] & /*promotedPaymentMethods*/
4675
4675
  32 && !zt(n.src, i = /*method*/
4676
4676
  e[43].LogoUrl) && P(n, "src", i), L[0] & /*promotedPaymentMethods*/
@@ -4678,14 +4678,14 @@ function wr(e) {
4678
4678
  e[43].Label) && P(n, "alt", o), L[0] & /*promotedPaymentMethods*/
4679
4679
  32 && h !== (h = /*method*/
4680
4680
  (e[43].Label || /*method*/
4681
- e[43].Name) + "") && X(f, h), L[0] & /*$_, methodtype, promotedPaymentMethods*/
4681
+ e[43].Name) + "") && W(f, h), L[0] & /*$_, methodtype, promotedPaymentMethods*/
4682
4682
  289 && d !== (d = /*$_*/
4683
4683
  e[8](`${/*methodtype*/
4684
4684
  e[0]}${/*method*/
4685
- e[43].ProcessingTime}`) + "") && X(_, d), L[0] & /*$_*/
4685
+ e[43].ProcessingTime}`) + "") && W(_, d), L[0] & /*$_*/
4686
4686
  256 && A !== (A = /*$_*/
4687
- e[8]("generalMin") + "") && X(H, A), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4688
- 176 && re !== (re = Ge(
4687
+ e[8]("generalMin") + "") && W(H, A), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4688
+ 176 && re !== (re = ke(
4689
4689
  /*method*/
4690
4690
  e[43].DisplayCurrency.MinAmountLimit,
4691
4691
  /*method*/
@@ -4695,7 +4695,7 @@ function wr(e) {
4695
4695
  /*precisionCurrenciesMap*/
4696
4696
  e[4][
4697
4697
  /*method*/
4698
- (Rt = (ot = e[43]) == null ? void 0 : ot.DisplayCurrency) == null ? void 0 : Rt.Name
4698
+ (Rt = (ut = e[43]) == null ? void 0 : ut.DisplayCurrency) == null ? void 0 : Rt.Name
4699
4699
  ] || /*numericCurrencyDecimals*/
4700
4700
  e[7]
4701
4701
  ),
@@ -4708,10 +4708,10 @@ function wr(e) {
4708
4708
  e[7]
4709
4709
  )
4710
4710
  }
4711
- ) + "") && X(ne, re), L[0] & /*$_*/
4711
+ ) + "") && W(ne, re), L[0] & /*$_*/
4712
4712
  256 && K !== (K = /*$_*/
4713
- e[8]("generalMax") + "") && X(V, K), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4714
- 176 && ie !== (ie = Ge(
4713
+ e[8]("generalMax") + "") && W(V, K), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4714
+ 176 && ie !== (ie = ke(
4715
4715
  /*method*/
4716
4716
  e[43].DisplayCurrency.MaxAmountLimit,
4717
4717
  /*method*/
@@ -4734,17 +4734,17 @@ function wr(e) {
4734
4734
  e[7]
4735
4735
  )
4736
4736
  }
4737
- ) + "") && X(ge, ie), L[0] & /*activeIndex*/
4737
+ ) + "") && W(ge, ie), L[0] & /*activeIndex*/
4738
4738
  64 && z !== (z = `CarouselCardWrapper ${/*index*/
4739
4739
  e[42] === /*activeIndex*/
4740
4740
  e[6] ? "active" : ""}`) && P(t, "class", z);
4741
4741
  },
4742
4742
  d(ee) {
4743
- ee && U(t), ye = !1, Oe();
4743
+ ee && U(t), ye = !1, Ie();
4744
4744
  }
4745
4745
  };
4746
4746
  }
4747
- function Sr(e) {
4747
+ function wr(e) {
4748
4748
  let t, r, n;
4749
4749
  return {
4750
4750
  c() {
@@ -4764,7 +4764,7 @@ function Sr(e) {
4764
4764
  }
4765
4765
  };
4766
4766
  }
4767
- function Tr(e) {
4767
+ function Sr(e) {
4768
4768
  let t, r;
4769
4769
  return {
4770
4770
  c() {
@@ -4786,7 +4786,7 @@ function Tr(e) {
4786
4786
  }
4787
4787
  };
4788
4788
  }
4789
- function qo(e) {
4789
+ function Yo(e) {
4790
4790
  let t, r, n, i, o = (
4791
4791
  /*$_*/
4792
4792
  e[8]("carouselTitle") + ""
@@ -4797,7 +4797,7 @@ function qo(e) {
4797
4797
  function c(d, _) {
4798
4798
  return (
4799
4799
  /*promotedPaymentMethods*/
4800
- d[5].length > 0 ? Yo : Jo
4800
+ d[5].length > 0 ? Jo : Qo
4801
4801
  );
4802
4802
  }
4803
4803
  let g = c(e), b = g(e);
@@ -4811,9 +4811,9 @@ function qo(e) {
4811
4811
  p(d, _) {
4812
4812
  _[0] & /*$_*/
4813
4813
  256 && o !== (o = /*$_*/
4814
- d[8]("carouselTitle") + "") && X(s, o), _[0] & /*$_*/
4814
+ d[8]("carouselTitle") + "") && W(s, o), _[0] & /*$_*/
4815
4815
  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)));
4816
+ d[8]("carouselSubtitle") + "") && W(h, u), g === (g = c(d)) && b ? b.p(d, _) : (b.d(1), b = g(d), b && (b.c(), b.m(r, null)));
4817
4817
  },
4818
4818
  i: N,
4819
4819
  o: N,
@@ -4822,9 +4822,9 @@ function qo(e) {
4822
4822
  }
4823
4823
  };
4824
4824
  }
4825
- function Ko(e, t, r) {
4825
+ function qo(e, t, r) {
4826
4826
  let n, i;
4827
- dn(e, Po, (m) => r(8, i = m));
4827
+ mn(e, Ao, (m) => r(8, i = m));
4828
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
4829
  const ne = (m) => {
4830
4830
  var B, Z;
@@ -4840,10 +4840,10 @@ function Ko(e, t, r) {
4840
4840
  }
4841
4841
  }
4842
4842
  };
4843
- Object.keys(vr).forEach((m) => {
4844
- hr(m, vr[m]);
4843
+ Object.keys(yr).forEach((m) => {
4844
+ hr(m, yr[m]);
4845
4845
  });
4846
- const Ae = () => {
4846
+ const Me = () => {
4847
4847
  let m = b;
4848
4848
  if (m)
4849
4849
  return fetch(m).then((O) => O.json()).then((O) => {
@@ -4854,7 +4854,7 @@ function Ko(e, t, r) {
4854
4854
  console.log(O);
4855
4855
  });
4856
4856
  }, q = () => {
4857
- Mo(o);
4857
+ Po(o);
4858
4858
  }, K = (m, O) => {
4859
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(
4860
4860
  "selectPayMeth",
@@ -4874,7 +4874,7 @@ function Ko(e, t, r) {
4874
4874
  let ee = F - Z;
4875
4875
  const L = oe - p;
4876
4876
  return `translateX(${ee / 2 + L * B - 20}px)`;
4877
- }, Pe = (m) => {
4877
+ }, Oe = (m) => {
4878
4878
  y = m.touches[0].clientX, A = !0, H.classList.add("dragging");
4879
4879
  }, ie = (m) => {
4880
4880
  if (!A)
@@ -4887,26 +4887,26 @@ function Ko(e, t, r) {
4887
4887
  A = !1, H.classList.remove("dragging");
4888
4888
  const O = m.changedTouches[0].clientX, B = y - O;
4889
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));
4890
- }, Me = () => {
4890
+ }, Be = () => {
4891
4891
  S && (r(2, H.style.transform = V(), H), S = !1);
4892
4892
  }, z = (m) => {
4893
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);
4894
4894
  };
4895
- Sn(() => (Zo(s, a, l, u), window.addEventListener("message", ne), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), H && V(), () => {
4895
+ wn(() => (zo(s, a, l, u), window.addEventListener("message", ne), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), H && V(), () => {
4896
4896
  window.removeEventListener("message", ne);
4897
4897
  }));
4898
- const ye = () => z("prev"), Oe = (m, O) => K(m, O);
4899
- function it(m) {
4900
- ze[m ? "unshift" : "push"](() => {
4898
+ const ye = () => z("prev"), Ie = (m, O) => K(m, O);
4899
+ function at(m) {
4900
+ Je[m ? "unshift" : "push"](() => {
4901
4901
  H = m, r(2, H);
4902
4902
  });
4903
4903
  }
4904
- const Be = () => z("next");
4905
- function Ie() {
4904
+ const Le = () => z("next");
4905
+ function Ne() {
4906
4906
  F = this.clientWidth, r(3, F);
4907
4907
  }
4908
- function Le(m) {
4909
- ze[m ? "unshift" : "push"](() => {
4908
+ function Re(m) {
4909
+ Je[m ? "unshift" : "push"](() => {
4910
4910
  _ = m, r(1, _);
4911
4911
  });
4912
4912
  }
@@ -4915,11 +4915,11 @@ function Ko(e, t, r) {
4915
4915
  }, e.$$.update = () => {
4916
4916
  e.$$.dirty[0] & /*lang*/
4917
4917
  32768 && o && q(), e.$$.dirty[0] & /*lang, translationurl*/
4918
- 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*/
4918
+ 8421376 && o && b && Me(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4919
+ 12 && H && F && Be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4920
+ 1048578 && f && _ && Mo(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4921
+ 2097154 && c && _ && Oo(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4922
+ 4194306 && g && _ && Bo(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
4923
4923
  524288 && r(7, n = Number(u));
4924
4924
  }, [
4925
4925
  h,
@@ -4933,7 +4933,7 @@ function Ko(e, t, r) {
4933
4933
  i,
4934
4934
  re,
4935
4935
  K,
4936
- Pe,
4936
+ Oe,
4937
4937
  ie,
4938
4938
  ge,
4939
4939
  z,
@@ -4947,21 +4947,21 @@ function Ko(e, t, r) {
4947
4947
  g,
4948
4948
  b,
4949
4949
  ye,
4950
- Oe,
4951
- it,
4952
- Be,
4953
4950
  Ie,
4954
- Le
4951
+ at,
4952
+ Le,
4953
+ Ne,
4954
+ Re
4955
4955
  ];
4956
4956
  }
4957
- class es extends Rn {
4957
+ class Ko extends Nn {
4958
4958
  constructor(t) {
4959
- super(), Ln(
4959
+ super(), In(
4960
4960
  this,
4961
4961
  t,
4962
- Ko,
4963
4962
  qo,
4964
- Cr,
4963
+ Yo,
4964
+ Hr,
4965
4965
  {
4966
4966
  lang: 15,
4967
4967
  local: 16,
@@ -4974,7 +4974,7 @@ class es extends Rn {
4974
4974
  mbsource: 22,
4975
4975
  translationurl: 23
4976
4976
  },
4977
- Qo,
4977
+ Zo,
4978
4978
  [-1, -1]
4979
4979
  );
4980
4980
  }
@@ -5039,7 +5039,7 @@ class es extends Rn {
5039
5039
  this.$$set({ translationurl: t }), D();
5040
5040
  }
5041
5041
  }
5042
- Nn(es, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5042
+ Ln(Ko, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5043
5043
  export {
5044
- es as default
5044
+ Ko as default
5045
5045
  };