@everymatrix/casino-promotions-slider 1.74.2 → 1.74.3

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