@everymatrix/casino-calendar-daily-details 1.76.3 → 1.76.4

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.
Files changed (21) hide show
  1. package/components/{CasinoCalendarDailyDetails--_HshwEm.js → CasinoCalendarDailyDetails-D1UcQmNB.js} +968 -933
  2. package/components/CasinoCalendarDailyDetails-DXlCMVqH.cjs +18 -0
  3. package/components/{CasinoCalendarDailyDetails-CFiK7oTl.js → CasinoCalendarDailyDetails-G7aTmkq1.js} +950 -915
  4. package/es2015/casino-calendar-daily-details.cjs +1 -1
  5. package/es2015/casino-calendar-daily-details.js +1 -1
  6. package/esnext/casino-calendar-daily-details.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  9. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  10. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  11. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  12. package/stencil/{ui-image-D3_FGUyo.js → ui-image-C7s6Uvn5.js} +1 -1
  13. package/stencil/{ui-image-CYuYAlOX.js → ui-image-CHeV8e9p.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  17. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  18. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  19. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  20. package/components/CasinoCalendarDailyDetails-DJ-aA9yA.cjs +0 -18
  21. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var Ir = Object.defineProperty, Cr = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var lt = Object.getOwnPropertySymbols;
4
- var Nr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
1
+ var Mr = Object.defineProperty, Rr = Object.defineProperties;
2
+ var Dr = Object.getOwnPropertyDescriptors;
3
+ var dt = Object.getOwnPropertySymbols;
4
+ var $r = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
+ var Le = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Nr.call(t, r) && Ie(e, r, t[r]);
8
- if (lt)
9
- for (var r of lt(t))
10
- Mr.call(t, r) && Ie(e, r, t[r]);
7
+ $r.call(t, r) && Le(e, r, t[r]);
8
+ if (dt)
9
+ for (var r of dt(t))
10
+ Ur.call(t, r) && Le(e, r, t[r]);
11
11
  return e;
12
- }, ft = (e, t) => Cr(e, Lr(t));
13
- var N = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
12
+ }, mt = (e, t) => Rr(e, Dr(t));
13
+ var N = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,10 +27,10 @@ var ct = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-D3_FGUyo.js";
30
+ import "../stencil/ui-image-C7s6Uvn5.js";
31
31
  function C() {
32
32
  }
