@streamlayer/react 0.29.4 → 0.29.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  var Kc = Object.defineProperty;
2
2
  var Wc = (e, t, n) => t in e ? Kc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _ = (e, t, n) => (Wc(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { jsx as O, jsxs as ae, Fragment as zn } from "react/jsx-runtime";
4
+ import { jsx as O, jsxs as ae, Fragment as Kn } from "react/jsx-runtime";
5
5
  import * as v from "react";
6
- import On, { useCallback as jo, useSyncExternalStore as Zc, lazy as Jc, useMemo as oa, Suspense as Xc, useRef as el, useState as Pt, useEffect as An, createContext as tl, useContext as Qo } from "react";
6
+ import Ln, { useCallback as jo, useSyncExternalStore as Zc, lazy as Jc, useMemo as ia, Suspense as Xc, useRef as el, useState as Pt, useEffect as An, createContext as tl, useContext as Qo } from "react";
7
7
  const nl = {
8
8
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
9
9
  BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
@@ -86,7 +86,7 @@ function Me(e, t) {
86
86
  throw new Error(t);
87
87
  }
88
88
  const ol = 34028234663852886e22, il = -34028234663852886e22, cl = 4294967295, ll = 2147483647, ul = -2147483648;
89
- function Dn(e) {
89
+ function Fn(e) {
90
90
  if (typeof e != "number")
91
91
  throw new Error("invalid int 32: " + typeof e);
92
92
  if (!Number.isInteger(e) || e > ll || e < ul)
@@ -323,7 +323,7 @@ function wa(e, t, n) {
323
323
  n.push(t >>> 31 & 1);
324
324
  }
325
325
  }
326
- const Fn = 4294967296;
326
+ const Vn = 4294967296;
327
327
  function is(e) {
328
328
  const t = e[0] === "-";
329
329
  t && (e = e.slice(1));
@@ -331,7 +331,7 @@ function is(e) {
331
331
  let a = 0, s = 0;
332
332
  function c(u, l) {
333
333
  const p = Number(e.slice(u, l));
334
- s *= n, a = a * n + p, a >= Fn && (s = s + (a / Fn | 0), a = a % Fn);
334
+ s *= n, a = a * n + p, a >= Vn && (s = s + (a / Vn | 0), a = a % Vn);
335
335
  }
336
336
  return c(-24, -18), c(-18, -12), c(-12, -6), c(-6), t ? ei(a, s) : _r(a, s);
337
337
  }
@@ -344,7 +344,7 @@ function gl(e, t) {
344
344
  }
345
345
  function Xo(e, t) {
346
346
  if ({ lo: e, hi: t } = hl(e, t), t <= 2097151)
347
- return String(Fn * t + e);
347
+ return String(Vn * t + e);
348
348
  const n = e & 16777215, a = (e >>> 24 | t << 8) & 16777215, s = t >> 16 & 65535;
349
349
  let c = n + a * 6777216 + s * 6710656, u = a + s * 8147497, l = s * 2;
350
350
  const p = 1e7;
@@ -391,10 +391,10 @@ function Tl() {
391
391
  throw new Error("invalid varint");
392
392
  return this.assertBounds(), t >>> 0;
393
393
  }
394
- var En = {}, ti = {}, ia = {};
395
- ia.byteLength = bl;
396
- ia.toByteArray = _l;
397
- ia.fromByteArray = Rl;
394
+ var En = {}, ti = {}, ca = {};
395
+ ca.byteLength = bl;
396
+ ca.toByteArray = _l;
397
+ ca.fromByteArray = Rl;
398
398
  var Ke = [], Fe = [], kl = typeof Uint8Array < "u" ? Uint8Array : Array, va = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
399
399
  for (var qt = 0, Sl = va.length; qt < Sl; ++qt)
400
400
  Ke[qt] = va[qt], Fe[va.charCodeAt(qt)] = qt;
@@ -471,7 +471,7 @@ wr.write = function(e, t, n, a, s, c) {
471
471
  * @license MIT
472
472
  */
473
473
  (function(e) {
474
- const t = ia, n = wr, a = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
474
+ const t = ca, n = wr, a = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
475
475
  e.Buffer = l, e.SlowBuffer = L, e.INSPECT_MAX_BYTES = 50;
476
476
  const s = 2147483647;
477
477
  e.kMaxLength = s, l.TYPED_ARRAY_SUPPORT = c(), !l.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
@@ -1489,18 +1489,18 @@ function Al(e) {
1489
1489
  }
1490
1490
  }
1491
1491
  }
1492
- var ct = [], en = !1, Ct, Vn = -1;
1492
+ var ct = [], en = !1, Ct, Gn = -1;
1493
1493
  function Cl() {
1494
- !en || !Ct || (en = !1, Ct.length ? ct = Ct.concat(ct) : Vn = -1, ct.length && si());
1494
+ !en || !Ct || (en = !1, Ct.length ? ct = Ct.concat(ct) : Gn = -1, ct.length && si());
1495
1495
  }
1496
1496
  function si() {
1497
1497
  if (!en) {
1498
1498
  var e = ri(Cl);
1499
1499
  en = !0;
1500
1500
  for (var t = ct.length; t; ) {
1501
- for (Ct = ct, ct = []; ++Vn < t; )
1502
- Ct && Ct[Vn].run();
1503
- Vn = -1, t = ct.length;
1501
+ for (Ct = ct, ct = []; ++Gn < t; )
1502
+ Ct && Ct[Gn].run();
1503
+ Gn = -1, t = ct.length;
1504
1504
  }
1505
1505
  Ct = null, en = !1, Al(e);
1506
1506
  }
@@ -1688,7 +1688,7 @@ class Ol {
1688
1688
  * Write a `int32` value, a signed 32 bit varint.
1689
1689
  */
1690
1690
  int32(t) {
1691
- return Dn(t), ls(t, this.buf), this;
1691
+ return Fn(t), ls(t, this.buf), this;
1692
1692
  }
1693
1693
  /**
1694
1694
  * Write a `bool` value, a variant.
@@ -1736,7 +1736,7 @@ class Ol {
1736
1736
  * Write a `sfixed32` value, a signed, fixed-length 32-bit integer.
1737
1737
  */
1738
1738
  sfixed32(t) {
1739
- Dn(t);
1739
+ Fn(t);
1740
1740
  let n = new Uint8Array(4);
1741
1741
  return new DataView(n.buffer).setInt32(0, t, !0), this.raw(n);
1742
1742
  }
@@ -1744,7 +1744,7 @@ class Ol {
1744
1744
  * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.
1745
1745
  */
1746
1746
  sint32(t) {
1747
- return Dn(t), t = (t << 1 ^ t >> 31) >>> 0, ls(t, this.buf), this;
1747
+ return Fn(t), t = (t << 1 ^ t >> 31) >>> 0, ls(t, this.buf), this;
1748
1748
  }
1749
1749
  /**
1750
1750
  * Write a `fixed64` value, a signed, fixed-length 64-bit integer.
@@ -2059,7 +2059,7 @@ function xl() {
2059
2059
  case "scalar":
2060
2060
  case "enum":
2061
2061
  const k = p.kind == "enum" ? C.INT32 : p.T;
2062
- let b = Kn;
2062
+ let b = Wn;
2063
2063
  if (p.kind == "scalar" && p.L > 0 && (b = Pl), h) {
2064
2064
  let w = y[T];
2065
2065
  if (l == fe.LengthDelimited && k != C.STRING && k != C.BYTES) {
@@ -2073,7 +2073,7 @@ function xl() {
2073
2073
  break;
2074
2074
  case "message":
2075
2075
  const R = p.T;
2076
- h ? y[T].push(Gn(t, new R(), a)) : y[T] instanceof Je ? Gn(t, y[T], a) : (y[T] = Gn(t, new R(), a), R.fieldWrapper && !p.oneof && !p.repeated && (y[T] = R.fieldWrapper.unwrapField(y[T])));
2076
+ h ? y[T].push(qn(t, new R(), a)) : y[T] instanceof Je ? qn(t, y[T], a) : (y[T] = qn(t, new R(), a), R.fieldWrapper && !p.oneof && !p.repeated && (y[T] = R.fieldWrapper.unwrapField(y[T])));
2077
2077
  break;
2078
2078
  case "map":
2079
2079
  let [I, P] = Ul(p, t, a);
@@ -2084,7 +2084,7 @@ function xl() {
2084
2084
  }
2085
2085
  };
2086
2086
  }
2087
- function Gn(e, t, n) {
2087
+ function qn(e, t, n) {
2088
2088
  return t.getType().runtime.bin.readMessage(t, e, e.uint32(), n), t;
2089
2089
  }
2090
2090
  function Ul(e, t, n) {
@@ -2094,18 +2094,18 @@ function Ul(e, t, n) {
2094
2094
  let [l] = t.tag();
2095
2095
  switch (l) {
2096
2096
  case 1:
2097
- c = Kn(t, e.K);
2097
+ c = Wn(t, e.K);
2098
2098
  break;
2099
2099
  case 2:
2100
2100
  switch (e.V.kind) {
2101
2101
  case "scalar":
2102
- u = Kn(t, e.V.T);
2102
+ u = Wn(t, e.V.T);
2103
2103
  break;
2104
2104
  case "enum":
2105
2105
  u = t.int32();
2106
2106
  break;
2107
2107
  case "message":
2108
- u = Gn(t, new e.V.T(), n);
2108
+ u = qn(t, new e.V.T(), n);
2109
2109
  break;
2110
2110
  }
2111
2111
  break;
@@ -2130,10 +2130,10 @@ function Ul(e, t, n) {
2130
2130
  return [c, u];
2131
2131
  }
2132
2132
  function Pl(e, t) {
2133
- const n = Kn(e, t);
2133
+ const n = Wn(e, t);
2134
2134
  return typeof n == "bigint" ? n.toString() : n;
2135
2135
  }
2136
- function Kn(e, t) {
2136
+ function Wn(e, t) {
2137
2137
  switch (t) {
2138
2138
  case C.STRING:
2139
2139
  return e.string();
@@ -2255,11 +2255,11 @@ function Vl() {
2255
2255
  return n.writeUnknownFields && this.writeUnknownFields(e, t), t;
2256
2256
  } });
2257
2257
  }
2258
- let st = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), ca = [];
2258
+ let st = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), la = [];
2259
2259
  for (let e = 0; e < st.length; e++)
2260
- ca[st[e].charCodeAt(0)] = e;
2261
- ca["-".charCodeAt(0)] = st.indexOf("+");
2262
- ca["_".charCodeAt(0)] = st.indexOf("/");
2260
+ la[st[e].charCodeAt(0)] = e;
2261
+ la["-".charCodeAt(0)] = st.indexOf("+");
2262
+ la["_".charCodeAt(0)] = st.indexOf("/");
2263
2263
  const vr = {
2264
2264
  /**
2265
2265
  * Decodes a base64 string to a byte array.
@@ -2277,7 +2277,7 @@ const vr = {
2277
2277
  e[e.length - 2] == "=" ? t -= 2 : e[e.length - 1] == "=" && (t -= 1);
2278
2278
  let n = new Uint8Array(t), a = 0, s = 0, c, u = 0;
2279
2279
  for (let l = 0; l < e.length; l++) {
2280
- if (c = ca[e.charCodeAt(l)], c === void 0)
2280
+ if (c = la[e.charCodeAt(l)], c === void 0)
2281
2281
  switch (e[l]) {
2282
2282
  case "=":
2283
2283
  s = 0;
@@ -2526,7 +2526,7 @@ function dn(e, t, n) {
2526
2526
  let s;
2527
2527
  if (typeof t == "number" ? s = t : typeof t == "string" && t.length > 0 && t.trim().length === t.length && (s = Number(t)), s === void 0)
2528
2528
  break;
2529
- return e == C.UINT32 ? nr(s) : Dn(s), s;
2529
+ return e == C.UINT32 ? nr(s) : Fn(s), s;
2530
2530
  case C.INT64:
2531
2531
  case C.SFIXED64:
2532
2532
  case C.SINT64:
@@ -2793,20 +2793,20 @@ function Ql() {
2793
2793
  const c = e[s.localName];
2794
2794
  let u;
2795
2795
  if (s.repeated)
2796
- u = c.map(Ln);
2796
+ u = c.map(Mn);
2797
2797
  else if (s.kind == "map") {
2798
2798
  u = a[s.localName];
2799
2799
  for (const [l, p] of Object.entries(c))
2800
- u[l] = Ln(p);
2800
+ u[l] = Mn(p);
2801
2801
  } else
2802
- s.kind == "oneof" ? u = s.findField(c.case) ? { case: c.case, value: Ln(c.value) } : { case: void 0 } : u = Ln(c);
2802
+ s.kind == "oneof" ? u = s.findField(c.case) ? { case: c.case, value: Mn(c.value) } : { case: void 0 } : u = Mn(c);
2803
2803
  a[s.localName] = u;
2804
2804
  }
2805
2805
  return n;
2806
2806
  }
2807
2807
  };
2808
2808
  }
2809
- function Ln(e) {
2809
+ function Mn(e) {
2810
2810
  if (e === void 0)
2811
2811
  return e;
2812
2812
  if (e instanceof Je)
@@ -3310,7 +3310,7 @@ const ce = m.makeEnum(
3310
3310
  /* ScalarType.STRING */
3311
3311
  }
3312
3312
  ]
3313
- ), la = m.makeMessageType(
3313
+ ), ua = m.makeMessageType(
3314
3314
  "streamlayer.interactive.QuestionNotification",
3315
3315
  () => [
3316
3316
  {
@@ -3712,7 +3712,7 @@ const ce = m.makeEnum(
3712
3712
  { no: 4, name: "options", kind: "message", T: Ir },
3713
3713
  { no: 5, name: "appearance", kind: "message", T: Ar },
3714
3714
  { no: 6, name: "sponsorship", kind: "message", T: cn },
3715
- { no: 7, name: "notification", kind: "message", T: la },
3715
+ { no: 7, name: "notification", kind: "message", T: ua },
3716
3716
  { no: 8, name: "answers", kind: "message", T: mu, repeated: !0 },
3717
3717
  { no: 9, name: "status", kind: "enum", T: m.getEnumType(qe) },
3718
3718
  { no: 10, name: "position", kind: "scalar", T: 13, opt: !0 },
@@ -3784,7 +3784,7 @@ const ce = m.makeEnum(
3784
3784
  { no: 4, name: "options", kind: "message", T: Ir },
3785
3785
  { no: 5, name: "appearance", kind: "message", T: Ar },
3786
3786
  { no: 6, name: "sponsorship", kind: "message", T: cn },
3787
- { no: 7, name: "notification", kind: "message", T: la },
3787
+ { no: 7, name: "notification", kind: "message", T: ua },
3788
3788
  { no: 8, name: "answers", kind: "message", T: du, repeated: !0 },
3789
3789
  { no: 9, name: "status", kind: "enum", T: m.getEnumType(qe) },
3790
3790
  {
@@ -3852,7 +3852,7 @@ m.makeMessageType(
3852
3852
  },
3853
3853
  { no: 5, name: "status", kind: "enum", T: m.getEnumType(qe) },
3854
3854
  { no: 6, name: "options", kind: "message", T: Ir },
3855
- { no: 7, name: "notification", kind: "message", T: la }
3855
+ { no: 7, name: "notification", kind: "message", T: ua }
3856
3856
  ]
3857
3857
  );
3858
3858
  const yi = m.makeMessageType(
@@ -4002,7 +4002,7 @@ m.makeMessageType(
4002
4002
  }
4003
4003
  ]
4004
4004
  );
4005
- const ua = m.makeMessageType(
4005
+ const ma = m.makeMessageType(
4006
4006
  "streamlayer.interactive.Pagination",
4007
4007
  () => [
4008
4008
  {
@@ -4179,7 +4179,7 @@ const Or = m.makeMessageType(
4179
4179
  "streamlayer.interactive.feed.FeedQuestion",
4180
4180
  () => [
4181
4181
  { no: 1, name: "question", kind: "message", T: fi },
4182
- { no: 2, name: "notification", kind: "message", T: la },
4182
+ { no: 2, name: "notification", kind: "message", T: ua },
4183
4183
  { no: 3, name: "moderation", kind: "message", T: yi }
4184
4184
  ]
4185
4185
  ), Vu = m.makeMessageType(
@@ -4619,7 +4619,7 @@ const Or = m.makeMessageType(
4619
4619
  T: 9
4620
4620
  /* ScalarType.STRING */
4621
4621
  },
4622
- { no: 2, name: "pagination", kind: "message", T: ua }
4622
+ { no: 2, name: "pagination", kind: "message", T: ma }
4623
4623
  ]
4624
4624
  ), hi = m.makeMessageType(
4625
4625
  "streamlayer.interactive.feed.PickHistory",
@@ -5030,7 +5030,7 @@ const Or = m.makeMessageType(
5030
5030
  /* ScalarType.STRING */
5031
5031
  },
5032
5032
  { no: 2, name: "filter", kind: "message", T: qm },
5033
- { no: 3, name: "pagination", kind: "message", T: ua }
5033
+ { no: 3, name: "pagination", kind: "message", T: ma }
5034
5034
  ]
5035
5035
  ), qm = m.makeMessageType(
5036
5036
  "streamlayer.interactive.feed.FeedListRequest.FeedListFilter",
@@ -5756,7 +5756,7 @@ const g1 = m.makeMessageType(
5756
5756
  },
5757
5757
  { no: 5, name: "default_channel_type", kind: "enum", T: m.getEnumType(Mr) }
5758
5758
  ]
5759
- ), Wn = m.makeMessageType(
5759
+ ), Zn = m.makeMessageType(
5760
5760
  "streamlayer.sdkSettings.GetStreamChannel",
5761
5761
  () => [
5762
5762
  {
@@ -5802,13 +5802,13 @@ const g1 = m.makeMessageType(
5802
5802
  /* ScalarType.STRING */
5803
5803
  },
5804
5804
  { no: 4, name: "default_channel_type", kind: "enum", T: m.getEnumType(Mr) },
5805
- { no: 5, name: "default_channel", kind: "message", T: Wn },
5806
- { no: 6, name: "channels", kind: "message", T: Wn, repeated: !0 }
5805
+ { no: 5, name: "default_channel", kind: "message", T: Zn },
5806
+ { no: 6, name: "channels", kind: "message", T: Zn, repeated: !0 }
5807
5807
  ]
5808
5808
  ), wi = m.makeMessageType(
5809
5809
  "streamlayer.sdkSettings.StreamSettings",
5810
5810
  () => [
5811
- { no: 1, name: "overlays", kind: "message", T: ma, repeated: !0 },
5811
+ { no: 1, name: "overlays", kind: "message", T: da, repeated: !0 },
5812
5812
  {
5813
5813
  no: 2,
5814
5814
  name: "custom",
@@ -5898,7 +5898,7 @@ const g1 = m.makeMessageType(
5898
5898
  ), vi = m.makeMessageType(
5899
5899
  "streamlayer.sdkSettings.OrganizationSettings",
5900
5900
  () => [
5901
- { no: 1, name: "overlays", kind: "message", T: ma, repeated: !0 },
5901
+ { no: 1, name: "overlays", kind: "message", T: da, repeated: !0 },
5902
5902
  {
5903
5903
  no: 2,
5904
5904
  name: "button_icon",
@@ -5990,8 +5990,8 @@ const g1 = m.makeMessageType(
5990
5990
  ), Ts = m.makeMessageType(
5991
5991
  "streamlayer.sdkSettings.GetStreamOverlaySettings",
5992
5992
  () => [
5993
- { no: 1, name: "default_channel", kind: "message", T: Wn },
5994
- { no: 2, name: "channels", kind: "message", T: Wn, repeated: !0 }
5993
+ { no: 1, name: "default_channel", kind: "message", T: Zn },
5994
+ { no: 2, name: "channels", kind: "message", T: Zn, repeated: !0 }
5995
5995
  ]
5996
5996
  ), Zt = m.makeMessageType(
5997
5997
  "streamlayer.sdkSettings.SdkOverlaySettings",
@@ -6011,7 +6011,7 @@ const g1 = m.makeMessageType(
6011
6011
  { no: 3, name: "preset", kind: "message", T: Zt },
6012
6012
  { no: 4, name: "stream", kind: "message", T: Zt }
6013
6013
  ]
6014
- ), ma = m.makeMessageType(
6014
+ ), da = m.makeMessageType(
6015
6015
  "streamlayer.sdkSettings.SdkOverlay",
6016
6016
  () => [
6017
6017
  { no: 1, name: "type", kind: "enum", T: m.getEnumType(me) },
@@ -6148,7 +6148,7 @@ const R1 = m.makeMessageType(
6148
6148
  T: 9
6149
6149
  /* ScalarType.STRING */
6150
6150
  },
6151
- { no: 2, name: "attributes", kind: "message", T: ma, repeated: !0 }
6151
+ { no: 2, name: "attributes", kind: "message", T: da, repeated: !0 }
6152
6152
  ],
6153
6153
  { localName: "OverlaysListResponse_OverlaysListResponseData" }
6154
6154
  );
@@ -6329,7 +6329,7 @@ m.makeMessageType(
6329
6329
  const N1 = m.makeMessageType(
6330
6330
  "streamlayer.sdkSettings.PresetSettings",
6331
6331
  () => [
6332
- { no: 1, name: "overlays", kind: "message", T: ma, repeated: !0 },
6332
+ { no: 1, name: "overlays", kind: "message", T: da, repeated: !0 },
6333
6333
  { no: 2, name: "advertising", kind: "message", T: Ri }
6334
6334
  ]
6335
6335
  ), O1 = m.makeMessageType(
@@ -6758,15 +6758,15 @@ let Ie = [], bt = (e, t) => {
6758
6758
  };
6759
6759
  return a;
6760
6760
  };
6761
- const $1 = 0, H1 = 1, j1 = 5, Mn = 6, Bn = 10;
6762
- let Br = (e, t, n, a) => (e.events = e.events || {}, e.events[n + Bn] || (e.events[n + Bn] = a((s) => {
6761
+ const $1 = 0, H1 = 1, j1 = 5, Bn = 6, xn = 10;
6762
+ let Br = (e, t, n, a) => (e.events = e.events || {}, e.events[n + xn] || (e.events[n + xn] = a((s) => {
6763
6763
  e.events[n].reduceRight((c, u) => (u(c), c), {
6764
6764
  shared: {},
6765
6765
  ...s
6766
6766
  });
6767
6767
  })), e.events[n] = e.events[n] || [], e.events[n].push(t), () => {
6768
6768
  let s = e.events[n], c = s.indexOf(t);
6769
- s.splice(c, 1), s.length || (delete e.events[n], e.events[n + Bn](), delete e.events[n + Bn]);
6769
+ s.splice(c, 1), s.length || (delete e.events[n], e.events[n + xn](), delete e.events[n + xn]);
6770
6770
  }), Q1 = (e, t) => Br(e, t, $1, (n) => {
6771
6771
  let a = e.listen;
6772
6772
  return e.listen = (s) => (!e.lc && !e.starting && (e.starting = !0, n(), delete e.starting), a(s)), () => {
@@ -6781,18 +6781,18 @@ let Br = (e, t, n, a) => (e.events = e.events || {}, e.events[n + Bn] || (e.even
6781
6781
  };
6782
6782
  }), z1 = 1e3, K1 = (e, t) => Br(e, (a) => {
6783
6783
  let s = t(a);
6784
- s && e.events[Mn].push(s);
6784
+ s && e.events[Bn].push(s);
6785
6785
  }, j1, (a) => {
6786
6786
  let s = e.listen;
6787
6787
  e.listen = (...u) => (!e.lc && !e.active && (e.active = !0, a()), s(...u));
6788
6788
  let c = e.off;
6789
- return e.events[Mn] = [], e.off = () => {
6789
+ return e.events[Bn] = [], e.off = () => {
6790
6790
  c(), setTimeout(() => {
6791
6791
  if (e.active && !e.lc) {
6792
6792
  e.active = !1;
6793
- for (let u of e.events[Mn])
6793
+ for (let u of e.events[Bn])
6794
6794
  u();
6795
- e.events[Mn] = [];
6795
+ e.events[Bn] = [];
6796
6796
  }
6797
6797
  }, z1);
6798
6798
  }, () => {
@@ -6847,12 +6847,12 @@ var It;
6847
6847
  const Z1 = ({ feature: e, sdk: t, children: n, className: a }) => {
6848
6848
  const s = mt(e.status), { slStreamId: c } = mt(t.sdkStore);
6849
6849
  return c != null && c.loading ? /* @__PURE__ */ O("div", { className: a, children: "event is loading..." }) : c != null && c.data ? s !== It.Ready ? /* @__PURE__ */ O("div", { className: a, children: "wait feature..." }) : n : /* @__PURE__ */ O("div", { className: a, children: "event is forbidden..." });
6850
- }, J1 = Jc(() => import("./index-660952d7.js")), X1 = ({
6850
+ }, J1 = Jc(() => import("./index-c9c374fc.js")), X1 = ({
6851
6851
  sdk: e,
6852
6852
  feature: t,
6853
6853
  className: n
6854
6854
  }) => {
6855
- const a = oa(() => t && t.featureConfig.get().type === me.GAMES ? /* @__PURE__ */ O(Z1, { className: n, sdk: e, feature: t, children: /* @__PURE__ */ O(J1, { className: n, gamification: t, sdk: e }) }) : null, [e, t, n]);
6855
+ const a = ia(() => t && t.featureConfig.get().type === me.GAMES ? /* @__PURE__ */ O(Z1, { className: n, sdk: e, feature: t, children: /* @__PURE__ */ O(J1, { className: n, gamification: t, sdk: e }) }) : null, [e, t, n]);
6856
6856
  return /* @__PURE__ */ O(
6857
6857
  Xc,
6858
6858
  {
@@ -6911,8 +6911,8 @@ function od(e) {
6911
6911
  k[I] = b[I];
6912
6912
  }), h.style = k;
6913
6913
  }
6914
- return e.__linaria && e !== l ? (h.as = l, On.createElement(e, h)) : On.createElement(l, h);
6915
- }, s = On.forwardRef ? On.forwardRef(a) : (
6914
+ return e.__linaria && e !== l ? (h.as = l, Ln.createElement(e, h)) : Ln.createElement(l, h);
6915
+ }, s = Ln.forwardRef ? Ln.forwardRef(a) : (
6916
6916
  // React.forwardRef won't available on older React versions and in Preact
6917
6917
  // Fallback to a innerRef prop in that case
6918
6918
  (c) => {
@@ -7785,7 +7785,7 @@ const Wd = /* @__PURE__ */ V("button")({
7785
7785
  name: "a",
7786
7786
  class: "aka8vam",
7787
7787
  propsAsIs: !1
7788
- }), xr = ({ disabled: e, active: t, onClick: n, label: a, icon: s }) => /* @__PURE__ */ O(Wd, { onClick: n, disabled: e, "data-selected": t, children: /* @__PURE__ */ ae(zn, { children: [
7788
+ }), xr = ({ disabled: e, active: t, onClick: n, label: a, icon: s }) => /* @__PURE__ */ O(Wd, { onClick: n, disabled: e, "data-selected": t, children: /* @__PURE__ */ ae(Kn, { children: [
7789
7789
  s && /* @__PURE__ */ O(Zd, { children: s }),
7790
7790
  /* @__PURE__ */ O(Jd, { children: a })
7791
7791
  ] }) });
@@ -7825,7 +7825,7 @@ const sp = () => ft, op = /* @__PURE__ */ V(sp())({
7825
7825
  name: "n",
7826
7826
  class: "ntav86o",
7827
7827
  propsAsIs: !0
7828
- }), Zn = "leaderboard", ip = (e) => {
7828
+ }), Jn = "leaderboard", ip = (e) => {
7829
7829
  var t;
7830
7830
  return /* @__PURE__ */ O(xr, {
7831
7831
  ...e,
@@ -7867,8 +7867,8 @@ const up = () => lp, mp = /* @__PURE__ */ V(up())({
7867
7867
  /* @__PURE__ */ O(
7868
7868
  ip,
7869
7869
  {
7870
- active: e === Zn,
7871
- onClick: () => t(Zn)
7870
+ active: e === Jn,
7871
+ onClick: () => t(Jn)
7872
7872
  }
7873
7873
  )
7874
7874
  ] });
@@ -7947,17 +7947,17 @@ function yp(e, t, n) {
7947
7947
  const _s = fp;
7948
7948
  Ur.exports = dt;
7949
7949
  const wn = Np().console || {}, gp = {
7950
- mapHttpRequest: xn,
7951
- mapHttpResponse: xn,
7950
+ mapHttpRequest: Un,
7951
+ mapHttpResponse: Un,
7952
7952
  wrapRequestSerializer: Ia,
7953
7953
  wrapResponseSerializer: Ia,
7954
7954
  wrapErrorSerializer: Ia,
7955
- req: xn,
7956
- res: xn,
7955
+ req: Un,
7956
+ res: Un,
7957
7957
  err: vs,
7958
7958
  errWithCause: vs
7959
7959
  };
7960
- function Jn(e, t) {
7960
+ function Xn(e, t) {
7961
7961
  return e === "silent" ? 1 / 0 : t.levels.values[e];
7962
7962
  }
7963
7963
  const Pr = Symbol("pino.logFuncs"), lr = Symbol("pino.hierarchy"), hp = {
@@ -8016,7 +8016,7 @@ function dt(e) {
8016
8016
  };
8017
8017
  y.levels = Sp(e), y.level = p, y.setMaxListeners = y.getMaxListeners = y.emit = y.addListener = y.on = y.prependListener = y.once = y.prependOnceListener = y.removeListener = y.removeAllListeners = y.listeners = y.listenerCount = y.eventNames = y.write = y.flush = vn, y.serializers = a, y._serialize = s, y._stdErrSerialize = c, y.child = R, t && (y._logEvent = ur());
8018
8018
  function T() {
8019
- return Jn(this.level, this);
8019
+ return Xn(this.level, this);
8020
8020
  }
8021
8021
  function k() {
8022
8022
  return this._level;
@@ -8035,7 +8035,7 @@ function dt(e) {
8035
8035
  const w = P.serializers;
8036
8036
  if (s && w) {
8037
8037
  var L = Object.assign({}, a, w), x = e.browser.serialize === !0 ? Object.keys(L) : s;
8038
- delete I.serializers, da([I], x, L, this._stdErrSerialize);
8038
+ delete I.serializers, pa([I], x, L, this._stdErrSerialize);
8039
8039
  }
8040
8040
  function U(G) {
8041
8041
  this._childLevel = (G._childLevel | 0) + 1, this.bindings = I, L && (this.serializers = L, this._serialize = x), t && (this._logEvent = ur(
@@ -8090,7 +8090,7 @@ function Ep(e) {
8090
8090
  return t.reverse();
8091
8091
  }
8092
8092
  function Rt(e, t, n, a) {
8093
- if (e[a] = Jn(e.level, n) > Jn(a, n) ? vn : n[Pr][a], !t.transmit && e[a] === vn)
8093
+ if (e[a] = Xn(e.level, n) > Xn(a, n) ? vn : n[Pr][a], !t.transmit && e[a] === vn)
8094
8094
  return;
8095
8095
  e[a] = wp(e, t, n, a);
8096
8096
  const s = Ep(e);
@@ -8107,7 +8107,7 @@ function wp(e, t, n, a) {
8107
8107
  const u = t.timestamp(), l = new Array(arguments.length), p = Object.getPrototypeOf && Object.getPrototypeOf(this) === wn ? wn : this;
8108
8108
  for (var y = 0; y < l.length; y++)
8109
8109
  l[y] = arguments[y];
8110
- if (t.serialize && !t.asObject && da(l, this._serialize, this.serializers, this._stdErrSerialize), t.asObject ? s.call(p, vp(this, a, l, u)) : s.apply(p, l), t.transmit) {
8110
+ if (t.serialize && !t.asObject && pa(l, this._serialize, this.serializers, this._stdErrSerialize), t.asObject ? s.call(p, vp(this, a, l, u)) : s.apply(p, l), t.transmit) {
8111
8111
  const h = t.transmit.level || e._level, T = n.levels.values[h], k = n.levels.values[a];
8112
8112
  if (k < T)
8113
8113
  return;
@@ -8118,14 +8118,14 @@ function wp(e, t, n, a) {
8118
8118
  transmitLevel: h,
8119
8119
  transmitValue: n.levels.values[t.transmit.level || e._level],
8120
8120
  send: t.transmit.send,
8121
- val: Jn(e._level, n)
8121
+ val: Xn(e._level, n)
8122
8122
  }, l);
8123
8123
  }
8124
8124
  };
8125
8125
  }(e[Pr][a]);
8126
8126
  }
8127
8127
  function vp(e, t, n, a) {
8128
- e._serialize && da(n, e._serialize, e.serializers, e._stdErrSerialize);
8128
+ e._serialize && pa(n, e._serialize, e.serializers, e._stdErrSerialize);
8129
8129
  const s = n.slice();
8130
8130
  let c = s[0];
8131
8131
  const u = {};
@@ -8139,7 +8139,7 @@ function vp(e, t, n, a) {
8139
8139
  typeof c == "string" && (c = _s(s.shift(), s));
8140
8140
  return c !== void 0 && (u.msg = c), u;
8141
8141
  }
8142
- function da(e, t, n, a) {
8142
+ function pa(e, t, n, a) {
8143
8143
  for (const s in e)
8144
8144
  if (a && e[s] instanceof Error)
8145
8145
  e[s] = dt.stdSerializers.err(e[s]);
@@ -8149,7 +8149,7 @@ function da(e, t, n, a) {
8149
8149
  }
8150
8150
  function Rp(e, t, n) {
8151
8151
  const a = t.send, s = t.ts, c = t.methodLevel, u = t.methodValue, l = t.val, p = e._logEvent.bindings;
8152
- da(
8152
+ pa(
8153
8153
  n,
8154
8154
  e._serialize || Object.keys(e.serializers),
8155
8155
  e.serializers,
@@ -8179,7 +8179,7 @@ function vs(e) {
8179
8179
  function Ap(e) {
8180
8180
  return typeof e.timestamp == "function" ? e.timestamp : e.timestamp === !1 ? Ii : Ni;
8181
8181
  }
8182
- function xn() {
8182
+ function Un() {
8183
8183
  return {};
8184
8184
  }
8185
8185
  function Ia(e) {
@@ -8371,7 +8371,7 @@ const $p = () => xe, Hp = () => xe, jp = () => xe, Qp = () => xe, Yp = () => xe,
8371
8371
  name: "u",
8372
8372
  class: "uw10l4r",
8373
8373
  propsAsIs: !0
8374
- }), mf = ({ step: e, correct: t }) => /* @__PURE__ */ ae(zn, { children: [
8374
+ }), mf = ({ step: e, correct: t }) => /* @__PURE__ */ ae(Kn, { children: [
8375
8375
  /* @__PURE__ */ ae(Ht, { "data-active": e === 1, "data-first-screen": "true", children: [
8376
8376
  /* @__PURE__ */ O(af, {}),
8377
8377
  /* @__PURE__ */ O(rf, {}),
@@ -8387,7 +8387,7 @@ const $p = () => xe, Hp = () => xe, jp = () => xe, Qp = () => xe, Yp = () => xe,
8387
8387
  /* @__PURE__ */ O(Cs, {}),
8388
8388
  /* @__PURE__ */ O(Is, {})
8389
8389
  ] }),
8390
- t ? /* @__PURE__ */ ae(zn, { children: [
8390
+ t ? /* @__PURE__ */ ae(Kn, { children: [
8391
8391
  /* @__PURE__ */ ae(Ht, { "data-active": e === 4, "data-correct": "false", children: [
8392
8392
  /* @__PURE__ */ O(Ns, {}),
8393
8393
  /* @__PURE__ */ O(Os, {}),
@@ -8431,7 +8431,7 @@ const df = () => gn, pf = () => ft, ff = () => ft, yf = /* @__PURE__ */ V("div")
8431
8431
  name: "d",
8432
8432
  class: "d1xtwn2m",
8433
8433
  propsAsIs: !0
8434
- }), Un = /* @__PURE__ */ V("div")({
8434
+ }), Pn = /* @__PURE__ */ V("div")({
8435
8435
  name: "f",
8436
8436
  class: "f1bvvudl",
8437
8437
  propsAsIs: !1
@@ -8474,16 +8474,16 @@ const df = () => gn, pf = () => ft, ff = () => ft, yf = /* @__PURE__ */ V("div")
8474
8474
  /* @__PURE__ */ O(Qt, { children: "Who holds the most birdies in golf?" }),
8475
8475
  /* @__PURE__ */ ae(gn, { children: [
8476
8476
  "Your Pick: ",
8477
- /* @__PURE__ */ O(Un, { children: t == null ? void 0 : t.title })
8477
+ /* @__PURE__ */ O(Pn, { children: t == null ? void 0 : t.title })
8478
8478
  ] })
8479
8479
  ] }),
8480
- n ? /* @__PURE__ */ ae(zn, { children: [
8480
+ n ? /* @__PURE__ */ ae(Kn, { children: [
8481
8481
  /* @__PURE__ */ ae(jt, { "data-color-green": "true", children: [
8482
8482
  /* @__PURE__ */ O(Qt, { children: "Congratulations! You answered correctly." }),
8483
8483
  /* @__PURE__ */ ae(gn, { children: [
8484
8484
  /* @__PURE__ */ O(Na, { name: "selected" }),
8485
8485
  "Your Pick: ",
8486
- /* @__PURE__ */ O(Un, { children: t == null ? void 0 : t.title })
8486
+ /* @__PURE__ */ O(Pn, { children: t == null ? void 0 : t.title })
8487
8487
  ] })
8488
8488
  ] }),
8489
8489
  /* @__PURE__ */ ae(jt, { "data-color-green": "true", children: [
@@ -8496,7 +8496,7 @@ const df = () => gn, pf = () => ft, ff = () => ft, yf = /* @__PURE__ */ V("div")
8496
8496
  /* @__PURE__ */ ae(gn, { children: [
8497
8497
  /* @__PURE__ */ O(Na, { name: "selected" }),
8498
8498
  "Your Pick: ",
8499
- /* @__PURE__ */ O(Un, { children: t == null ? void 0 : t.title })
8499
+ /* @__PURE__ */ O(Pn, { children: t == null ? void 0 : t.title })
8500
8500
  ] })
8501
8501
  ] })
8502
8502
  ] }) : /* @__PURE__ */ ae(jt, { children: [
@@ -8509,7 +8509,7 @@ const df = () => gn, pf = () => ft, ff = () => ft, yf = /* @__PURE__ */ V("div")
8509
8509
  /* @__PURE__ */ ae(gn, { "data-incorrect": "true", children: [
8510
8510
  /* @__PURE__ */ O(Na, { name: "circleClose" }),
8511
8511
  "Your Pick: ",
8512
- /* @__PURE__ */ O(Un, { children: t == null ? void 0 : t.title })
8512
+ /* @__PURE__ */ O(Pn, { children: t == null ? void 0 : t.title })
8513
8513
  ] })
8514
8514
  ] })
8515
8515
  ] })
@@ -8582,7 +8582,7 @@ const Of = () => Nf, Ds = /* @__PURE__ */ V(Of())({
8582
8582
  class: "d1qqtt3e",
8583
8583
  propsAsIs: !0
8584
8584
  }), Lf = ({ sdk: e }) => {
8585
- const t = e.getNotificationsStore(), n = mt(t), a = oa(() => {
8585
+ const t = e.getNotificationsStore(), n = mt(t), a = ia(() => {
8586
8586
  if (!(n != null && n.size))
8587
8587
  return null;
8588
8588
  for (const s of n.values())
@@ -8604,7 +8604,7 @@ const Mf = () => xf, Bf = /* @__PURE__ */ V("div")({
8604
8604
  name: "n",
8605
8605
  class: "n1v8kucd",
8606
8606
  propsAsIs: !1
8607
- }), XT = /* @__PURE__ */ V(Mf())({
8607
+ }), t8 = /* @__PURE__ */ V(Mf())({
8608
8608
  name: "e",
8609
8609
  class: "e16yw7z1",
8610
8610
  propsAsIs: !0
@@ -8684,8 +8684,8 @@ const Mf = () => xf, Bf = /* @__PURE__ */ V("div")({
8684
8684
  Fs,
8685
8685
  {
8686
8686
  "data-nav": a.toString(),
8687
- style: { display: c === Zn ? "block" : "none" },
8688
- children: t && c === Zn && t[c]
8687
+ style: { display: c === Jn ? "block" : "none" },
8688
+ children: t && c === Jn && t[c]
8689
8689
  }
8690
8690
  ),
8691
8691
  y && a && c === kt && /* @__PURE__ */ O(Df, { className: er, sdk: e }),
@@ -9794,7 +9794,7 @@ const Xs = 1, eo = 2, to = 3, La = 4, no = (e, t) => {
9794
9794
  { no: 1, name: "EVENT_ENDLESS_ENABLED", localName: "ENABLED" },
9795
9795
  { no: 2, name: "EVENT_ENDLESS_DISABLED", localName: "DISABLED" }
9796
9796
  ]
9797
- ), pa = m.makeMessageType(
9797
+ ), fa = m.makeMessageType(
9798
9798
  "streamlayer.sports.Pagination",
9799
9799
  () => [
9800
9800
  {
@@ -9830,7 +9830,7 @@ const Xs = 1, eo = 2, to = 3, La = 4, no = (e, t) => {
9830
9830
  /* ScalarType.STRING */
9831
9831
  }
9832
9832
  ]
9833
- ), fa = m.makeMessageType(
9833
+ ), ya = m.makeMessageType(
9834
9834
  "streamlayer.sports.Meta",
9835
9835
  () => [
9836
9836
  {
@@ -9855,7 +9855,7 @@ const Xs = 1, eo = 2, to = 3, La = 4, no = (e, t) => {
9855
9855
  /* ScalarType.INT32 */
9856
9856
  }
9857
9857
  ]
9858
- ), ya = m.makeMessageType(
9858
+ ), ga = m.makeMessageType(
9859
9859
  "streamlayer.sports.Venue",
9860
9860
  () => [
9861
9861
  {
@@ -9912,7 +9912,7 @@ m.makeMessageType(
9912
9912
  T: 9
9913
9913
  /* ScalarType.STRING */
9914
9914
  },
9915
- { no: 5, name: "venue", kind: "message", T: ya }
9915
+ { no: 5, name: "venue", kind: "message", T: ga }
9916
9916
  ]
9917
9917
  );
9918
9918
  const In = m.makeMessageType(
@@ -10032,7 +10032,7 @@ m.makeMessageType(
10032
10032
  T: 5
10033
10033
  /* ScalarType.INT32 */
10034
10034
  },
10035
- { no: 11, name: "venue", kind: "message", T: ya },
10035
+ { no: 11, name: "venue", kind: "message", T: ga },
10036
10036
  { no: 12, name: "event_time", kind: "message", T: In },
10037
10037
  { no: 13, name: "status", kind: "enum", T: m.getEnumType(Dr) },
10038
10038
  { no: 14, name: "periods", kind: "message", T: Qi, repeated: !0 },
@@ -10816,7 +10816,7 @@ const _t = m.makeMessageType(
10816
10816
  T: 9
10817
10817
  /* ScalarType.STRING */
10818
10818
  },
10819
- { no: 11, name: "venue", kind: "message", T: ya },
10819
+ { no: 11, name: "venue", kind: "message", T: ga },
10820
10820
  { no: 12, name: "schedule", kind: "message", T: U0, repeated: !0 },
10821
10821
  { no: 13, name: "endless", kind: "enum", T: m.getEnumType(Fr) },
10822
10822
  {
@@ -10858,7 +10858,7 @@ const _t = m.makeMessageType(
10858
10858
  T: 5
10859
10859
  /* ScalarType.INT32 */
10860
10860
  },
10861
- { no: 5, name: "venue", kind: "message", T: ya },
10861
+ { no: 5, name: "venue", kind: "message", T: ga },
10862
10862
  { no: 6, name: "event_time", kind: "message", T: In },
10863
10863
  { no: 7, name: "home_team", kind: "message", T: _t },
10864
10864
  { no: 8, name: "away_team", kind: "message", T: _t },
@@ -10907,7 +10907,7 @@ const _t = m.makeMessageType(
10907
10907
  /* ScalarType.STRING */
10908
10908
  }
10909
10909
  ]
10910
- ), Pn = m.makeMessageType(
10910
+ ), Dn = m.makeMessageType(
10911
10911
  "streamlayer.sports.QueryOption",
10912
10912
  () => [
10913
10913
  {
@@ -10948,12 +10948,12 @@ m.makeMessageType(
10948
10948
  T: 9
10949
10949
  /* ScalarType.STRING */
10950
10950
  },
10951
- { no: 2, name: "match", kind: "message", T: Pn, repeated: !0 },
10952
- { no: 3, name: "ne", kind: "message", T: Pn, repeated: !0 },
10953
- { no: 4, name: "eq", kind: "message", T: Pn, repeated: !0 },
10951
+ { no: 2, name: "match", kind: "message", T: Dn, repeated: !0 },
10952
+ { no: 3, name: "ne", kind: "message", T: Dn, repeated: !0 },
10953
+ { no: 4, name: "eq", kind: "message", T: Dn, repeated: !0 },
10954
10954
  { no: 5, name: "between", kind: "message", T: so, repeated: !0 },
10955
10955
  { no: 6, name: "includes", kind: "message", T: so, repeated: !0 },
10956
- { no: 7, name: "is", kind: "message", T: Pn, repeated: !0 }
10956
+ { no: 7, name: "is", kind: "message", T: Dn, repeated: !0 }
10957
10957
  ]
10958
10958
  );
10959
10959
  const D0 = m.makeEnum(
@@ -13061,7 +13061,7 @@ const H2 = m.makeMessageType(
13061
13061
  "streamlayer.sports.events.ListRequest",
13062
13062
  () => [
13063
13063
  { no: 1, name: "filter", kind: "message", T: X2 },
13064
- { no: 2, name: "pagination", kind: "message", T: pa },
13064
+ { no: 2, name: "pagination", kind: "message", T: fa },
13065
13065
  { no: 3, name: "sort", kind: "message", T: ji },
13066
13066
  { no: 4, name: "ids", kind: "scalar", T: 4, repeated: !0 },
13067
13067
  {
@@ -13124,7 +13124,7 @@ const H2 = m.makeMessageType(
13124
13124
  "streamlayer.sports.events.DemoListRequest",
13125
13125
  () => [
13126
13126
  { no: 1, name: "filter", kind: "message", T: ty },
13127
- { no: 2, name: "pagination", kind: "message", T: pa },
13127
+ { no: 2, name: "pagination", kind: "message", T: fa },
13128
13128
  { no: 3, name: "sort", kind: "message", T: ji }
13129
13129
  ]
13130
13130
  ), ty = m.makeMessageType(
@@ -13149,13 +13149,13 @@ const H2 = m.makeMessageType(
13149
13149
  ), ny = m.makeMessageType(
13150
13150
  "streamlayer.sports.events.DemoListResponse",
13151
13151
  () => [
13152
- { no: 1, name: "meta", kind: "message", T: fa },
13152
+ { no: 1, name: "meta", kind: "message", T: ya },
13153
13153
  { no: 2, name: "data", kind: "message", T: Ji, repeated: !0 }
13154
13154
  ]
13155
13155
  ), ay = m.makeMessageType(
13156
13156
  "streamlayer.sports.events.ListResponse",
13157
13157
  () => [
13158
- { no: 1, name: "meta", kind: "message", T: fa },
13158
+ { no: 1, name: "meta", kind: "message", T: ya },
13159
13159
  { no: 2, name: "data", kind: "message", T: Ji, repeated: !0 }
13160
13160
  ]
13161
13161
  ), bo = m.makeMessageType(
@@ -13264,7 +13264,7 @@ const H2 = m.makeMessageType(
13264
13264
  T: 4
13265
13265
  /* ScalarType.UINT64 */
13266
13266
  },
13267
- { no: 2, name: "pagination", kind: "message", T: pa },
13267
+ { no: 2, name: "pagination", kind: "message", T: fa },
13268
13268
  {
13269
13269
  no: 3,
13270
13270
  name: "order",
@@ -13277,7 +13277,7 @@ const H2 = m.makeMessageType(
13277
13277
  "streamlayer.sports.events.PlayByPlayResponse",
13278
13278
  () => [
13279
13279
  { no: 1, name: "data", kind: "message", T: dy },
13280
- { no: 2, name: "meta", kind: "message", T: fa }
13280
+ { no: 2, name: "meta", kind: "message", T: ya }
13281
13281
  ]
13282
13282
  ), dy = m.makeMessageType(
13283
13283
  "streamlayer.sports.events.PlayByPlayResponse.ResponseData",
@@ -13307,7 +13307,7 @@ const H2 = m.makeMessageType(
13307
13307
  "streamlayer.sports.events.ScheduleRequest",
13308
13308
  () => [
13309
13309
  { no: 1, name: "filter", kind: "message", T: yy },
13310
- { no: 2, name: "pagination", kind: "message", T: pa }
13310
+ { no: 2, name: "pagination", kind: "message", T: fa }
13311
13311
  ]
13312
13312
  ), yy = m.makeMessageType(
13313
13313
  "streamlayer.sports.events.ScheduleRequest.Filter",
@@ -13332,7 +13332,7 @@ const H2 = m.makeMessageType(
13332
13332
  "streamlayer.sports.events.ScheduleResponse",
13333
13333
  () => [
13334
13334
  { no: 1, name: "data", kind: "message", T: W2, repeated: !0 },
13335
- { no: 2, name: "meta", kind: "message", T: fa }
13335
+ { no: 2, name: "meta", kind: "message", T: ya }
13336
13336
  ]
13337
13337
  ), hy = m.makeMessageType(
13338
13338
  "streamlayer.sports.events.ScheduleDatesRequest",
@@ -14094,7 +14094,7 @@ const Tg = m.makeMessageType(
14094
14094
  { no: 3, name: "attributes", kind: "message", T: vi }
14095
14095
  ],
14096
14096
  { localName: "OrganizationSubscriptionResponse_ResponseData" }
14097
- ), ga = {
14097
+ ), Nn = {
14098
14098
  typeName: "streamlayer.sdkSettings.client.Client",
14099
14099
  methods: {
14100
14100
  /**
@@ -15023,7 +15023,7 @@ const Ng = m.makeMessageType(
15023
15023
  ), ah = m.makeMessageType(
15024
15024
  "streamlayer.interactive.leaderboard.ListRequest",
15025
15025
  () => [
15026
- { no: 1, name: "pagination", kind: "message", T: ua },
15026
+ { no: 1, name: "pagination", kind: "message", T: ma },
15027
15027
  { no: 2, name: "users_ids", kind: "scalar", T: 9, repeated: !0 },
15028
15028
  {
15029
15029
  no: 3,
@@ -15203,7 +15203,7 @@ const Ng = m.makeMessageType(
15203
15203
  T: 9
15204
15204
  /* ScalarType.STRING */
15205
15205
  },
15206
- { no: 3, name: "pagination", kind: "message", T: ua },
15206
+ { no: 3, name: "pagination", kind: "message", T: ma },
15207
15207
  { no: 4, name: "sort", kind: "message", T: Ou }
15208
15208
  ]
15209
15209
  ), fh = m.makeMessageType(
@@ -16401,18 +16401,18 @@ function Rh(e) {
16401
16401
  }
16402
16402
  }
16403
16403
  }
16404
- var ut = [], tn = !1, Ot, qn = -1;
16404
+ var ut = [], tn = !1, Ot, $n = -1;
16405
16405
  function Ah() {
16406
- !tn || !Ot || (tn = !1, Ot.length ? ut = Ot.concat(ut) : qn = -1, ut.length && lc());
16406
+ !tn || !Ot || (tn = !1, Ot.length ? ut = Ot.concat(ut) : $n = -1, ut.length && lc());
16407
16407
  }
16408
16408
  function lc() {
16409
16409
  if (!tn) {
16410
16410
  var e = cc(Ah);
16411
16411
  tn = !0;
16412
16412
  for (var t = ut.length; t; ) {
16413
- for (Ot = ut, ut = []; ++qn < t; )
16414
- Ot && Ot[qn].run();
16415
- qn = -1, t = ut.length;
16413
+ for (Ot = ut, ut = []; ++$n < t; )
16414
+ Ot && Ot[$n].run();
16415
+ $n = -1, t = ut.length;
16416
16416
  }
16417
16417
  Ot = null, tn = !1, Rh(e);
16418
16418
  }
@@ -16849,7 +16849,7 @@ const Uh = (e, t) => {
16849
16849
  }
16850
16850
  });
16851
16851
  }, Ph = (e, t) => {
16852
- const { client: n, queryKey: a } = t.createPromiseClient(ga, { method: "getStream", params: [e] });
16852
+ const { client: n, queryKey: a } = t.createPromiseClient(Nn, { method: "getStream", params: [e] });
16853
16853
  return t.nanoquery.createFetcherStore(a, {
16854
16854
  fetcher: async (s, c, u) => {
16855
16855
  var l;
@@ -16868,7 +16868,7 @@ const Uh = (e, t) => {
16868
16868
  const { client: t } = e.createPromiseClient(tc, { method: "bypassAuth" });
16869
16869
  return ({ userKey: n, schema: a, init: s }) => t.bypassAuth({ userKey: n, schema: a, init: s });
16870
16870
  }, Vh = (e, t) => {
16871
- const { client: n, queryKey: a } = t.createPromiseClient(ga, { method: "get", params: [e] });
16871
+ const { client: n, queryKey: a } = t.createPromiseClient(Nn, { method: "get", params: [e] });
16872
16872
  return t.nanoquery.createFetcherStore(a, {
16873
16873
  fetcher: async () => {
16874
16874
  var s;
@@ -16876,7 +16876,7 @@ const Uh = (e, t) => {
16876
16876
  }
16877
16877
  });
16878
16878
  }, Gh = (e, t) => {
16879
- const { client: n, queryKey: a } = t.createPromiseClient(ga, { method: "getOrganization", params: [e] });
16879
+ const { client: n, queryKey: a } = t.createPromiseClient(Nn, { method: "getOrganization", params: [e] });
16880
16880
  return t.nanoquery.createFetcherStore(a, {
16881
16881
  fetcher: async () => {
16882
16882
  const s = await n.getOrganization({});
@@ -16887,7 +16887,7 @@ const Uh = (e, t) => {
16887
16887
  }
16888
16888
  });
16889
16889
  }, qh = (e, t) => {
16890
- const { client: n, queryKey: a } = t.createPromiseClient(ga, {
16890
+ const { client: n, queryKey: a } = t.createPromiseClient(Nn, {
16891
16891
  method: "getOrganizationAdvertising",
16892
16892
  params: [e]
16893
16893
  });
@@ -17459,17 +17459,17 @@ class p3 {
17459
17459
  this.options = t, this.logger = mc("notifications"), this.store = /* @__PURE__ */ new Map(), this.timeouts = /* @__PURE__ */ new Map(), this.waitingQueue = /* @__PURE__ */ new Set(), this.activeQueue = /* @__PURE__ */ new Set(), this.notifications = new He(Be(/* @__PURE__ */ new Map()), "notifications-queue"), this.notificationsList = this.notifications.getStore();
17460
17460
  }
17461
17461
  }
17462
- var Xn;
17462
+ var ea;
17463
17463
  (function(e) {
17464
17464
  e.OPENED = "opened";
17465
- })(Xn || (Xn = {}));
17465
+ })(ea || (ea = {}));
17466
17466
  class f3 extends Qr {
17467
17467
  constructor() {
17468
17468
  super("notification");
17469
17469
  _(this, "setOpened", (n) => {
17470
- this.write(Xn.OPENED, n, "true");
17470
+ this.write(ea.OPENED, n, "true");
17471
17471
  });
17472
- _(this, "isOpened", (n) => this.read(Xn.OPENED, n));
17472
+ _(this, "isOpened", (n) => this.read(ea.OPENED, n));
17473
17473
  _(this, "clearNotification", () => {
17474
17474
  this.clear();
17475
17475
  });
@@ -17508,17 +17508,17 @@ const g3 = (e, t, n) => {
17508
17508
  const { client: n } = e.createPromiseClient(Xe, { method: "skipQuestion" });
17509
17509
  return n.skipQuestion({ data: { id: t } });
17510
17510
  };
17511
- var ea;
17511
+ var ta;
17512
17512
  (function(e) {
17513
17513
  e.ONBOARDING = "onboarding";
17514
- })(ea || (ea = {}));
17514
+ })(ta || (ta = {}));
17515
17515
  class fc extends Qr {
17516
17516
  constructor() {
17517
17517
  super("gamification");
17518
17518
  _(this, "saveOnboardingStatus", ({ userId: n, eventId: a, organizationId: s }, c) => {
17519
- this.write(ea.ONBOARDING, s, n, a, c);
17519
+ this.write(ta.ONBOARDING, s, n, a, c);
17520
17520
  });
17521
- _(this, "getOnboardingStatus", ({ userId: n, eventId: a, organizationId: s }) => this.read(ea.ONBOARDING, s, n, a));
17521
+ _(this, "getOnboardingStatus", ({ userId: n, eventId: a, organizationId: s }) => this.read(ta.ONBOARDING, s, n, a));
17522
17522
  }
17523
17523
  }
17524
17524
  const _o = {
@@ -17556,12 +17556,23 @@ const _o = {
17556
17556
  const p = a.get();
17557
17557
  a.set({ ...p, page: p.page + 1 });
17558
17558
  }, invalidate: l };
17559
- };
17559
+ }, b3 = (e, t) => {
17560
+ const { client: n, queryKey: a } = e.createPromiseClient(Nn, {
17561
+ method: "generateDeepLink",
17562
+ params: t
17563
+ });
17564
+ return e.nanoquery.createFetcherStore(a, {
17565
+ fetcher: async (s, c, u) => {
17566
+ var l;
17567
+ return u ? (l = (await n.generateDeepLink({ data: { eventId: u } })).data) == null ? void 0 : l.attributes : {};
17568
+ }
17569
+ });
17570
+ }, E3 = (e, t) => ({ $store: b3(e, [t]), fetch });
17560
17571
  var Ne;
17561
17572
  (function(e) {
17562
17573
  e.Unset = "unset", e.Required = "required", e.Optional = "optional", e.Completed = "completed", e.Disabled = "disabled", e.Unavailable = "unavailable";
17563
17574
  })(Ne || (Ne = {}));
17564
- const b3 = (e, t, n, a) => {
17575
+ const _3 = (e, t, n, a) => {
17565
17576
  const s = new fc(), c = Be(Ne.Completed), u = () => {
17566
17577
  const { inplayGame: p = {} } = e.featureSettings.get(), y = t.getCurrentSessionId({ prefix: "onboarding" });
17567
17578
  a.add({
@@ -17611,8 +17622,8 @@ const b3 = (e, t, n, a) => {
17611
17622
  eventId: p
17612
17623
  }, Ne.Completed));
17613
17624
  } };
17614
- }, E3 = /* @__PURE__ */ new Set([ce.POLL, ce.PREDICTION, ce.TRIVIA]);
17615
- class _3 extends jr {
17625
+ }, w3 = /* @__PURE__ */ new Set([ce.POLL, ce.PREDICTION, ce.TRIVIA]);
17626
+ class v3 extends jr {
17616
17627
  constructor(n, a, s) {
17617
17628
  super(n, a);
17618
17629
  /** user statistics (leaderboard panel) */
@@ -17623,6 +17634,7 @@ class _3 extends jr {
17623
17634
  _(this, "leaderboardId");
17624
17635
  /** leaderboard list */
17625
17636
  _(this, "leaderboardList");
17637
+ _(this, "deepLink");
17626
17638
  /** onboarding status */
17627
17639
  _(this, "onboardingStatus");
17628
17640
  /** opened question */
@@ -17699,12 +17711,12 @@ class _3 extends jr {
17699
17711
  _(this, "closeUser", () => {
17700
17712
  this.openedUser.set(void 0);
17701
17713
  });
17702
- this.background = pc(s), this.storage = new fc(), this.userSummary = new $e(Xh(this.background.slStreamId, this.background.userId, s.transport), "gamification:userSummary"), this.feedList = this.background.feedList, this.openedUser = Be(void 0), this.leaderboardId = new He(Be(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = b3(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = s.sdk.closeFeature, this.openFeature = () => s.sdk.openFeature(me.GAMES), this.openedQuestion = this.background.openedQuestion, this.leaderboardList = S3(this.transport, this.background.slStreamId), this.status.subscribe((c) => {
17714
+ this.background = pc(s), this.storage = new fc(), this.userSummary = new $e(Xh(this.background.slStreamId, this.background.userId, s.transport), "gamification:userSummary"), this.feedList = this.background.feedList, this.openedUser = Be(void 0), this.leaderboardId = new He(Be(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = _3(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = s.sdk.closeFeature, this.openFeature = () => s.sdk.openFeature(me.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = E3(this.transport, this.background.slStreamId), this.leaderboardList = S3(this.transport, this.background.slStreamId), this.status.subscribe((c) => {
17703
17715
  c === Mt.Ready ? this.connect(s.transport) : this.disconnect();
17704
17716
  }), this.background.activeQuestionId.listen((c) => {
17705
17717
  var u, l, p, y, h, T, k, b, R, I, P;
17706
17718
  if (c && c.data && this.onboardingStatus.$store.get() && ((u = c.data.question) == null ? void 0 : u.id) !== void 0 && c.data.question.notification !== void 0 && ((p = (l = c.data.moderation) == null ? void 0 : l.bypassNotifications) == null ? void 0 : p.inAppSilence) !== Rr.ON && c.data.question.status === qe.ACTIVE) {
17707
- if (E3.has(c.data.question.type))
17719
+ if (w3.has(c.data.question.type))
17708
17720
  this.notifications.add({
17709
17721
  type: Bt.QUESTION,
17710
17722
  action: () => {
@@ -17761,7 +17773,7 @@ class _3 extends jr {
17761
17773
  });
17762
17774
  }
17763
17775
  }
17764
- class w3 extends jr {
17776
+ class R3 extends jr {
17765
17777
  constructor(n, a, s) {
17766
17778
  super(n, a);
17767
17779
  _(this, "insights");
@@ -17811,18 +17823,18 @@ class w3 extends jr {
17811
17823
  }
17812
17824
  }
17813
17825
  me.GAMES + "", me.HIGHLIGHTS + "";
17814
- class v3 extends jr {
17826
+ class A3 extends jr {
17815
17827
  constructor(t, n) {
17816
17828
  super(t, n);
17817
17829
  }
17818
17830
  }
17819
- const R3 = (e, t, n) => e.type === me.GAMES ? new _3(e, t, n) : e.type === me.HIGHLIGHTS ? new w3(e, t, n) : new v3(e, t), A3 = (e, t, n) => {
17831
+ const C3 = (e, t, n) => e.type === me.GAMES ? new v3(e, t, n) : e.type === me.HIGHLIGHTS ? new R3(e, t, n) : new A3(e, t), I3 = (e, t, n) => {
17820
17832
  e.features = /* @__PURE__ */ new Map(), e.activeFeature = new He(Be(me.UNSET), "activeFeature"), e.sdk.getFeatures = () => e.features, e.sdk.getFeature = (a) => e.features.get(a), e.sdk.getActiveFeature = () => e.activeFeature.getStore(), e.sdk.openFeature = (a) => {
17821
17833
  e.activeFeature.setValue(a);
17822
17834
  }, e.sdk.closeFeature = () => {
17823
17835
  e.activeFeature.setValue(me.UNSET);
17824
17836
  }, e.initFeature = (a, s = ot.ORGANIZATION) => {
17825
- const c = R3(a, s, e);
17837
+ const c = C3(a, s, e);
17826
17838
  e.features.set(a.type, c);
17827
17839
  }, e.updateFeature = (a, s) => {
17828
17840
  var c;
@@ -17874,7 +17886,7 @@ const R3 = (e, t, n) => e.type === me.GAMES ? new _3(e, t, n) : e.type === me.HI
17874
17886
  }, n();
17875
17887
  };
17876
17888
  var Kr = { exports: {} }, Wr = { exports: {} };
17877
- function C3(e) {
17889
+ function N3(e) {
17878
17890
  var t = new e(), n = t;
17879
17891
  function a() {
17880
17892
  var c = t;
@@ -17888,11 +17900,11 @@ function C3(e) {
17888
17900
  release: s
17889
17901
  };
17890
17902
  }
17891
- var I3 = C3, N3 = I3;
17903
+ var O3 = N3, L3 = O3;
17892
17904
  function yc(e, t, n) {
17893
17905
  if (typeof e == "function" && (n = t, t = e, e = null), n < 1)
17894
17906
  throw new Error("fastqueue concurrency must be greater than 1");
17895
- var a = N3(O3), s = null, c = null, u = 0, l = null, p = {
17907
+ var a = L3(M3), s = null, c = null, u = 0, l = null, p = {
17896
17908
  push: I,
17897
17909
  drain: Ge,
17898
17910
  saturated: Ge,
@@ -17962,7 +17974,7 @@ function yc(e, t, n) {
17962
17974
  }
17963
17975
  function Ge() {
17964
17976
  }
17965
- function O3() {
17977
+ function M3() {
17966
17978
  this.value = null, this.callback = Ge, this.next = null, this.release = Ge, this.context = null, this.errorHandler = null;
17967
17979
  var e = this;
17968
17980
  this.worked = function(t, n) {
@@ -17970,7 +17982,7 @@ function O3() {
17970
17982
  e.value = null, e.callback = Ge, e.errorHandler && s(t, c), a.call(e.context, t, n), e.release(e);
17971
17983
  };
17972
17984
  }
17973
- function L3(e, t, n) {
17985
+ function B3(e, t, n) {
17974
17986
  typeof e == "function" && (n = t, t = e, e = null);
17975
17987
  function a(h, T) {
17976
17988
  t.call(this, h).then(function(k) {
@@ -18017,16 +18029,16 @@ function L3(e, t, n) {
18017
18029
  }
18018
18030
  }
18019
18031
  Wr.exports = yc;
18020
- Wr.exports.promise = L3;
18032
+ Wr.exports.promise = B3;
18021
18033
  var gc = Wr.exports, Zr = { exports: {} }, nn = typeof Reflect == "object" ? Reflect : null, wo = nn && typeof nn.apply == "function" ? nn.apply : function(e, t, n) {
18022
18034
  return Function.prototype.apply.call(e, t, n);
18023
- }, $n;
18024
- nn && typeof nn.ownKeys == "function" ? $n = nn.ownKeys : Object.getOwnPropertySymbols ? $n = function(e) {
18035
+ }, Hn;
18036
+ nn && typeof nn.ownKeys == "function" ? Hn = nn.ownKeys : Object.getOwnPropertySymbols ? Hn = function(e) {
18025
18037
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
18026
- } : $n = function(e) {
18038
+ } : Hn = function(e) {
18027
18039
  return Object.getOwnPropertyNames(e);
18028
18040
  };
18029
- function M3(e) {
18041
+ function x3(e) {
18030
18042
  console && console.warn && console.warn(e);
18031
18043
  }
18032
18044
  var hc = Number.isNaN || function(e) {
@@ -18036,7 +18048,7 @@ function oe() {
18036
18048
  oe.init.call(this);
18037
18049
  }
18038
18050
  Zr.exports = oe;
18039
- Zr.exports.once = P3;
18051
+ Zr.exports.once = F3;
18040
18052
  oe.EventEmitter = oe;
18041
18053
  oe.prototype._events = void 0;
18042
18054
  oe.prototype._eventsCount = 0;
@@ -18107,7 +18119,7 @@ function kc(e, t, n, a) {
18107
18119
  else if (typeof u == "function" ? u = c[t] = a ? [n, u] : [u, n] : a ? u.unshift(n) : u.push(n), s = Tc(e), s > 0 && u.length > s && !u.warned) {
18108
18120
  u.warned = !0;
18109
18121
  var l = new Error("Possible EventEmitter memory leak detected. " + u.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
18110
- l.name = "MaxListenersExceededWarning", l.emitter = e, l.type = t, l.count = u.length, M3(l);
18122
+ l.name = "MaxListenersExceededWarning", l.emitter = e, l.type = t, l.count = u.length, x3(l);
18111
18123
  }
18112
18124
  return e;
18113
18125
  }
@@ -18118,12 +18130,12 @@ oe.prototype.on = oe.prototype.addListener;
18118
18130
  oe.prototype.prependListener = function(e, t) {
18119
18131
  return kc(this, e, t, !0);
18120
18132
  };
18121
- function B3() {
18133
+ function U3() {
18122
18134
  if (!this.fired)
18123
18135
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
18124
18136
  }
18125
18137
  function Sc(e, t, n) {
18126
- var a = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, s = B3.bind(a);
18138
+ var a = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, s = U3.bind(a);
18127
18139
  return s.listener = n, a.wrapFn = s, s;
18128
18140
  }
18129
18141
  oe.prototype.once = function(e, t) {
@@ -18148,7 +18160,7 @@ oe.prototype.removeListener = function(e, t) {
18148
18160
  }
18149
18161
  if (s < 0)
18150
18162
  return this;
18151
- s === 0 ? n.shift() : x3(n, s), n.length === 1 && (a[e] = n[0]), a.removeListener !== void 0 && this.emit("removeListener", e, u || t);
18163
+ s === 0 ? n.shift() : P3(n, s), n.length === 1 && (a[e] = n[0]), a.removeListener !== void 0 && this.emit("removeListener", e, u || t);
18152
18164
  }
18153
18165
  return this;
18154
18166
  };
@@ -18177,7 +18189,7 @@ function bc(e, t, n) {
18177
18189
  if (a === void 0)
18178
18190
  return [];
18179
18191
  var s = a[t];
18180
- return s === void 0 ? [] : typeof s == "function" ? n ? [s.listener || s] : [s] : n ? U3(s) : _c(s, s.length);
18192
+ return s === void 0 ? [] : typeof s == "function" ? n ? [s.listener || s] : [s] : n ? D3(s) : _c(s, s.length);
18181
18193
  }
18182
18194
  oe.prototype.listeners = function(e) {
18183
18195
  return bc(this, e, !0);
@@ -18201,24 +18213,24 @@ function Ec(e) {
18201
18213
  return 0;
18202
18214
  }
18203
18215
  oe.prototype.eventNames = function() {
18204
- return this._eventsCount > 0 ? $n(this._events) : [];
18216
+ return this._eventsCount > 0 ? Hn(this._events) : [];
18205
18217
  };
18206
18218
  function _c(e, t) {
18207
18219
  for (var n = new Array(t), a = 0; a < t; ++a)
18208
18220
  n[a] = e[a];
18209
18221
  return n;
18210
18222
  }
18211
- function x3(e, t) {
18223
+ function P3(e, t) {
18212
18224
  for (; t + 1 < e.length; t++)
18213
18225
  e[t] = e[t + 1];
18214
18226
  e.pop();
18215
18227
  }
18216
- function U3(e) {
18228
+ function D3(e) {
18217
18229
  for (var t = new Array(e.length), n = 0; n < t.length; ++n)
18218
18230
  t[n] = e[n].listener || e[n];
18219
18231
  return t;
18220
18232
  }
18221
- function P3(e, t) {
18233
+ function F3(e, t) {
18222
18234
  return new Promise(function(n, a) {
18223
18235
  function s(u) {
18224
18236
  e.removeListener(t, c), a(u);
@@ -18226,10 +18238,10 @@ function P3(e, t) {
18226
18238
  function c() {
18227
18239
  typeof e.removeListener == "function" && e.removeListener("error", s), n([].slice.call(arguments));
18228
18240
  }
18229
- wc(e, t, c, { once: !0 }), t !== "error" && D3(e, s, { once: !0 });
18241
+ wc(e, t, c, { once: !0 }), t !== "error" && V3(e, s, { once: !0 });
18230
18242
  });
18231
18243
  }
18232
- function D3(e, t, n) {
18244
+ function V3(e, t, n) {
18233
18245
  typeof e.on == "function" && wc(e, "error", t, n);
18234
18246
  }
18235
18247
  function wc(e, t, n, a) {
@@ -18265,33 +18277,33 @@ var vc = Zr.exports, Sa = {}, Rc = {}, Ac = function() {
18265
18277
  return !1;
18266
18278
  }
18267
18279
  return !0;
18268
- }, F3 = Ac, Jr = function() {
18269
- return F3() && !!Symbol.toStringTag;
18270
- }, Ro = typeof Symbol < "u" && Symbol, V3 = Ac, G3 = function() {
18271
- return typeof Ro != "function" || typeof Symbol != "function" || typeof Ro("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : V3();
18280
+ }, G3 = Ac, Jr = function() {
18281
+ return G3() && !!Symbol.toStringTag;
18282
+ }, Ro = typeof Symbol < "u" && Symbol, q3 = Ac, $3 = function() {
18283
+ return typeof Ro != "function" || typeof Symbol != "function" || typeof Ro("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : q3();
18272
18284
  }, Ao = {
18273
18285
  foo: {}
18274
- }, q3 = Object, $3 = function() {
18275
- return { __proto__: Ao }.foo === Ao.foo && !({ __proto__: null } instanceof q3);
18276
- }, H3 = "Function.prototype.bind called on incompatible ", j3 = Object.prototype.toString, Q3 = Math.max, Y3 = "[object Function]", Co = function(e, t) {
18286
+ }, H3 = Object, j3 = function() {
18287
+ return { __proto__: Ao }.foo === Ao.foo && !({ __proto__: null } instanceof H3);
18288
+ }, Q3 = "Function.prototype.bind called on incompatible ", Y3 = Object.prototype.toString, z3 = Math.max, K3 = "[object Function]", Co = function(e, t) {
18277
18289
  for (var n = [], a = 0; a < e.length; a += 1)
18278
18290
  n[a] = e[a];
18279
18291
  for (var s = 0; s < t.length; s += 1)
18280
18292
  n[s + e.length] = t[s];
18281
18293
  return n;
18282
- }, z3 = function(e, t) {
18294
+ }, W3 = function(e, t) {
18283
18295
  for (var n = [], a = t || 0, s = 0; a < e.length; a += 1, s += 1)
18284
18296
  n[s] = e[a];
18285
18297
  return n;
18286
- }, K3 = function(e, t) {
18298
+ }, Z3 = function(e, t) {
18287
18299
  for (var n = "", a = 0; a < e.length; a += 1)
18288
18300
  n += e[a], a + 1 < e.length && (n += t);
18289
18301
  return n;
18290
- }, W3 = function(e) {
18302
+ }, J3 = function(e) {
18291
18303
  var t = this;
18292
- if (typeof t != "function" || j3.apply(t) !== Y3)
18293
- throw new TypeError(H3 + t);
18294
- for (var n = z3(arguments, 1), a, s = function() {
18304
+ if (typeof t != "function" || Y3.apply(t) !== K3)
18305
+ throw new TypeError(Q3 + t);
18306
+ for (var n = W3(arguments, 1), a, s = function() {
18295
18307
  if (this instanceof a) {
18296
18308
  var y = t.apply(
18297
18309
  this,
@@ -18303,15 +18315,15 @@ var vc = Zr.exports, Sa = {}, Rc = {}, Ac = function() {
18303
18315
  e,
18304
18316
  Co(n, arguments)
18305
18317
  );
18306
- }, c = Q3(0, t.length - n.length), u = [], l = 0; l < c; l++)
18318
+ }, c = z3(0, t.length - n.length), u = [], l = 0; l < c; l++)
18307
18319
  u[l] = "$" + l;
18308
- if (a = Function("binder", "return function (" + K3(u, ",") + "){ return binder.apply(this,arguments); }")(s), t.prototype) {
18320
+ if (a = Function("binder", "return function (" + Z3(u, ",") + "){ return binder.apply(this,arguments); }")(s), t.prototype) {
18309
18321
  var p = function() {
18310
18322
  };
18311
18323
  p.prototype = t.prototype, a.prototype = new p(), p.prototype = null;
18312
18324
  }
18313
18325
  return a;
18314
- }, Z3 = W3, Cc = Function.prototype.bind || Z3, Io = {}.hasOwnProperty, Fa = Function.prototype.call, J3 = Fa.bind ? Fa.bind(Io) : function(e, t) {
18326
+ }, X3 = J3, Cc = Function.prototype.bind || X3, Io = {}.hasOwnProperty, Fa = Function.prototype.call, e6 = Fa.bind ? Fa.bind(Io) : function(e, t) {
18315
18327
  return Fa.call(Io, e, t);
18316
18328
  }, ee, sn = SyntaxError, Ic = Function, an = TypeError, Va = function(e) {
18317
18329
  try {
@@ -18327,7 +18339,7 @@ if (xt)
18327
18339
  }
18328
18340
  var Ga = function() {
18329
18341
  throw new an();
18330
- }, X3 = xt ? function() {
18342
+ }, t6 = xt ? function() {
18331
18343
  try {
18332
18344
  return arguments.callee, Ga;
18333
18345
  } catch {
@@ -18337,9 +18349,9 @@ var Ga = function() {
18337
18349
  return Ga;
18338
18350
  }
18339
18351
  }
18340
- }() : Ga, zt = G3(), e6 = $3(), Ee = Object.getPrototypeOf || (e6 ? function(e) {
18352
+ }() : Ga, zt = $3(), n6 = j3(), Ee = Object.getPrototypeOf || (n6 ? function(e) {
18341
18353
  return e.__proto__;
18342
- } : null), Wt = {}, t6 = typeof Uint8Array > "u" || !Ee ? ee : Ee(Uint8Array), Ut = {
18354
+ } : null), Wt = {}, a6 = typeof Uint8Array > "u" || !Ee ? ee : Ee(Uint8Array), Ut = {
18343
18355
  "%AggregateError%": typeof AggregateError > "u" ? ee : AggregateError,
18344
18356
  "%Array%": Array,
18345
18357
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? ee : ArrayBuffer,
@@ -18396,8 +18408,8 @@ var Ga = function() {
18396
18408
  "%StringIteratorPrototype%": zt && Ee ? Ee(""[Symbol.iterator]()) : ee,
18397
18409
  "%Symbol%": zt ? Symbol : ee,
18398
18410
  "%SyntaxError%": sn,
18399
- "%ThrowTypeError%": X3,
18400
- "%TypedArray%": t6,
18411
+ "%ThrowTypeError%": t6,
18412
+ "%TypedArray%": a6,
18401
18413
  "%TypeError%": an,
18402
18414
  "%Uint8Array%": typeof Uint8Array > "u" ? ee : Uint8Array,
18403
18415
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? ee : Uint8ClampedArray,
@@ -18412,10 +18424,10 @@ if (Ee)
18412
18424
  try {
18413
18425
  null.error;
18414
18426
  } catch (e) {
18415
- var n6 = Ee(Ee(e));
18416
- Ut["%Error.prototype%"] = n6;
18427
+ var r6 = Ee(Ee(e));
18428
+ Ut["%Error.prototype%"] = r6;
18417
18429
  }
18418
- var a6 = function e(t) {
18430
+ var s6 = function e(t) {
18419
18431
  var n;
18420
18432
  if (t === "%AsyncFunction%")
18421
18433
  n = Va("async function () {}");
@@ -18483,21 +18495,21 @@ var a6 = function e(t) {
18483
18495
  "%URIErrorPrototype%": ["URIError", "prototype"],
18484
18496
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
18485
18497
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
18486
- }, Nn = Cc, ta = J3, r6 = Nn.call(Function.call, Array.prototype.concat), s6 = Nn.call(Function.apply, Array.prototype.splice), Oo = Nn.call(Function.call, String.prototype.replace), na = Nn.call(Function.call, String.prototype.slice), o6 = Nn.call(Function.call, RegExp.prototype.exec), i6 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, c6 = /\\(\\)?/g, l6 = function(e) {
18487
- var t = na(e, 0, 1), n = na(e, -1);
18498
+ }, On = Cc, na = e6, o6 = On.call(Function.call, Array.prototype.concat), i6 = On.call(Function.apply, Array.prototype.splice), Oo = On.call(Function.call, String.prototype.replace), aa = On.call(Function.call, String.prototype.slice), c6 = On.call(Function.call, RegExp.prototype.exec), l6 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, u6 = /\\(\\)?/g, m6 = function(e) {
18499
+ var t = aa(e, 0, 1), n = aa(e, -1);
18488
18500
  if (t === "%" && n !== "%")
18489
18501
  throw new sn("invalid intrinsic syntax, expected closing `%`");
18490
18502
  if (n === "%" && t !== "%")
18491
18503
  throw new sn("invalid intrinsic syntax, expected opening `%`");
18492
18504
  var a = [];
18493
- return Oo(e, i6, function(s, c, u, l) {
18494
- a[a.length] = u ? Oo(l, c6, "$1") : c || s;
18505
+ return Oo(e, l6, function(s, c, u, l) {
18506
+ a[a.length] = u ? Oo(l, u6, "$1") : c || s;
18495
18507
  }), a;
18496
- }, u6 = function(e, t) {
18508
+ }, d6 = function(e, t) {
18497
18509
  var n = e, a;
18498
- if (ta(No, n) && (a = No[n], n = "%" + a[0] + "%"), ta(Ut, n)) {
18510
+ if (na(No, n) && (a = No[n], n = "%" + a[0] + "%"), na(Ut, n)) {
18499
18511
  var s = Ut[n];
18500
- if (s === Wt && (s = a6(n)), typeof s > "u" && !t)
18512
+ if (s === Wt && (s = s6(n)), typeof s > "u" && !t)
18501
18513
  throw new an("intrinsic " + e + " exists, but is not available. Please file an issue!");
18502
18514
  return {
18503
18515
  alias: a,
@@ -18511,15 +18523,15 @@ var a6 = function e(t) {
18511
18523
  throw new an("intrinsic name must be a non-empty string");
18512
18524
  if (arguments.length > 1 && typeof t != "boolean")
18513
18525
  throw new an('"allowMissing" argument must be a boolean');
18514
- if (o6(/^%?[^%]*%?$/, e) === null)
18526
+ if (c6(/^%?[^%]*%?$/, e) === null)
18515
18527
  throw new sn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
18516
- var n = l6(e), a = n.length > 0 ? n[0] : "", s = u6("%" + a + "%", t), c = s.name, u = s.value, l = !1, p = s.alias;
18517
- p && (a = p[0], s6(n, r6([0, 1], p)));
18528
+ var n = m6(e), a = n.length > 0 ? n[0] : "", s = d6("%" + a + "%", t), c = s.name, u = s.value, l = !1, p = s.alias;
18529
+ p && (a = p[0], i6(n, o6([0, 1], p)));
18518
18530
  for (var y = 1, h = !0; y < n.length; y += 1) {
18519
- var T = n[y], k = na(T, 0, 1), b = na(T, -1);
18531
+ var T = n[y], k = aa(T, 0, 1), b = aa(T, -1);
18520
18532
  if ((k === '"' || k === "'" || k === "`" || b === '"' || b === "'" || b === "`") && k !== b)
18521
18533
  throw new sn("property names with quotes must have matching quotes");
18522
- if ((T === "constructor" || !h) && (l = !0), a += "." + T, c = "%" + a + "%", ta(Ut, c))
18534
+ if ((T === "constructor" || !h) && (l = !0), a += "." + T, c = "%" + a + "%", na(Ut, c))
18523
18535
  u = Ut[c];
18524
18536
  else if (u != null) {
18525
18537
  if (!(T in u)) {
@@ -18531,12 +18543,12 @@ var a6 = function e(t) {
18531
18543
  var R = xt(u, T);
18532
18544
  h = !!R, h && "get" in R && !("originalValue" in R.get) ? u = R.get : u = u[T];
18533
18545
  } else
18534
- h = ta(u, T), u = u[T];
18546
+ h = na(u, T), u = u[T];
18535
18547
  h && !l && (Ut[c] = u);
18536
18548
  }
18537
18549
  }
18538
18550
  return u;
18539
- }, Nc = { exports: {} }, m6 = ln, pr = m6("%Object.defineProperty%", !0), fr = function() {
18551
+ }, Nc = { exports: {} }, p6 = ln, pr = p6("%Object.defineProperty%", !0), fr = function() {
18540
18552
  if (pr)
18541
18553
  try {
18542
18554
  return pr({}, "a", { value: 1 }), !0;
@@ -18554,21 +18566,21 @@ fr.hasArrayLengthDefineBug = function() {
18554
18566
  return !0;
18555
18567
  }
18556
18568
  };
18557
- var Oc = fr, d6 = ln, Hn = d6("%Object.getOwnPropertyDescriptor%", !0);
18558
- if (Hn)
18569
+ var Oc = fr, f6 = ln, jn = f6("%Object.getOwnPropertyDescriptor%", !0);
18570
+ if (jn)
18559
18571
  try {
18560
- Hn([], "length");
18572
+ jn([], "length");
18561
18573
  } catch {
18562
- Hn = null;
18574
+ jn = null;
18563
18575
  }
18564
- var Xr = Hn, p6 = Oc(), es = ln, Sn = p6 && es("%Object.defineProperty%", !0);
18576
+ var Xr = jn, y6 = Oc(), es = ln, Sn = y6 && es("%Object.defineProperty%", !0);
18565
18577
  if (Sn)
18566
18578
  try {
18567
18579
  Sn({}, "a", { value: 1 });
18568
18580
  } catch {
18569
18581
  Sn = !1;
18570
18582
  }
18571
- var f6 = es("%SyntaxError%"), Kt = es("%TypeError%"), Lo = Xr, y6 = function(e, t, n) {
18583
+ var g6 = es("%SyntaxError%"), Kt = es("%TypeError%"), Lo = Xr, h6 = function(e, t, n) {
18572
18584
  if (!e || typeof e != "object" && typeof e != "function")
18573
18585
  throw new Kt("`obj` must be an object or a function`");
18574
18586
  if (typeof t != "string" && typeof t != "symbol")
@@ -18592,21 +18604,21 @@ var f6 = es("%SyntaxError%"), Kt = es("%TypeError%"), Lo = Xr, y6 = function(e,
18592
18604
  else if (u || !a && !s && !c)
18593
18605
  e[t] = n;
18594
18606
  else
18595
- throw new f6("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
18596
- }, Lc = ln, Mo = y6, g6 = Oc(), Bo = Xr, xo = Lc("%TypeError%"), h6 = Lc("%Math.floor%"), T6 = function(e, t) {
18607
+ throw new g6("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
18608
+ }, Lc = ln, Mo = h6, T6 = Oc(), Bo = Xr, xo = Lc("%TypeError%"), k6 = Lc("%Math.floor%"), S6 = function(e, t) {
18597
18609
  if (typeof e != "function")
18598
18610
  throw new xo("`fn` is not a function");
18599
- if (typeof t != "number" || t < 0 || t > 4294967295 || h6(t) !== t)
18611
+ if (typeof t != "number" || t < 0 || t > 4294967295 || k6(t) !== t)
18600
18612
  throw new xo("`length` must be a positive 32-bit integer");
18601
18613
  var n = arguments.length > 2 && !!arguments[2], a = !0, s = !0;
18602
18614
  if ("length" in e && Bo) {
18603
18615
  var c = Bo(e, "length");
18604
18616
  c && !c.configurable && (a = !1), c && !c.writable && (s = !1);
18605
18617
  }
18606
- return (a || s || !n) && (g6 ? Mo(e, "length", t, !0, !0) : Mo(e, "length", t)), e;
18618
+ return (a || s || !n) && (T6 ? Mo(e, "length", t, !0, !0) : Mo(e, "length", t)), e;
18607
18619
  };
18608
18620
  (function(e) {
18609
- var t = Cc, n = ln, a = T6, s = n("%TypeError%"), c = n("%Function.prototype.apply%"), u = n("%Function.prototype.call%"), l = n("%Reflect.apply%", !0) || t.call(u, c), p = n("%Object.defineProperty%", !0), y = n("%Math.max%");
18621
+ var t = Cc, n = ln, a = S6, s = n("%TypeError%"), c = n("%Function.prototype.apply%"), u = n("%Function.prototype.call%"), l = n("%Reflect.apply%", !0) || t.call(u, c), p = n("%Object.defineProperty%", !0), y = n("%Math.max%");
18610
18622
  if (p)
18611
18623
  try {
18612
18624
  p({}, "a", { value: 1 });
@@ -18628,59 +18640,59 @@ var f6 = es("%SyntaxError%"), Kt = es("%TypeError%"), Lo = Xr, y6 = function(e,
18628
18640
  };
18629
18641
  p ? p(e.exports, "apply", { value: h }) : e.exports.apply = h;
18630
18642
  })(Nc);
18631
- var Mc = Nc.exports, Bc = ln, xc = Mc, k6 = xc(Bc("String.prototype.indexOf")), Uc = function(e, t) {
18643
+ var Mc = Nc.exports, Bc = ln, xc = Mc, b6 = xc(Bc("String.prototype.indexOf")), Uc = function(e, t) {
18632
18644
  var n = Bc(e, !!t);
18633
- return typeof n == "function" && k6(e, ".prototype.") > -1 ? xc(n) : n;
18634
- }, S6 = Jr(), b6 = Uc, yr = b6("Object.prototype.toString"), ba = function(e) {
18635
- return S6 && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : yr(e) === "[object Arguments]";
18645
+ return typeof n == "function" && b6(e, ".prototype.") > -1 ? xc(n) : n;
18646
+ }, E6 = Jr(), _6 = Uc, yr = _6("Object.prototype.toString"), ba = function(e) {
18647
+ return E6 && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : yr(e) === "[object Arguments]";
18636
18648
  }, Pc = function(e) {
18637
18649
  return ba(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && yr(e) !== "[object Array]" && yr(e.callee) === "[object Function]";
18638
- }, E6 = function() {
18650
+ }, w6 = function() {
18639
18651
  return ba(arguments);
18640
18652
  }();
18641
18653
  ba.isLegacyArguments = Pc;
18642
- var _6 = E6 ? ba : Pc, w6 = Object.prototype.toString, v6 = Function.prototype.toString, R6 = /^\s*(?:function)?\*/, Dc = Jr(), qa = Object.getPrototypeOf, A6 = function() {
18654
+ var v6 = w6 ? ba : Pc, R6 = Object.prototype.toString, A6 = Function.prototype.toString, C6 = /^\s*(?:function)?\*/, Dc = Jr(), qa = Object.getPrototypeOf, I6 = function() {
18643
18655
  if (!Dc)
18644
18656
  return !1;
18645
18657
  try {
18646
18658
  return Function("return function*() {}")();
18647
18659
  } catch {
18648
18660
  }
18649
- }, $a, C6 = function(e) {
18661
+ }, $a, N6 = function(e) {
18650
18662
  if (typeof e != "function")
18651
18663
  return !1;
18652
- if (R6.test(v6.call(e)))
18664
+ if (C6.test(A6.call(e)))
18653
18665
  return !0;
18654
18666
  if (!Dc) {
18655
- var t = w6.call(e);
18667
+ var t = R6.call(e);
18656
18668
  return t === "[object GeneratorFunction]";
18657
18669
  }
18658
18670
  if (!qa)
18659
18671
  return !1;
18660
18672
  if (typeof $a > "u") {
18661
- var n = A6();
18673
+ var n = I6();
18662
18674
  $a = n ? qa(n) : !1;
18663
18675
  }
18664
18676
  return qa(e) === $a;
18665
- }, Fc = Function.prototype.toString, Xt = typeof Reflect == "object" && Reflect !== null && Reflect.apply, gr, jn;
18677
+ }, Fc = Function.prototype.toString, Xt = typeof Reflect == "object" && Reflect !== null && Reflect.apply, gr, Qn;
18666
18678
  if (typeof Xt == "function" && typeof Object.defineProperty == "function")
18667
18679
  try {
18668
18680
  gr = Object.defineProperty({}, "length", {
18669
18681
  get: function() {
18670
- throw jn;
18682
+ throw Qn;
18671
18683
  }
18672
- }), jn = {}, Xt(function() {
18684
+ }), Qn = {}, Xt(function() {
18673
18685
  throw 42;
18674
18686
  }, null, gr);
18675
18687
  } catch (e) {
18676
- e !== jn && (Xt = null);
18688
+ e !== Qn && (Xt = null);
18677
18689
  }
18678
18690
  else
18679
18691
  Xt = null;
18680
- var I6 = /^\s*class\b/, hr = function(e) {
18692
+ var O6 = /^\s*class\b/, hr = function(e) {
18681
18693
  try {
18682
18694
  var t = Fc.call(e);
18683
- return I6.test(t);
18695
+ return O6.test(t);
18684
18696
  } catch {
18685
18697
  return !1;
18686
18698
  }
@@ -18690,22 +18702,22 @@ var I6 = /^\s*class\b/, hr = function(e) {
18690
18702
  } catch {
18691
18703
  return !1;
18692
18704
  }
18693
- }, Qn = Object.prototype.toString, N6 = "[object Object]", O6 = "[object Function]", L6 = "[object GeneratorFunction]", M6 = "[object HTMLAllCollection]", B6 = "[object HTML document.all class]", x6 = "[object HTMLCollection]", U6 = typeof Symbol == "function" && !!Symbol.toStringTag, P6 = !(0 in [,]), Tr = function() {
18705
+ }, Yn = Object.prototype.toString, L6 = "[object Object]", M6 = "[object Function]", B6 = "[object GeneratorFunction]", x6 = "[object HTMLAllCollection]", U6 = "[object HTML document.all class]", P6 = "[object HTMLCollection]", D6 = typeof Symbol == "function" && !!Symbol.toStringTag, F6 = !(0 in [,]), Tr = function() {
18694
18706
  return !1;
18695
18707
  };
18696
18708
  if (typeof document == "object") {
18697
- var D6 = document.all;
18698
- Qn.call(D6) === Qn.call(document.all) && (Tr = function(e) {
18699
- if ((P6 || !e) && (typeof e > "u" || typeof e == "object"))
18709
+ var V6 = document.all;
18710
+ Yn.call(V6) === Yn.call(document.all) && (Tr = function(e) {
18711
+ if ((F6 || !e) && (typeof e > "u" || typeof e == "object"))
18700
18712
  try {
18701
- var t = Qn.call(e);
18702
- return (t === M6 || t === B6 || t === x6 || t === N6) && e("") == null;
18713
+ var t = Yn.call(e);
18714
+ return (t === x6 || t === U6 || t === P6 || t === L6) && e("") == null;
18703
18715
  } catch {
18704
18716
  }
18705
18717
  return !1;
18706
18718
  });
18707
18719
  }
18708
- var F6 = Xt ? function(e) {
18720
+ var G6 = Xt ? function(e) {
18709
18721
  if (Tr(e))
18710
18722
  return !0;
18711
18723
  if (!e || typeof e != "function" && typeof e != "object")
@@ -18713,7 +18725,7 @@ var F6 = Xt ? function(e) {
18713
18725
  try {
18714
18726
  Xt(e, null, gr);
18715
18727
  } catch (t) {
18716
- if (t !== jn)
18728
+ if (t !== Qn)
18717
18729
  return !1;
18718
18730
  }
18719
18731
  return !hr(e) && Ha(e);
@@ -18722,27 +18734,27 @@ var F6 = Xt ? function(e) {
18722
18734
  return !0;
18723
18735
  if (!e || typeof e != "function" && typeof e != "object")
18724
18736
  return !1;
18725
- if (U6)
18737
+ if (D6)
18726
18738
  return Ha(e);
18727
18739
  if (hr(e))
18728
18740
  return !1;
18729
- var t = Qn.call(e);
18730
- return t !== O6 && t !== L6 && !/^\[object HTML/.test(t) ? !1 : Ha(e);
18731
- }, V6 = F6, G6 = Object.prototype.toString, Vc = Object.prototype.hasOwnProperty, q6 = function(e, t, n) {
18741
+ var t = Yn.call(e);
18742
+ return t !== M6 && t !== B6 && !/^\[object HTML/.test(t) ? !1 : Ha(e);
18743
+ }, q6 = G6, $6 = Object.prototype.toString, Vc = Object.prototype.hasOwnProperty, H6 = function(e, t, n) {
18732
18744
  for (var a = 0, s = e.length; a < s; a++)
18733
18745
  Vc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
18734
- }, $6 = function(e, t, n) {
18746
+ }, j6 = function(e, t, n) {
18735
18747
  for (var a = 0, s = e.length; a < s; a++)
18736
18748
  n == null ? t(e.charAt(a), a, e) : t.call(n, e.charAt(a), a, e);
18737
- }, H6 = function(e, t, n) {
18749
+ }, Q6 = function(e, t, n) {
18738
18750
  for (var a in e)
18739
18751
  Vc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
18740
- }, j6 = function(e, t, n) {
18741
- if (!V6(t))
18752
+ }, Y6 = function(e, t, n) {
18753
+ if (!q6(t))
18742
18754
  throw new TypeError("iterator must be a function");
18743
18755
  var a;
18744
- arguments.length >= 3 && (a = n), G6.call(e) === "[object Array]" ? q6(e, t, a) : typeof e == "string" ? $6(e, t, a) : H6(e, t, a);
18745
- }, Q6 = j6, ja = [
18756
+ arguments.length >= 3 && (a = n), $6.call(e) === "[object Array]" ? H6(e, t, a) : typeof e == "string" ? j6(e, t, a) : Q6(e, t, a);
18757
+ }, z6 = Y6, ja = [
18746
18758
  "BigInt64Array",
18747
18759
  "BigUint64Array",
18748
18760
  "Float32Array",
@@ -18754,42 +18766,42 @@ var F6 = Xt ? function(e) {
18754
18766
  "Uint32Array",
18755
18767
  "Uint8Array",
18756
18768
  "Uint8ClampedArray"
18757
- ], Y6 = typeof globalThis > "u" ? rc : globalThis, z6 = function() {
18769
+ ], K6 = typeof globalThis > "u" ? rc : globalThis, W6 = function() {
18758
18770
  for (var e = [], t = 0; t < ja.length; t++)
18759
- typeof Y6[ja[t]] == "function" && (e[e.length] = ja[t]);
18771
+ typeof K6[ja[t]] == "function" && (e[e.length] = ja[t]);
18760
18772
  return e;
18761
- }, aa = Q6, K6 = z6, Uo = Mc, ts = Uc, Yn = Xr, W6 = ts("Object.prototype.toString"), Gc = Jr(), Po = typeof globalThis > "u" ? rc : globalThis, kr = K6(), ns = ts("String.prototype.slice"), Qa = Object.getPrototypeOf, Z6 = ts("Array.prototype.indexOf", !0) || function(e, t) {
18773
+ }, ra = z6, Z6 = W6, Uo = Mc, ts = Uc, zn = Xr, J6 = ts("Object.prototype.toString"), Gc = Jr(), Po = typeof globalThis > "u" ? rc : globalThis, kr = Z6(), ns = ts("String.prototype.slice"), Qa = Object.getPrototypeOf, X6 = ts("Array.prototype.indexOf", !0) || function(e, t) {
18762
18774
  for (var n = 0; n < e.length; n += 1)
18763
18775
  if (e[n] === t)
18764
18776
  return n;
18765
18777
  return -1;
18766
- }, ra = { __proto__: null };
18767
- Gc && Yn && Qa ? aa(kr, function(e) {
18778
+ }, sa = { __proto__: null };
18779
+ Gc && zn && Qa ? ra(kr, function(e) {
18768
18780
  var t = new Po[e]();
18769
18781
  if (Symbol.toStringTag in t) {
18770
- var n = Qa(t), a = Yn(n, Symbol.toStringTag);
18782
+ var n = Qa(t), a = zn(n, Symbol.toStringTag);
18771
18783
  if (!a) {
18772
18784
  var s = Qa(n);
18773
- a = Yn(s, Symbol.toStringTag);
18785
+ a = zn(s, Symbol.toStringTag);
18774
18786
  }
18775
- ra["$" + e] = Uo(a.get);
18787
+ sa["$" + e] = Uo(a.get);
18776
18788
  }
18777
- }) : aa(kr, function(e) {
18789
+ }) : ra(kr, function(e) {
18778
18790
  var t = new Po[e](), n = t.slice || t.set;
18779
- n && (ra["$" + e] = Uo(n));
18791
+ n && (sa["$" + e] = Uo(n));
18780
18792
  });
18781
- var J6 = function(e) {
18793
+ var eT = function(e) {
18782
18794
  var t = !1;
18783
- return aa(ra, function(n, a) {
18795
+ return ra(sa, function(n, a) {
18784
18796
  if (!t)
18785
18797
  try {
18786
18798
  "$" + n(e) === a && (t = ns(a, 1));
18787
18799
  } catch {
18788
18800
  }
18789
18801
  }), t;
18790
- }, X6 = function(e) {
18802
+ }, tT = function(e) {
18791
18803
  var t = !1;
18792
- return aa(ra, function(n, a) {
18804
+ return ra(sa, function(n, a) {
18793
18805
  if (!t)
18794
18806
  try {
18795
18807
  n(e), t = ns(a, 1);
@@ -18800,15 +18812,15 @@ var J6 = function(e) {
18800
18812
  if (!e || typeof e != "object")
18801
18813
  return !1;
18802
18814
  if (!Gc) {
18803
- var t = ns(W6(e), 8, -1);
18804
- return Z6(kr, t) > -1 ? t : t !== "Object" ? !1 : X6(e);
18815
+ var t = ns(J6(e), 8, -1);
18816
+ return X6(kr, t) > -1 ? t : t !== "Object" ? !1 : tT(e);
18805
18817
  }
18806
- return Yn ? J6(e) : null;
18807
- }, eT = qc, tT = function(e) {
18808
- return !!eT(e);
18818
+ return zn ? eT(e) : null;
18819
+ }, nT = qc, aT = function(e) {
18820
+ return !!nT(e);
18809
18821
  };
18810
18822
  (function(e) {
18811
- var t = _6, n = C6, a = qc, s = tT;
18823
+ var t = v6, n = N6, a = qc, s = aT;
18812
18824
  function c(N) {
18813
18825
  return N.call.bind(N);
18814
18826
  }
@@ -18991,7 +19003,7 @@ var J6 = function(e) {
18991
19003
  });
18992
19004
  });
18993
19005
  })(Rc);
18994
- var nT = function(e) {
19006
+ var rT = function(e) {
18995
19007
  return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
18996
19008
  }, Sr = { exports: {} };
18997
19009
  typeof Object.create == "function" ? Sr.exports = function(e, t) {
@@ -19011,7 +19023,7 @@ typeof Object.create == "function" ? Sr.exports = function(e, t) {
19011
19023
  n.prototype = t.prototype, e.prototype = new n(), e.prototype.constructor = e;
19012
19024
  }
19013
19025
  };
19014
- var aT = Sr.exports;
19026
+ var sT = Sr.exports;
19015
19027
  (function(e) {
19016
19028
  var t = Object.getOwnPropertyDescriptors || function(E) {
19017
19029
  for (var A = Object.keys(E), B = {}, H = 0; H < A.length; H++)
@@ -19290,7 +19302,7 @@ var aT = Sr.exports;
19290
19302
  return E === null || typeof E == "boolean" || typeof E == "number" || typeof E == "string" || typeof E == "symbol" || // ES6 symbol
19291
19303
  typeof E > "u";
19292
19304
  }
19293
- e.isPrimitive = ue, e.isBuffer = nT;
19305
+ e.isPrimitive = ue, e.isBuffer = rT;
19294
19306
  function ne(E) {
19295
19307
  return Object.prototype.toString.call(E);
19296
19308
  }
@@ -19321,7 +19333,7 @@ var aT = Sr.exports;
19321
19333
  }
19322
19334
  e.log = function() {
19323
19335
  console.log("%s - %s", et(), e.format.apply(e, arguments));
19324
- }, e.inherits = aT, e._extend = function(E, A) {
19336
+ }, e.inherits = sT, e._extend = function(E, A) {
19325
19337
  if (!A || !ie(A))
19326
19338
  return E;
19327
19339
  for (var B = Object.keys(A), H = B.length; H--; )
@@ -19406,7 +19418,7 @@ var aT = Sr.exports;
19406
19418
  }
19407
19419
  e.callbackify = $;
19408
19420
  })(Sa);
19409
- const { inherits: rT, format: Ya } = Sa;
19421
+ const { inherits: oT, format: Ya } = Sa;
19410
19422
  function At(e, t, n = Error) {
19411
19423
  if (!e)
19412
19424
  throw new Error("Avvio error code must not be empty");
@@ -19419,7 +19431,7 @@ function At(e, t, n = Error) {
19419
19431
  }
19420
19432
  return a.prototype[Symbol.toStringTag] = "Error", a.prototype.toString = function() {
19421
19433
  return `${this.name} [${this.code}]: ${this.message}`;
19422
- }, rT(a, n), a;
19434
+ }, oT(a, n), a;
19423
19435
  }
19424
19436
  var $c = {
19425
19437
  createError: At,
@@ -19447,7 +19459,7 @@ var $c = {
19447
19459
  "AVV_ERR_READY_TIMEOUT",
19448
19460
  "Plugin did not start in time: '%s'. You may have forgotten to call 'done' function or to resolve a Promise"
19449
19461
  )
19450
- }, sT = function e(t, n, a) {
19462
+ }, iT = function e(t, n, a) {
19451
19463
  n === void 0 && (n = ""), a || (a = {});
19452
19464
  var s = function(p) {
19453
19465
  var y = {
@@ -19469,8 +19481,8 @@ var $c = {
19469
19481
  return n + s(h ? "└" : "├") + s("─") + s(T ? "┬" : "─") + " " + e(p, k, a).slice(n.length + 2);
19470
19482
  }).join("");
19471
19483
  };
19472
- const oT = sT, Do = Symbol("avvio.TimeTree.untrackNode"), za = Symbol("avvio.TimeTree.trackNode"), Fo = Symbol("avvio.TimeTree.getParent"), Vo = Symbol("avvio.TimeTree.getNode"), Go = Symbol("avvio.TimeTree.addNode");
19473
- let iT = class {
19484
+ const cT = iT, Do = Symbol("avvio.TimeTree.untrackNode"), za = Symbol("avvio.TimeTree.trackNode"), Fo = Symbol("avvio.TimeTree.getParent"), Vo = Symbol("avvio.TimeTree.getNode"), Go = Symbol("avvio.TimeTree.addNode");
19485
+ let lT = class {
19474
19486
  constructor() {
19475
19487
  this.root = null, this.tableId = /* @__PURE__ */ new Map(), this.tableLabel = /* @__PURE__ */ new Map();
19476
19488
  }
@@ -19524,11 +19536,11 @@ let iT = class {
19524
19536
  }
19525
19537
  prittyPrint() {
19526
19538
  const e = (n) => (n.label = `${n.label} ${n.diff} ms`, n.nodes.length > 0 && (n.nodes = n.nodes.map((a) => e(a))), n), t = e(this.toJSON());
19527
- return oT(t);
19539
+ return cT(t);
19528
19540
  }
19529
19541
  };
19530
- var cT = iT, as = { exports: {} }, br = { exports: {} }, Ka, qo;
19531
- function lT() {
19542
+ var uT = lT, as = { exports: {} }, br = { exports: {} }, Ka, qo;
19543
+ function mT() {
19532
19544
  if (qo)
19533
19545
  return Ka;
19534
19546
  qo = 1;
@@ -19610,8 +19622,8 @@ function lT() {
19610
19622
  }
19611
19623
  return Ka;
19612
19624
  }
19613
- function uT(e) {
19614
- n.debug = n, n.default = n, n.coerce = p, n.disable = c, n.enable = s, n.enabled = u, n.humanize = lT(), n.destroy = y, Object.keys(e).forEach((h) => {
19625
+ function dT(e) {
19626
+ n.debug = n, n.default = n, n.coerce = p, n.disable = c, n.enable = s, n.enabled = u, n.humanize = mT(), n.destroy = y, Object.keys(e).forEach((h) => {
19615
19627
  n[h] = e[h];
19616
19628
  }), n.names = [], n.skips = [], n.formatters = {};
19617
19629
  function t(h) {
@@ -19691,7 +19703,7 @@ function uT(e) {
19691
19703
  }
19692
19704
  return n.enable(n.load()), n;
19693
19705
  }
19694
- var mT = uT;
19706
+ var pT = dT;
19695
19707
  (function(e, t) {
19696
19708
  t.formatArgs = a, t.save = s, t.load = c, t.useColors = n, t.storage = u(), t.destroy = (() => {
19697
19709
  let p = !1;
@@ -19815,7 +19827,7 @@ var mT = uT;
19815
19827
  } catch {
19816
19828
  }
19817
19829
  }
19818
- e.exports = mT(t);
19830
+ e.exports = pT(t);
19819
19831
  const { formatters: l } = e.exports;
19820
19832
  l.j = function(p) {
19821
19833
  try {
@@ -19826,21 +19838,21 @@ var mT = uT;
19826
19838
  };
19827
19839
  })(br, br.exports);
19828
19840
  var Hc = br.exports;
19829
- const dT = gc, pT = vc.EventEmitter, fT = Sa.inherits, Ce = Hc("avvio"), { AVV_ERR_READY_TIMEOUT: yT } = $c, Wa = Symbol.for("plugin-meta");
19830
- function gT(e, t) {
19841
+ const fT = gc, yT = vc.EventEmitter, gT = Sa.inherits, Ce = Hc("avvio"), { AVV_ERR_READY_TIMEOUT: hT } = $c, Wa = Symbol.for("plugin-meta");
19842
+ function TT(e, t) {
19831
19843
  return e[Wa] && e[Wa].name ? e[Wa].name : typeof t < "u" && typeof t != "function" && t.name ? t.name : e.name ? e.name : e.toString().split(`
19832
19844
  `).slice(0, 2).map((n) => n.trim()).join(" -- ");
19833
19845
  }
19834
- function hT() {
19846
+ function kT() {
19835
19847
  const e = {};
19836
19848
  return e.promise = new Promise((t, n) => {
19837
19849
  e.resolve = t, e.reject = n;
19838
19850
  }), e;
19839
19851
  }
19840
19852
  function un(e, t, n, a, s) {
19841
- this.started = !1, this.func = t, this.opts = n, this.onFinish = null, this.parent = e, this.timeout = s === void 0 ? e._timeout : s, this.name = gT(t, n), this.isAfter = a, this.q = dT(e, TT, 1), this.q.pause(), this._error = null, this.loaded = !1, this._promise = null;
19853
+ this.started = !1, this.func = t, this.opts = n, this.onFinish = null, this.parent = e, this.timeout = s === void 0 ? e._timeout : s, this.name = TT(t, n), this.isAfter = a, this.q = fT(e, ST, 1), this.q.pause(), this._error = null, this.loaded = !1, this._promise = null;
19842
19854
  }
19843
- fT(un, pT);
19855
+ gT(un, yT);
19844
19856
  un.prototype.exec = function(e, t) {
19845
19857
  const n = this.func;
19846
19858
  let a = !1;
@@ -19868,7 +19880,7 @@ un.prototype.exec = function(e, t) {
19868
19880
  };
19869
19881
  this.timeout > 0 && (Ce("setting up timeout", s, this.timeout), c = setTimeout(function() {
19870
19882
  Ce("timed out", s), c = null;
19871
- const p = new yT(s);
19883
+ const p = new hT(s);
19872
19884
  p.fn = n, u(p);
19873
19885
  }, this.timeout)), this.started = !0, this.emit("start", this.server ? this.server.name : null, this.name, Date.now());
19874
19886
  const l = n(this.server, this.opts, u);
@@ -19886,7 +19898,7 @@ un.prototype.loadedSoFar = function() {
19886
19898
  }), this.q.resume();
19887
19899
  };
19888
19900
  let t;
19889
- return this._promise ? t = Promise.resolve() : (this._promise = hT(), t = this._promise.promise, this.server ? e() : this.on("start", e)), t;
19901
+ return this._promise ? t = Promise.resolve() : (this._promise = kT(), t = this._promise.promise, this.server ? e() : this.on("start", e)), t;
19890
19902
  };
19891
19903
  un.prototype.enqueue = function(e, t) {
19892
19904
  Ce("enqueue", this.name, e.name), this.emit("enqueue", this.server ? this.server.name : null, this.name, Date.now()), this.q.push(e, t);
@@ -19911,12 +19923,12 @@ un.prototype.finish = function(e, t) {
19911
19923
  n();
19912
19924
  else
19913
19925
  Ce("delayed", this.name), this.q.drain = () => {
19914
- Ce("drain", this.name), this.q.drain = kT, queueMicrotask(a);
19926
+ Ce("drain", this.name), this.q.drain = bT, queueMicrotask(a);
19915
19927
  };
19916
19928
  };
19917
19929
  queueMicrotask(a), this.q.resume();
19918
19930
  };
19919
- function TT(e, t) {
19931
+ function ST(e, t) {
19920
19932
  const n = this;
19921
19933
  W.process.nextTick(rs.bind(n), e, t);
19922
19934
  }
@@ -19934,19 +19946,19 @@ function rs(e, t) {
19934
19946
  });
19935
19947
  });
19936
19948
  }
19937
- function kT() {
19949
+ function bT() {
19938
19950
  }
19939
19951
  as.exports = un;
19940
19952
  as.exports.loadPlugin = rs;
19941
- var ST = as.exports;
19942
- const $o = gc, bT = vc.EventEmitter, ET = Sa.inherits, {
19953
+ var ET = as.exports;
19954
+ const $o = gc, _T = vc.EventEmitter, wT = Sa.inherits, {
19943
19955
  AVV_ERR_EXPOSE_ALREADY_DEFINED: Za,
19944
19956
  AVV_ERR_CALLBACK_NOT_FN: bn,
19945
- AVV_ERR_PLUGIN_NOT_VALID: _T,
19946
- AVV_ERR_ROOT_PLG_BOOTED: wT,
19947
- AVV_ERR_READY_TIMEOUT: vT
19948
- } = $c, RT = cT, Er = ST, on = Hc("avvio"), sa = Symbol("kAvvio"), Ja = Symbol("kThenifyDoNotWrap");
19949
- function AT(e, t, n) {
19957
+ AVV_ERR_PLUGIN_NOT_VALID: vT,
19958
+ AVV_ERR_ROOT_PLG_BOOTED: RT,
19959
+ AVV_ERR_READY_TIMEOUT: AT
19960
+ } = $c, CT = uT, Er = ET, on = Hc("avvio"), oa = Symbol("kAvvio"), Ja = Symbol("kThenifyDoNotWrap");
19961
+ function IT(e, t, n) {
19950
19962
  const a = t.expose || {}, s = a.use || "use", c = a.after || "after", u = a.ready || "ready", l = a.onClose || "onClose", p = a.close || "close";
19951
19963
  if (e[s])
19952
19964
  throw new Za(s);
@@ -19956,7 +19968,7 @@ function AT(e, t, n) {
19956
19968
  throw new Za(u);
19957
19969
  e[s] = function(y, h) {
19958
19970
  return n.use(y, h), this;
19959
- }, Object.defineProperty(e, "then", { get: jc.bind(n) }), e[sa] = !0, e[c] = function(y) {
19971
+ }, Object.defineProperty(e, "then", { get: jc.bind(n) }), e[oa] = !0, e[c] = function(y) {
19960
19972
  return typeof y != "function" ? n._loadRegistered() : (n.after(Xa(y, this)), this);
19961
19973
  }, e[u] = function(y) {
19962
19974
  if (y && typeof y != "function")
@@ -19965,7 +19977,7 @@ function AT(e, t, n) {
19965
19977
  }, e[l] = function(y) {
19966
19978
  if (typeof y != "function")
19967
19979
  throw new bn(l, typeof y);
19968
- return n.onClose(LT(y, this)), this;
19980
+ return n.onClose(BT(y, this)), this;
19969
19981
  }, e[p] = function(y) {
19970
19982
  if (y && typeof y != "function")
19971
19983
  throw new bn(p, typeof y);
@@ -19975,13 +19987,13 @@ function AT(e, t, n) {
19975
19987
  function we(e, t, n) {
19976
19988
  if (typeof e == "function" && arguments.length === 1 && (n = e, t = {}, e = null), typeof t == "function" && (n = t, t = {}), t = t || {}, !(this instanceof we)) {
19977
19989
  const a = new we(e, t, n);
19978
- return e && AT(e, t, a), a;
19990
+ return e && IT(e, t, a), a;
19979
19991
  }
19980
- t.autostart !== !1 && (t.autostart = !0), e = e || this, this._timeout = Number(t.timeout) || 0, this._server = e, this._current = [], this._error = null, this._isOnCloseHandlerKey = Symbol("isOnCloseHandler"), this._lastUsed = null, this.setMaxListeners(0), n && this.once("start", n), this.started = !1, this.booted = !1, this.pluginTree = new RT(), this._readyQ = $o(this, Qc, 1), this._readyQ.pause(), this._readyQ.drain = () => {
19992
+ t.autostart !== !1 && (t.autostart = !0), e = e || this, this._timeout = Number(t.timeout) || 0, this._server = e, this._current = [], this._error = null, this._isOnCloseHandlerKey = Symbol("isOnCloseHandler"), this._lastUsed = null, this.setMaxListeners(0), n && this.once("start", n), this.started = !1, this.booted = !1, this.pluginTree = new CT(), this._readyQ = $o(this, Qc, 1), this._readyQ.pause(), this._readyQ.drain = () => {
19981
19993
  this.emit("start"), this._readyQ.drain = Ho;
19982
- }, this._closeQ = $o(this, OT, 1), this._closeQ.pause(), this._closeQ.drain = () => {
19994
+ }, this._closeQ = $o(this, MT, 1), this._closeQ.pause(), this._closeQ.drain = () => {
19983
19995
  this.emit("close"), this._closeQ.drain = Ho;
19984
- }, this._doStart = null, this._root = new Er(this, CT.bind(this), t, !1, 0), this._root.once("start", (a, s, c) => {
19996
+ }, this._doStart = null, this._root = new Er(this, NT.bind(this), t, !1, 0), this._root.once("start", (a, s, c) => {
19985
19997
  const u = this.pluginTree.start(null, s, c);
19986
19998
  this._root.once("loaded", (l, p, y) => {
19987
19999
  this.pluginTree.stop(u, y);
@@ -20001,22 +20013,22 @@ function we(e, t, n) {
20001
20013
  this._readyQ.resume();
20002
20014
  });
20003
20015
  }
20004
- function CT(e, t, n) {
20016
+ function NT(e, t, n) {
20005
20017
  this._doStart = n, t.autostart && this.start();
20006
20018
  }
20007
- ET(we, bT);
20019
+ wT(we, _T);
20008
20020
  we.prototype.start = function() {
20009
20021
  return this.started = !0, W.process.nextTick(this._doStart), this;
20010
20022
  };
20011
20023
  we.prototype.override = function(e, t, n) {
20012
20024
  return e;
20013
20025
  };
20014
- function IT(e) {
20026
+ function OT(e) {
20015
20027
  if (e && typeof e == "object" && typeof e.default == "function" && (e = e.default), !(e && (typeof e == "function" || typeof e.then == "function")))
20016
- throw new _T(typeof e);
20028
+ throw new vT(typeof e);
20017
20029
  return e;
20018
20030
  }
20019
- we.prototype[sa] = !0;
20031
+ we.prototype[oa] = !0;
20020
20032
  we.prototype.use = function(e, t) {
20021
20033
  return this._lastUsed = this._addPlugin(e, t, !1), this;
20022
20034
  };
@@ -20026,8 +20038,8 @@ we.prototype._loadRegistered = function() {
20026
20038
  };
20027
20039
  Object.defineProperty(we.prototype, "then", { get: jc });
20028
20040
  we.prototype._addPlugin = function(e, t, n) {
20029
- if (e = IT(e), t = t || {}, this.booted)
20030
- throw new wT();
20041
+ if (e = OT(e), t = t || {}, this.booted)
20042
+ throw new RT();
20031
20043
  const a = this._current[0], s = new Er(this, e, t, n);
20032
20044
  if (s.once("start", (c, u, l) => {
20033
20045
  const p = this.pluginTree.start(a.name, u, l);
@@ -20113,23 +20125,23 @@ function Qc(e, t) {
20113
20125
  const n = this._server, a = this._error;
20114
20126
  let s;
20115
20127
  if (this._error = null, e.length === 0)
20116
- this._error = a, s = e(), s && !s[sa] && typeof s.then == "function" ? s.then(() => W.process.nextTick(t), (c) => W.process.nextTick(t, c)) : W.process.nextTick(t);
20128
+ this._error = a, s = e(), s && !s[oa] && typeof s.then == "function" ? s.then(() => W.process.nextTick(t), (c) => W.process.nextTick(t, c)) : W.process.nextTick(t);
20117
20129
  else if (e.length === 1)
20118
- s = e(a), s && !s[sa] && typeof s.then == "function" ? s.then(() => W.process.nextTick(t), (c) => W.process.nextTick(t, c)) : W.process.nextTick(t);
20130
+ s = e(a), s && !s[oa] && typeof s.then == "function" ? s.then(() => W.process.nextTick(t), (c) => W.process.nextTick(t, c)) : W.process.nextTick(t);
20119
20131
  else if (this._timeout === 0) {
20120
20132
  const c = (u) => {
20121
20133
  this._error = u, t(this._error);
20122
20134
  };
20123
20135
  e.length === 2 ? e(a, c) : e(a, n, c);
20124
20136
  } else
20125
- NT.call(this, e, a, n, t);
20137
+ LT.call(this, e, a, n, t);
20126
20138
  }
20127
- function NT(e, t, n, a) {
20139
+ function LT(e, t, n, a) {
20128
20140
  const s = e.name;
20129
20141
  on("setting up ready timeout", s, this._timeout);
20130
20142
  let c = setTimeout(() => {
20131
20143
  on("timed out", s), c = null;
20132
- const l = new vT(s);
20144
+ const l = new AT(s);
20133
20145
  l.fn = e, this._error = l, a(l);
20134
20146
  }, this._timeout);
20135
20147
  e.length === 2 ? e(t, u.bind(this)) : e(t, n, u.bind(this));
@@ -20137,7 +20149,7 @@ function NT(e, t, n, a) {
20137
20149
  c && (clearTimeout(c), this._error = l, a(this._error));
20138
20150
  }
20139
20151
  }
20140
- function OT(e, t) {
20152
+ function MT(e, t) {
20141
20153
  const n = this._server, a = e[this._isOnCloseHandlerKey];
20142
20154
  if (e.length === 0 || e.length === 1) {
20143
20155
  let s;
@@ -20148,7 +20160,7 @@ function OT(e, t) {
20148
20160
  } else
20149
20161
  e.length === 2 ? e(a ? n : this._error, t) : a ? e(n, t) : e(this._error, n, t);
20150
20162
  }
20151
- function LT(e, t) {
20163
+ function BT(e, t) {
20152
20164
  return n.bind(t);
20153
20165
  function n(a, s) {
20154
20166
  let c;
@@ -20178,11 +20190,11 @@ Kr.exports.express = function(e) {
20178
20190
  }
20179
20191
  });
20180
20192
  };
20181
- var MT = Kr.exports;
20182
- const BT = /* @__PURE__ */ hh(MT);
20183
- function xT(e, t = !0, n = !0) {
20184
- const a = t ? "https://grpc-web.streamlayer.io:443" : "https://grpc-web.next.streamlayer.io:443", s = BT(/* @__PURE__ */ Object.create({}), { autostart: !1 });
20185
- return s.use(Zh), s.use($h, { sdkKey: e, host: a }), s.use(Wh), s.use(Kh), s.use(A3), s.use(g3), n && s.after(async (c, u, l) => {
20193
+ var xT = Kr.exports;
20194
+ const UT = /* @__PURE__ */ hh(xT);
20195
+ function PT(e, t = !0, n = !0) {
20196
+ const a = t ? "https://grpc-web.streamlayer.io:443" : "https://grpc-web.next.streamlayer.io:443", s = UT(/* @__PURE__ */ Object.create({}), { autostart: !1 });
20197
+ return s.use(Zh), s.use($h, { sdkKey: e, host: a }), s.use(Wh), s.use(Kh), s.use(I3), s.use(g3), n && s.after(async (c, u, l) => {
20186
20198
  if (c)
20187
20199
  throw c;
20188
20200
  await u.sdk.initializeApp(), l();
@@ -20190,7 +20202,7 @@ function xT(e, t = !0, n = !0) {
20190
20202
  console.log("close");
20191
20203
  }), s;
20192
20204
  }
20193
- const UT = (e, t, n, a) => {
20205
+ const DT = (e, t, n, a) => {
20194
20206
  const [s, c] = Pt(null);
20195
20207
  return An(() => {
20196
20208
  let u = !1;
@@ -20198,7 +20210,7 @@ const UT = (e, t, n, a) => {
20198
20210
  return console.error("streamlayer sdk key should be provided"), c((p) => (p !== null && typeof p.disableApp == "function" && p.disableApp(), null)), () => {
20199
20211
  u = !0;
20200
20212
  };
20201
- const l = xT(e, n, a);
20213
+ const l = PT(e, n, a);
20202
20214
  if (t)
20203
20215
  for (const p of t)
20204
20216
  l.use(p);
@@ -20216,25 +20228,25 @@ var Yc = /* @__PURE__ */ ((e) => (e[e.UNSET = 0] = "UNSET", e[e.CONNECTED = 1] =
20216
20228
  const ss = tl({
20217
20229
  status: 0,
20218
20230
  sdk: null
20219
- }), PT = ({
20231
+ }), FT = ({
20220
20232
  sdkKey: e,
20221
20233
  plugins: t,
20222
20234
  children: n,
20223
20235
  production: a = !0,
20224
20236
  autoEnable: s = !0
20225
20237
  }) => {
20226
- const c = UT(e, t, a, s), u = oa(() => c ? {
20238
+ const c = DT(e, t, a, s), u = ia(() => c ? {
20227
20239
  sdk: c,
20228
20240
  status: 2
20229
20241
  /* READY */
20230
20242
  } : { status: 1, sdk: null }, [c]);
20231
20243
  return /* @__PURE__ */ O(ss.Provider, { value: u, children: n });
20232
- }, e8 = ({
20244
+ }, n8 = ({
20233
20245
  sdkKey: e,
20234
20246
  plugins: t,
20235
20247
  children: n,
20236
20248
  production: a = !0
20237
- }) => /* @__PURE__ */ O(PT, { sdkKey: e, plugins: t, production: a, autoEnable: !1, children: n }), t8 = ({ children: e, overlays: t }) => {
20249
+ }) => /* @__PURE__ */ O(FT, { sdkKey: e, plugins: t, production: a, autoEnable: !1, children: n }), a8 = ({ children: e, overlays: t }) => {
20238
20250
  const { sdk: n, status: a } = Qo(ss);
20239
20251
  if (a === Yc.UNSET)
20240
20252
  throw new Error("Wrap app in `StreamLayerProvider`");
@@ -20242,80 +20254,80 @@ const ss = tl({
20242
20254
  }, zc = () => {
20243
20255
  const { sdk: e } = Qo(ss);
20244
20256
  return e;
20245
- }, n8 = ({ token: e, schema: t }) => {
20257
+ }, r8 = ({ token: e, schema: t }) => {
20246
20258
  const n = zc();
20247
20259
  return An(() => {
20248
20260
  e && t && n && n.authorizationBypass(t, e);
20249
20261
  }, [e, t, n]), null;
20250
- }, a8 = (e) => e.split(/\s+/).map((t) => t[0]).join("").toUpperCase(), DT = (e) => e ? e.toLocaleString("en-US") : "0", r8 = (e) => e.toLocaleDateString("en-US", {
20262
+ }, s8 = (e) => e.split(/\s+/).map((t) => t[0]).join("").toUpperCase(), VT = (e) => e ? e.toLocaleString("en-US") : "0", o8 = (e) => e.toLocaleDateString("en-US", {
20251
20263
  weekday: "short",
20252
20264
  month: "short",
20253
20265
  day: "numeric"
20254
- }), s8 = (e) => e.toLocaleTimeString("en-US", {
20266
+ }), i8 = (e) => e.toLocaleTimeString("en-US", {
20255
20267
  hour: "2-digit",
20256
20268
  minute: "2-digit"
20257
- }), o8 = (e) => !isNaN(e.getTime());
20258
- const FT = () => ft, VT = /* @__PURE__ */ V("div")({
20269
+ }), c8 = (e) => !isNaN(e.getTime());
20270
+ const GT = () => ft, qT = /* @__PURE__ */ V("div")({
20259
20271
  name: "l",
20260
20272
  class: "l4qld3l",
20261
20273
  propsAsIs: !1
20262
- }), GT = /* @__PURE__ */ V("div")({
20274
+ }), $T = /* @__PURE__ */ V("div")({
20263
20275
  name: "a",
20264
20276
  class: "ainhtok",
20265
20277
  propsAsIs: !1
20266
- }), qT = /* @__PURE__ */ V(FT())({
20278
+ }), HT = /* @__PURE__ */ V(GT())({
20267
20279
  name: "x",
20268
20280
  class: "xk8yd5t",
20269
20281
  propsAsIs: !0
20270
- }), $T = /* @__PURE__ */ V("div")({
20282
+ }), jT = /* @__PURE__ */ V("div")({
20271
20283
  name: "h",
20272
20284
  class: "h6rf9gb",
20273
20285
  propsAsIs: !1
20274
- }), HT = /* @__PURE__ */ V("div")({
20286
+ }), QT = /* @__PURE__ */ V("div")({
20275
20287
  name: "c",
20276
20288
  class: "c18f5pxx",
20277
20289
  propsAsIs: !1
20278
- }), jT = /* @__PURE__ */ V("div")({
20290
+ }), YT = /* @__PURE__ */ V("div")({
20279
20291
  name: "m",
20280
20292
  class: "m1jwsyj1",
20281
20293
  propsAsIs: !1
20282
- }), QT = ({ points: e }) => /* @__PURE__ */ ae(VT, { className: er, children: [
20283
- /* @__PURE__ */ O(GT, { children: /* @__PURE__ */ O(qT, { name: "icon-trophy" }) }),
20284
- /* @__PURE__ */ ae($T, { children: [
20285
- /* @__PURE__ */ O(HT, { children: "Total points" }),
20286
- /* @__PURE__ */ O(jT, { children: DT(e) })
20294
+ }), zT = ({ points: e }) => /* @__PURE__ */ ae(qT, { className: er, children: [
20295
+ /* @__PURE__ */ O($T, { children: /* @__PURE__ */ O(HT, { name: "icon-trophy" }) }),
20296
+ /* @__PURE__ */ ae(jT, { children: [
20297
+ /* @__PURE__ */ O(QT, { children: "Total points" }),
20298
+ /* @__PURE__ */ O(YT, { children: VT(e) })
20287
20299
  ] })
20288
- ] }), YT = ({ userSummary: e }) => {
20300
+ ] }), KT = ({ userSummary: e }) => {
20289
20301
  var n, a;
20290
20302
  const t = mt(e.getStore());
20291
- return ((a = (n = t.data) == null ? void 0 : n.summary) == null ? void 0 : a.points) === void 0 ? null : /* @__PURE__ */ O("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ O(Yo, { children: /* @__PURE__ */ O(QT, { points: t.data.summary.points }) }) });
20292
- }, zT = ({ sdk: e }) => {
20293
- const { organizationSettings: t, streamSettings: n } = mt(e.sdkStore), a = oa(() => e.getFeature(me.GAMES), [e, t, n]);
20294
- return a ? /* @__PURE__ */ O(YT, { userSummary: a.userSummary }) : null;
20295
- }, i8 = () => {
20303
+ return ((a = (n = t.data) == null ? void 0 : n.summary) == null ? void 0 : a.points) === void 0 ? null : /* @__PURE__ */ O("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ O(Yo, { children: /* @__PURE__ */ O(zT, { points: t.data.summary.points }) }) });
20304
+ }, WT = ({ sdk: e }) => {
20305
+ const { organizationSettings: t, streamSettings: n } = mt(e.sdkStore), a = ia(() => e.getFeature(me.GAMES), [e, t, n]);
20306
+ return a ? /* @__PURE__ */ O(KT, { userSummary: a.userSummary }) : null;
20307
+ }, l8 = () => {
20296
20308
  const e = zc();
20297
- return e ? /* @__PURE__ */ O(zT, { sdk: e }) : null;
20309
+ return e ? /* @__PURE__ */ O(WT, { sdk: e }) : null;
20298
20310
  };
20299
20311
  export {
20300
20312
  ft as C,
20301
20313
  os as E,
20302
- e8 as M,
20314
+ n8 as M,
20303
20315
  Du as P,
20304
20316
  ce as Q,
20305
- n8 as S,
20306
- a8 as a,
20317
+ r8 as S,
20318
+ s8 as a,
20307
20319
  qe as b,
20308
20320
  Cn as c,
20309
- o8 as d,
20310
- r8 as e,
20321
+ c8 as d,
20322
+ o8 as e,
20311
20323
  En as f,
20312
- XT as g,
20324
+ t8 as g,
20313
20325
  xf as h,
20314
- DT as i,
20326
+ VT as i,
20315
20327
  Nf as j,
20316
- t8 as k,
20317
- i8 as l,
20318
- s8 as n,
20328
+ a8 as k,
20329
+ l8 as l,
20330
+ i8 as n,
20319
20331
  Op as o,
20320
20332
  Fs as r,
20321
20333
  V as s,