@everymatrix/cashier-session-expiration-modal 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,8 @@ function pe() {
2
2
  }
3
3
  const Fr = (e) => e;
4
4
  function Fi(e, t) {
5
- for (const n in t) e[n] = t[n];
5
+ for (const n in t)
6
+ e[n] = t[n];
6
7
  return (
7
8
  /** @type {T & S} */
8
9
  e
@@ -111,7 +112,8 @@ function Vi(e, t, n) {
111
112
  }
112
113
  }
113
114
  function Nn(e) {
114
- if (!e) return document;
115
+ if (!e)
116
+ return document;
115
117
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
116
118
  return t && /** @type {ShadowRoot} */
117
119
  t.host ? (
@@ -214,7 +216,8 @@ const kt = /* @__PURE__ */ new Map();
214
216
  let Gt = 0;
215
217
  function $i(e) {
216
218
  let t = 5381, n = e.length;
217
- for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
219
+ for (; n--; )
220
+ t = (t << 5) - t ^ e.charCodeAt(n);
218
221
  return t >>> 0;
219
222
  }
220
223
  function es(e, t) {
@@ -256,7 +259,8 @@ function mt(e) {
256
259
  pt = e;
257
260
  }
258
261
  function qr() {
259
- if (!pt) throw new Error("Function called outside component initialization");
262
+ if (!pt)
263
+ throw new Error("Function called outside component initialization");
260
264
  return pt;
261
265
  }
262
266
  function rs(e) {
@@ -290,7 +294,8 @@ function me() {
290
294
  } catch (t) {
291
295
  throw We.length = 0, ze = 0, t;
292
296
  }
293
- for (mt(null), We.length = 0, ze = 0; Ft.length; ) Ft.pop()();
297
+ for (mt(null), We.length = 0, ze = 0; Ft.length; )
298
+ Ft.pop()();
294
299
  for (let t = 0; t < Ve.length; t += 1) {
295
300
  const n = Ve[t];
296
301
  sn.has(n) || (sn.add(n), n());
@@ -339,11 +344,13 @@ function we(e, t) {
339
344
  }
340
345
  function He(e, t, n, r) {
341
346
  if (e && e.o) {
342
- if (Rt.has(e)) return;
347
+ if (Rt.has(e))
348
+ return;
343
349
  Rt.add(e), Ce.c.push(() => {
344
350
  Rt.delete(e), r && (n && e.d(1), r());
345
351
  }), e.o(t);
346
- } else r && r();
352
+ } else
353
+ r && r();
347
354
  }
348
355
  const cs = { duration: 0 };
349
356
  function lr(e, t, n, r) {
@@ -831,11 +838,26 @@ Je.all = function(t, n) {
831
838
  };
832
839
  var Ns = Je, Ps = Ns;
833
840
  const Rs = /* @__PURE__ */ Pn(Ps);
841
+ /*! *****************************************************************************
842
+ Copyright (c) Microsoft Corporation.
843
+
844
+ Permission to use, copy, modify, and/or distribute this software for any
845
+ purpose with or without fee is hereby granted.
846
+
847
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
848
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
849
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
850
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
851
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
852
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
853
+ PERFORMANCE OF THIS SOFTWARE.
854
+ ***************************************************************************** */
834
855
  var Tn = function(e, t) {
835
856
  return Tn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
836
857
  n.__proto__ = r;
837
858
  } || function(n, r) {
838
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
859
+ for (var i in r)
860
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
839
861
  }, Tn(e, t);
840
862
  };
841
863
  function Jt(e, t) {
@@ -851,23 +873,26 @@ var z = function() {
851
873
  return z = Object.assign || function(t) {
852
874
  for (var n, r = 1, i = arguments.length; r < i; r++) {
853
875
  n = arguments[r];
854
- for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
876
+ for (var s in n)
877
+ Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
855
878
  }
856
879
  return t;
857
880
  }, z.apply(this, arguments);
858
881
  };
859
882
  function Ls(e, t) {
860
883
  var n = {};
861
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
884
+ for (var r in e)
885
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
862
886
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
863
887
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
864
888
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
865
889
  return n;
866
890
  }
867
891
  function an(e, t, n) {
868
- if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
869
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
870
- return e.concat(s || Array.prototype.slice.call(t));
892
+ if (arguments.length === 2)
893
+ for (var r = 0, i = t.length, s; r < i; r++)
894
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
895
+ return e.concat(s || t);
871
896
  }
872
897
  function ln(e, t) {
873
898
  var n = t && t.cache ? t.cache : Gs, r = t && t.serializer ? t.serializer : ks, i = t && t.strategy ? t.strategy : Ds;
@@ -2693,7 +2718,8 @@ function Qs(e, t) {
2693
2718
  n += c;
2694
2719
  for (; l-- > 0; )
2695
2720
  n = u + n;
2696
- } else i === "J" ? n += "H" : n += i;
2721
+ } else
2722
+ i === "J" ? n += "H" : n += i;
2697
2723
  }
2698
2724
  return n;
2699
2725
  }
@@ -3296,7 +3322,8 @@ function _n(e) {
3296
3322
  if (delete t.location, ai(t) || li(t))
3297
3323
  for (var n in t.options)
3298
3324
  delete t.options[n].location, _n(t.options[n].value);
3299
- else ii(t) && ci(t.style) || (si(t) || oi(t)) && xn(t.style) ? delete t.style.location : ui(t) && _n(t.children);
3325
+ else
3326
+ ii(t) && ci(t.style) || (si(t) || oi(t)) && xn(t.style) ? delete t.style.location : ui(t) && _n(t.children);
3300
3327
  });
3301
3328
  }
3302
3329
  function bo(e, t) {
@@ -4372,7 +4399,8 @@ function Hi() {
4372
4399
  !(er(o) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, o) || B.tagNameCheck instanceof Function && B.tagNameCheck(o)) && (B.attributeNameCheck instanceof RegExp && ue(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4373
4400
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4374
4401
  d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4375
- ) return !1;
4402
+ )
4403
+ return !1;
4376
4404
  } else if (!en[d]) {
4377
4405
  if (!ue(H, at(w, f, ""))) {
4378
4406
  if (!((d === "src" || d === "xlink:href" || d === "href") && o !== "script" && fa(w, "data:") === 0 && Gn[o])) {
@@ -4530,7 +4558,8 @@ var Ni = { exports: {} };
4530
4558
  var E = -v.utcOffset(), p = Math.abs(E), S = Math.floor(p / 60), f = p % 60;
4531
4559
  return (E <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4532
4560
  }, m: function v(E, p) {
4533
- if (E.date() < p.date()) return -v(p, E);
4561
+ if (E.date() < p.date())
4562
+ return -v(p, E);
4534
4563
  var S = 12 * (p.year() - E.year()) + (p.month() - E.month()), f = E.clone().add(S, g), x = p - f < 0, H = E.clone().add(S + (x ? -1 : 1), g);
4535
4564
  return +(-(S + (p - f) / (x ? f - H : H - f)) || 0);
4536
4565
  }, a: function(v) {
@@ -4545,19 +4574,22 @@ var Ni = { exports: {} };
4545
4574
  return v instanceof ae || !(!v || !v[Y]);
4546
4575
  }, ee = function v(E, p, S) {
4547
4576
  var f;
4548
- if (!E) return I;
4577
+ if (!E)
4578
+ return I;
4549
4579
  if (typeof E == "string") {
4550
4580
  var x = E.toLowerCase();
4551
4581
  j[x] && (f = x), p && (j[x] = p, f = x);
4552
4582
  var H = E.split("-");
4553
- if (!f && H.length > 1) return v(H[0]);
4583
+ if (!f && H.length > 1)
4584
+ return v(H[0]);
4554
4585
  } else {
4555
4586
  var N = E.name;
4556
4587
  j[N] = E, f = N;
4557
4588
  }
4558
4589
  return !S && f && (I = f), f || !S && I;
4559
4590
  }, Z = function(v, E) {
4560
- if (q(v)) return v.clone();
4591
+ if (q(v))
4592
+ return v.clone();
4561
4593
  var p = typeof E == "object" ? E : {};
4562
4594
  return p.date = v, p.args = arguments, new ae(p);
4563
4595
  }, _ = R;
@@ -4572,9 +4604,12 @@ var Ni = { exports: {} };
4572
4604
  return E.parse = function(p) {
4573
4605
  this.$d = function(S) {
4574
4606
  var f = S.date, x = S.utc;
4575
- if (f === null) return /* @__PURE__ */ new Date(NaN);
4576
- if (_.u(f)) return /* @__PURE__ */ new Date();
4577
- if (f instanceof Date) return new Date(f);
4607
+ if (f === null)
4608
+ return /* @__PURE__ */ new Date(NaN);
4609
+ if (_.u(f))
4610
+ return /* @__PURE__ */ new Date();
4611
+ if (f instanceof Date)
4612
+ return new Date(f);
4578
4613
  if (typeof f == "string" && !/Z$/i.test(f)) {
4579
4614
  var H = f.match(M);
4580
4615
  if (H) {
@@ -4638,7 +4673,8 @@ var Ni = { exports: {} };
4638
4673
  if (x === g || x === C) {
4639
4674
  var L = this.clone().set(y, 1);
4640
4675
  L.$d[N](V), L.init(), this.$d = L.set(y, Math.min(this.$D, L.daysInMonth())).$d;
4641
- } else N && this.$d[N](V);
4676
+ } else
4677
+ N && this.$d[N](V);
4642
4678
  return this.init(), this;
4643
4679
  }, E.set = function(p, S) {
4644
4680
  return this.clone().$set(p, S);
@@ -4651,17 +4687,22 @@ var Ni = { exports: {} };
4651
4687
  var B = Z(x);
4652
4688
  return _.w(B.date(B.date() + Math.round(K * p)), x);
4653
4689
  };
4654
- if (H === g) return this.set(g, this.$M + p);
4655
- if (H === C) return this.set(C, this.$y + p);
4656
- if (H === u) return N(1);
4657
- if (H === h) return N(7);
4690
+ if (H === g)
4691
+ return this.set(g, this.$M + p);
4692
+ if (H === C)
4693
+ return this.set(C, this.$y + p);
4694
+ if (H === u)
4695
+ return N(1);
4696
+ if (H === h)
4697
+ return N(7);
4658
4698
  var V = (f = {}, f[a] = r, f[c] = i, f[l] = n, f)[H] || 1, L = this.$d.getTime() + p * V;
4659
4699
  return _.w(L, this);
4660
4700
  }, E.subtract = function(p, S) {
4661
4701
  return this.add(-1 * p, S);
4662
4702
  }, E.format = function(p) {
4663
4703
  var S = this, f = this.$locale();
4664
- if (!this.isValid()) return f.invalidDate || m;
4704
+ if (!this.isValid())
4705
+ return f.invalidDate || m;
4665
4706
  var x = p || "YYYY-MM-DDTHH:mm:ssZ", H = _.z(this), N = this.$H, V = this.$m, L = this.$M, K = f.weekdays, B = f.months, b = f.meridiem, F = function(ie, Te, Ee, Me) {
4666
4707
  return ie && (ie[Te] || ie(S, x)) || Ee[Te].slice(0, Me);
4667
4708
  }, re = function(ie) {
@@ -4765,7 +4806,8 @@ var Ni = { exports: {} };
4765
4806
  }, E.$locale = function() {
4766
4807
  return j[this.$L];
4767
4808
  }, E.locale = function(p, S) {
4768
- if (!p) return this.$L;
4809
+ if (!p)
4810
+ return this.$L;
4769
4811
  var f = this.clone(), x = ee(p, S, !0);
4770
4812
  return x && (f.$L = x), f;
4771
4813
  }, E.clone = function() {
@@ -4819,25 +4861,31 @@ var Pi = { exports: {} };
4819
4861
  if (this.$u) {
4820
4862
  var m = this.$d;
4821
4863
  this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
4822
- } else h.call(this);
4864
+ } else
4865
+ h.call(this);
4823
4866
  };
4824
4867
  var g = c.utcOffset;
4825
4868
  c.utcOffset = function(m, M) {
4826
4869
  var W = this.$utils().u;
4827
- if (W(m)) return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4870
+ if (W(m))
4871
+ return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4828
4872
  if (typeof m == "string" && (m = function(I) {
4829
4873
  I === void 0 && (I = "");
4830
4874
  var j = I.match(r);
4831
- if (!j) return null;
4875
+ if (!j)
4876
+ return null;
4832
4877
  var Y = ("" + j[0]).match(i) || ["-", 0, 0], q = Y[0], ee = 60 * +Y[1] + +Y[2];
4833
4878
  return ee === 0 ? 0 : q === "+" ? ee : -ee;
4834
- }(m), m === null)) return this;
4879
+ }(m), m === null))
4880
+ return this;
4835
4881
  var P = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4836
- if (M) return A.$offset = P, A.$u = m === 0, A;
4882
+ if (M)
4883
+ return A.$offset = P, A.$u = m === 0, A;
4837
4884
  if (m !== 0) {
4838
4885
  var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4839
4886
  (A = this.local().add(P + R, n)).$offset = P, A.$x.$localOffset = R;
4840
- } else A = this.utc();
4887
+ } else
4888
+ A = this.utc();
4841
4889
  return A;
4842
4890
  };
4843
4891
  var T = c.format;
@@ -4860,7 +4908,8 @@ var Pi = { exports: {} };
4860
4908
  };
4861
4909
  var y = c.diff;
4862
4910
  c.diff = function(m, M, W) {
4863
- if (m && this.$u === m.$u) return y.call(this, m, M, W);
4911
+ if (m && this.$u === m.$u)
4912
+ return y.call(this, m, M, W);
4864
4913
  var P = this.local(), A = a(m).local();
4865
4914
  return y.call(P, A, M, W);
4866
4915
  };
@@ -5306,7 +5355,8 @@ function Xa(e, t, n) {
5306
5355
  }, p = () => {
5307
5356
  n(7, I = 0), n(5, A = !1), clearInterval(Y);
5308
5357
  }, S = () => {
5309
- if (R) return;
5358
+ if (R)
5359
+ return;
5310
5360
  const b = new URL(`${y}/v1/player/${M}/payment/GetPaymentMethod`), F = new Headers();
5311
5361
  n(6, R = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", Ir.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5312
5362
  const re = {
@@ -10,7 +10,7 @@ var on = (e, t, n) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writ
10
10
  Qi.call(t, n) && on(e, n, t[n]);
11
11
  return e;
12
12
  }, lr = (e, t) => Ji(e, Yi(t));
13
- var ye = (e, t, n) => on(e, typeof t != "symbol" ? t + "" : t, n);
13
+ var ye = (e, t, n) => (on(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var ur = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -31,7 +31,8 @@ function pe() {
31
31
  }
32
32
  const Xr = (e) => e;
33
33
  function Ki(e, t) {
34
- for (const n in t) e[n] = t[n];
34
+ for (const n in t)
35
+ e[n] = t[n];
35
36
  return (
36
37
  /** @type {T & S} */
37
38
  e
@@ -140,7 +141,8 @@ function rs(e, t, n) {
140
141
  }
141
142
  }
142
143
  function Rn(e) {
143
- if (!e) return document;
144
+ if (!e)
145
+ return document;
144
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
145
147
  return t && /** @type {ShadowRoot} */
146
148
  t.host ? (
@@ -243,7 +245,8 @@ const Gt = /* @__PURE__ */ new Map();
243
245
  let Ft = 0;
244
246
  function cs(e) {
245
247
  let t = 5381, n = e.length;
246
- for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
248
+ for (; n--; )
249
+ t = (t << 5) - t ^ e.charCodeAt(n);
247
250
  return t >>> 0;
248
251
  }
249
252
  function hs(e, t) {
@@ -285,7 +288,8 @@ function pt(e) {
285
288
  dt = e;
286
289
  }
287
290
  function ni() {
288
- if (!dt) throw new Error("Function called outside component initialization");
291
+ if (!dt)
292
+ throw new Error("Function called outside component initialization");
289
293
  return dt;
290
294
  }
291
295
  function ps(e) {
@@ -319,7 +323,8 @@ function me() {
319
323
  } catch (t) {
320
324
  throw Ze.length = 0, je = 0, t;
321
325
  }
322
- for (pt(null), Ze.length = 0, je = 0; zt.length; ) zt.pop()();
326
+ for (pt(null), Ze.length = 0, je = 0; zt.length; )
327
+ zt.pop()();
323
328
  for (let t = 0; t < Xe.length; t += 1) {
324
329
  const n = Xe[t];
325
330
  an.has(n) || (an.add(n), n());
@@ -368,11 +373,13 @@ function Ae(e, t) {
368
373
  }
369
374
  function Ne(e, t, n, r) {
370
375
  if (e && e.o) {
371
- if (Lt.has(e)) return;
376
+ if (Lt.has(e))
377
+ return;
372
378
  Lt.add(e), Me.c.push(() => {
373
379
  Lt.delete(e), r && (n && e.d(1), r());
374
380
  }), e.o(t);
375
- } else r && r();
381
+ } else
382
+ r && r();
376
383
  }
377
384
  const xs = { duration: 0 };
378
385
  function pr(e, t, n, r) {
@@ -868,11 +875,26 @@ Ye.all = function(t, n) {
868
875
  };
869
876
  var zs = Ye, js = zs;
870
877
  const Ws = /* @__PURE__ */ Ln(js);
878
+ /*! *****************************************************************************
879
+ Copyright (c) Microsoft Corporation.
880
+
881
+ Permission to use, copy, modify, and/or distribute this software for any
882
+ purpose with or without fee is hereby granted.
883
+
884
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
885
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
886
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
887
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
888
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
889
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
890
+ PERFORMANCE OF THIS SOFTWARE.
891
+ ***************************************************************************** */
871
892
  var vn = function(e, t) {
872
893
  return vn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
873
894
  n.__proto__ = r;
874
895
  } || function(n, r) {
875
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
896
+ for (var i in r)
897
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
876
898
  }, vn(e, t);
877
899
  };
878
900
  function Yt(e, t) {
@@ -888,23 +910,26 @@ var z = function() {
888
910
  return z = Object.assign || function(t) {
889
911
  for (var n, r = 1, i = arguments.length; r < i; r++) {
890
912
  n = arguments[r];
891
- for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
913
+ for (var s in n)
914
+ Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
892
915
  }
893
916
  return t;
894
917
  }, z.apply(this, arguments);
895
918
  };
896
919
  function Zs(e, t) {
897
920
  var n = {};
898
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
921
+ for (var r in e)
922
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
899
923
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
900
924
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
901
925
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
902
926
  return n;
903
927
  }
904
928
  function un(e, t, n) {
905
- if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
906
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
907
- return e.concat(s || Array.prototype.slice.call(t));
929
+ if (arguments.length === 2)
930
+ for (var r = 0, i = t.length, s; r < i; r++)
931
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
932
+ return e.concat(s || t);
908
933
  }
909
934
  function cn(e, t) {
910
935
  var n = t && t.cache ? t.cache : Qs, r = t && t.serializer ? t.serializer : qs, i = t && t.strategy ? t.strategy : Xs;
@@ -2730,7 +2755,8 @@ function lo(e, t) {
2730
2755
  n += c;
2731
2756
  for (; a-- > 0; )
2732
2757
  n = u + n;
2733
- } else i === "J" ? n += "H" : n += i;
2758
+ } else
2759
+ i === "J" ? n += "H" : n += i;
2734
2760
  }
2735
2761
  return n;
2736
2762
  }
@@ -3333,7 +3359,8 @@ function Cn(e) {
3333
3359
  if (delete t.location, mi(t) || pi(t))
3334
3360
  for (var n in t.options)
3335
3361
  delete t.options[n].location, Cn(t.options[n].value);
3336
- else ci(t) && gi(t.style) || (hi(t) || fi(t)) && Sn(t.style) ? delete t.style.location : di(t) && Cn(t.children);
3362
+ else
3363
+ ci(t) && gi(t.style) || (hi(t) || fi(t)) && Sn(t.style) ? delete t.style.location : di(t) && Cn(t.children);
3337
3364
  });
3338
3365
  }
3339
3366
  function Co(e, t) {
@@ -4409,7 +4436,8 @@ function Di() {
4409
4436
  !(nr(o) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, o) || B.tagNameCheck instanceof Function && B.tagNameCheck(o)) && (B.attributeNameCheck instanceof RegExp && ue(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4410
4437
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4411
4438
  d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4412
- ) return !1;
4439
+ )
4440
+ return !1;
4413
4441
  } else if (!tn[d]) {
4414
4442
  if (!ue(H, lt(w, f, ""))) {
4415
4443
  if (!((d === "src" || d === "xlink:href" || d === "href") && o !== "script" && Sa(w, "data:") === 0 && zn[o])) {
@@ -4567,7 +4595,8 @@ var Bi = { exports: {} };
4567
4595
  var E = -v.utcOffset(), p = Math.abs(E), S = Math.floor(p / 60), f = p % 60;
4568
4596
  return (E <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4569
4597
  }, m: function v(E, p) {
4570
- if (E.date() < p.date()) return -v(p, E);
4598
+ if (E.date() < p.date())
4599
+ return -v(p, E);
4571
4600
  var S = 12 * (p.year() - E.year()) + (p.month() - E.month()), f = E.clone().add(S, g), x = p - f < 0, H = E.clone().add(S + (x ? -1 : 1), g);
4572
4601
  return +(-(S + (p - f) / (x ? f - H : H - f)) || 0);
4573
4602
  }, a: function(v) {
@@ -4582,19 +4611,22 @@ var Bi = { exports: {} };
4582
4611
  return v instanceof ae || !(!v || !v[Y]);
4583
4612
  }, ee = function v(E, p, S) {
4584
4613
  var f;
4585
- if (!E) return I;
4614
+ if (!E)
4615
+ return I;
4586
4616
  if (typeof E == "string") {
4587
4617
  var x = E.toLowerCase();
4588
4618
  j[x] && (f = x), p && (j[x] = p, f = x);
4589
4619
  var H = E.split("-");
4590
- if (!f && H.length > 1) return v(H[0]);
4620
+ if (!f && H.length > 1)
4621
+ return v(H[0]);
4591
4622
  } else {
4592
4623
  var N = E.name;
4593
4624
  j[N] = E, f = N;
4594
4625
  }
4595
4626
  return !S && f && (I = f), f || !S && I;
4596
4627
  }, Z = function(v, E) {
4597
- if (q(v)) return v.clone();
4628
+ if (q(v))
4629
+ return v.clone();
4598
4630
  var p = typeof E == "object" ? E : {};
4599
4631
  return p.date = v, p.args = arguments, new ae(p);
4600
4632
  }, _ = R;
@@ -4609,9 +4641,12 @@ var Bi = { exports: {} };
4609
4641
  return E.parse = function(p) {
4610
4642
  this.$d = function(S) {
4611
4643
  var f = S.date, x = S.utc;
4612
- if (f === null) return /* @__PURE__ */ new Date(NaN);
4613
- if (_.u(f)) return /* @__PURE__ */ new Date();
4614
- if (f instanceof Date) return new Date(f);
4644
+ if (f === null)
4645
+ return /* @__PURE__ */ new Date(NaN);
4646
+ if (_.u(f))
4647
+ return /* @__PURE__ */ new Date();
4648
+ if (f instanceof Date)
4649
+ return new Date(f);
4615
4650
  if (typeof f == "string" && !/Z$/i.test(f)) {
4616
4651
  var H = f.match(M);
4617
4652
  if (H) {
@@ -4675,7 +4710,8 @@ var Bi = { exports: {} };
4675
4710
  if (x === g || x === C) {
4676
4711
  var L = this.clone().set(y, 1);
4677
4712
  L.$d[N](V), L.init(), this.$d = L.set(y, Math.min(this.$D, L.daysInMonth())).$d;
4678
- } else N && this.$d[N](V);
4713
+ } else
4714
+ N && this.$d[N](V);
4679
4715
  return this.init(), this;
4680
4716
  }, E.set = function(p, S) {
4681
4717
  return this.clone().$set(p, S);
@@ -4688,17 +4724,22 @@ var Bi = { exports: {} };
4688
4724
  var B = Z(x);
4689
4725
  return _.w(B.date(B.date() + Math.round(K * p)), x);
4690
4726
  };
4691
- if (H === g) return this.set(g, this.$M + p);
4692
- if (H === C) return this.set(C, this.$y + p);
4693
- if (H === u) return N(1);
4694
- if (H === h) return N(7);
4727
+ if (H === g)
4728
+ return this.set(g, this.$M + p);
4729
+ if (H === C)
4730
+ return this.set(C, this.$y + p);
4731
+ if (H === u)
4732
+ return N(1);
4733
+ if (H === h)
4734
+ return N(7);
4695
4735
  var V = (f = {}, f[l] = r, f[c] = i, f[a] = n, f)[H] || 1, L = this.$d.getTime() + p * V;
4696
4736
  return _.w(L, this);
4697
4737
  }, E.subtract = function(p, S) {
4698
4738
  return this.add(-1 * p, S);
4699
4739
  }, E.format = function(p) {
4700
4740
  var S = this, f = this.$locale();
4701
- if (!this.isValid()) return f.invalidDate || m;
4741
+ if (!this.isValid())
4742
+ return f.invalidDate || m;
4702
4743
  var x = p || "YYYY-MM-DDTHH:mm:ssZ", H = _.z(this), N = this.$H, V = this.$m, L = this.$M, K = f.weekdays, B = f.months, b = f.meridiem, F = function(ie, xe, Ee, He) {
4703
4744
  return ie && (ie[xe] || ie(S, x)) || Ee[xe].slice(0, He);
4704
4745
  }, re = function(ie) {
@@ -4802,7 +4843,8 @@ var Bi = { exports: {} };
4802
4843
  }, E.$locale = function() {
4803
4844
  return j[this.$L];
4804
4845
  }, E.locale = function(p, S) {
4805
- if (!p) return this.$L;
4846
+ if (!p)
4847
+ return this.$L;
4806
4848
  var f = this.clone(), x = ee(p, S, !0);
4807
4849
  return x && (f.$L = x), f;
4808
4850
  }, E.clone = function() {
@@ -4856,25 +4898,31 @@ var Ui = { exports: {} };
4856
4898
  if (this.$u) {
4857
4899
  var m = this.$d;
4858
4900
  this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
4859
- } else h.call(this);
4901
+ } else
4902
+ h.call(this);
4860
4903
  };
4861
4904
  var g = c.utcOffset;
4862
4905
  c.utcOffset = function(m, M) {
4863
4906
  var W = this.$utils().u;
4864
- if (W(m)) return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4907
+ if (W(m))
4908
+ return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4865
4909
  if (typeof m == "string" && (m = function(I) {
4866
4910
  I === void 0 && (I = "");
4867
4911
  var j = I.match(r);
4868
- if (!j) return null;
4912
+ if (!j)
4913
+ return null;
4869
4914
  var Y = ("" + j[0]).match(i) || ["-", 0, 0], q = Y[0], ee = 60 * +Y[1] + +Y[2];
4870
4915
  return ee === 0 ? 0 : q === "+" ? ee : -ee;
4871
- }(m), m === null)) return this;
4916
+ }(m), m === null))
4917
+ return this;
4872
4918
  var P = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4873
- if (M) return A.$offset = P, A.$u = m === 0, A;
4919
+ if (M)
4920
+ return A.$offset = P, A.$u = m === 0, A;
4874
4921
  if (m !== 0) {
4875
4922
  var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4876
4923
  (A = this.local().add(P + R, n)).$offset = P, A.$x.$localOffset = R;
4877
- } else A = this.utc();
4924
+ } else
4925
+ A = this.utc();
4878
4926
  return A;
4879
4927
  };
4880
4928
  var T = c.format;
@@ -4897,7 +4945,8 @@ var Ui = { exports: {} };
4897
4945
  };
4898
4946
  var y = c.diff;
4899
4947
  c.diff = function(m, M, W) {
4900
- if (m && this.$u === m.$u) return y.call(this, m, M, W);
4948
+ if (m && this.$u === m.$u)
4949
+ return y.call(this, m, M, W);
4901
4950
  var P = this.local(), A = l(m).local();
4902
4951
  return y.call(P, A, M, W);
4903
4952
  };
@@ -5343,7 +5392,8 @@ function il(e, t, n) {
5343
5392
  }, p = () => {
5344
5393
  n(7, I = 0), n(5, A = !1), clearInterval(Y);
5345
5394
  }, S = () => {
5346
- if (R) return;
5395
+ if (R)
5396
+ return;
5347
5397
  const b = new URL(`${y}/v1/player/${M}/payment/GetPaymentMethod`), F = new Headers();
5348
5398
  n(6, R = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", Fr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5349
5399
  const re = {
@@ -1,7 +1,20 @@
1
- "use strict";var Ji=Object.defineProperty,Yi=Object.defineProperties;var qi=Object.getOwnPropertyDescriptors;var or=Object.getOwnPropertySymbols;var Qi=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable;var on=(e,t,n)=>t in e?Ji(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ar=(e,t)=>{for(var n in t||(t={}))Qi.call(t,n)&&on(e,n,t[n]);if(or)for(var n of or(t))Ki.call(t,n)&&on(e,n,t[n]);return e},lr=(e,t)=>Yi(e,qi(t));var ye=(e,t,n)=>on(e,typeof t!="symbol"?t+"":t,n);var ur=(e,t,n)=>new Promise((r,i)=>{var s=c=>{try{l(n.next(c))}catch(u){i(u)}},a=c=>{try{l(n.throw(c))}catch(u){i(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,a);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function pe(){}const Xr=e=>e;function $i(e,t){for(const n in t)e[n]=t[n];return e}function Jr(e){return e()}function cr(){return Object.create(null)}function Re(e){e.forEach(Jr)}function Vt(e){return typeof e=="function"}function Yr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let At;function Tn(e,t){return e===t?!0:(At||(At=document.createElement("a")),At.href=t,e===At.href)}function es(e){return Object.keys(e).length===0}function qr(e,...t){if(e==null){for(const r of t)r(void 0);return pe}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ts(e,t,n){e.$$.on_destroy.push(qr(t,n))}function Ht(e,t,n,r){if(e){const i=Qr(e,t,n,r);return e[0](i)}}function Qr(e,t,n,r){return e[1]&&r?$i(n.ctx.slice(),e[1](r(t))):n.ctx}function Nt(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const s=[],a=Math.max(t.dirty.length,i.length);for(let l=0;l<a;l+=1)s[l]=t.dirty[l]|i[l];return s}return t.dirty|i}return t.dirty}function Pt(e,t,n,r,i,s){if(i){const a=Qr(t,n,r,s);e.p(a,i)}}function Rt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}const Kr=typeof window!="undefined";let ns=Kr?()=>window.performance.now():()=>Date.now(),Pn=Kr?e=>requestAnimationFrame(e):pe;const Ve=new Set;function $r(e){Ve.forEach(t=>{t.c(e)||(Ve.delete(t),t.f())}),Ve.size!==0&&Pn($r)}function rs(e){let t;return Ve.size===0&&Pn($r),{promise:new Promise(n=>{Ve.add(t={c:e,f:n})}),abort(){Ve.delete(t)}}}function $(e,t){e.appendChild(t)}function is(e,t,n){const r=Rn(e);if(!r.getElementById(t)){const i=te("style");i.id=t,i.textContent=n,ei(r,i)}}function Rn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ss(e){const t=te("style");return t.textContent="/* empty */",ei(Rn(e),t),t.sheet}function ei(e,t){return $(e.head||e,t),t.sheet}function _e(e,t,n){e.insertBefore(t,n||null)}function be(e){e.parentNode&&e.parentNode.removeChild(e)}function te(e){return document.createElement(e)}function hr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $e(e){return document.createTextNode(e)}function ft(){return $e(" ")}function ti(){return $e("")}function kt(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function G(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function os(e){return Array.from(e.childNodes)}function Xt(e,t){t=""+t,e.data!==t&&(e.data=t)}let _t;function as(){if(_t===void 0){_t=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){_t=!0}}return _t}function ls(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=te("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const i=as();let s;return i?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=kt(window,"message",a=>{a.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{s=kt(r.contentWindow,"resize",t),t()}),$(e,r),()=>{(i||s&&r.contentWindow)&&s(),be(r)}}function us(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function cs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Gt=new Map;let Ft=0;function hs(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function fs(e,t){const n={stylesheet:ss(t),rules:{}};return Gt.set(e,n),n}function fr(e,t,n,r,i,s,a,l=0){const c=16.666/r;let u=`{
1
+ "use strict";var Ji=Object.defineProperty,Yi=Object.defineProperties;var qi=Object.getOwnPropertyDescriptors;var or=Object.getOwnPropertySymbols;var Qi=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable;var on=(e,t,n)=>t in e?Ji(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ar=(e,t)=>{for(var n in t||(t={}))Qi.call(t,n)&&on(e,n,t[n]);if(or)for(var n of or(t))Ki.call(t,n)&&on(e,n,t[n]);return e},lr=(e,t)=>Yi(e,qi(t));var ye=(e,t,n)=>(on(e,typeof t!="symbol"?t+"":t,n),n);var ur=(e,t,n)=>new Promise((r,i)=>{var s=c=>{try{l(n.next(c))}catch(u){i(u)}},a=c=>{try{l(n.throw(c))}catch(u){i(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,a);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function pe(){}const Xr=e=>e;function $i(e,t){for(const n in t)e[n]=t[n];return e}function Jr(e){return e()}function cr(){return Object.create(null)}function Re(e){e.forEach(Jr)}function Vt(e){return typeof e=="function"}function Yr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let At;function Tn(e,t){return e===t?!0:(At||(At=document.createElement("a")),At.href=t,e===At.href)}function es(e){return Object.keys(e).length===0}function qr(e,...t){if(e==null){for(const r of t)r(void 0);return pe}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ts(e,t,n){e.$$.on_destroy.push(qr(t,n))}function Ht(e,t,n,r){if(e){const i=Qr(e,t,n,r);return e[0](i)}}function Qr(e,t,n,r){return e[1]&&r?$i(n.ctx.slice(),e[1](r(t))):n.ctx}function Nt(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const s=[],a=Math.max(t.dirty.length,i.length);for(let l=0;l<a;l+=1)s[l]=t.dirty[l]|i[l];return s}return t.dirty|i}return t.dirty}function Pt(e,t,n,r,i,s){if(i){const a=Qr(t,n,r,s);e.p(a,i)}}function Rt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}const Kr=typeof window!="undefined";let ns=Kr?()=>window.performance.now():()=>Date.now(),Pn=Kr?e=>requestAnimationFrame(e):pe;const Ve=new Set;function $r(e){Ve.forEach(t=>{t.c(e)||(Ve.delete(t),t.f())}),Ve.size!==0&&Pn($r)}function rs(e){let t;return Ve.size===0&&Pn($r),{promise:new Promise(n=>{Ve.add(t={c:e,f:n})}),abort(){Ve.delete(t)}}}function $(e,t){e.appendChild(t)}function is(e,t,n){const r=Rn(e);if(!r.getElementById(t)){const i=te("style");i.id=t,i.textContent=n,ei(r,i)}}function Rn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ss(e){const t=te("style");return t.textContent="/* empty */",ei(Rn(e),t),t.sheet}function ei(e,t){return $(e.head||e,t),t.sheet}function _e(e,t,n){e.insertBefore(t,n||null)}function be(e){e.parentNode&&e.parentNode.removeChild(e)}function te(e){return document.createElement(e)}function hr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $e(e){return document.createTextNode(e)}function ft(){return $e(" ")}function ti(){return $e("")}function kt(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function G(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function os(e){return Array.from(e.childNodes)}function Xt(e,t){t=""+t,e.data!==t&&(e.data=t)}let _t;function as(){if(_t===void 0){_t=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){_t=!0}}return _t}function ls(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=te("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const i=as();let s;return i?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=kt(window,"message",a=>{a.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{s=kt(r.contentWindow,"resize",t),t()}),$(e,r),()=>{(i||s&&r.contentWindow)&&s(),be(r)}}function us(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function cs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Gt=new Map;let Ft=0;function hs(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function fs(e,t){const n={stylesheet:ss(t),rules:{}};return Gt.set(e,n),n}function fr(e,t,n,r,i,s,a,l=0){const c=16.666/r;let u=`{
2
2
  `;for(let M=0;M<=1;M+=c){const W=t+(n-t)*s(M);u+=M*100+`%{${a(W,1-W)}}
3
3
  `}const h=u+`100% {${a(n,1-n)}}
4
- }`,g=`__svelte_${hs(h)}_${l}`,T=Rn(e),{stylesheet:C,rules:y}=Gt.get(T)||fs(T,e);y[g]||(y[g]=!0,C.insertRule(`@keyframes ${g} ${h}`,C.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${g} ${r}ms linear ${i}ms 1 both`,Ft+=1,g}function ms(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),i=n.length-r.length;i&&(e.style.animation=r.join(", "),Ft-=i,Ft||ps())}function ps(){Pn(()=>{Ft||(Gt.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&be(t)}),Gt.clear())})}let dt;function pt(e){dt=e}function ni(){if(!dt)throw new Error("Function called outside component initialization");return dt}function ds(e){ni().$$.on_mount.push(e)}function gs(e){ni().$$.on_destroy.push(e)}const Ze=[],zt=[];let Xe=[];const mr=[],bs=Promise.resolve();let xn=!1;function Es(){xn||(xn=!0,bs.then(me))}function Je(e){Xe.push(e)}const an=new Set;let je=0;function me(){if(je!==0)return;const e=dt;do{try{for(;je<Ze.length;){const t=Ze[je];je++,pt(t),ys(t.$$)}}catch(t){throw Ze.length=0,je=0,t}for(pt(null),Ze.length=0,je=0;zt.length;)zt.pop()();for(let t=0;t<Xe.length;t+=1){const n=Xe[t];an.has(n)||(an.add(n),n())}Xe.length=0}while(Ze.length);for(;mr.length;)mr.pop()();xn=!1,an.clear(),pt(e)}function ys(e){if(e.fragment!==null){e.update(),Re(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Je)}}function Ts(e){const t=[],n=[];Xe.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Xe=t}let st;function xs(){return st||(st=Promise.resolve(),st.then(()=>{st=null})),st}function ln(e,t,n){e.dispatchEvent(us(`${t?"intro":"outro"}${n}`))}const Lt=new Set;let Me;function ri(){Me={r:0,c:[],p:Me}}function ii(){Me.r||Re(Me.c),Me=Me.p}function Ae(e,t){e&&e.i&&(Lt.delete(e),e.i(t))}function Ne(e,t,n,r){if(e&&e.o){if(Lt.has(e))return;Lt.add(e),Me.c.push(()=>{Lt.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const vs={duration:0};function pr(e,t,n,r){let s=t(e,n,{direction:"both"}),a=r?0:1,l=null,c=null,u=null,h;function g(){u&&ms(e,u)}function T(y,m){const M=y.b-a;return m*=Math.abs(M),{a,b:y.b,d:M,duration:m,start:y.start,end:y.start+m,group:y.group}}function C(y){const{delay:m=0,duration:M=300,easing:W=Xr,tick:P=pe,css:A}=s||vs,R={start:ns()+m,b:y};y||(R.group=Me,Me.r+=1),"inert"in e&&(y?h!==void 0&&(e.inert=h):(h=e.inert,e.inert=!0)),l||c?c=R:(A&&(g(),u=fr(e,a,y,M,m,W,A)),y&&P(0,1),l=T(R,M),Je(()=>ln(e,y,"start")),rs(I=>{if(c&&I>c.start&&(l=T(c,M),c=null,ln(e,l.b,"start"),A&&(g(),u=fr(e,a,l.b,l.duration,0,W,s.css))),l){if(I>=l.end)P(a=l.b,1-a),ln(e,l.b,"end"),c||(l.b?g():--l.group.r||Re(l.group.c)),l=null;else if(I>=l.start){const j=I-l.start;a=l.a+l.d*W(j/l.duration),P(a,1-a)}}return!!(l||c)}))}return{run(y){Vt(s)?xs().then(()=>{s=s({direction:y?"in":"out"}),C(y)}):C(y)},end(){g(),l=c=null}}}function Ss(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Je(()=>{const s=e.$$.on_mount.map(Jr).filter(Vt);e.$$.on_destroy?e.$$.on_destroy.push(...s):Re(s),e.$$.on_mount=[]}),i.forEach(Je)}function ws(e,t){const n=e.$$;n.fragment!==null&&(Ts(n.after_update),Re(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function As(e,t){e.$$.dirty[0]===-1&&(Ze.push(e),Es(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function _s(e,t,n,r,i,s,a=null,l=[-1]){const c=dt;pt(e);const u=e.$$={fragment:null,ctx:[],props:s,update:pe,not_equal:i,bound:cr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:cr(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let h=!1;if(u.ctx=n?n(e,t.props||{},(g,T,...C)=>{const y=C.length?C[0]:T;return u.ctx&&i(u.ctx[g],u.ctx[g]=y)&&(!u.skip_bound&&u.bound[g]&&u.bound[g](y),h&&As(e,g)),T}):[],u.update(),h=!0,Re(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const g=os(t.target);u.fragment&&u.fragment.l(g),g.forEach(be)}else u.fragment&&u.fragment.c();t.intro&&Ae(e.$$.fragment),Ss(e,t.target,t.anchor),me()}pt(c)}let si;typeof HTMLElement=="function"&&(si=class extends HTMLElement{constructor(t,n,r){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return ur(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=te("slot"),s!=="default"&&G(a,"name",s)},m:function(u,h){_e(u,a,h)},d:function(u){u&&be(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=cs(this);for(const s of this.$$s)s in r&&(n[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=It(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:lr(ar({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=It(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const l=this.$$c.$on(s,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=It(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function It(e,t,n,r){var s;const i=(s=n[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Os(e,t,n,r,i,s){let a=class extends si{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=It(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),r.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=a,a}class Cs{constructor(){ye(this,"$$");ye(this,"$$set")}$destroy(){ws(this,1),this.$destroy=pe}$on(t,n){if(!Vt(n))return pe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!es(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ms="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ms);function dr(e,{delay:t=0,duration:n=400,easing:r=Xr}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:s=>`opacity: ${s*i}`}}const We=[];function Hs(e,t){return{subscribe:Jt(e,t).subscribe}}function Jt(e,t=pe){let n;const r=new Set;function i(l){if(Yr(e,l)&&(e=l,n)){const c=!We.length;for(const u of r)u[1](),We.push(u,e);if(c){for(let u=0;u<We.length;u+=2)We[u][0](We[u+1]);We.length=0}}}function s(l){i(l(e))}function a(l,c=pe){const u=[l,c];return r.add(u),r.size===1&&(n=t(i,s)||pe),l(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:s,subscribe:a}}function et(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Hs(n,(a,l)=>{let c=!1;const u=[];let h=0,g=pe;const T=()=>{if(h)return;g();const y=t(r?u[0]:u,a,l);s?a(y):g=Vt(y)?y:pe},C=i.map((y,m)=>qr(y,M=>{u[m]=M,h&=~(1<<m),c&&T()},()=>{h|=1<<m}));return c=!0,T(),function(){Re(C),g(),c=!1}})}var oi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ln(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ns=function(t){return Ps(t)&&!Rs(t)};function Ps(e){return!!e&&typeof e=="object"}function Rs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ds(e)}var Ls=typeof Symbol=="function"&&Symbol.for,Is=Ls?Symbol.for("react.element"):60103;function Ds(e){return e.$$typeof===Is}function Bs(e){return Array.isArray(e)?[]:{}}function gt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ye(Bs(e),e,t):e}function Us(e,t,n){return e.concat(t).map(function(r){return gt(r,n)})}function ks(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return typeof n=="function"?n:Ye}function Gs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function gr(e){return Object.keys(e).concat(Gs(e))}function ai(e,t){try{return t in e}catch(n){return!1}}function Fs(e,t){return ai(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zs(e,t,n){var r={};return n.isMergeableObject(e)&&gr(e).forEach(function(i){r[i]=gt(e[i],n)}),gr(t).forEach(function(i){Fs(e,i)||(ai(e,i)&&n.isMergeableObject(t[i])?r[i]=ks(i,n)(e[i],t[i],n):r[i]=gt(t[i],n))}),r}function Ye(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Us,n.isMergeableObject=n.isMergeableObject||Ns,n.cloneUnlessOtherwiseSpecified=gt;var r=Array.isArray(t),i=Array.isArray(e),s=r===i;return s?r?n.arrayMerge(e,t,n):zs(e,t,n):gt(t,n)}Ye.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ye(r,i,n)},{})};var js=Ye,Ws=js;const Zs=Ln(Ws);var vn=function(e,t){return vn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},vn(e,t)};function Yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var z=function(){return z=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},z.apply(this,arguments)};function Vs(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function un(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}function cn(e,t){var n=t&&t.cache?t.cache:Ks,r=t&&t.serializer?t.serializer:Qs,i=t&&t.strategy?t.strategy:Js;return i(e,{cache:n,serializer:r})}function Xs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function li(e,t,n,r){var i=Xs(r)?r:n(r),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,r),t.set(i,s)),s}function ui(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,r),t.set(i,s)),s}function In(e,t,n,r,i){return n.bind(t,e,r,i)}function Js(e,t){var n=e.length===1?li:ui;return In(e,this,n,t.cache.create(),t.serializer)}function Ys(e,t){return In(e,this,ui,t.cache.create(),t.serializer)}function qs(e,t){return In(e,this,li,t.cache.create(),t.serializer)}var Qs=function(){return JSON.stringify(arguments)};function Dn(){this.cache=Object.create(null)}Dn.prototype.get=function(e){return this.cache[e]};Dn.prototype.set=function(e,t){this.cache[e]=t};var Ks={create:function(){return new Dn}},hn={variadic:Ys,monadic:qs},U;(function(e){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"})(U||(U={}));var J;(function(e){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"})(J||(J={}));var qe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(qe||(qe={}));function br(e){return e.type===J.literal}function $s(e){return e.type===J.argument}function ci(e){return e.type===J.number}function hi(e){return e.type===J.date}function fi(e){return e.type===J.time}function mi(e){return e.type===J.select}function pi(e){return e.type===J.plural}function eo(e){return e.type===J.pound}function di(e){return e.type===J.tag}function gi(e){return!!(e&&typeof e=="object"&&e.type===qe.number)}function Sn(e){return!!(e&&typeof e=="object"&&e.type===qe.dateTime)}var bi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,to=/(?:[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;function no(e){var t={};return e.replace(to,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ro=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function io(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ro).filter(function(T){return T.length>0}),n=[],r=0,i=t;r<i.length;r++){var s=i[r],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,h=c;u<h.length;u++){var g=h[u];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:c})}return n}function so(e){return e.replace(/^(.*?)-/,"")}var Er=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ei=/^(@+)?(\+|#+)?[rs]?$/g,oo=/(\*)(0+)|(#+)(0+)|(0+)/g,yi=/^(0+)$/;function yr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ei,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Ti(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ao(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!yi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Tr(e){var t={},n=Ti(e);return n||t}function lo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=so(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=z(z(z({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return z(z({},c),Tr(u))},{}));continue;case"engineering":t=z(z(z({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return z(z({},c),Tr(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(oo,function(c,u,h,g,T,C){if(u)t.minimumIntegerDigits=h.length;else{if(g&&T)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if(yi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Er.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Er,function(c,u,h,g,T,C){return h==="*"?t.minimumFractionDigits=u.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:T&&C?(t.minimumFractionDigits=T.length,t.maximumFractionDigits=T.length+C.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=z(z({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=z(z({},t),yr(s)));continue}if(Ei.test(i.stem)){t=z(z({},t),yr(i.stem));continue}var a=Ti(i.stem);a&&(t=z(z({},t),a));var l=ao(i.stem);l&&(t=z(z({},t),l))}return t}var Ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function uo(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var s=0;r+1<e.length&&e.charAt(r+1)===i;)s++,r++;var a=1+(s&1),l=s<2?1:3+(s>>1),c="a",u=co(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)n+=c;for(;a-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function co(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=Ot[r||""]||Ot[n||""]||Ot["".concat(n,"-001")]||Ot["001"];return i[0]}var fn,ho=new RegExp("^".concat(bi.source,"*")),fo=new RegExp("".concat(bi.source,"*$"));function k(e,t){return{start:e,end:t}}var mo=!!String.prototype.startsWith&&"_a".startsWith("a",1),po=!!String.fromCodePoint,go=!!Object.fromEntries,bo=!!String.prototype.codePointAt,Eo=!!String.prototype.trimStart,yo=!!String.prototype.trimEnd,To=!!Number.isSafeInteger,xo=To?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wn=!0;try{var vo=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wn=((fn=vo.exec("a"))===null||fn===void 0?void 0:fn[0])==="a"}catch(e){wn=!1}var xr=mo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},An=po?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},vr=go?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var s=i[r],a=s[0],l=s[1];n[a]=l}return n},xi=bo?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),s;return i<55296||i>56319||n+1===r||(s=t.charCodeAt(n+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},So=Eo?function(t){return t.trimStart()}:function(t){return t.replace(ho,"")},wo=yo?function(t){return t.trimEnd()}:function(t){return t.replace(fo,"")};function vi(e,t){return new RegExp(e,t)}var _n;if(wn){var Sr=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_n=function(t,n){var r;Sr.lastIndex=n;var i=Sr.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else _n=function(t,n){for(var r=[];;){var i=xi(t,n);if(i===void 0||Si(i)||Co(i))break;r.push(i),n+=i>=65536?2:1}return An.apply(void 0,r)};var Ao=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,r);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:J.pound,location:k(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(U.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&On(this.peek()||0)){var a=this.parseTag(t,n);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,n);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:k(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,n,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!On(this.char()))return this.error(U.INVALID_TAG,k(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(U.UNMATCHED_CLOSING_TAG,k(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:a,location:k(r,this.clonePosition())},err:null}:this.error(U.INVALID_TAG,k(l,this.clonePosition())))}else return this.error(U.UNCLOSED_TAG,k(r,this.clonePosition()))}else return this.error(U.INVALID_TAG,k(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Oo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var s=this.tryParseQuote(n);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,n);if(a){i+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=k(r,this.clonePosition());return{val:{type:J.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_o(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return An.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),An(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(U.EMPTY_ARGUMENT,k(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(U.MALFORMED_ARGUMENT,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:k(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(U.MALFORMED_ARGUMENT,k(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=_n(this.message,n),i=n+r.length;this.bumpTo(i);var s=this.clonePosition(),a=k(t,s);return{value:r,location:a}},e.prototype.parseArgumentOptions=function(t,n,r,i){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(U.EXPECT_ARGUMENT_TYPE,k(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var T=wo(g.val);if(T.length===0)return this.error(U.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var C=k(h,this.clonePosition());u={style:T,styleLocation:C}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var m=k(i,this.clonePosition());if(u&&xr(u==null?void 0:u.style,"::",0)){var M=So(u.style.slice(2));if(l==="number"){var g=this.parseNumberSkeletonFromString(M,u.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:m,style:g.val},err:null}}else{if(M.length===0)return this.error(U.EXPECT_DATE_TIME_SKELETON,m);var W=M;this.locale&&(W=uo(M,this.locale));var T={type:qe.dateTime,pattern:W,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?no(W):{}},P=l==="date"?J.date:J.time;return{val:{type:P,value:r,location:m,style:T},err:null}}}return{val:{type:l==="number"?J.number:l==="date"?J.date:J.time,value:r,location:m,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS,k(A,z({},A)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),I=0;if(l!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),R=this.parseIdentifierIfPossible(),I=g.val}var j=this.tryParsePluralOrSelectOptions(t,l,n,R);if(j.err)return j;var y=this.tryParseArgumentClose(i);if(y.err)return y;var Y=k(i,this.clonePosition());return l==="select"?{val:{type:J.select,value:r,options:vr(j.val),location:Y},err:null}:{val:{type:J.plural,value:r,options:vr(j.val),offset:I,pluralType:l==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(U.INVALID_ARGUMENT_TYPE,k(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(U.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=io(t)}catch(i){return this.error(U.INVALID_NUMBER_SKELETON,n)}return{val:{type:qe.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?lo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var s,a=!1,l=[],c=new Set,u=i.value,h=i.location;;){if(u.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var T=this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR,U.INVALID_PLURAL_ARGUMENT_SELECTOR);if(T.err)return T;h=k(g,this.clonePosition()),u=this.message.slice(g.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?U.DUPLICATE_SELECT_ARGUMENT_SELECTOR:U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var m=this.tryParseArgumentClose(C);if(m.err)return m;l.push([u,{value:y.val,location:k(C,this.clonePosition())}]),c.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return l.length===0?this.error(n==="select"?U.EXPECT_SELECT_ARGUMENT_SELECTOR:U.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(U.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var c=k(i,this.clonePosition());return s?(a*=r,xo(a)?{val:a,err:null}:this.error(n,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=xi(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();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)}},e.prototype.bumpIf=function(t){if(xr(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Si(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function On(e){return e>=97&&e<=122||e>=65&&e<=90}function _o(e){return On(e)||e===47}function Oo(e){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}function Si(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Co(e){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}function Cn(e){e.forEach(function(t){if(delete t.location,mi(t)||pi(t))for(var n in t.options)delete t.options[n].location,Cn(t.options[n].value);else ci(t)&&gi(t.style)||(hi(t)||fi(t))&&Sn(t.style)?delete t.style.location:di(t)&&Cn(t.children)})}function Mo(e,t){t===void 0&&(t={}),t=z({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ao(e,t).parse();if(n.err){var r=SyntaxError(U[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Cn(n.val),n.val}var Qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Qe||(Qe={}));var qt=function(e){Yt(t,e);function t(n,r,i){var s=e.call(this,n)||this;return s.code=r,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),wr=function(e){Yt(t,e);function t(n,r,i,s){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Qe.INVALID_VALUE,s)||this}return t}(qt),Ho=function(e){Yt(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Qe.INVALID_VALUE,i)||this}return t}(qt),No=function(e){Yt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Qe.MISSING_VALUE,r)||this}return t}(qt),ce;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ce||(ce={}));function Po(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ce.literal||n.type!==ce.literal?t.push(n):r.value+=n.value,t},[])}function Ro(e){return typeof e=="function"}function Dt(e,t,n,r,i,s,a){if(e.length===1&&br(e[0]))return[{type:ce.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var h=u[c];if(br(h)){l.push({type:ce.literal,value:h.value});continue}if(eo(h)){typeof s=="number"&&l.push({type:ce.literal,value:n.getNumberFormat(t).format(s)});continue}var g=h.value;if(!(i&&g in i))throw new No(g,a);var T=i[g];if($s(h)){(!T||typeof T=="string"||typeof T=="number")&&(T=typeof T=="string"||typeof T=="number"?String(T):""),l.push({type:typeof T=="string"?ce.literal:ce.object,value:T});continue}if(hi(h)){var C=typeof h.style=="string"?r.date[h.style]:Sn(h.style)?h.style.parsedOptions:void 0;l.push({type:ce.literal,value:n.getDateTimeFormat(t,C).format(T)});continue}if(fi(h)){var C=typeof h.style=="string"?r.time[h.style]:Sn(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:ce.literal,value:n.getDateTimeFormat(t,C).format(T)});continue}if(ci(h)){var C=typeof h.style=="string"?r.number[h.style]:gi(h.style)?h.style.parsedOptions:void 0;C&&C.scale&&(T=T*(C.scale||1)),l.push({type:ce.literal,value:n.getNumberFormat(t,C).format(T)});continue}if(di(h)){var y=h.children,m=h.value,M=i[m];if(!Ro(M))throw new Ho(m,"function",a);var W=Dt(y,t,n,r,i,s),P=M(W.map(function(I){return I.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(I){return{type:typeof I=="string"?ce.literal:ce.object,value:I}}))}if(mi(h)){var A=h.options[T]||h.options.other;if(!A)throw new wr(h.value,T,Object.keys(h.options),a);l.push.apply(l,Dt(A.value,t,n,r,i));continue}if(pi(h)){var A=h.options["=".concat(T)];if(!A){if(!Intl.PluralRules)throw new qt(`Intl.PluralRules is not available in this environment.
4
+ }`,g=`__svelte_${hs(h)}_${l}`,T=Rn(e),{stylesheet:C,rules:y}=Gt.get(T)||fs(T,e);y[g]||(y[g]=!0,C.insertRule(`@keyframes ${g} ${h}`,C.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${g} ${r}ms linear ${i}ms 1 both`,Ft+=1,g}function ms(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),i=n.length-r.length;i&&(e.style.animation=r.join(", "),Ft-=i,Ft||ps())}function ps(){Pn(()=>{Ft||(Gt.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&be(t)}),Gt.clear())})}let dt;function pt(e){dt=e}function ni(){if(!dt)throw new Error("Function called outside component initialization");return dt}function ds(e){ni().$$.on_mount.push(e)}function gs(e){ni().$$.on_destroy.push(e)}const Ze=[],zt=[];let Xe=[];const mr=[],bs=Promise.resolve();let xn=!1;function Es(){xn||(xn=!0,bs.then(me))}function Je(e){Xe.push(e)}const an=new Set;let je=0;function me(){if(je!==0)return;const e=dt;do{try{for(;je<Ze.length;){const t=Ze[je];je++,pt(t),ys(t.$$)}}catch(t){throw Ze.length=0,je=0,t}for(pt(null),Ze.length=0,je=0;zt.length;)zt.pop()();for(let t=0;t<Xe.length;t+=1){const n=Xe[t];an.has(n)||(an.add(n),n())}Xe.length=0}while(Ze.length);for(;mr.length;)mr.pop()();xn=!1,an.clear(),pt(e)}function ys(e){if(e.fragment!==null){e.update(),Re(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Je)}}function Ts(e){const t=[],n=[];Xe.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Xe=t}let st;function xs(){return st||(st=Promise.resolve(),st.then(()=>{st=null})),st}function ln(e,t,n){e.dispatchEvent(us(`${t?"intro":"outro"}${n}`))}const Lt=new Set;let Me;function ri(){Me={r:0,c:[],p:Me}}function ii(){Me.r||Re(Me.c),Me=Me.p}function Ae(e,t){e&&e.i&&(Lt.delete(e),e.i(t))}function Ne(e,t,n,r){if(e&&e.o){if(Lt.has(e))return;Lt.add(e),Me.c.push(()=>{Lt.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const vs={duration:0};function pr(e,t,n,r){let s=t(e,n,{direction:"both"}),a=r?0:1,l=null,c=null,u=null,h;function g(){u&&ms(e,u)}function T(y,m){const M=y.b-a;return m*=Math.abs(M),{a,b:y.b,d:M,duration:m,start:y.start,end:y.start+m,group:y.group}}function C(y){const{delay:m=0,duration:M=300,easing:W=Xr,tick:P=pe,css:A}=s||vs,R={start:ns()+m,b:y};y||(R.group=Me,Me.r+=1),"inert"in e&&(y?h!==void 0&&(e.inert=h):(h=e.inert,e.inert=!0)),l||c?c=R:(A&&(g(),u=fr(e,a,y,M,m,W,A)),y&&P(0,1),l=T(R,M),Je(()=>ln(e,y,"start")),rs(I=>{if(c&&I>c.start&&(l=T(c,M),c=null,ln(e,l.b,"start"),A&&(g(),u=fr(e,a,l.b,l.duration,0,W,s.css))),l){if(I>=l.end)P(a=l.b,1-a),ln(e,l.b,"end"),c||(l.b?g():--l.group.r||Re(l.group.c)),l=null;else if(I>=l.start){const j=I-l.start;a=l.a+l.d*W(j/l.duration),P(a,1-a)}}return!!(l||c)}))}return{run(y){Vt(s)?xs().then(()=>{s=s({direction:y?"in":"out"}),C(y)}):C(y)},end(){g(),l=c=null}}}function Ss(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Je(()=>{const s=e.$$.on_mount.map(Jr).filter(Vt);e.$$.on_destroy?e.$$.on_destroy.push(...s):Re(s),e.$$.on_mount=[]}),i.forEach(Je)}function ws(e,t){const n=e.$$;n.fragment!==null&&(Ts(n.after_update),Re(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function As(e,t){e.$$.dirty[0]===-1&&(Ze.push(e),Es(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function _s(e,t,n,r,i,s,a=null,l=[-1]){const c=dt;pt(e);const u=e.$$={fragment:null,ctx:[],props:s,update:pe,not_equal:i,bound:cr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:cr(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let h=!1;if(u.ctx=n?n(e,t.props||{},(g,T,...C)=>{const y=C.length?C[0]:T;return u.ctx&&i(u.ctx[g],u.ctx[g]=y)&&(!u.skip_bound&&u.bound[g]&&u.bound[g](y),h&&As(e,g)),T}):[],u.update(),h=!0,Re(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const g=os(t.target);u.fragment&&u.fragment.l(g),g.forEach(be)}else u.fragment&&u.fragment.c();t.intro&&Ae(e.$$.fragment),Ss(e,t.target,t.anchor),me()}pt(c)}let si;typeof HTMLElement=="function"&&(si=class extends HTMLElement{constructor(t,n,r){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return ur(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=te("slot"),s!=="default"&&G(a,"name",s)},m:function(u,h){_e(u,a,h)},d:function(u){u&&be(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=cs(this);for(const s of this.$$s)s in r&&(n[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=It(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:lr(ar({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=It(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const l=this.$$c.$on(s,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=It(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function It(e,t,n,r){var s;const i=(s=n[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Os(e,t,n,r,i,s){let a=class extends si{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=It(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),r.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=a,a}class Cs{constructor(){ye(this,"$$");ye(this,"$$set")}$destroy(){ws(this,1),this.$destroy=pe}$on(t,n){if(!Vt(n))return pe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!es(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ms="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ms);function dr(e,{delay:t=0,duration:n=400,easing:r=Xr}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:s=>`opacity: ${s*i}`}}const We=[];function Hs(e,t){return{subscribe:Jt(e,t).subscribe}}function Jt(e,t=pe){let n;const r=new Set;function i(l){if(Yr(e,l)&&(e=l,n)){const c=!We.length;for(const u of r)u[1](),We.push(u,e);if(c){for(let u=0;u<We.length;u+=2)We[u][0](We[u+1]);We.length=0}}}function s(l){i(l(e))}function a(l,c=pe){const u=[l,c];return r.add(u),r.size===1&&(n=t(i,s)||pe),l(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:s,subscribe:a}}function et(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Hs(n,(a,l)=>{let c=!1;const u=[];let h=0,g=pe;const T=()=>{if(h)return;g();const y=t(r?u[0]:u,a,l);s?a(y):g=Vt(y)?y:pe},C=i.map((y,m)=>qr(y,M=>{u[m]=M,h&=~(1<<m),c&&T()},()=>{h|=1<<m}));return c=!0,T(),function(){Re(C),g(),c=!1}})}var oi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ln(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ns=function(t){return Ps(t)&&!Rs(t)};function Ps(e){return!!e&&typeof e=="object"}function Rs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ds(e)}var Ls=typeof Symbol=="function"&&Symbol.for,Is=Ls?Symbol.for("react.element"):60103;function Ds(e){return e.$$typeof===Is}function Bs(e){return Array.isArray(e)?[]:{}}function gt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ye(Bs(e),e,t):e}function Us(e,t,n){return e.concat(t).map(function(r){return gt(r,n)})}function ks(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return typeof n=="function"?n:Ye}function Gs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function gr(e){return Object.keys(e).concat(Gs(e))}function ai(e,t){try{return t in e}catch(n){return!1}}function Fs(e,t){return ai(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zs(e,t,n){var r={};return n.isMergeableObject(e)&&gr(e).forEach(function(i){r[i]=gt(e[i],n)}),gr(t).forEach(function(i){Fs(e,i)||(ai(e,i)&&n.isMergeableObject(t[i])?r[i]=ks(i,n)(e[i],t[i],n):r[i]=gt(t[i],n))}),r}function Ye(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Us,n.isMergeableObject=n.isMergeableObject||Ns,n.cloneUnlessOtherwiseSpecified=gt;var r=Array.isArray(t),i=Array.isArray(e),s=r===i;return s?r?n.arrayMerge(e,t,n):zs(e,t,n):gt(t,n)}Ye.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ye(r,i,n)},{})};var js=Ye,Ws=js;const Zs=Ln(Ws);/*! *****************************************************************************
5
+ Copyright (c) Microsoft Corporation.
6
+
7
+ Permission to use, copy, modify, and/or distribute this software for any
8
+ purpose with or without fee is hereby granted.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
+ PERFORMANCE OF THIS SOFTWARE.
17
+ ***************************************************************************** */var vn=function(e,t){return vn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},vn(e,t)};function Yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var z=function(){return z=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},z.apply(this,arguments)};function Vs(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function un(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||t)}function cn(e,t){var n=t&&t.cache?t.cache:Ks,r=t&&t.serializer?t.serializer:Qs,i=t&&t.strategy?t.strategy:Js;return i(e,{cache:n,serializer:r})}function Xs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function li(e,t,n,r){var i=Xs(r)?r:n(r),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,r),t.set(i,s)),s}function ui(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,r),t.set(i,s)),s}function In(e,t,n,r,i){return n.bind(t,e,r,i)}function Js(e,t){var n=e.length===1?li:ui;return In(e,this,n,t.cache.create(),t.serializer)}function Ys(e,t){return In(e,this,ui,t.cache.create(),t.serializer)}function qs(e,t){return In(e,this,li,t.cache.create(),t.serializer)}var Qs=function(){return JSON.stringify(arguments)};function Dn(){this.cache=Object.create(null)}Dn.prototype.get=function(e){return this.cache[e]};Dn.prototype.set=function(e,t){this.cache[e]=t};var Ks={create:function(){return new Dn}},hn={variadic:Ys,monadic:qs},U;(function(e){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"})(U||(U={}));var J;(function(e){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"})(J||(J={}));var qe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(qe||(qe={}));function br(e){return e.type===J.literal}function $s(e){return e.type===J.argument}function ci(e){return e.type===J.number}function hi(e){return e.type===J.date}function fi(e){return e.type===J.time}function mi(e){return e.type===J.select}function pi(e){return e.type===J.plural}function eo(e){return e.type===J.pound}function di(e){return e.type===J.tag}function gi(e){return!!(e&&typeof e=="object"&&e.type===qe.number)}function Sn(e){return!!(e&&typeof e=="object"&&e.type===qe.dateTime)}var bi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,to=/(?:[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;function no(e){var t={};return e.replace(to,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ro=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function io(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ro).filter(function(T){return T.length>0}),n=[],r=0,i=t;r<i.length;r++){var s=i[r],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,h=c;u<h.length;u++){var g=h[u];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:c})}return n}function so(e){return e.replace(/^(.*?)-/,"")}var Er=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ei=/^(@+)?(\+|#+)?[rs]?$/g,oo=/(\*)(0+)|(#+)(0+)|(0+)/g,yi=/^(0+)$/;function yr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ei,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Ti(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ao(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!yi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Tr(e){var t={},n=Ti(e);return n||t}function lo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=so(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=z(z(z({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return z(z({},c),Tr(u))},{}));continue;case"engineering":t=z(z(z({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return z(z({},c),Tr(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(oo,function(c,u,h,g,T,C){if(u)t.minimumIntegerDigits=h.length;else{if(g&&T)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if(yi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Er.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Er,function(c,u,h,g,T,C){return h==="*"?t.minimumFractionDigits=u.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:T&&C?(t.minimumFractionDigits=T.length,t.maximumFractionDigits=T.length+C.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=z(z({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=z(z({},t),yr(s)));continue}if(Ei.test(i.stem)){t=z(z({},t),yr(i.stem));continue}var a=Ti(i.stem);a&&(t=z(z({},t),a));var l=ao(i.stem);l&&(t=z(z({},t),l))}return t}var Ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function uo(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var s=0;r+1<e.length&&e.charAt(r+1)===i;)s++,r++;var a=1+(s&1),l=s<2?1:3+(s>>1),c="a",u=co(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)n+=c;for(;a-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function co(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=Ot[r||""]||Ot[n||""]||Ot["".concat(n,"-001")]||Ot["001"];return i[0]}var fn,ho=new RegExp("^".concat(bi.source,"*")),fo=new RegExp("".concat(bi.source,"*$"));function k(e,t){return{start:e,end:t}}var mo=!!String.prototype.startsWith&&"_a".startsWith("a",1),po=!!String.fromCodePoint,go=!!Object.fromEntries,bo=!!String.prototype.codePointAt,Eo=!!String.prototype.trimStart,yo=!!String.prototype.trimEnd,To=!!Number.isSafeInteger,xo=To?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wn=!0;try{var vo=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wn=((fn=vo.exec("a"))===null||fn===void 0?void 0:fn[0])==="a"}catch(e){wn=!1}var xr=mo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},An=po?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},vr=go?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var s=i[r],a=s[0],l=s[1];n[a]=l}return n},xi=bo?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),s;return i<55296||i>56319||n+1===r||(s=t.charCodeAt(n+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},So=Eo?function(t){return t.trimStart()}:function(t){return t.replace(ho,"")},wo=yo?function(t){return t.trimEnd()}:function(t){return t.replace(fo,"")};function vi(e,t){return new RegExp(e,t)}var _n;if(wn){var Sr=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_n=function(t,n){var r;Sr.lastIndex=n;var i=Sr.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else _n=function(t,n){for(var r=[];;){var i=xi(t,n);if(i===void 0||Si(i)||Co(i))break;r.push(i),n+=i>=65536?2:1}return An.apply(void 0,r)};var Ao=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,r);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:J.pound,location:k(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(U.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&On(this.peek()||0)){var a=this.parseTag(t,n);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,n);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:k(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,n,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!On(this.char()))return this.error(U.INVALID_TAG,k(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(U.UNMATCHED_CLOSING_TAG,k(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:a,location:k(r,this.clonePosition())},err:null}:this.error(U.INVALID_TAG,k(l,this.clonePosition())))}else return this.error(U.UNCLOSED_TAG,k(r,this.clonePosition()))}else return this.error(U.INVALID_TAG,k(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Oo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var s=this.tryParseQuote(n);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,n);if(a){i+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=k(r,this.clonePosition());return{val:{type:J.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_o(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return An.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),An(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(U.EMPTY_ARGUMENT,k(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(U.MALFORMED_ARGUMENT,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:k(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(U.MALFORMED_ARGUMENT,k(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=_n(this.message,n),i=n+r.length;this.bumpTo(i);var s=this.clonePosition(),a=k(t,s);return{value:r,location:a}},e.prototype.parseArgumentOptions=function(t,n,r,i){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(U.EXPECT_ARGUMENT_TYPE,k(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var T=wo(g.val);if(T.length===0)return this.error(U.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var C=k(h,this.clonePosition());u={style:T,styleLocation:C}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var m=k(i,this.clonePosition());if(u&&xr(u==null?void 0:u.style,"::",0)){var M=So(u.style.slice(2));if(l==="number"){var g=this.parseNumberSkeletonFromString(M,u.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:m,style:g.val},err:null}}else{if(M.length===0)return this.error(U.EXPECT_DATE_TIME_SKELETON,m);var W=M;this.locale&&(W=uo(M,this.locale));var T={type:qe.dateTime,pattern:W,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?no(W):{}},P=l==="date"?J.date:J.time;return{val:{type:P,value:r,location:m,style:T},err:null}}}return{val:{type:l==="number"?J.number:l==="date"?J.date:J.time,value:r,location:m,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS,k(A,z({},A)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),I=0;if(l!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),R=this.parseIdentifierIfPossible(),I=g.val}var j=this.tryParsePluralOrSelectOptions(t,l,n,R);if(j.err)return j;var y=this.tryParseArgumentClose(i);if(y.err)return y;var Y=k(i,this.clonePosition());return l==="select"?{val:{type:J.select,value:r,options:vr(j.val),location:Y},err:null}:{val:{type:J.plural,value:r,options:vr(j.val),offset:I,pluralType:l==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(U.INVALID_ARGUMENT_TYPE,k(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE,k(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(U.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=io(t)}catch(i){return this.error(U.INVALID_NUMBER_SKELETON,n)}return{val:{type:qe.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?lo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var s,a=!1,l=[],c=new Set,u=i.value,h=i.location;;){if(u.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var T=this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR,U.INVALID_PLURAL_ARGUMENT_SELECTOR);if(T.err)return T;h=k(g,this.clonePosition()),u=this.message.slice(g.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?U.DUPLICATE_SELECT_ARGUMENT_SELECTOR:U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var m=this.tryParseArgumentClose(C);if(m.err)return m;l.push([u,{value:y.val,location:k(C,this.clonePosition())}]),c.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return l.length===0?this.error(n==="select"?U.EXPECT_SELECT_ARGUMENT_SELECTOR:U.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(U.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var c=k(i,this.clonePosition());return s?(a*=r,xo(a)?{val:a,err:null}:this.error(n,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=xi(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();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)}},e.prototype.bumpIf=function(t){if(xr(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Si(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function On(e){return e>=97&&e<=122||e>=65&&e<=90}function _o(e){return On(e)||e===47}function Oo(e){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}function Si(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Co(e){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}function Cn(e){e.forEach(function(t){if(delete t.location,mi(t)||pi(t))for(var n in t.options)delete t.options[n].location,Cn(t.options[n].value);else ci(t)&&gi(t.style)||(hi(t)||fi(t))&&Sn(t.style)?delete t.style.location:di(t)&&Cn(t.children)})}function Mo(e,t){t===void 0&&(t={}),t=z({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ao(e,t).parse();if(n.err){var r=SyntaxError(U[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Cn(n.val),n.val}var Qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Qe||(Qe={}));var qt=function(e){Yt(t,e);function t(n,r,i){var s=e.call(this,n)||this;return s.code=r,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),wr=function(e){Yt(t,e);function t(n,r,i,s){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Qe.INVALID_VALUE,s)||this}return t}(qt),Ho=function(e){Yt(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Qe.INVALID_VALUE,i)||this}return t}(qt),No=function(e){Yt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Qe.MISSING_VALUE,r)||this}return t}(qt),ce;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ce||(ce={}));function Po(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ce.literal||n.type!==ce.literal?t.push(n):r.value+=n.value,t},[])}function Ro(e){return typeof e=="function"}function Dt(e,t,n,r,i,s,a){if(e.length===1&&br(e[0]))return[{type:ce.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var h=u[c];if(br(h)){l.push({type:ce.literal,value:h.value});continue}if(eo(h)){typeof s=="number"&&l.push({type:ce.literal,value:n.getNumberFormat(t).format(s)});continue}var g=h.value;if(!(i&&g in i))throw new No(g,a);var T=i[g];if($s(h)){(!T||typeof T=="string"||typeof T=="number")&&(T=typeof T=="string"||typeof T=="number"?String(T):""),l.push({type:typeof T=="string"?ce.literal:ce.object,value:T});continue}if(hi(h)){var C=typeof h.style=="string"?r.date[h.style]:Sn(h.style)?h.style.parsedOptions:void 0;l.push({type:ce.literal,value:n.getDateTimeFormat(t,C).format(T)});continue}if(fi(h)){var C=typeof h.style=="string"?r.time[h.style]:Sn(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:ce.literal,value:n.getDateTimeFormat(t,C).format(T)});continue}if(ci(h)){var C=typeof h.style=="string"?r.number[h.style]:gi(h.style)?h.style.parsedOptions:void 0;C&&C.scale&&(T=T*(C.scale||1)),l.push({type:ce.literal,value:n.getNumberFormat(t,C).format(T)});continue}if(di(h)){var y=h.children,m=h.value,M=i[m];if(!Ro(M))throw new Ho(m,"function",a);var W=Dt(y,t,n,r,i,s),P=M(W.map(function(I){return I.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(I){return{type:typeof I=="string"?ce.literal:ce.object,value:I}}))}if(mi(h)){var A=h.options[T]||h.options.other;if(!A)throw new wr(h.value,T,Object.keys(h.options),a);l.push.apply(l,Dt(A.value,t,n,r,i));continue}if(pi(h)){var A=h.options["=".concat(T)];if(!A){if(!Intl.PluralRules)throw new qt(`Intl.PluralRules is not available in this environment.
5
18
  Try polyfilling it using "@formatjs/intl-pluralrules"
6
19
  `,Qe.MISSING_INTL_API,a);var R=n.getPluralRules(t,{type:h.pluralType}).select(T-(h.offset||0));A=h.options[R]||h.options.other}if(!A)throw new wr(h.value,T,Object.keys(h.options),a);l.push.apply(l,Dt(A.value,t,n,r,i,T-(h.offset||0)));continue}}return Po(l)}function Lo(e,t){return t?z(z(z({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=z(z({},e[r]),t[r]||{}),n},{})):e}function Io(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Lo(e[r],t[r]),n},z({},e)):e}function mn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Do(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:cn(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,un([void 0],n,!1)))},{cache:mn(e.number),strategy:hn.variadic}),getDateTimeFormat:cn(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,un([void 0],n,!1)))},{cache:mn(e.dateTime),strategy:hn.variadic}),getPluralRules:cn(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,un([void 0],n,!1)))},{cache:mn(e.pluralRules),strategy:hn.variadic})}}var wi=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=s.formatToParts(c);if(u.length===1)return u[0].value;var h=u.reduce(function(g,T){return!g.length||T.type!==ce.literal||typeof g[g.length-1]!="string"?g.push(T.value):g[g.length-1]+=T.value,g},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return Dt(s.ast,s.locales,s.formatters,s.formats,c,void 0,s.message)},this.resolvedOptions=function(){var c;return{locale:((c=s.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var l=Vs(a,["formatters"]);this.ast=e.__parse(t,z(z({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Io(e.formats,r),this.formatters=i&&i.formatters||Do(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Mo,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Bo(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const s=n.slice(i,n.length).join(".");if(s in r){r=r[s];break}}r=r[n[i]]}else r=void 0;return r}const Pe={},Uo=(e,t,n)=>n&&(t in Pe||(Pe[t]={}),e in Pe[t]||(Pe[t][e]=n),n),Ai=(e,t)=>{if(t==null)return;if(t in Pe&&e in Pe[t])return Pe[t][e];const n=yt(t);for(let r=0;r<n.length;r++){const i=n[r],s=Go(i,e);if(s)return Uo(e,t,s)}};let Bn;const Et=Jt({});function ko(e){return Bn[e]||null}function _i(e){return e in Bn}function Go(e,t){if(!_i(e))return null;const n=ko(e);return Bo(n,t)}function Fo(e){if(e==null)return;const t=yt(e);for(let n=0;n<t.length;n++){const r=t[n];if(_i(r))return r}}function Oi(e,...t){delete Pe[e],Et.update(n=>(n[e]=Zs.all([n[e]||{},...t]),n))}et([Et],([e])=>Object.keys(e));Et.subscribe(e=>Bn=e);const Bt={};function zo(e,t){Bt[e].delete(t),Bt[e].size===0&&delete Bt[e]}function Ci(e){return Bt[e]}function jo(e){return yt(e).map(t=>{const n=Ci(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function jt(e){return e==null?!1:yt(e).some(t=>{var n;return(n=Ci(t))==null?void 0:n.size})}function Wo(e,t){return Promise.all(t.map(r=>(zo(e,r),r().then(i=>i.default||i)))).then(r=>Oi(e,...r))}const ot={};function Mi(e){if(!jt(e))return e in ot?ot[e]:Promise.resolve();const t=jo(e);return ot[e]=Promise.all(t.map(([n,r])=>Wo(n,r))).then(()=>{if(jt(e))return Mi(e);delete ot[e]}),ot[e]}var Ar=Object.getOwnPropertySymbols,Zo=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,Xo=(e,t)=>{var n={};for(var r in e)Zo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ar)for(var r of Ar(e))t.indexOf(r)<0&&Vo.call(e,r)&&(n[r]=e[r]);return n};const Jo={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function Yo({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${yt(e).join('", "')}".${jt(Le())?`
7
20
 
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierSessionExpirationModal-Bj8mtVZ_.cjs")).then(({default:t})=>{!customElements.get("cashier-session-expiration-modal")&&customElements.define("cashier-session-expiration-modal",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierSessionExpirationModal-D948G-US.cjs")).then(({default:t})=>{!customElements.get("cashier-session-expiration-modal")&&customElements.define("cashier-session-expiration-modal",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierSessionExpirationModal-BouPsPp3.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierSessionExpirationModal-BtSiqTqt.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierSessionExpirationModal-BI8wy0Pg.js";
1
+ import { C as n } from "../components/CashierSessionExpirationModal-Bsqtt_D7.js";
2
2
  function i(s) {
3
3
  return function(...t) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-session-expiration-modal",
3
- "version": "1.55.0",
3
+ "version": "1.56.2",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-session-expiration-modal.js",
6
6
  "module": "esnext/cashier-session-expiration-modal.js",