33
- function Rr(e, t) {
33
+ function Fr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,29 +38,29 @@ function Rr(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Vt(e) {
41
+ function Zt(e) {
42
42
  return e();
43
43
  }
44
- function dt() {
44
+ function yt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function ee(e) {
48
- e.forEach(Vt);
47
+ function K(e) {
48
+ e.forEach(Zt);
49
49
  }
50
- function rt(e) {
50
+ function at(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Xt(e, t) {
53
+ function Qt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let de;
57
- function pt(e, t) {
57
+ function gt(e, t) {
58
58
  return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
59
59
  }
60
- function Dr(e) {
60
+ function Gr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Wt(e, ...t) {
63
+ function qt(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -69,19 +69,19 @@ function Wt(e, ...t) {
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function $r(e, t, r) {
73
- e.$$.on_destroy.push(Wt(t, r));
72
+ function jr(e, t, r) {
73
+ e.$$.on_destroy.push(qt(t, r));
74
74
  }
75
- function Ur(e, t, r, n) {
75
+ function kr(e, t, r, n) {
76
76
  if (e) {
77
- const i = zt(e, t, r, n);
77
+ const i = Jt(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function zt(e, t, r, n) {
82
- return e[1] && n ? Rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Jt(e, t, r, n) {
82
+ return e[1] && n ? Fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function Fr(e, t, r, n) {
84
+ function Vr(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function Fr(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Gr(e, t, r, n, i, o) {
99
+ function Xr(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = zt(t, r, n, o);
101
+ const s = Jt(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function jr(e) {
105
+ function Wr(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -114,14 +114,14 @@ function jr(e) {
114
114
  function B(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
- function kr(e, t, r) {
118
- const n = Vr(e);
117
+ function zr(e, t, r) {
118
+ const n = Zr(e);
119
119
  if (!n.getElementById(t)) {
120
120
  const i = P("style");
121
- i.id = t, i.textContent = r, Xr(n, i);
121
+ i.id = t, i.textContent = r, Qr(n, i);
122
122
  }
123
123
  }
124
- function Vr(e) {
124
+ function Zr(e) {
125
125
  if (!e)
126
126
  return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,7 +131,7 @@ function Vr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function Xr(e, t) {
134
+ function Qr(e, t) {
135
135
  return B(
136
136
  /** @type {Document} */
137
137
  e.head || e,
@@ -141,46 +141,46 @@ function Xr(e, t) {
141
141
  function F(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function D(e) {
144
+ function $(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function Zt(e, t) {
147
+ function Yt(e, t) {
148
148
  for (let r = 0; r < e.length; r += 1)
149
149
  e[r] && e[r].d(t);
150
150
  }
151
151
  function P(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function mt(e) {
154
+ function vt(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
- function we(e) {
157
+ function He(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
160
  function z() {
161
- return we(" ");
161
+ return He(" ");
162
162
  }
163
- function Qt(e, t, r, n) {
163
+ function Kt(e, t, r, n) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function T(e, t, r) {
166
+ function E(e, t, r) {
167
167
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
168
168
  }
169
- function ie(e, t, r) {
169
+ function ne(e, t, r) {
170
170
  const n = t.toLowerCase();
171
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
171
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
172
172
  }
173
- function Wr(e) {
173
+ function qr(e) {
174
174
  return Array.from(e.childNodes);
175
175
  }
176
- function nt(e, t) {
176
+ function ut(e, t) {
177
177
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
178
178
  t);
179
179
  }
180
- function zr(e, t, r, n) {
180
+ function Jr(e, t, r, n) {
181
181
  e.style.setProperty(t, r, "");
182
182
  }
183
- function Zr(e) {
183
+ function Yr(e) {
184
184
  const t = {};
185
185
  return e.childNodes.forEach(
186
186
  /** @param {Element} node */
@@ -189,69 +189,69 @@ function Zr(e) {
189
189
  }
190
190
  ), t;
191
191
  }
192
- let ae;
193
- function se(e) {
194
- ae = e;
192
+ let se;
193
+ function oe(e) {
194
+ se = e;
195
195
  }
196
- function Qr() {
197
- if (!ae)
196
+ function Kr() {
197
+ if (!se)
198
198
  throw new Error("Function called outside component initialization");
199
- return ae;
199
+ return se;
200
200
  }
201
- function qr(e) {
202
- Qr().$$.on_mount.push(e);
201
+ function en(e) {
202
+ Kr().$$.on_mount.push(e);
203
203
  }
204
- const W = [], Ue = [];
204
+ const W = [], je = [];
205
205
  let Z = [];
206
- const bt = [], Jr = /* @__PURE__ */ Promise.resolve();
207
- let Fe = !1;
208
- function Yr() {
209
- Fe || (Fe = !0, Jr.then(L));
206
+ const _t = [], tn = /* @__PURE__ */ Promise.resolve();
207
+ let ke = !1;
208
+ function rn() {
209
+ ke || (ke = !0, tn.then(L));
210
210
  }
211
- function Ge(e) {
211
+ function Ve(e) {
212
212
  Z.push(e);
213
213
  }
214
- const Ce = /* @__PURE__ */ new Set();
214
+ const Ne = /* @__PURE__ */ new Set();
215
215
  let V = 0;
216
216
  function L() {
217
217
  if (V !== 0)
218
218
  return;
219
- const e = ae;
219
+ const e = se;
220
220
  do {
221
221
  try {
222
222
  for (; V < W.length; ) {
223
223
  const t = W[V];
224
- V++, se(t), Kr(t.$$);
224
+ V++, oe(t), nn(t.$$);
225
225
  }
226
226
  } catch (t) {
227
227
  throw W.length = 0, V = 0, t;
228
228
  }
229
- for (se(null), W.length = 0, V = 0; Ue.length; )
230
- Ue.pop()();
229
+ for (oe(null), W.length = 0, V = 0; je.length; )
230
+ je.pop()();
231
231
  for (let t = 0; t < Z.length; t += 1) {
232
232
  const r = Z[t];
233
- Ce.has(r) || (Ce.add(r), r());
233
+ Ne.has(r) || (Ne.add(r), r());
234
234
  }
235
235
  Z.length = 0;
236
236
  } while (W.length);
237
- for (; bt.length; )
238
- bt.pop()();
239
- Fe = !1, Ce.clear(), se(e);
237
+ for (; _t.length; )
238
+ _t.pop()();
239
+ ke = !1, Ne.clear(), oe(e);
240
240
  }
241
- function Kr(e) {
241
+ function nn(e) {
242
242
  if (e.fragment !== null) {
243
- e.update(), ee(e.before_update);
243
+ e.update(), K(e.before_update);
244
244
  const t = e.dirty;
245
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
245
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
246
246
  }
247
247
  }
248
- function en(e) {
248
+ function on(e) {
249
249
  const t = [], r = [];
250
250
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
251
251
  }
252
252
  const be = /* @__PURE__ */ new Set();
253
253
  let G;
254
- function tn() {
254
+ function sn() {
255
255
  G = {
256
256
  r: 0,
257
257
  c: [],
@@ -259,13 +259,13 @@ function tn() {
259
259
  // parent group
260
260
  };
261
261
  }
262
- function rn() {
263
- G.r || ee(G.c), G = G.p;
262
+ function an() {
263
+ G.r || K(G.c), G = G.p;
264
264
  }
265
265
  function xe(e, t) {
266
266
  e && e.i && (be.delete(e), e.i(t));
267
267
  }
268
- function je(e, t, r, n) {
268
+ function Xe(e, t, r, n) {
269
269
  if (e && e.o) {
270
270
  if (be.has(e))
271
271
  return;
@@ -278,23 +278,23 @@ function je(e, t, r, n) {
278
278
  function Ee(e) {
279
279
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
280
280
  }
281
- function nn(e, t, r) {
281
+ function un(e, t, r) {
282
282
  const { fragment: n, after_update: i } = e.$$;
283
- n && n.m(t, r), Ge(() => {
284
- const o = e.$$.on_mount.map(Vt).filter(rt);
285
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
286
- }), i.forEach(Ge);
283
+ n && n.m(t, r), Ve(() => {
284
+ const o = e.$$.on_mount.map(Zt).filter(at);
285
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
286
+ }), i.forEach(Ve);
287
287
  }
288
- function on(e, t) {
288
+ function ln(e, t) {
289
289
  const r = e.$$;
290
- r.fragment !== null && (en(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
290
+ r.fragment !== null && (on(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
291
291
  }
292
- function sn(e, t) {
293
- e.$$.dirty[0] === -1 && (W.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
292
+ function hn(e, t) {
293
+ e.$$.dirty[0] === -1 && (W.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
294
294
  }
295
- function an(e, t, r, n, i, o, s = null, a = [-1]) {
296
- const u = ae;
297
- se(e);
295
+ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
296
+ const u = se;
297
+ oe(e);
298
298
  const l = e.$$ = {
299
299
  fragment: null,
300
300
  ctx: [],
@@ -302,7 +302,7 @@ function an(e, t, r, n, i, o, s = null, a = [-1]) {
302
302
  props: o,
303
303
  update: C,
304
304
  not_equal: i,
305
- bound: dt(),
305
+ bound: yt(),
306
306
  // lifecycle
307
307
  on_mount: [],
308
308
  on_destroy: [],
@@ -311,28 +311,28 @@ function an(e, t, r, n, i, o, s = null, a = [-1]) {
311
311
  after_update: [],
312
312
  context: new Map(t.context || (u ? u.$$.context : [])),
313
313
  // everything else
314
- callbacks: dt(),
314
+ callbacks: yt(),
315
315
  dirty: a,
316
316
  skip_bound: !1,
317
317
  root: t.target || u.$$.root
318
318
  };
319
319
  s && s(l.root);
320
320
  let h = !1;
321
- if (l.ctx = r(e, t.props || {}, (c, f, ...y) => {
322
- const g = y.length ? y[0] : f;
323
- return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && sn(e, c)), f;
324
- }), l.update(), h = !0, ee(l.before_update), l.fragment = n(l.ctx), t.target) {
321
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
322
+ const g = y.length ? y[0] : c;
323
+ return l.ctx && i(l.ctx[f], l.ctx[f] = g) && (!l.skip_bound && l.bound[f] && l.bound[f](g), h && hn(e, f)), c;
324
+ }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
325
325
  if (t.hydrate) {
326
- const c = Wr(t.target);
327
- l.fragment && l.fragment.l(c), c.forEach(D);
326
+ const f = qr(t.target);
327
+ l.fragment && l.fragment.l(f), f.forEach($);
328
328
  } else
329
329
  l.fragment && l.fragment.c();
330
- t.intro && xe(e.$$.fragment), nn(e, t.target, t.anchor), L();
330
+ t.intro && xe(e.$$.fragment), un(e, t.target, t.anchor), L();
331
331
  }
332
- se(u);
332
+ oe(u);
333
333
  }
334
- let qt;
335
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
334
+ let er;
335
+ typeof HTMLElement == "function" && (er = class extends HTMLElement {
336
336
  constructor(t, r, n) {
337
337
  super();
338
338
  /** The Svelte component constructor */
@@ -369,14 +369,14 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
369
369
  }
370
370
  }
371
371
  connectedCallback() {
372
- return ct(this, null, function* () {
372
+ return bt(this, null, function* () {
373
373
  if (this.$$cn = !0, !this.$$c) {
374
374
  let t = function(o) {
375
375
  return () => {
376
376
  let s;
377
377
  return {
378
378
  c: function() {
379
- s = P("slot"), o !== "default" && T(s, "name", o);
379
+ s = P("slot"), o !== "default" && E(s, "name", o);
380
380
  },
381
381
  /**
382
382
  * @param {HTMLElement} target
@@ -386,14 +386,14 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
386
386
  F(l, s, h);
387
387
  },
388
388
  d: function(l) {
389
- l && D(s);
389
+ l && $(s);
390
390
  }
391
391
  };
392
392
  };
393
393
  };
394
394
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
395
395
  return;
396
- const r = {}, n = Zr(this);
396
+ const r = {}, n = Yr(this);
397
397
  for (const o of this.$$s)
398
398
  o in n && (r[o] = [t(o)]);
399
399
  for (const o of this.attributes) {
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
404
404
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
405
405
  this.$$c = new this.$$ctor({
406
406
  target: this.shadowRoot || this,
407
- props: ft(ht({}, this.$$d), {
407
+ props: mt(pt({}, this.$$d), {
408
408
  $$slots: r,
409
409
  $$scope: {
410
410
  ctx: []
@@ -482,8 +482,8 @@ function ye(e, t, r, n) {
482
482
  return t;
483
483
  }
484
484
  }
485
- function un(e, t, r, n, i, o) {
486
- let s = class extends qt {
485
+ function fn(e, t, r, n, i, o) {
486
+ let s = class extends er {
487
487
  constructor() {
488
488
  super(e, r, i), this.$$p_d = t;
489
489
  }
@@ -513,7 +513,7 @@ function un(e, t, r, n, i, o) {
513
513
  }), e.element = /** @type {any} */
514
514
  s, s;
515
515
  }
516
- class ln {
516
+ class dn {
517
517
  constructor() {
518
518
  /**
519
519
  * ### PRIVATE API
@@ -534,7 +534,7 @@ class ln {
534
534
  }
535
535
  /** @returns {void} */
536
536
  $destroy() {
537
- on(this, 1), this.$destroy = C;
537
+ ln(this, 1), this.$destroy = C;
538
538
  }
539
539
  /**
540
540
  * @template {Extract<keyof Events, string>} K
@@ -543,7 +543,7 @@ class ln {
543
543
  * @returns {() => void}
544
544
  */
545
545
  $on(t, r) {
546
- if (!rt(r))
546
+ if (!at(r))
547
547
  return C;
548
548
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
549
549
  return n.push(r), () => {
@@ -556,22 +556,22 @@ class ln {
556
556
  * @returns {void}
557
557
  */
558
558
  $set(t) {
559
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
559
+ this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
560
560
  }
561
561
  }
562
- const hn = "4";
563
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hn);
562
+ const pn = "4";
563
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
564
564
  const X = [];
565
- function fn(e, t) {
565
+ function mn(e, t) {
566
566
  return {
567
- subscribe: He(e, t).subscribe
567
+ subscribe: Be(e, t).subscribe
568
568
  };
569
569
  }
570
- function He(e, t = C) {
570
+ function Be(e, t = C) {
571
571
  let r;
572
572
  const n = /* @__PURE__ */ new Set();
573
573
  function i(a) {
574
- if (Xt(e, a) && (e = a, r)) {
574
+ if (Qt(e, a) && (e = a, r)) {
575
575
  const u = !X.length;
576
576
  for (const l of n)
577
577
  l[1](), X.push(l, e);
@@ -593,153 +593,139 @@ function He(e, t = C) {
593
593
  }
594
594
  return { set: i, update: o, subscribe: s };
595
595
  }
596
- function te(e, t, r) {
596
+ function ee(e, t, r) {
597
597
  const n = !Array.isArray(e), i = n ? [e] : e;
598
598
  if (!i.every(Boolean))
599
599
  throw new Error("derived() expects stores as input, got a falsy value");
600
600
  const o = t.length < 2;
601
- return fn(r, (s, a) => {
601
+ return mn(r, (s, a) => {
602
602
  let u = !1;
603
603
  const l = [];
604
- let h = 0, c = C;
605
- const f = () => {
604
+ let h = 0, f = C;
605
+ const c = () => {
606
606
  if (h)
607
607
  return;
608
- c();
608
+ f();
609
609
  const g = t(n ? l[0] : l, s, a);
610
- o ? s(g) : c = rt(g) ? g : C;
610
+ o ? s(g) : f = at(g) ? g : C;
611
611
  }, y = i.map(
612
- (g, p) => Wt(
612
+ (g, d) => qt(
613
613
  g,
614
614
  (b) => {
615
- l[p] = b, h &= ~(1 << p), u && f();
615
+ l[d] = b, h &= ~(1 << d), u && c();
616
616
  },
617
617
  () => {
618
- h |= 1 << p;
618
+ h |= 1 << d;
619
619
  }
620
620
  )
621
621
  );
622
- return u = !0, f(), function() {
623
- ee(y), c(), u = !1;
622
+ return u = !0, c(), function() {
623
+ K(y), f(), u = !1;
624
624
  };
625
625
  });
626
626
  }
627
- function cn(e) {
628
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
627
+ function bn(e) {
628
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
629
629
  }
630
- var dn = function(t) {
631
- return pn(t) && !mn(t);
630
+ var yn = function(t) {
631
+ return gn(t) && !vn(t);
632
632
  };
633
- function pn(e) {
633
+ function gn(e) {
634
634
  return !!e && typeof e == "object";
635
635
  }
636
- function mn(e) {
636
+ function vn(e) {
637
637
  var t = Object.prototype.toString.call(e);
638
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
638
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
639
639
  }
640
- var bn = typeof Symbol == "function" && Symbol.for, yn = bn ? Symbol.for("react.element") : 60103;
641
- function gn(e) {
642
- return e.$$typeof === yn;
640
+ var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
641
+ function En(e) {
642
+ return e.$$typeof === xn;
643
643
  }
644
- function _n(e) {
644
+ function Sn(e) {
645
645
  return Array.isArray(e) ? [] : {};
646
646
  }
647
- function ue(e, t) {
648
- return t.clone !== !1 && t.isMergeableObject(e) ? q(_n(e), e, t) : e;
647
+ function ae(e, t) {
648
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Sn(e), e, t) : e;
649
649
  }
650
- function vn(e, t, r) {
650
+ function Tn(e, t, r) {
651
651
  return e.concat(t).map(function(n) {
652
- return ue(n, r);
652
+ return ae(n, r);
653
653
  });
654
654
  }
655
- function xn(e, t) {
655
+ function wn(e, t) {
656
656
  if (!t.customMerge)
657
- return q;
657
+ return Q;
658
658
  var r = t.customMerge(e);
659
- return typeof r == "function" ? r : q;
659
+ return typeof r == "function" ? r : Q;
660
660
  }
661
- function En(e) {
661
+ function Hn(e) {
662
662
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
663
663
  return Object.propertyIsEnumerable.call(e, t);
664
664
  }) : [];
665
665
  }
666
- function yt(e) {
667
- return Object.keys(e).concat(En(e));
666
+ function xt(e) {
667
+ return Object.keys(e).concat(Hn(e));
668
668
  }
669
- function Jt(e, t) {
669
+ function tr(e, t) {
670
670
  try {
671
671
  return t in e;
672
672
  } catch (r) {
673
673
  return !1;
674
674
  }
675
675
  }
676
- function Tn(e, t) {
677
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
676
+ function Bn(e, t) {
677
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
678
678
  }
679
- function Sn(e, t, r) {
679
+ function An(e, t, r) {
680
680
  var n = {};
681
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
682
- n[i] = ue(e[i], r);
683
- }), yt(t).forEach(function(i) {
684
- Tn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
681
+ return r.isMergeableObject(e) && xt(e).forEach(function(i) {
682
+ n[i] = ae(e[i], r);
683
+ }), xt(t).forEach(function(i) {
684
+ Bn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
685
685
  }), n;
686
686
  }
687
- function q(e, t, r) {
688
- r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = ue;
687
+ function Q(e, t, r) {
688
+ r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = ae;
689
689
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
690
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : ue(t, r);
690
+ return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ae(t, r);
691
691
  }
692
- q.all = function(t, r) {
692
+ Q.all = function(t, r) {
693
693
  if (!Array.isArray(t))
694
694
  throw new Error("first argument should be an array");
695
695
  return t.reduce(function(n, i) {
696
- return q(n, i, r);
696
+ return Q(n, i, r);
697
697
  }, {});
698
698
  };
699
- var wn = q, Hn = wn;
700
- const Bn = /* @__PURE__ */ cn(Hn);
701
- /*! *****************************************************************************
702
- Copyright (c) Microsoft Corporation.
703
-
704
- Permission to use, copy, modify, and/or distribute this software for any
705
- purpose with or without fee is hereby granted.
706
-
707
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
708
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
709
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
710
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
711
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
712
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
713
- PERFORMANCE OF THIS SOFTWARE.
714
- ***************************************************************************** */
715
- var ke = function(e, t) {
716
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
699
+ var Pn = Q, On = Pn;
700
+ const In = /* @__PURE__ */ bn(On);
701
+ var We = function(e, t) {
702
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
717
703
  r.__proto__ = n;
718
704
  } || function(r, n) {
719
705
  for (var i in n)
720
706
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
721
- }, ke(e, t);
707
+ }, We(e, t);
722
708
  };
723
- function $(e, t) {
709
+ function Ae(e, t) {
724
710
  if (typeof t != "function" && t !== null)
725
711
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
726
- ke(e, t);
712
+ We(e, t);
727
713
  function r() {
728
714
  this.constructor = e;
729
715
  }
730
716
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
731
717
  }
732
- var E = function() {
733
- return E = Object.assign || function(t) {
718
+ var M = function() {
719
+ return M = Object.assign || function(t) {
734
720
  for (var r, n = 1, i = arguments.length; n < i; n++) {
735
721
  r = arguments[n];
736
722
  for (var o in r)
737
723
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
738
724
  }
739
725
  return t;
740
- }, E.apply(this, arguments);
726
+ }, M.apply(this, arguments);
741
727
  };
742
- function An(e, t) {
728
+ function Cn(e, t) {
743
729
  var r = {};
744
730
  for (var n in e)
745
731
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -748,78 +734,43 @@ function An(e, t) {
748
734
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
749
735
  return r;
750
736
  }
751
- function Ve(e) {
752
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
753
- if (r)
754
- return r.call(e);
755
- if (e && typeof e.length == "number")
756
- return {
757
- next: function() {
758
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
759
- }
760
- };
761
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
762
- }
763
- function Xe(e, t) {
764
- var r = typeof Symbol == "function" && e[Symbol.iterator];
765
- if (!r)
766
- return e;
767
- var n = r.call(e), i, o = [], s;
768
- try {
769
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
770
- o.push(i.value);
771
- } catch (a) {
772
- s = { error: a };
773
- } finally {
774
- try {
775
- i && !i.done && (r = n.return) && r.call(n);
776
- } finally {
777
- if (s)
778
- throw s.error;
779
- }
780
- }
781
- return o;
782
- }
783
- function Q(e, t, r) {
737
+ function Me(e, t, r) {
784
738
  if (r || arguments.length === 2)
785
739
  for (var n = 0, i = t.length, o; n < i; n++)
786
740
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
787
- return e.concat(o || t);
741
+ return e.concat(o || Array.prototype.slice.call(t));
788
742
  }
789
- function Le(e, t) {
790
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
743
+ function Re(e, t) {
744
+ var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : Mn;
791
745
  return i(e, {
792
746
  cache: r,
793
747
  serializer: n
794
748
  });
795
749
  }
796
- function Pn(e) {
750
+ function Ln(e) {
797
751
  return e == null || typeof e == "number" || typeof e == "boolean";
798
752
  }
799
- function Yt(e, t, r, n) {
800
- var i = Pn(n) ? n : r(n), o = t.get(i);
753
+ function Nn(e, t, r, n) {
754
+ var i = Ln(n) ? n : r(n), o = t.get(i);
801
755
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
802
756
  }
803
- function Kt(e, t, r) {
757
+ function rr(e, t, r) {
804
758
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
805
759
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
806
760
  }
807
- function it(e, t, r, n, i) {
761
+ function nr(e, t, r, n, i) {
808
762
  return r.bind(t, e, n, i);
809
763
  }
810
- function On(e, t) {
811
- var r = e.length === 1 ? Yt : Kt;
812
- return it(e, this, r, t.cache.create(), t.serializer);
764
+ function Mn(e, t) {
765
+ var r = e.length === 1 ? Nn : rr;
766
+ return nr(e, this, r, t.cache.create(), t.serializer);
813
767
  }
814
- function In(e, t) {
815
- return it(e, this, Kt, t.cache.create(), t.serializer);
768
+ function Rn(e, t) {
769
+ return nr(e, this, rr, t.cache.create(), t.serializer);
816
770
  }
817
- function Cn(e, t) {
818
- return it(e, this, Yt, t.cache.create(), t.serializer);
819
- }
820
- var Ln = function() {
771
+ var Dn = function() {
821
772
  return JSON.stringify(arguments);
822
- }, Nn = (
773
+ }, $n = (
823
774
  /** @class */
824
775
  function() {
825
776
  function e() {
@@ -831,62 +782,71 @@ var Ln = function() {
831
782
  this.cache[t] = r;
832
783
  }, e;
833
784
  }()
834
- ), Mn = {
785
+ ), Un = {
835
786
  create: function() {
836
- return new Nn();
787
+ return new $n();
837
788
  }
838
- }, Ne = {
839
- variadic: In,
840
- monadic: Cn
841
- }, v;
789
+ }, De = {
790
+ variadic: Rn
791
+ }, Se = function() {
792
+ return Se = Object.assign || function(t) {
793
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
794
+ r = arguments[n];
795
+ for (var o in r)
796
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
797
+ }
798
+ return t;
799
+ }, Se.apply(this, arguments);
800
+ };
801
+ var _;
842
802
  (function(e) {
843
803
  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";
844
- })(v || (v = {}));
845
- var H;
804
+ })(_ || (_ = {}));
805
+ var w;
846
806
  (function(e) {
847
807
  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";
848
- })(H || (H = {}));
849
- var J;
808
+ })(w || (w = {}));
809
+ var q;
850
810
  (function(e) {
851
811
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
852
- })(J || (J = {}));
853
- function gt(e) {
854
- return e.type === H.literal;
812
+ })(q || (q = {}));
813
+ function Et(e) {
814
+ return e.type === w.literal;
855
815
  }
856
- function Rn(e) {
857
- return e.type === H.argument;
816
+ function Fn(e) {
817
+ return e.type === w.argument;
858
818
  }
859
- function er(e) {
860
- return e.type === H.number;
819
+ function ir(e) {
820
+ return e.type === w.number;
861
821
  }
862
- function tr(e) {
863
- return e.type === H.date;
822
+ function or(e) {
823
+ return e.type === w.date;
864
824
  }
865
- function rr(e) {
866
- return e.type === H.time;
825
+ function sr(e) {
826
+ return e.type === w.time;
867
827
  }
868
- function nr(e) {
869
- return e.type === H.select;
828
+ function ar(e) {
829
+ return e.type === w.select;
870
830
  }
871
- function ir(e) {
872
- return e.type === H.plural;
831
+ function ur(e) {
832
+ return e.type === w.plural;
873
833
  }
874
- function Dn(e) {
875
- return e.type === H.pound;
834
+ function Gn(e) {
835
+ return e.type === w.pound;
876
836
  }
877
- function or(e) {
878
- return e.type === H.tag;
837
+ function lr(e) {
838
+ return e.type === w.tag;
879
839
  }
880
- function sr(e) {
881
- return !!(e && typeof e == "object" && e.type === J.number);
840
+ function hr(e) {
841
+ return !!(e && typeof e == "object" && e.type === q.number);
882
842
  }
883
- function We(e) {
884
- return !!(e && typeof e == "object" && e.type === J.dateTime);
843
+ function ze(e) {
844
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
885
845
  }
886
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
887
- function Un(e) {
846
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
847
+ function kn(e) {
888
848
  var t = {};
889
- return e.replace($n, function(r) {
849
+ return e.replace(jn, function(r) {
890
850
  var n = r.length;
891
851
  switch (r[0]) {
892
852
  case "G":
@@ -975,36 +935,46 @@ function Un(e) {
975
935
  return "";
976
936
  }), t;
977
937
  }
978
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
979
- function Gn(e) {
938
+ var H = function() {
939
+ return H = Object.assign || function(t) {
940
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
941
+ r = arguments[n];
942
+ for (var o in r)
943
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
944
+ }
945
+ return t;
946
+ }, H.apply(this, arguments);
947
+ };
948
+ var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
949
+ function Xn(e) {
980
950
  if (e.length === 0)
981
951
  throw new Error("Number skeleton cannot be empty");
982
- for (var t = e.split(Fn).filter(function(f) {
983
- return f.length > 0;
952
+ for (var t = e.split(Vn).filter(function(c) {
953
+ return c.length > 0;
984
954
  }), r = [], n = 0, i = t; n < i.length; n++) {
985
955
  var o = i[n], s = o.split("/");
986
956
  if (s.length === 0)
987
957
  throw new Error("Invalid number skeleton");
988
958
  for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
989
- var c = h[l];
990
- if (c.length === 0)
959
+ var f = h[l];
960
+ if (f.length === 0)
991
961
  throw new Error("Invalid number skeleton");
992
962
  }
993
963
  r.push({ stem: a, options: u });
994
964
  }
995
965
  return r;
996
966
  }
997
- function jn(e) {
967
+ function Wn(e) {
998
968
  return e.replace(/^(.*?)-/, "");
999
969
  }
1000
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1001
- function vt(e) {
970
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
971
+ function Tt(e) {
1002
972
  var t = {};
1003
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
973
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1004
974
  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)), "";
1005
975
  }), t;
1006
976
  }
1007
- function hr(e) {
977
+ function pr(e) {
1008
978
  switch (e) {
1009
979
  case "sign-auto":
1010
980
  return {
@@ -1044,7 +1014,7 @@ function hr(e) {
1044
1014
  };
1045
1015
  }
1046
1016
  }
1047
- function Vn(e) {
1017
+ function Zn(e) {
1048
1018
  var t;
1049
1019
  if (e[0] === "E" && e[1] === "E" ? (t = {
1050
1020
  notation: "engineering"
@@ -1052,17 +1022,17 @@ function Vn(e) {
1052
1022
  notation: "scientific"
1053
1023
  }, e = e.slice(1)), t) {
1054
1024
  var r = e.slice(0, 2);
1055
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1025
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1056
1026
  throw new Error("Malformed concise eng/scientific notation");
1057
1027
  t.minimumIntegerDigits = e.length;
1058
1028
  }
1059
1029
  return t;
1060
1030
  }
1061
- function xt(e) {
1062
- var t = {}, r = hr(e);
1031
+ function wt(e) {
1032
+ var t = {}, r = pr(e);
1063
1033
  return r || t;
1064
1034
  }
1065
- function Xn(e) {
1035
+ function Qn(e) {
1066
1036
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1067
1037
  var i = n[r];
1068
1038
  switch (i.stem) {
@@ -1086,7 +1056,7 @@ function Xn(e) {
1086
1056
  continue;
1087
1057
  case "measure-unit":
1088
1058
  case "unit":
1089
- t.style = "unit", t.unit = jn(i.options[0]);
1059
+ t.style = "unit", t.unit = Wn(i.options[0]);
1090
1060
  continue;
1091
1061
  case "compact-short":
1092
1062
  case "K":
@@ -1097,13 +1067,13 @@ function Xn(e) {
1097
1067
  t.notation = "compact", t.compactDisplay = "long";
1098
1068
  continue;
1099
1069
  case "scientific":
1100
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1101
- return E(E({}, u), xt(l));
1070
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1071
+ return H(H({}, u), wt(l));
1102
1072
  }, {}));
1103
1073
  continue;
1104
1074
  case "engineering":
1105
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1106
- return E(E({}, u), xt(l));
1075
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1076
+ return H(H({}, u), wt(l));
1107
1077
  }, {}));
1108
1078
  continue;
1109
1079
  case "notation-simple":
@@ -1148,11 +1118,11 @@ function Xn(e) {
1148
1118
  case "integer-width":
1149
1119
  if (i.options.length > 1)
1150
1120
  throw new RangeError("integer-width stems only accept a single optional option");
1151
- i.options[0].replace(kn, function(u, l, h, c, f, y) {
1121
+ i.options[0].replace(zn, function(u, l, h, f, c, y) {
1152
1122
  if (l)
1153
1123
  t.minimumIntegerDigits = h.length;
1154
1124
  else {
1155
- if (c && f)
1125
+ if (f && c)
1156
1126
  throw new Error("We currently do not support maximum integer digits");
1157
1127
  if (y)
1158
1128
  throw new Error("We currently do not support exact integer digits");
@@ -1161,28 +1131,28 @@ function Xn(e) {
1161
1131
  });
1162
1132
  continue;
1163
1133
  }
1164
- if (lr.test(i.stem)) {
1134
+ if (dr.test(i.stem)) {
1165
1135
  t.minimumIntegerDigits = i.stem.length;
1166
1136
  continue;
1167
1137
  }
1168
- if (_t.test(i.stem)) {
1138
+ if (St.test(i.stem)) {
1169
1139
  if (i.options.length > 1)
1170
1140
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1171
- i.stem.replace(_t, function(u, l, h, c, f, y) {
1172
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1141
+ i.stem.replace(St, function(u, l, h, f, c, y) {
1142
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1173
1143
  });
1174
1144
  var o = i.options[0];
1175
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), vt(o)));
1145
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Tt(o)));
1176
1146
  continue;
1177
1147
  }
1178
- if (ur.test(i.stem)) {
1179
- t = E(E({}, t), vt(i.stem));
1148
+ if (fr.test(i.stem)) {
1149
+ t = H(H({}, t), Tt(i.stem));
1180
1150
  continue;
1181
1151
  }
1182
- var s = hr(i.stem);
1183
- s && (t = E(E({}, t), s));
1184
- var a = Vn(i.stem);
1185
- a && (t = E(E({}, t), a));
1152
+ var s = pr(i.stem);
1153
+ s && (t = H(H({}, t), s));
1154
+ var a = Zn(i.stem);
1155
+ a && (t = H(H({}, t), a));
1186
1156
  }
1187
1157
  return t;
1188
1158
  }
@@ -2601,13 +2571,13 @@ var pe = {
2601
2571
  "h"
2602
2572
  ]
2603
2573
  };
2604
- function Wn(e, t) {
2574
+ function qn(e, t) {
2605
2575
  for (var r = "", n = 0; n < e.length; n++) {
2606
2576
  var i = e.charAt(n);
2607
2577
  if (i === "j") {
2608
2578
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2609
2579
  o++, n++;
2610
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = zn(t);
2580
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Jn(t);
2611
2581
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2612
2582
  r += u;
2613
2583
  for (; s-- > 0; )
@@ -2617,7 +2587,7 @@ function Wn(e, t) {
2617
2587
  }
2618
2588
  return r;
2619
2589
  }
2620
- function zn(e) {
2590
+ function Jn(e) {
2621
2591
  var t = e.hourCycle;
2622
2592
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2623
2593
  e.hourCycles && // @ts-ignore
@@ -2639,20 +2609,20 @@ function zn(e) {
2639
2609
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2640
2610
  return i[0];
2641
2611
  }
2642
- var Me, Zn = new RegExp("^".concat(ar.source, "*")), Qn = new RegExp("".concat(ar.source, "*$"));
2612
+ var $e, Yn = new RegExp("^".concat(cr.source, "*")), Kn = new RegExp("".concat(cr.source, "*$"));
2643
2613
  function x(e, t) {
2644
2614
  return { start: e, end: t };
2645
2615
  }
2646
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2616
+ var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
2647
2617
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2648
- }, ze = !0;
2618
+ }, Ze = !0;
2649
2619
  try {
2650
- var ii = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2651
- ze = ((Me = ii.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2620
+ var ui = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2621
+ Ze = (($e = ui.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2652
2622
  } catch (e) {
2653
- ze = !1;
2623
+ Ze = !1;
2654
2624
  }
2655
- var Et = qn ? (
2625
+ var Ht = ei ? (
2656
2626
  // Native
2657
2627
  function(t, r, n) {
2658
2628
  return t.startsWith(r, n);
@@ -2662,7 +2632,7 @@ var Et = qn ? (
2662
2632
  function(t, r, n) {
2663
2633
  return t.slice(n, n + r.length) === r;
2664
2634
  }
2665
- ), Ze = Jn ? String.fromCodePoint : (
2635
+ ), Qe = ti ? String.fromCodePoint : (
2666
2636
  // IE11
2667
2637
  function() {
2668
2638
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2674,9 +2644,9 @@ var Et = qn ? (
2674
2644
  }
2675
2645
  return n;
2676
2646
  }
2677
- ), Tt = (
2647
+ ), Bt = (
2678
2648
  // native
2679
- Yn ? Object.fromEntries : (
2649
+ ri ? Object.fromEntries : (
2680
2650
  // Ponyfill
2681
2651
  function(t) {
2682
2652
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2686,7 +2656,7 @@ var Et = qn ? (
2686
2656
  return r;
2687
2657
  }
2688
2658
  )
2689
- ), fr = Kn ? (
2659
+ ), mr = ni ? (
2690
2660
  // Native
2691
2661
  function(t, r) {
2692
2662
  return t.codePointAt(r);
@@ -2700,7 +2670,7 @@ var Et = qn ? (
2700
2670
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2701
2671
  }
2702
2672
  }
2703
- ), oi = ei ? (
2673
+ ), li = ii ? (
2704
2674
  // Native
2705
2675
  function(t) {
2706
2676
  return t.trimStart();
@@ -2708,9 +2678,9 @@ var Et = qn ? (
2708
2678
  ) : (
2709
2679
  // Ponyfill
2710
2680
  function(t) {
2711
- return t.replace(Zn, "");
2681
+ return t.replace(Yn, "");
2712
2682
  }
2713
- ), si = ti ? (
2683
+ ), hi = oi ? (
2714
2684
  // Native
2715
2685
  function(t) {
2716
2686
  return t.trimEnd();
@@ -2718,32 +2688,32 @@ var Et = qn ? (
2718
2688
  ) : (
2719
2689
  // Ponyfill
2720
2690
  function(t) {
2721
- return t.replace(Qn, "");
2691
+ return t.replace(Kn, "");
2722
2692
  }
2723
2693
  );
2724
- function cr(e, t) {
2694
+ function br(e, t) {
2725
2695
  return new RegExp(e, t);
2726
2696
  }
2727
- var Qe;
2728
- if (ze) {
2729
- var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2730
- Qe = function(t, r) {
2697
+ var qe;
2698
+ if (Ze) {
2699
+ var At = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2700
+ qe = function(t, r) {
2731
2701
  var n;
2732
- St.lastIndex = r;
2733
- var i = St.exec(t);
2702
+ At.lastIndex = r;
2703
+ var i = At.exec(t);
2734
2704
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2735
2705
  };
2736
2706
  } else
2737
- Qe = function(t, r) {
2707
+ qe = function(t, r) {
2738
2708
  for (var n = []; ; ) {
2739
- var i = fr(t, r);
2740
- if (i === void 0 || dr(i) || hi(i))
2709
+ var i = mr(t, r);
2710
+ if (i === void 0 || yr(i) || pi(i))
2741
2711
  break;
2742
2712
  n.push(i), r += i >= 65536 ? 2 : 1;
2743
2713
  }
2744
- return Ze.apply(void 0, n);
2714
+ return Qe.apply(void 0, n);
2745
2715
  };
2746
- var ai = (
2716
+ var ci = (
2747
2717
  /** @class */
2748
2718
  function() {
2749
2719
  function e(t, r) {
@@ -2767,14 +2737,14 @@ var ai = (
2767
2737
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2768
2738
  var a = this.clonePosition();
2769
2739
  this.bump(), i.push({
2770
- type: H.pound,
2740
+ type: w.pound,
2771
2741
  location: x(a, this.clonePosition())
2772
2742
  });
2773
2743
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2774
2744
  if (n)
2775
2745
  break;
2776
- return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2777
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2746
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2747
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2778
2748
  var s = this.parseTag(t, r);
2779
2749
  if (s.err)
2780
2750
  return s;
@@ -2795,7 +2765,7 @@ var ai = (
2795
2765
  if (this.bumpSpace(), this.bumpIf("/>"))
2796
2766
  return {
2797
2767
  val: {
2798
- type: H.literal,
2768
+ type: w.literal,
2799
2769
  value: "<".concat(i, "/>"),
2800
2770
  location: x(n, this.clonePosition())
2801
2771
  },
@@ -2807,25 +2777,25 @@ var ai = (
2807
2777
  return o;
2808
2778
  var s = o.val, a = this.clonePosition();
2809
2779
  if (this.bumpIf("</")) {
2810
- if (this.isEOF() || !qe(this.char()))
2811
- return this.error(v.INVALID_TAG, x(a, this.clonePosition()));
2780
+ if (this.isEOF() || !Je(this.char()))
2781
+ return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
2812
2782
  var u = this.clonePosition(), l = this.parseTagName();
2813
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2783
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2814
2784
  val: {
2815
- type: H.tag,
2785
+ type: w.tag,
2816
2786
  value: i,
2817
2787
  children: s,
2818
2788
  location: x(n, this.clonePosition())
2819
2789
  },
2820
2790
  err: null
2821
- } : this.error(v.INVALID_TAG, x(a, this.clonePosition())));
2791
+ } : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
2822
2792
  } else
2823
- return this.error(v.UNCLOSED_TAG, x(n, this.clonePosition()));
2793
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
2824
2794
  } else
2825
- return this.error(v.INVALID_TAG, x(n, this.clonePosition()));
2795
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
2826
2796
  }, e.prototype.parseTagName = function() {
2827
2797
  var t = this.offset();
2828
- for (this.bump(); !this.isEOF() && li(this.char()); )
2798
+ for (this.bump(); !this.isEOF() && di(this.char()); )
2829
2799
  this.bump();
2830
2800
  return this.message.slice(t, this.offset());
2831
2801
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2849,12 +2819,12 @@ var ai = (
2849
2819
  }
2850
2820
  var u = x(n, this.clonePosition());
2851
2821
  return {
2852
- val: { type: H.literal, value: i, location: u },
2822
+ val: { type: w.literal, value: i, location: u },
2853
2823
  err: null
2854
2824
  };
2855
2825
  }, e.prototype.tryParseLeftAngleBracket = function() {
2856
2826
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2857
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2827
+ !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
2858
2828
  }, e.prototype.tryParseQuote = function(t) {
2859
2829
  if (this.isEOF() || this.char() !== 39)
2860
2830
  return null;
@@ -2888,28 +2858,28 @@ var ai = (
2888
2858
  r.push(n);
2889
2859
  this.bump();
2890
2860
  }
2891
- return Ze.apply(void 0, r);
2861
+ return Qe.apply(void 0, r);
2892
2862
  }, e.prototype.tryParseUnquoted = function(t, r) {
2893
2863
  if (this.isEOF())
2894
2864
  return null;
2895
2865
  var n = this.char();
2896
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2866
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2897
2867
  }, e.prototype.parseArgument = function(t, r) {
2898
2868
  var n = this.clonePosition();
2899
2869
  if (this.bump(), this.bumpSpace(), this.isEOF())
2900
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2870
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2901
2871
  if (this.char() === 125)
2902
- return this.bump(), this.error(v.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2872
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2903
2873
  var i = this.parseIdentifierIfPossible().value;
2904
2874
  if (!i)
2905
- return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2875
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2906
2876
  if (this.bumpSpace(), this.isEOF())
2907
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2877
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2908
2878
  switch (this.char()) {
2909
2879
  case 125:
2910
2880
  return this.bump(), {
2911
2881
  val: {
2912
- type: H.argument,
2882
+ type: w.argument,
2913
2883
  // value does not include the opening and closing braces.
2914
2884
  value: i,
2915
2885
  location: x(n, this.clonePosition())
@@ -2917,12 +2887,12 @@ var ai = (
2917
2887
  err: null
2918
2888
  };
2919
2889
  case 44:
2920
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2890
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2921
2891
  default:
2922
- return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2892
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2923
2893
  }
2924
2894
  }, e.prototype.parseIdentifierIfPossible = function() {
2925
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2895
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2926
2896
  this.bumpTo(i);
2927
2897
  var o = this.clonePosition(), s = x(t, o);
2928
2898
  return { value: n, location: s };
@@ -2930,7 +2900,7 @@ var ai = (
2930
2900
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2931
2901
  switch (a) {
2932
2902
  case "":
2933
- return this.error(v.EXPECT_ARGUMENT_TYPE, x(s, u));
2903
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, u));
2934
2904
  case "number":
2935
2905
  case "date":
2936
2906
  case "time": {
@@ -2938,49 +2908,49 @@ var ai = (
2938
2908
  var l = null;
2939
2909
  if (this.bumpIf(",")) {
2940
2910
  this.bumpSpace();
2941
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2942
- if (c.err)
2943
- return c;
2944
- var f = si(c.val);
2945
- if (f.length === 0)
2946
- return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2911
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2912
+ if (f.err)
2913
+ return f;
2914
+ var c = hi(f.val);
2915
+ if (c.length === 0)
2916
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2947
2917
  var y = x(h, this.clonePosition());
2948
- l = { style: f, styleLocation: y };
2918
+ l = { style: c, styleLocation: y };
2949
2919
  }
2950
2920
  var g = this.tryParseArgumentClose(i);
2951
2921
  if (g.err)
2952
2922
  return g;
2953
- var p = x(i, this.clonePosition());
2954
- if (l && Et(l == null ? void 0 : l.style, "::", 0)) {
2955
- var b = oi(l.style.slice(2));
2923
+ var d = x(i, this.clonePosition());
2924
+ if (l && Ht(l == null ? void 0 : l.style, "::", 0)) {
2925
+ var b = li(l.style.slice(2));
2956
2926
  if (a === "number") {
2957
- var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
2958
- return c.err ? c : {
2959
- val: { type: H.number, value: n, location: p, style: c.val },
2927
+ var f = this.parseNumberSkeletonFromString(b, l.styleLocation);
2928
+ return f.err ? f : {
2929
+ val: { type: w.number, value: n, location: d, style: f.val },
2960
2930
  err: null
2961
2931
  };
2962
2932
  } else {
2963
2933
  if (b.length === 0)
2964
- return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
2965
- var _ = b;
2966
- this.locale && (_ = Wn(b, this.locale));
2967
- var f = {
2968
- type: J.dateTime,
2969
- pattern: _,
2934
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, d);
2935
+ var v = b;
2936
+ this.locale && (v = qn(b, this.locale));
2937
+ var c = {
2938
+ type: q.dateTime,
2939
+ pattern: v,
2970
2940
  location: l.styleLocation,
2971
- parsedOptions: this.shouldParseSkeletons ? Un(_) : {}
2972
- }, d = a === "date" ? H.date : H.time;
2941
+ parsedOptions: this.shouldParseSkeletons ? kn(v) : {}
2942
+ }, p = a === "date" ? w.date : w.time;
2973
2943
  return {
2974
- val: { type: d, value: n, location: p, style: f },
2944
+ val: { type: p, value: n, location: d, style: c },
2975
2945
  err: null
2976
2946
  };
2977
2947
  }
2978
2948
  }
2979
2949
  return {
2980
2950
  val: {
2981
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2951
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2982
2952
  value: n,
2983
- location: p,
2953
+ location: d,
2984
2954
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2985
2955
  },
2986
2956
  err: null
@@ -2991,50 +2961,50 @@ var ai = (
2991
2961
  case "select": {
2992
2962
  var S = this.clonePosition();
2993
2963
  if (this.bumpSpace(), !this.bumpIf(","))
2994
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(S, E({}, S)));
2964
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(S, Se({}, S)));
2995
2965
  this.bumpSpace();
2996
- var w = this.parseIdentifierIfPossible(), A = 0;
2997
- if (a !== "select" && w.value === "offset") {
2966
+ var T = this.parseIdentifierIfPossible(), A = 0;
2967
+ if (a !== "select" && T.value === "offset") {
2998
2968
  if (!this.bumpIf(":"))
2999
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2969
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3000
2970
  this.bumpSpace();
3001
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3002
- if (c.err)
3003
- return c;
3004
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2971
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2972
+ if (f.err)
2973
+ return f;
2974
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), A = f.val;
3005
2975
  }
3006
- var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
2976
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, T);
3007
2977
  if (k.err)
3008
2978
  return k;
3009
2979
  var g = this.tryParseArgumentClose(i);
3010
2980
  if (g.err)
3011
2981
  return g;
3012
- var fe = x(i, this.clonePosition());
2982
+ var ce = x(i, this.clonePosition());
3013
2983
  return a === "select" ? {
3014
2984
  val: {
3015
- type: H.select,
2985
+ type: w.select,
3016
2986
  value: n,
3017
- options: Tt(k.val),
3018
- location: fe
2987
+ options: Bt(k.val),
2988
+ location: ce
3019
2989
  },
3020
2990
  err: null
3021
2991
  } : {
3022
2992
  val: {
3023
- type: H.plural,
2993
+ type: w.plural,
3024
2994
  value: n,
3025
- options: Tt(k.val),
2995
+ options: Bt(k.val),
3026
2996
  offset: A,
3027
2997
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3028
- location: fe
2998
+ location: ce
3029
2999
  },
3030
3000
  err: null
3031
3001
  };
3032
3002
  }
3033
3003
  default:
3034
- return this.error(v.INVALID_ARGUMENT_TYPE, x(s, u));
3004
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(s, u));
3035
3005
  }
3036
3006
  }, e.prototype.tryParseArgumentClose = function(t) {
3037
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3007
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3038
3008
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3039
3009
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3040
3010
  var n = this.char();
@@ -3043,7 +3013,7 @@ var ai = (
3043
3013
  this.bump();
3044
3014
  var i = this.clonePosition();
3045
3015
  if (!this.bumpUntil("'"))
3046
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3016
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3047
3017
  this.bump();
3048
3018
  break;
3049
3019
  }
@@ -3073,43 +3043,43 @@ var ai = (
3073
3043
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3074
3044
  var n = [];
3075
3045
  try {
3076
- n = Gn(t);
3046
+ n = Xn(t);
3077
3047
  } catch (i) {
3078
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3048
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3079
3049
  }
3080
3050
  return {
3081
3051
  val: {
3082
- type: J.number,
3052
+ type: q.number,
3083
3053
  tokens: n,
3084
3054
  location: r,
3085
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3055
+ parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3086
3056
  },
3087
3057
  err: null
3088
3058
  };
3089
3059
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3090
3060
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3091
3061
  if (l.length === 0) {
3092
- var c = this.clonePosition();
3062
+ var f = this.clonePosition();
3093
3063
  if (r !== "select" && this.bumpIf("=")) {
3094
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3095
- if (f.err)
3096
- return f;
3097
- h = x(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3064
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3065
+ if (c.err)
3066
+ return c;
3067
+ h = x(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3098
3068
  } else
3099
3069
  break;
3100
3070
  }
3101
3071
  if (u.has(l))
3102
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3072
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3103
3073
  l === "other" && (s = !0), this.bumpSpace();
3104
3074
  var y = this.clonePosition();
3105
3075
  if (!this.bumpIf("{"))
3106
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3076
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3107
3077
  var g = this.parseMessage(t + 1, r, n);
3108
3078
  if (g.err)
3109
3079
  return g;
3110
- var p = this.tryParseArgumentClose(y);
3111
- if (p.err)
3112
- return p;
3080
+ var d = this.tryParseArgumentClose(y);
3081
+ if (d.err)
3082
+ return d;
3113
3083
  a.push([
3114
3084
  l,
3115
3085
  {
@@ -3118,7 +3088,7 @@ var ai = (
3118
3088
  }
3119
3089
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3120
3090
  }
3121
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3091
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3122
3092
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3123
3093
  var n = 1, i = this.clonePosition();
3124
3094
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3130,7 +3100,7 @@ var ai = (
3130
3100
  break;
3131
3101
  }
3132
3102
  var u = x(i, this.clonePosition());
3133
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3103
+ return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3134
3104
  }, e.prototype.offset = function() {
3135
3105
  return this.position.offset;
3136
3106
  }, e.prototype.isEOF = function() {
@@ -3145,7 +3115,7 @@ var ai = (
3145
3115
  var t = this.position.offset;
3146
3116
  if (t >= this.message.length)
3147
3117
  throw Error("out of bound");
3148
- var r = fr(this.message, t);
3118
+ var r = mr(this.message, t);
3149
3119
  if (r === void 0)
3150
3120
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3151
3121
  return r;
@@ -3164,7 +3134,7 @@ var ai = (
3164
3134
  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);
3165
3135
  }
3166
3136
  }, e.prototype.bumpIf = function(t) {
3167
- if (Et(this.message, t, this.offset())) {
3137
+ if (Ht(this.message, t, this.offset())) {
3168
3138
  for (var r = 0; r < t.length; r++)
3169
3139
  this.bump();
3170
3140
  return !0;
@@ -3186,7 +3156,7 @@ var ai = (
3186
3156
  break;
3187
3157
  }
3188
3158
  }, e.prototype.bumpSpace = function() {
3189
- for (; !this.isEOF() && dr(this.char()); )
3159
+ for (; !this.isEOF() && yr(this.char()); )
3190
3160
  this.bump();
3191
3161
  }, e.prototype.peek = function() {
3192
3162
  if (this.isEOF())
@@ -3196,47 +3166,47 @@ var ai = (
3196
3166
  }, e;
3197
3167
  }()
3198
3168
  );
3199
- function qe(e) {
3169
+ function Je(e) {
3200
3170
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3201
3171
  }
3202
- function ui(e) {
3203
- return qe(e) || e === 47;
3172
+ function fi(e) {
3173
+ return Je(e) || e === 47;
3204
3174
  }
3205
- function li(e) {
3175
+ function di(e) {
3206
3176
  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;
3207
3177
  }
3208
- function dr(e) {
3178
+ function yr(e) {
3209
3179
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3210
3180
  }
3211
- function hi(e) {
3181
+ function pi(e) {
3212
3182
  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;
3213
3183
  }
3214
- function Je(e) {
3184
+ function Ye(e) {
3215
3185
  e.forEach(function(t) {
3216
- if (delete t.location, nr(t) || ir(t))
3186
+ if (delete t.location, ar(t) || ur(t))
3217
3187
  for (var r in t.options)
3218
- delete t.options[r].location, Je(t.options[r].value);
3188
+ delete t.options[r].location, Ye(t.options[r].value);
3219
3189
  else
3220
- er(t) && sr(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : or(t) && Je(t.children);
3190
+ ir(t) && hr(t.style) || (or(t) || sr(t)) && ze(t.style) ? delete t.style.location : lr(t) && Ye(t.children);
3221
3191
  });
3222
3192
  }
3223
- function fi(e, t) {
3224
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3225
- var r = new ai(e, t).parse();
3193
+ function mi(e, t) {
3194
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3195
+ var r = new ci(e, t).parse();
3226
3196
  if (r.err) {
3227
- var n = SyntaxError(v[r.err.kind]);
3197
+ var n = SyntaxError(_[r.err.kind]);
3228
3198
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3229
3199
  }
3230
- return t != null && t.captureLocation || Je(r.val), r.val;
3200
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3231
3201
  }
3232
- var Y;
3202
+ var J;
3233
3203
  (function(e) {
3234
3204
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3235
- })(Y || (Y = {}));
3236
- var Be = (
3205
+ })(J || (J = {}));
3206
+ var Pe = (
3237
3207
  /** @class */
3238
3208
  function(e) {
3239
- $(t, e);
3209
+ Ae(t, e);
3240
3210
  function t(r, n, i) {
3241
3211
  var o = e.call(this, r) || this;
3242
3212
  return o.code = n, o.originalMessage = i, o;
@@ -3245,48 +3215,48 @@ var Be = (
3245
3215
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3246
3216
  }, t;
3247
3217
  }(Error)
3248
- ), wt = (
3218
+ ), Pt = (
3249
3219
  /** @class */
3250
3220
  function(e) {
3251
- $(t, e);
3221
+ Ae(t, e);
3252
3222
  function t(r, n, i, o) {
3253
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3223
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3254
3224
  }
3255
3225
  return t;
3256
- }(Be)
3257
- ), ci = (
3226
+ }(Pe)
3227
+ ), bi = (
3258
3228
  /** @class */
3259
3229
  function(e) {
3260
- $(t, e);
3230
+ Ae(t, e);
3261
3231
  function t(r, n, i) {
3262
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3232
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3263
3233
  }
3264
3234
  return t;
3265
- }(Be)
3266
- ), di = (
3235
+ }(Pe)
3236
+ ), yi = (
3267
3237
  /** @class */
3268
3238
  function(e) {
3269
- $(t, e);
3239
+ Ae(t, e);
3270
3240
  function t(r, n) {
3271
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3241
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3272
3242
  }
3273
3243
  return t;
3274
- }(Be)
3244
+ }(Pe)
3275
3245
  ), I;
3276
3246
  (function(e) {
3277
3247
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3278
3248
  })(I || (I = {}));
3279
- function pi(e) {
3249
+ function gi(e) {
3280
3250
  return e.length < 2 ? e : e.reduce(function(t, r) {
3281
3251
  var n = t[t.length - 1];
3282
3252
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3283
3253
  }, []);
3284
3254
  }
3285
- function mi(e) {
3255
+ function vi(e) {
3286
3256
  return typeof e == "function";
3287
3257
  }
3288
3258
  function ge(e, t, r, n, i, o, s) {
3289
- if (e.length === 1 && gt(e[0]))
3259
+ if (e.length === 1 && Et(e[0]))
3290
3260
  return [
3291
3261
  {
3292
3262
  type: I.literal,
@@ -3295,105 +3265,105 @@ function ge(e, t, r, n, i, o, s) {
3295
3265
  ];
3296
3266
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3297
3267
  var h = l[u];
3298
- if (gt(h)) {
3268
+ if (Et(h)) {
3299
3269
  a.push({
3300
3270
  type: I.literal,
3301
3271
  value: h.value
3302
3272
  });
3303
3273
  continue;
3304
3274
  }
3305
- if (Dn(h)) {
3275
+ if (Gn(h)) {
3306
3276
  typeof o == "number" && a.push({
3307
3277
  type: I.literal,
3308
3278
  value: r.getNumberFormat(t).format(o)
3309
3279
  });
3310
3280
  continue;
3311
3281
  }
3312
- var c = h.value;
3313
- if (!(i && c in i))
3314
- throw new di(c, s);
3315
- var f = i[c];
3316
- if (Rn(h)) {
3317
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3318
- type: typeof f == "string" ? I.literal : I.object,
3319
- value: f
3282
+ var f = h.value;
3283
+ if (!(i && f in i))
3284
+ throw new yi(f, s);
3285
+ var c = i[f];
3286
+ if (Fn(h)) {
3287
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3288
+ type: typeof c == "string" ? I.literal : I.object,
3289
+ value: c
3320
3290
  });
3321
3291
  continue;
3322
3292
  }
3323
- if (tr(h)) {
3324
- var y = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3293
+ if (or(h)) {
3294
+ var y = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3325
3295
  a.push({
3326
3296
  type: I.literal,
3327
- value: r.getDateTimeFormat(t, y).format(f)
3297
+ value: r.getDateTimeFormat(t, y).format(c)
3328
3298
  });
3329
3299
  continue;
3330
3300
  }
3331
- if (rr(h)) {
3332
- var y = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3301
+ if (sr(h)) {
3302
+ var y = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3333
3303
  a.push({
3334
3304
  type: I.literal,
3335
- value: r.getDateTimeFormat(t, y).format(f)
3305
+ value: r.getDateTimeFormat(t, y).format(c)
3336
3306
  });
3337
3307
  continue;
3338
3308
  }
3339
- if (er(h)) {
3340
- var y = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3341
- y && y.scale && (f = f * (y.scale || 1)), a.push({
3309
+ if (ir(h)) {
3310
+ var y = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3311
+ y && y.scale && (c = c * (y.scale || 1)), a.push({
3342
3312
  type: I.literal,
3343
- value: r.getNumberFormat(t, y).format(f)
3313
+ value: r.getNumberFormat(t, y).format(c)
3344
3314
  });
3345
3315
  continue;
3346
3316
  }
3347
- if (or(h)) {
3348
- var g = h.children, p = h.value, b = i[p];
3349
- if (!mi(b))
3350
- throw new ci(p, "function", s);
3351
- var _ = ge(g, t, r, n, i, o), d = b(_.map(function(A) {
3317
+ if (lr(h)) {
3318
+ var g = h.children, d = h.value, b = i[d];
3319
+ if (!vi(b))
3320
+ throw new bi(d, "function", s);
3321
+ var v = ge(g, t, r, n, i, o), p = b(v.map(function(A) {
3352
3322
  return A.value;
3353
3323
  }));
3354
- Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(A) {
3324
+ Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(A) {
3355
3325
  return {
3356
3326
  type: typeof A == "string" ? I.literal : I.object,
3357
3327
  value: A
3358
3328
  };
3359
3329
  }));
3360
3330
  }
3361
- if (nr(h)) {
3362
- var S = h.options[f] || h.options.other;
3331
+ if (ar(h)) {
3332
+ var S = h.options[c] || h.options.other;
3363
3333
  if (!S)
3364
- throw new wt(h.value, f, Object.keys(h.options), s);
3334
+ throw new Pt(h.value, c, Object.keys(h.options), s);
3365
3335
  a.push.apply(a, ge(S.value, t, r, n, i));
3366
3336
  continue;
3367
3337
  }
3368
- if (ir(h)) {
3369
- var S = h.options["=".concat(f)];
3338
+ if (ur(h)) {
3339
+ var S = h.options["=".concat(c)];
3370
3340
  if (!S) {
3371
3341
  if (!Intl.PluralRules)
3372
- throw new Be(`Intl.PluralRules is not available in this environment.
3342
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3373
3343
  Try polyfilling it using "@formatjs/intl-pluralrules"
3374
- `, Y.MISSING_INTL_API, s);
3375
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3376
- S = h.options[w] || h.options.other;
3344
+ `, J.MISSING_INTL_API, s);
3345
+ var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3346
+ S = h.options[T] || h.options.other;
3377
3347
  }
3378
3348
  if (!S)
3379
- throw new wt(h.value, f, Object.keys(h.options), s);
3380
- a.push.apply(a, ge(S.value, t, r, n, i, f - (h.offset || 0)));
3349
+ throw new Pt(h.value, c, Object.keys(h.options), s);
3350
+ a.push.apply(a, ge(S.value, t, r, n, i, c - (h.offset || 0)));
3381
3351
  continue;
3382
3352
  }
3383
3353
  }
3384
- return pi(a);
3354
+ return gi(a);
3385
3355
  }
3386
- function bi(e, t) {
3387
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3388
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3356
+ function _i(e, t) {
3357
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3358
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3389
3359
  }, {})) : e;
3390
3360
  }
3391
- function yi(e, t) {
3361
+ function xi(e, t) {
3392
3362
  return t ? Object.keys(e).reduce(function(r, n) {
3393
- return r[n] = bi(e[n], t[n]), r;
3394
- }, E({}, e)) : e;
3363
+ return r[n] = _i(e[n], t[n]), r;
3364
+ }, M({}, e)) : e;
3395
3365
  }
3396
- function Re(e) {
3366
+ function Ue(e) {
3397
3367
  return {
3398
3368
  create: function() {
3399
3369
  return {
@@ -3407,39 +3377,39 @@ function Re(e) {
3407
3377
  }
3408
3378
  };
3409
3379
  }
3410
- function gi(e) {
3380
+ function Ei(e) {
3411
3381
  return e === void 0 && (e = {
3412
3382
  number: {},
3413
3383
  dateTime: {},
3414
3384
  pluralRules: {}
3415
3385
  }), {
3416
- getNumberFormat: Le(function() {
3386
+ getNumberFormat: Re(function() {
3417
3387
  for (var t, r = [], n = 0; n < arguments.length; n++)
3418
3388
  r[n] = arguments[n];
3419
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3389
+ return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3420
3390
  }, {
3421
- cache: Re(e.number),
3422
- strategy: Ne.variadic
3391
+ cache: Ue(e.number),
3392
+ strategy: De.variadic
3423
3393
  }),
3424
- getDateTimeFormat: Le(function() {
3394
+ getDateTimeFormat: Re(function() {
3425
3395
  for (var t, r = [], n = 0; n < arguments.length; n++)
3426
3396
  r[n] = arguments[n];
3427
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3397
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3428
3398
  }, {
3429
- cache: Re(e.dateTime),
3430
- strategy: Ne.variadic
3399
+ cache: Ue(e.dateTime),
3400
+ strategy: De.variadic
3431
3401
  }),
3432
- getPluralRules: Le(function() {
3402
+ getPluralRules: Re(function() {
3433
3403
  for (var t, r = [], n = 0; n < arguments.length; n++)
3434
3404
  r[n] = arguments[n];
3435
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3405
+ return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3436
3406
  }, {
3437
- cache: Re(e.pluralRules),
3438
- strategy: Ne.variadic
3407
+ cache: Ue(e.pluralRules),
3408
+ strategy: De.variadic
3439
3409
  })
3440
3410
  };
3441
3411
  }
3442
- var _i = (
3412
+ var Si = (
3443
3413
  /** @class */
3444
3414
  function() {
3445
3415
  function e(t, r, n, i) {
@@ -3453,8 +3423,8 @@ var _i = (
3453
3423
  var l = o.formatToParts(u);
3454
3424
  if (l.length === 1)
3455
3425
  return l[0].value;
3456
- var h = l.reduce(function(c, f) {
3457
- return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3426
+ var h = l.reduce(function(f, c) {
3427
+ return !f.length || c.type !== I.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3458
3428
  }, []);
3459
3429
  return h.length <= 1 ? h[0] || "" : h;
3460
3430
  }, this.formatToParts = function(u) {
@@ -3471,13 +3441,13 @@ var _i = (
3471
3441
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3472
3442
  var s = i || {};
3473
3443
  s.formatters;
3474
- var a = An(s, ["formatters"]);
3475
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3444
+ var a = Cn(s, ["formatters"]);
3445
+ this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3476
3446
  } else
3477
3447
  this.ast = t;
3478
3448
  if (!Array.isArray(this.ast))
3479
3449
  throw new TypeError("A message must be provided as a String or AST.");
3480
- this.formats = yi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3450
+ this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3481
3451
  }
3482
3452
  return Object.defineProperty(e, "defaultLocale", {
3483
3453
  get: function() {
@@ -3490,7 +3460,7 @@ var _i = (
3490
3460
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3491
3461
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3492
3462
  }
3493
- }, e.__parse = fi, e.formats = {
3463
+ }, e.__parse = mi, e.formats = {
3494
3464
  number: {
3495
3465
  integer: {
3496
3466
  maximumFractionDigits: 0
@@ -3551,7 +3521,7 @@ var _i = (
3551
3521
  }, e;
3552
3522
  }()
3553
3523
  );
3554
- function vi(e, t) {
3524
+ function Ti(e, t) {
3555
3525
  if (t == null)
3556
3526
  return;
3557
3527
  if (t in e)
@@ -3572,92 +3542,92 @@ function vi(e, t) {
3572
3542
  n = void 0;
3573
3543
  return n;
3574
3544
  }
3575
- const U = {}, xi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), pr = (e, t) => {
3545
+ const U = {}, wi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), gr = (e, t) => {
3576
3546
  if (t == null)
3577
3547
  return;
3578
3548
  if (t in U && e in U[t])
3579
3549
  return U[t][e];
3580
- const r = Ae(t);
3550
+ const r = Oe(t);
3581
3551
  for (let n = 0; n < r.length; n++) {
3582
- const i = r[n], o = Ti(i, e);
3552
+ const i = r[n], o = Bi(i, e);
3583
3553
  if (o)
3584
- return xi(e, t, o);
3554
+ return wi(e, t, o);
3585
3555
  }
3586
3556
  };
3587
- let ot;
3588
- const he = He({});
3589
- function Ei(e) {
3590
- return ot[e] || null;
3557
+ let lt;
3558
+ const le = Be({});
3559
+ function Hi(e) {
3560
+ return lt[e] || null;
3591
3561
  }
3592
- function mr(e) {
3593
- return e in ot;
3562
+ function vr(e) {
3563
+ return e in lt;
3594
3564
  }
3595
- function Ti(e, t) {
3596
- if (!mr(e))
3565
+ function Bi(e, t) {
3566
+ if (!vr(e))
3597
3567
  return null;
3598
- const r = Ei(e);
3599
- return vi(r, t);
3568
+ const r = Hi(e);
3569
+ return Ti(r, t);
3600
3570
  }
3601
- function Si(e) {
3571
+ function Ai(e) {
3602
3572
  if (e == null)
3603
3573
  return;
3604
- const t = Ae(e);
3574
+ const t = Oe(e);
3605
3575
  for (let r = 0; r < t.length; r++) {
3606
3576
  const n = t[r];
3607
- if (mr(n))
3577
+ if (vr(n))
3608
3578
  return n;
3609
3579
  }
3610
3580
  }
3611
- function br(e, ...t) {
3612
- delete U[e], he.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
3581
+ function _r(e, ...t) {
3582
+ delete U[e], le.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
3613
3583
  }
3614
- te(
3615
- [he],
3584
+ ee(
3585
+ [le],
3616
3586
  ([e]) => Object.keys(e)
3617
3587
  );
3618
- he.subscribe((e) => ot = e);
3619
- const _e = {};
3620
- function wi(e, t) {
3621
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3588
+ le.subscribe((e) => lt = e);
3589
+ const ve = {};
3590
+ function Pi(e, t) {
3591
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3622
3592
  }
3623
- function yr(e) {
3624
- return _e[e];
3593
+ function xr(e) {
3594
+ return ve[e];
3625
3595
  }
3626
- function Hi(e) {
3627
- return Ae(e).map((t) => {
3628
- const r = yr(t);
3596
+ function Oi(e) {
3597
+ return Oe(e).map((t) => {
3598
+ const r = xr(t);
3629
3599
  return [t, r ? [...r] : []];
3630
3600
  }).filter(([, t]) => t.length > 0);
3631
3601
  }
3632
- function Ye(e) {
3633
- return e == null ? !1 : Ae(e).some(
3602
+ function Ke(e) {
3603
+ return e == null ? !1 : Oe(e).some(
3634
3604
  (t) => {
3635
3605
  var r;
3636
- return (r = yr(t)) == null ? void 0 : r.size;
3606
+ return (r = xr(t)) == null ? void 0 : r.size;
3637
3607
  }
3638
3608
  );
3639
3609
  }
3640
- function Bi(e, t) {
3610
+ function Ii(e, t) {
3641
3611
  return Promise.all(
3642
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3643
- ).then((n) => br(e, ...n));
3644
- }
3645
- const oe = {};
3646
- function gr(e) {
3647
- if (!Ye(e))
3648
- return e in oe ? oe[e] : Promise.resolve();
3649
- const t = Hi(e);
3650
- return oe[e] = Promise.all(
3612
+ t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
3613
+ ).then((n) => _r(e, ...n));
3614
+ }
3615
+ const ie = {};
3616
+ function Er(e) {
3617
+ if (!Ke(e))
3618
+ return e in ie ? ie[e] : Promise.resolve();
3619
+ const t = Oi(e);
3620
+ return ie[e] = Promise.all(
3651
3621
  t.map(
3652
- ([r, n]) => Bi(r, n)
3622
+ ([r, n]) => Ii(r, n)
3653
3623
  )
3654
3624
  ).then(() => {
3655
- if (Ye(e))
3656
- return gr(e);
3657
- delete oe[e];
3658
- }), oe[e];
3625
+ if (Ke(e))
3626
+ return Er(e);
3627
+ delete ie[e];
3628
+ }), ie[e];
3659
3629
  }
3660
- const Ai = {
3630
+ const Ci = {
3661
3631
  number: {
3662
3632
  scientific: { notation: "scientific" },
3663
3633
  engineering: { notation: "engineering" },
@@ -3686,135 +3656,135 @@ const Ai = {
3686
3656
  timeZoneName: "short"
3687
3657
  }
3688
3658
  }
3689
- }, Pi = {
3659
+ }, Li = {
3690
3660
  fallbackLocale: null,
3691
3661
  loadingDelay: 200,
3692
- formats: Ai,
3662
+ formats: Ci,
3693
3663
  warnOnMissingMessages: !0,
3694
3664
  handleMissingMessage: void 0,
3695
3665
  ignoreTag: !0
3696
- }, Oi = Pi;
3697
- function K() {
3698
- return Oi;
3699
- }
3700
- const De = He(!1);
3701
- var Ii = Object.defineProperty, Ci = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
3702
- for (var r in t)
3703
- Ni.call(t, r) && Bt(e, r, t[r]);
3704
- if (Ht)
3705
- for (var r of Ht(t))
3706
- Mi.call(t, r) && Bt(e, r, t[r]);
3666
+ }, Ni = Li;
3667
+ function Y() {
3668
+ return Ni;
3669
+ }
3670
+ const Fe = Be(!1);
3671
+ var Mi = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
3672
+ for (var r in t || (t = {}))
3673
+ $i.call(t, r) && It(e, r, t[r]);
3674
+ if (Ot)
3675
+ for (var r of Ot(t))
3676
+ Ui.call(t, r) && It(e, r, t[r]);
3707
3677
  return e;
3708
- }, Di = (e, t) => Ci(e, Li(t));
3709
- let Ke;
3710
- const Te = He(null);
3711
- function At(e) {
3678
+ }, Gi = (e, t) => Ri(e, Di(t));
3679
+ let et;
3680
+ const Te = Be(null);
3681
+ function Ct(e) {
3712
3682
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3713
3683
  }
3714
- function Ae(e, t = K().fallbackLocale) {
3715
- const r = At(e);
3716
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3684
+ function Oe(e, t = Y().fallbackLocale) {
3685
+ const r = Ct(e);
3686
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3717
3687
  }
3718
3688
  function j() {
3719
- return Ke != null ? Ke : void 0;
3689
+ return et != null ? et : void 0;
3720
3690
  }
3721
3691
  Te.subscribe((e) => {
3722
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3692
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3723
3693
  });
3724
- const $i = (e) => {
3725
- if (e && Si(e) && Ye(e)) {
3726
- const { loadingDelay: t } = K();
3694
+ const ji = (e) => {
3695
+ if (e && Ai(e) && Ke(e)) {
3696
+ const { loadingDelay: t } = Y();
3727
3697
  let r;
3728
3698
  return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
3729
- () => De.set(!0),
3699
+ () => Fe.set(!0),
3730
3700
  t
3731
- ) : De.set(!0), gr(e).then(() => {
3701
+ ) : Fe.set(!0), Er(e).then(() => {
3732
3702
  Te.set(e);
3733
3703
  }).finally(() => {
3734
- clearTimeout(r), De.set(!1);
3704
+ clearTimeout(r), Fe.set(!1);
3735
3705
  });
3736
3706
  }
3737
3707
  return Te.set(e);
3738
- }, re = Di(Ri({}, Te), {
3739
- set: $i
3740
- }), Pe = (e) => {
3708
+ }, te = Gi(Fi({}, Te), {
3709
+ set: ji
3710
+ }), Ie = (e) => {
3741
3711
  const t = /* @__PURE__ */ Object.create(null);
3742
3712
  return (n) => {
3743
3713
  const i = JSON.stringify(n);
3744
3714
  return i in t ? t[i] : t[i] = e(n);
3745
3715
  };
3746
3716
  };
3747
- var Ui = Object.defineProperty, Se = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3717
+ var ki = Object.defineProperty, we = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3748
3718
  for (var r in t || (t = {}))
3749
- _r.call(t, r) && Pt(e, r, t[r]);
3750
- if (Se)
3751
- for (var r of Se(t))
3752
- vr.call(t, r) && Pt(e, r, t[r]);
3719
+ Sr.call(t, r) && Lt(e, r, t[r]);
3720
+ if (we)
3721
+ for (var r of we(t))
3722
+ Tr.call(t, r) && Lt(e, r, t[r]);
3753
3723
  return e;
3754
- }, ne = (e, t) => {
3724
+ }, re = (e, t) => {
3755
3725
  var r = {};
3756
3726
  for (var n in e)
3757
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3758
- if (e != null && Se)
3759
- for (var n of Se(e))
3760
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3727
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3728
+ if (e != null && we)
3729
+ for (var n of we(e))
3730
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
3761
3731
  return r;
3762
3732
  };
3763
- const le = (e, t) => {
3764
- const { formats: r } = K();
3733
+ const ue = (e, t) => {
3734
+ const { formats: r } = Y();
3765
3735
  if (e in r && t in r[e])
3766
3736
  return r[e][t];
3767
3737
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3768
- }, Fi = Pe(
3738
+ }, Vi = Ie(
3769
3739
  (e) => {
3770
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3740
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3771
3741
  if (r == null)
3772
3742
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3773
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
3743
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3774
3744
  }
3775
- ), Gi = Pe(
3745
+ ), Xi = Ie(
3776
3746
  (e) => {
3777
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3747
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3778
3748
  if (r == null)
3779
3749
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3780
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
3750
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3781
3751
  }
3782
- ), ji = Pe(
3752
+ ), Wi = Ie(
3783
3753
  (e) => {
3784
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3754
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3785
3755
  if (r == null)
3786
3756
  throw new Error(
3787
3757
  '[svelte-i18n] A "locale" must be set to format time values'
3788
3758
  );
3789
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
3759
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3790
3760
  }
3791
- ), ki = (e = {}) => {
3761
+ ), zi = (e = {}) => {
3792
3762
  var t = e, {
3793
3763
  locale: r = j()
3794
- } = t, n = ne(t, [
3764
+ } = t, n = re(t, [
3795
3765
  "locale"
3796
3766
  ]);
3797
- return Fi(st({ locale: r }, n));
3798
- }, Vi = (e = {}) => {
3767
+ return Vi(ht({ locale: r }, n));
3768
+ }, Zi = (e = {}) => {
3799
3769
  var t = e, {
3800
3770
  locale: r = j()
3801
- } = t, n = ne(t, [
3771
+ } = t, n = re(t, [
3802
3772
  "locale"
3803
3773
  ]);
3804
- return Gi(st({ locale: r }, n));
3805
- }, Xi = (e = {}) => {
3774
+ return Xi(ht({ locale: r }, n));
3775
+ }, Qi = (e = {}) => {
3806
3776
  var t = e, {
3807
3777
  locale: r = j()
3808
- } = t, n = ne(t, [
3778
+ } = t, n = re(t, [
3809
3779
  "locale"
3810
3780
  ]);
3811
- return ji(st({ locale: r }, n));
3812
- }, Wi = Pe(
3781
+ return Wi(ht({ locale: r }, n));
3782
+ }, qi = Ie(
3813
3783
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3814
- (e, t = j()) => new _i(e, t, K().formats, {
3815
- ignoreTag: K().ignoreTag
3784
+ (e, t = j()) => new Si(e, t, Y().formats, {
3785
+ ignoreTag: Y().ignoreTag
3816
3786
  })
3817
- ), zi = (e, t = {}) => {
3787
+ ), Ji = (e, t = {}) => {
3818
3788
  var r, n, i, o;
3819
3789
  let s = t;
3820
3790
  typeof e == "object" && (s = e, e = s.id);
@@ -3827,46 +3797,115 @@ const le = (e, t) => {
3827
3797
  throw new Error(
3828
3798
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3829
3799
  );
3830
- let h = pr(e, u);
3800
+ let h = gr(e, u);
3831
3801
  if (!h)
3832
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3802
+ h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3833
3803
  else if (typeof h != "string")
3834
3804
  return console.warn(
3835
3805
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3836
3806
  ), h;
3837
3807
  if (!a)
3838
3808
  return h;
3839
- let c = h;
3809
+ let f = h;
3840
3810
  try {
3841
- c = Wi(h, u).format(a);
3842
- } catch (f) {
3843
- f instanceof Error && console.warn(
3811
+ f = qi(h, u).format(a);
3812
+ } catch (c) {
3813
+ c instanceof Error && console.warn(
3844
3814
  `[svelte-i18n] Message "${e}" has syntax error:`,
3845
- f.message
3815
+ c.message
3846
3816
  );
3847
3817
  }
3848
- return c;
3849
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), qi = (e, t) => ki(t).format(e), Ji = (e, t = j()) => pr(e, t), Yi = te([re, he], () => zi);
3850
- te([re], () => Zi);
3851
- te([re], () => Qi);
3852
- te([re], () => qi);
3853
- te([re, he], () => Ji);
3854
- function Ot(e, t) {
3855
- br(e, t);
3856
- }
3857
- function Ki(e) {
3858
- re.set(e);
3859
- }
3860
- function R(e) {
3818
+ return f;
3819
+ }, Yi = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = j()) => gr(e, t), ro = ee([te, le], () => Ji);
3820
+ ee([te], () => Yi);
3821
+ ee([te], () => Ki);
3822
+ ee([te], () => eo);
3823
+ ee([te, le], () => to);
3824
+ function Nt(e, t) {
3825
+ _r(e, t);
3826
+ }
3827
+ function no(e) {
3828
+ te.set(e);
3829
+ }
3830
+ /*! *****************************************************************************
3831
+ Copyright (c) Microsoft Corporation.
3832
+
3833
+ Permission to use, copy, modify, and/or distribute this software for any
3834
+ purpose with or without fee is hereby granted.
3835
+
3836
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3837
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3838
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3839
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3840
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3841
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3842
+ PERFORMANCE OF THIS SOFTWARE.
3843
+ ***************************************************************************** */
3844
+ var tt = function(e, t) {
3845
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3846
+ r.__proto__ = n;
3847
+ } || function(r, n) {
3848
+ for (var i in n)
3849
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3850
+ }, tt(e, t);
3851
+ };
3852
+ function he(e, t) {
3853
+ if (typeof t != "function" && t !== null)
3854
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3855
+ tt(e, t);
3856
+ function r() {
3857
+ this.constructor = e;
3858
+ }
3859
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3860
+ }
3861
+ function rt(e) {
3862
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3863
+ if (r)
3864
+ return r.call(e);
3865
+ if (e && typeof e.length == "number")
3866
+ return {
3867
+ next: function() {
3868
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3869
+ }
3870
+ };
3871
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3872
+ }
3873
+ function nt(e, t) {
3874
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3875
+ if (!r)
3876
+ return e;
3877
+ var n = r.call(e), i, o = [], s;
3878
+ try {
3879
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3880
+ o.push(i.value);
3881
+ } catch (a) {
3882
+ s = { error: a };
3883
+ } finally {
3884
+ try {
3885
+ i && !i.done && (r = n.return) && r.call(n);
3886
+ } finally {
3887
+ if (s)
3888
+ throw s.error;
3889
+ }
3890
+ }
3891
+ return o;
3892
+ }
3893
+ function it(e, t, r) {
3894
+ if (arguments.length === 2)
3895
+ for (var n = 0, i = t.length, o; n < i; n++)
3896
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3897
+ return e.concat(o || t);
3898
+ }
3899
+ function D(e) {
3861
3900
  return typeof e == "function";
3862
3901
  }
3863
- function xr(e) {
3902
+ function wr(e) {
3864
3903
  var t = function(n) {
3865
3904
  Error.call(n), n.stack = new Error().stack;
3866
3905
  }, r = e(t);
3867
3906
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3868
3907
  }
3869
- var $e = xr(function(e) {
3908
+ var Ge = wr(function(e) {
3870
3909
  return function(r) {
3871
3910
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3872
3911
  ` + r.map(function(n, i) {
@@ -3875,13 +3914,13 @@ var $e = xr(function(e) {
3875
3914
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3876
3915
  };
3877
3916
  });
3878
- function et(e, t) {
3917
+ function ot(e, t) {
3879
3918
  if (e) {
3880
3919
  var r = e.indexOf(t);
3881
3920
  0 <= r && e.splice(r, 1);
3882
3921
  }
3883
3922
  }
3884
- var Oe = function() {
3923
+ var Ce = function() {
3885
3924
  function e(t) {
3886
3925
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3887
3926
  }
@@ -3893,12 +3932,12 @@ var Oe = function() {
3893
3932
  if (s)
3894
3933
  if (this._parentage = null, Array.isArray(s))
3895
3934
  try {
3896
- for (var a = Ve(s), u = a.next(); !u.done; u = a.next()) {
3935
+ for (var a = rt(s), u = a.next(); !u.done; u = a.next()) {
3897
3936
  var l = u.value;
3898
3937
  l.remove(this);
3899
3938
  }
3900
- } catch (p) {
3901
- t = { error: p };
3939
+ } catch (d) {
3940
+ t = { error: d };
3902
3941
  } finally {
3903
3942
  try {
3904
3943
  u && !u.done && (r = a.return) && r.call(a);
@@ -3910,29 +3949,29 @@ var Oe = function() {
3910
3949
  else
3911
3950
  s.remove(this);
3912
3951
  var h = this.initialTeardown;
3913
- if (R(h))
3952
+ if (D(h))
3914
3953
  try {
3915
3954
  h();
3916
- } catch (p) {
3917
- o = p instanceof $e ? p.errors : [p];
3955
+ } catch (d) {
3956
+ o = d instanceof Ge ? d.errors : [d];
3918
3957
  }
3919
- var c = this._finalizers;
3920
- if (c) {
3958
+ var f = this._finalizers;
3959
+ if (f) {
3921
3960
  this._finalizers = null;
3922
3961
  try {
3923
- for (var f = Ve(c), y = f.next(); !y.done; y = f.next()) {
3962
+ for (var c = rt(f), y = c.next(); !y.done; y = c.next()) {
3924
3963
  var g = y.value;
3925
3964
  try {
3926
- It(g);
3927
- } catch (p) {
3928
- o = o != null ? o : [], p instanceof $e ? o = Q(Q([], Xe(o)), Xe(p.errors)) : o.push(p);
3965
+ Mt(g);
3966
+ } catch (d) {
3967
+ o = o != null ? o : [], d instanceof Ge ? o = it(it([], nt(o)), nt(d.errors)) : o.push(d);
3929
3968
  }
3930
3969
  }
3931
- } catch (p) {
3932
- n = { error: p };
3970
+ } catch (d) {
3971
+ n = { error: d };
3933
3972
  } finally {
3934
3973
  try {
3935
- y && !y.done && (i = f.return) && i.call(f);
3974
+ y && !y.done && (i = c.return) && i.call(c);
3936
3975
  } finally {
3937
3976
  if (n)
3938
3977
  throw n.error;
@@ -3940,13 +3979,13 @@ var Oe = function() {
3940
3979
  }
3941
3980
  }
3942
3981
  if (o)
3943
- throw new $e(o);
3982
+ throw new Ge(o);
3944
3983
  }
3945
3984
  }, e.prototype.add = function(t) {
3946
3985
  var r;
3947
3986
  if (t && t !== this)
3948
3987
  if (this.closed)
3949
- It(t);
3988
+ Mt(t);
3950
3989
  else {
3951
3990
  if (t instanceof e) {
3952
3991
  if (t.closed || t._hasParent(this))
@@ -3963,56 +4002,52 @@ var Oe = function() {
3963
4002
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3964
4003
  }, e.prototype._removeParent = function(t) {
3965
4004
  var r = this._parentage;
3966
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
4005
+ r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
3967
4006
  }, e.prototype.remove = function(t) {
3968
4007
  var r = this._finalizers;
3969
- r && et(r, t), t instanceof e && t._removeParent(this);
4008
+ r && ot(r, t), t instanceof e && t._removeParent(this);
3970
4009
  }, e.EMPTY = function() {
3971
4010
  var t = new e();
3972
4011
  return t.closed = !0, t;
3973
4012
  }(), e;
3974
- }(), Er = Oe.EMPTY;
3975
- function Tr(e) {
3976
- return e instanceof Oe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
3977
- }
3978
- function It(e) {
3979
- R(e) ? e() : e.unsubscribe();
3980
- }
3981
- var eo = {
3982
- onUnhandledError: null,
3983
- onStoppedNotification: null,
3984
- Promise: void 0,
3985
- useDeprecatedSynchronousErrorHandling: !1,
3986
- useDeprecatedNextContext: !1
3987
- }, to = {
4013
+ }(), Hr = Ce.EMPTY;
4014
+ function Br(e) {
4015
+ return e instanceof Ce || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
4016
+ }
4017
+ function Mt(e) {
4018
+ D(e) ? e() : e.unsubscribe();
4019
+ }
4020
+ var io = {
4021
+ Promise: void 0
4022
+ }, oo = {
3988
4023
  setTimeout: function(e, t) {
3989
4024
  for (var r = [], n = 2; n < arguments.length; n++)
3990
4025
  r[n - 2] = arguments[n];
3991
- return setTimeout.apply(void 0, Q([e, t], Xe(r)));
4026
+ return setTimeout.apply(void 0, it([e, t], nt(r)));
3992
4027
  },
3993
4028
  clearTimeout: function(e) {
3994
4029
  return clearTimeout(e);
3995
4030
  },
3996
4031
  delegate: void 0
3997
4032
  };
3998
- function ro(e) {
3999
- to.setTimeout(function() {
4033
+ function so(e) {
4034
+ oo.setTimeout(function() {
4000
4035
  throw e;
4001
4036
  });
4002
4037
  }
4003
- function Ct() {
4038
+ function Rt() {
4004
4039
  }
4005
- function ve(e) {
4040
+ function _e(e) {
4006
4041
  e();
4007
4042
  }
4008
- var Sr = function(e) {
4009
- $(t, e);
4043
+ var Ar = function(e) {
4044
+ he(t, e);
4010
4045
  function t(r) {
4011
4046
  var n = e.call(this) || this;
4012
- return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = oo, n;
4047
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = lo, n;
4013
4048
  }
4014
4049
  return t.create = function(r, n, i) {
4015
- return new tt(r, n, i);
4050
+ return new st(r, n, i);
4016
4051
  }, t.prototype.next = function(r) {
4017
4052
  this.isStopped || this._next(r);
4018
4053
  }, t.prototype.error = function(r) {
@@ -4036,7 +4071,7 @@ var Sr = function(e) {
4036
4071
  this.unsubscribe();
4037
4072
  }
4038
4073
  }, t;
4039
- }(Oe), no = function() {
4074
+ }(Ce), ao = function() {
4040
4075
  function e(t) {
4041
4076
  this.partialObserver = t;
4042
4077
  }
@@ -4067,43 +4102,43 @@ var Sr = function(e) {
4067
4102
  me(r);
4068
4103
  }
4069
4104
  }, e;
4070
- }(), tt = function(e) {
4071
- $(t, e);
4105
+ }(), st = function(e) {
4106
+ he(t, e);
4072
4107
  function t(r, n, i) {
4073
4108
  var o = e.call(this) || this, s;
4074
- return R(r) || !r ? s = {
4109
+ return D(r) || !r ? s = {
4075
4110
  next: r != null ? r : void 0,
4076
4111
  error: n != null ? n : void 0,
4077
4112
  complete: i != null ? i : void 0
4078
- } : s = r, o.destination = new no(s), o;
4113
+ } : s = r, o.destination = new ao(s), o;
4079
4114
  }
4080
4115
  return t;
4081
- }(Sr);
4116
+ }(Ar);
4082
4117
  function me(e) {
4083
- ro(e);
4118
+ so(e);
4084
4119
  }
4085
- function io(e) {
4120
+ function uo(e) {
4086
4121
  throw e;
4087
4122
  }
4088
- var oo = {
4123
+ var lo = {
4089
4124
  closed: !0,
4090
- next: Ct,
4091
- error: io,
4092
- complete: Ct
4093
- }, so = function() {
4125
+ next: Rt,
4126
+ error: uo,
4127
+ complete: Rt
4128
+ }, ho = function() {
4094
4129
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4095
4130
  }();
4096
- function ao(e) {
4131
+ function co(e) {
4097
4132
  return e;
4098
4133
  }
4099
- function uo(e) {
4100
- return e.length === 0 ? ao : e.length === 1 ? e[0] : function(r) {
4134
+ function fo(e) {
4135
+ return e.length === 0 ? co : e.length === 1 ? e[0] : function(r) {
4101
4136
  return e.reduce(function(n, i) {
4102
4137
  return i(n);
4103
4138
  }, r);
4104
4139
  };
4105
4140
  }
4106
- var Lt = function() {
4141
+ var Dt = function() {
4107
4142
  function e(t) {
4108
4143
  t && (this._subscribe = t);
4109
4144
  }
@@ -4111,8 +4146,8 @@ var Lt = function() {
4111
4146
  var r = new e();
4112
4147
  return r.source = this, r.operator = t, r;
4113
4148
  }, e.prototype.subscribe = function(t, r, n) {
4114
- var i = this, o = ho(t) ? t : new tt(t, r, n);
4115
- return ve(function() {
4149
+ var i = this, o = mo(t) ? t : new st(t, r, n);
4150
+ return _e(function() {
4116
4151
  var s = i, a = s.operator, u = s.source;
4117
4152
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4118
4153
  }), o;
@@ -4124,8 +4159,8 @@ var Lt = function() {
4124
4159
  }
4125
4160
  }, e.prototype.forEach = function(t, r) {
4126
4161
  var n = this;
4127
- return r = Nt(r), new r(function(i, o) {
4128
- var s = new tt({
4162
+ return r = $t(r), new r(function(i, o) {
4163
+ var s = new st({
4129
4164
  next: function(a) {
4130
4165
  try {
4131
4166
  t(a);
@@ -4141,15 +4176,15 @@ var Lt = function() {
4141
4176
  }, e.prototype._subscribe = function(t) {
4142
4177
  var r;
4143
4178
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4144
- }, e.prototype[so] = function() {
4179
+ }, e.prototype[ho] = function() {
4145
4180
  return this;
4146
4181
  }, e.prototype.pipe = function() {
4147
4182
  for (var t = [], r = 0; r < arguments.length; r++)
4148
4183
  t[r] = arguments[r];
4149
- return uo(t)(this);
4184
+ return fo(t)(this);
4150
4185
  }, e.prototype.toPromise = function(t) {
4151
4186
  var r = this;
4152
- return t = Nt(t), new t(function(n, i) {
4187
+ return t = $t(t), new t(function(n, i) {
4153
4188
  var o;
4154
4189
  r.subscribe(function(s) {
4155
4190
  return o = s;
@@ -4163,40 +4198,40 @@ var Lt = function() {
4163
4198
  return new e(t);
4164
4199
  }, e;
4165
4200
  }();
4166
- function Nt(e) {
4201
+ function $t(e) {
4167
4202
  var t;
4168
- return (t = e != null ? e : eo.Promise) !== null && t !== void 0 ? t : Promise;
4203
+ return (t = e != null ? e : io.Promise) !== null && t !== void 0 ? t : Promise;
4169
4204
  }
4170
- function lo(e) {
4171
- return e && R(e.next) && R(e.error) && R(e.complete);
4205
+ function po(e) {
4206
+ return e && D(e.next) && D(e.error) && D(e.complete);
4172
4207
  }
4173
- function ho(e) {
4174
- return e && e instanceof Sr || lo(e) && Tr(e);
4208
+ function mo(e) {
4209
+ return e && e instanceof Ar || po(e) && Br(e);
4175
4210
  }
4176
- var fo = xr(function(e) {
4211
+ var bo = wr(function(e) {
4177
4212
  return function() {
4178
4213
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4179
4214
  };
4180
- }), wr = function(e) {
4181
- $(t, e);
4215
+ }), Pr = function(e) {
4216
+ he(t, e);
4182
4217
  function t() {
4183
4218
  var r = e.call(this) || this;
4184
4219
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4185
4220
  }
4186
4221
  return t.prototype.lift = function(r) {
4187
- var n = new Mt(this, this);
4222
+ var n = new Ut(this, this);
4188
4223
  return n.operator = r, n;
4189
4224
  }, t.prototype._throwIfClosed = function() {
4190
4225
  if (this.closed)
4191
- throw new fo();
4226
+ throw new bo();
4192
4227
  }, t.prototype.next = function(r) {
4193
4228
  var n = this;
4194
- ve(function() {
4229
+ _e(function() {
4195
4230
  var i, o;
4196
4231
  if (n._throwIfClosed(), !n.isStopped) {
4197
4232
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4198
4233
  try {
4199
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4234
+ for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4200
4235
  var u = a.value;
4201
4236
  u.next(r);
4202
4237
  }
@@ -4214,7 +4249,7 @@ var fo = xr(function(e) {
4214
4249
  });
4215
4250
  }, t.prototype.error = function(r) {
4216
4251
  var n = this;
4217
- ve(function() {
4252
+ _e(function() {
4218
4253
  if (n._throwIfClosed(), !n.isStopped) {
4219
4254
  n.hasError = n.isStopped = !0, n.thrownError = r;
4220
4255
  for (var i = n.observers; i.length; )
@@ -4223,7 +4258,7 @@ var fo = xr(function(e) {
4223
4258
  });
4224
4259
  }, t.prototype.complete = function() {
4225
4260
  var r = this;
4226
- ve(function() {
4261
+ _e(function() {
4227
4262
  if (r._throwIfClosed(), !r.isStopped) {
4228
4263
  r.isStopped = !0;
4229
4264
  for (var n = r.observers; n.length; )
@@ -4245,20 +4280,20 @@ var fo = xr(function(e) {
4245
4280
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4246
4281
  }, t.prototype._innerSubscribe = function(r) {
4247
4282
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4248
- return o || s ? Er : (this.currentObservers = null, a.push(r), new Oe(function() {
4249
- n.currentObservers = null, et(a, r);
4283
+ return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ce(function() {
4284
+ n.currentObservers = null, ot(a, r);
4250
4285
  }));
4251
4286
  }, t.prototype._checkFinalizedStatuses = function(r) {
4252
4287
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4253
4288
  i ? r.error(o) : s && r.complete();
4254
4289
  }, t.prototype.asObservable = function() {
4255
- var r = new Lt();
4290
+ var r = new Dt();
4256
4291
  return r.source = this, r;
4257
4292
  }, t.create = function(r, n) {
4258
- return new Mt(r, n);
4293
+ return new Ut(r, n);
4259
4294
  }, t;
4260
- }(Lt), Mt = function(e) {
4261
- $(t, e);
4295
+ }(Dt), Ut = function(e) {
4296
+ he(t, e);
4262
4297
  function t(r, n) {
4263
4298
  var i = e.call(this) || this;
4264
4299
  return i.destination = r, i.source = n, i;
@@ -4274,17 +4309,17 @@ var fo = xr(function(e) {
4274
4309
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4275
4310
  }, t.prototype._subscribe = function(r) {
4276
4311
  var n, i;
4277
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Er;
4312
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
4278
4313
  }, t;
4279
- }(wr), Hr = {
4314
+ }(Pr), Or = {
4280
4315
  now: function() {
4281
- return (Hr.delegate || Date).now();
4316
+ return (Or.delegate || Date).now();
4282
4317
  },
4283
4318
  delegate: void 0
4284
- }, co = function(e) {
4285
- $(t, e);
4319
+ }, yo = function(e) {
4320
+ he(t, e);
4286
4321
  function t(r, n, i) {
4287
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
4322
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
4288
4323
  var o = e.call(this) || this;
4289
4324
  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;
4290
4325
  }
@@ -4304,16 +4339,16 @@ var fo = xr(function(e) {
4304
4339
  l && o.splice(0, l + 1);
4305
4340
  }
4306
4341
  }, t;
4307
- }(wr);
4308
- const Rt = [], Dt = {}, po = (e, t = 0) => {
4309
- if (Rt.indexOf(e) == -1) {
4310
- const r = new co(t);
4311
- Dt[e] = r, Rt.push(e);
4342
+ }(Pr);
4343
+ const Ft = [], Gt = {}, go = (e, t = 0) => {
4344
+ if (Ft.indexOf(e) == -1) {
4345
+ const r = new yo(t);
4346
+ Gt[e] = r, Ft.push(e);
4312
4347
  }
4313
- return Dt[e];
4348
+ return Gt[e];
4314
4349
  };
4315
- window.emWidgets = { topic: po };
4316
- const mo = (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)), $t = {
4350
+ window.emWidgets = { topic: go };
4351
+ const vo = (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)), jt = {
4317
4352
  en: {
4318
4353
  error: "500 Error - Internal Server Error",
4319
4354
  loading: "Loading ...",
@@ -4381,13 +4416,13 @@ const mo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(
4381
4416
  sunday: "Sunday"
4382
4417
  }
4383
4418
  };
4384
- function bo(e, t) {
4419
+ function _o(e, t) {
4385
4420
  if (e) {
4386
4421
  const r = document.createElement("style");
4387
4422
  r.innerHTML = t, e.appendChild(r);
4388
4423
  }
4389
4424
  }
4390
- function yo(e, t) {
4425
+ function xo(e, t) {
4391
4426
  const r = new URL(t);
4392
4427
  fetch(r.href).then((n) => n.text()).then((n) => {
4393
4428
  const i = document.createElement("style");
@@ -4396,7 +4431,7 @@ function yo(e, t) {
4396
4431
  console.error("There was an error while trying to load client styling from URL", n);
4397
4432
  });
4398
4433
  }
4399
- function go(e, t, r) {
4434
+ function Eo(e, t, r) {
4400
4435
  if (window.emMessageBus) {
4401
4436
  const n = document.createElement("style");
4402
4437
  window.emMessageBus.subscribe(t, (i) => {
@@ -4404,119 +4439,119 @@ function go(e, t, r) {
4404
4439
  });
4405
4440
  }
4406
4441
  }
4407
- function _o(e) {
4408
- kr(e, "svelte-4ftq89", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{border-radius:var(--emw--border-radius-medium, 10px);position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.CasinoCalendarImage{border-radius:var(--emw--border-radius-medium, 10px)}.CasinoCalendarImage ui-image img{max-width:376px;max-height:250px;border-radius:var(--emw--border-radius-medium, 10px)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:24px;height:24px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:transparent;color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}");
4442
+ function So(e) {
4443
+ zr(e, "svelte-4ftq89", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{border-radius:var(--emw--border-radius-medium, 10px);position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.CasinoCalendarImage{border-radius:var(--emw--border-radius-medium, 10px)}.CasinoCalendarImage ui-image img{max-width:376px;max-height:250px;border-radius:var(--emw--border-radius-medium, 10px)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:24px;height:24px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:transparent;color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}");
4409
4444
  }
4410
- function Ut(e, t, r) {
4445
+ function kt(e, t, r) {
4411
4446
  const n = e.slice();
4412
4447
  return n[28] = t[r], n[30] = r, n;
4413
4448
  }
4414
- function Ft(e, t, r) {
4449
+ function Vt(e, t, r) {
4415
4450
  const n = e.slice();
4416
4451
  return n[31] = t[r], n[33] = r, n;
4417
4452
  }
4418
- const vo = (e) => ({}), Gt = (e) => ({});
4419
- function xo(e) {
4453
+ const To = (e) => ({}), Xt = (e) => ({});
4454
+ function wo(e) {
4420
4455
  let t, r, n, i, o, s = (
4421
4456
  /*$_*/
4422
4457
  e[5](`${/*dailyday*/
4423
4458
  e[0]}`) + ""
4424
- ), a, u, l, h, c, f;
4459
+ ), a, u, l, h, f, c;
4425
4460
  const y = (
4426
4461
  /*#slots*/
4427
4462
  e[19].close
4428
- ), g = Ur(
4463
+ ), g = kr(
4429
4464
  y,
4430
4465
  e,
4431
4466
  /*$$scope*/
4432
4467
  e[18],
4433
- Gt
4434
- ), p = g || So();
4468
+ Xt
4469
+ ), d = g || Ao();
4435
4470
  let b = Ee(
4436
4471
  /*dailyeventsDetails*/
4437
4472
  e[2]
4438
- ), _ = [];
4439
- for (let d = 0; d < b.length; d += 1)
4440
- _[d] = kt(Ut(e, b, d));
4473
+ ), v = [];
4474
+ for (let p = 0; p < b.length; p += 1)
4475
+ v[p] = zt(kt(e, b, p));
4441
4476
  return {
4442
4477
  c() {
4443
- t = P("div"), r = P("div"), n = P("span"), p.c(), i = z(), o = P("div"), a = we(s), u = z();
4444
- for (let d = 0; d < _.length; d += 1)
4445
- _[d].c();
4446
- T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(o, "class", "CasinoCalendarDailyDay"), T(r, "class", "HeaderDailyDetails"), T(t, "class", l = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
4478
+ t = P("div"), r = P("div"), n = P("span"), d && d.c(), i = z(), o = P("div"), a = He(s), u = z();
4479
+ for (let p = 0; p < v.length; p += 1)
4480
+ v[p].c();
4481
+ E(n, "class", "ModalCloseBtn"), E(n, "role", "button"), E(o, "class", "CasinoCalendarDailyDay"), E(r, "class", "HeaderDailyDetails"), E(t, "class", l = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
4447
4482
  (e[4] ? "Mobile" : ""));
4448
4483
  },
4449
- m(d, S) {
4450
- F(d, t, S), B(t, r), B(r, n), p.m(n, null), B(r, i), B(r, o), B(o, a), B(t, u);
4451
- for (let w = 0; w < _.length; w += 1)
4452
- _[w] && _[w].m(t, null);
4453
- h = !0, c || (f = Qt(
4484
+ m(p, S) {
4485
+ F(p, t, S), B(t, r), B(r, n), d && d.m(n, null), B(r, i), B(r, o), B(o, a), B(t, u);
4486
+ for (let T = 0; T < v.length; T += 1)
4487
+ v[T] && v[T].m(t, null);
4488
+ h = !0, f || (c = Kt(
4454
4489
  n,
4455
4490
  "click",
4456
4491
  /*closeModal*/
4457
4492
  e[6]
4458
- ), c = !0);
4493
+ ), f = !0);
4459
4494
  },
4460
- p(d, S) {
4495
+ p(p, S) {
4461
4496
  if (g && g.p && (!h || S[0] & /*$$scope*/
4462
- 262144) && Gr(
4497
+ 262144) && Xr(
4463
4498
  g,
4464
4499
  y,
4465
- d,
4500
+ p,
4466
4501
  /*$$scope*/
4467
- d[18],
4468
- h ? Fr(
4502
+ p[18],
4503
+ h ? Vr(
4469
4504
  y,
4470
4505
  /*$$scope*/
4471
- d[18],
4506
+ p[18],
4472
4507
  S,
4473
- vo
4474
- ) : jr(
4508
+ To
4509
+ ) : Wr(
4475
4510
  /*$$scope*/
4476
- d[18]
4511
+ p[18]
4477
4512
  ),
4478
- Gt
4513
+ Xt
4479
4514
  ), (!h || S[0] & /*$_, dailyday*/
4480
4515
  33) && s !== (s = /*$_*/
4481
- d[5](`${/*dailyday*/
4482
- d[0]}`) + "") && nt(a, s), S[0] & /*dailyeventsDetails, setActiveTab*/
4516
+ p[5](`${/*dailyday*/
4517
+ p[0]}`) + "") && ut(a, s), S[0] & /*dailyeventsDetails, setActiveTab*/
4483
4518
  132) {
4484
4519
  b = Ee(
4485
4520
  /*dailyeventsDetails*/
4486
- d[2]
4521
+ p[2]
4487
4522
  );
4488
- let w;
4489
- for (w = 0; w < b.length; w += 1) {
4490
- const A = Ut(d, b, w);
4491
- _[w] ? _[w].p(A, S) : (_[w] = kt(A), _[w].c(), _[w].m(t, null));
4523
+ let T;
4524
+ for (T = 0; T < b.length; T += 1) {
4525
+ const A = kt(p, b, T);
4526
+ v[T] ? v[T].p(A, S) : (v[T] = zt(A), v[T].c(), v[T].m(t, null));
4492
4527
  }
4493
- for (; w < _.length; w += 1)
4494
- _[w].d(1);
4495
- _.length = b.length;
4528
+ for (; T < v.length; T += 1)
4529
+ v[T].d(1);
4530
+ v.length = b.length;
4496
4531
  }
4497
4532
  (!h || S[0] & /*mobileView*/
4498
4533
  16 && l !== (l = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
4499
- (d[4] ? "Mobile" : ""))) && T(t, "class", l);
4534
+ (p[4] ? "Mobile" : ""))) && E(t, "class", l);
4500
4535
  },
4501
- i(d) {
4502
- h || (xe(p, d), h = !0);
4536
+ i(p) {
4537
+ h || (xe(d, p), h = !0);
4503
4538
  },
4504
- o(d) {
4505
- je(p, d), h = !1;
4539
+ o(p) {
4540
+ Xe(d, p), h = !1;
4506
4541
  },
4507
- d(d) {
4508
- d && D(t), p.d(d), Zt(_, d), c = !1, f();
4542
+ d(p) {
4543
+ p && $(t), d && d.d(p), Yt(v, p), f = !1, c();
4509
4544
  }
4510
4545
  };
4511
4546
  }
4512
- function Eo(e) {
4547
+ function Ho(e) {
4513
4548
  let t, r = (
4514
4549
  /*$_*/
4515
4550
  e[5]("loading") + ""
4516
4551
  ), n;
4517
4552
  return {
4518
4553
  c() {
4519
- t = P("p"), n = we(r), T(t, "class", "SearchLoading");
4554
+ t = P("p"), n = He(r), E(t, "class", "SearchLoading");
4520
4555
  },
4521
4556
  m(i, o) {
4522
4557
  F(i, t, o), B(t, n);
@@ -4524,23 +4559,23 @@ function Eo(e) {
4524
4559
  p(i, o) {
4525
4560
  o[0] & /*$_*/
4526
4561
  32 && r !== (r = /*$_*/
4527
- i[5]("loading") + "") && nt(n, r);
4562
+ i[5]("loading") + "") && ut(n, r);
4528
4563
  },
4529
4564
  i: C,
4530
4565
  o: C,
4531
4566
  d(i) {
4532
- i && D(t);
4567
+ i && $(t);
4533
4568
  }
4534
4569
  };
4535
4570
  }
4536
- function To(e) {
4571
+ function Bo(e) {
4537
4572
  let t, r = (
4538
4573
  /*$_*/
4539
4574
  e[5]("error") + ""
4540
4575
  ), n;
4541
4576
  return {
4542
4577
  c() {
4543
- t = P("p"), n = we(r), T(t, "class", "SearchLoading");
4578
+ t = P("p"), n = He(r), E(t, "class", "SearchLoading");
4544
4579
  },
4545
4580
  m(i, o) {
4546
4581
  F(i, t, o), B(t, n);
@@ -4548,31 +4583,31 @@ function To(e) {
4548
4583
  p(i, o) {
4549
4584
  o[0] & /*$_*/
4550
4585
  32 && r !== (r = /*$_*/
4551
- i[5]("error") + "") && nt(n, r);
4586
+ i[5]("error") + "") && ut(n, r);
4552
4587
  },
4553
4588
  i: C,
4554
4589
  o: C,
4555
4590
  d(i) {
4556
- i && D(t);
4591
+ i && $(t);
4557
4592
  }
4558
4593
  };
4559
4594
  }
4560
- function So(e) {
4595
+ function Ao(e) {
4561
4596
  let t, r;
4562
4597
  return {
4563
4598
  c() {
4564
- t = mt("svg"), r = mt("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4599
+ t = vt("svg"), r = vt("path"), E(r, "stroke-linecap", "round"), E(r, "stroke-linejoin", "round"), E(r, "stroke-width", "2"), E(r, "d", "M6 18L18 6M6 6l12 12"), E(t, "class", "w-6 h-6"), E(t, "fill", "none"), E(t, "stroke", "currentColor"), E(t, "viewBox", "0 0 24 24"), E(t, "xmlns", "http://www.w3.org/2000/svg");
4565
4600
  },
4566
4601
  m(n, i) {
4567
4602
  F(n, t, i), B(t, r);
4568
4603
  },
4569
4604
  p: C,
4570
4605
  d(n) {
4571
- n && D(t);
4606
+ n && $(t);
4572
4607
  }
4573
4608
  };
4574
4609
  }
4575
- function jt(e) {
4610
+ function Wt(e) {
4576
4611
  let t, r, n, i = (
4577
4612
  /*detail*/
4578
4613
  e[31].title + ""
@@ -4592,103 +4627,103 @@ function jt(e) {
4592
4627
  }
4593
4628
  return {
4594
4629
  c() {
4595
- t = P("div"), r = P("div"), n = P("button"), s = z(), T(n, "class", o = "HeaderButton " + /*i*/
4630
+ t = P("div"), r = P("div"), n = P("button"), s = z(), E(n, "class", o = "HeaderButton " + /*i*/
4596
4631
  (e[33] === /*event*/
4597
- e[28].selectedTab ? "Active" : "")), T(r, "class", "Header"), T(t, "class", a = /*i*/
4632
+ e[28].selectedTab ? "Active" : "")), E(r, "class", "Header"), E(t, "class", a = /*i*/
4598
4633
  e[33] === /*event*/
4599
- e[28].selectedTab ? "SelectedTab" : ""), T(t, "id", "CollapseMoreInfoButton"), zr(t, "height", "100%");
4634
+ e[28].selectedTab ? "SelectedTab" : ""), E(t, "id", "CollapseMoreInfoButton"), Jr(t, "height", "100%");
4600
4635
  },
4601
- m(c, f) {
4602
- F(c, t, f), B(t, r), B(r, n), n.innerHTML = i, B(t, s), u || (l = Qt(n, "click", h), u = !0);
4636
+ m(f, c) {
4637
+ F(f, t, c), B(t, r), B(r, n), n.innerHTML = i, B(t, s), u || (l = Kt(n, "click", h), u = !0);
4603
4638
  },
4604
- p(c, f) {
4605
- e = c, f[0] & /*dailyeventsDetails*/
4639
+ p(f, c) {
4640
+ e = f, c[0] & /*dailyeventsDetails*/
4606
4641
  4 && i !== (i = /*detail*/
4607
- e[31].title + "") && (n.innerHTML = i), f[0] & /*dailyeventsDetails*/
4642
+ e[31].title + "") && (n.innerHTML = i), c[0] & /*dailyeventsDetails*/
4608
4643
  4 && o !== (o = "HeaderButton " + /*i*/
4609
4644
  (e[33] === /*event*/
4610
- e[28].selectedTab ? "Active" : "")) && T(n, "class", o), f[0] & /*dailyeventsDetails*/
4645
+ e[28].selectedTab ? "Active" : "")) && E(n, "class", o), c[0] & /*dailyeventsDetails*/
4611
4646
  4 && a !== (a = /*i*/
4612
4647
  e[33] === /*event*/
4613
- e[28].selectedTab ? "SelectedTab" : "") && T(t, "class", a);
4648
+ e[28].selectedTab ? "SelectedTab" : "") && E(t, "class", a);
4614
4649
  },
4615
- d(c) {
4616
- c && D(t), u = !1, l();
4650
+ d(f) {
4651
+ f && $(t), u = !1, l();
4617
4652
  }
4618
4653
  };
4619
4654
  }
4620
- function kt(e) {
4621
- let t, r, n, i, o, s, a, u, l, h, c = (
4655
+ function zt(e) {
4656
+ let t, r, n, i, o, s, a, u, l, h, f = (
4622
4657
  /*event*/
4623
4658
  e[28].details[
4624
4659
  /*event*/
4625
4660
  e[28].selectedTab
4626
4661
  ].description + ""
4627
- ), f, y, g = Ee(
4662
+ ), c, y, g = Ee(
4628
4663
  /*event*/
4629
4664
  e[28].details
4630
- ), p = [];
4665
+ ), d = [];
4631
4666
  for (let b = 0; b < g.length; b += 1)
4632
- p[b] = jt(Ft(e, g, b));
4667
+ d[b] = Wt(Vt(e, g, b));
4633
4668
  return {
4634
4669
  c() {
4635
4670
  t = P("div"), r = P("div"), n = P("ui-image"), s = z(), a = P("div"), u = P("div");
4636
- for (let b = 0; b < p.length; b += 1)
4637
- p[b].c();
4638
- l = z(), h = P("div"), y = z(), ie(n, "class", "CasinoCalendarFitImage"), pt(n.src, i = /*event*/
4639
- e[28].image) || ie(n, "src", i), ie(n, "alt", o = /*event*/
4640
- e[28].image), T(r, "class", "CasinoCalendarImage"), T(u, "class", "DetailsTabsTitles"), T(h, "class", f = "DetailTabsDescription " + /*event*/
4671
+ for (let b = 0; b < d.length; b += 1)
4672
+ d[b].c();
4673
+ l = z(), h = P("div"), y = z(), ne(n, "class", "CasinoCalendarFitImage"), gt(n.src, i = /*event*/
4674
+ e[28].image) || ne(n, "src", i), ne(n, "alt", o = /*event*/
4675
+ e[28].image), E(r, "class", "CasinoCalendarImage"), E(u, "class", "DetailsTabsTitles"), E(h, "class", c = "DetailTabsDescription " + /*event*/
4641
4676
  (e[28].details[
4642
4677
  /*event*/
4643
4678
  e[28].selectedTab
4644
- ].expandedTab ? "" : "NotVisible")), T(a, "class", "CasinoCalendarTabs"), T(t, "class", "CasinoCalendarDailyDetailsParent");
4679
+ ].expandedTab ? "" : "NotVisible")), E(a, "class", "CasinoCalendarTabs"), E(t, "class", "CasinoCalendarDailyDetailsParent");
4645
4680
  },
4646
- m(b, _) {
4647
- F(b, t, _), B(t, r), B(r, n), B(t, s), B(t, a), B(a, u);
4648
- for (let d = 0; d < p.length; d += 1)
4649
- p[d] && p[d].m(u, null);
4650
- B(a, l), B(a, h), h.innerHTML = c, B(t, y);
4681
+ m(b, v) {
4682
+ F(b, t, v), B(t, r), B(r, n), B(t, s), B(t, a), B(a, u);
4683
+ for (let p = 0; p < d.length; p += 1)
4684
+ d[p] && d[p].m(u, null);
4685
+ B(a, l), B(a, h), h.innerHTML = f, B(t, y);
4651
4686
  },
4652
- p(b, _) {
4653
- if (_[0] & /*dailyeventsDetails*/
4654
- 4 && !pt(n.src, i = /*event*/
4655
- b[28].image) && ie(n, "src", i), _[0] & /*dailyeventsDetails*/
4687
+ p(b, v) {
4688
+ if (v[0] & /*dailyeventsDetails*/
4689
+ 4 && !gt(n.src, i = /*event*/
4690
+ b[28].image) && ne(n, "src", i), v[0] & /*dailyeventsDetails*/
4656
4691
  4 && o !== (o = /*event*/
4657
- b[28].image) && ie(n, "alt", o), _[0] & /*dailyeventsDetails, setActiveTab*/
4692
+ b[28].image) && ne(n, "alt", o), v[0] & /*dailyeventsDetails, setActiveTab*/
4658
4693
  132) {
4659
4694
  g = Ee(
4660
4695
  /*event*/
4661
4696
  b[28].details
4662
4697
  );
4663
- let d;
4664
- for (d = 0; d < g.length; d += 1) {
4665
- const S = Ft(b, g, d);
4666
- p[d] ? p[d].p(S, _) : (p[d] = jt(S), p[d].c(), p[d].m(u, null));
4698
+ let p;
4699
+ for (p = 0; p < g.length; p += 1) {
4700
+ const S = Vt(b, g, p);
4701
+ d[p] ? d[p].p(S, v) : (d[p] = Wt(S), d[p].c(), d[p].m(u, null));
4667
4702
  }
4668
- for (; d < p.length; d += 1)
4669
- p[d].d(1);
4670
- p.length = g.length;
4703
+ for (; p < d.length; p += 1)
4704
+ d[p].d(1);
4705
+ d.length = g.length;
4671
4706
  }
4672
- _[0] & /*dailyeventsDetails*/
4673
- 4 && c !== (c = /*event*/
4707
+ v[0] & /*dailyeventsDetails*/
4708
+ 4 && f !== (f = /*event*/
4674
4709
  b[28].details[
4675
4710
  /*event*/
4676
4711
  b[28].selectedTab
4677
- ].description + "") && (h.innerHTML = c), _[0] & /*dailyeventsDetails*/
4678
- 4 && f !== (f = "DetailTabsDescription " + /*event*/
4712
+ ].description + "") && (h.innerHTML = f), v[0] & /*dailyeventsDetails*/
4713
+ 4 && c !== (c = "DetailTabsDescription " + /*event*/
4679
4714
  (b[28].details[
4680
4715
  /*event*/
4681
4716
  b[28].selectedTab
4682
- ].expandedTab ? "" : "NotVisible")) && T(h, "class", f);
4717
+ ].expandedTab ? "" : "NotVisible")) && E(h, "class", c);
4683
4718
  },
4684
4719
  d(b) {
4685
- b && D(t), Zt(p, b);
4720
+ b && $(t), Yt(d, b);
4686
4721
  }
4687
4722
  };
4688
4723
  }
4689
- function wo(e) {
4724
+ function Po(e) {
4690
4725
  let t, r, n, i;
4691
- const o = [To, Eo, xo], s = [];
4726
+ const o = [Bo, Ho, wo], s = [];
4692
4727
  function a(u, l) {
4693
4728
  return (
4694
4729
  /*isLoading*/
@@ -4704,109 +4739,109 @@ function wo(e) {
4704
4739
  },
4705
4740
  p(u, l) {
4706
4741
  let h = r;
4707
- r = a(u), r === h ? s[r].p(u, l) : (tn(), je(s[h], 1, 1, () => {
4742
+ r = a(u), r === h ? s[r].p(u, l) : (sn(), Xe(s[h], 1, 1, () => {
4708
4743
  s[h] = null;
4709
- }), rn(), n = s[r], n ? n.p(u, l) : (n = s[r] = o[r](u), n.c()), xe(n, 1), n.m(t, null));
4744
+ }), an(), n = s[r], n ? n.p(u, l) : (n = s[r] = o[r](u), n.c()), xe(n, 1), n.m(t, null));
4710
4745
  },
4711
4746
  i(u) {
4712
4747
  i || (xe(n), i = !0);
4713
4748
  },
4714
4749
  o(u) {
4715
- je(n), i = !1;
4750
+ Xe(n), i = !1;
4716
4751
  },
4717
4752
  d(u) {
4718
- u && D(t), s[r].d(), e[21](null);
4753
+ u && $(t), s[r].d(), e[21](null);
4719
4754
  }
4720
4755
  };
4721
4756
  }
4722
- function Ho(e, t, r) {
4757
+ function Oo(e, t, r) {
4723
4758
  let n;
4724
- $r(e, Yi, (m) => r(5, n = m));
4725
- let { $$slots: i = {}, $$scope: o } = t, { dailybackground: s = "" } = t, { dailybuttontitle: a = "" } = t, { dailyday: u = "" } = t, { dailydescription: l = "<p></p>" } = t, { dailyicon: h = "" } = t, { dailytitle: c = "" } = t, { lang: f = "en" } = t, { mbsource: y } = t, { clientstyling: g = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: b = "" } = t, _ = [], d = !0, S = !1, w = window.navigator.userAgent, A;
4759
+ jr(e, ro, (m) => r(5, n = m));
4760
+ let { $$slots: i = {}, $$scope: o } = t, { dailybackground: s = "" } = t, { dailybuttontitle: a = "" } = t, { dailyday: u = "" } = t, { dailydescription: l = "<p></p>" } = t, { dailyicon: h = "" } = t, { dailytitle: f = "" } = t, { lang: c = "en" } = t, { mbsource: y } = t, { clientstyling: g = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: b = "" } = t, v = [], p = !0, S = !1, T = window.navigator.userAgent, A;
4726
4761
  const k = () => {
4727
- Ki(f);
4762
+ no(c);
4728
4763
  };
4729
- Object.keys($t).forEach((m) => {
4730
- Ot(m, $t[m]);
4764
+ Object.keys(jt).forEach((m) => {
4765
+ Nt(m, jt[m]);
4731
4766
  });
4732
- const fe = () => {
4767
+ const ce = () => {
4733
4768
  let m = b;
4734
4769
  if (m)
4735
4770
  return fetch(m).then((O) => O.json()).then((O) => {
4736
- Object.keys(O).forEach((M) => {
4737
- Ot(M, O[M]);
4771
+ Object.keys(O).forEach((R) => {
4772
+ Nt(R, O[R]);
4738
4773
  });
4739
4774
  }).catch((O) => {
4740
4775
  console.log(O);
4741
4776
  });
4742
- }, at = (m) => {
4743
- m.data.type == "DailyEventsData" && (r(3, d = !1), r(2, _ = m.data.data), _.forEach((O) => {
4744
- O.expandedInfo = !0, O.detailsExpanded = !1, O.selectedTab = 0, O.details.forEach((M, ce) => {
4745
- M.expandedTab = ce == 0;
4777
+ }, ct = (m) => {
4778
+ m.data.type == "DailyEventsData" && (r(3, p = !1), r(2, v = m.data.data), v.forEach((O) => {
4779
+ O.expandedInfo = !0, O.detailsExpanded = !1, O.selectedTab = 0, O.details.forEach((R, fe) => {
4780
+ R.expandedTab = fe == 0;
4746
4781
  });
4747
4782
  }));
4748
- }, Br = () => {
4749
- window.postMessage({ type: "ModalClosed" }, window.location.href), _.forEach((m, O) => {
4783
+ }, Ir = () => {
4784
+ window.postMessage({ type: "ModalClosed" }, window.location.href), v.forEach((m, O) => {
4750
4785
  m.detailsExpanded = O == 0, m.expandedInfo = !0, m.selectedTab = 0;
4751
4786
  });
4752
- }, ut = (m, O, M) => {
4753
- r(2, _[M].selectedTab = O, _), m.details.forEach((ce, Or) => {
4754
- _[M].selectedTab != Or ? ce.expandedTab = !1 : ce.expandedTab = !0;
4787
+ }, ft = (m, O, R) => {
4788
+ r(2, v[R].selectedTab = O, v), m.details.forEach((fe, Nr) => {
4789
+ v[R].selectedTab != Nr ? fe.expandedTab = !1 : fe.expandedTab = !0;
4755
4790
  });
4756
4791
  };
4757
- qr(() => (window.addEventListener("message", at, !1), mo(w) && r(4, S = !0), () => {
4758
- window.removeEventListener("message", at);
4792
+ en(() => (window.addEventListener("message", ct, !1), vo(T) && r(4, S = !0), () => {
4793
+ window.removeEventListener("message", ct);
4759
4794
  }));
4760
- const Ar = (m, O, M) => {
4761
- ut(m, O, M);
4795
+ const Cr = (m, O, R) => {
4796
+ ft(m, O, R);
4762
4797
  };
4763
- function Pr(m) {
4764
- Ue[m ? "unshift" : "push"](() => {
4798
+ function Lr(m) {
4799
+ je[m ? "unshift" : "push"](() => {
4765
4800
  A = m, r(1, A);
4766
4801
  });
4767
4802
  }
4768
4803
  return e.$$set = (m) => {
4769
- "dailybackground" in m && r(8, s = m.dailybackground), "dailybuttontitle" in m && r(9, a = m.dailybuttontitle), "dailyday" in m && r(0, u = m.dailyday), "dailydescription" in m && r(10, l = m.dailydescription), "dailyicon" in m && r(11, h = m.dailyicon), "dailytitle" in m && r(12, c = m.dailytitle), "lang" in m && r(13, f = m.lang), "mbsource" in m && r(14, y = m.mbsource), "clientstyling" in m && r(15, g = m.clientstyling), "clientstylingurl" in m && r(16, p = m.clientstylingurl), "translationurl" in m && r(17, b = m.translationurl), "$$scope" in m && r(18, o = m.$$scope);
4804
+ "dailybackground" in m && r(8, s = m.dailybackground), "dailybuttontitle" in m && r(9, a = m.dailybuttontitle), "dailyday" in m && r(0, u = m.dailyday), "dailydescription" in m && r(10, l = m.dailydescription), "dailyicon" in m && r(11, h = m.dailyicon), "dailytitle" in m && r(12, f = m.dailytitle), "lang" in m && r(13, c = m.lang), "mbsource" in m && r(14, y = m.mbsource), "clientstyling" in m && r(15, g = m.clientstyling), "clientstylingurl" in m && r(16, d = m.clientstylingurl), "translationurl" in m && r(17, b = m.translationurl), "$$scope" in m && r(18, o = m.$$scope);
4770
4805
  }, e.$$.update = () => {
4771
4806
  e.$$.dirty[0] & /*lang*/
4772
- 8192 && f && k(), e.$$.dirty[0] & /*lang, translationurl*/
4773
- 139264 && f && b && fe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4774
- 32770 && g && A && bo(A, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4775
- 65538 && p && A && yo(A, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4776
- 16386 && y && A && go(A, `${y}.Style`);
4807
+ 8192 && c && k(), e.$$.dirty[0] & /*lang, translationurl*/
4808
+ 139264 && c && b && ce(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4809
+ 32770 && g && A && _o(A, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4810
+ 65538 && d && A && xo(A, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4811
+ 16386 && y && A && Eo(A, `${y}.Style`);
4777
4812
  }, [
4778
4813
  u,
4779
4814
  A,
4780
- _,
4781
- d,
4815
+ v,
4816
+ p,
4782
4817
  S,
4783
4818
  n,
4784
- Br,
4785
- ut,
4819
+ Ir,
4820
+ ft,
4786
4821
  s,
4787
4822
  a,
4788
4823
  l,
4789
4824
  h,
4790
- c,
4791
4825
  f,
4826
+ c,
4792
4827
  y,
4793
4828
  g,
4794
- p,
4829
+ d,
4795
4830
  b,
4796
4831
  o,
4797
4832
  i,
4798
- Ar,
4799
- Pr
4833
+ Cr,
4834
+ Lr
4800
4835
  ];
4801
4836
  }
4802
- class Bo extends ln {
4837
+ class Io extends dn {
4803
4838
  constructor(t) {
4804
- super(), an(
4839
+ super(), cn(
4805
4840
  this,
4806
4841
  t,
4807
- Ho,
4808
- wo,
4809
- Xt,
4842
+ Oo,
4843
+ Po,
4844
+ Qt,
4810
4845
  {
4811
4846
  dailybackground: 8,
4812
4847
  dailybuttontitle: 9,
@@ -4820,7 +4855,7 @@ class Bo extends ln {
4820
4855
  clientstylingurl: 16,
4821
4856
  translationurl: 17
4822
4857
  },
4823
- _o,
4858
+ So,
4824
4859
  [-1, -1]
4825
4860
  );
4826
4861
  }
@@ -4891,7 +4926,7 @@ class Bo extends ln {
4891
4926
  this.$$set({ translationurl: t }), L();
4892
4927
  }
4893
4928
  }
4894
- un(Bo, { dailybackground: {}, dailybuttontitle: {}, dailyday: {}, dailydescription: {}, dailyicon: {}, dailytitle: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4929
+ fn(Io, { dailybackground: {}, dailybuttontitle: {}, dailyday: {}, dailydescription: {}, dailyicon: {}, dailytitle: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4895
4930
  export {
4896
- Bo as default
4931
+ Io as default
4897
4932
  };