@everymatrix/casino-promotions-slider 1.76.3 → 1.76.5

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,42 +1,42 @@
1
1
  function W() {
2
2
  }
3
- function tr(e) {
3
+ function or(e) {
4
4
  return e();
5
5
  }
6
- function xt() {
6
+ function wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function fe(e) {
10
- e.forEach(tr);
9
+ function ce(e) {
10
+ e.forEach(or);
11
11
  }
12
- function mt(e) {
12
+ function yt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rr(e, t) {
15
+ function sr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let we;
19
- function oe(e, t) {
19
+ function ie(e, t) {
20
20
  return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
21
21
  }
22
- function Et(e) {
22
+ function Tt(e) {
23
23
  return e.split(",").map((t) => t.trim().split(" ").filter(Boolean));
24
24
  }
25
- function nr(e, t) {
26
- const r = Et(e.srcset), n = Et(t || "");
25
+ function ar(e, t) {
26
+ const r = Tt(e.srcset), n = Tt(t || "");
27
27
  return n.length === r.length && n.every(
28
28
  ([i, o], a) => o === r[a][1] && // We need to test both ways because Vite will create an a full URL with
29
29
  // `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the
30
30
  // relative URLs inside srcset are not automatically resolved to absolute URLs by
31
31
  // browsers (in contrast to img.src). This means both SSR and DOM code could
32
32
  // contain relative or absolute URLs.
33
- (oe(r[a][0], i) || oe(i, r[a][0]))
33
+ (ie(r[a][0], i) || ie(i, r[a][0]))
34
34
  );
35
35
  }
36
- function Qr(e) {
36
+ function tn(e) {
37
37
  return Object.keys(e).length === 0;
38
38
  }
39
- function ir(e, ...t) {
39
+ function lr(e, ...t) {
40
40
  if (e == null) {
41
41
  for (const n of t)
42
42
  n(void 0);
@@ -45,20 +45,20 @@ function ir(e, ...t) {
45
45
  const r = e.subscribe(...t);
46
46
  return r.unsubscribe ? () => r.unsubscribe() : r;
47
47
  }
48
- function Jr(e, t, r) {
49
- e.$$.on_destroy.push(ir(t, r));
48
+ function rn(e, t, r) {
49
+ e.$$.on_destroy.push(lr(t, r));
50
50
  }
51
51
  function y(e, t) {
52
52
  e.appendChild(t);
53
53
  }
54
- function Kr(e, t, r) {
55
- const n = en(e);
54
+ function nn(e, t, r) {
55
+ const n = on(e);
56
56
  if (!n.getElementById(t)) {
57
- const i = w("style");
58
- i.id = t, i.textContent = r, tn(n, i);
57
+ const i = P("style");
58
+ i.id = t, i.textContent = r, sn(n, i);
59
59
  }
60
60
  }
61
- function en(e) {
61
+ function on(e) {
62
62
  if (!e)
63
63
  return document;
64
64
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -68,7 +68,7 @@ function en(e) {
68
68
  t
69
69
  ) : e.ownerDocument;
70
70
  }
71
- function tn(e, t) {
71
+ function sn(e, t) {
72
72
  return y(
73
73
  /** @type {Document} */
74
74
  e.head || e,
@@ -81,40 +81,40 @@ function X(e, t, r) {
81
81
  function $(e) {
82
82
  e.parentNode && e.parentNode.removeChild(e);
83
83
  }
84
- function pt(e, t) {
84
+ function _t(e, t) {
85
85
  for (let r = 0; r < e.length; r += 1)
86
86
  e[r] && e[r].d(t);
87
87
  }
88
- function w(e) {
88
+ function P(e) {
89
89
  return document.createElement(e);
90
90
  }
91
- function ze(e) {
91
+ function Ze(e) {
92
92
  return document.createElementNS("http://www.w3.org/2000/svg", e);
93
93
  }
94
- function se(e) {
94
+ function oe(e) {
95
95
  return document.createTextNode(e);
96
96
  }
97
97
  function G() {
98
- return se(" ");
98
+ return oe(" ");
99
99
  }
100
- function _e(e, t, r, n) {
100
+ function ye(e, t, r, n) {
101
101
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
102
102
  }
103
- function m(e, t, r) {
103
+ function p(e, t, r) {
104
104
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
105
105
  }
106
- function rn(e) {
106
+ function an(e) {
107
107
  return Array.from(e.childNodes);
108
108
  }
109
- function Re(e, t) {
109
+ function De(e, t) {
110
110
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
111
111
  t);
112
112
  }
113
- function nn(e, t, r, n) {
113
+ function ln(e, t, r, n) {
114
114
  e.style.setProperty(t, r, "");
115
115
  }
116
116
  let Te;
117
- function on() {
117
+ function un() {
118
118
  if (Te === void 0) {
119
119
  Te = !1;
120
120
  try {
@@ -125,16 +125,16 @@ function on() {
125
125
  }
126
126
  return Te;
127
127
  }
128
- function sn(e, t) {
128
+ function hn(e, t) {
129
129
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
130
- const n = w("iframe");
130
+ const n = P("iframe");
131
131
  n.setAttribute(
132
132
  "style",
133
133
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
134
134
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
135
- const i = on();
135
+ const i = un();
136
136
  let o;
137
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = _e(
137
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ye(
138
138
  window,
139
139
  "message",
140
140
  /** @param {MessageEvent} event */
@@ -142,15 +142,15 @@ function sn(e, t) {
142
142
  a.source === n.contentWindow && t();
143
143
  }
144
144
  )) : (n.src = "about:blank", n.onload = () => {
145
- o = _e(n.contentWindow, "resize", t), t();
145
+ o = ye(n.contentWindow, "resize", t), t();
146
146
  }), y(e, n), () => {
147
147
  (i || o && n.contentWindow) && o(), $(n);
148
148
  };
149
149
  }
150
- function an(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
150
+ function cn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
151
151
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
152
152
  }
153
- function ln(e) {
153
+ function fn(e) {
154
154
  const t = {};
155
155
  return e.childNodes.forEach(
156
156
  /** @param {Element} node */
@@ -159,24 +159,24 @@ function ln(e) {
159
159
  }
160
160
  ), t;
161
161
  }
162
- let xe;
163
- function ve(e) {
164
- xe = e;
162
+ let _e;
163
+ function be(e) {
164
+ _e = e;
165
165
  }
166
- function or() {
167
- if (!xe)
166
+ function ur() {
167
+ if (!_e)
168
168
  throw new Error("Function called outside component initialization");
169
- return xe;
169
+ return _e;
170
170
  }
171
- function un(e) {
172
- or().$$.on_mount.push(e);
171
+ function dn(e) {
172
+ ur().$$.on_mount.push(e);
173
173
  }
174
- function hn() {
175
- const e = or();
174
+ function pn() {
175
+ const e = ur();
176
176
  return (t, r, { cancelable: n = !1 } = {}) => {
177
177
  const i = e.$$.callbacks[t];
178
178
  if (i) {
179
- const o = an(
179
+ const o = cn(
180
180
  /** @type {string} */
181
181
  t,
182
182
  r,
@@ -189,78 +189,78 @@ function hn() {
189
189
  return !0;
190
190
  };
191
191
  }
192
- const re = [], ye = [];
192
+ const re = [], ve = [];
193
193
  let ne = [];
194
- const St = [], cn = /* @__PURE__ */ Promise.resolve();
195
- let et = !1;
196
- function fn() {
197
- et || (et = !0, cn.then(z));
194
+ const Ht = [], mn = /* @__PURE__ */ Promise.resolve();
195
+ let nt = !1;
196
+ function gn() {
197
+ nt || (nt = !0, mn.then(z));
198
198
  }
199
- function Ne(e) {
199
+ function Ie(e) {
200
200
  ne.push(e);
201
201
  }
202
- const We = /* @__PURE__ */ new Set();
202
+ const Ye = /* @__PURE__ */ new Set();
203
203
  let ee = 0;
204
204
  function z() {
205
205
  if (ee !== 0)
206
206
  return;
207
- const e = xe;
207
+ const e = _e;
208
208
  do {
209
209
  try {
210
210
  for (; ee < re.length; ) {
211
211
  const t = re[ee];
212
- ee++, ve(t), dn(t.$$);
212
+ ee++, be(t), bn(t.$$);
213
213
  }
214
214
  } catch (t) {
215
215
  throw re.length = 0, ee = 0, t;
216
216
  }
217
- for (ve(null), re.length = 0, ee = 0; ye.length; )
218
- ye.pop()();
217
+ for (be(null), re.length = 0, ee = 0; ve.length; )
218
+ ve.pop()();
219
219
  for (let t = 0; t < ne.length; t += 1) {
220
220
  const r = ne[t];
221
- We.has(r) || (We.add(r), r());
221
+ Ye.has(r) || (Ye.add(r), r());
222
222
  }
223
223
  ne.length = 0;
224
224
  } while (re.length);
225
- for (; St.length; )
226
- St.pop()();
227
- et = !1, We.clear(), ve(e);
225
+ for (; Ht.length; )
226
+ Ht.pop()();
227
+ nt = !1, Ye.clear(), be(e);
228
228
  }
229
- function dn(e) {
229
+ function bn(e) {
230
230
  if (e.fragment !== null) {
231
- e.update(), fe(e.before_update);
231
+ e.update(), ce(e.before_update);
232
232
  const t = e.dirty;
233
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
233
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
234
234
  }
235
235
  }
236
- function mn(e) {
236
+ function vn(e) {
237
237
  const t = [], r = [];
238
238
  ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
239
239
  }
240
- const pn = /* @__PURE__ */ new Set();
241
- function gn(e, t) {
242
- e && e.i && (pn.delete(e), e.i(t));
240
+ const yn = /* @__PURE__ */ new Set();
241
+ function _n(e, t) {
242
+ e && e.i && (yn.delete(e), e.i(t));
243
243
  }
244
- function ae(e) {
244
+ function se(e) {
245
245
  return e?.length !== void 0 ? e : Array.from(e);
246
246
  }
247
- function bn(e, t, r) {
247
+ function xn(e, t, r) {
248
248
  const { fragment: n, after_update: i } = e.$$;
249
- n && n.m(t, r), Ne(() => {
250
- const o = e.$$.on_mount.map(tr).filter(mt);
251
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
252
- }), i.forEach(Ne);
249
+ n && n.m(t, r), Ie(() => {
250
+ const o = e.$$.on_mount.map(or).filter(yt);
251
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
252
+ }), i.forEach(Ie);
253
253
  }
254
- function vn(e, t) {
254
+ function En(e, t) {
255
255
  const r = e.$$;
256
- r.fragment !== null && (mn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
+ r.fragment !== null && (vn(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
257
257
  }
258
- function yn(e, t) {
259
- e.$$.dirty[0] === -1 && (re.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
+ function Sn(e, t) {
259
+ e.$$.dirty[0] === -1 && (re.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
260
260
  }
261
- function _n(e, t, r, n, i, o, a = null, u = [-1]) {
262
- const c = xe;
263
- ve(e);
261
+ function Pn(e, t, r, n, i, o, a = null, u = [-1]) {
262
+ const c = _e;
263
+ be(e);
264
264
  const l = e.$$ = {
265
265
  fragment: null,
266
266
  ctx: [],
@@ -268,7 +268,7 @@ function _n(e, t, r, n, i, o, a = null, u = [-1]) {
268
268
  props: o,
269
269
  update: W,
270
270
  not_equal: i,
271
- bound: xt(),
271
+ bound: wt(),
272
272
  // lifecycle
273
273
  on_mount: [],
274
274
  on_destroy: [],
@@ -277,28 +277,28 @@ function _n(e, t, r, n, i, o, a = null, u = [-1]) {
277
277
  after_update: [],
278
278
  context: new Map(t.context || (c ? c.$$.context : [])),
279
279
  // everything else
280
- callbacks: xt(),
280
+ callbacks: wt(),
281
281
  dirty: u,
282
282
  skip_bound: !1,
283
283
  root: t.target || c.$$.root
284
284
  };
285
285
  a && a(l.root);
286
286
  let s = !1;
287
- if (l.ctx = r(e, t.props || {}, (h, f, ...d) => {
288
- const p = d.length ? d[0] : f;
289
- return l.ctx && i(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), s && yn(e, h)), f;
290
- }), l.update(), s = !0, fe(l.before_update), l.fragment = n(l.ctx), t.target) {
287
+ if (l.ctx = r ? r(e, t.props || {}, (h, f, ...d) => {
288
+ const m = d.length ? d[0] : f;
289
+ return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), s && Sn(e, h)), f;
290
+ }) : [], l.update(), s = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
291
291
  if (t.hydrate) {
292
- const h = rn(t.target);
292
+ const h = an(t.target);
293
293
  l.fragment && l.fragment.l(h), h.forEach($);
294
294
  } else
295
295
  l.fragment && l.fragment.c();
296
- t.intro && gn(e.$$.fragment), bn(e, t.target, t.anchor), z();
296
+ t.intro && _n(e.$$.fragment), xn(e, t.target, t.anchor), z();
297
297
  }
298
- ve(c);
298
+ be(c);
299
299
  }
300
- let sr;
301
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
300
+ let hr;
301
+ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
302
302
  /** The Svelte component constructor */
303
303
  $$ctor;
304
304
  /** Slots */
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
340
340
  let o;
341
341
  return {
342
342
  c: function() {
343
- o = w("slot"), i !== "default" && m(o, "name", i);
343
+ o = P("slot"), i !== "default" && p(o, "name", i);
344
344
  },
345
345
  /**
346
346
  * @param {HTMLElement} target
@@ -357,12 +357,12 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
357
357
  };
358
358
  if (await Promise.resolve(), !this.$$cn || this.$$c)
359
359
  return;
360
- const t = {}, r = ln(this);
360
+ const t = {}, r = fn(this);
361
361
  for (const i of this.$$s)
362
362
  i in r && (t[i] = [e(i)]);
363
363
  for (const i of this.attributes) {
364
364
  const o = this.$$g_p(i.name);
365
- o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
365
+ o in this.$$d || (this.$$d[o] = Ae(o, i.value, this.$$p_d, "toProp"));
366
366
  }
367
367
  for (const i in this.$$p_d)
368
368
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
380
380
  this.$$r = !0;
381
381
  for (const i in this.$$p_d)
382
382
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
383
- const o = Be(
383
+ const o = Ae(
384
384
  i,
385
385
  this.$$d[i],
386
386
  this.$$p_d,
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
402
402
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
403
403
  // and setting attributes through setAttribute etc, this is helpful
404
404
  attributeChangedCallback(e, t, r) {
405
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
405
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
406
406
  }
407
407
  disconnectedCallback() {
408
408
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
415
415
  ) || e;
416
416
  }
417
417
  });
418
- function Be(e, t, r, n) {
418
+ function Ae(e, t, r, n) {
419
419
  const i = r[e]?.type;
420
420
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
421
421
  return t;
@@ -444,8 +444,8 @@ function Be(e, t, r, n) {
444
444
  return t;
445
445
  }
446
446
  }
447
- function xn(e, t, r, n, i, o) {
448
- let a = class extends sr {
447
+ function wn(e, t, r, n, i, o) {
448
+ let a = class extends hr {
449
449
  constructor() {
450
450
  super(e, r, i), this.$$p_d = t;
451
451
  }
@@ -461,7 +461,7 @@ function xn(e, t, r, n, i, o) {
461
461
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
462
462
  },
463
463
  set(c) {
464
- c = Be(u, c, t), this.$$d[u] = c, this.$$c?.$set({ [u]: c });
464
+ c = Ae(u, c, t), this.$$d[u] = c, this.$$c?.$set({ [u]: c });
465
465
  }
466
466
  });
467
467
  }), n.forEach((u) => {
@@ -473,7 +473,7 @@ function xn(e, t, r, n, i, o) {
473
473
  }), e.element = /** @type {any} */
474
474
  a, a;
475
475
  }
476
- class En {
476
+ class Tn {
477
477
  /**
478
478
  * ### PRIVATE API
479
479
  *
@@ -492,7 +492,7 @@ class En {
492
492
  $$set = void 0;
493
493
  /** @returns {void} */
494
494
  $destroy() {
495
- vn(this, 1), this.$destroy = W;
495
+ En(this, 1), this.$destroy = W;
496
496
  }
497
497
  /**
498
498
  * @template {Extract<keyof Events, string>} K
@@ -501,7 +501,7 @@ class En {
501
501
  * @returns {() => void}
502
502
  */
503
503
  $on(t, r) {
504
- if (!mt(r))
504
+ if (!yt(r))
505
505
  return W;
506
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
507
507
  return n.push(r), () => {
@@ -514,20 +514,20 @@ class En {
514
514
  * @returns {void}
515
515
  */
516
516
  $set(t) {
517
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
518
  }
519
519
  }
520
- const Sn = "4";
521
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
522
- var Pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
523
- function ar(e) {
520
+ const Hn = "4";
521
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
522
+ var Cn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
523
+ function cr(e) {
524
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var lr = { exports: {} };
526
+ var fr = { exports: {} };
527
527
  (function(e, t) {
528
528
  (function(r, n) {
529
529
  e.exports = n();
530
- })(typeof self < "u" ? self : Pn, function() {
530
+ })(typeof self < "u" ? self : Cn, function() {
531
531
  return function(r) {
532
532
  function n(o) {
533
533
  if (i[o])
@@ -589,17 +589,17 @@ var lr = { exports: {} };
589
589
  var f = document.createDocumentFragment();
590
590
  if (this.config.loop)
591
591
  for (var d = this.innerElements.length - this.perPage; d < this.innerElements.length; d++) {
592
- var p = this.buildSliderFrameItem(this.innerElements[d].cloneNode(!0));
593
- f.appendChild(p);
592
+ var m = this.buildSliderFrameItem(this.innerElements[d].cloneNode(!0));
593
+ f.appendChild(m);
594
594
  }
595
595
  for (var b = 0; b < this.innerElements.length; b++) {
596
- var P = this.buildSliderFrameItem(this.innerElements[b]);
597
- f.appendChild(P);
596
+ var S = this.buildSliderFrameItem(this.innerElements[b]);
597
+ f.appendChild(S);
598
598
  }
599
599
  if (this.config.loop)
600
600
  for (var E = 0; E < this.perPage; E++) {
601
- var A = this.buildSliderFrameItem(this.innerElements[E].cloneNode(!0));
602
- f.appendChild(A);
601
+ var B = this.buildSliderFrameItem(this.innerElements[E].cloneNode(!0));
602
+ f.appendChild(B);
603
603
  }
604
604
  this.sliderFrame.appendChild(f), this.selector.innerHTML = "", this.selector.appendChild(this.sliderFrame), this.slideToCurrent();
605
605
  } }, { key: "buildSliderFrameItem", value: function(s) {
@@ -620,8 +620,8 @@ var lr = { exports: {} };
620
620
  if (this.config.loop)
621
621
  if (this.currentSlide - s < 0) {
622
622
  this.disableTransition();
623
- var d = this.currentSlide + this.innerElements.length, p = this.perPage, b = d + p, P = (this.config.rtl ? 1 : -1) * b * (this.selectorWidth / this.perPage), E = this.config.draggable ? this.drag.endX - this.drag.startX : 0;
624
- this.sliderFrame.style[this.transformProperty] = "translate3d(" + (P + E) + "px, 0, 0)", this.currentSlide = d - s;
623
+ var d = this.currentSlide + this.innerElements.length, m = this.perPage, b = d + m, S = (this.config.rtl ? 1 : -1) * b * (this.selectorWidth / this.perPage), E = this.config.draggable ? this.drag.endX - this.drag.startX : 0;
624
+ this.sliderFrame.style[this.transformProperty] = "translate3d(" + (S + E) + "px, 0, 0)", this.currentSlide = d - s;
625
625
  } else
626
626
  this.currentSlide = this.currentSlide - s;
627
627
  else
@@ -635,8 +635,8 @@ var lr = { exports: {} };
635
635
  if (this.config.loop)
636
636
  if (this.currentSlide + s > this.innerElements.length - this.perPage) {
637
637
  this.disableTransition();
638
- var d = this.currentSlide - this.innerElements.length, p = this.perPage, b = d + p, P = (this.config.rtl ? 1 : -1) * b * (this.selectorWidth / this.perPage), E = this.config.draggable ? this.drag.endX - this.drag.startX : 0;
639
- this.sliderFrame.style[this.transformProperty] = "translate3d(" + (P + E) + "px, 0, 0)", this.currentSlide = d + s;
638
+ var d = this.currentSlide - this.innerElements.length, m = this.perPage, b = d + m, S = (this.config.rtl ? 1 : -1) * b * (this.selectorWidth / this.perPage), E = this.config.draggable ? this.drag.endX - this.drag.startX : 0;
639
+ this.sliderFrame.style[this.transformProperty] = "translate3d(" + (S + E) + "px, 0, 0)", this.currentSlide = d + s;
640
640
  } else
641
641
  this.currentSlide = this.currentSlide + s;
642
642
  else
@@ -660,8 +660,8 @@ var lr = { exports: {} };
660
660
  });
661
661
  }) : this.sliderFrame.style[this.transformProperty] = "translate3d(" + d + "px, 0, 0)";
662
662
  } }, { key: "updateAfterDrag", value: function() {
663
- var s = (this.config.rtl ? -1 : 1) * (this.drag.endX - this.drag.startX), h = Math.abs(s), f = this.config.multipleDrag ? Math.ceil(h / (this.selectorWidth / this.perPage)) : 1, d = s > 0 && this.currentSlide - f < 0, p = s < 0 && this.currentSlide + f > this.innerElements.length - this.perPage;
664
- s > 0 && h > this.config.threshold && this.innerElements.length > this.perPage ? this.prev(f) : s < 0 && h > this.config.threshold && this.innerElements.length > this.perPage && this.next(f), this.slideToCurrent(d || p);
663
+ var s = (this.config.rtl ? -1 : 1) * (this.drag.endX - this.drag.startX), h = Math.abs(s), f = this.config.multipleDrag ? Math.ceil(h / (this.selectorWidth / this.perPage)) : 1, d = s > 0 && this.currentSlide - f < 0, m = s < 0 && this.currentSlide + f > this.innerElements.length - this.perPage;
664
+ s > 0 && h > this.config.threshold && this.innerElements.length > this.perPage ? this.prev(f) : s < 0 && h > this.config.threshold && this.innerElements.length > this.perPage && this.next(f), this.slideToCurrent(d || m);
665
665
  } }, { key: "resizeHandler", value: function() {
666
666
  this.resolveSlidesNumber(), this.currentSlide + this.perPage > this.innerElements.length && (this.currentSlide = this.innerElements.length <= this.perPage ? 0 : this.innerElements.length - this.perPage), this.selectorWidth = this.selector.offsetWidth, this.buildSliderFrame();
667
667
  } }, { key: "clearDrag", value: function() {
@@ -673,8 +673,8 @@ var lr = { exports: {} };
673
673
  } }, { key: "touchmoveHandler", value: function(s) {
674
674
  if (s.stopPropagation(), this.drag.letItGo === null && (this.drag.letItGo = Math.abs(this.drag.startY - s.touches[0].pageY) < Math.abs(this.drag.startX - s.touches[0].pageX)), this.pointerDown && this.drag.letItGo) {
675
675
  s.preventDefault(), this.drag.endX = s.touches[0].pageX, this.sliderFrame.style.webkitTransition = "all 0ms " + this.config.easing, this.sliderFrame.style.transition = "all 0ms " + this.config.easing;
676
- var h = this.config.loop ? this.currentSlide + this.perPage : this.currentSlide, f = h * (this.selectorWidth / this.perPage), d = this.drag.endX - this.drag.startX, p = this.config.rtl ? f + d : f - d;
677
- this.sliderFrame.style[this.transformProperty] = "translate3d(" + (this.config.rtl ? 1 : -1) * p + "px, 0, 0)";
676
+ var h = this.config.loop ? this.currentSlide + this.perPage : this.currentSlide, f = h * (this.selectorWidth / this.perPage), d = this.drag.endX - this.drag.startX, m = this.config.rtl ? f + d : f - d;
677
+ this.sliderFrame.style[this.transformProperty] = "translate3d(" + (this.config.rtl ? 1 : -1) * m + "px, 0, 0)";
678
678
  }
679
679
  } }, { key: "mousedownHandler", value: function(s) {
680
680
  ["TEXTAREA", "OPTION", "INPUT", "SELECT"].indexOf(s.target.nodeName) !== -1 || (s.preventDefault(), s.stopPropagation(), this.pointerDown = !0, this.drag.startX = s.pageX);
@@ -683,8 +683,8 @@ var lr = { exports: {} };
683
683
  } }, { key: "mousemoveHandler", value: function(s) {
684
684
  if (s.preventDefault(), this.pointerDown) {
685
685
  s.target.nodeName === "A" && (this.drag.preventClick = !0), this.drag.endX = s.pageX, this.selector.style.cursor = "-webkit-grabbing", this.sliderFrame.style.webkitTransition = "all 0ms " + this.config.easing, this.sliderFrame.style.transition = "all 0ms " + this.config.easing;
686
- var h = this.config.loop ? this.currentSlide + this.perPage : this.currentSlide, f = h * (this.selectorWidth / this.perPage), d = this.drag.endX - this.drag.startX, p = this.config.rtl ? f + d : f - d;
687
- this.sliderFrame.style[this.transformProperty] = "translate3d(" + (this.config.rtl ? 1 : -1) * p + "px, 0, 0)";
686
+ var h = this.config.loop ? this.currentSlide + this.perPage : this.currentSlide, f = h * (this.selectorWidth / this.perPage), d = this.drag.endX - this.drag.startX, m = this.config.rtl ? f + d : f - d;
687
+ this.sliderFrame.style[this.transformProperty] = "translate3d(" + (this.config.rtl ? 1 : -1) * m + "px, 0, 0)";
688
688
  }
689
689
  } }, { key: "mouseleaveHandler", value: function(s) {
690
690
  this.pointerDown && (this.pointerDown = !1, this.selector.style.cursor = "-webkit-grab", this.drag.endX = s.pageX, this.drag.preventClick = !1, this.enableTransition(), this.updateAfterDrag(), this.clearDrag());
@@ -728,9 +728,9 @@ var lr = { exports: {} };
728
728
  n.default = c, r.exports = n.default;
729
729
  }]);
730
730
  });
731
- })(lr);
732
- var wn = lr.exports;
733
- const Tn = /* @__PURE__ */ ar(wn);
731
+ })(fr);
732
+ var An = fr.exports;
733
+ const Bn = /* @__PURE__ */ cr(An);
734
734
  /*! *****************************************************************************
735
735
  Copyright (c) Microsoft Corporation.
736
736
 
@@ -745,43 +745,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
745
745
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
746
746
  PERFORMANCE OF THIS SOFTWARE.
747
747
  ***************************************************************************** */
748
- var tt = function(e, t) {
749
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
748
+ var it = function(e, t) {
749
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
750
750
  r.__proto__ = n;
751
751
  } || function(r, n) {
752
752
  for (var i in n)
753
753
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
754
- }, tt(e, t);
754
+ }, it(e, t);
755
755
  };
756
- function Y(e, t) {
756
+ function Se(e, t) {
757
757
  if (typeof t != "function" && t !== null)
758
758
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
759
- tt(e, t);
759
+ it(e, t);
760
760
  function r() {
761
761
  this.constructor = e;
762
762
  }
763
763
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
764
764
  }
765
- var S = function() {
766
- return S = Object.assign || function(t) {
767
- for (var r, n = 1, i = arguments.length; n < i; n++) {
768
- r = arguments[n];
769
- for (var o in r)
770
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
771
- }
772
- return t;
773
- }, S.apply(this, arguments);
774
- };
775
- function Hn(e, t) {
776
- var r = {};
777
- for (var n in e)
778
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
779
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
780
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
781
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
782
- return r;
783
- }
784
- function rt(e) {
765
+ function ot(e) {
785
766
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
786
767
  if (r)
787
768
  return r.call(e);
@@ -793,7 +774,7 @@ function rt(e) {
793
774
  };
794
775
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
795
776
  }
796
- function nt(e, t) {
777
+ function st(e, t) {
797
778
  var r = typeof Symbol == "function" && e[Symbol.iterator];
798
779
  if (!r)
799
780
  return e;
@@ -813,22 +794,22 @@ function nt(e, t) {
813
794
  }
814
795
  return o;
815
796
  }
816
- function ie(e, t, r) {
817
- if (r || arguments.length === 2)
797
+ function at(e, t, r) {
798
+ if (arguments.length === 2)
818
799
  for (var n = 0, i = t.length, o; n < i; n++)
819
800
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
820
801
  return e.concat(o || t);
821
802
  }
822
- function Z(e) {
803
+ function Y(e) {
823
804
  return typeof e == "function";
824
805
  }
825
- function ur(e) {
806
+ function dr(e) {
826
807
  var t = function(n) {
827
808
  Error.call(n), n.stack = new Error().stack;
828
809
  }, r = e(t);
829
810
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
830
811
  }
831
- var Ze = ur(function(e) {
812
+ var qe = dr(function(e) {
832
813
  return function(r) {
833
814
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
834
815
  ` + r.map(function(n, i) {
@@ -837,13 +818,13 @@ var Ze = ur(function(e) {
837
818
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
838
819
  };
839
820
  });
840
- function it(e, t) {
821
+ function lt(e, t) {
841
822
  if (e) {
842
823
  var r = e.indexOf(t);
843
824
  0 <= r && e.splice(r, 1);
844
825
  }
845
826
  }
846
- var De = function() {
827
+ var ke = function() {
847
828
  function e(t) {
848
829
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
849
830
  }
@@ -855,7 +836,7 @@ var De = function() {
855
836
  if (a)
856
837
  if (this._parentage = null, Array.isArray(a))
857
838
  try {
858
- for (var u = rt(a), c = u.next(); !c.done; c = u.next()) {
839
+ for (var u = ot(a), c = u.next(); !c.done; c = u.next()) {
859
840
  var l = c.value;
860
841
  l.remove(this);
861
842
  }
@@ -872,22 +853,22 @@ var De = function() {
872
853
  else
873
854
  a.remove(this);
874
855
  var s = this.initialTeardown;
875
- if (Z(s))
856
+ if (Y(s))
876
857
  try {
877
858
  s();
878
859
  } catch (b) {
879
- o = b instanceof Ze ? b.errors : [b];
860
+ o = b instanceof qe ? b.errors : [b];
880
861
  }
881
862
  var h = this._finalizers;
882
863
  if (h) {
883
864
  this._finalizers = null;
884
865
  try {
885
- for (var f = rt(h), d = f.next(); !d.done; d = f.next()) {
886
- var p = d.value;
866
+ for (var f = ot(h), d = f.next(); !d.done; d = f.next()) {
867
+ var m = d.value;
887
868
  try {
888
- Pt(p);
869
+ Ct(m);
889
870
  } catch (b) {
890
- o = o ?? [], b instanceof Ze ? o = ie(ie([], nt(o)), nt(b.errors)) : o.push(b);
871
+ o = o ?? [], b instanceof qe ? o = at(at([], st(o)), st(b.errors)) : o.push(b);
891
872
  }
892
873
  }
893
874
  } catch (b) {
@@ -902,13 +883,13 @@ var De = function() {
902
883
  }
903
884
  }
904
885
  if (o)
905
- throw new Ze(o);
886
+ throw new qe(o);
906
887
  }
907
888
  }, e.prototype.add = function(t) {
908
889
  var r;
909
890
  if (t && t !== this)
910
891
  if (this.closed)
911
- Pt(t);
892
+ Ct(t);
912
893
  else {
913
894
  if (t instanceof e) {
914
895
  if (t.closed || t._hasParent(this))
@@ -925,56 +906,52 @@ var De = function() {
925
906
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
926
907
  }, e.prototype._removeParent = function(t) {
927
908
  var r = this._parentage;
928
- r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
909
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
929
910
  }, e.prototype.remove = function(t) {
930
911
  var r = this._finalizers;
931
- r && it(r, t), t instanceof e && t._removeParent(this);
912
+ r && lt(r, t), t instanceof e && t._removeParent(this);
932
913
  }, e.EMPTY = function() {
933
914
  var t = new e();
934
915
  return t.closed = !0, t;
935
916
  }(), e;
936
- }(), hr = De.EMPTY;
937
- function cr(e) {
938
- return e instanceof De || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
939
- }
940
- function Pt(e) {
941
- Z(e) ? e() : e.unsubscribe();
942
- }
943
- var Cn = {
944
- onUnhandledError: null,
945
- onStoppedNotification: null,
946
- Promise: void 0,
947
- useDeprecatedSynchronousErrorHandling: !1,
948
- useDeprecatedNextContext: !1
949
- }, Bn = {
917
+ }(), pr = ke.EMPTY;
918
+ function mr(e) {
919
+ return e instanceof ke || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
920
+ }
921
+ function Ct(e) {
922
+ Y(e) ? e() : e.unsubscribe();
923
+ }
924
+ var On = {
925
+ Promise: void 0
926
+ }, Ln = {
950
927
  setTimeout: function(e, t) {
951
928
  for (var r = [], n = 2; n < arguments.length; n++)
952
929
  r[n - 2] = arguments[n];
953
- return setTimeout.apply(void 0, ie([e, t], nt(r)));
930
+ return setTimeout.apply(void 0, at([e, t], st(r)));
954
931
  },
955
932
  clearTimeout: function(e) {
956
933
  return clearTimeout(e);
957
934
  },
958
935
  delegate: void 0
959
936
  };
960
- function An(e) {
961
- Bn.setTimeout(function() {
937
+ function In(e) {
938
+ Ln.setTimeout(function() {
962
939
  throw e;
963
940
  });
964
941
  }
965
- function wt() {
942
+ function At() {
966
943
  }
967
- function Ae(e) {
944
+ function Be(e) {
968
945
  e();
969
946
  }
970
- var fr = function(e) {
971
- Y(t, e);
947
+ var gr = function(e) {
948
+ Se(t, e);
972
949
  function t(r) {
973
950
  var n = e.call(this) || this;
974
- return n.isStopped = !1, r ? (n.destination = r, cr(r) && r.add(n)) : n.destination = Nn, n;
951
+ return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Rn, n;
975
952
  }
976
953
  return t.create = function(r, n, i) {
977
- return new ot(r, n, i);
954
+ return new ut(r, n, i);
978
955
  }, t.prototype.next = function(r) {
979
956
  this.isStopped || this._next(r);
980
957
  }, t.prototype.error = function(r) {
@@ -998,7 +975,7 @@ var fr = function(e) {
998
975
  this.unsubscribe();
999
976
  }
1000
977
  }, t;
1001
- }(De), Ln = function() {
978
+ }(ke), Nn = function() {
1002
979
  function e(t) {
1003
980
  this.partialObserver = t;
1004
981
  }
@@ -1029,43 +1006,43 @@ var fr = function(e) {
1029
1006
  He(r);
1030
1007
  }
1031
1008
  }, e;
1032
- }(), ot = function(e) {
1033
- Y(t, e);
1009
+ }(), ut = function(e) {
1010
+ Se(t, e);
1034
1011
  function t(r, n, i) {
1035
1012
  var o = e.call(this) || this, a;
1036
- return Z(r) || !r ? a = {
1013
+ return Y(r) || !r ? a = {
1037
1014
  next: r ?? void 0,
1038
1015
  error: n ?? void 0,
1039
1016
  complete: i ?? void 0
1040
- } : a = r, o.destination = new Ln(a), o;
1017
+ } : a = r, o.destination = new Nn(a), o;
1041
1018
  }
1042
1019
  return t;
1043
- }(fr);
1020
+ }(gr);
1044
1021
  function He(e) {
1045
- An(e);
1022
+ In(e);
1046
1023
  }
1047
- function In(e) {
1024
+ function Mn(e) {
1048
1025
  throw e;
1049
1026
  }
1050
- var Nn = {
1027
+ var Rn = {
1051
1028
  closed: !0,
1052
- next: wt,
1053
- error: In,
1054
- complete: wt
1055
- }, On = function() {
1029
+ next: At,
1030
+ error: Mn,
1031
+ complete: At
1032
+ }, Dn = function() {
1056
1033
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1057
1034
  }();
1058
- function Mn(e) {
1035
+ function kn(e) {
1059
1036
  return e;
1060
1037
  }
1061
- function Rn(e) {
1062
- return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
1038
+ function Fn(e) {
1039
+ return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
1063
1040
  return e.reduce(function(n, i) {
1064
1041
  return i(n);
1065
1042
  }, r);
1066
1043
  };
1067
1044
  }
1068
- var Tt = function() {
1045
+ var Bt = function() {
1069
1046
  function e(t) {
1070
1047
  t && (this._subscribe = t);
1071
1048
  }
@@ -1073,8 +1050,8 @@ var Tt = function() {
1073
1050
  var r = new e();
1074
1051
  return r.source = this, r.operator = t, r;
1075
1052
  }, e.prototype.subscribe = function(t, r, n) {
1076
- var i = this, o = kn(t) ? t : new ot(t, r, n);
1077
- return Ae(function() {
1053
+ var i = this, o = $n(t) ? t : new ut(t, r, n);
1054
+ return Be(function() {
1078
1055
  var a = i, u = a.operator, c = a.source;
1079
1056
  o.add(u ? u.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
1080
1057
  }), o;
@@ -1086,8 +1063,8 @@ var Tt = function() {
1086
1063
  }
1087
1064
  }, e.prototype.forEach = function(t, r) {
1088
1065
  var n = this;
1089
- return r = Ht(r), new r(function(i, o) {
1090
- var a = new ot({
1066
+ return r = Ot(r), new r(function(i, o) {
1067
+ var a = new ut({
1091
1068
  next: function(u) {
1092
1069
  try {
1093
1070
  t(u);
@@ -1103,15 +1080,15 @@ var Tt = function() {
1103
1080
  }, e.prototype._subscribe = function(t) {
1104
1081
  var r;
1105
1082
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1106
- }, e.prototype[On] = function() {
1083
+ }, e.prototype[Dn] = function() {
1107
1084
  return this;
1108
1085
  }, e.prototype.pipe = function() {
1109
1086
  for (var t = [], r = 0; r < arguments.length; r++)
1110
1087
  t[r] = arguments[r];
1111
- return Rn(t)(this);
1088
+ return Fn(t)(this);
1112
1089
  }, e.prototype.toPromise = function(t) {
1113
1090
  var r = this;
1114
- return t = Ht(t), new t(function(n, i) {
1091
+ return t = Ot(t), new t(function(n, i) {
1115
1092
  var o;
1116
1093
  r.subscribe(function(a) {
1117
1094
  return o = a;
@@ -1125,40 +1102,40 @@ var Tt = function() {
1125
1102
  return new e(t);
1126
1103
  }, e;
1127
1104
  }();
1128
- function Ht(e) {
1105
+ function Ot(e) {
1129
1106
  var t;
1130
- return (t = e ?? Cn.Promise) !== null && t !== void 0 ? t : Promise;
1107
+ return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
1131
1108
  }
1132
- function Dn(e) {
1133
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
1109
+ function Un(e) {
1110
+ return e && Y(e.next) && Y(e.error) && Y(e.complete);
1134
1111
  }
1135
- function kn(e) {
1136
- return e && e instanceof fr || Dn(e) && cr(e);
1112
+ function $n(e) {
1113
+ return e && e instanceof gr || Un(e) && mr(e);
1137
1114
  }
1138
- var Fn = ur(function(e) {
1115
+ var Gn = dr(function(e) {
1139
1116
  return function() {
1140
1117
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1141
1118
  };
1142
- }), dr = function(e) {
1143
- Y(t, e);
1119
+ }), br = function(e) {
1120
+ Se(t, e);
1144
1121
  function t() {
1145
1122
  var r = e.call(this) || this;
1146
1123
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1147
1124
  }
1148
1125
  return t.prototype.lift = function(r) {
1149
- var n = new Ct(this, this);
1126
+ var n = new Lt(this, this);
1150
1127
  return n.operator = r, n;
1151
1128
  }, t.prototype._throwIfClosed = function() {
1152
1129
  if (this.closed)
1153
- throw new Fn();
1130
+ throw new Gn();
1154
1131
  }, t.prototype.next = function(r) {
1155
1132
  var n = this;
1156
- Ae(function() {
1133
+ Be(function() {
1157
1134
  var i, o;
1158
1135
  if (n._throwIfClosed(), !n.isStopped) {
1159
1136
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1160
1137
  try {
1161
- for (var a = rt(n.currentObservers), u = a.next(); !u.done; u = a.next()) {
1138
+ for (var a = ot(n.currentObservers), u = a.next(); !u.done; u = a.next()) {
1162
1139
  var c = u.value;
1163
1140
  c.next(r);
1164
1141
  }
@@ -1176,7 +1153,7 @@ var Fn = ur(function(e) {
1176
1153
  });
1177
1154
  }, t.prototype.error = function(r) {
1178
1155
  var n = this;
1179
- Ae(function() {
1156
+ Be(function() {
1180
1157
  if (n._throwIfClosed(), !n.isStopped) {
1181
1158
  n.hasError = n.isStopped = !0, n.thrownError = r;
1182
1159
  for (var i = n.observers; i.length; )
@@ -1185,7 +1162,7 @@ var Fn = ur(function(e) {
1185
1162
  });
1186
1163
  }, t.prototype.complete = function() {
1187
1164
  var r = this;
1188
- Ae(function() {
1165
+ Be(function() {
1189
1166
  if (r._throwIfClosed(), !r.isStopped) {
1190
1167
  r.isStopped = !0;
1191
1168
  for (var n = r.observers; n.length; )
@@ -1207,20 +1184,20 @@ var Fn = ur(function(e) {
1207
1184
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1208
1185
  }, t.prototype._innerSubscribe = function(r) {
1209
1186
  var n = this, i = this, o = i.hasError, a = i.isStopped, u = i.observers;
1210
- return o || a ? hr : (this.currentObservers = null, u.push(r), new De(function() {
1211
- n.currentObservers = null, it(u, r);
1187
+ return o || a ? pr : (this.currentObservers = null, u.push(r), new ke(function() {
1188
+ n.currentObservers = null, lt(u, r);
1212
1189
  }));
1213
1190
  }, t.prototype._checkFinalizedStatuses = function(r) {
1214
1191
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1215
1192
  i ? r.error(o) : a && r.complete();
1216
1193
  }, t.prototype.asObservable = function() {
1217
- var r = new Tt();
1194
+ var r = new Bt();
1218
1195
  return r.source = this, r;
1219
1196
  }, t.create = function(r, n) {
1220
- return new Ct(r, n);
1197
+ return new Lt(r, n);
1221
1198
  }, t;
1222
- }(Tt), Ct = function(e) {
1223
- Y(t, e);
1199
+ }(Bt), Lt = function(e) {
1200
+ Se(t, e);
1224
1201
  function t(r, n) {
1225
1202
  var i = e.call(this) || this;
1226
1203
  return i.destination = r, i.source = n, i;
@@ -1236,17 +1213,17 @@ var Fn = ur(function(e) {
1236
1213
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1237
1214
  }, t.prototype._subscribe = function(r) {
1238
1215
  var n, i;
1239
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : hr;
1216
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
1240
1217
  }, t;
1241
- }(dr), mr = {
1218
+ }(br), vr = {
1242
1219
  now: function() {
1243
- return (mr.delegate || Date).now();
1220
+ return (vr.delegate || Date).now();
1244
1221
  },
1245
1222
  delegate: void 0
1246
- }, Un = function(e) {
1247
- Y(t, e);
1223
+ }, jn = function(e) {
1224
+ Se(t, e);
1248
1225
  function t(r, n, i) {
1249
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
1226
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vr);
1250
1227
  var o = e.call(this) || this;
1251
1228
  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;
1252
1229
  }
@@ -1266,24 +1243,24 @@ var Fn = ur(function(e) {
1266
1243
  l && o.splice(0, l + 1);
1267
1244
  }
1268
1245
  }, t;
1269
- }(dr);
1270
- const Bt = [], At = {}, $n = (e, t = 0) => {
1271
- if (Bt.indexOf(e) == -1) {
1272
- const r = new Un(t);
1273
- At[e] = r, Bt.push(e);
1246
+ }(br);
1247
+ const It = [], Nt = {}, Xn = (e, t = 0) => {
1248
+ if (It.indexOf(e) == -1) {
1249
+ const r = new jn(t);
1250
+ Nt[e] = r, It.push(e);
1274
1251
  }
1275
- return At[e];
1252
+ return Nt[e];
1276
1253
  }, te = [];
1277
- function Gn(e, t) {
1254
+ function Vn(e, t) {
1278
1255
  return {
1279
- subscribe: ke(e, t).subscribe
1256
+ subscribe: Fe(e, t).subscribe
1280
1257
  };
1281
1258
  }
1282
- function ke(e, t = W) {
1259
+ function Fe(e, t = W) {
1283
1260
  let r;
1284
1261
  const n = /* @__PURE__ */ new Set();
1285
1262
  function i(u) {
1286
- if (rr(e, u) && (e = u, r)) {
1263
+ if (sr(e, u) && (e = u, r)) {
1287
1264
  const c = !te.length;
1288
1265
  for (const l of n)
1289
1266
  l[1](), te.push(l, e);
@@ -1305,12 +1282,12 @@ function ke(e, t = W) {
1305
1282
  }
1306
1283
  return { set: i, update: o, subscribe: a };
1307
1284
  }
1308
- function de(e, t, r) {
1285
+ function fe(e, t, r) {
1309
1286
  const n = !Array.isArray(e), i = n ? [e] : e;
1310
1287
  if (!i.every(Boolean))
1311
1288
  throw new Error("derived() expects stores as input, got a falsy value");
1312
1289
  const o = t.length < 2;
1313
- return Gn(r, (a, u) => {
1290
+ return Vn(r, (a, u) => {
1314
1291
  let c = !1;
1315
1292
  const l = [];
1316
1293
  let s = 0, h = W;
@@ -1318,13 +1295,13 @@ function de(e, t, r) {
1318
1295
  if (s)
1319
1296
  return;
1320
1297
  h();
1321
- const p = t(n ? l[0] : l, a, u);
1322
- o ? a(p) : h = mt(p) ? p : W;
1298
+ const m = t(n ? l[0] : l, a, u);
1299
+ o ? a(m) : h = yt(m) ? m : W;
1323
1300
  }, d = i.map(
1324
- (p, b) => ir(
1325
- p,
1326
- (P) => {
1327
- l[b] = P, s &= ~(1 << b), c && f();
1301
+ (m, b) => lr(
1302
+ m,
1303
+ (S) => {
1304
+ l[b] = S, s &= ~(1 << b), c && f();
1328
1305
  },
1329
1306
  () => {
1330
1307
  s |= 1 << b;
@@ -1332,115 +1309,154 @@ function de(e, t, r) {
1332
1309
  )
1333
1310
  );
1334
1311
  return c = !0, f(), function() {
1335
- fe(d), h(), c = !1;
1312
+ ce(d), h(), c = !1;
1336
1313
  };
1337
1314
  });
1338
1315
  }
1339
- var jn = function(t) {
1340
- return Xn(t) && !Vn(t);
1316
+ var zn = function(t) {
1317
+ return Wn(t) && !Zn(t);
1341
1318
  };
1342
- function Xn(e) {
1319
+ function Wn(e) {
1343
1320
  return !!e && typeof e == "object";
1344
1321
  }
1345
- function Vn(e) {
1322
+ function Zn(e) {
1346
1323
  var t = Object.prototype.toString.call(e);
1347
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1324
+ return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1348
1325
  }
1349
- var zn = typeof Symbol == "function" && Symbol.for, Wn = zn ? Symbol.for("react.element") : 60103;
1350
- function Zn(e) {
1351
- return e.$$typeof === Wn;
1326
+ var Yn = typeof Symbol == "function" && Symbol.for, qn = Yn ? Symbol.for("react.element") : 60103;
1327
+ function Qn(e) {
1328
+ return e.$$typeof === qn;
1352
1329
  }
1353
- function Yn(e) {
1330
+ function Jn(e) {
1354
1331
  return Array.isArray(e) ? [] : {};
1355
1332
  }
1356
- function Ee(e, t) {
1357
- return t.clone !== !1 && t.isMergeableObject(e) ? le(Yn(e), e, t) : e;
1333
+ function xe(e, t) {
1334
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(Jn(e), e, t) : e;
1358
1335
  }
1359
- function qn(e, t, r) {
1336
+ function Kn(e, t, r) {
1360
1337
  return e.concat(t).map(function(n) {
1361
- return Ee(n, r);
1338
+ return xe(n, r);
1362
1339
  });
1363
1340
  }
1364
- function Qn(e, t) {
1341
+ function ei(e, t) {
1365
1342
  if (!t.customMerge)
1366
- return le;
1343
+ return ae;
1367
1344
  var r = t.customMerge(e);
1368
- return typeof r == "function" ? r : le;
1345
+ return typeof r == "function" ? r : ae;
1369
1346
  }
1370
- function Jn(e) {
1347
+ function ti(e) {
1371
1348
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1372
1349
  return Object.propertyIsEnumerable.call(e, t);
1373
1350
  }) : [];
1374
1351
  }
1375
- function Lt(e) {
1376
- return Object.keys(e).concat(Jn(e));
1352
+ function Mt(e) {
1353
+ return Object.keys(e).concat(ti(e));
1377
1354
  }
1378
- function pr(e, t) {
1355
+ function yr(e, t) {
1379
1356
  try {
1380
1357
  return t in e;
1381
1358
  } catch {
1382
1359
  return !1;
1383
1360
  }
1384
1361
  }
1385
- function Kn(e, t) {
1386
- return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1362
+ function ri(e, t) {
1363
+ return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1387
1364
  }
1388
- function ei(e, t, r) {
1365
+ function ni(e, t, r) {
1389
1366
  var n = {};
1390
- return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1391
- n[i] = Ee(e[i], r);
1392
- }), Lt(t).forEach(function(i) {
1393
- Kn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
1367
+ return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
1368
+ n[i] = xe(e[i], r);
1369
+ }), Mt(t).forEach(function(i) {
1370
+ ri(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
1394
1371
  }), n;
1395
1372
  }
1396
- function le(e, t, r) {
1397
- r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = Ee;
1373
+ function ae(e, t, r) {
1374
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = xe;
1398
1375
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1399
- return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : Ee(t, r);
1376
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : xe(t, r);
1400
1377
  }
1401
- le.all = function(t, r) {
1378
+ ae.all = function(t, r) {
1402
1379
  if (!Array.isArray(t))
1403
1380
  throw new Error("first argument should be an array");
1404
1381
  return t.reduce(function(n, i) {
1405
- return le(n, i, r);
1382
+ return ae(n, i, r);
1406
1383
  }, {});
1407
1384
  };
1408
- var ti = le, ri = ti;
1409
- const ni = /* @__PURE__ */ ar(ri);
1410
- function Ye(e, t) {
1411
- var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : oi;
1385
+ var ii = ae, oi = ii;
1386
+ const si = /* @__PURE__ */ cr(oi);
1387
+ var ht = function(e, t) {
1388
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1389
+ r.__proto__ = n;
1390
+ } || function(r, n) {
1391
+ for (var i in n)
1392
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1393
+ }, ht(e, t);
1394
+ };
1395
+ function Ue(e, t) {
1396
+ if (typeof t != "function" && t !== null)
1397
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1398
+ ht(e, t);
1399
+ function r() {
1400
+ this.constructor = e;
1401
+ }
1402
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1403
+ }
1404
+ var Z = function() {
1405
+ return Z = Object.assign || function(t) {
1406
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1407
+ r = arguments[n];
1408
+ for (var o in r)
1409
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1410
+ }
1411
+ return t;
1412
+ }, Z.apply(this, arguments);
1413
+ };
1414
+ function ai(e, t) {
1415
+ var r = {};
1416
+ for (var n in e)
1417
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1418
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1419
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1420
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1421
+ return r;
1422
+ }
1423
+ function Qe(e, t, r) {
1424
+ if (r || arguments.length === 2)
1425
+ for (var n = 0, i = t.length, o; n < i; n++)
1426
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1427
+ return e.concat(o || Array.prototype.slice.call(t));
1428
+ }
1429
+ function Je(e, t) {
1430
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
1412
1431
  return i(e, {
1413
1432
  cache: r,
1414
1433
  serializer: n
1415
1434
  });
1416
1435
  }
1417
- function ii(e) {
1436
+ function li(e) {
1418
1437
  return e == null || typeof e == "number" || typeof e == "boolean";
1419
1438
  }
1420
- function gr(e, t, r, n) {
1421
- var i = ii(n) ? n : r(n), o = t.get(i);
1439
+ function ui(e, t, r, n) {
1440
+ var i = li(n) ? n : r(n), o = t.get(i);
1422
1441
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1423
1442
  }
1424
- function br(e, t, r) {
1443
+ function _r(e, t, r) {
1425
1444
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1426
1445
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1427
1446
  }
1428
- function gt(e, t, r, n, i) {
1447
+ function xr(e, t, r, n, i) {
1429
1448
  return r.bind(t, e, n, i);
1430
1449
  }
1431
- function oi(e, t) {
1432
- var r = e.length === 1 ? gr : br;
1433
- return gt(e, this, r, t.cache.create(), t.serializer);
1450
+ function hi(e, t) {
1451
+ var r = e.length === 1 ? ui : _r;
1452
+ return xr(e, this, r, t.cache.create(), t.serializer);
1434
1453
  }
1435
- function si(e, t) {
1436
- return gt(e, this, br, t.cache.create(), t.serializer);
1437
- }
1438
- function ai(e, t) {
1439
- return gt(e, this, gr, t.cache.create(), t.serializer);
1454
+ function ci(e, t) {
1455
+ return xr(e, this, _r, t.cache.create(), t.serializer);
1440
1456
  }
1441
- var li = function() {
1457
+ var fi = function() {
1442
1458
  return JSON.stringify(arguments);
1443
- }, ui = (
1459
+ }, di = (
1444
1460
  /** @class */
1445
1461
  function() {
1446
1462
  function e() {
@@ -1452,62 +1468,71 @@ var li = function() {
1452
1468
  this.cache[t] = r;
1453
1469
  }, e;
1454
1470
  }()
1455
- ), hi = {
1471
+ ), pi = {
1456
1472
  create: function() {
1457
- return new ui();
1473
+ return new di();
1458
1474
  }
1459
- }, qe = {
1460
- variadic: si,
1461
- monadic: ai
1462
- }, _;
1475
+ }, Ke = {
1476
+ variadic: ci
1477
+ }, Ne = function() {
1478
+ return Ne = Object.assign || function(t) {
1479
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1480
+ r = arguments[n];
1481
+ for (var o in r)
1482
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1483
+ }
1484
+ return t;
1485
+ }, Ne.apply(this, arguments);
1486
+ };
1487
+ var _;
1463
1488
  (function(e) {
1464
1489
  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";
1465
1490
  })(_ || (_ = {}));
1466
- var C;
1491
+ var H;
1467
1492
  (function(e) {
1468
1493
  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";
1469
- })(C || (C = {}));
1470
- var ue;
1494
+ })(H || (H = {}));
1495
+ var le;
1471
1496
  (function(e) {
1472
1497
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1473
- })(ue || (ue = {}));
1474
- function It(e) {
1475
- return e.type === C.literal;
1498
+ })(le || (le = {}));
1499
+ function Rt(e) {
1500
+ return e.type === H.literal;
1476
1501
  }
1477
- function ci(e) {
1478
- return e.type === C.argument;
1502
+ function mi(e) {
1503
+ return e.type === H.argument;
1479
1504
  }
1480
- function vr(e) {
1481
- return e.type === C.number;
1505
+ function Er(e) {
1506
+ return e.type === H.number;
1482
1507
  }
1483
- function yr(e) {
1484
- return e.type === C.date;
1508
+ function Sr(e) {
1509
+ return e.type === H.date;
1485
1510
  }
1486
- function _r(e) {
1487
- return e.type === C.time;
1511
+ function Pr(e) {
1512
+ return e.type === H.time;
1488
1513
  }
1489
- function xr(e) {
1490
- return e.type === C.select;
1514
+ function wr(e) {
1515
+ return e.type === H.select;
1491
1516
  }
1492
- function Er(e) {
1493
- return e.type === C.plural;
1517
+ function Tr(e) {
1518
+ return e.type === H.plural;
1494
1519
  }
1495
- function fi(e) {
1496
- return e.type === C.pound;
1520
+ function gi(e) {
1521
+ return e.type === H.pound;
1497
1522
  }
1498
- function Sr(e) {
1499
- return e.type === C.tag;
1523
+ function Hr(e) {
1524
+ return e.type === H.tag;
1500
1525
  }
1501
- function Pr(e) {
1502
- return !!(e && typeof e == "object" && e.type === ue.number);
1526
+ function Cr(e) {
1527
+ return !!(e && typeof e == "object" && e.type === le.number);
1503
1528
  }
1504
- function st(e) {
1505
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
1529
+ function ct(e) {
1530
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
1506
1531
  }
1507
- var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1508
- function mi(e) {
1532
+ var Ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1533
+ function vi(e) {
1509
1534
  var t = {};
1510
- return e.replace(di, function(r) {
1535
+ return e.replace(bi, function(r) {
1511
1536
  var n = r.length;
1512
1537
  switch (r[0]) {
1513
1538
  case "G":
@@ -1596,11 +1621,21 @@ function mi(e) {
1596
1621
  return "";
1597
1622
  }), t;
1598
1623
  }
1599
- var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1600
- function gi(e) {
1624
+ var A = function() {
1625
+ return A = Object.assign || function(t) {
1626
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1627
+ r = arguments[n];
1628
+ for (var o in r)
1629
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1630
+ }
1631
+ return t;
1632
+ }, A.apply(this, arguments);
1633
+ };
1634
+ var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1635
+ function _i(e) {
1601
1636
  if (e.length === 0)
1602
1637
  throw new Error("Number skeleton cannot be empty");
1603
- for (var t = e.split(pi).filter(function(f) {
1638
+ for (var t = e.split(yi).filter(function(f) {
1604
1639
  return f.length > 0;
1605
1640
  }), r = [], n = 0, i = t; n < i.length; n++) {
1606
1641
  var o = i[n], a = o.split("/");
@@ -1615,17 +1650,17 @@ function gi(e) {
1615
1650
  }
1616
1651
  return r;
1617
1652
  }
1618
- function bi(e) {
1653
+ function xi(e) {
1619
1654
  return e.replace(/^(.*?)-/, "");
1620
1655
  }
1621
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1622
- function Ot(e) {
1656
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1657
+ function kt(e) {
1623
1658
  var t = {};
1624
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1659
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(r, n, i) {
1625
1660
  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)), "";
1626
1661
  }), t;
1627
1662
  }
1628
- function Cr(e) {
1663
+ function Lr(e) {
1629
1664
  switch (e) {
1630
1665
  case "sign-auto":
1631
1666
  return {
@@ -1665,7 +1700,7 @@ function Cr(e) {
1665
1700
  };
1666
1701
  }
1667
1702
  }
1668
- function yi(e) {
1703
+ function Si(e) {
1669
1704
  var t;
1670
1705
  if (e[0] === "E" && e[1] === "E" ? (t = {
1671
1706
  notation: "engineering"
@@ -1673,17 +1708,17 @@ function yi(e) {
1673
1708
  notation: "scientific"
1674
1709
  }, e = e.slice(1)), t) {
1675
1710
  var r = e.slice(0, 2);
1676
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1711
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1677
1712
  throw new Error("Malformed concise eng/scientific notation");
1678
1713
  t.minimumIntegerDigits = e.length;
1679
1714
  }
1680
1715
  return t;
1681
1716
  }
1682
- function Mt(e) {
1683
- var t = {}, r = Cr(e);
1717
+ function Ft(e) {
1718
+ var t = {}, r = Lr(e);
1684
1719
  return r || t;
1685
1720
  }
1686
- function _i(e) {
1721
+ function Pi(e) {
1687
1722
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1688
1723
  var i = n[r];
1689
1724
  switch (i.stem) {
@@ -1707,7 +1742,7 @@ function _i(e) {
1707
1742
  continue;
1708
1743
  case "measure-unit":
1709
1744
  case "unit":
1710
- t.style = "unit", t.unit = bi(i.options[0]);
1745
+ t.style = "unit", t.unit = xi(i.options[0]);
1711
1746
  continue;
1712
1747
  case "compact-short":
1713
1748
  case "K":
@@ -1718,13 +1753,13 @@ function _i(e) {
1718
1753
  t.notation = "compact", t.compactDisplay = "long";
1719
1754
  continue;
1720
1755
  case "scientific":
1721
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1722
- return S(S({}, c), Mt(l));
1756
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1757
+ return A(A({}, c), Ft(l));
1723
1758
  }, {}));
1724
1759
  continue;
1725
1760
  case "engineering":
1726
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1727
- return S(S({}, c), Mt(l));
1761
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1762
+ return A(A({}, c), Ft(l));
1728
1763
  }, {}));
1729
1764
  continue;
1730
1765
  case "notation-simple":
@@ -1769,7 +1804,7 @@ function _i(e) {
1769
1804
  case "integer-width":
1770
1805
  if (i.options.length > 1)
1771
1806
  throw new RangeError("integer-width stems only accept a single optional option");
1772
- i.options[0].replace(vi, function(c, l, s, h, f, d) {
1807
+ i.options[0].replace(Ei, function(c, l, s, h, f, d) {
1773
1808
  if (l)
1774
1809
  t.minimumIntegerDigits = s.length;
1775
1810
  else {
@@ -1782,28 +1817,28 @@ function _i(e) {
1782
1817
  });
1783
1818
  continue;
1784
1819
  }
1785
- if (Hr.test(i.stem)) {
1820
+ if (Or.test(i.stem)) {
1786
1821
  t.minimumIntegerDigits = i.stem.length;
1787
1822
  continue;
1788
1823
  }
1789
- if (Nt.test(i.stem)) {
1824
+ if (Dt.test(i.stem)) {
1790
1825
  if (i.options.length > 1)
1791
1826
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1792
- i.stem.replace(Nt, function(c, l, s, h, f, d) {
1827
+ i.stem.replace(Dt, function(c, l, s, h, f, d) {
1793
1828
  return s === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1794
1829
  });
1795
1830
  var o = i.options[0];
1796
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1831
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), kt(o)));
1797
1832
  continue;
1798
1833
  }
1799
- if (Tr.test(i.stem)) {
1800
- t = S(S({}, t), Ot(i.stem));
1834
+ if (Br.test(i.stem)) {
1835
+ t = A(A({}, t), kt(i.stem));
1801
1836
  continue;
1802
1837
  }
1803
- var a = Cr(i.stem);
1804
- a && (t = S(S({}, t), a));
1805
- var u = yi(i.stem);
1806
- u && (t = S(S({}, t), u));
1838
+ var a = Lr(i.stem);
1839
+ a && (t = A(A({}, t), a));
1840
+ var u = Si(i.stem);
1841
+ u && (t = A(A({}, t), u));
1807
1842
  }
1808
1843
  return t;
1809
1844
  }
@@ -3222,13 +3257,13 @@ var Ce = {
3222
3257
  "h"
3223
3258
  ]
3224
3259
  };
3225
- function xi(e, t) {
3260
+ function wi(e, t) {
3226
3261
  for (var r = "", n = 0; n < e.length; n++) {
3227
3262
  var i = e.charAt(n);
3228
3263
  if (i === "j") {
3229
3264
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3230
3265
  o++, n++;
3231
- var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
3266
+ var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ti(t);
3232
3267
  for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
3233
3268
  r += c;
3234
3269
  for (; a-- > 0; )
@@ -3238,7 +3273,7 @@ function xi(e, t) {
3238
3273
  }
3239
3274
  return r;
3240
3275
  }
3241
- function Ei(e) {
3276
+ function Ti(e) {
3242
3277
  var t = e.hourCycle;
3243
3278
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3244
3279
  e.hourCycles && // @ts-ignore
@@ -3260,20 +3295,20 @@ function Ei(e) {
3260
3295
  var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
3261
3296
  return i[0];
3262
3297
  }
3263
- var Qe, Si = new RegExp("^".concat(wr.source, "*")), Pi = new RegExp("".concat(wr.source, "*$"));
3298
+ var et, Hi = new RegExp("^".concat(Ar.source, "*")), Ci = new RegExp("".concat(Ar.source, "*$"));
3264
3299
  function x(e, t) {
3265
3300
  return { start: e, end: t };
3266
3301
  }
3267
- var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ii = Li ? Number.isSafeInteger : function(e) {
3302
+ var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
3268
3303
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3269
- }, at = !0;
3304
+ }, ft = !0;
3270
3305
  try {
3271
- var Ni = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3272
- at = ((Qe = Ni.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
3306
+ var Di = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3307
+ ft = ((et = Di.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3273
3308
  } catch {
3274
- at = !1;
3309
+ ft = !1;
3275
3310
  }
3276
- var Rt = wi ? (
3311
+ var Ut = Ai ? (
3277
3312
  // Native
3278
3313
  function(t, r, n) {
3279
3314
  return t.startsWith(r, n);
@@ -3283,7 +3318,7 @@ var Rt = wi ? (
3283
3318
  function(t, r, n) {
3284
3319
  return t.slice(n, n + r.length) === r;
3285
3320
  }
3286
- ), lt = Ti ? String.fromCodePoint : (
3321
+ ), dt = Bi ? String.fromCodePoint : (
3287
3322
  // IE11
3288
3323
  function() {
3289
3324
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3295,9 +3330,9 @@ var Rt = wi ? (
3295
3330
  }
3296
3331
  return n;
3297
3332
  }
3298
- ), Dt = (
3333
+ ), $t = (
3299
3334
  // native
3300
- Hi ? Object.fromEntries : (
3335
+ Oi ? Object.fromEntries : (
3301
3336
  // Ponyfill
3302
3337
  function(t) {
3303
3338
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3307,7 +3342,7 @@ var Rt = wi ? (
3307
3342
  return r;
3308
3343
  }
3309
3344
  )
3310
- ), Br = Ci ? (
3345
+ ), Ir = Li ? (
3311
3346
  // Native
3312
3347
  function(t, r) {
3313
3348
  return t.codePointAt(r);
@@ -3321,7 +3356,7 @@ var Rt = wi ? (
3321
3356
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3322
3357
  }
3323
3358
  }
3324
- ), Oi = Bi ? (
3359
+ ), ki = Ii ? (
3325
3360
  // Native
3326
3361
  function(t) {
3327
3362
  return t.trimStart();
@@ -3329,9 +3364,9 @@ var Rt = wi ? (
3329
3364
  ) : (
3330
3365
  // Ponyfill
3331
3366
  function(t) {
3332
- return t.replace(Si, "");
3367
+ return t.replace(Hi, "");
3333
3368
  }
3334
- ), Mi = Ai ? (
3369
+ ), Fi = Ni ? (
3335
3370
  // Native
3336
3371
  function(t) {
3337
3372
  return t.trimEnd();
@@ -3339,32 +3374,32 @@ var Rt = wi ? (
3339
3374
  ) : (
3340
3375
  // Ponyfill
3341
3376
  function(t) {
3342
- return t.replace(Pi, "");
3377
+ return t.replace(Ci, "");
3343
3378
  }
3344
3379
  );
3345
- function Ar(e, t) {
3380
+ function Nr(e, t) {
3346
3381
  return new RegExp(e, t);
3347
3382
  }
3348
- var ut;
3349
- if (at) {
3350
- var kt = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3351
- ut = function(t, r) {
3383
+ var pt;
3384
+ if (ft) {
3385
+ var Gt = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3386
+ pt = function(t, r) {
3352
3387
  var n;
3353
- kt.lastIndex = r;
3354
- var i = kt.exec(t);
3388
+ Gt.lastIndex = r;
3389
+ var i = Gt.exec(t);
3355
3390
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3356
3391
  };
3357
3392
  } else
3358
- ut = function(t, r) {
3393
+ pt = function(t, r) {
3359
3394
  for (var n = []; ; ) {
3360
- var i = Br(t, r);
3361
- if (i === void 0 || Lr(i) || Fi(i))
3395
+ var i = Ir(t, r);
3396
+ if (i === void 0 || Mr(i) || ji(i))
3362
3397
  break;
3363
3398
  n.push(i), r += i >= 65536 ? 2 : 1;
3364
3399
  }
3365
- return lt.apply(void 0, n);
3400
+ return dt.apply(void 0, n);
3366
3401
  };
3367
- var Ri = (
3402
+ var Ui = (
3368
3403
  /** @class */
3369
3404
  function() {
3370
3405
  function e(t, r) {
@@ -3388,14 +3423,14 @@ var Ri = (
3388
3423
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3389
3424
  var u = this.clonePosition();
3390
3425
  this.bump(), i.push({
3391
- type: C.pound,
3426
+ type: H.pound,
3392
3427
  location: x(u, this.clonePosition())
3393
3428
  });
3394
3429
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3395
3430
  if (n)
3396
3431
  break;
3397
3432
  return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3398
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3433
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3399
3434
  var a = this.parseTag(t, r);
3400
3435
  if (a.err)
3401
3436
  return a;
@@ -3416,7 +3451,7 @@ var Ri = (
3416
3451
  if (this.bumpSpace(), this.bumpIf("/>"))
3417
3452
  return {
3418
3453
  val: {
3419
- type: C.literal,
3454
+ type: H.literal,
3420
3455
  value: "<".concat(i, "/>"),
3421
3456
  location: x(n, this.clonePosition())
3422
3457
  },
@@ -3428,12 +3463,12 @@ var Ri = (
3428
3463
  return o;
3429
3464
  var a = o.val, u = this.clonePosition();
3430
3465
  if (this.bumpIf("</")) {
3431
- if (this.isEOF() || !ht(this.char()))
3466
+ if (this.isEOF() || !mt(this.char()))
3432
3467
  return this.error(_.INVALID_TAG, x(u, this.clonePosition()));
3433
3468
  var c = this.clonePosition(), l = this.parseTagName();
3434
3469
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3435
3470
  val: {
3436
- type: C.tag,
3471
+ type: H.tag,
3437
3472
  value: i,
3438
3473
  children: a,
3439
3474
  location: x(n, this.clonePosition())
@@ -3446,7 +3481,7 @@ var Ri = (
3446
3481
  return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3447
3482
  }, e.prototype.parseTagName = function() {
3448
3483
  var t = this.offset();
3449
- for (this.bump(); !this.isEOF() && ki(this.char()); )
3484
+ for (this.bump(); !this.isEOF() && Gi(this.char()); )
3450
3485
  this.bump();
3451
3486
  return this.message.slice(t, this.offset());
3452
3487
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3470,12 +3505,12 @@ var Ri = (
3470
3505
  }
3471
3506
  var c = x(n, this.clonePosition());
3472
3507
  return {
3473
- val: { type: C.literal, value: i, location: c },
3508
+ val: { type: H.literal, value: i, location: c },
3474
3509
  err: null
3475
3510
  };
3476
3511
  }, e.prototype.tryParseLeftAngleBracket = function() {
3477
3512
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3478
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3513
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3479
3514
  }, e.prototype.tryParseQuote = function(t) {
3480
3515
  if (this.isEOF() || this.char() !== 39)
3481
3516
  return null;
@@ -3509,12 +3544,12 @@ var Ri = (
3509
3544
  r.push(n);
3510
3545
  this.bump();
3511
3546
  }
3512
- return lt.apply(void 0, r);
3547
+ return dt.apply(void 0, r);
3513
3548
  }, e.prototype.tryParseUnquoted = function(t, r) {
3514
3549
  if (this.isEOF())
3515
3550
  return null;
3516
3551
  var n = this.char();
3517
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3552
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3518
3553
  }, e.prototype.parseArgument = function(t, r) {
3519
3554
  var n = this.clonePosition();
3520
3555
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3530,7 +3565,7 @@ var Ri = (
3530
3565
  case 125:
3531
3566
  return this.bump(), {
3532
3567
  val: {
3533
- type: C.argument,
3568
+ type: H.argument,
3534
3569
  // value does not include the opening and closing braces.
3535
3570
  value: i,
3536
3571
  location: x(n, this.clonePosition())
@@ -3543,7 +3578,7 @@ var Ri = (
3543
3578
  return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3544
3579
  }
3545
3580
  }, e.prototype.parseIdentifierIfPossible = function() {
3546
- var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3581
+ var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3547
3582
  this.bumpTo(i);
3548
3583
  var o = this.clonePosition(), a = x(t, o);
3549
3584
  return { value: n, location: a };
@@ -3562,44 +3597,44 @@ var Ri = (
3562
3597
  var s = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3563
3598
  if (h.err)
3564
3599
  return h;
3565
- var f = Mi(h.val);
3600
+ var f = Fi(h.val);
3566
3601
  if (f.length === 0)
3567
3602
  return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3568
3603
  var d = x(s, this.clonePosition());
3569
3604
  l = { style: f, styleLocation: d };
3570
3605
  }
3571
- var p = this.tryParseArgumentClose(i);
3572
- if (p.err)
3573
- return p;
3606
+ var m = this.tryParseArgumentClose(i);
3607
+ if (m.err)
3608
+ return m;
3574
3609
  var b = x(i, this.clonePosition());
3575
- if (l && Rt(l?.style, "::", 0)) {
3576
- var P = Oi(l.style.slice(2));
3610
+ if (l && Ut(l?.style, "::", 0)) {
3611
+ var S = ki(l.style.slice(2));
3577
3612
  if (u === "number") {
3578
- var h = this.parseNumberSkeletonFromString(P, l.styleLocation);
3613
+ var h = this.parseNumberSkeletonFromString(S, l.styleLocation);
3579
3614
  return h.err ? h : {
3580
- val: { type: C.number, value: n, location: b, style: h.val },
3615
+ val: { type: H.number, value: n, location: b, style: h.val },
3581
3616
  err: null
3582
3617
  };
3583
3618
  } else {
3584
- if (P.length === 0)
3619
+ if (S.length === 0)
3585
3620
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3586
- var E = P;
3587
- this.locale && (E = xi(P, this.locale));
3621
+ var E = S;
3622
+ this.locale && (E = wi(S, this.locale));
3588
3623
  var f = {
3589
- type: ue.dateTime,
3624
+ type: le.dateTime,
3590
3625
  pattern: E,
3591
3626
  location: l.styleLocation,
3592
- parsedOptions: this.shouldParseSkeletons ? mi(E) : {}
3593
- }, A = u === "date" ? C.date : C.time;
3627
+ parsedOptions: this.shouldParseSkeletons ? vi(E) : {}
3628
+ }, B = u === "date" ? H.date : H.time;
3594
3629
  return {
3595
- val: { type: A, value: n, location: b, style: f },
3630
+ val: { type: B, value: n, location: b, style: f },
3596
3631
  err: null
3597
3632
  };
3598
3633
  }
3599
3634
  }
3600
3635
  return {
3601
3636
  val: {
3602
- type: u === "number" ? C.number : u === "date" ? C.date : C.time,
3637
+ type: u === "number" ? H.number : u === "date" ? H.date : H.time,
3603
3638
  value: n,
3604
3639
  location: b,
3605
3640
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3610,43 +3645,43 @@ var Ri = (
3610
3645
  case "plural":
3611
3646
  case "selectordinal":
3612
3647
  case "select": {
3613
- var L = this.clonePosition();
3648
+ var O = this.clonePosition();
3614
3649
  if (this.bumpSpace(), !this.bumpIf(","))
3615
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(L, S({}, L)));
3650
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(O, Ne({}, O)));
3616
3651
  this.bumpSpace();
3617
- var O = this.parseIdentifierIfPossible(), H = 0;
3618
- if (u !== "select" && O.value === "offset") {
3652
+ var N = this.parseIdentifierIfPossible(), T = 0;
3653
+ if (u !== "select" && N.value === "offset") {
3619
3654
  if (!this.bumpIf(":"))
3620
3655
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3621
3656
  this.bumpSpace();
3622
3657
  var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3623
3658
  if (h.err)
3624
3659
  return h;
3625
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = h.val;
3660
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = h.val;
3626
3661
  }
3627
- var v = this.tryParsePluralOrSelectOptions(t, u, r, O);
3662
+ var v = this.tryParsePluralOrSelectOptions(t, u, r, N);
3628
3663
  if (v.err)
3629
3664
  return v;
3630
- var p = this.tryParseArgumentClose(i);
3631
- if (p.err)
3632
- return p;
3633
- var T = x(i, this.clonePosition());
3665
+ var m = this.tryParseArgumentClose(i);
3666
+ if (m.err)
3667
+ return m;
3668
+ var w = x(i, this.clonePosition());
3634
3669
  return u === "select" ? {
3635
3670
  val: {
3636
- type: C.select,
3671
+ type: H.select,
3637
3672
  value: n,
3638
- options: Dt(v.val),
3639
- location: T
3673
+ options: $t(v.val),
3674
+ location: w
3640
3675
  },
3641
3676
  err: null
3642
3677
  } : {
3643
3678
  val: {
3644
- type: C.plural,
3679
+ type: H.plural,
3645
3680
  value: n,
3646
- options: Dt(v.val),
3647
- offset: H,
3681
+ options: $t(v.val),
3682
+ offset: T,
3648
3683
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3649
- location: T
3684
+ location: w
3650
3685
  },
3651
3686
  err: null
3652
3687
  };
@@ -3694,16 +3729,16 @@ var Ri = (
3694
3729
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3695
3730
  var n = [];
3696
3731
  try {
3697
- n = gi(t);
3732
+ n = _i(t);
3698
3733
  } catch {
3699
3734
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3700
3735
  }
3701
3736
  return {
3702
3737
  val: {
3703
- type: ue.number,
3738
+ type: le.number,
3704
3739
  tokens: n,
3705
3740
  location: r,
3706
- parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3741
+ parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
3707
3742
  },
3708
3743
  err: null
3709
3744
  };
@@ -3725,16 +3760,16 @@ var Ri = (
3725
3760
  var d = this.clonePosition();
3726
3761
  if (!this.bumpIf("{"))
3727
3762
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3728
- var p = this.parseMessage(t + 1, r, n);
3729
- if (p.err)
3730
- return p;
3763
+ var m = this.parseMessage(t + 1, r, n);
3764
+ if (m.err)
3765
+ return m;
3731
3766
  var b = this.tryParseArgumentClose(d);
3732
3767
  if (b.err)
3733
3768
  return b;
3734
3769
  u.push([
3735
3770
  l,
3736
3771
  {
3737
- value: p.val,
3772
+ value: m.val,
3738
3773
  location: x(d, this.clonePosition())
3739
3774
  }
3740
3775
  ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, s = o.location;
@@ -3751,7 +3786,7 @@ var Ri = (
3751
3786
  break;
3752
3787
  }
3753
3788
  var c = x(i, this.clonePosition());
3754
- return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3789
+ return o ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3755
3790
  }, e.prototype.offset = function() {
3756
3791
  return this.position.offset;
3757
3792
  }, e.prototype.isEOF = function() {
@@ -3766,7 +3801,7 @@ var Ri = (
3766
3801
  var t = this.position.offset;
3767
3802
  if (t >= this.message.length)
3768
3803
  throw Error("out of bound");
3769
- var r = Br(this.message, t);
3804
+ var r = Ir(this.message, t);
3770
3805
  if (r === void 0)
3771
3806
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3772
3807
  return r;
@@ -3785,7 +3820,7 @@ var Ri = (
3785
3820
  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);
3786
3821
  }
3787
3822
  }, e.prototype.bumpIf = function(t) {
3788
- if (Rt(this.message, t, this.offset())) {
3823
+ if (Ut(this.message, t, this.offset())) {
3789
3824
  for (var r = 0; r < t.length; r++)
3790
3825
  this.bump();
3791
3826
  return !0;
@@ -3807,7 +3842,7 @@ var Ri = (
3807
3842
  break;
3808
3843
  }
3809
3844
  }, e.prototype.bumpSpace = function() {
3810
- for (; !this.isEOF() && Lr(this.char()); )
3845
+ for (; !this.isEOF() && Mr(this.char()); )
3811
3846
  this.bump();
3812
3847
  }, e.prototype.peek = function() {
3813
3848
  if (this.isEOF())
@@ -3817,47 +3852,47 @@ var Ri = (
3817
3852
  }, e;
3818
3853
  }()
3819
3854
  );
3820
- function ht(e) {
3855
+ function mt(e) {
3821
3856
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3822
3857
  }
3823
- function Di(e) {
3824
- return ht(e) || e === 47;
3858
+ function $i(e) {
3859
+ return mt(e) || e === 47;
3825
3860
  }
3826
- function ki(e) {
3861
+ function Gi(e) {
3827
3862
  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;
3828
3863
  }
3829
- function Lr(e) {
3864
+ function Mr(e) {
3830
3865
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3831
3866
  }
3832
- function Fi(e) {
3867
+ function ji(e) {
3833
3868
  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;
3834
3869
  }
3835
- function ct(e) {
3870
+ function gt(e) {
3836
3871
  e.forEach(function(t) {
3837
- if (delete t.location, xr(t) || Er(t))
3872
+ if (delete t.location, wr(t) || Tr(t))
3838
3873
  for (var r in t.options)
3839
- delete t.options[r].location, ct(t.options[r].value);
3874
+ delete t.options[r].location, gt(t.options[r].value);
3840
3875
  else
3841
- vr(t) && Pr(t.style) || (yr(t) || _r(t)) && st(t.style) ? delete t.style.location : Sr(t) && ct(t.children);
3876
+ Er(t) && Cr(t.style) || (Sr(t) || Pr(t)) && ct(t.style) ? delete t.style.location : Hr(t) && gt(t.children);
3842
3877
  });
3843
3878
  }
3844
- function Ui(e, t) {
3845
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3846
- var r = new Ri(e, t).parse();
3879
+ function Xi(e, t) {
3880
+ t === void 0 && (t = {}), t = Ne({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3881
+ var r = new Ui(e, t).parse();
3847
3882
  if (r.err) {
3848
3883
  var n = SyntaxError(_[r.err.kind]);
3849
3884
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3850
3885
  }
3851
- return t?.captureLocation || ct(r.val), r.val;
3886
+ return t?.captureLocation || gt(r.val), r.val;
3852
3887
  }
3853
- var he;
3888
+ var ue;
3854
3889
  (function(e) {
3855
3890
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3856
- })(he || (he = {}));
3857
- var Fe = (
3891
+ })(ue || (ue = {}));
3892
+ var $e = (
3858
3893
  /** @class */
3859
3894
  function(e) {
3860
- Y(t, e);
3895
+ Ue(t, e);
3861
3896
  function t(r, n, i) {
3862
3897
  var o = e.call(this, r) || this;
3863
3898
  return o.code = n, o.originalMessage = i, o;
@@ -3866,48 +3901,48 @@ var Fe = (
3866
3901
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3867
3902
  }, t;
3868
3903
  }(Error)
3869
- ), Ft = (
3904
+ ), jt = (
3870
3905
  /** @class */
3871
3906
  function(e) {
3872
- Y(t, e);
3907
+ Ue(t, e);
3873
3908
  function t(r, n, i, o) {
3874
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3909
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, o) || this;
3875
3910
  }
3876
3911
  return t;
3877
- }(Fe)
3878
- ), $i = (
3912
+ }($e)
3913
+ ), Vi = (
3879
3914
  /** @class */
3880
3915
  function(e) {
3881
- Y(t, e);
3916
+ Ue(t, e);
3882
3917
  function t(r, n, i) {
3883
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3918
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
3884
3919
  }
3885
3920
  return t;
3886
- }(Fe)
3887
- ), Gi = (
3921
+ }($e)
3922
+ ), zi = (
3888
3923
  /** @class */
3889
3924
  function(e) {
3890
- Y(t, e);
3925
+ Ue(t, e);
3891
3926
  function t(r, n) {
3892
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3927
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
3893
3928
  }
3894
3929
  return t;
3895
- }(Fe)
3930
+ }($e)
3896
3931
  ), k;
3897
3932
  (function(e) {
3898
3933
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3899
3934
  })(k || (k = {}));
3900
- function ji(e) {
3935
+ function Wi(e) {
3901
3936
  return e.length < 2 ? e : e.reduce(function(t, r) {
3902
3937
  var n = t[t.length - 1];
3903
3938
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3904
3939
  }, []);
3905
3940
  }
3906
- function Xi(e) {
3941
+ function Zi(e) {
3907
3942
  return typeof e == "function";
3908
3943
  }
3909
- function Le(e, t, r, n, i, o, a) {
3910
- if (e.length === 1 && It(e[0]))
3944
+ function Oe(e, t, r, n, i, o, a) {
3945
+ if (e.length === 1 && Rt(e[0]))
3911
3946
  return [
3912
3947
  {
3913
3948
  type: k.literal,
@@ -3916,14 +3951,14 @@ function Le(e, t, r, n, i, o, a) {
3916
3951
  ];
3917
3952
  for (var u = [], c = 0, l = e; c < l.length; c++) {
3918
3953
  var s = l[c];
3919
- if (It(s)) {
3954
+ if (Rt(s)) {
3920
3955
  u.push({
3921
3956
  type: k.literal,
3922
3957
  value: s.value
3923
3958
  });
3924
3959
  continue;
3925
3960
  }
3926
- if (fi(s)) {
3961
+ if (gi(s)) {
3927
3962
  typeof o == "number" && u.push({
3928
3963
  type: k.literal,
3929
3964
  value: r.getNumberFormat(t).format(o)
@@ -3932,89 +3967,89 @@ function Le(e, t, r, n, i, o, a) {
3932
3967
  }
3933
3968
  var h = s.value;
3934
3969
  if (!(i && h in i))
3935
- throw new Gi(h, a);
3970
+ throw new zi(h, a);
3936
3971
  var f = i[h];
3937
- if (ci(s)) {
3972
+ if (mi(s)) {
3938
3973
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3939
3974
  type: typeof f == "string" ? k.literal : k.object,
3940
3975
  value: f
3941
3976
  });
3942
3977
  continue;
3943
3978
  }
3944
- if (yr(s)) {
3945
- var d = typeof s.style == "string" ? n.date[s.style] : st(s.style) ? s.style.parsedOptions : void 0;
3979
+ if (Sr(s)) {
3980
+ var d = typeof s.style == "string" ? n.date[s.style] : ct(s.style) ? s.style.parsedOptions : void 0;
3946
3981
  u.push({
3947
3982
  type: k.literal,
3948
3983
  value: r.getDateTimeFormat(t, d).format(f)
3949
3984
  });
3950
3985
  continue;
3951
3986
  }
3952
- if (_r(s)) {
3953
- var d = typeof s.style == "string" ? n.time[s.style] : st(s.style) ? s.style.parsedOptions : n.time.medium;
3987
+ if (Pr(s)) {
3988
+ var d = typeof s.style == "string" ? n.time[s.style] : ct(s.style) ? s.style.parsedOptions : n.time.medium;
3954
3989
  u.push({
3955
3990
  type: k.literal,
3956
3991
  value: r.getDateTimeFormat(t, d).format(f)
3957
3992
  });
3958
3993
  continue;
3959
3994
  }
3960
- if (vr(s)) {
3961
- var d = typeof s.style == "string" ? n.number[s.style] : Pr(s.style) ? s.style.parsedOptions : void 0;
3995
+ if (Er(s)) {
3996
+ var d = typeof s.style == "string" ? n.number[s.style] : Cr(s.style) ? s.style.parsedOptions : void 0;
3962
3997
  d && d.scale && (f = f * (d.scale || 1)), u.push({
3963
3998
  type: k.literal,
3964
3999
  value: r.getNumberFormat(t, d).format(f)
3965
4000
  });
3966
4001
  continue;
3967
4002
  }
3968
- if (Sr(s)) {
3969
- var p = s.children, b = s.value, P = i[b];
3970
- if (!Xi(P))
3971
- throw new $i(b, "function", a);
3972
- var E = Le(p, t, r, n, i, o), A = P(E.map(function(H) {
3973
- return H.value;
4003
+ if (Hr(s)) {
4004
+ var m = s.children, b = s.value, S = i[b];
4005
+ if (!Zi(S))
4006
+ throw new Vi(b, "function", a);
4007
+ var E = Oe(m, t, r, n, i, o), B = S(E.map(function(T) {
4008
+ return T.value;
3974
4009
  }));
3975
- Array.isArray(A) || (A = [A]), u.push.apply(u, A.map(function(H) {
4010
+ Array.isArray(B) || (B = [B]), u.push.apply(u, B.map(function(T) {
3976
4011
  return {
3977
- type: typeof H == "string" ? k.literal : k.object,
3978
- value: H
4012
+ type: typeof T == "string" ? k.literal : k.object,
4013
+ value: T
3979
4014
  };
3980
4015
  }));
3981
4016
  }
3982
- if (xr(s)) {
3983
- var L = s.options[f] || s.options.other;
3984
- if (!L)
3985
- throw new Ft(s.value, f, Object.keys(s.options), a);
3986
- u.push.apply(u, Le(L.value, t, r, n, i));
4017
+ if (wr(s)) {
4018
+ var O = s.options[f] || s.options.other;
4019
+ if (!O)
4020
+ throw new jt(s.value, f, Object.keys(s.options), a);
4021
+ u.push.apply(u, Oe(O.value, t, r, n, i));
3987
4022
  continue;
3988
4023
  }
3989
- if (Er(s)) {
3990
- var L = s.options["=".concat(f)];
3991
- if (!L) {
4024
+ if (Tr(s)) {
4025
+ var O = s.options["=".concat(f)];
4026
+ if (!O) {
3992
4027
  if (!Intl.PluralRules)
3993
- throw new Fe(`Intl.PluralRules is not available in this environment.
4028
+ throw new $e(`Intl.PluralRules is not available in this environment.
3994
4029
  Try polyfilling it using "@formatjs/intl-pluralrules"
3995
- `, he.MISSING_INTL_API, a);
3996
- var O = r.getPluralRules(t, { type: s.pluralType }).select(f - (s.offset || 0));
3997
- L = s.options[O] || s.options.other;
4030
+ `, ue.MISSING_INTL_API, a);
4031
+ var N = r.getPluralRules(t, { type: s.pluralType }).select(f - (s.offset || 0));
4032
+ O = s.options[N] || s.options.other;
3998
4033
  }
3999
- if (!L)
4000
- throw new Ft(s.value, f, Object.keys(s.options), a);
4001
- u.push.apply(u, Le(L.value, t, r, n, i, f - (s.offset || 0)));
4034
+ if (!O)
4035
+ throw new jt(s.value, f, Object.keys(s.options), a);
4036
+ u.push.apply(u, Oe(O.value, t, r, n, i, f - (s.offset || 0)));
4002
4037
  continue;
4003
4038
  }
4004
4039
  }
4005
- return ji(u);
4040
+ return Wi(u);
4006
4041
  }
4007
- function Vi(e, t) {
4008
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4009
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
4042
+ function Yi(e, t) {
4043
+ return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4044
+ return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
4010
4045
  }, {})) : e;
4011
4046
  }
4012
- function zi(e, t) {
4047
+ function qi(e, t) {
4013
4048
  return t ? Object.keys(e).reduce(function(r, n) {
4014
- return r[n] = Vi(e[n], t[n]), r;
4015
- }, S({}, e)) : e;
4049
+ return r[n] = Yi(e[n], t[n]), r;
4050
+ }, Z({}, e)) : e;
4016
4051
  }
4017
- function Je(e) {
4052
+ function tt(e) {
4018
4053
  return {
4019
4054
  create: function() {
4020
4055
  return {
@@ -4028,39 +4063,39 @@ function Je(e) {
4028
4063
  }
4029
4064
  };
4030
4065
  }
4031
- function Wi(e) {
4066
+ function Qi(e) {
4032
4067
  return e === void 0 && (e = {
4033
4068
  number: {},
4034
4069
  dateTime: {},
4035
4070
  pluralRules: {}
4036
4071
  }), {
4037
- getNumberFormat: Ye(function() {
4072
+ getNumberFormat: Je(function() {
4038
4073
  for (var t, r = [], n = 0; n < arguments.length; n++)
4039
4074
  r[n] = arguments[n];
4040
- return new ((t = Intl.NumberFormat).bind.apply(t, ie([void 0], r, !1)))();
4075
+ return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
4041
4076
  }, {
4042
- cache: Je(e.number),
4043
- strategy: qe.variadic
4077
+ cache: tt(e.number),
4078
+ strategy: Ke.variadic
4044
4079
  }),
4045
- getDateTimeFormat: Ye(function() {
4080
+ getDateTimeFormat: Je(function() {
4046
4081
  for (var t, r = [], n = 0; n < arguments.length; n++)
4047
4082
  r[n] = arguments[n];
4048
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ie([void 0], r, !1)))();
4083
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
4049
4084
  }, {
4050
- cache: Je(e.dateTime),
4051
- strategy: qe.variadic
4085
+ cache: tt(e.dateTime),
4086
+ strategy: Ke.variadic
4052
4087
  }),
4053
- getPluralRules: Ye(function() {
4088
+ getPluralRules: Je(function() {
4054
4089
  for (var t, r = [], n = 0; n < arguments.length; n++)
4055
4090
  r[n] = arguments[n];
4056
- return new ((t = Intl.PluralRules).bind.apply(t, ie([void 0], r, !1)))();
4091
+ return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
4057
4092
  }, {
4058
- cache: Je(e.pluralRules),
4059
- strategy: qe.variadic
4093
+ cache: tt(e.pluralRules),
4094
+ strategy: Ke.variadic
4060
4095
  })
4061
4096
  };
4062
4097
  }
4063
- var Zi = (
4098
+ var Ji = (
4064
4099
  /** @class */
4065
4100
  function() {
4066
4101
  function e(t, r, n, i) {
@@ -4079,7 +4114,7 @@ var Zi = (
4079
4114
  }, []);
4080
4115
  return s.length <= 1 ? s[0] || "" : s;
4081
4116
  }, this.formatToParts = function(c) {
4082
- return Le(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
4117
+ return Oe(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
4083
4118
  }, this.resolvedOptions = function() {
4084
4119
  var c;
4085
4120
  return {
@@ -4092,13 +4127,13 @@ var Zi = (
4092
4127
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4093
4128
  var a = i || {};
4094
4129
  a.formatters;
4095
- var u = Hn(a, ["formatters"]);
4096
- this.ast = e.__parse(t, S(S({}, u), { locale: this.resolvedLocale }));
4130
+ var u = ai(a, ["formatters"]);
4131
+ this.ast = e.__parse(t, Z(Z({}, u), { locale: this.resolvedLocale }));
4097
4132
  } else
4098
4133
  this.ast = t;
4099
4134
  if (!Array.isArray(this.ast))
4100
4135
  throw new TypeError("A message must be provided as a String or AST.");
4101
- this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
4136
+ this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
4102
4137
  }
4103
4138
  return Object.defineProperty(e, "defaultLocale", {
4104
4139
  get: function() {
@@ -4111,7 +4146,7 @@ var Zi = (
4111
4146
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4112
4147
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4113
4148
  }
4114
- }, e.__parse = Ui, e.formats = {
4149
+ }, e.__parse = Xi, e.formats = {
4115
4150
  number: {
4116
4151
  integer: {
4117
4152
  maximumFractionDigits: 0
@@ -4172,7 +4207,7 @@ var Zi = (
4172
4207
  }, e;
4173
4208
  }()
4174
4209
  );
4175
- function Yi(e, t) {
4210
+ function Ki(e, t) {
4176
4211
  if (t == null)
4177
4212
  return;
4178
4213
  if (t in e)
@@ -4193,92 +4228,92 @@ function Yi(e, t) {
4193
4228
  n = void 0;
4194
4229
  return n;
4195
4230
  }
4196
- const q = {}, qi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Ir = (e, t) => {
4231
+ const q = {}, eo = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Rr = (e, t) => {
4197
4232
  if (t == null)
4198
4233
  return;
4199
4234
  if (t in q && e in q[t])
4200
4235
  return q[t][e];
4201
- const r = Ue(t);
4236
+ const r = Ge(t);
4202
4237
  for (let n = 0; n < r.length; n++) {
4203
- const i = r[n], o = Ji(i, e);
4238
+ const i = r[n], o = ro(i, e);
4204
4239
  if (o)
4205
- return qi(e, t, o);
4240
+ return eo(e, t, o);
4206
4241
  }
4207
4242
  };
4208
- let bt;
4209
- const me = ke({});
4210
- function Qi(e) {
4211
- return bt[e] || null;
4243
+ let xt;
4244
+ const de = Fe({});
4245
+ function to(e) {
4246
+ return xt[e] || null;
4212
4247
  }
4213
- function Nr(e) {
4214
- return e in bt;
4248
+ function Dr(e) {
4249
+ return e in xt;
4215
4250
  }
4216
- function Ji(e, t) {
4217
- if (!Nr(e))
4251
+ function ro(e, t) {
4252
+ if (!Dr(e))
4218
4253
  return null;
4219
- const r = Qi(e);
4220
- return Yi(r, t);
4254
+ const r = to(e);
4255
+ return Ki(r, t);
4221
4256
  }
4222
- function Ki(e) {
4257
+ function no(e) {
4223
4258
  if (e == null)
4224
4259
  return;
4225
- const t = Ue(e);
4260
+ const t = Ge(e);
4226
4261
  for (let r = 0; r < t.length; r++) {
4227
4262
  const n = t[r];
4228
- if (Nr(n))
4263
+ if (Dr(n))
4229
4264
  return n;
4230
4265
  }
4231
4266
  }
4232
- function Or(e, ...t) {
4233
- delete q[e], me.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
4267
+ function kr(e, ...t) {
4268
+ delete q[e], de.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
4234
4269
  }
4235
- de(
4236
- [me],
4270
+ fe(
4271
+ [de],
4237
4272
  ([e]) => Object.keys(e)
4238
4273
  );
4239
- me.subscribe((e) => bt = e);
4240
- const Ie = {};
4241
- function eo(e, t) {
4242
- Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
4274
+ de.subscribe((e) => xt = e);
4275
+ const Le = {};
4276
+ function io(e, t) {
4277
+ Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4243
4278
  }
4244
- function Mr(e) {
4245
- return Ie[e];
4279
+ function Fr(e) {
4280
+ return Le[e];
4246
4281
  }
4247
- function to(e) {
4248
- return Ue(e).map((t) => {
4249
- const r = Mr(t);
4282
+ function oo(e) {
4283
+ return Ge(e).map((t) => {
4284
+ const r = Fr(t);
4250
4285
  return [t, r ? [...r] : []];
4251
4286
  }).filter(([, t]) => t.length > 0);
4252
4287
  }
4253
- function ft(e) {
4254
- return e == null ? !1 : Ue(e).some(
4288
+ function bt(e) {
4289
+ return e == null ? !1 : Ge(e).some(
4255
4290
  (t) => {
4256
4291
  var r;
4257
- return (r = Mr(t)) == null ? void 0 : r.size;
4292
+ return (r = Fr(t)) == null ? void 0 : r.size;
4258
4293
  }
4259
4294
  );
4260
4295
  }
4261
- function ro(e, t) {
4296
+ function so(e, t) {
4262
4297
  return Promise.all(
4263
- t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
4264
- ).then((n) => Or(e, ...n));
4265
- }
4266
- const be = {};
4267
- function Rr(e) {
4268
- if (!ft(e))
4269
- return e in be ? be[e] : Promise.resolve();
4270
- const t = to(e);
4271
- return be[e] = Promise.all(
4298
+ t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4299
+ ).then((n) => kr(e, ...n));
4300
+ }
4301
+ const ge = {};
4302
+ function Ur(e) {
4303
+ if (!bt(e))
4304
+ return e in ge ? ge[e] : Promise.resolve();
4305
+ const t = oo(e);
4306
+ return ge[e] = Promise.all(
4272
4307
  t.map(
4273
- ([r, n]) => ro(r, n)
4308
+ ([r, n]) => so(r, n)
4274
4309
  )
4275
4310
  ).then(() => {
4276
- if (ft(e))
4277
- return Rr(e);
4278
- delete be[e];
4279
- }), be[e];
4311
+ if (bt(e))
4312
+ return Ur(e);
4313
+ delete ge[e];
4314
+ }), ge[e];
4280
4315
  }
4281
- const no = {
4316
+ const ao = {
4282
4317
  number: {
4283
4318
  scientific: { notation: "scientific" },
4284
4319
  engineering: { notation: "engineering" },
@@ -4307,135 +4342,135 @@ const no = {
4307
4342
  timeZoneName: "short"
4308
4343
  }
4309
4344
  }
4310
- }, io = {
4345
+ }, lo = {
4311
4346
  fallbackLocale: null,
4312
4347
  loadingDelay: 200,
4313
- formats: no,
4348
+ formats: ao,
4314
4349
  warnOnMissingMessages: !0,
4315
4350
  handleMissingMessage: void 0,
4316
4351
  ignoreTag: !0
4317
- }, oo = io;
4318
- function ce() {
4319
- return oo;
4320
- }
4321
- const Ke = ke(!1);
4322
- var so = Object.defineProperty, ao = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4323
- for (var r in t)
4324
- uo.call(t, r) && $t(e, r, t[r]);
4325
- if (Ut)
4326
- for (var r of Ut(t))
4327
- ho.call(t, r) && $t(e, r, t[r]);
4352
+ }, uo = lo;
4353
+ function he() {
4354
+ return uo;
4355
+ }
4356
+ const rt = Fe(!1);
4357
+ var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4358
+ for (var r in t || (t = {}))
4359
+ po.call(t, r) && Vt(e, r, t[r]);
4360
+ if (Xt)
4361
+ for (var r of Xt(t))
4362
+ mo.call(t, r) && Vt(e, r, t[r]);
4328
4363
  return e;
4329
- }, fo = (e, t) => ao(e, lo(t));
4330
- let dt;
4331
- const Oe = ke(null);
4332
- function Gt(e) {
4364
+ }, bo = (e, t) => co(e, fo(t));
4365
+ let vt;
4366
+ const Me = Fe(null);
4367
+ function zt(e) {
4333
4368
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4334
4369
  }
4335
- function Ue(e, t = ce().fallbackLocale) {
4336
- const r = Gt(e);
4337
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4370
+ function Ge(e, t = he().fallbackLocale) {
4371
+ const r = zt(e);
4372
+ return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
4338
4373
  }
4339
4374
  function J() {
4340
- return dt ?? void 0;
4375
+ return vt ?? void 0;
4341
4376
  }
4342
- Oe.subscribe((e) => {
4343
- dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4377
+ Me.subscribe((e) => {
4378
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4344
4379
  });
4345
- const mo = (e) => {
4346
- if (e && Ki(e) && ft(e)) {
4347
- const { loadingDelay: t } = ce();
4380
+ const vo = (e) => {
4381
+ if (e && no(e) && bt(e)) {
4382
+ const { loadingDelay: t } = he();
4348
4383
  let r;
4349
4384
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4350
- () => Ke.set(!0),
4385
+ () => rt.set(!0),
4351
4386
  t
4352
- ) : Ke.set(!0), Rr(e).then(() => {
4353
- Oe.set(e);
4387
+ ) : rt.set(!0), Ur(e).then(() => {
4388
+ Me.set(e);
4354
4389
  }).finally(() => {
4355
- clearTimeout(r), Ke.set(!1);
4390
+ clearTimeout(r), rt.set(!1);
4356
4391
  });
4357
4392
  }
4358
- return Oe.set(e);
4359
- }, Q = fo(co({}, Oe), {
4360
- set: mo
4361
- }), $e = (e) => {
4393
+ return Me.set(e);
4394
+ }, Q = bo(go({}, Me), {
4395
+ set: vo
4396
+ }), je = (e) => {
4362
4397
  const t = /* @__PURE__ */ Object.create(null);
4363
4398
  return (n) => {
4364
4399
  const i = JSON.stringify(n);
4365
4400
  return i in t ? t[i] : t[i] = e(n);
4366
4401
  };
4367
4402
  };
4368
- var po = Object.defineProperty, Me = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4403
+ var yo = Object.defineProperty, Re = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4369
4404
  for (var r in t || (t = {}))
4370
- Dr.call(t, r) && jt(e, r, t[r]);
4371
- if (Me)
4372
- for (var r of Me(t))
4373
- kr.call(t, r) && jt(e, r, t[r]);
4405
+ $r.call(t, r) && Wt(e, r, t[r]);
4406
+ if (Re)
4407
+ for (var r of Re(t))
4408
+ Gr.call(t, r) && Wt(e, r, t[r]);
4374
4409
  return e;
4375
4410
  }, pe = (e, t) => {
4376
4411
  var r = {};
4377
4412
  for (var n in e)
4378
- Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4379
- if (e != null && Me)
4380
- for (var n of Me(e))
4381
- t.indexOf(n) < 0 && kr.call(e, n) && (r[n] = e[n]);
4413
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4414
+ if (e != null && Re)
4415
+ for (var n of Re(e))
4416
+ t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
4382
4417
  return r;
4383
4418
  };
4384
- const Se = (e, t) => {
4385
- const { formats: r } = ce();
4419
+ const Ee = (e, t) => {
4420
+ const { formats: r } = he();
4386
4421
  if (e in r && t in r[e])
4387
4422
  return r[e][t];
4388
4423
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4389
- }, go = $e(
4424
+ }, _o = je(
4390
4425
  (e) => {
4391
4426
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4392
4427
  if (r == null)
4393
4428
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4394
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4429
+ return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4395
4430
  }
4396
- ), bo = $e(
4431
+ ), xo = je(
4397
4432
  (e) => {
4398
4433
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4399
4434
  if (r == null)
4400
4435
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4401
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4436
+ return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4402
4437
  }
4403
- ), vo = $e(
4438
+ ), Eo = je(
4404
4439
  (e) => {
4405
4440
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4406
4441
  if (r == null)
4407
4442
  throw new Error(
4408
4443
  '[svelte-i18n] A "locale" must be set to format time values'
4409
4444
  );
4410
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4445
+ return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4411
4446
  }
4412
- ), yo = (e = {}) => {
4447
+ ), So = (e = {}) => {
4413
4448
  var t = e, {
4414
4449
  locale: r = J()
4415
4450
  } = t, n = pe(t, [
4416
4451
  "locale"
4417
4452
  ]);
4418
- return go(vt({ locale: r }, n));
4419
- }, _o = (e = {}) => {
4453
+ return _o(Et({ locale: r }, n));
4454
+ }, Po = (e = {}) => {
4420
4455
  var t = e, {
4421
4456
  locale: r = J()
4422
4457
  } = t, n = pe(t, [
4423
4458
  "locale"
4424
4459
  ]);
4425
- return bo(vt({ locale: r }, n));
4426
- }, xo = (e = {}) => {
4460
+ return xo(Et({ locale: r }, n));
4461
+ }, wo = (e = {}) => {
4427
4462
  var t = e, {
4428
4463
  locale: r = J()
4429
4464
  } = t, n = pe(t, [
4430
4465
  "locale"
4431
4466
  ]);
4432
- return vo(vt({ locale: r }, n));
4433
- }, Eo = $e(
4467
+ return Eo(Et({ locale: r }, n));
4468
+ }, To = je(
4434
4469
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4435
- (e, t = J()) => new Zi(e, t, ce().formats, {
4436
- ignoreTag: ce().ignoreTag
4470
+ (e, t = J()) => new Ji(e, t, he().formats, {
4471
+ ignoreTag: he().ignoreTag
4437
4472
  })
4438
- ), So = (e, t = {}) => {
4473
+ ), Ho = (e, t = {}) => {
4439
4474
  var r, n, i, o;
4440
4475
  let a = t;
4441
4476
  typeof e == "object" && (a = e, e = a.id);
@@ -4448,9 +4483,9 @@ const Se = (e, t) => {
4448
4483
  throw new Error(
4449
4484
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4450
4485
  );
4451
- let s = Ir(e, c);
4486
+ let s = Rr(e, c);
4452
4487
  if (!s)
4453
- s = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4488
+ s = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4454
4489
  else if (typeof s != "string")
4455
4490
  return console.warn(
4456
4491
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4459,7 +4494,7 @@ const Se = (e, t) => {
4459
4494
  return s;
4460
4495
  let h = s;
4461
4496
  try {
4462
- h = Eo(s, c).format(u);
4497
+ h = To(s, c).format(u);
4463
4498
  } catch (f) {
4464
4499
  f instanceof Error && console.warn(
4465
4500
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4467,25 +4502,25 @@ const Se = (e, t) => {
4467
4502
  );
4468
4503
  }
4469
4504
  return h;
4470
- }, Po = (e, t) => xo(t).format(e), wo = (e, t) => _o(t).format(e), To = (e, t) => yo(t).format(e), Ho = (e, t = J()) => Ir(e, t), Co = de([Q, me], () => So);
4471
- de([Q], () => Po);
4472
- de([Q], () => wo);
4473
- de([Q], () => To);
4474
- de([Q, me], () => Ho);
4475
- window.emWidgets = { topic: $n };
4476
- const Bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4477
- function Ao({ withLocale: e, translations: t }) {
4505
+ }, Co = (e, t) => wo(t).format(e), Ao = (e, t) => Po(t).format(e), Bo = (e, t) => So(t).format(e), Oo = (e, t = J()) => Rr(e, t), Lo = fe([Q, de], () => Ho);
4506
+ fe([Q], () => Co);
4507
+ fe([Q], () => Ao);
4508
+ fe([Q], () => Bo);
4509
+ fe([Q, de], () => Oo);
4510
+ window.emWidgets = { topic: Xn };
4511
+ const Io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4512
+ function No({ withLocale: e, translations: t }) {
4478
4513
  Q.subscribe((r) => {
4479
- r == null && (me.set(t), Q.set(e));
4514
+ r == null && (de.set(t), Q.set(e));
4480
4515
  });
4481
4516
  }
4482
- function Xt(e, t) {
4483
- Or(e, t);
4517
+ function Zt(e, t) {
4518
+ kr(e, t);
4484
4519
  }
4485
- function Lo(e) {
4520
+ function Mo(e) {
4486
4521
  Q.set(e);
4487
4522
  }
4488
- const Vt = {
4523
+ const Yt = {
4489
4524
  en: {
4490
4525
  promotionsTitle: "Promotions",
4491
4526
  promotionsSubTitle: "New hot offers everyday!",
@@ -4564,13 +4599,13 @@ const Vt = {
4564
4599
  promotionsLoading: "Loading, please wait ..."
4565
4600
  }
4566
4601
  };
4567
- function Io(e, t) {
4602
+ function Ro(e, t) {
4568
4603
  if (e) {
4569
4604
  const r = document.createElement("style");
4570
4605
  r.innerHTML = t, e.appendChild(r);
4571
4606
  }
4572
4607
  }
4573
- function No(e, t) {
4608
+ function Do(e, t) {
4574
4609
  const r = new URL(t);
4575
4610
  fetch(r.href).then((n) => n.text()).then((n) => {
4576
4611
  const i = document.createElement("style");
@@ -4579,7 +4614,7 @@ function No(e, t) {
4579
4614
  console.error("There was an error while trying to load client styling from URL", n);
4580
4615
  });
4581
4616
  }
4582
- function Oo(e, t, r) {
4617
+ function ko(e, t, r) {
4583
4618
  if (window.emMessageBus) {
4584
4619
  const n = document.createElement("style");
4585
4620
  window.emMessageBus.subscribe(t, (i) => {
@@ -4587,29 +4622,29 @@ function Oo(e, t, r) {
4587
4622
  });
4588
4623
  }
4589
4624
  }
4590
- function Mo(e) {
4591
- Kr(e, "svelte-jwavoj", ':host{font-family:"Montserrat", sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoPromotionsSlider{background:linear-gradient(180deg, #F3F1FF, #ECE8FF);color:#080843;text-align:center;container-type:inline-size;container-name:container-slider}.CasinoPromotionsSlider .sliders .carousel{position:relative;width:100%;justify-content:center;align-items:center}.CasinoPromotionsSlider .PromotionSlider{overflow:hidden;position:relative;padding:20px 130px}.CasinoPromotionsSlider .container{display:flex;justify-content:space-between;width:100%}.CasinoPromotionsSlider .container .carousel{width:100%;position:relative}.CasinoPromotionsSlider .container .slides{margin:20px 0}.CasinoPromotionsSlider .PromotionCard{background:#fff;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);border-radius:4px;padding:10px 10px 10px 10px;margin:0 10px;max-width:none;color:#080843;position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}.CasinoPromotionsSlider .PromotionCard .PromotionImg img{object-fit:cover;border-radius:4px;width:100%;height:220px;flex-basis:auto;box-sizing:border-box}.CasinoPromotionsSlider .PromotionCard .PromotionTitle{margin:4px 0;text-align:left;font-size:18px;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.CasinoPromotionsSlider .PromotionCard .description{text-align:left;font-size:14px;line-height:16px;display:-webkit-box !important;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.CasinoPromotionsSlider .PromotionCard .PromotionText{height:200px;position:relative;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.CasinoPromotionsSlider .PromotionCard .arrow{width:16px;height:16px;position:absolute;transform:translateX(4px)}.CasinoPromotionsSlider .PromotionCard .ButtonPosition{height:30px;min-width:150px;margin-top:20px;align-self:center;order:1}.CasinoPromotionsSlider .PromotionCard .btn:link,.CasinoPromotionsSlider .PromotionCard .btn:visited{text-transform:uppercase;padding:10px 30px;background:linear-gradient(180deg, #F9253C, #D50866);color:#fff;border-radius:100px;transition:all 0.2s;transition-timing-function:ease-out;font-size:14px}.CasinoPromotionsSlider .PromotionCard .btn:hover{padding:10px 32px}.CasinoPromotionsSlider .PromotionCard .btn:hover .arrow{transform:translateX(8px);transition:all 0.2s}.CasinoPromotionsSlider .text__center{text-align:center}.CasinoPromotionsSlider .w__100{width:100%}.CasinoPromotionsSlider .d-flex{display:flex;justify-content:space-around;align-items:center;margin-bottom:10px}.CasinoPromotionsSlider .NotVisible{display:none}.CasinoPromotionsSlider .numberOfPage{color:#D50866;font-size:18px;margin-top:15px}.CasinoPromotionsSlider .modal{background:#fff;box-shadow:0 4px 6px rgba(0, 0, 0, 0.2);border-radius:4px;padding:40px;max-height:90%;width:1000px;color:#080843;position:absolute;z-index:10;top:50%;left:50%;transform:translate(-50%, -50%);overflow-y:auto;display:flex;flex-direction:column}.CasinoPromotionsSlider .modal .wrapper{position:sticky;top:0;right:0;z-index:10}.CasinoPromotionsSlider .modal .IconClose{width:24px;height:24px;color:#888;position:absolute;top:-30px;right:-30px;z-index:20}.CasinoPromotionsSlider .modal .IconClose:hover,.CasinoPromotionsSlider .modal .IconClose:focus{cursor:pointer;color:#222}.CasinoPromotionsSlider .modal::-webkit-scrollbar{display:none}.CasinoPromotionsSlider .modal__img{display:block;position:relative}.CasinoPromotionsSlider .modal__img img{object-fit:cover;border-radius:4px;max-height:300px;width:100%;height:100%}.CasinoPromotionsSlider .modal__title{margin-bottom:4px;text-align:left;font-size:18px}.CasinoPromotionsSlider .modal__description{margin-bottom:20px;text-align:left;font-size:14px;line-height:16px}.CasinoPromotionsSlider .modal__overlay{position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0, 0, 0, 0.4);z-index:5}@container container-slider (max-width: 1700px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 100px}}@container container-slider (max-width: 1300px){.CasinoPromotionsSlider .title{font-size:22px}.CasinoPromotionsSlider .SubTitle{font-size:15px}.CasinoPromotionsSlider .PromotionSlider{padding:20px 80px}.CasinoPromotionsSlider .PromotionTitle{font-size:16px}.CasinoPromotionsSlider .description{font-size:13px}.CasinoPromotionsSlider .btn:link,.CasinoPromotionsSlider .btn:visited{font-size:13px}.CasinoPromotionsSlider .numberOfPage{font-size:16px}.CasinoPromotionsSlider .modal{width:900px}.CasinoPromotionsSlider .modal__title{font-size:16px}.CasinoPromotionsSlider .modal__description{font-size:13px}}@container container-slider (max-width: 950px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 20px}.CasinoPromotionsSlider .modal{padding:30px;width:600px}.CasinoPromotionsSlider .modal .IconClose{width:20px;height:20px;top:-24px;right:-24px}}@container container-slider (max-width: 720px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 10px}.CasinoPromotionsSlider .modal{padding:30px;width:500px}}@container container-slider (max-width: 600px){.CasinoPromotionsSlider .modal{padding:26px;width:90%}.CasinoPromotionsSlider .modal .IconClose{width:20px;height:20px;top:-20px;right:-20px}}');
4625
+ function Fo(e) {
4626
+ nn(e, "svelte-jwavoj", ':host{font-family:"Montserrat", sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoPromotionsSlider{background:linear-gradient(180deg, #F3F1FF, #ECE8FF);color:#080843;text-align:center;container-type:inline-size;container-name:container-slider}.CasinoPromotionsSlider .sliders .carousel{position:relative;width:100%;justify-content:center;align-items:center}.CasinoPromotionsSlider .PromotionSlider{overflow:hidden;position:relative;padding:20px 130px}.CasinoPromotionsSlider .container{display:flex;justify-content:space-between;width:100%}.CasinoPromotionsSlider .container .carousel{width:100%;position:relative}.CasinoPromotionsSlider .container .slides{margin:20px 0}.CasinoPromotionsSlider .PromotionCard{background:#fff;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);border-radius:4px;padding:10px 10px 10px 10px;margin:0 10px;max-width:none;color:#080843;position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}.CasinoPromotionsSlider .PromotionCard .PromotionImg img{object-fit:cover;border-radius:4px;width:100%;height:220px;flex-basis:auto;box-sizing:border-box}.CasinoPromotionsSlider .PromotionCard .PromotionTitle{margin:4px 0;text-align:left;font-size:18px;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.CasinoPromotionsSlider .PromotionCard .description{text-align:left;font-size:14px;line-height:16px;display:-webkit-box !important;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.CasinoPromotionsSlider .PromotionCard .PromotionText{height:200px;position:relative;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.CasinoPromotionsSlider .PromotionCard .arrow{width:16px;height:16px;position:absolute;transform:translateX(4px)}.CasinoPromotionsSlider .PromotionCard .ButtonPosition{height:30px;min-width:150px;margin-top:20px;align-self:center;order:1}.CasinoPromotionsSlider .PromotionCard .btn:link,.CasinoPromotionsSlider .PromotionCard .btn:visited{text-transform:uppercase;padding:10px 30px;background:linear-gradient(180deg, #F9253C, #D50866);color:#fff;border-radius:100px;transition:all 0.2s;transition-timing-function:ease-out;font-size:14px}.CasinoPromotionsSlider .PromotionCard .btn:hover{padding:10px 32px}.CasinoPromotionsSlider .PromotionCard .btn:hover .arrow{transform:translateX(8px);transition:all 0.2s}.CasinoPromotionsSlider .text__center{text-align:center}.CasinoPromotionsSlider .w__100{width:100%}.CasinoPromotionsSlider .d-flex{display:flex;justify-content:space-around;align-items:center;margin-bottom:10px}.CasinoPromotionsSlider .NotVisible{display:none}.CasinoPromotionsSlider .numberOfPage{color:#D50866;font-size:18px;margin-top:15px}.CasinoPromotionsSlider .modal{background:#fff;box-shadow:0 4px 6px rgba(0, 0, 0, 0.2);border-radius:4px;padding:40px;max-height:90%;width:1000px;color:#080843;position:absolute;z-index:10;top:50%;left:50%;transform:translate(-50%, -50%);overflow-y:auto;display:flex;flex-direction:column}.CasinoPromotionsSlider .modal .wrapper{position:sticky;top:0;right:0;z-index:10}.CasinoPromotionsSlider .modal .IconClose{width:24px;height:24px;color:#888;position:absolute;top:-30px;right:-30px;z-index:20}.CasinoPromotionsSlider .modal .IconClose:hover,.CasinoPromotionsSlider .modal .IconClose:focus{cursor:pointer;color:#222}.CasinoPromotionsSlider .modal::-webkit-scrollbar{display:none}.CasinoPromotionsSlider .modal__img{display:block;position:relative}.CasinoPromotionsSlider .modal__img img{object-fit:cover;border-radius:4px;max-height:300px;width:100%;height:100%}.CasinoPromotionsSlider .modal__title{margin-bottom:4px;text-align:left;font-size:18px}.CasinoPromotionsSlider .modal__description{margin-bottom:20px;text-align:left;font-size:14px;line-height:16px}.CasinoPromotionsSlider .modal__overlay{position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0, 0, 0, 0.4);z-index:5}@container container-slider (max-width: 1700px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 100px}}@container container-slider (max-width: 1300px){.CasinoPromotionsSlider .title{font-size:22px}.CasinoPromotionsSlider .SubTitle{font-size:15px}.CasinoPromotionsSlider .PromotionSlider{padding:20px 80px}.CasinoPromotionsSlider .PromotionTitle{font-size:16px}.CasinoPromotionsSlider .description{font-size:13px}.CasinoPromotionsSlider .btn:link,.CasinoPromotionsSlider .btn:visited{font-size:13px}.CasinoPromotionsSlider .numberOfPage{font-size:16px}.CasinoPromotionsSlider .modal{width:900px}.CasinoPromotionsSlider .modal__title{font-size:16px}.CasinoPromotionsSlider .modal__description{font-size:13px}}@container container-slider (max-width: 950px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 20px}.CasinoPromotionsSlider .modal{padding:30px;width:600px}.CasinoPromotionsSlider .modal .IconClose{width:20px;height:20px;top:-24px;right:-24px}}@container container-slider (max-width: 720px){.CasinoPromotionsSlider .PromotionSlider{padding:20px 10px}.CasinoPromotionsSlider .modal{padding:30px;width:500px}}@container container-slider (max-width: 600px){.CasinoPromotionsSlider .modal{padding:26px;width:90%}.CasinoPromotionsSlider .modal .IconClose{width:20px;height:20px;top:-20px;right:-20px}}');
4592
4627
  }
4593
- function zt(e, t, r) {
4628
+ function qt(e, t, r) {
4594
4629
  const n = e.slice();
4595
4630
  return n[49] = t[r], n;
4596
4631
  }
4597
- function Wt(e, t, r) {
4632
+ function Qt(e, t, r) {
4598
4633
  const n = e.slice();
4599
4634
  return n[52] = t[r], n;
4600
4635
  }
4601
- function Zt(e, t, r) {
4636
+ function Jt(e, t, r) {
4602
4637
  const n = e.slice();
4603
4638
  return n[49] = t[r], n;
4604
4639
  }
4605
- function Ro(e) {
4640
+ function Uo(e) {
4606
4641
  let t, r = (
4607
4642
  /*$_*/
4608
4643
  e[12]("promotionsNone") + ""
4609
4644
  ), n;
4610
4645
  return {
4611
4646
  c() {
4612
- t = w("p"), n = se(r), m(t, "class", "text__center w__100");
4647
+ t = P("p"), n = oe(r), p(t, "class", "text__center w__100");
4613
4648
  },
4614
4649
  m(i, o) {
4615
4650
  X(i, t, o), y(t, n);
@@ -4617,30 +4652,30 @@ function Ro(e) {
4617
4652
  p(i, o) {
4618
4653
  o[0] & /*$_*/
4619
4654
  4096 && r !== (r = /*$_*/
4620
- i[12]("promotionsNone") + "") && Re(n, r);
4655
+ i[12]("promotionsNone") + "") && De(n, r);
4621
4656
  },
4622
4657
  d(i) {
4623
4658
  i && $(t);
4624
4659
  }
4625
4660
  };
4626
4661
  }
4627
- function Do(e) {
4628
- let t, r, n, i = ae(
4662
+ function $o(e) {
4663
+ let t, r, n, i = se(
4629
4664
  /*promotions*/
4630
4665
  e[2]
4631
4666
  ), o = [];
4632
4667
  for (let u = 0; u < i.length; u += 1)
4633
- o[u] = qt(Wt(e, i, u));
4668
+ o[u] = er(Qt(e, i, u));
4634
4669
  let a = (
4635
4670
  /*totalDots*/
4636
- e[6] > 1 && Qt(e)
4671
+ e[6] > 1 && tr(e)
4637
4672
  );
4638
4673
  return {
4639
4674
  c() {
4640
- t = w("div"), r = w("div");
4675
+ t = P("div"), r = P("div");
4641
4676
  for (let u = 0; u < o.length; u += 1)
4642
4677
  o[u].c();
4643
- n = G(), a && a.c(), m(r, "class", "slides"), m(t, "class", "carousel");
4678
+ n = G(), a && a.c(), p(r, "class", "slides"), p(t, "class", "carousel");
4644
4679
  },
4645
4680
  m(u, c) {
4646
4681
  X(u, t, c), y(t, r);
@@ -4651,35 +4686,35 @@ function Do(e) {
4651
4686
  p(u, c) {
4652
4687
  if (c[0] & /*handleOpenModal, promotions, $_*/
4653
4688
  20484) {
4654
- i = ae(
4689
+ i = se(
4655
4690
  /*promotions*/
4656
4691
  u[2]
4657
4692
  );
4658
4693
  let l;
4659
4694
  for (l = 0; l < i.length; l += 1) {
4660
- const s = Wt(u, i, l);
4661
- o[l] ? o[l].p(s, c) : (o[l] = qt(s), o[l].c(), o[l].m(r, null));
4695
+ const s = Qt(u, i, l);
4696
+ o[l] ? o[l].p(s, c) : (o[l] = er(s), o[l].c(), o[l].m(r, null));
4662
4697
  }
4663
4698
  for (; l < o.length; l += 1)
4664
4699
  o[l].d(1);
4665
4700
  o.length = i.length;
4666
4701
  }
4667
4702
  /*totalDots*/
4668
- u[6] > 1 ? a ? a.p(u, c) : (a = Qt(u), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4703
+ u[6] > 1 ? a ? a.p(u, c) : (a = tr(u), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4669
4704
  },
4670
4705
  d(u) {
4671
- u && $(t), pt(o, u), e[27](null), a && a.d(), e[28](null);
4706
+ u && $(t), _t(o, u), e[27](null), a && a.d(), e[28](null);
4672
4707
  }
4673
4708
  };
4674
4709
  }
4675
- function ko(e) {
4710
+ function Go(e) {
4676
4711
  let t, r = (
4677
4712
  /*$_*/
4678
4713
  e[12]("promotionsLoading") + ""
4679
4714
  ), n;
4680
4715
  return {
4681
4716
  c() {
4682
- t = w("p"), n = se(r), m(t, "class", "text__center w__100");
4717
+ t = P("p"), n = oe(r), p(t, "class", "text__center w__100");
4683
4718
  },
4684
4719
  m(i, o) {
4685
4720
  X(i, t, o), y(t, n);
@@ -4687,19 +4722,19 @@ function ko(e) {
4687
4722
  p(i, o) {
4688
4723
  o[0] & /*$_*/
4689
4724
  4096 && r !== (r = /*$_*/
4690
- i[12]("promotionsLoading") + "") && Re(n, r);
4725
+ i[12]("promotionsLoading") + "") && De(n, r);
4691
4726
  },
4692
4727
  d(i) {
4693
4728
  i && $(t);
4694
4729
  }
4695
4730
  };
4696
4731
  }
4697
- function Yt(e) {
4732
+ function Kt(e) {
4698
4733
  let t, r, n;
4699
4734
  return {
4700
4735
  c() {
4701
- t = w("source"), nr(t, r = /*imgSource*/
4702
- e[49].pictureSource) || m(t, "srcset", r), m(t, "media", n = "(" + /*imgSource*/
4736
+ t = P("source"), ar(t, r = /*imgSource*/
4737
+ e[49].pictureSource) || p(t, "srcset", r), p(t, "media", n = "(" + /*imgSource*/
4703
4738
  e[49].media + ")");
4704
4739
  },
4705
4740
  m(i, o) {
@@ -4708,32 +4743,32 @@ function Yt(e) {
4708
4743
  p(i, o) {
4709
4744
  o[0] & /*promotions*/
4710
4745
  4 && r !== (r = /*imgSource*/
4711
- i[49].pictureSource) && m(t, "srcset", r), o[0] & /*promotions*/
4746
+ i[49].pictureSource) && p(t, "srcset", r), o[0] & /*promotions*/
4712
4747
  4 && n !== (n = "(" + /*imgSource*/
4713
- i[49].media + ")") && m(t, "media", n);
4748
+ i[49].media + ")") && p(t, "media", n);
4714
4749
  },
4715
4750
  d(i) {
4716
4751
  i && $(t);
4717
4752
  }
4718
4753
  };
4719
4754
  }
4720
- function qt(e) {
4755
+ function er(e) {
4721
4756
  let t, r, n, i, o, a, u, c, l, s, h = (
4722
4757
  /*promotion*/
4723
4758
  e[52].title + ""
4724
- ), f, d, p = (
4759
+ ), f, d, m = (
4725
4760
  /*promotion*/
4726
4761
  e[52].content.split("</div>")[0] + ""
4727
- ), b, P, E, A, L = (
4762
+ ), b, S, E, B, O = (
4728
4763
  /*$_*/
4729
4764
  e[12]("promotionsButton") + ""
4730
- ), O, H, v, T, B, j, I, K, Pe, F = ae(
4765
+ ), N, T, v, w, C, j, L, K, Pe, F = se(
4731
4766
  /*promotion*/
4732
4767
  e[52].image.sources
4733
4768
  ), M = [];
4734
4769
  for (let R = 0; R < F.length; R += 1)
4735
- M[R] = Yt(Zt(e, F, R));
4736
- function Ge() {
4770
+ M[R] = Kt(Jt(e, F, R));
4771
+ function Xe() {
4737
4772
  return (
4738
4773
  /*click_handler*/
4739
4774
  e[26](
@@ -4744,57 +4779,57 @@ function qt(e) {
4744
4779
  }
4745
4780
  return {
4746
4781
  c() {
4747
- t = w("div"), r = w("div"), n = w("picture");
4782
+ t = P("div"), r = P("div"), n = P("picture");
4748
4783
  for (let R = 0; R < M.length; R += 1)
4749
4784
  M[R].c();
4750
- i = G(), o = w("img"), c = G(), l = w("div"), s = w("h3"), f = G(), d = w("div"), b = G(), P = w("div"), E = w("a"), A = w("b"), O = se(L), H = G(), v = ze("svg"), T = ze("style"), B = se(`.st0{fill:#FFFFFF;}
4751
- `), j = ze("path"), I = G(), oe(o.src, a = /*promotion*/
4752
- e[52].image.src) || m(o, "src", a), m(o, "alt", u = /*promotion*/
4753
- e[52].title), m(n, "class", "PromotionImg"), m(n, "part", "PromotionImg"), m(s, "class", "PromotionTitle"), m(s, "part", "PromotionTitle"), m(d, "class", "description"), m(d, "part", "description"), m(T, "type", "text/css"), m(j, "class", "st0"), m(j, "d", `M9.5,13.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L12.4,9H1.2C0.9,9,0.7,8.9,0.5,8.7
4785
+ i = G(), o = P("img"), c = G(), l = P("div"), s = P("h3"), f = G(), d = P("div"), b = G(), S = P("div"), E = P("a"), B = P("b"), N = oe(O), T = G(), v = Ze("svg"), w = Ze("style"), C = oe(`.st0{fill:#FFFFFF;}
4786
+ `), j = Ze("path"), L = G(), ie(o.src, a = /*promotion*/
4787
+ e[52].image.src) || p(o, "src", a), p(o, "alt", u = /*promotion*/
4788
+ e[52].title), p(n, "class", "PromotionImg"), p(n, "part", "PromotionImg"), p(s, "class", "PromotionTitle"), p(s, "part", "PromotionTitle"), p(d, "class", "description"), p(d, "part", "description"), p(w, "type", "text/css"), p(j, "class", "st0"), p(j, "d", `M9.5,13.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L12.4,9H1.2C0.9,9,0.7,8.9,0.5,8.7
4754
4789
  C0.3,8.5,0.2,8.3,0.2,8s0.1-0.5,0.3-0.7C0.7,7.1,0.9,7,1.2,7h11.1L9.5,4.1C9.3,3.9,9.2,3.7,9.2,3.4c0-0.3,0.1-0.5,0.3-0.7
4755
4790
  c0.2-0.2,0.4-0.3,0.7-0.3c0.3,0,0.5,0.1,0.7,0.3l4.6,4.6c0.1,0.1,0.2,0.2,0.2,0.3c0,0.1,0.1,0.2,0.1,0.4s0,0.3-0.1,0.4
4756
- c0,0.1-0.1,0.2-0.2,0.3l-4.6,4.6c-0.2,0.2-0.4,0.3-0.7,0.3C10,13.6,9.7,13.5,9.5,13.3z`), m(v, "class", "arrow"), m(v, "version", "1.1"), m(v, "id", "Layer_1"), m(v, "xmlns", "http://www.w3.org/2000/svg"), m(v, "xmlns:xlink", "http://www.w3.org/1999/xlink"), m(v, "x", "0px"), m(v, "y", "0px"), m(v, "viewBox", "0 0 16 16"), nn(v, "enable-background", "new 0 0 16 16"), m(v, "xml:space", "preserve"), m(E, "href", "javascript:void(0)"), m(E, "class", "btn"), m(P, "class", "ButtonPosition"), m(l, "class", "PromotionText"), m(r, "class", "PromotionCard"), m(t, "class", "d-flex");
4791
+ c0,0.1-0.1,0.2-0.2,0.3l-4.6,4.6c-0.2,0.2-0.4,0.3-0.7,0.3C10,13.6,9.7,13.5,9.5,13.3z`), p(v, "class", "arrow"), p(v, "version", "1.1"), p(v, "id", "Layer_1"), p(v, "xmlns", "http://www.w3.org/2000/svg"), p(v, "xmlns:xlink", "http://www.w3.org/1999/xlink"), p(v, "x", "0px"), p(v, "y", "0px"), p(v, "viewBox", "0 0 16 16"), ln(v, "enable-background", "new 0 0 16 16"), p(v, "xml:space", "preserve"), p(E, "href", "javascript:void(0)"), p(E, "class", "btn"), p(S, "class", "ButtonPosition"), p(l, "class", "PromotionText"), p(r, "class", "PromotionCard"), p(t, "class", "d-flex");
4757
4792
  },
4758
4793
  m(R, V) {
4759
4794
  X(R, t, V), y(t, r), y(r, n);
4760
- for (let N = 0; N < M.length; N += 1)
4761
- M[N] && M[N].m(n, null);
4762
- y(n, i), y(n, o), y(r, c), y(r, l), y(l, s), s.innerHTML = h, y(l, f), y(l, d), d.innerHTML = p, y(l, b), y(l, P), y(P, E), y(E, A), y(A, O), y(E, H), y(E, v), y(v, T), y(T, B), y(v, j), y(t, I), K || (Pe = _e(E, "click", Ge), K = !0);
4795
+ for (let I = 0; I < M.length; I += 1)
4796
+ M[I] && M[I].m(n, null);
4797
+ y(n, i), y(n, o), y(r, c), y(r, l), y(l, s), s.innerHTML = h, y(l, f), y(l, d), d.innerHTML = m, y(l, b), y(l, S), y(S, E), y(E, B), y(B, N), y(E, T), y(E, v), y(v, w), y(w, C), y(v, j), y(t, L), K || (Pe = ye(E, "click", Xe), K = !0);
4763
4798
  },
4764
4799
  p(R, V) {
4765
4800
  if (e = R, V[0] & /*promotions*/
4766
4801
  4) {
4767
- F = ae(
4802
+ F = se(
4768
4803
  /*promotion*/
4769
4804
  e[52].image.sources
4770
4805
  );
4771
- let N;
4772
- for (N = 0; N < F.length; N += 1) {
4773
- const ge = Zt(e, F, N);
4774
- M[N] ? M[N].p(ge, V) : (M[N] = Yt(ge), M[N].c(), M[N].m(n, i));
4806
+ let I;
4807
+ for (I = 0; I < F.length; I += 1) {
4808
+ const me = Jt(e, F, I);
4809
+ M[I] ? M[I].p(me, V) : (M[I] = Kt(me), M[I].c(), M[I].m(n, i));
4775
4810
  }
4776
- for (; N < M.length; N += 1)
4777
- M[N].d(1);
4811
+ for (; I < M.length; I += 1)
4812
+ M[I].d(1);
4778
4813
  M.length = F.length;
4779
4814
  }
4780
4815
  V[0] & /*promotions*/
4781
- 4 && !oe(o.src, a = /*promotion*/
4782
- e[52].image.src) && m(o, "src", a), V[0] & /*promotions*/
4816
+ 4 && !ie(o.src, a = /*promotion*/
4817
+ e[52].image.src) && p(o, "src", a), V[0] & /*promotions*/
4783
4818
  4 && u !== (u = /*promotion*/
4784
- e[52].title) && m(o, "alt", u), V[0] & /*promotions*/
4819
+ e[52].title) && p(o, "alt", u), V[0] & /*promotions*/
4785
4820
  4 && h !== (h = /*promotion*/
4786
4821
  e[52].title + "") && (s.innerHTML = h), V[0] & /*promotions*/
4787
- 4 && p !== (p = /*promotion*/
4788
- e[52].content.split("</div>")[0] + "") && (d.innerHTML = p), V[0] & /*$_*/
4789
- 4096 && L !== (L = /*$_*/
4790
- e[12]("promotionsButton") + "") && Re(O, L);
4822
+ 4 && m !== (m = /*promotion*/
4823
+ e[52].content.split("</div>")[0] + "") && (d.innerHTML = m), V[0] & /*$_*/
4824
+ 4096 && O !== (O = /*$_*/
4825
+ e[12]("promotionsButton") + "") && De(N, O);
4791
4826
  },
4792
4827
  d(R) {
4793
- R && $(t), pt(M, R), K = !1, Pe();
4828
+ R && $(t), _t(M, R), K = !1, Pe();
4794
4829
  }
4795
4830
  };
4796
4831
  }
4797
- function Qt(e) {
4832
+ function tr(e) {
4798
4833
  let t, r = `${/*getCurrentNumber*/
4799
4834
  e[13](
4800
4835
  /*currentIndex*/
@@ -4805,7 +4840,7 @@ function Qt(e) {
4805
4840
  e[6]}`, n, i;
4806
4841
  return {
4807
4842
  c() {
4808
- t = w("div"), n = se(r), m(t, "class", i = "numberOfPage " + /*numbersdisplayed*/
4843
+ t = P("div"), n = oe(r), p(t, "class", i = "numberOfPage " + /*numbersdisplayed*/
4809
4844
  (e[0] === "true" ? "" : "NotVisible"));
4810
4845
  },
4811
4846
  m(o, a) {
@@ -4820,93 +4855,93 @@ function Qt(e) {
4820
4855
  /*currentPerPage*/
4821
4856
  o[4]
4822
4857
  )} / ${/*totalDots*/
4823
- o[6]}`) && Re(n, r), a[0] & /*numbersdisplayed*/
4858
+ o[6]}`) && De(n, r), a[0] & /*numbersdisplayed*/
4824
4859
  1 && i !== (i = "numberOfPage " + /*numbersdisplayed*/
4825
- (o[0] === "true" ? "" : "NotVisible")) && m(t, "class", i);
4860
+ (o[0] === "true" ? "" : "NotVisible")) && p(t, "class", i);
4826
4861
  },
4827
4862
  d(o) {
4828
4863
  o && $(t);
4829
4864
  }
4830
4865
  };
4831
4866
  }
4832
- function Jt(e) {
4833
- let t, r, n, i, o, a, u, c, l, s, h, f, d, p = (
4867
+ function rr(e) {
4868
+ let t, r, n, i, o, a, u, c, l, s, h, f, d, m = (
4834
4869
  /*modalItem*/
4835
4870
  e[10].title + ""
4836
- ), b, P, E = (
4871
+ ), b, S, E = (
4837
4872
  /*modalItem*/
4838
4873
  e[10].content + ""
4839
- ), A, L, O = ae(
4874
+ ), B, O, N = se(
4840
4875
  /*modalItem*/
4841
4876
  e[10].image.sources
4842
- ), H = [];
4843
- for (let v = 0; v < O.length; v += 1)
4844
- H[v] = Kt(zt(e, O, v));
4877
+ ), T = [];
4878
+ for (let v = 0; v < N.length; v += 1)
4879
+ T[v] = nr(qt(e, N, v));
4845
4880
  return {
4846
4881
  c() {
4847
- t = w("div"), r = G(), n = w("div"), i = w("div"), o = w("a"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="close_multi"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg>', a = G(), u = w("picture");
4848
- for (let v = 0; v < H.length; v += 1)
4849
- H[v].c();
4850
- c = G(), l = w("img"), f = G(), d = w("h3"), b = G(), P = w("div"), m(t, "class", "modal__overlay"), m(o, "href", "#"), m(o, "class", "IconClose"), m(i, "class", "wrapper"), oe(l.src, s = /*modalItem*/
4851
- e[10].image.src) || m(l, "src", s), m(l, "alt", h = /*modalItem*/
4852
- e[10].title), m(u, "class", "modal__img"), m(u, "part", "modal-img"), m(d, "class", "modal__title"), m(P, "class", "modal__description"), m(n, "class", "modal");
4882
+ t = P("div"), r = G(), n = P("div"), i = P("div"), o = P("a"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="close_multi"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg>', a = G(), u = P("picture");
4883
+ for (let v = 0; v < T.length; v += 1)
4884
+ T[v].c();
4885
+ c = G(), l = P("img"), f = G(), d = P("h3"), b = G(), S = P("div"), p(t, "class", "modal__overlay"), p(o, "href", "#"), p(o, "class", "IconClose"), p(i, "class", "wrapper"), ie(l.src, s = /*modalItem*/
4886
+ e[10].image.src) || p(l, "src", s), p(l, "alt", h = /*modalItem*/
4887
+ e[10].title), p(u, "class", "modal__img"), p(u, "part", "modal-img"), p(d, "class", "modal__title"), p(S, "class", "modal__description"), p(n, "class", "modal");
4853
4888
  },
4854
- m(v, T) {
4855
- X(v, t, T), X(v, r, T), X(v, n, T), y(n, i), y(i, o), y(n, a), y(n, u);
4856
- for (let B = 0; B < H.length; B += 1)
4857
- H[B] && H[B].m(u, null);
4858
- y(u, c), y(u, l), y(n, f), y(n, d), d.innerHTML = p, y(n, b), y(n, P), P.innerHTML = E, A || (L = [
4859
- _e(
4889
+ m(v, w) {
4890
+ X(v, t, w), X(v, r, w), X(v, n, w), y(n, i), y(i, o), y(n, a), y(n, u);
4891
+ for (let C = 0; C < T.length; C += 1)
4892
+ T[C] && T[C].m(u, null);
4893
+ y(u, c), y(u, l), y(n, f), y(n, d), d.innerHTML = m, y(n, b), y(n, S), S.innerHTML = E, B || (O = [
4894
+ ye(
4860
4895
  t,
4861
4896
  "click",
4862
4897
  /*click_handler_1*/
4863
4898
  e[30]
4864
4899
  ),
4865
- _e(
4900
+ ye(
4866
4901
  o,
4867
4902
  "click",
4868
4903
  /*click_handler_2*/
4869
4904
  e[31]
4870
4905
  )
4871
- ], A = !0);
4906
+ ], B = !0);
4872
4907
  },
4873
- p(v, T) {
4874
- if (T[0] & /*modalItem*/
4908
+ p(v, w) {
4909
+ if (w[0] & /*modalItem*/
4875
4910
  1024) {
4876
- O = ae(
4911
+ N = se(
4877
4912
  /*modalItem*/
4878
4913
  v[10].image.sources
4879
4914
  );
4880
- let B;
4881
- for (B = 0; B < O.length; B += 1) {
4882
- const j = zt(v, O, B);
4883
- H[B] ? H[B].p(j, T) : (H[B] = Kt(j), H[B].c(), H[B].m(u, c));
4915
+ let C;
4916
+ for (C = 0; C < N.length; C += 1) {
4917
+ const j = qt(v, N, C);
4918
+ T[C] ? T[C].p(j, w) : (T[C] = nr(j), T[C].c(), T[C].m(u, c));
4884
4919
  }
4885
- for (; B < H.length; B += 1)
4886
- H[B].d(1);
4887
- H.length = O.length;
4920
+ for (; C < T.length; C += 1)
4921
+ T[C].d(1);
4922
+ T.length = N.length;
4888
4923
  }
4889
- T[0] & /*modalItem*/
4890
- 1024 && !oe(l.src, s = /*modalItem*/
4891
- v[10].image.src) && m(l, "src", s), T[0] & /*modalItem*/
4924
+ w[0] & /*modalItem*/
4925
+ 1024 && !ie(l.src, s = /*modalItem*/
4926
+ v[10].image.src) && p(l, "src", s), w[0] & /*modalItem*/
4892
4927
  1024 && h !== (h = /*modalItem*/
4893
- v[10].title) && m(l, "alt", h), T[0] & /*modalItem*/
4894
- 1024 && p !== (p = /*modalItem*/
4895
- v[10].title + "") && (d.innerHTML = p), T[0] & /*modalItem*/
4928
+ v[10].title) && p(l, "alt", h), w[0] & /*modalItem*/
4929
+ 1024 && m !== (m = /*modalItem*/
4930
+ v[10].title + "") && (d.innerHTML = m), w[0] & /*modalItem*/
4896
4931
  1024 && E !== (E = /*modalItem*/
4897
- v[10].content + "") && (P.innerHTML = E);
4932
+ v[10].content + "") && (S.innerHTML = E);
4898
4933
  },
4899
4934
  d(v) {
4900
- v && ($(t), $(r), $(n)), pt(H, v), A = !1, fe(L);
4935
+ v && ($(t), $(r), $(n)), _t(T, v), B = !1, ce(O);
4901
4936
  }
4902
4937
  };
4903
4938
  }
4904
- function Kt(e) {
4939
+ function nr(e) {
4905
4940
  let t, r, n;
4906
4941
  return {
4907
4942
  c() {
4908
- t = w("source"), nr(t, r = /*imgSource*/
4909
- e[49].pictureSource) || m(t, "srcset", r), m(t, "media", n = "(" + /*imgSource*/
4943
+ t = P("source"), ar(t, r = /*imgSource*/
4944
+ e[49].pictureSource) || p(t, "srcset", r), p(t, "media", n = "(" + /*imgSource*/
4910
4945
  e[49].media + ")");
4911
4946
  },
4912
4947
  m(i, o) {
@@ -4915,39 +4950,39 @@ function Kt(e) {
4915
4950
  p(i, o) {
4916
4951
  o[0] & /*modalItem*/
4917
4952
  1024 && r !== (r = /*imgSource*/
4918
- i[49].pictureSource) && m(t, "srcset", r), o[0] & /*modalItem*/
4953
+ i[49].pictureSource) && p(t, "srcset", r), o[0] & /*modalItem*/
4919
4954
  1024 && n !== (n = "(" + /*imgSource*/
4920
- i[49].media + ")") && m(t, "media", n);
4955
+ i[49].media + ")") && p(t, "media", n);
4921
4956
  },
4922
4957
  d(i) {
4923
4958
  i && $(t);
4924
4959
  }
4925
4960
  };
4926
4961
  }
4927
- function Fo(e) {
4962
+ function jo(e) {
4928
4963
  let t, r, n, i, o;
4929
4964
  function a(s, h) {
4930
4965
  return (
4931
4966
  /*isLoading*/
4932
- s[5] ? ko : (
4967
+ s[5] ? Go : (
4933
4968
  /*promotions*/
4934
- s[2].length > 0 ? Do : Ro
4969
+ s[2].length > 0 ? $o : Uo
4935
4970
  )
4936
4971
  );
4937
4972
  }
4938
4973
  let u = a(e), c = u(e), l = (
4939
4974
  /*modalIsOpen*/
4940
- e[11] && Jt(e)
4975
+ e[11] && rr(e)
4941
4976
  );
4942
4977
  return {
4943
4978
  c() {
4944
- t = w("div"), r = w("section"), n = w("div"), c.c(), o = G(), l && l.c(), m(n, "class", "container"), m(r, "class", "PromotionSlider"), Ne(() => (
4979
+ t = P("div"), r = P("section"), n = P("div"), c.c(), o = G(), l && l.c(), p(n, "class", "container"), p(r, "class", "PromotionSlider"), Ie(() => (
4945
4980
  /*section_elementresize_handler*/
4946
4981
  e[29].call(r)
4947
- )), m(t, "class", "CasinoPromotionsSlider");
4982
+ )), p(t, "class", "CasinoPromotionsSlider");
4948
4983
  },
4949
4984
  m(s, h) {
4950
- X(s, t, h), y(t, r), y(r, n), c.m(n, null), i = sn(
4985
+ X(s, t, h), y(t, r), y(r, n), c.m(n, null), i = hn(
4951
4986
  r,
4952
4987
  /*section_elementresize_handler*/
4953
4988
  e[29].bind(r)
@@ -4955,7 +4990,7 @@ function Fo(e) {
4955
4990
  },
4956
4991
  p(s, h) {
4957
4992
  u === (u = a(s)) && c ? c.p(s, h) : (c.d(1), c = u(s), c && (c.c(), c.m(n, null))), /*modalIsOpen*/
4958
- s[11] ? l ? l.p(s, h) : (l = Jt(s), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4993
+ s[11] ? l ? l.p(s, h) : (l = rr(s), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4959
4994
  },
4960
4995
  i: W,
4961
4996
  o: W,
@@ -4964,63 +4999,63 @@ function Fo(e) {
4964
4999
  }
4965
5000
  };
4966
5001
  }
4967
- let Uo = 4e3, $o = 200, Go = "ease-out", er = 0, jo = !0, Xo = !0, Vo = 20, zo = !1;
4968
- function Wo(e, t, r) {
5002
+ let Xo = 4e3, Vo = 200, zo = "ease-out", ir = 0, Wo = !0, Zo = !0, Yo = 20, qo = !1;
5003
+ function Qo(e, t, r) {
4969
5004
  let n, i;
4970
- Jr(e, Co, (g) => r(12, i = g));
4971
- let { endpoint: o = "" } = t, { lang: a = "" } = t, { env: u = "" } = t, { userroles: c = "" } = t, { translationurl: l = "" } = t, { mbsource: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { numbersdisplayed: d = "true" } = t, p, b = !1, P = [], E, A = 0;
4972
- Ao({ withLocale: "en", translations: {} });
4973
- const L = () => {
5005
+ rn(e, Lo, (g) => r(12, i = g));
5006
+ let { endpoint: o = "" } = t, { lang: a = "" } = t, { env: u = "" } = t, { userroles: c = "" } = t, { translationurl: l = "" } = t, { mbsource: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { numbersdisplayed: d = "true" } = t, m, b = !1, S = [], E, B = 0;
5007
+ No({ withLocale: "en", translations: {} });
5008
+ const O = () => {
4974
5009
  fetch(l).then((D) => D.json()).then((D) => {
4975
5010
  Object.keys(D).forEach((U) => {
4976
- Xt(U, D[U]);
5011
+ Zt(U, D[U]);
4977
5012
  });
4978
5013
  }).catch((D) => {
4979
5014
  console.log(D);
4980
5015
  });
4981
5016
  };
4982
- Object.keys(Vt).forEach((g) => {
4983
- Xt(g, Vt[g]);
5017
+ Object.keys(Yt).forEach((g) => {
5018
+ Zt(g, Yt[g]);
4984
5019
  });
4985
- const O = () => {
4986
- Lo(a);
5020
+ const N = () => {
5021
+ Mo(a);
4987
5022
  };
4988
- let H = window.navigator.userAgent;
5023
+ let T = window.navigator.userAgent;
4989
5024
  const v = () => {
4990
5025
  r(5, b = !0);
4991
- let g = new URL(`${o}/${a}/promotions?env=${u}`), D = Bo(H);
5026
+ let g = new URL(`${o}/${a}/promotions?env=${u}`), D = Io(T);
4992
5027
  D && (D === "PC" ? g.searchParams.append("device", "dk") : D === "iPad" || D === "iPhone" ? g.searchParams.append("device", "ios") : g.searchParams.append("device", "mtWeb")), g.searchParams.append("userRoles", c), fetch(g.href).then((U) => U.json()).then((U) => {
4993
- r(5, b = !1), r(2, P = U);
5028
+ r(5, b = !1), r(2, S = U);
4994
5029
  }).catch((U) => {
4995
5030
  r(5, b = !1), console.error(U);
4996
5031
  });
4997
5032
  };
4998
- let T = 4, B = er, j, I, K;
4999
- const Pe = hn();
5033
+ let w = 4, C = ir, j, L, K;
5034
+ const Pe = pn();
5000
5035
  let F;
5001
5036
  const M = (g, D) => {
5002
5037
  let U;
5003
5038
  return function() {
5004
- const Yr = this, qr = arguments;
5005
- clearTimeout(U), U = setTimeout(() => g.apply(Yr, qr), D);
5039
+ const Kr = this, en = arguments;
5040
+ clearTimeout(U), U = setTimeout(() => g.apply(Kr, en), D);
5006
5041
  };
5007
- }, Ge = () => (F >= 1600 ? r(24, T = 4) : F >= 1250 ? r(24, T = 3) : F >= 768 ? r(24, T = 2) : F >= 320 && r(24, T = 1), typeof T == "object" ? T : Number(T)), R = () => I ? I.perPage : T, V = () => I ? Math.ceil(I.innerElements.length / n) : 0, N = () => !(P.length <= Ge()), ge = () => {
5008
- I && (r(24, T = r(4, n = R())), r(6, A = V()));
5009
- }, yt = M(ge, 300);
5010
- un(() => (window.addEventListener("resize", yt), () => {
5011
- window.removeEventListener("resize", yt);
5042
+ }, Xe = () => (F >= 1600 ? r(24, w = 4) : F >= 1250 ? r(24, w = 3) : F >= 768 ? r(24, w = 2) : F >= 320 && r(24, w = 1), typeof w == "object" ? w : Number(w)), R = () => L ? L.perPage : w, V = () => L ? Math.ceil(L.innerElements.length / n) : 0, I = () => !(S.length <= Xe()), me = () => {
5043
+ L && (r(24, w = r(4, n = R())), r(6, B = V()));
5044
+ }, St = M(me, 300);
5045
+ dn(() => (window.addEventListener("resize", St), () => {
5046
+ window.removeEventListener("resize", St);
5012
5047
  }));
5013
- const Fr = () => (r(25, I = new Tn({
5048
+ const jr = () => (r(25, L = new Bn({
5014
5049
  selector: j,
5015
- loop: N(),
5016
- duration: $o,
5017
- easing: Go,
5018
- startIndex: er,
5019
- draggable: jo,
5020
- multipleDrag: Xo,
5021
- threshold: Vo,
5022
- rtl: zo,
5023
- onChange: Ur,
5050
+ loop: I(),
5051
+ duration: Vo,
5052
+ easing: zo,
5053
+ startIndex: ir,
5054
+ draggable: Wo,
5055
+ multipleDrag: Zo,
5056
+ threshold: Yo,
5057
+ rtl: qo,
5058
+ onChange: Xr,
5024
5059
  perPage: {
5025
5060
  320: 1,
5026
5061
  // wider than 320px show 1 promo.card
@@ -5031,77 +5066,77 @@ function Wo(e, t, r) {
5031
5066
  1600: 4
5032
5067
  // wider than 1600px show 4 promo.cards
5033
5068
  }
5034
- })), K = setInterval(() => I.next(), Uo), () => {
5035
- clearInterval(K), I.destroy();
5069
+ })), K = setInterval(() => L.next(), Xo), () => {
5070
+ clearInterval(K), L.destroy();
5036
5071
  });
5037
- function Ur() {
5038
- r(7, B = I.currentSlide), Pe("change", {
5039
- currentSlide: I.currentSlide,
5040
- slideCount: I.innerElements.length
5072
+ function Xr() {
5073
+ r(7, C = L.currentSlide), Pe("change", {
5074
+ currentSlide: L.currentSlide,
5075
+ slideCount: L.innerElements.length
5041
5076
  });
5042
5077
  }
5043
- const $r = (g, D) => {
5078
+ const Vr = (g, D) => {
5044
5079
  const U = Math.ceil((g + 1) / D);
5045
- return U === 0 ? A : U;
5080
+ return U === 0 ? B : U;
5046
5081
  };
5047
- let je = {}, Xe = !1;
5048
- const _t = (g) => {
5049
- r(10, je = g), r(11, Xe = !0);
5050
- }, Ve = () => {
5051
- r(10, je = {}), r(11, Xe = !1);
5052
- }, Gr = (g) => {
5053
- _t(g);
5082
+ let Ve = {}, ze = !1;
5083
+ const Pt = (g) => {
5084
+ r(10, Ve = g), r(11, ze = !0);
5085
+ }, We = () => {
5086
+ r(10, Ve = {}), r(11, ze = !1);
5087
+ }, zr = (g) => {
5088
+ Pt(g);
5054
5089
  };
5055
- function jr(g) {
5056
- ye[g ? "unshift" : "push"](() => {
5090
+ function Wr(g) {
5091
+ ve[g ? "unshift" : "push"](() => {
5057
5092
  j = g, r(8, j);
5058
5093
  });
5059
5094
  }
5060
- function Xr(g) {
5061
- ye[g ? "unshift" : "push"](() => {
5095
+ function Zr(g) {
5096
+ ve[g ? "unshift" : "push"](() => {
5062
5097
  E = g, r(3, E);
5063
5098
  });
5064
5099
  }
5065
- function Vr() {
5100
+ function Yr() {
5066
5101
  F = this.clientWidth, r(9, F);
5067
5102
  }
5068
- const zr = () => Ve(), Wr = () => Ve();
5069
- function Zr(g) {
5070
- ye[g ? "unshift" : "push"](() => {
5071
- p = g, r(1, p);
5103
+ const qr = () => We(), Qr = () => We();
5104
+ function Jr(g) {
5105
+ ve[g ? "unshift" : "push"](() => {
5106
+ m = g, r(1, m);
5072
5107
  });
5073
5108
  }
5074
5109
  return e.$$set = (g) => {
5075
5110
  "endpoint" in g && r(16, o = g.endpoint), "lang" in g && r(17, a = g.lang), "env" in g && r(18, u = g.env), "userroles" in g && r(19, c = g.userroles), "translationurl" in g && r(20, l = g.translationurl), "mbsource" in g && r(21, s = g.mbsource), "clientstyling" in g && r(22, h = g.clientstyling), "clientstylingurl" in g && r(23, f = g.clientstylingurl), "numbersdisplayed" in g && r(0, d = g.numbersdisplayed);
5076
5111
  }, e.$$.update = () => {
5077
5112
  e.$$.dirty[0] & /*lang*/
5078
- 131072 && a && O(), e.$$.dirty[0] & /*translationurl*/
5079
- 1048576 && l && L(), e.$$.dirty[0] & /*endpoint, lang, env, userroles*/
5113
+ 131072 && a && N(), e.$$.dirty[0] & /*translationurl*/
5114
+ 1048576 && l && O(), e.$$.dirty[0] & /*endpoint, lang, env, userroles*/
5080
5115
  983040 && o && a && u && c && v(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5081
- 4194306 && h && p && Io(p, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5082
- 8388610 && f && p && No(p, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5083
- 2097154 && s && p && Oo(p, `${s}.Style`), e.$$.dirty[0] & /*controller, perPage*/
5084
- 50331648 && r(4, n = I ? I.perPage : T), e.$$.dirty[0] & /*controller, currentPerPage*/
5085
- 33554448 && r(6, A = I ? Math.ceil(I.innerElements.length / n) : 0), e.$$.dirty[0] & /*promotions, promotionsSlider*/
5086
- 12 && P && E && Fr(), e.$$.dirty[0] & /*controller*/
5087
- 33554432 && I && ge();
5116
+ 4194306 && h && m && Ro(m, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5117
+ 8388610 && f && m && Do(m, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5118
+ 2097154 && s && m && ko(m, `${s}.Style`), e.$$.dirty[0] & /*controller, perPage*/
5119
+ 50331648 && r(4, n = L ? L.perPage : w), e.$$.dirty[0] & /*controller, currentPerPage*/
5120
+ 33554448 && r(6, B = L ? Math.ceil(L.innerElements.length / n) : 0), e.$$.dirty[0] & /*promotions, promotionsSlider*/
5121
+ 12 && S && E && jr(), e.$$.dirty[0] & /*controller*/
5122
+ 33554432 && L && me();
5088
5123
  }, [
5089
5124
  d,
5090
- p,
5091
- P,
5125
+ m,
5126
+ S,
5092
5127
  E,
5093
5128
  n,
5094
5129
  b,
5095
- A,
5096
5130
  B,
5131
+ C,
5097
5132
  j,
5098
5133
  F,
5099
- je,
5100
- Xe,
5101
- i,
5102
- $r,
5103
- _t,
5104
5134
  Ve,
5135
+ ze,
5136
+ i,
5137
+ Vr,
5138
+ Pt,
5139
+ We,
5105
5140
  o,
5106
5141
  a,
5107
5142
  u,
@@ -5110,25 +5145,25 @@ function Wo(e, t, r) {
5110
5145
  s,
5111
5146
  h,
5112
5147
  f,
5113
- T,
5114
- I,
5115
- Gr,
5116
- jr,
5117
- Xr,
5118
- Vr,
5148
+ w,
5149
+ L,
5119
5150
  zr,
5120
5151
  Wr,
5121
- Zr
5152
+ Zr,
5153
+ Yr,
5154
+ qr,
5155
+ Qr,
5156
+ Jr
5122
5157
  ];
5123
5158
  }
5124
- class Zo extends En {
5159
+ class Jo extends Tn {
5125
5160
  constructor(t) {
5126
- super(), _n(
5161
+ super(), Pn(
5127
5162
  this,
5128
5163
  t,
5129
- Wo,
5130
- Fo,
5131
- rr,
5164
+ Qo,
5165
+ jo,
5166
+ sr,
5132
5167
  {
5133
5168
  endpoint: 16,
5134
5169
  lang: 17,
@@ -5140,7 +5175,7 @@ class Zo extends En {
5140
5175
  clientstylingurl: 23,
5141
5176
  numbersdisplayed: 0
5142
5177
  },
5143
- Mo,
5178
+ Fo,
5144
5179
  [-1, -1]
5145
5180
  );
5146
5181
  }
@@ -5199,7 +5234,7 @@ class Zo extends En {
5199
5234
  this.$$set({ numbersdisplayed: t }), z();
5200
5235
  }
5201
5236
  }
5202
- xn(Zo, { endpoint: {}, lang: {}, env: {}, userroles: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, numbersdisplayed: {} }, [], [], !0);
5237
+ wn(Jo, { endpoint: {}, lang: {}, env: {}, userroles: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, numbersdisplayed: {} }, [], [], !0);
5203
5238
  export {
5204
- Zo as C
5239
+ Jo as C
5205
5240
  };