@everymatrix/cashier-carousel 1.85.17 → 1.85.19

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