@everymatrix/casino-calendar 1.49.1 → 1.50.0

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.
@@ -45,7 +45,7 @@ function ot() {
45
45
  function K(e) {
46
46
  e.forEach(It);
47
47
  }
48
- function Qe(e) {
48
+ function Ze(e) {
49
49
  return typeof e == "function";
50
50
  }
51
51
  function Ct(e, t) {
@@ -106,7 +106,7 @@ function io(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function qe(e, t) {
109
+ function Qe(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
112
  function xr(e, t, r) {
@@ -126,7 +126,7 @@ function Sr(e) {
126
126
  ) : e.ownerDocument;
127
127
  }
128
128
  function Tr(e, t) {
129
- return qe(
129
+ return Qe(
130
130
  /** @type {Document} */
131
131
  e.head || e,
132
132
  t
@@ -267,15 +267,15 @@ function Or() {
267
267
  function Ir(e) {
268
268
  Or().$$.on_mount.push(e);
269
269
  }
270
- const z = [], Le = [];
271
- let W = [];
270
+ const W = [], Le = [];
271
+ let z = [];
272
272
  const st = [], Cr = /* @__PURE__ */ Promise.resolve();
273
273
  let Ne = !1;
274
274
  function Lr() {
275
275
  Ne || (Ne = !0, Cr.then(R));
276
276
  }
277
277
  function Me(e) {
278
- W.push(e);
278
+ z.push(e);
279
279
  }
280
280
  const we = /* @__PURE__ */ new Set();
281
281
  let V = 0;
@@ -285,20 +285,20 @@ function R() {
285
285
  const e = ie;
286
286
  do {
287
287
  try {
288
- for (; V < z.length; ) {
289
- const t = z[V];
288
+ for (; V < W.length; ) {
289
+ const t = W[V];
290
290
  V++, ne(t), Nr(t.$$);
291
291
  }
292
292
  } catch (t) {
293
- throw z.length = 0, V = 0, t;
293
+ throw W.length = 0, V = 0, t;
294
294
  }
295
- for (ne(null), z.length = 0, V = 0; Le.length; ) Le.pop()();
296
- for (let t = 0; t < W.length; t += 1) {
297
- const r = W[t];
295
+ for (ne(null), W.length = 0, V = 0; Le.length; ) Le.pop()();
296
+ for (let t = 0; t < z.length; t += 1) {
297
+ const r = z[t];
298
298
  we.has(r) || (we.add(r), r());
299
299
  }
300
- W.length = 0;
301
- } while (z.length);
300
+ z.length = 0;
301
+ } while (W.length);
302
302
  for (; st.length; )
303
303
  st.pop()();
304
304
  Ne = !1, we.clear(), ne(e);
@@ -312,9 +312,9 @@ function Nr(e) {
312
312
  }
313
313
  function Mr(e) {
314
314
  const t = [], r = [];
315
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
315
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
316
316
  }
317
- const fe = /* @__PURE__ */ new Set();
317
+ const ce = /* @__PURE__ */ new Set();
318
318
  let F;
319
319
  function ho() {
320
320
  F = {
@@ -324,17 +324,17 @@ function ho() {
324
324
  // parent group
325
325
  };
326
326
  }
327
- function co() {
327
+ function fo() {
328
328
  F.r || K(F.c), F = F.p;
329
329
  }
330
330
  function Rr(e, t) {
331
- e && e.i && (fe.delete(e), e.i(t));
331
+ e && e.i && (ce.delete(e), e.i(t));
332
332
  }
333
- function fo(e, t, r, n) {
333
+ function co(e, t, r, n) {
334
334
  if (e && e.o) {
335
- if (fe.has(e)) return;
336
- fe.add(e), F.c.push(() => {
337
- fe.delete(e), n && (r && e.d(1), n());
335
+ if (ce.has(e)) return;
336
+ ce.add(e), F.c.push(() => {
337
+ ce.delete(e), n && (r && e.d(1), n());
338
338
  }), e.o(t);
339
339
  } else n && n();
340
340
  }
@@ -344,7 +344,7 @@ function at(e) {
344
344
  function $r(e, t, r) {
345
345
  const { fragment: n, after_update: i } = e.$$;
346
346
  n && n.m(t, r), Me(() => {
347
- const o = e.$$.on_mount.map(It).filter(Qe);
347
+ const o = e.$$.on_mount.map(It).filter(Ze);
348
348
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
349
349
  }), i.forEach(Me);
350
350
  }
@@ -353,7 +353,7 @@ function Dr(e, t) {
353
353
  r.fragment !== null && (Mr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
354
354
  }
355
355
  function Ur(e, t) {
356
- e.$$.dirty[0] === -1 && (z.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
356
+ e.$$.dirty[0] === -1 && (W.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
357
357
  }
358
358
  function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
359
359
  const l = ie;
@@ -381,13 +381,13 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
381
381
  };
382
382
  a && a(u.root);
383
383
  let h = !1;
384
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...y) => {
385
- const _ = y.length ? y[0] : f;
386
- return u.ctx && i(u.ctx[c], u.ctx[c] = _) && (!u.skip_bound && u.bound[c] && u.bound[c](_), h && Ur(e, c)), f;
384
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
385
+ const _ = y.length ? y[0] : c;
386
+ return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), h && Ur(e, f)), c;
387
387
  }) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
388
388
  if (t.hydrate) {
389
- const c = Pr(t.target);
390
- u.fragment && u.fragment.l(c), c.forEach(L);
389
+ const f = Pr(t.target);
390
+ u.fragment && u.fragment.l(f), f.forEach(L);
391
391
  } else
392
392
  u.fragment && u.fragment.c();
393
393
  t.intro && Rr(e.$$.fragment), $r(e, t.target, t.anchor), R();
@@ -606,7 +606,7 @@ class jr {
606
606
  * @returns {() => void}
607
607
  */
608
608
  $on(t, r) {
609
- if (!Qe(r))
609
+ if (!Ze(r))
610
610
  return H;
611
611
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
612
612
  return n.push(r), () => {
@@ -684,7 +684,7 @@ function De(e, t) {
684
684
  }
685
685
  return o;
686
686
  }
687
- function Z(e, t, r) {
687
+ function q(e, t, r) {
688
688
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
689
689
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
690
690
  return e.concat(o || Array.prototype.slice.call(t));
@@ -747,23 +747,23 @@ var ve = function() {
747
747
  } catch (v) {
748
748
  o = v instanceof He ? v.errors : [v];
749
749
  }
750
- var c = this._finalizers;
751
- if (c) {
750
+ var f = this._finalizers;
751
+ if (f) {
752
752
  this._finalizers = null;
753
753
  try {
754
- for (var f = $e(c), y = f.next(); !y.done; y = f.next()) {
754
+ for (var c = $e(f), y = c.next(); !y.done; y = c.next()) {
755
755
  var _ = y.value;
756
756
  try {
757
757
  ut(_);
758
758
  } catch (v) {
759
- o = o != null ? o : [], v instanceof He ? o = Z(Z([], De(o)), De(v.errors)) : o.push(v);
759
+ o = o != null ? o : [], v instanceof He ? o = q(q([], De(o)), De(v.errors)) : o.push(v);
760
760
  }
761
761
  }
762
762
  } catch (v) {
763
763
  n = { error: v };
764
764
  } finally {
765
765
  try {
766
- y && !y.done && (i = f.return) && i.call(f);
766
+ y && !y.done && (i = c.return) && i.call(c);
767
767
  } finally {
768
768
  if (n) throw n.error;
769
769
  }
@@ -818,7 +818,7 @@ var Ut = {
818
818
  setTimeout: function(e, t) {
819
819
  for (var r = [], n = 2; n < arguments.length; n++)
820
820
  r[n - 2] = arguments[n];
821
- return setTimeout.apply(void 0, Z([e, t], De(r)));
821
+ return setTimeout.apply(void 0, q([e, t], De(r)));
822
822
  },
823
823
  clearTimeout: function(e) {
824
824
  var t = Gt.delegate;
@@ -840,7 +840,7 @@ var Ft = function(e) {
840
840
  N(t, e);
841
841
  function t(r) {
842
842
  var n = e.call(this) || this;
843
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Qr, n;
843
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Zr, n;
844
844
  }
845
845
  return t.create = function(r, n, i) {
846
846
  return new Ge(r, n, i);
@@ -867,11 +867,11 @@ var Ft = function(e) {
867
867
  this.unsubscribe();
868
868
  }
869
869
  }, t;
870
- }(ve), zr = Function.prototype.bind;
870
+ }(ve), Wr = Function.prototype.bind;
871
871
  function Be(e, t) {
872
- return zr.call(e, t);
872
+ return Wr.call(e, t);
873
873
  }
874
- var Wr = function() {
874
+ var zr = function() {
875
875
  function e(t) {
876
876
  this.partialObserver = t;
877
877
  }
@@ -922,22 +922,22 @@ var Wr = function() {
922
922
  complete: r.complete && Be(r.complete, s)
923
923
  }) : a = r;
924
924
  }
925
- return o.destination = new Wr(a), o;
925
+ return o.destination = new zr(a), o;
926
926
  }
927
927
  return t;
928
928
  }(Ft);
929
929
  function he(e) {
930
930
  Xr(e);
931
931
  }
932
- function Zr(e) {
932
+ function qr(e) {
933
933
  throw e;
934
934
  }
935
- var Qr = {
935
+ var Zr = {
936
936
  closed: !0,
937
937
  next: lt,
938
- error: Zr,
938
+ error: qr,
939
939
  complete: lt
940
- }, qr = function() {
940
+ }, Qr = function() {
941
941
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
942
942
  }();
943
943
  function Jr(e) {
@@ -971,7 +971,7 @@ var ht = function() {
971
971
  }
972
972
  }, e.prototype.forEach = function(t, r) {
973
973
  var n = this;
974
- return r = ct(r), new r(function(i, o) {
974
+ return r = ft(r), new r(function(i, o) {
975
975
  var a = new Ge({
976
976
  next: function(s) {
977
977
  try {
@@ -988,7 +988,7 @@ var ht = function() {
988
988
  }, e.prototype._subscribe = function(t) {
989
989
  var r;
990
990
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
991
- }, e.prototype[qr] = function() {
991
+ }, e.prototype[Qr] = function() {
992
992
  return this;
993
993
  }, e.prototype.pipe = function() {
994
994
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -996,7 +996,7 @@ var ht = function() {
996
996
  return Yr(t)(this);
997
997
  }, e.prototype.toPromise = function(t) {
998
998
  var r = this;
999
- return t = ct(t), new t(function(n, i) {
999
+ return t = ft(t), new t(function(n, i) {
1000
1000
  var o;
1001
1001
  r.subscribe(function(a) {
1002
1002
  return o = a;
@@ -1010,7 +1010,7 @@ var ht = function() {
1010
1010
  return new e(t);
1011
1011
  }, e;
1012
1012
  }();
1013
- function ct(e) {
1013
+ function ft(e) {
1014
1014
  var t;
1015
1015
  return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
1016
1016
  }
@@ -1031,7 +1031,7 @@ var tn = Rt(function(e) {
1031
1031
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1032
1032
  }
1033
1033
  return t.prototype.lift = function(r) {
1034
- var n = new ft(this, this);
1034
+ var n = new ct(this, this);
1035
1035
  return n.operator = r, n;
1036
1036
  }, t.prototype._throwIfClosed = function() {
1037
1037
  if (this.closed)
@@ -1101,9 +1101,9 @@ var tn = Rt(function(e) {
1101
1101
  var r = new ht();
1102
1102
  return r.source = this, r;
1103
1103
  }, t.create = function(r, n) {
1104
- return new ft(r, n);
1104
+ return new ct(r, n);
1105
1105
  }, t;
1106
- }(ht), ft = function(e) {
1106
+ }(ht), ct = function(e) {
1107
1107
  N(t, e);
1108
1108
  function t(r, n) {
1109
1109
  var i = e.call(this) || this;
@@ -1197,26 +1197,26 @@ function ee(e, t, r) {
1197
1197
  return on(r, (a, s) => {
1198
1198
  let l = !1;
1199
1199
  const u = [];
1200
- let h = 0, c = H;
1201
- const f = () => {
1200
+ let h = 0, f = H;
1201
+ const c = () => {
1202
1202
  if (h)
1203
1203
  return;
1204
- c();
1204
+ f();
1205
1205
  const _ = t(n ? u[0] : u, a, s);
1206
- o ? a(_) : c = Qe(_) ? _ : H;
1206
+ o ? a(_) : f = Ze(_) ? _ : H;
1207
1207
  }, y = i.map(
1208
1208
  (_, v) => Er(
1209
1209
  _,
1210
1210
  (T) => {
1211
- u[v] = T, h &= ~(1 << v), l && f();
1211
+ u[v] = T, h &= ~(1 << v), l && c();
1212
1212
  },
1213
1213
  () => {
1214
1214
  h |= 1 << v;
1215
1215
  }
1216
1216
  )
1217
1217
  );
1218
- return l = !0, f(), function() {
1219
- K(y), c(), l = !1;
1218
+ return l = !0, c(), function() {
1219
+ K(y), f(), l = !1;
1220
1220
  };
1221
1221
  });
1222
1222
  }
@@ -1231,17 +1231,17 @@ function un(e) {
1231
1231
  }
1232
1232
  function ln(e) {
1233
1233
  var t = Object.prototype.toString.call(e);
1234
- return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1234
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1235
1235
  }
1236
- var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1237
- function fn(e) {
1238
- return e.$$typeof === cn;
1236
+ var hn = typeof Symbol == "function" && Symbol.for, fn = hn ? Symbol.for("react.element") : 60103;
1237
+ function cn(e) {
1238
+ return e.$$typeof === fn;
1239
1239
  }
1240
1240
  function dn(e) {
1241
1241
  return Array.isArray(e) ? [] : {};
1242
1242
  }
1243
1243
  function oe(e, t) {
1244
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(dn(e), e, t) : e;
1244
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(dn(e), e, t) : e;
1245
1245
  }
1246
1246
  function pn(e, t, r) {
1247
1247
  return e.concat(t).map(function(n) {
@@ -1250,9 +1250,9 @@ function pn(e, t, r) {
1250
1250
  }
1251
1251
  function mn(e, t) {
1252
1252
  if (!t.customMerge)
1253
- return Q;
1253
+ return Z;
1254
1254
  var r = t.customMerge(e);
1255
- return typeof r == "function" ? r : Q;
1255
+ return typeof r == "function" ? r : Z;
1256
1256
  }
1257
1257
  function bn(e) {
1258
1258
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1280,19 +1280,19 @@ function gn(e, t, r) {
1280
1280
  yn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1281
1281
  }), n;
1282
1282
  }
1283
- function Q(e, t, r) {
1283
+ function Z(e, t, r) {
1284
1284
  r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = oe;
1285
1285
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1286
1286
  return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : oe(t, r);
1287
1287
  }
1288
- Q.all = function(t, r) {
1288
+ Z.all = function(t, r) {
1289
1289
  if (!Array.isArray(t))
1290
1290
  throw new Error("first argument should be an array");
1291
1291
  return t.reduce(function(n, i) {
1292
- return Q(n, i, r);
1292
+ return Z(n, i, r);
1293
1293
  }, {});
1294
1294
  };
1295
- var vn = Q, _n = vn;
1295
+ var vn = Z, _n = vn;
1296
1296
  const En = /* @__PURE__ */ sn(_n);
1297
1297
  var p;
1298
1298
  (function(e) {
@@ -1302,10 +1302,10 @@ var E;
1302
1302
  (function(e) {
1303
1303
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1304
1304
  })(E || (E = {}));
1305
- var q;
1305
+ var Q;
1306
1306
  (function(e) {
1307
1307
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1308
- })(q || (q = {}));
1308
+ })(Q || (Q = {}));
1309
1309
  function bt(e) {
1310
1310
  return e.type === E.literal;
1311
1311
  }
@@ -1315,29 +1315,29 @@ function xn(e) {
1315
1315
  function Xt(e) {
1316
1316
  return e.type === E.number;
1317
1317
  }
1318
- function zt(e) {
1318
+ function Wt(e) {
1319
1319
  return e.type === E.date;
1320
1320
  }
1321
- function Wt(e) {
1321
+ function zt(e) {
1322
1322
  return e.type === E.time;
1323
1323
  }
1324
- function Zt(e) {
1324
+ function qt(e) {
1325
1325
  return e.type === E.select;
1326
1326
  }
1327
- function Qt(e) {
1327
+ function Zt(e) {
1328
1328
  return e.type === E.plural;
1329
1329
  }
1330
1330
  function Sn(e) {
1331
1331
  return e.type === E.pound;
1332
1332
  }
1333
- function qt(e) {
1333
+ function Qt(e) {
1334
1334
  return e.type === E.tag;
1335
1335
  }
1336
1336
  function Jt(e) {
1337
- return !!(e && typeof e == "object" && e.type === q.number);
1337
+ return !!(e && typeof e == "object" && e.type === Q.number);
1338
1338
  }
1339
1339
  function Fe(e) {
1340
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1340
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1341
1341
  }
1342
1342
  var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1343
1343
  function wn(e) {
@@ -1435,15 +1435,15 @@ var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1435
1435
  function Bn(e) {
1436
1436
  if (e.length === 0)
1437
1437
  throw new Error("Number skeleton cannot be empty");
1438
- for (var t = e.split(Hn).filter(function(f) {
1439
- return f.length > 0;
1438
+ for (var t = e.split(Hn).filter(function(c) {
1439
+ return c.length > 0;
1440
1440
  }), r = [], n = 0, i = t; n < i.length; n++) {
1441
1441
  var o = i[n], a = o.split("/");
1442
1442
  if (a.length === 0)
1443
1443
  throw new Error("Invalid number skeleton");
1444
1444
  for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1445
- var c = h[u];
1446
- if (c.length === 0)
1445
+ var f = h[u];
1446
+ if (f.length === 0)
1447
1447
  throw new Error("Invalid number skeleton");
1448
1448
  }
1449
1449
  r.push({ stem: s, options: l });
@@ -1604,11 +1604,11 @@ function In(e) {
1604
1604
  case "integer-width":
1605
1605
  if (i.options.length > 1)
1606
1606
  throw new RangeError("integer-width stems only accept a single optional option");
1607
- i.options[0].replace(An, function(l, u, h, c, f, y) {
1607
+ i.options[0].replace(An, function(l, u, h, f, c, y) {
1608
1608
  if (u)
1609
1609
  t.minimumIntegerDigits = h.length;
1610
1610
  else {
1611
- if (c && f)
1611
+ if (f && c)
1612
1612
  throw new Error("We currently do not support maximum integer digits");
1613
1613
  if (y)
1614
1614
  throw new Error("We currently do not support exact integer digits");
@@ -1624,8 +1624,8 @@ function In(e) {
1624
1624
  if (yt.test(i.stem)) {
1625
1625
  if (i.options.length > 1)
1626
1626
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1627
- i.stem.replace(yt, function(l, u, h, c, f, y) {
1628
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1627
+ i.stem.replace(yt, function(l, u, h, f, c, y) {
1628
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1629
1629
  });
1630
1630
  var o = i.options[0];
1631
1631
  o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), gt(o)));
@@ -1642,7 +1642,7 @@ function In(e) {
1642
1642
  }
1643
1643
  return t;
1644
1644
  }
1645
- var ce = {
1645
+ var fe = {
1646
1646
  "001": [
1647
1647
  "H",
1648
1648
  "h"
@@ -3085,7 +3085,7 @@ function Ln(e) {
3085
3085
  }
3086
3086
  var r = e.language, n;
3087
3087
  r !== "root" && (n = e.maximize().region);
3088
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3088
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3089
3089
  return i[0];
3090
3090
  }
3091
3091
  var Pe, Nn = new RegExp("^".concat(Yt.source, "*")), Mn = new RegExp("".concat(Yt.source, "*$"));
@@ -3159,7 +3159,7 @@ var _t = Rn ? (
3159
3159
  function(t) {
3160
3160
  return t.replace(Nn, "");
3161
3161
  }
3162
- ), zn = Fn ? (
3162
+ ), Wn = Fn ? (
3163
3163
  // Native
3164
3164
  function(t) {
3165
3165
  return t.trimEnd();
@@ -3186,13 +3186,13 @@ if (je) {
3186
3186
  Ve = function(t, r) {
3187
3187
  for (var n = []; ; ) {
3188
3188
  var i = rr(t, r);
3189
- if (i === void 0 || ir(i) || qn(i))
3189
+ if (i === void 0 || ir(i) || Qn(i))
3190
3190
  break;
3191
3191
  n.push(i), r += i >= 65536 ? 2 : 1;
3192
3192
  }
3193
3193
  return ke.apply(void 0, n);
3194
3194
  };
3195
- var Wn = (
3195
+ var zn = (
3196
3196
  /** @class */
3197
3197
  function() {
3198
3198
  function e(t, r) {
@@ -3274,7 +3274,7 @@ var Wn = (
3274
3274
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3275
3275
  }, e.prototype.parseTagName = function() {
3276
3276
  var t = this.offset();
3277
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3277
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
3278
3278
  this.bump();
3279
3279
  return this.message.slice(t, this.offset());
3280
3280
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3303,7 +3303,7 @@ var Wn = (
3303
3303
  };
3304
3304
  }, e.prototype.tryParseLeftAngleBracket = function() {
3305
3305
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3306
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3306
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3307
3307
  }, e.prototype.tryParseQuote = function(t) {
3308
3308
  if (this.isEOF() || this.char() !== 39)
3309
3309
  return null;
@@ -3387,14 +3387,14 @@ var Wn = (
3387
3387
  var u = null;
3388
3388
  if (this.bumpIf(",")) {
3389
3389
  this.bumpSpace();
3390
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3391
- if (c.err)
3392
- return c;
3393
- var f = zn(c.val);
3394
- if (f.length === 0)
3390
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3391
+ if (f.err)
3392
+ return f;
3393
+ var c = Wn(f.val);
3394
+ if (c.length === 0)
3395
3395
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3396
3396
  var y = b(h, this.clonePosition());
3397
- u = { style: f, styleLocation: y };
3397
+ u = { style: c, styleLocation: y };
3398
3398
  }
3399
3399
  var _ = this.tryParseArgumentClose(i);
3400
3400
  if (_.err)
@@ -3403,9 +3403,9 @@ var Wn = (
3403
3403
  if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3404
3404
  var T = Xn(u.style.slice(2));
3405
3405
  if (s === "number") {
3406
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3407
- return c.err ? c : {
3408
- val: { type: E.number, value: n, location: v, style: c.val },
3406
+ var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3407
+ return f.err ? f : {
3408
+ val: { type: E.number, value: n, location: v, style: f.val },
3409
3409
  err: null
3410
3410
  };
3411
3411
  } else {
@@ -3413,14 +3413,14 @@ var Wn = (
3413
3413
  return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3414
3414
  var U = T;
3415
3415
  this.locale && (U = Cn(T, this.locale));
3416
- var f = {
3417
- type: q.dateTime,
3416
+ var c = {
3417
+ type: Q.dateTime,
3418
3418
  pattern: U,
3419
3419
  location: u.styleLocation,
3420
3420
  parsedOptions: this.shouldParseSkeletons ? wn(U) : {}
3421
3421
  }, M = s === "date" ? E.date : E.time;
3422
3422
  return {
3423
- val: { type: M, value: n, location: v, style: f },
3423
+ val: { type: M, value: n, location: v, style: c },
3424
3424
  err: null
3425
3425
  };
3426
3426
  }
@@ -3447,10 +3447,10 @@ var Wn = (
3447
3447
  if (!this.bumpIf(":"))
3448
3448
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3449
3449
  this.bumpSpace();
3450
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3451
- if (c.err)
3452
- return c;
3453
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), A = c.val;
3450
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3451
+ if (f.err)
3452
+ return f;
3453
+ this.bumpSpace(), G = this.parseIdentifierIfPossible(), A = f.val;
3454
3454
  }
3455
3455
  var k = this.tryParsePluralOrSelectOptions(t, s, r, G);
3456
3456
  if (k.err)
@@ -3528,7 +3528,7 @@ var Wn = (
3528
3528
  }
3529
3529
  return {
3530
3530
  val: {
3531
- type: q.number,
3531
+ type: Q.number,
3532
3532
  tokens: n,
3533
3533
  location: r,
3534
3534
  parsedOptions: this.shouldParseSkeletons ? In(n) : {}
@@ -3538,12 +3538,12 @@ var Wn = (
3538
3538
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3539
3539
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3540
3540
  if (u.length === 0) {
3541
- var c = this.clonePosition();
3541
+ var f = this.clonePosition();
3542
3542
  if (r !== "select" && this.bumpIf("=")) {
3543
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3544
- if (f.err)
3545
- return f;
3546
- h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3543
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3544
+ if (c.err)
3545
+ return c;
3546
+ h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3547
3547
  } else
3548
3548
  break;
3549
3549
  }
@@ -3648,34 +3648,34 @@ var Wn = (
3648
3648
  function Xe(e) {
3649
3649
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3650
3650
  }
3651
- function Zn(e) {
3651
+ function qn(e) {
3652
3652
  return Xe(e) || e === 47;
3653
3653
  }
3654
- function Qn(e) {
3654
+ function Zn(e) {
3655
3655
  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;
3656
3656
  }
3657
3657
  function ir(e) {
3658
3658
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3659
3659
  }
3660
- function qn(e) {
3660
+ function Qn(e) {
3661
3661
  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;
3662
3662
  }
3663
- function ze(e) {
3663
+ function We(e) {
3664
3664
  e.forEach(function(t) {
3665
- if (delete t.location, Zt(t) || Qt(t))
3665
+ if (delete t.location, qt(t) || Zt(t))
3666
3666
  for (var r in t.options)
3667
- delete t.options[r].location, ze(t.options[r].value);
3668
- else Xt(t) && Jt(t.style) || (zt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : qt(t) && ze(t.children);
3667
+ delete t.options[r].location, We(t.options[r].value);
3668
+ else Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Qt(t) && We(t.children);
3669
3669
  });
3670
3670
  }
3671
3671
  function Jn(e, t) {
3672
3672
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3673
- var r = new Wn(e, t).parse();
3673
+ var r = new zn(e, t).parse();
3674
3674
  if (r.err) {
3675
3675
  var n = SyntaxError(p[r.err.kind]);
3676
3676
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3677
3677
  }
3678
- return t != null && t.captureLocation || ze(r.val), r.val;
3678
+ return t != null && t.captureLocation || We(r.val), r.val;
3679
3679
  }
3680
3680
  function Ae(e, t) {
3681
3681
  var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
@@ -3807,42 +3807,42 @@ function me(e, t, r, n, i, o, a) {
3807
3807
  });
3808
3808
  continue;
3809
3809
  }
3810
- var c = h.value;
3811
- if (!(i && c in i))
3812
- throw new oi(c, a);
3813
- var f = i[c];
3810
+ var f = h.value;
3811
+ if (!(i && f in i))
3812
+ throw new oi(f, a);
3813
+ var c = i[f];
3814
3814
  if (xn(h)) {
3815
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3816
- type: typeof f == "string" ? S.literal : S.object,
3817
- value: f
3815
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3816
+ type: typeof c == "string" ? S.literal : S.object,
3817
+ value: c
3818
3818
  });
3819
3819
  continue;
3820
3820
  }
3821
- if (zt(h)) {
3821
+ if (Wt(h)) {
3822
3822
  var y = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3823
3823
  s.push({
3824
3824
  type: S.literal,
3825
- value: r.getDateTimeFormat(t, y).format(f)
3825
+ value: r.getDateTimeFormat(t, y).format(c)
3826
3826
  });
3827
3827
  continue;
3828
3828
  }
3829
- if (Wt(h)) {
3829
+ if (zt(h)) {
3830
3830
  var y = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3831
3831
  s.push({
3832
3832
  type: S.literal,
3833
- value: r.getDateTimeFormat(t, y).format(f)
3833
+ value: r.getDateTimeFormat(t, y).format(c)
3834
3834
  });
3835
3835
  continue;
3836
3836
  }
3837
3837
  if (Xt(h)) {
3838
3838
  var y = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3839
- y && y.scale && (f = f * (y.scale || 1)), s.push({
3839
+ y && y.scale && (c = c * (y.scale || 1)), s.push({
3840
3840
  type: S.literal,
3841
- value: r.getNumberFormat(t, y).format(f)
3841
+ value: r.getNumberFormat(t, y).format(c)
3842
3842
  });
3843
3843
  continue;
3844
3844
  }
3845
- if (qt(h)) {
3845
+ if (Qt(h)) {
3846
3846
  var _ = h.children, v = h.value, T = i[v];
3847
3847
  if (!ai(T))
3848
3848
  throw new ii(v, "function", a);
@@ -3856,26 +3856,26 @@ function me(e, t, r, n, i, o, a) {
3856
3856
  };
3857
3857
  }));
3858
3858
  }
3859
- if (Zt(h)) {
3860
- var w = h.options[f] || h.options.other;
3859
+ if (qt(h)) {
3860
+ var w = h.options[c] || h.options.other;
3861
3861
  if (!w)
3862
- throw new St(h.value, f, Object.keys(h.options), a);
3862
+ throw new St(h.value, c, Object.keys(h.options), a);
3863
3863
  s.push.apply(s, me(w.value, t, r, n, i));
3864
3864
  continue;
3865
3865
  }
3866
- if (Qt(h)) {
3867
- var w = h.options["=".concat(f)];
3866
+ if (Zt(h)) {
3867
+ var w = h.options["=".concat(c)];
3868
3868
  if (!w) {
3869
3869
  if (!Intl.PluralRules)
3870
3870
  throw new Ee(`Intl.PluralRules is not available in this environment.
3871
3871
  Try polyfilling it using "@formatjs/intl-pluralrules"
3872
3872
  `, J.MISSING_INTL_API, a);
3873
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3873
+ var G = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3874
3874
  w = h.options[G] || h.options.other;
3875
3875
  }
3876
3876
  if (!w)
3877
- throw new St(h.value, f, Object.keys(h.options), a);
3878
- s.push.apply(s, me(w.value, t, r, n, i, f - (h.offset || 0)));
3877
+ throw new St(h.value, c, Object.keys(h.options), a);
3878
+ s.push.apply(s, me(w.value, t, r, n, i, c - (h.offset || 0)));
3879
3879
  continue;
3880
3880
  }
3881
3881
  }
@@ -3914,7 +3914,7 @@ function hi(e) {
3914
3914
  getNumberFormat: Ae(function() {
3915
3915
  for (var t, r = [], n = 0; n < arguments.length; n++)
3916
3916
  r[n] = arguments[n];
3917
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3917
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3918
3918
  }, {
3919
3919
  cache: Ie(e.number),
3920
3920
  strategy: Oe.variadic
@@ -3922,7 +3922,7 @@ function hi(e) {
3922
3922
  getDateTimeFormat: Ae(function() {
3923
3923
  for (var t, r = [], n = 0; n < arguments.length; n++)
3924
3924
  r[n] = arguments[n];
3925
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3925
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3926
3926
  }, {
3927
3927
  cache: Ie(e.dateTime),
3928
3928
  strategy: Oe.variadic
@@ -3930,14 +3930,14 @@ function hi(e) {
3930
3930
  getPluralRules: Ae(function() {
3931
3931
  for (var t, r = [], n = 0; n < arguments.length; n++)
3932
3932
  r[n] = arguments[n];
3933
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3933
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3934
3934
  }, {
3935
3935
  cache: Ie(e.pluralRules),
3936
3936
  strategy: Oe.variadic
3937
3937
  })
3938
3938
  };
3939
3939
  }
3940
- var ci = (
3940
+ var fi = (
3941
3941
  /** @class */
3942
3942
  function() {
3943
3943
  function e(t, r, n, i) {
@@ -3950,8 +3950,8 @@ var ci = (
3950
3950
  var u = o.formatToParts(l);
3951
3951
  if (u.length === 1)
3952
3952
  return u[0].value;
3953
- var h = u.reduce(function(c, f) {
3954
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3953
+ var h = u.reduce(function(f, c) {
3954
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3955
3955
  }, []);
3956
3956
  return h.length <= 1 ? h[0] || "" : h;
3957
3957
  }, this.formatToParts = function(l) {
@@ -4048,7 +4048,7 @@ var ci = (
4048
4048
  }, e;
4049
4049
  }()
4050
4050
  );
4051
- function fi(e, t) {
4051
+ function ci(e, t) {
4052
4052
  if (t == null)
4053
4053
  return;
4054
4054
  if (t in e)
@@ -4093,7 +4093,7 @@ function mi(e, t) {
4093
4093
  if (!ur(e))
4094
4094
  return null;
4095
4095
  const r = pi(e);
4096
- return fi(r, t);
4096
+ return ci(r, t);
4097
4097
  }
4098
4098
  function bi(e) {
4099
4099
  if (e == null)
@@ -4126,7 +4126,7 @@ function vi(e) {
4126
4126
  return [t, r ? [...r] : []];
4127
4127
  }).filter(([, t]) => t.length > 0);
4128
4128
  }
4129
- function We(e) {
4129
+ function ze(e) {
4130
4130
  return e == null ? !1 : xe(e).some(
4131
4131
  (t) => {
4132
4132
  var r;
@@ -4141,7 +4141,7 @@ function _i(e, t) {
4141
4141
  }
4142
4142
  const re = {};
4143
4143
  function hr(e) {
4144
- if (!We(e))
4144
+ if (!ze(e))
4145
4145
  return e in re ? re[e] : Promise.resolve();
4146
4146
  const t = vi(e);
4147
4147
  return re[e] = Promise.all(
@@ -4149,7 +4149,7 @@ function hr(e) {
4149
4149
  ([r, n]) => _i(r, n)
4150
4150
  )
4151
4151
  ).then(() => {
4152
- if (We(e))
4152
+ if (ze(e))
4153
4153
  return hr(e);
4154
4154
  delete re[e];
4155
4155
  }), re[e];
@@ -4203,7 +4203,7 @@ var Ti = Object.defineProperty, wi = Object.defineProperties, Hi = Object.getOwn
4203
4203
  Pi.call(t, r) && wt(e, r, t[r]);
4204
4204
  return e;
4205
4205
  }, Oi = (e, t) => wi(e, Hi(t));
4206
- let Ze;
4206
+ let qe;
4207
4207
  const ye = _e(null);
4208
4208
  function Ht(e) {
4209
4209
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
@@ -4213,13 +4213,13 @@ function xe(e, t = Y().fallbackLocale) {
4213
4213
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4214
4214
  }
4215
4215
  function j() {
4216
- return Ze != null ? Ze : void 0;
4216
+ return qe != null ? qe : void 0;
4217
4217
  }
4218
4218
  ye.subscribe((e) => {
4219
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4219
+ qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4220
4220
  });
4221
4221
  const Ii = (e) => {
4222
- if (e && bi(e) && We(e)) {
4222
+ if (e && bi(e) && ze(e)) {
4223
4223
  const { loadingDelay: t } = Y();
4224
4224
  let r;
4225
4225
  return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
@@ -4241,20 +4241,20 @@ const Ii = (e) => {
4241
4241
  return i in t ? t[i] : t[i] = e(n);
4242
4242
  };
4243
4243
  };
4244
- var Ci = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4244
+ var Ci = Object.defineProperty, ge = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4245
4245
  for (var r in t || (t = {}))
4246
- cr.call(t, r) && Bt(e, r, t[r]);
4246
+ fr.call(t, r) && Bt(e, r, t[r]);
4247
4247
  if (ge)
4248
4248
  for (var r of ge(t))
4249
- fr.call(t, r) && Bt(e, r, t[r]);
4249
+ cr.call(t, r) && Bt(e, r, t[r]);
4250
4250
  return e;
4251
4251
  }, te = (e, t) => {
4252
4252
  var r = {};
4253
4253
  for (var n in e)
4254
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4254
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4255
4255
  if (e != null && ge)
4256
4256
  for (var n of ge(e))
4257
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4257
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4258
4258
  return r;
4259
4259
  };
4260
4260
  const se = (e, t) => {
@@ -4308,7 +4308,7 @@ const se = (e, t) => {
4308
4308
  return Mi(et({ locale: r }, n));
4309
4309
  }, Ui = Se(
4310
4310
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4311
- (e, t = j()) => new ci(e, t, Y().formats, {
4311
+ (e, t = j()) => new fi(e, t, Y().formats, {
4312
4312
  ignoreTag: Y().ignoreTag
4313
4313
  })
4314
4314
  ), Gi = (e, t = {}) => {
@@ -4333,16 +4333,16 @@ const se = (e, t) => {
4333
4333
  ), h;
4334
4334
  if (!s)
4335
4335
  return h;
4336
- let c = h;
4336
+ let f = h;
4337
4337
  try {
4338
- c = Ui(h, l).format(s);
4339
- } catch (f) {
4340
- f instanceof Error && console.warn(
4338
+ f = Ui(h, l).format(s);
4339
+ } catch (c) {
4340
+ c instanceof Error && console.warn(
4341
4341
  `[svelte-i18n] Message "${e}" has syntax error:`,
4342
- f.message
4342
+ c.message
4343
4343
  );
4344
4344
  }
4345
- return c;
4345
+ return f;
4346
4346
  }, Fi = (e, t) => Di(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = j()) => ar(e, t);
4347
4347
  ee([ue, ae], () => Gi);
4348
4348
  ee([ue], () => Fi);
@@ -4350,7 +4350,7 @@ ee([ue], () => ji);
4350
4350
  ee([ue], () => ki);
4351
4351
  ee([ue, ae], () => Vi);
4352
4352
  window.emWidgets = { topic: nn };
4353
- const Xi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4353
+ const Xi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4354
4354
  if (typeof window != "undefined") {
4355
4355
  let e = function(t) {
4356
4356
  return function(...r) {
@@ -4363,7 +4363,7 @@ if (typeof window != "undefined") {
4363
4363
  }
4364
4364
  };
4365
4365
  };
4366
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-VA2ZLi7a.js").then(({ default: t }) => {
4366
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DffY5BCj.js").then(({ default: t }) => {
4367
4367
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4368
4368
  });
4369
4369
  }
@@ -4379,19 +4379,19 @@ if (typeof window != "undefined") {
4379
4379
  }
4380
4380
  };
4381
4381
  };
4382
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BRiXZe-d.js").then(({ default: t }) => {
4382
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-JnSPLFdF.js").then(({ default: t }) => {
4383
4383
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4384
4384
  });
4385
4385
  }
4386
- function Wi(e) {
4387
- xr(e, "svelte-1u5xzds", `.CasinoCalendarItem.svelte-1u5xzds{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1u5xzds{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1u5xzds{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1u5xzds{display:block;width:80px;height:80px;margin:0 auto
4388
- }.LoadingSpinner.svelte-1u5xzds:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-1u5xzds-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1u5xzds-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4386
+ function zi(e) {
4387
+ xr(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4388
+ }.LoadingSpinner.svelte-1bqenf9:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4389
4389
  }
4390
4390
  function Pt(e, t, r) {
4391
4391
  const n = e.slice();
4392
4392
  return n[21] = t[r], n[23] = r, n;
4393
4393
  }
4394
- function Zi(e) {
4394
+ function qi(e) {
4395
4395
  let t, r, n, i = at(
4396
4396
  /*calendarCollections*/
4397
4397
  e[4]
@@ -4408,13 +4408,13 @@ function Zi(e) {
4408
4408
  for (let s = 0; s < o.length; s += 1)
4409
4409
  o[s].c();
4410
4410
  r = Br(), a && a.c(), C(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4411
- (e[8] ? "Mobile" : "") + " svelte-1u5xzds");
4411
+ (e[8] ? "Mobile" : "") + " svelte-1bqenf9");
4412
4412
  },
4413
4413
  m(s, l) {
4414
4414
  D(s, t, l);
4415
4415
  for (let u = 0; u < o.length; u += 1)
4416
4416
  o[u] && o[u].m(t, null);
4417
- qe(t, r), a && a.m(t, null);
4417
+ Qe(t, r), a && a.m(t, null);
4418
4418
  },
4419
4419
  p(s, l) {
4420
4420
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl*/
@@ -4435,18 +4435,18 @@ function Zi(e) {
4435
4435
  /*calendarModalOpened*/
4436
4436
  s[9] == !0 ? a ? a.p(s, l) : (a = Ot(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4437
4437
  256 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4438
- (s[8] ? "Mobile" : "") + " svelte-1u5xzds") && C(t, "class", n);
4438
+ (s[8] ? "Mobile" : "") + " svelte-1bqenf9") && C(t, "class", n);
4439
4439
  },
4440
4440
  d(s) {
4441
4441
  s && L(t), wr(o, s), a && a.d();
4442
4442
  }
4443
4443
  };
4444
4444
  }
4445
- function Qi(e) {
4445
+ function Zi(e) {
4446
4446
  let t;
4447
4447
  return {
4448
4448
  c() {
4449
- t = P("div"), C(t, "class", "LoadingSpinner svelte-1u5xzds"), C(t, "part", "LoadingSpinner");
4449
+ t = P("div"), C(t, "class", "LoadingSpinner svelte-1bqenf9"), C(t, "part", "LoadingSpinner");
4450
4450
  },
4451
4451
  m(r, n) {
4452
4452
  D(r, t, n);
@@ -4457,7 +4457,7 @@ function Qi(e) {
4457
4457
  }
4458
4458
  };
4459
4459
  }
4460
- function qi(e) {
4460
+ function Qi(e) {
4461
4461
  let t;
4462
4462
  return {
4463
4463
  c() {
@@ -4585,10 +4585,10 @@ function Ot(e) {
4585
4585
  "clientstylingurl",
4586
4586
  /*clientstylingurl*/
4587
4587
  e[2]
4588
- ), C(t, "class", "CalendarDetailsWrapper svelte-1u5xzds");
4588
+ ), C(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4589
4589
  },
4590
4590
  m(u, h) {
4591
- D(u, t, h), qe(t, r);
4591
+ D(u, t, h), Qe(t, r);
4592
4592
  },
4593
4593
  p(u, h) {
4594
4594
  h & /*calendarCollections, selectedIndex*/
@@ -4653,15 +4653,15 @@ function Ji(e) {
4653
4653
  if (
4654
4654
  /*hasErrors*/
4655
4655
  o[7]
4656
- ) return qi;
4656
+ ) return Qi;
4657
4657
  if (
4658
4658
  /*isLoading*/
4659
4659
  o[6]
4660
- ) return Qi;
4660
+ ) return Zi;
4661
4661
  if (
4662
4662
  /*calendarCollections*/
4663
4663
  (s = o[4]) != null && s.length
4664
- ) return Zi;
4664
+ ) return qi;
4665
4665
  }
4666
4666
  let n = r(e), i = n && n(e);
4667
4667
  return {
@@ -4682,33 +4682,33 @@ function Ji(e) {
4682
4682
  };
4683
4683
  }
4684
4684
  function Yi(e, t, r) {
4685
- let { cmsendpoint: n = "" } = t, { env: i = "" } = t, { userroles: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, u, h, c = 0, f = !0, y = !1, _ = !1, v = window.navigator.userAgent, T = !1;
4685
+ let { cmsendpoint: n = "" } = t, { env: i = "" } = t, { userroles: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, u, h, f = 0, c = !0, y = !1, _ = !1, v = window.navigator.userAgent, T = !1;
4686
4686
  const U = () => {
4687
- r(6, f = !0);
4687
+ r(6, c = !0);
4688
4688
  let d = new URL(`${n}/${a}/daily-calendar`);
4689
4689
  d.searchParams.append("userRoles", o), d.searchParams.append("env", i);
4690
- let B = zi(v);
4690
+ let B = Wi(v);
4691
4691
  B && (B === "PC" ? d.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((O) => O.json()).then((O) => {
4692
4692
  r(4, h = O);
4693
4693
  }).catch((O) => {
4694
4694
  console.log(O), r(7, y = !0);
4695
4695
  }).finally(() => {
4696
- r(6, f = !1);
4696
+ r(6, c = !1);
4697
4697
  });
4698
4698
  }, M = () => {
4699
4699
  U();
4700
4700
  }, w = (d) => {
4701
4701
  var B;
4702
- d.data && d.data.type == "OpenCalendar" && (r(5, c = d.data.index), r(9, T = !0), window.postMessage(
4702
+ d.data && d.data.type == "OpenCalendar" && (r(5, f = d.data.index), r(9, T = !0), window.postMessage(
4703
4703
  {
4704
4704
  type: "ShowModal",
4705
- selectedIndex: c,
4705
+ selectedIndex: f,
4706
4706
  identifier: "Calendar"
4707
4707
  },
4708
4708
  window.location.href
4709
4709
  ), window.postMessage({
4710
4710
  type: "DailyEventsData",
4711
- data: (B = h[c]) == null ? void 0 : B.dailyEvents
4711
+ data: (B = h[f]) == null ? void 0 : B.dailyEvents
4712
4712
  })), d.data && d.data.type == "ModalClosed" && r(9, T = !1);
4713
4713
  }, G = () => {
4714
4714
  let d = document.createElement("style");
@@ -4749,8 +4749,8 @@ function Yi(e, t, r) {
4749
4749
  l,
4750
4750
  u,
4751
4751
  h,
4752
- c,
4753
4752
  f,
4753
+ c,
4754
4754
  y,
4755
4755
  _,
4756
4756
  T,
@@ -4776,7 +4776,7 @@ class dr extends jr {
4776
4776
  clientstyling: 1,
4777
4777
  clientstylingurl: 2
4778
4778
  },
4779
- Wi
4779
+ zi
4780
4780
  );
4781
4781
  }
4782
4782
  get cmsendpoint() {
@@ -4839,7 +4839,7 @@ export {
4839
4839
  D as d,
4840
4840
  P as e,
4841
4841
  R as f,
4842
- co as g,
4842
+ fo as g,
4843
4843
  Rr as h,
4844
4844
  Gr as i,
4845
4845
  L as j,
@@ -4852,9 +4852,9 @@ export {
4852
4852
  Br as q,
4853
4853
  Nt as r,
4854
4854
  Ct as s,
4855
- fo as t,
4855
+ co as t,
4856
4856
  C as u,
4857
- qe as v,
4857
+ Qe as v,
4858
4858
  so as w,
4859
4859
  no as x,
4860
4860
  io as y,