@everymatrix/casino-promotions-slider 1.62.0 → 1.62.2

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