@streamlayer/react 0.16.10 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -35,7 +35,7 @@ wt.Fragment = pc;
35
35
  wt.jsx = ui;
36
36
  wt.jsxs = ui;
37
37
  li.exports = wt;
38
- var f = li.exports;
38
+ var T = li.exports;
39
39
  const vt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
40
40
  function fc(n) {
41
41
  var e = /* @__PURE__ */ Object.create(null);
@@ -92,15 +92,15 @@ function Ac(n) {
92
92
  y.ref = o, y.className = t.atomic ? As(t.class, y.className || m) : As(y.className || m, t.class);
93
93
  const { vars: h } = t;
94
94
  if (h) {
95
- const T = {};
95
+ const f = {};
96
96
  for (const D in h) {
97
97
  const L = h[D], j = L[0], R = L[1] || "", x = typeof j == "function" ? j(r) : j;
98
- Sc(x, t.name), T[`--${D}`] = `${x}${R}`;
98
+ Sc(x, t.name), f[`--${D}`] = `${x}${R}`;
99
99
  }
100
100
  const M = y.style || {}, E = Object.keys(M);
101
101
  E.length > 0 && E.forEach((D) => {
102
- T[D] = M[D];
103
- }), y.style = T;
102
+ f[D] = M[D];
103
+ }), y.style = f;
104
104
  }
105
105
  return n.__linaria && n !== l ? (y.as = l, Pe.createElement(n, y)) : Pe.createElement(l, y);
106
106
  }, s = Pe.forwardRef ? Pe.forwardRef(a) : (
@@ -161,27 +161,27 @@ const Ec = /* @__PURE__ */ I("div")({
161
161
  },
162
162
  [n]
163
163
  );
164
- return /* @__PURE__ */ f.jsxs(Ec, { onClick: e, children: [
165
- /* @__PURE__ */ f.jsx(bc, { style: t ? { backgroundColor: t } : {}, children: a && /* @__PURE__ */ f.jsx(Dc, { alt: "in-app-icon", src: a }) }),
166
- /* @__PURE__ */ f.jsxs(_c, { children: [
167
- /* @__PURE__ */ f.jsx(wc, { children: /* @__PURE__ */ f.jsx(vc, { id: "in-app-title", children: s || "" }) }),
168
- /* @__PURE__ */ f.jsx(jc, { children: /* @__PURE__ */ f.jsx(Oc, { onClick: r, children: /* @__PURE__ */ f.jsx(Lc, { alt: "close-in-app-icon", src: vt }) }) })
164
+ return /* @__PURE__ */ T.jsxs(Ec, { onClick: e, children: [
165
+ /* @__PURE__ */ T.jsx(bc, { style: t ? { backgroundColor: t } : {}, children: a && /* @__PURE__ */ T.jsx(Dc, { alt: "in-app-icon", src: a }) }),
166
+ /* @__PURE__ */ T.jsxs(_c, { children: [
167
+ /* @__PURE__ */ T.jsx(wc, { children: /* @__PURE__ */ T.jsx(vc, { id: "in-app-title", children: s || "" }) }),
168
+ /* @__PURE__ */ T.jsx(jc, { children: /* @__PURE__ */ T.jsx(Oc, { onClick: r, children: /* @__PURE__ */ T.jsx(Lc, { alt: "close-in-app-icon", src: vt }) }) })
169
169
  ] })
170
170
  ] });
171
171
  };
172
172
  var Es = typeof window > "u" ? gn : nc, Rc = ({ isPlaying: n, duration: e, startAt: t = 0, updateInterval: a = 0, onComplete: s, onUpdate: r }) => {
173
- let [o, l] = Fe(t), m = Xe(0), d = Xe(t), y = Xe(t * -1e3), h = Xe(null), T = Xe(null), M = Xe(null), E = (j) => {
173
+ let [o, l] = Fe(t), m = Xe(0), d = Xe(t), y = Xe(t * -1e3), h = Xe(null), f = Xe(null), M = Xe(null), E = (j) => {
174
174
  let R = j / 1e3;
175
- if (T.current === null) {
176
- T.current = R, h.current = requestAnimationFrame(E);
175
+ if (f.current === null) {
176
+ f.current = R, h.current = requestAnimationFrame(E);
177
177
  return;
178
178
  }
179
- let x = R - T.current, z = m.current + x;
180
- T.current = R, m.current = z;
179
+ let x = R - f.current, z = m.current + x;
180
+ f.current = R, m.current = z;
181
181
  let U = d.current + (a === 0 ? z : (z / a | 0) * a), B = d.current + z, C = typeof e == "number" && B >= e;
182
182
  l(C ? e : U), C || (h.current = requestAnimationFrame(E));
183
183
  }, D = () => {
184
- h.current && cancelAnimationFrame(h.current), M.current && clearTimeout(M.current), T.current = null;
184
+ h.current && cancelAnimationFrame(h.current), M.current && clearTimeout(M.current), f.current = null;
185
185
  }, L = nt((j) => {
186
186
  D(), m.current = 0;
187
187
  let R = typeof j == "number" ? j : t;
@@ -210,17 +210,17 @@ var Es = typeof window > "u" ? gn : nc, Rc = ({ isPlaying: n, duration: e, start
210
210
  let { colors: a, colorsTime: s, isSmoothColorTransition: r = !0 } = n;
211
211
  if (typeof a == "string")
212
212
  return a;
213
- let o = (t = s == null ? void 0 : s.findIndex((T, M) => T >= e && e >= s[M + 1])) != null ? t : -1;
213
+ let o = (t = s == null ? void 0 : s.findIndex((f, M) => f >= e && e >= s[M + 1])) != null ? t : -1;
214
214
  if (!s || o === -1)
215
215
  return a[0];
216
216
  if (!r)
217
217
  return a[o];
218
218
  let l = s[o] - e, m = s[o] - s[o + 1], d = Ds(a[o]), y = Ds(a[o + 1]), h = !!n.isGrowing;
219
- return `rgb(${d.map((T, M) => pi(l, T, y[M] - T, m, h) | 0).join(",")})`;
219
+ return `rgb(${d.map((f, M) => pi(l, f, y[M] - f, m, h) | 0).join(",")})`;
220
220
  }, Pc = (n) => {
221
- let { duration: e, initialRemainingTime: t, updateInterval: a, size: s = 180, strokeWidth: r = 12, trailStrokeWidth: o, isPlaying: l = !1, isGrowing: m = !1, rotation: d = "clockwise", onComplete: y, onUpdate: h } = n, T = Xe(), M = Math.max(r, o ?? 0), { path: E, pathLength: D } = xc(s, M, d), { elapsedTime: L } = Rc({ isPlaying: l, duration: e, startAt: bs(e, t), updateInterval: a, onUpdate: typeof h == "function" ? (R) => {
221
+ let { duration: e, initialRemainingTime: t, updateInterval: a, size: s = 180, strokeWidth: r = 12, trailStrokeWidth: o, isPlaying: l = !1, isGrowing: m = !1, rotation: d = "clockwise", onComplete: y, onUpdate: h } = n, f = Xe(), M = Math.max(r, o ?? 0), { path: E, pathLength: D } = xc(s, M, d), { elapsedTime: L } = Rc({ isPlaying: l, duration: e, startAt: bs(e, t), updateInterval: a, onUpdate: typeof h == "function" ? (R) => {
222
222
  let x = Math.ceil(e - R);
223
- x !== T.current && (T.current = x, h(x));
223
+ x !== f.current && (f.current = x, h(x));
224
224
  } : void 0, onComplete: typeof y == "function" ? (R) => {
225
225
  var x;
226
226
  let { shouldRepeat: z, delay: U, newInitialRemainingTime: B } = (x = y(R)) != null ? x : {};
@@ -229,8 +229,8 @@ var Es = typeof window > "u" ? gn : nc, Rc = ({ isPlaying: n, duration: e, start
229
229
  } : void 0 }), j = e - L;
230
230
  return { elapsedTime: L, path: E, pathLength: D, remainingTime: Math.ceil(j), rotation: d, size: s, stroke: Uc(n, j), strokeDashoffset: pi(L, 0, D, e, m), strokeWidth: r };
231
231
  }, yi = (n) => {
232
- let { children: e, strokeLinecap: t, trailColor: a, trailStrokeWidth: s } = n, { path: r, pathLength: o, stroke: l, strokeDashoffset: m, remainingTime: d, elapsedTime: y, size: h, strokeWidth: T } = Pc(n);
233
- return Pe.createElement("div", { style: Cc(h) }, Pe.createElement("svg", { viewBox: `0 0 ${h} ${h}`, width: h, height: h, xmlns: "http://www.w3.org/2000/svg" }, Pe.createElement("path", { d: r, fill: "none", stroke: a ?? "#d9d9d9", strokeWidth: s ?? T }), Pe.createElement("path", { d: r, fill: "none", stroke: l, strokeLinecap: t ?? "round", strokeWidth: T, strokeDasharray: o, strokeDashoffset: m })), typeof e == "function" && Pe.createElement("div", { style: zc }, e({ remainingTime: d, elapsedTime: y, color: l })));
232
+ let { children: e, strokeLinecap: t, trailColor: a, trailStrokeWidth: s } = n, { path: r, pathLength: o, stroke: l, strokeDashoffset: m, remainingTime: d, elapsedTime: y, size: h, strokeWidth: f } = Pc(n);
233
+ return Pe.createElement("div", { style: Cc(h) }, Pe.createElement("svg", { viewBox: `0 0 ${h} ${h}`, width: h, height: h, xmlns: "http://www.w3.org/2000/svg" }, Pe.createElement("path", { d: r, fill: "none", stroke: a ?? "#d9d9d9", strokeWidth: s ?? f }), Pe.createElement("path", { d: r, fill: "none", stroke: l, strokeLinecap: t ?? "round", strokeWidth: f, strokeDasharray: o, strokeDashoffset: m })), typeof e == "function" && Pe.createElement("div", { style: zc }, e({ remainingTime: d, elapsedTime: y, color: l })));
234
234
  };
235
235
  yi.displayName = "CountdownCircleTimer";
236
236
  const Ht = {
@@ -269,10 +269,10 @@ const Bc = /* @__PURE__ */ I("div")({
269
269
  class: "r1l1rnv7",
270
270
  propsAsIs: !1
271
271
  }), Qc = [Ht.BLUE_PRIMARY, Ht.GREEN_1, Ht.RED_1], Fc = [10, 6, 0], Gc = 30, Yc = 32, Vc = 4, $c = 0, gi = ({ isPlaying: n = !0, duration: e = Gc, setTimeToExpire: t }) => {
272
- const a = ({ remainingTime: s }) => /* @__PURE__ */ f.jsx(Bc, { style: { color: s ? "inherit" : void 0 }, children: s });
272
+ const a = ({ remainingTime: s }) => /* @__PURE__ */ T.jsx(Bc, { style: { color: s ? "inherit" : void 0 }, children: s });
273
273
  return gn(() => {
274
274
  t(!1);
275
- }, [t]), /* @__PURE__ */ f.jsx(
275
+ }, [t]), /* @__PURE__ */ T.jsx(
276
276
  yi,
277
277
  {
278
278
  isPlaying: n,
@@ -648,10 +648,10 @@ function pl(n) {
648
648
  var Za = {};
649
649
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
650
650
  Za.read = function(n, e, t, a, s) {
651
- var r, o, l = s * 8 - a - 1, m = (1 << l) - 1, d = m >> 1, y = -7, h = t ? s - 1 : 0, T = t ? -1 : 1, M = n[e + h];
652
- for (h += T, r = M & (1 << -y) - 1, M >>= -y, y += l; y > 0; r = r * 256 + n[e + h], h += T, y -= 8)
651
+ var r, o, l = s * 8 - a - 1, m = (1 << l) - 1, d = m >> 1, y = -7, h = t ? s - 1 : 0, f = t ? -1 : 1, M = n[e + h];
652
+ for (h += f, r = M & (1 << -y) - 1, M >>= -y, y += l; y > 0; r = r * 256 + n[e + h], h += f, y -= 8)
653
653
  ;
654
- for (o = r & (1 << -y) - 1, r >>= -y, y += a; y > 0; o = o * 256 + n[e + h], h += T, y -= 8)
654
+ for (o = r & (1 << -y) - 1, r >>= -y, y += a; y > 0; o = o * 256 + n[e + h], h += f, y -= 8)
655
655
  ;
656
656
  if (r === 0)
657
657
  r = 1 - d;
@@ -663,8 +663,8 @@ Za.read = function(n, e, t, a, s) {
663
663
  return (M ? -1 : 1) * o * Math.pow(2, r - a);
664
664
  };
665
665
  Za.write = function(n, e, t, a, s, r) {
666
- var o, l, m, d = r * 8 - s - 1, y = (1 << d) - 1, h = y >> 1, T = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, M = a ? 0 : r - 1, E = a ? 1 : -1, D = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
667
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (l = isNaN(e) ? 1 : 0, o = y) : (o = Math.floor(Math.log(e) / Math.LN2), e * (m = Math.pow(2, -o)) < 1 && (o--, m *= 2), o + h >= 1 ? e += T / m : e += T * Math.pow(2, 1 - h), e * m >= 2 && (o++, m /= 2), o + h >= y ? (l = 0, o = y) : o + h >= 1 ? (l = (e * m - 1) * Math.pow(2, s), o = o + h) : (l = e * Math.pow(2, h - 1) * Math.pow(2, s), o = 0)); s >= 8; n[t + M] = l & 255, M += E, l /= 256, s -= 8)
666
+ var o, l, m, d = r * 8 - s - 1, y = (1 << d) - 1, h = y >> 1, f = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, M = a ? 0 : r - 1, E = a ? 1 : -1, D = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
667
+ for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (l = isNaN(e) ? 1 : 0, o = y) : (o = Math.floor(Math.log(e) / Math.LN2), e * (m = Math.pow(2, -o)) < 1 && (o--, m *= 2), o + h >= 1 ? e += f / m : e += f * Math.pow(2, 1 - h), e * m >= 2 && (o++, m /= 2), o + h >= y ? (l = 0, o = y) : o + h >= 1 ? (l = (e * m - 1) * Math.pow(2, s), o = o + h) : (l = e * Math.pow(2, h - 1) * Math.pow(2, s), o = 0)); s >= 8; n[t + M] = l & 255, M += E, l /= 256, s -= 8)
668
668
  ;
669
669
  for (o = o << s | l, d += s; d > 0; n[t + M] = o & 255, M += E, o /= 256, d -= 8)
670
670
  ;
@@ -725,7 +725,7 @@ Za.write = function(n, e, t, a, s, r) {
725
725
  l.poolSize = 8192;
726
726
  function m(p, i, u) {
727
727
  if (typeof p == "string")
728
- return T(p, i);
728
+ return f(p, i);
729
729
  if (ArrayBuffer.isView(p))
730
730
  return E(p);
731
731
  if (p == null)
@@ -773,7 +773,7 @@ Za.write = function(n, e, t, a, s, r) {
773
773
  }, l.allocUnsafeSlow = function(p) {
774
774
  return h(p);
775
775
  };
776
- function T(p, i) {
776
+ function f(p, i) {
777
777
  if ((typeof i != "string" || i === "") && (i = "utf8"), !l.isEncoding(i))
778
778
  throw new TypeError("Unknown encoding: " + i);
779
779
  const u = x(p, i) | 0;
@@ -2256,26 +2256,26 @@ function Il() {
2256
2256
  for (; e.pos < r; ) {
2257
2257
  const [o, l] = e.tag(), m = s.fields.find(o);
2258
2258
  if (!m) {
2259
- const T = e.skip(l);
2260
- a.readUnknownFields && this.onUnknownField(n, o, l, T);
2259
+ const f = e.skip(l);
2260
+ a.readUnknownFields && this.onUnknownField(n, o, l, f);
2261
2261
  continue;
2262
2262
  }
2263
2263
  let d = n, y = m.repeated, h = m.localName;
2264
2264
  switch (m.oneof && (d = d[m.oneof.localName], d.case != h && delete d.value, d.case = h, h = "value"), m.kind) {
2265
2265
  case "scalar":
2266
2266
  case "enum":
2267
- const T = m.kind == "enum" ? w.INT32 : m.T;
2267
+ const f = m.kind == "enum" ? w.INT32 : m.T;
2268
2268
  let M = Nt;
2269
2269
  if (m.kind == "scalar" && m.L > 0 && (M = Al), y) {
2270
2270
  let j = d[h];
2271
- if (l == me.LengthDelimited && T != w.STRING && T != w.BYTES) {
2271
+ if (l == me.LengthDelimited && f != w.STRING && f != w.BYTES) {
2272
2272
  let R = e.uint32() + e.pos;
2273
2273
  for (; e.pos < R; )
2274
- j.push(M(e, T));
2274
+ j.push(M(e, f));
2275
2275
  } else
2276
- j.push(M(e, T));
2276
+ j.push(M(e, f));
2277
2277
  } else
2278
- d[h] = M(e, T);
2278
+ d[h] = M(e, f);
2279
2279
  break;
2280
2280
  case "message":
2281
2281
  const E = m.T;
@@ -2569,9 +2569,9 @@ function vl(n) {
2569
2569
  if (d.oneof) {
2570
2570
  if (m === null && d.kind == "scalar")
2571
2571
  continue;
2572
- const T = o[d.oneof.localName];
2573
- if (T)
2574
- throw new Error(`cannot decode message ${t.typeName} from JSON: multiple keys for oneof "${d.oneof.name}" present: "${T}", "${l}"`);
2572
+ const f = o[d.oneof.localName];
2573
+ if (f)
2574
+ throw new Error(`cannot decode message ${t.typeName} from JSON: multiple keys for oneof "${d.oneof.name}" present: "${f}", "${l}"`);
2575
2575
  o[d.oneof.localName] = l, h = h[d.oneof.localName] = { case: y }, y = "value";
2576
2576
  }
2577
2577
  if (d.repeated) {
@@ -2579,7 +2579,7 @@ function vl(n) {
2579
2579
  continue;
2580
2580
  if (!Array.isArray(m))
2581
2581
  throw new Error(`cannot decode field ${t.typeName}.${d.name} from JSON: ${this.debug(m)}`);
2582
- const T = h[y];
2582
+ const f = h[y];
2583
2583
  for (const M of m) {
2584
2584
  if (M === null)
2585
2585
  throw new Error(`cannot decode field ${t.typeName}.${d.name} from JSON: ${this.debug(M)}`);
@@ -2601,14 +2601,14 @@ function vl(n) {
2601
2601
  }
2602
2602
  break;
2603
2603
  }
2604
- T.push(E);
2604
+ f.push(E);
2605
2605
  }
2606
2606
  } else if (d.kind == "map") {
2607
2607
  if (m === null)
2608
2608
  continue;
2609
2609
  if (Array.isArray(m) || typeof m != "object")
2610
2610
  throw new Error(`cannot decode field ${t.typeName}.${d.name} from JSON: ${this.debug(m)}`);
2611
- const T = h[y];
2611
+ const f = h[y];
2612
2612
  for (const [M, E] of Object.entries(m)) {
2613
2613
  if (E === null)
2614
2614
  throw new Error(`cannot decode field ${t.typeName}.${d.name} from JSON: map value null`);
@@ -2631,7 +2631,7 @@ function vl(n) {
2631
2631
  break;
2632
2632
  }
2633
2633
  try {
2634
- T[Gn(d.K, d.K == w.BOOL ? M == "true" ? !0 : M == "false" ? !1 : M : M, yn.BIGINT).toString()] = D;
2634
+ f[Gn(d.K, d.K == w.BOOL ? M == "true" ? !0 : M == "false" ? !1 : M : M, yn.BIGINT).toString()] = D;
2635
2635
  } catch (L) {
2636
2636
  let j = `cannot decode map key for field ${t.typeName}.${d.name} from JSON: ${this.debug(m)}`;
2637
2637
  throw L instanceof Error && L.message.length > 0 && (j += `: ${L.message}`), new Error(j);
@@ -2640,13 +2640,13 @@ function vl(n) {
2640
2640
  } else
2641
2641
  switch (d.kind) {
2642
2642
  case "message":
2643
- const T = d.T;
2644
- if (m === null && T.typeName != "google.protobuf.Value") {
2643
+ const f = d.T;
2644
+ if (m === null && f.typeName != "google.protobuf.Value") {
2645
2645
  if (d.oneof)
2646
2646
  throw new Error(`cannot decode field ${t.typeName}.${d.name} from JSON: null is invalid for oneof field "${l}"`);
2647
2647
  continue;
2648
2648
  }
2649
- h[y] instanceof Ge ? h[y].fromJson(m, s) : (h[y] = T.fromJson(m, s), T.fieldWrapper && !d.oneof && (h[y] = T.fieldWrapper.unwrapField(h[y])));
2649
+ h[y] instanceof Ge ? h[y].fromJson(m, s) : (h[y] = f.fromJson(m, s), f.fieldWrapper && !d.oneof && (h[y] = f.fieldWrapper.unwrapField(h[y])));
2650
2650
  break;
2651
2651
  case "enum":
2652
2652
  const M = Jt(d.T, m, s.ignoreUnknownFields);
@@ -2919,10 +2919,10 @@ function Ll() {
2919
2919
  Object.assign(r[s], o[s]);
2920
2920
  break;
2921
2921
  case "message":
2922
- const T = a.V.T;
2922
+ const f = a.V.T;
2923
2923
  for (const M of Object.keys(o[s])) {
2924
2924
  let E = o[s][M];
2925
- T.fieldWrapper || (E = new T(E)), r[s][M] = E;
2925
+ f.fieldWrapper || (E = new f(E)), r[s][M] = E;
2926
2926
  }
2927
2927
  break;
2928
2928
  }
@@ -2930,10 +2930,10 @@ function Ll() {
2930
2930
  case "message":
2931
2931
  const h = a.T;
2932
2932
  if (a.repeated)
2933
- r[s] = o[s].map((T) => T instanceof h ? T : new h(T));
2933
+ r[s] = o[s].map((f) => f instanceof h ? f : new h(f));
2934
2934
  else if (o[s] !== void 0) {
2935
- const T = o[s];
2936
- h.fieldWrapper ? /* We can't use BytesValue.typeName as that will create a circular import */ h.typeName === "google.protobuf.BytesValue" ? r[s] = Yn(T) : r[s] = T : r[s] = T instanceof h ? T : new h(T);
2935
+ const f = o[s];
2936
+ h.fieldWrapper ? /* We can't use BytesValue.typeName as that will create a circular import */ h.typeName === "google.protobuf.BytesValue" ? r[s] = Yn(f) : r[s] = f : r[s] = f instanceof h ? f : new h(f);
2937
2937
  }
2938
2938
  break;
2939
2939
  }
@@ -3515,31 +3515,31 @@ var Vl = globalThis && globalThis.__asyncValues || function(n) {
3515
3515
  return s = {}, o("next"), o("throw"), o("return"), s[Symbol.asyncIterator] = function() {
3516
3516
  return this;
3517
3517
  }, s;
3518
- function o(T) {
3519
- a[T] && (s[T] = function(M) {
3518
+ function o(f) {
3519
+ a[f] && (s[f] = function(M) {
3520
3520
  return new Promise(function(E, D) {
3521
- r.push([T, M, E, D]) > 1 || l(T, M);
3521
+ r.push([f, M, E, D]) > 1 || l(f, M);
3522
3522
  });
3523
3523
  });
3524
3524
  }
3525
- function l(T, M) {
3525
+ function l(f, M) {
3526
3526
  try {
3527
- m(a[T](M));
3527
+ m(a[f](M));
3528
3528
  } catch (E) {
3529
3529
  h(r[0][3], E);
3530
3530
  }
3531
3531
  }
3532
- function m(T) {
3533
- T.value instanceof Jn ? Promise.resolve(T.value.v).then(d, y) : h(r[0][2], T);
3532
+ function m(f) {
3533
+ f.value instanceof Jn ? Promise.resolve(f.value.v).then(d, y) : h(r[0][2], f);
3534
3534
  }
3535
- function d(T) {
3536
- l("next", T);
3535
+ function d(f) {
3536
+ l("next", f);
3537
3537
  }
3538
- function y(T) {
3539
- l("throw", T);
3538
+ function y(f) {
3539
+ l("throw", f);
3540
3540
  }
3541
- function h(T, M) {
3542
- T(M), r.shift(), r.length && l(r[0][0], r[0][1]);
3541
+ function h(f, M) {
3542
+ f(M), r.shift(), r.length && l(r[0][0], r[0][1]);
3543
3543
  }
3544
3544
  }, ql = globalThis && globalThis.__asyncDelegator || function(n) {
3545
3545
  var e, t;
@@ -3607,13 +3607,13 @@ function Kl(n, e, t) {
3607
3607
  return function(a, s, r, o) {
3608
3608
  const l = new AbortController();
3609
3609
  async function m() {
3610
- var d, y, h, T, M, E;
3610
+ var d, y, h, f, M, E;
3611
3611
  o = Ci(l, o);
3612
3612
  const D = await n.stream(e, t, o.signal, o.timeoutMs, o.headers, xi([a]), o.contextValues);
3613
3613
  (M = o.onHeader) === null || M === void 0 || M.call(o, D.header);
3614
3614
  try {
3615
3615
  for (var L = !0, j = Wl(D.message), R; R = await j.next(), d = R.done, !d; L = !0)
3616
- T = R.value, L = !1, s(T);
3616
+ f = R.value, L = !1, s(f);
3617
3617
  } catch (x) {
3618
3618
  y = { error: x };
3619
3619
  } finally {
@@ -3675,31 +3675,31 @@ var zi = globalThis && globalThis.__asyncValues || function(n) {
3675
3675
  return s = {}, o("next"), o("throw"), o("return"), s[Symbol.asyncIterator] = function() {
3676
3676
  return this;
3677
3677
  }, s;
3678
- function o(T) {
3679
- a[T] && (s[T] = function(M) {
3678
+ function o(f) {
3679
+ a[f] && (s[f] = function(M) {
3680
3680
  return new Promise(function(E, D) {
3681
- r.push([T, M, E, D]) > 1 || l(T, M);
3681
+ r.push([f, M, E, D]) > 1 || l(f, M);
3682
3682
  });
3683
3683
  });
3684
3684
  }
3685
- function l(T, M) {
3685
+ function l(f, M) {
3686
3686
  try {
3687
- m(a[T](M));
3687
+ m(a[f](M));
3688
3688
  } catch (E) {
3689
3689
  h(r[0][3], E);
3690
3690
  }
3691
3691
  }
3692
- function m(T) {
3693
- T.value instanceof xn ? Promise.resolve(T.value.v).then(d, y) : h(r[0][2], T);
3692
+ function m(f) {
3693
+ f.value instanceof xn ? Promise.resolve(f.value.v).then(d, y) : h(r[0][2], f);
3694
3694
  }
3695
- function d(T) {
3696
- l("next", T);
3695
+ function d(f) {
3696
+ l("next", f);
3697
3697
  }
3698
- function y(T) {
3699
- l("throw", T);
3698
+ function y(f) {
3699
+ l("throw", f);
3700
3700
  }
3701
- function h(T, M) {
3702
- T(M), r.shift(), r.length && l(r[0][0], r[0][1]);
3701
+ function h(f, M) {
3702
+ f(M), r.shift(), r.length && l(r[0][0], r[0][1]);
3703
3703
  }
3704
3704
  };
3705
3705
  function Lt(n, e) {
@@ -3735,10 +3735,10 @@ function tu(n, e, t) {
3735
3735
  var r, o, l, m, d, y;
3736
3736
  const h = await n.stream(e, t, s == null ? void 0 : s.signal, s == null ? void 0 : s.timeoutMs, s == null ? void 0 : s.headers, a, s == null ? void 0 : s.contextValues);
3737
3737
  (d = s == null ? void 0 : s.onHeader) === null || d === void 0 || d.call(s, h.header);
3738
- let T;
3738
+ let f;
3739
3739
  try {
3740
3740
  for (var M = !0, E = zi(h.message), D; D = await E.next(), r = D.done, !r; M = !0)
3741
- m = D.value, M = !1, T = m;
3741
+ m = D.value, M = !1, f = m;
3742
3742
  } catch (L) {
3743
3743
  o = { error: L };
3744
3744
  } finally {
@@ -3749,9 +3749,9 @@ function tu(n, e, t) {
3749
3749
  throw o.error;
3750
3750
  }
3751
3751
  }
3752
- if (!T)
3752
+ if (!f)
3753
3753
  throw new pe("protocol error: missing response message", X.Internal);
3754
- return (y = s == null ? void 0 : s.onTrailer) === null || y === void 0 || y.call(s, h.trailer), T;
3754
+ return (y = s == null ? void 0 : s.onTrailer) === null || y === void 0 || y.call(s, h.trailer), f;
3755
3755
  };
3756
3756
  }
3757
3757
  function au(n, e, t) {
@@ -4071,31 +4071,31 @@ var un = globalThis && globalThis.__await || function(n) {
4071
4071
  return s = {}, o("next"), o("throw"), o("return"), s[Symbol.asyncIterator] = function() {
4072
4072
  return this;
4073
4073
  }, s;
4074
- function o(T) {
4075
- a[T] && (s[T] = function(M) {
4074
+ function o(f) {
4075
+ a[f] && (s[f] = function(M) {
4076
4076
  return new Promise(function(E, D) {
4077
- r.push([T, M, E, D]) > 1 || l(T, M);
4077
+ r.push([f, M, E, D]) > 1 || l(f, M);
4078
4078
  });
4079
4079
  });
4080
4080
  }
4081
- function l(T, M) {
4081
+ function l(f, M) {
4082
4082
  try {
4083
- m(a[T](M));
4083
+ m(a[f](M));
4084
4084
  } catch (E) {
4085
4085
  h(r[0][3], E);
4086
4086
  }
4087
4087
  }
4088
- function m(T) {
4089
- T.value instanceof un ? Promise.resolve(T.value.v).then(d, y) : h(r[0][2], T);
4088
+ function m(f) {
4089
+ f.value instanceof un ? Promise.resolve(f.value.v).then(d, y) : h(r[0][2], f);
4090
4090
  }
4091
- function d(T) {
4092
- l("next", T);
4091
+ function d(f) {
4092
+ l("next", f);
4093
4093
  }
4094
- function y(T) {
4095
- l("throw", T);
4094
+ function y(f) {
4095
+ l("throw", f);
4096
4096
  }
4097
- function h(T, M) {
4098
- T(M), r.shift(), r.length && l(r[0][0], r[0][1]);
4097
+ function h(f, M) {
4098
+ f(M), r.shift(), r.length && l(r[0][0], r[0][1]);
4099
4099
  }
4100
4100
  };
4101
4101
  function Rt(n) {
@@ -4105,7 +4105,7 @@ function Rt(n) {
4105
4105
  return {
4106
4106
  async unary(a, s, r, o, l, m, d) {
4107
4107
  var y;
4108
- const { serialize: h, parse: T } = Gs(s, t, n.jsonOptions, n.binaryOptions);
4108
+ const { serialize: h, parse: f } = Gs(s, t, n.jsonOptions, n.binaryOptions);
4109
4109
  return o = o === void 0 ? n.defaultTimeoutMs : o <= 0 ? void 0 : o, await fu({
4110
4110
  interceptors: n.interceptors,
4111
4111
  signal: r,
@@ -4145,7 +4145,7 @@ function Rt(n) {
4145
4145
  }
4146
4146
  if (x !== void 0)
4147
4147
  throw "extra message";
4148
- x = T(B);
4148
+ x = f(B);
4149
4149
  }
4150
4150
  if (R === void 0)
4151
4151
  throw "missing trailer";
@@ -4162,7 +4162,7 @@ function Rt(n) {
4162
4162
  },
4163
4163
  async stream(a, s, r, o, l, m, d) {
4164
4164
  var y;
4165
- const { serialize: h, parse: T } = Gs(s, t, n.jsonOptions, n.binaryOptions);
4165
+ const { serialize: h, parse: f } = Gs(s, t, n.jsonOptions, n.binaryOptions);
4166
4166
  function M(D, L, j) {
4167
4167
  return Nu(this, arguments, function* () {
4168
4168
  const x = Us(D).getReader();
@@ -4187,7 +4187,7 @@ function Rt(n) {
4187
4187
  }
4188
4188
  if (z)
4189
4189
  throw "extra message";
4190
- yield yield un(T(C));
4190
+ yield yield un(f(C));
4191
4191
  }
4192
4192
  if (!z)
4193
4193
  throw "missing trailer";
@@ -4826,50 +4826,50 @@ const em = /* @__PURE__ */ I("div")({
4826
4826
  const [a, s] = Fe(""), [r, o] = Fe(""), [l, m] = Fe(""), d = async (h) => {
4827
4827
  h.preventDefault();
4828
4828
  try {
4829
- const T = a.replaceAll("+", "");
4829
+ const f = a.replaceAll("+", "");
4830
4830
  try {
4831
- await Ku(t, T);
4831
+ await Ku(t, f);
4832
4832
  } catch {
4833
- await Ju(t, T);
4833
+ await Ju(t, f);
4834
4834
  }
4835
- o(T);
4836
- } catch (T) {
4837
- window.alert(T);
4835
+ o(f);
4836
+ } catch (f) {
4837
+ window.alert(f);
4838
4838
  }
4839
4839
  }, y = async (h) => {
4840
4840
  if (h.preventDefault(), r && l)
4841
4841
  try {
4842
- const T = await Xu(t, r, l);
4843
- T && n ? await n(T) : console.log("token", T);
4844
- } catch (T) {
4845
- window.alert(T);
4842
+ const f = await Xu(t, r, l);
4843
+ f && n ? await n(f) : console.log("token", f);
4844
+ } catch (f) {
4845
+ window.alert(f);
4846
4846
  }
4847
4847
  };
4848
- return /* @__PURE__ */ f.jsxs(em, { children: [
4849
- !r && /* @__PURE__ */ f.jsxs("div", { children: [
4850
- /* @__PURE__ */ f.jsxs(Hs, { onSubmit: d, children: [
4851
- /* @__PURE__ */ f.jsx(Zs, { children: "Enter your phone number" }),
4852
- /* @__PURE__ */ f.jsx(ea, { children: "Enter your phone up for number to log in or sign an account." }),
4853
- /* @__PURE__ */ f.jsx(nm, { children: /* @__PURE__ */ f.jsx(ac, { value: a, onChange: (h) => s(`${h}`) }) }),
4854
- /* @__PURE__ */ f.jsx(na, { disabled: !sc(a), type: "submit", children: "request code" })
4848
+ return /* @__PURE__ */ T.jsxs(em, { children: [
4849
+ !r && /* @__PURE__ */ T.jsxs("div", { children: [
4850
+ /* @__PURE__ */ T.jsxs(Hs, { onSubmit: d, children: [
4851
+ /* @__PURE__ */ T.jsx(Zs, { children: "Enter your phone number" }),
4852
+ /* @__PURE__ */ T.jsx(ea, { children: "Enter your phone up for number to log in or sign an account." }),
4853
+ /* @__PURE__ */ T.jsx(nm, { children: /* @__PURE__ */ T.jsx(ac, { value: a, onChange: (h) => s(`${h}`) }) }),
4854
+ /* @__PURE__ */ T.jsx(na, { disabled: !sc(a), type: "submit", children: "request code" })
4855
4855
  ] }),
4856
- e && /* @__PURE__ */ f.jsx(na, { style: { display: "block", margin: "auto" }, onClick: e, children: "anonymous login" })
4856
+ e && /* @__PURE__ */ T.jsx(na, { style: { display: "block", margin: "auto" }, onClick: e, children: "anonymous login" })
4857
4857
  ] }),
4858
- r && /* @__PURE__ */ f.jsxs(Hs, { onSubmit: y, children: [
4859
- /* @__PURE__ */ f.jsx(Zs, { children: "Enter Verification Code" }),
4860
- /* @__PURE__ */ f.jsxs(ea, { children: [
4858
+ r && /* @__PURE__ */ T.jsxs(Hs, { onSubmit: y, children: [
4859
+ /* @__PURE__ */ T.jsx(Zs, { children: "Enter Verification Code" }),
4860
+ /* @__PURE__ */ T.jsxs(ea, { children: [
4861
4861
  "Please enter the verification code ",
4862
- /* @__PURE__ */ f.jsx("br", {}),
4862
+ /* @__PURE__ */ T.jsx("br", {}),
4863
4863
  "sent to ",
4864
- /* @__PURE__ */ f.jsx("b", { children: rc(a) })
4864
+ /* @__PURE__ */ T.jsx("b", { children: rc(a) })
4865
4865
  ] }),
4866
- /* @__PURE__ */ f.jsx(tm, { children: /* @__PURE__ */ f.jsx(ic, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: m }) }),
4867
- /* @__PURE__ */ f.jsx(na, { disabled: l.length !== 4, type: "submit", children: "login" }),
4868
- /* @__PURE__ */ f.jsxs(ea, { children: [
4866
+ /* @__PURE__ */ T.jsx(tm, { children: /* @__PURE__ */ T.jsx(ic, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: m }) }),
4867
+ /* @__PURE__ */ T.jsx(na, { disabled: l.length !== 4, type: "submit", children: "login" }),
4868
+ /* @__PURE__ */ T.jsxs(ea, { children: [
4869
4869
  "Didn't get 59 the code? ",
4870
- /* @__PURE__ */ f.jsx("br", {}),
4870
+ /* @__PURE__ */ T.jsx("br", {}),
4871
4871
  "Resend Code in",
4872
- /* @__PURE__ */ f.jsx(gi, { duration: 30, setTimeToExpire: () => {
4872
+ /* @__PURE__ */ T.jsx(gi, { duration: 30, setTimeToExpire: () => {
4873
4873
  }, isPlaying: !0 })
4874
4874
  ] })
4875
4875
  ] })
@@ -4932,9 +4932,9 @@ const ym = /* @__PURE__ */ I("div")({
4932
4932
  name: "Headline",
4933
4933
  class: "hr58r57",
4934
4934
  propsAsIs: !1
4935
- }), hm = ({ graphic: n, headline: e }) => /* @__PURE__ */ f.jsx(ym, { children: /* @__PURE__ */ f.jsxs(gm, { children: [
4936
- /* @__PURE__ */ f.jsx(Tm, { alt: "graphic-img-instrucrions", src: n }),
4937
- /* @__PURE__ */ f.jsx(fm, { children: e })
4935
+ }), hm = ({ graphic: n, headline: e }) => /* @__PURE__ */ T.jsx(ym, { children: /* @__PURE__ */ T.jsxs(gm, { children: [
4936
+ /* @__PURE__ */ T.jsx(Tm, { alt: "graphic-img-instrucrions", src: n }),
4937
+ /* @__PURE__ */ T.jsx(fm, { children: e })
4938
4938
  ] }) });
4939
4939
  const km = /* @__PURE__ */ I("div")({
4940
4940
  name: "Container",
@@ -4960,11 +4960,11 @@ const km = /* @__PURE__ */ I("div")({
4960
4960
  name: "RuleText",
4961
4961
  class: "rfkkuag",
4962
4962
  propsAsIs: !1
4963
- }), Em = ({ rules: n, rulesTitle: e, primaryColor: t }) => /* @__PURE__ */ f.jsxs(km, { children: [
4964
- /* @__PURE__ */ f.jsx(Mm, { children: e }),
4965
- /* @__PURE__ */ f.jsx(Nm, { children: n == null ? void 0 : n.map((a, s) => /* @__PURE__ */ f.jsxs(Im, { children: [
4966
- /* @__PURE__ */ f.jsx(Sm, { style: { backgroundColor: t }, children: s + 1 }),
4967
- /* @__PURE__ */ f.jsx(Am, { children: a })
4963
+ }), Em = ({ rules: n, rulesTitle: e, primaryColor: t }) => /* @__PURE__ */ T.jsxs(km, { children: [
4964
+ /* @__PURE__ */ T.jsx(Mm, { children: e }),
4965
+ /* @__PURE__ */ T.jsx(Nm, { children: n == null ? void 0 : n.map((a, s) => /* @__PURE__ */ T.jsxs(Im, { children: [
4966
+ /* @__PURE__ */ T.jsx(Sm, { style: { backgroundColor: t }, children: s + 1 }),
4967
+ /* @__PURE__ */ T.jsx(Am, { children: a })
4968
4968
  ] }, s)) })
4969
4969
  ] }), bm = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwL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zNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==";
4970
4970
  const Dm = /* @__PURE__ */ I("div")({
@@ -4999,11 +4999,11 @@ const Dm = /* @__PURE__ */ I("div")({
4999
4999
  inviteCardTitle: n,
5000
5000
  inviteCardSubtext: e,
5001
5001
  primaryColor: t
5002
- }) => /* @__PURE__ */ f.jsx(Dm, { children: /* @__PURE__ */ f.jsxs(_m, { children: [
5003
- /* @__PURE__ */ f.jsx(wm, { style: { backgroundColor: t }, children: /* @__PURE__ */ f.jsx(vm, { alt: "invite-game-icon", src: bm }) }),
5004
- /* @__PURE__ */ f.jsx(jm, { children: n || "" }),
5005
- /* @__PURE__ */ f.jsx(Om, { children: e || "" }),
5006
- /* @__PURE__ */ f.jsx(Lm, { onClick: () => {
5002
+ }) => /* @__PURE__ */ T.jsx(Dm, { children: /* @__PURE__ */ T.jsxs(_m, { children: [
5003
+ /* @__PURE__ */ T.jsx(wm, { style: { backgroundColor: t }, children: /* @__PURE__ */ T.jsx(vm, { alt: "invite-game-icon", src: bm }) }),
5004
+ /* @__PURE__ */ T.jsx(jm, { children: n || "" }),
5005
+ /* @__PURE__ */ T.jsx(Om, { children: e || "" }),
5006
+ /* @__PURE__ */ T.jsx(Lm, { onClick: () => {
5007
5007
  }, style: { backgroundColor: t }, children: "Invite friends!" })
5008
5008
  ] }) }), Nn = {
5009
5009
  steps: !1,
@@ -5023,7 +5023,7 @@ const Dm = /* @__PURE__ */ I("div")({
5023
5023
  inviteCardSubtext: y,
5024
5024
  inviteCardBtnLabel: h
5025
5025
  }) => {
5026
- const T = async () => {
5026
+ const f = async () => {
5027
5027
  await n.submitInplay();
5028
5028
  }, M = () => {
5029
5029
  e();
@@ -5034,18 +5034,18 @@ const Dm = /* @__PURE__ */ I("div")({
5034
5034
  const R = nt(() => {
5035
5035
  t != null && t.length && E < t.length - 1 ? D((x) => ++x) : r != null && r.length && L.steps ? j({ ...Nn, rules: !0 }) : L.rules && j({ ...Nn, inviteCard: !0 });
5036
5036
  }, [E, t == null ? void 0 : t.length, r == null ? void 0 : r.length, L, D, j]);
5037
- return /* @__PURE__ */ f.jsxs(sm, { children: [
5038
- /* @__PURE__ */ f.jsxs(im, { children: [
5039
- /* @__PURE__ */ f.jsx(om, { children: a && /* @__PURE__ */ f.jsx(lm, { alt: "sponsor-one-onboarding-icon", src: a }) }),
5040
- /* @__PURE__ */ f.jsxs(cm, { children: [
5041
- s && /* @__PURE__ */ f.jsx(um, { alt: "sponsor-two-onboarding-icon", src: s }),
5042
- /* @__PURE__ */ f.jsx(mm, { onClick: M, children: /* @__PURE__ */ f.jsx(dm, { alt: "icon-close-onboarding", src: vt }) })
5037
+ return /* @__PURE__ */ T.jsxs(sm, { children: [
5038
+ /* @__PURE__ */ T.jsxs(im, { children: [
5039
+ /* @__PURE__ */ T.jsx(om, { children: a && /* @__PURE__ */ T.jsx(lm, { alt: "sponsor-one-onboarding-icon", src: a }) }),
5040
+ /* @__PURE__ */ T.jsxs(cm, { children: [
5041
+ s && /* @__PURE__ */ T.jsx(um, { alt: "sponsor-two-onboarding-icon", src: s }),
5042
+ /* @__PURE__ */ T.jsx(mm, { onClick: M, children: /* @__PURE__ */ T.jsx(dm, { alt: "icon-close-onboarding", src: vt }) })
5043
5043
  ] })
5044
5044
  ] }),
5045
- /* @__PURE__ */ f.jsxs(rm, { children: [
5046
- L.steps && (t == null ? void 0 : t.length) && /* @__PURE__ */ f.jsx(hm, { graphic: t[E].graphic, headline: t[E].headline }),
5047
- L.rules && /* @__PURE__ */ f.jsx(Em, { rules: r, rulesTitle: l, primaryColor: m }),
5048
- L.inviteCard && /* @__PURE__ */ f.jsx(
5045
+ /* @__PURE__ */ T.jsxs(rm, { children: [
5046
+ L.steps && (t == null ? void 0 : t.length) && /* @__PURE__ */ T.jsx(hm, { graphic: t[E].graphic, headline: t[E].headline }),
5047
+ L.rules && /* @__PURE__ */ T.jsx(Em, { rules: r, rulesTitle: l, primaryColor: m }),
5048
+ L.inviteCard && /* @__PURE__ */ T.jsx(
5049
5049
  Rm,
5050
5050
  {
5051
5051
  inviteCardTitle: d,
@@ -5054,7 +5054,7 @@ const Dm = /* @__PURE__ */ I("div")({
5054
5054
  }
5055
5055
  )
5056
5056
  ] }),
5057
- /* @__PURE__ */ f.jsx(pm, { onClick: L.inviteCard ? T : R, children: L.rules ? o || "Got it!" : L.inviteCard ? h || "Play now!" : "Next" })
5057
+ /* @__PURE__ */ T.jsx(pm, { onClick: L.inviteCard ? f : R, children: L.rules ? o || "Got it!" : L.inviteCard ? h || "Play now!" : "Next" })
5058
5058
  ] });
5059
5059
  }, Se = c.makeEnum(
5060
5060
  "streamlayer.interactive.QuestionType",
@@ -8499,16 +8499,16 @@ const Ay = /* @__PURE__ */ I("div")({
8499
8499
  status: o
8500
8500
  }) => {
8501
8501
  const l = xy[e];
8502
- return l === void 0 ? null : /* @__PURE__ */ f.jsxs(Ay, { onClick: () => r == null ? void 0 : r(n), children: [
8503
- /* @__PURE__ */ f.jsx(Ey, { children: /* @__PURE__ */ f.jsx(by, { alt: "question-type-icon", src: l.icon }) }),
8504
- /* @__PURE__ */ f.jsxs(Dy, { children: [
8505
- /* @__PURE__ */ f.jsxs(_y, { children: [
8506
- /* @__PURE__ */ f.jsx(Ly, { children: l.label }),
8507
- e === Se.TRIVIA && t === nn.RESOLVED && /* @__PURE__ */ f.jsx(Ry, { children: "Expired" })
8502
+ return l === void 0 ? null : /* @__PURE__ */ T.jsxs(Ay, { onClick: () => r == null ? void 0 : r(n), children: [
8503
+ /* @__PURE__ */ T.jsx(Ey, { children: /* @__PURE__ */ T.jsx(by, { alt: "question-type-icon", src: l.icon }) }),
8504
+ /* @__PURE__ */ T.jsxs(Dy, { children: [
8505
+ /* @__PURE__ */ T.jsxs(_y, { children: [
8506
+ /* @__PURE__ */ T.jsx(Ly, { children: l.label }),
8507
+ e === Se.TRIVIA && t === nn.RESOLVED && /* @__PURE__ */ T.jsx(Ry, { children: "Expired" })
8508
8508
  ] }),
8509
- /* @__PURE__ */ f.jsx(wy, { children: a || "" })
8509
+ /* @__PURE__ */ T.jsx(wy, { children: a || "" })
8510
8510
  ] }),
8511
- s ? /* @__PURE__ */ f.jsx(vy, { children: "play" }) : /* @__PURE__ */ f.jsx(jy, { children: /* @__PURE__ */ f.jsx(Oy, { alt: "question-status-icon", src: Cy[o] }) })
8511
+ s ? /* @__PURE__ */ T.jsx(vy, { children: "play" }) : /* @__PURE__ */ T.jsx(jy, { children: /* @__PURE__ */ T.jsx(Oy, { alt: "question-status-icon", src: Cy[o] }) })
8512
8512
  ] });
8513
8513
  };
8514
8514
  const Uy = /* @__PURE__ */ I("div")({
@@ -8523,9 +8523,9 @@ const Uy = /* @__PURE__ */ I("div")({
8523
8523
  name: "ItemsContainer",
8524
8524
  class: "iiqbvdu",
8525
8525
  propsAsIs: !1
8526
- }), Qy = ({ questions: n, openQuestion: e }) => /* @__PURE__ */ f.jsxs(Uy, { children: [
8527
- /* @__PURE__ */ f.jsx(Py, { children: "PICK HISTORY" }),
8528
- /* @__PURE__ */ f.jsx(By, { children: n == null ? void 0 : n.map((t) => /* @__PURE__ */ f.jsx(zy, { openQuestion: e, ...t }, t.questionId)) })
8526
+ }), Qy = ({ questions: n, openQuestion: e }) => /* @__PURE__ */ T.jsxs(Uy, { children: [
8527
+ /* @__PURE__ */ T.jsx(Py, { children: "PICK HISTORY" }),
8528
+ /* @__PURE__ */ T.jsx(By, { children: n == null ? void 0 : n.map((t) => /* @__PURE__ */ T.jsx(zy, { openQuestion: e, ...t }, t.questionId)) })
8529
8529
  ] }), Fy = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXd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n.split(/\s+/).map((e) => e[0]).join("").toUpperCase();
8530
8530
  const Yy = /* @__PURE__ */ I("div")({
8531
8531
  name: "Container",
@@ -8535,9 +8535,9 @@ const Yy = /* @__PURE__ */ I("div")({
8535
8535
  name: "Indicator",
8536
8536
  class: "ix2bv9",
8537
8537
  propsAsIs: !1
8538
- }), ct = ({ indicator: n, title: e }) => /* @__PURE__ */ f.jsxs(Yy, { children: [
8539
- /* @__PURE__ */ f.jsx(Vy, { children: n }),
8540
- /* @__PURE__ */ f.jsx("p", { children: e })
8538
+ }), ct = ({ indicator: n, title: e }) => /* @__PURE__ */ T.jsxs(Yy, { children: [
8539
+ /* @__PURE__ */ T.jsx(Vy, { children: n }),
8540
+ /* @__PURE__ */ T.jsx("p", { children: e })
8541
8541
  ] });
8542
8542
  const $y = /* @__PURE__ */ I("div")({
8543
8543
  name: "Container",
@@ -8551,9 +8551,9 @@ const $y = /* @__PURE__ */ I("div")({
8551
8551
  name: "Indicator",
8552
8552
  class: "i1v0wmto",
8553
8553
  propsAsIs: !1
8554
- }), er = ({ indicator: n, title: e }) => /* @__PURE__ */ f.jsxs($y, { children: [
8555
- /* @__PURE__ */ f.jsx(qy, { children: e }),
8556
- /* @__PURE__ */ f.jsx(Wy, { children: n })
8554
+ }), er = ({ indicator: n, title: e }) => /* @__PURE__ */ T.jsxs($y, { children: [
8555
+ /* @__PURE__ */ T.jsx(qy, { children: e }),
8556
+ /* @__PURE__ */ T.jsx(Wy, { children: n })
8557
8557
  ] });
8558
8558
  const Hy = /* @__PURE__ */ I("div")({
8559
8559
  name: "Container",
@@ -8626,22 +8626,22 @@ const Hy = /* @__PURE__ */ I("div")({
8626
8626
  correct: l,
8627
8627
  incorrect: m,
8628
8628
  successRate: d
8629
- }) => /* @__PURE__ */ f.jsxs(Hy, { children: [
8630
- /* @__PURE__ */ f.jsxs(Zy, { children: [
8631
- /* @__PURE__ */ f.jsxs(Jy, { children: [
8632
- /* @__PURE__ */ f.jsxs(lg, { children: [
8633
- n && /* @__PURE__ */ f.jsx(Xy, { alt: "avatar", src: n }),
8634
- !n && /* @__PURE__ */ f.jsx(cg, { children: Gy(e) })
8629
+ }) => /* @__PURE__ */ T.jsxs(Hy, { children: [
8630
+ /* @__PURE__ */ T.jsxs(Zy, { children: [
8631
+ /* @__PURE__ */ T.jsxs(Jy, { children: [
8632
+ /* @__PURE__ */ T.jsxs(lg, { children: [
8633
+ n && /* @__PURE__ */ T.jsx(Xy, { alt: "avatar", src: n }),
8634
+ !n && /* @__PURE__ */ T.jsx(cg, { children: Gy(e) })
8635
8635
  ] }),
8636
- /* @__PURE__ */ f.jsxs(eg, { children: [
8637
- /* @__PURE__ */ f.jsx(ng, { children: e }),
8638
- /* @__PURE__ */ f.jsxs(tg, { children: [
8639
- /* @__PURE__ */ f.jsx(ag, { alt: "rank-icon", src: Fy }),
8640
- /* @__PURE__ */ f.jsxs(sg, { children: [
8641
- /* @__PURE__ */ f.jsx(rg, { children: t || "-" }),
8636
+ /* @__PURE__ */ T.jsxs(eg, { children: [
8637
+ /* @__PURE__ */ T.jsx(ng, { children: e }),
8638
+ /* @__PURE__ */ T.jsxs(tg, { children: [
8639
+ /* @__PURE__ */ T.jsx(ag, { alt: "rank-icon", src: Fy }),
8640
+ /* @__PURE__ */ T.jsxs(sg, { children: [
8641
+ /* @__PURE__ */ T.jsx(rg, { children: t || "-" }),
8642
8642
  "RTS"
8643
8643
  ] }),
8644
- /* @__PURE__ */ f.jsxs(ig, { children: [
8644
+ /* @__PURE__ */ T.jsxs(ig, { children: [
8645
8645
  "TOP ",
8646
8646
  a,
8647
8647
  "%"
@@ -8649,16 +8649,16 @@ const Hy = /* @__PURE__ */ I("div")({
8649
8649
  ] })
8650
8650
  ] })
8651
8651
  ] }),
8652
- /* @__PURE__ */ f.jsxs(og, { children: [
8653
- /* @__PURE__ */ f.jsx(er, { title: "Friens rank", indicator: s || "-" }),
8654
- /* @__PURE__ */ f.jsx(er, { title: "Global rank", indicator: r || "-" })
8652
+ /* @__PURE__ */ T.jsxs(og, { children: [
8653
+ /* @__PURE__ */ T.jsx(er, { title: "Friens rank", indicator: s || "-" }),
8654
+ /* @__PURE__ */ T.jsx(er, { title: "Global rank", indicator: r || "-" })
8655
8655
  ] })
8656
8656
  ] }),
8657
- /* @__PURE__ */ f.jsxs(Ky, { children: [
8658
- /* @__PURE__ */ f.jsx(ct, { indicator: o || "-", title: "Win streak" }),
8659
- /* @__PURE__ */ f.jsx(ct, { indicator: l || "-", title: "Correct" }),
8660
- /* @__PURE__ */ f.jsx(ct, { indicator: m || "-", title: "Incorrect" }),
8661
- /* @__PURE__ */ f.jsx(ct, { indicator: `${d || "-"}%`, title: "Success rate" })
8657
+ /* @__PURE__ */ T.jsxs(Ky, { children: [
8658
+ /* @__PURE__ */ T.jsx(ct, { indicator: o || "-", title: "Win streak" }),
8659
+ /* @__PURE__ */ T.jsx(ct, { indicator: l || "-", title: "Correct" }),
8660
+ /* @__PURE__ */ T.jsx(ct, { indicator: m || "-", title: "Incorrect" }),
8661
+ /* @__PURE__ */ T.jsx(ct, { indicator: `${d || "-"}%`, title: "Success rate" })
8662
8662
  ] })
8663
8663
  ] }), xa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZWNrbWFyayI+CjxwYXRoIGlkPSJTZWxlY3RlZCIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNCAxMi4wMDJDMjQgMTguNjI5NCAxOC42Mjc0IDI0LjAwMiAxMiAyNC4wMDJDNS4zNzI1OCAyNC4wMDIgMCAxOC42Mjk0IDAgMTIuMDAyQzAgNS4zNzQ1NCA1LjM3MjU4IDAuMDAxOTUzMTIgMTIgMC4wMDE5NTMxMkMxOC42Mjc0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__ */ I("div")({
8714
8714
  questionAnswered: d,
8715
8715
  hasCorrectAnswer: y,
8716
8716
  answered: h,
8717
- points: T,
8717
+ points: f,
8718
8718
  questionType: M
8719
8719
  }) => {
8720
8720
  var E;
8721
- return d && h ? /* @__PURE__ */ f.jsxs(
8721
+ return d && h ? /* @__PURE__ */ T.jsxs(
8722
8722
  pg,
8723
8723
  {
8724
8724
  "data-answeredCorrect": (E = !y || m) == null ? void 0 : E.toString(),
8725
8725
  "data-questionAnswered": "false",
8726
8726
  children: [
8727
- /* @__PURE__ */ f.jsx(tr, { style: { width: `${r}%` } }),
8728
- /* @__PURE__ */ f.jsxs(ar, { disabled: s, onClick: () => o(a, e), children: [
8729
- n && /* @__PURE__ */ f.jsx(sr, { alt: "option-icon", src: n }),
8730
- /* @__PURE__ */ f.jsx(rr, { children: t }),
8731
- /* @__PURE__ */ f.jsxs(ir, { children: [
8732
- y && m && /* @__PURE__ */ f.jsx(or, { children: /* @__PURE__ */ f.jsx(cr, { alt: "icon-correct", src: h ? nr : xa }) }),
8733
- /* @__PURE__ */ f.jsxs(ta, { children: [
8727
+ /* @__PURE__ */ T.jsx(tr, { style: { width: `${r}%` } }),
8728
+ /* @__PURE__ */ T.jsxs(ar, { disabled: s, onClick: () => o(a, e), children: [
8729
+ n && /* @__PURE__ */ T.jsx(sr, { alt: "option-icon", src: n }),
8730
+ /* @__PURE__ */ T.jsx(rr, { children: t }),
8731
+ /* @__PURE__ */ T.jsxs(ir, { children: [
8732
+ y && m && /* @__PURE__ */ T.jsx(or, { children: /* @__PURE__ */ T.jsx(cr, { alt: "icon-correct", src: h ? nr : xa }) }),
8733
+ /* @__PURE__ */ T.jsxs(ta, { children: [
8734
8734
  r,
8735
8735
  "%"
8736
8736
  ] })
@@ -8738,9 +8738,9 @@ const no = /* @__PURE__ */ I("div")({
8738
8738
  ] })
8739
8739
  ]
8740
8740
  }
8741
- ) : /* @__PURE__ */ f.jsxs(no, { "data-questionAnswered": d == null ? void 0 : d.toString(), children: [
8742
- d && /* @__PURE__ */ f.jsx(tr, { style: { width: `${r}%` } }),
8743
- /* @__PURE__ */ f.jsxs(
8741
+ ) : /* @__PURE__ */ T.jsxs(no, { "data-questionAnswered": d == null ? void 0 : d.toString(), children: [
8742
+ d && /* @__PURE__ */ T.jsx(tr, { style: { width: `${r}%` } }),
8743
+ /* @__PURE__ */ T.jsxs(
8744
8744
  ar,
8745
8745
  {
8746
8746
  disabled: s,
@@ -8748,16 +8748,16 @@ const no = /* @__PURE__ */ I("div")({
8748
8748
  l(!0), o(a, e);
8749
8749
  },
8750
8750
  children: [
8751
- n && /* @__PURE__ */ f.jsx(sr, { alt: "option-icon", src: n }),
8752
- /* @__PURE__ */ f.jsx(rr, { children: t }),
8753
- d ? /* @__PURE__ */ f.jsxs(ir, { children: [
8754
- y && m && /* @__PURE__ */ f.jsx(or, { children: /* @__PURE__ */ f.jsx(cr, { alt: "icon-correct", src: h ? nr : xa }) }),
8755
- /* @__PURE__ */ f.jsxs(ta, { children: [
8751
+ n && /* @__PURE__ */ T.jsx(sr, { alt: "option-icon", src: n }),
8752
+ /* @__PURE__ */ T.jsx(rr, { children: t }),
8753
+ d ? /* @__PURE__ */ T.jsxs(ir, { children: [
8754
+ y && m && /* @__PURE__ */ T.jsx(or, { children: /* @__PURE__ */ T.jsx(cr, { alt: "icon-correct", src: h ? nr : xa }) }),
8755
+ /* @__PURE__ */ T.jsxs(ta, { children: [
8756
8756
  r,
8757
8757
  "%"
8758
8758
  ] })
8759
- ] }) : M === Se.PREDICTION ? /* @__PURE__ */ f.jsxs(ta, { children: [
8760
- T,
8759
+ ] }) : M === Se.PREDICTION ? /* @__PURE__ */ T.jsxs(ta, { children: [
8760
+ f,
8761
8761
  " pts"
8762
8762
  ] }) : null
8763
8763
  ]
@@ -8814,11 +8814,11 @@ const gg = /* @__PURE__ */ I("div")({
8814
8814
  );
8815
8815
  return gn(() => {
8816
8816
  d(!1);
8817
- }, [t, d]), /* @__PURE__ */ f.jsxs(gg, { children: [
8818
- /* @__PURE__ */ f.jsx(Tg, { children: n }),
8819
- /* @__PURE__ */ f.jsxs(fg, { children: [
8820
- l && /* @__PURE__ */ f.jsx(hg, { children: "Loading..." }),
8821
- t.map((y) => /* @__PURE__ */ f.jsx(
8817
+ }, [t, d]), /* @__PURE__ */ T.jsxs(gg, { children: [
8818
+ /* @__PURE__ */ T.jsx(Tg, { children: n }),
8819
+ /* @__PURE__ */ T.jsxs(fg, { children: [
8820
+ l && /* @__PURE__ */ T.jsx(hg, { children: "Loading..." }),
8821
+ t.map((y) => /* @__PURE__ */ T.jsx(
8822
8822
  yg,
8823
8823
  {
8824
8824
  toggleIsLoadingSubmitAnswer: d,
@@ -8829,11 +8829,11 @@ const gg = /* @__PURE__ */ I("div")({
8829
8829
  y.id
8830
8830
  ))
8831
8831
  ] }),
8832
- a && o === Se.TRIVIA && /* @__PURE__ */ f.jsxs(kg, { children: [
8833
- /* @__PURE__ */ f.jsx(Mg, { alt: "reaction-to-answer", src: r ? xa : mg }),
8834
- /* @__PURE__ */ f.jsxs("div", { children: [
8835
- /* @__PURE__ */ f.jsx(Ng, { children: r ? s.correctFeedback.title : s.incorrectFeedback.title }),
8836
- /* @__PURE__ */ f.jsx(Ig, { children: r ? s.correctFeedback.description : s.incorrectFeedback.description })
8832
+ a && o === Se.TRIVIA && /* @__PURE__ */ T.jsxs(kg, { children: [
8833
+ /* @__PURE__ */ T.jsx(Mg, { alt: "reaction-to-answer", src: r ? xa : mg }),
8834
+ /* @__PURE__ */ T.jsxs("div", { children: [
8835
+ /* @__PURE__ */ T.jsx(Ng, { children: r ? s.correctFeedback.title : s.incorrectFeedback.title }),
8836
+ /* @__PURE__ */ T.jsx(Ig, { children: r ? s.correctFeedback.description : s.incorrectFeedback.description })
8837
8837
  ] })
8838
8838
  ] })
8839
8839
  ] });
@@ -9023,8 +9023,8 @@ function vg(n, e, t) {
9023
9023
  var m = e.length;
9024
9024
  if (m === 0)
9025
9025
  return n;
9026
- for (var d = "", y = 1 - s, h = -1, T = n && n.length || 0, M = 0; M < T; ) {
9027
- if (n.charCodeAt(M) === 37 && M + 1 < T) {
9026
+ for (var d = "", y = 1 - s, h = -1, f = n && n.length || 0, M = 0; M < f; ) {
9027
+ if (n.charCodeAt(M) === 37 && M + 1 < f) {
9028
9028
  switch (h = h > -1 ? h : 0, n.charCodeAt(M + 1)) {
9029
9029
  case 100:
9030
9030
  case 102:
@@ -9067,7 +9067,7 @@ function vg(n, e, t) {
9067
9067
  }
9068
9068
  ++M;
9069
9069
  }
9070
- return h === -1 ? n : (h < T && (d += n.slice(h)), d);
9070
+ return h === -1 ? n : (h < f && (d += n.slice(h)), d);
9071
9071
  }
9072
9072
  const lr = wg;
9073
9073
  is.exports = He;
@@ -9129,7 +9129,7 @@ function He(n) {
9129
9129
  d.log || (d.log = et), Lg(d, l, t), ur({}, d), Object.defineProperty(d, "levelVal", {
9130
9130
  get: h
9131
9131
  }), Object.defineProperty(d, "level", {
9132
- get: T,
9132
+ get: f,
9133
9133
  set: M
9134
9134
  });
9135
9135
  const y = {
@@ -9143,7 +9143,7 @@ function He(n) {
9143
9143
  function h() {
9144
9144
  return St(this.level, this);
9145
9145
  }
9146
- function T() {
9146
+ function f() {
9147
9147
  return this._level;
9148
9148
  }
9149
9149
  function M(D) {
@@ -9233,13 +9233,13 @@ function Pg(n, e, t, a) {
9233
9233
  for (var d = 0; d < l.length; d++)
9234
9234
  l[d] = arguments[d];
9235
9235
  if (e.serialize && !e.asObject && Ut(l, this._serialize, this.serializers, this._stdErrSerialize), e.asObject ? s.call(m, Bg(this, a, l, o)) : s.apply(m, l), e.transmit) {
9236
- const y = e.transmit.level || n._level, h = t.levels.values[y], T = t.levels.values[a];
9237
- if (T < h)
9236
+ const y = e.transmit.level || n._level, h = t.levels.values[y], f = t.levels.values[a];
9237
+ if (f < h)
9238
9238
  return;
9239
9239
  Qg(this, {
9240
9240
  ts: o,
9241
9241
  methodLevel: a,
9242
- methodValue: T,
9242
+ methodValue: f,
9243
9243
  transmitLevel: y,
9244
9244
  transmitValue: t.levels.values[e.transmit.level || n._level],
9245
9245
  send: e.transmit.send,
@@ -9568,13 +9568,13 @@ const Xg = ({
9568
9568
  }), z;
9569
9569
  }, h = (j) => {
9570
9570
  n.delete(j), o.delete(j);
9571
- }, T = (j, R) => {
9571
+ }, f = (j, R) => {
9572
9572
  for (const x of n.keys())
9573
9573
  ra(x, j) && R(x);
9574
9574
  }, M = (j) => {
9575
- T(j, h), a.emit(gr, j);
9575
+ f(j, h), a.emit(gr, j);
9576
9576
  }, E = (j, R) => {
9577
- T(j, (x) => {
9577
+ f(j, (x) => {
9578
9578
  R === void 0 ? h(x) : n.set(x, R);
9579
9579
  }), a.emit(sa, j, R);
9580
9580
  };
@@ -14283,19 +14283,19 @@ const mk = (n) => {
14283
14283
  "disabled"
14284
14284
  /* DISABLED */
14285
14285
  ), "status"), a = new be(De(), "userKey"), s = new be(De(), "userToken");
14286
- s.listen((T) => {
14287
- T ? localStorage.setItem("sl-user-token", T) : localStorage.removeItem("sl-user-token");
14286
+ s.listen((f) => {
14287
+ f ? localStorage.setItem("sl-user-token", f) : localStorage.removeItem("sl-user-token");
14288
14288
  });
14289
14289
  const r = new be(De(), "providerStreamId"), o = new Le(
14290
14290
  ak(r.getStore(), n),
14291
14291
  "slStreamId",
14292
- (T) => T == null ? void 0 : T.data
14292
+ (f) => f == null ? void 0 : f.data
14293
14293
  ), l = new Le(
14294
14294
  rk(s.getStore(), n),
14295
14295
  "user",
14296
- (T) => {
14296
+ (f) => {
14297
14297
  var M, E;
14298
- return (E = (M = T == null ? void 0 : T.data) == null ? void 0 : M.data) == null ? void 0 : E.id;
14298
+ return (E = (M = f == null ? void 0 : f.data) == null ? void 0 : M.data) == null ? void 0 : E.id;
14299
14299
  }
14300
14300
  ), m = new Le(
14301
14301
  ok(s.getStore(), n),
@@ -14304,15 +14304,15 @@ const mk = (n) => {
14304
14304
  sk(o.getAtomStore(), n),
14305
14305
  "streamSettings"
14306
14306
  );
14307
- o.getAtomStore().listen((T) => {
14308
- (T === "" || T === void 0) && d.getStore().mutate(void 0);
14307
+ o.getAtomStore().listen((f) => {
14308
+ (f === "" || f === void 0) && d.getStore().mutate(void 0);
14309
14309
  });
14310
14310
  const y = new Le(
14311
14311
  ck(e.getStore(), n),
14312
14312
  "organizationSettings",
14313
- (T) => {
14313
+ (f) => {
14314
14314
  var M;
14315
- return (M = T == null ? void 0 : T.data) == null ? void 0 : M.id;
14315
+ return (M = f == null ? void 0 : f.data) == null ? void 0 : M.id;
14316
14316
  }
14317
14317
  ), h = new Le(
14318
14318
  lk(y.getAtomStore(), n),
@@ -15130,7 +15130,7 @@ class fo extends to {
15130
15130
  return;
15131
15131
  const { status: o, type: l, id: m } = r;
15132
15132
  if (o === nn.RESOLVED && l === Se.PREDICTION) {
15133
- const h = await Ck(m, t), T = h == null ? void 0 : h.answers.find(({ correct: M }) => M);
15133
+ const h = await Ck(m, t), f = h == null ? void 0 : h.answers.find(({ correct: M }) => M);
15134
15134
  this.notifications.add({
15135
15135
  type: jn.ONBOARDING,
15136
15136
  action: () => this.openQuestion(m),
@@ -15140,7 +15140,7 @@ class fo extends to {
15140
15140
  prefix: `notification-id:${m}-prediction-close`
15141
15141
  }),
15142
15142
  data: {
15143
- title: T != null && T.youVoted ? `Congratulations! You answered correctly! You won ${T.points} pts!` : `Better luck next time! Correct: ${T == null ? void 0 : T.text}!`
15143
+ title: f != null && f.youVoted ? `Congratulations! You answered correctly! You won ${f.points} pts!` : `Better luck next time! Correct: ${f == null ? void 0 : f.text}!`
15144
15144
  }
15145
15145
  });
15146
15146
  }
@@ -15314,19 +15314,19 @@ const Hk = /* @__PURE__ */ I("div")({
15314
15314
  close: n,
15315
15315
  action: e,
15316
15316
  data: { icon: t, header: a, title: s, subtitle: r, graphicBg: o, sponsorLogo: l }
15317
- }) => /* @__PURE__ */ f.jsxs(Hk, { children: [
15318
- /* @__PURE__ */ f.jsx(sM, { onClick: n, children: /* @__PURE__ */ f.jsx(rM, { alt: "icon-close-onboarding-inapp", src: Wk }) }),
15319
- /* @__PURE__ */ f.jsx(Zk, { style: { backgroundImage: `url(${o || ""})` }, children: t && /* @__PURE__ */ f.jsx(Kk, { alt: "onboarding-inapp-icon", src: t }) }),
15320
- /* @__PURE__ */ f.jsxs(Jk, { children: [
15321
- /* @__PURE__ */ f.jsxs("div", { children: [
15322
- /* @__PURE__ */ f.jsx("div", { children: l ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
15323
- /* @__PURE__ */ f.jsx(Xk, { alt: "sponsor-logo", src: l }),
15324
- /* @__PURE__ */ f.jsx(eM, { children: "Presents" })
15317
+ }) => /* @__PURE__ */ T.jsxs(Hk, { children: [
15318
+ /* @__PURE__ */ T.jsx(sM, { onClick: n, children: /* @__PURE__ */ T.jsx(rM, { alt: "icon-close-onboarding-inapp", src: Wk }) }),
15319
+ /* @__PURE__ */ T.jsx(Zk, { style: { backgroundImage: `url(${o || ""})` }, children: t && /* @__PURE__ */ T.jsx(Kk, { alt: "onboarding-inapp-icon", src: t }) }),
15320
+ /* @__PURE__ */ T.jsxs(Jk, { children: [
15321
+ /* @__PURE__ */ T.jsxs("div", { children: [
15322
+ /* @__PURE__ */ T.jsx("div", { children: l ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
15323
+ /* @__PURE__ */ T.jsx(Xk, { alt: "sponsor-logo", src: l }),
15324
+ /* @__PURE__ */ T.jsx(eM, { children: "Presents" })
15325
15325
  ] }) : a || "" }),
15326
- /* @__PURE__ */ f.jsx(nM, { children: s || "" }),
15327
- /* @__PURE__ */ f.jsx(tM, { children: r || "" })
15326
+ /* @__PURE__ */ T.jsx(nM, { children: s || "" }),
15327
+ /* @__PURE__ */ T.jsx(tM, { children: r || "" })
15328
15328
  ] }),
15329
- /* @__PURE__ */ f.jsx(aM, { onClick: e, children: "Play" })
15329
+ /* @__PURE__ */ T.jsx(aM, { onClick: e, children: "Play" })
15330
15330
  ] })
15331
15331
  ] });
15332
15332
  const oM = /* @__PURE__ */ I("div")({
@@ -15347,12 +15347,12 @@ const oM = /* @__PURE__ */ I("div")({
15347
15347
  duration: 300,
15348
15348
  fill: "forwards"
15349
15349
  });
15350
- }, [t.hiding]), /* @__PURE__ */ f.jsx(
15350
+ }, [t.hiding]), /* @__PURE__ */ T.jsx(
15351
15351
  oM,
15352
15352
  {
15353
15353
  ref: a,
15354
15354
  style: { zIndex: n + 1, transform: `translateY(${100 * (e - n - 1)}%)` },
15355
- children: /* @__PURE__ */ f.jsx(s, { ...t })
15355
+ children: /* @__PURE__ */ T.jsx(s, { ...t })
15356
15356
  }
15357
15357
  );
15358
15358
  };
@@ -15362,7 +15362,7 @@ const uM = /* @__PURE__ */ I("div")({
15362
15362
  propsAsIs: !1
15363
15363
  }), mM = ({ notificationsStore: n }) => {
15364
15364
  const e = Ee(n);
15365
- return /* @__PURE__ */ f.jsx(uM, { children: e == null ? void 0 : e.map((t, a) => /* @__PURE__ */ f.jsx(
15365
+ return /* @__PURE__ */ T.jsx(uM, { children: e == null ? void 0 : e.map((t, a) => /* @__PURE__ */ T.jsx(
15366
15366
  lM,
15367
15367
  {
15368
15368
  index: a,
@@ -15374,7 +15374,7 @@ const uM = /* @__PURE__ */ I("div")({
15374
15374
  }, dM = ({ store: n }) => {
15375
15375
  var t;
15376
15376
  const { data: e } = Ee(n);
15377
- return e != null && e.summary ? /* @__PURE__ */ f.jsx(
15377
+ return e != null && e.summary ? /* @__PURE__ */ T.jsx(
15378
15378
  ug,
15379
15379
  {
15380
15380
  avatar: e.summary.avatar,
@@ -15388,10 +15388,10 @@ const uM = /* @__PURE__ */ I("div")({
15388
15388
  incorrect: e.summary.incorrect,
15389
15389
  successRate: (t = e.percentage) == null ? void 0 : t.average
15390
15390
  }
15391
- ) : /* @__PURE__ */ f.jsx("div", { children: "wait user..." });
15391
+ ) : /* @__PURE__ */ T.jsx("div", { children: "wait user..." });
15392
15392
  }, pM = ({ store: n, openQuestion: e }) => {
15393
15393
  const { data: t } = Ee(n);
15394
- return t ? /* @__PURE__ */ f.jsx(Qy, { openQuestion: e, questions: t }) : /* @__PURE__ */ f.jsx("div", { children: "wait questions..." });
15394
+ return t ? /* @__PURE__ */ T.jsx(Qy, { openQuestion: e, questions: t }) : /* @__PURE__ */ T.jsx("div", { children: "wait questions..." });
15395
15395
  }, yM = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGlkPSJUcm9waHkiPgogICAgICA8cGF0aCBpZD0iQ29tYmluZWQgU2hhcGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMi43NjkxNiAzLjUwMDAyQzIuNzY5MTYgNC40OTc4NiAyLjk0NzA1IDUuMzgzNDggMy4zMDI4MiA2LjE1NjkyQzIuNjI0OTMgNi4wMTg0NyAyLjA1ODgzIDUuNzQ4NzIgMS42MDQ1IDUuMzQ3NjhDMS4xNTAxNyA0Ljk0NjYzIDAuOTIzMDA4IDQuNTU5OTIgMC45MjMwMDggNC4xODc1MlYzLjUwMDAySDIuNzY5MTZaTTExLjA3NjggMy41MDAwMlY0LjE4NzUyQzExLjA3NjggNC41NTk5MiAxMC44NDk3IDQuOTQ2NjMgMTAuMzk1MyA1LjM0NzY4QzkuOTQxIDUuNzQ4NzIgOS4zNzQ5IDYuMDE4NDcgOC42OTcwMSA2LjE1NjkyQzkuMDUyNzggNS4zODM0OCA5LjIzMDY2IDQuNDk3ODYgOS4yMzA2NiAzLjUwMDAySDExLjA3NjhaTTEyIDQuMTg3NVYzLjI3MDgzQzEyIDMuMDc5ODYgMTEuOTMyNyAyLjkxNzU0IDExLjc5ODEgMi43ODM4NUMxMS42NjM1IDIuNjUwMTcgMTEuNSAyLjU4MzMzIDExLjMwNzcgMi41ODMzM0g5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44NzkzIDEyLjM3NUw2Ljg3NSA1LjVDNi44NzUgNC44NTExNyA3LjE4MDY0IDQuMjM5NzMgNy43IDMuODUwNDNMOS4xNjY5NSAyLjc1MDg2QzEwLjM1NTUgMS44NTYyNSAxMS44MDM1IDEuMzc1IDEzLjI5MDIgMS4zNzVIMTUuODEyNUMxNi45NTIgMS4zNzUgMTcuODc1IDIuMjk3NTQgMTcuODc1IDMuNDM2NjRDMTcuODc1IDMuNTkyODMgMTcuODU0NCAzLjc0MzU3IDE3LjgyMTUgMy44ODk5NkMxOC42NDg0IDQuMTU5MzcgMTkuMjUgNC45MjQyMiAxOS4yNSA1Ljg0Mzc1QzE5LjI1IDYuMjM2ODMgMTkuMTM0MSA2LjYwMDQzIDE4Ljk0MzIgNi45MTI4MUMxOS44OTg4IDcuMDg5ODQgMjAuNjI1IDcuOTI3NzMgMjAuNjI1IDguOTMzMkMyMC42MjUgOS40NzAzMSAyMC40MTQ4IDkuOTU1IDIwLjA3ODQgMTAuMzIyQzIxLjE0OTIgMTAuMzk0MSAyMiAxMS4yNzkzIDIyIDEyLjM3MDdaIiBmaWxsPSJ3aGl0ZSIvPgogIDwvc3ZnPgo=";
15396
15396
  const TM = /* @__PURE__ */ I("div")({
15397
15397
  name: "Container",
@@ -15449,11 +15449,11 @@ const SM = /* @__PURE__ */ I("div")({
15449
15449
  name: "PointLabel",
15450
15450
  class: "p157xd4a",
15451
15451
  propsAsIs: !1
15452
- }), ua = ({ points: n }) => /* @__PURE__ */ f.jsxs(SM, { children: [
15453
- /* @__PURE__ */ f.jsx(AM, { children: "YOU WON" }),
15454
- /* @__PURE__ */ f.jsxs(EM, { children: [
15455
- /* @__PURE__ */ f.jsx(bM, { children: n }),
15456
- /* @__PURE__ */ f.jsx(DM, { children: "PTS" })
15452
+ }), ua = ({ points: n }) => /* @__PURE__ */ T.jsxs(SM, { children: [
15453
+ /* @__PURE__ */ T.jsx(AM, { children: "YOU WON" }),
15454
+ /* @__PURE__ */ T.jsxs(EM, { children: [
15455
+ /* @__PURE__ */ T.jsx(bM, { children: n }),
15456
+ /* @__PURE__ */ T.jsx(DM, { children: "PTS" })
15457
15457
  ] })
15458
15458
  ] }), _M = ({
15459
15459
  logo: n,
@@ -15465,23 +15465,23 @@ const SM = /* @__PURE__ */ I("div")({
15465
15465
  setTimeToExpire: o
15466
15466
  }) => {
15467
15467
  const l = !t && s !== Se.PREDICTION, m = t && s === Se.TRIVIA, d = m && a, y = m && !a, h = t && s === Se.PREDICTION;
15468
- return /* @__PURE__ */ f.jsxs(TM, { children: [
15469
- /* @__PURE__ */ f.jsxs(hM, { children: [
15470
- /* @__PURE__ */ f.jsxs(NM, { children: [
15471
- l && /* @__PURE__ */ f.jsx(gi, { setTimeToExpire: o }),
15472
- d && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
15473
- /* @__PURE__ */ f.jsx(ua, { points: e }),
15474
- /* @__PURE__ */ f.jsx(Cr, { isSuccess: !0, children: /* @__PURE__ */ f.jsx(zr, { alt: "reaction-icon", src: yM }) })
15468
+ return /* @__PURE__ */ T.jsxs(TM, { children: [
15469
+ /* @__PURE__ */ T.jsxs(hM, { children: [
15470
+ /* @__PURE__ */ T.jsxs(NM, { children: [
15471
+ l && /* @__PURE__ */ T.jsx(gi, { setTimeToExpire: o }),
15472
+ d && /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
15473
+ /* @__PURE__ */ T.jsx(ua, { points: e }),
15474
+ /* @__PURE__ */ T.jsx(Cr, { isSuccess: !0, children: /* @__PURE__ */ T.jsx(zr, { alt: "reaction-icon", src: yM }) })
15475
15475
  ] }),
15476
- y && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
15477
- /* @__PURE__ */ f.jsx(ua, { points: 0 }),
15478
- /* @__PURE__ */ f.jsx(Cr, { isSuccess: !1, children: /* @__PURE__ */ f.jsx(zr, { alt: "reaction-icon", src: gM }) })
15476
+ y && /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
15477
+ /* @__PURE__ */ T.jsx(ua, { points: 0 }),
15478
+ /* @__PURE__ */ T.jsx(Cr, { isSuccess: !1, children: /* @__PURE__ */ T.jsx(zr, { alt: "reaction-icon", src: gM }) })
15479
15479
  ] }),
15480
- h && /* @__PURE__ */ f.jsx(ua, { points: e })
15480
+ h && /* @__PURE__ */ T.jsx(ua, { points: e })
15481
15481
  ] }),
15482
- /* @__PURE__ */ f.jsx(kM, { onClick: r, children: /* @__PURE__ */ f.jsx(MM, { alt: "exit-icon", src: vt }) })
15482
+ /* @__PURE__ */ T.jsx(kM, { onClick: r, children: /* @__PURE__ */ T.jsx(MM, { alt: "exit-icon", src: vt }) })
15483
15483
  ] }),
15484
- n && /* @__PURE__ */ f.jsx(fM, { src: n })
15484
+ n && /* @__PURE__ */ T.jsx(fM, { src: n })
15485
15485
  ] });
15486
15486
  }, wM = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjgiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCA2OCAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlZlY3RvciI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNTYuNjE1NSA3LjQ0MTQ2SDUwLjcwNjZMNTYuMzA3MiAxMy44NjE1TDUwLjcwNjYgMjAuMjgwNUg1Ni40MzU3TDU5LjE1ODcgMTcuMTM3TDYxLjkwNjggMjAuMjgwNUg2Ny44NEw2Mi4xOSAxMy44MzQ4TDY3Ljc2MzYgNy40NDE0Nkg2Mi4wNjA2TDU5LjM4OTcgMTAuNTYwMkw1Ni42MTU1IDcuNDQxNDZaTTYyLjI3MjEgNy45MTY1OUw1OS4zOTY0IDExLjI3NDdMNTYuNDA5MiA3LjkxNjU5SDUxLjc0NDZMNTYuOTMwNyAxMy44NjE1TDUxLjc0NDcgMTkuODA1NEg1Ni4yMjU3TDU5LjE1NzEg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xLjYyNTggMjAuOTU4IDIzLjg2MDcgMTkuMzM0IDI1LjA0MTkgMTYuMzc0SDIwLjUyODRDMTkuOTE4MyAxNy4yNjQ0IDE5LjQ1NTMgMTcuNTI3NiAxOC4yMzQ5IDE3LjUyNzZDMTYuODE5OSAxNy41Mjc2IDE1LjU5OTUgMTYuMjY4NSAxNS41OTk1IDE0Ljc3NTZIMjQuNzg5NEMyNS4xODgxIDE4LjEyNjIgMjcuNzQ3MiAyMS4wMTYgMzEuMjU4MiAyMS4wMTZDMzIuNzczIDIxLjAxNiAzNC4xNjAxIDIwLjI1NTggMzUuMDA3OCAxOC45NzI5SDM1LjA1OVYyMC4yODI0SDM5LjcwMUwzOS43MDIgMC4wNTU5OTk4SDM1LjA2Wk0xNS43NDY3IDExLjgzOTNDMTYuMDM5MiAxMC41NTQ1IDE3LjAxNjQgOS43MTU0NSAxOC4yMzU4IDkuNzE1NDVDMTkuNTc4MiA5LjcxNTQ1IDIwLjUwNTEgMTAuNTI4OSAyMC43NDkyIDExLjgzOTNDMjAuODUxNyAxMS44MzkzIDE1Ljc0NjcgMTEuODM5MyAxNS43NDY3IDExLjgzOTNaTTMyLjI0MiAxNy4yMDE2QzMwLjUzMDcgMTcuMjAxNiAyOS40NjY4IDE1LjU3NDggMjkuNDY2OCAxMy44NzY3QzI5LjQ2NjggMTIuMDYxNyAzMC4zOTE5IDEwLjMxNiAzMi4yNDIgMTAuMzE2QzM0LjE2MDEgMTAuMzE2IDM0LjkyNCAxMi4wNjE3IDM0LjkyNCAxMy44NzY3QzM0LjkyNCAxNS41OTc2IDM0LjExNDQgMTcuMjAxNiAzMi4yNDIgMTcuMjAxNloiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==";
15487
15487
  const vM = /* @__PURE__ */ I("div")({
@@ -15499,9 +15499,9 @@ const vM = /* @__PURE__ */ I("div")({
15499
15499
  } = Ee(n), [s, r] = Fe(!1), o = nt((y) => {
15500
15500
  r(y);
15501
15501
  }, [r]), l = Mt(() => a == null ? void 0 : a.answers.find((y) => y.youVoted === !0), [a]), m = Mt(() => !!(a != null && a.answers.find((y) => y.correct === !0)), [a]);
15502
- return a ? /* @__PURE__ */ f.jsx(vM, {
15503
- children: /* @__PURE__ */ f.jsxs("div", {
15504
- children: [/* @__PURE__ */ f.jsx(_M, {
15502
+ return a ? /* @__PURE__ */ T.jsx(vM, {
15503
+ children: /* @__PURE__ */ T.jsxs("div", {
15504
+ children: [/* @__PURE__ */ T.jsx(_M, {
15505
15505
  points: (l == null ? void 0 : l.points) || 0,
15506
15506
  questionAnswered: !!l,
15507
15507
  questionAnsweredCorrectly: l == null ? void 0 : l.correct,
@@ -15509,8 +15509,8 @@ const vM = /* @__PURE__ */ I("div")({
15509
15509
  closeQuestion: e,
15510
15510
  setTimeToExpire: o,
15511
15511
  questionType: a.type
15512
- }), /* @__PURE__ */ f.jsx("div", {
15513
- children: /* @__PURE__ */ f.jsx(Sg, {
15512
+ }), /* @__PURE__ */ T.jsx("div", {
15513
+ children: /* @__PURE__ */ T.jsx(Sg, {
15514
15514
  title: a.subject,
15515
15515
  feedbackMessages: (d = a.options) == null ? void 0 : d.options.value,
15516
15516
  questionType: a.type,
@@ -15548,12 +15548,12 @@ const LM = /* @__PURE__ */ I("div")({
15548
15548
  name: "HeaderIcon",
15549
15549
  class: "h1gjjnyi",
15550
15550
  propsAsIs: !1
15551
- }), ho = ({ icon: n, comeBack: e, close: t }) => /* @__PURE__ */ f.jsxs(LM, { children: [
15552
- /* @__PURE__ */ f.jsxs("div", { children: [
15553
- e && /* @__PURE__ */ f.jsx(Ur, { onClick: e, children: /* @__PURE__ */ f.jsx("img", { alt: "header-back-icon", src: OM }) }),
15554
- n && /* @__PURE__ */ f.jsx(RM, { alt: "header-icon", src: n })
15551
+ }), ho = ({ icon: n, comeBack: e, close: t }) => /* @__PURE__ */ T.jsxs(LM, { children: [
15552
+ /* @__PURE__ */ T.jsxs("div", { children: [
15553
+ e && /* @__PURE__ */ T.jsx(Ur, { onClick: e, children: /* @__PURE__ */ T.jsx("img", { alt: "header-back-icon", src: OM }) }),
15554
+ n && /* @__PURE__ */ T.jsx(RM, { alt: "header-icon", src: n })
15555
15555
  ] }),
15556
- /* @__PURE__ */ f.jsx("div", { children: t && /* @__PURE__ */ f.jsx(Ur, { onClick: t, children: /* @__PURE__ */ f.jsx("img", { alt: "header-close-icon", src: vt }) }) })
15556
+ /* @__PURE__ */ T.jsx("div", { children: t && /* @__PURE__ */ T.jsx(Ur, { onClick: t, children: /* @__PURE__ */ T.jsx("img", { alt: "header-close-icon", src: vt }) }) })
15557
15557
  ] });
15558
15558
  const xM = /* @__PURE__ */ I("div")({
15559
15559
  name: "Container",
@@ -15590,19 +15590,19 @@ const xM = /* @__PURE__ */ I("div")({
15590
15590
  }), GM = (n, e) => {
15591
15591
  switch (n) {
15592
15592
  case en.ROUNDED:
15593
- return /* @__PURE__ */ f.jsx(PM, { alt: "insight-icon", src: e });
15593
+ return /* @__PURE__ */ T.jsx(PM, { alt: "insight-icon", src: e });
15594
15594
  case en.TRANSPARENT:
15595
- return /* @__PURE__ */ f.jsx(BM, { alt: "insight-icon", src: e });
15595
+ return /* @__PURE__ */ T.jsx(BM, { alt: "insight-icon", src: e });
15596
15596
  case en.CENTERED:
15597
- return /* @__PURE__ */ f.jsx(UM, { alt: "insight-icon", src: e });
15597
+ return /* @__PURE__ */ T.jsx(UM, { alt: "insight-icon", src: e });
15598
15598
  default:
15599
15599
  return null;
15600
15600
  }
15601
- }, YM = ({ title: n, image: e, questionId: t, imageMode: a, openQuestion: s }) => /* @__PURE__ */ f.jsxs(xM, { onClick: () => s == null ? void 0 : s(t), children: [
15602
- /* @__PURE__ */ f.jsx(zM, { children: e && GM(a, e) }),
15603
- /* @__PURE__ */ f.jsxs(CM, { children: [
15604
- /* @__PURE__ */ f.jsx(QM, { children: n || "" }),
15605
- /* @__PURE__ */ f.jsx(FM, { alt: "next-icon", src: Ra })
15601
+ }, YM = ({ title: n, image: e, questionId: t, imageMode: a, openQuestion: s }) => /* @__PURE__ */ T.jsxs(xM, { onClick: () => s == null ? void 0 : s(t), children: [
15602
+ /* @__PURE__ */ T.jsx(zM, { children: e && GM(a, e) }),
15603
+ /* @__PURE__ */ T.jsxs(CM, { children: [
15604
+ /* @__PURE__ */ T.jsx(QM, { children: n || "" }),
15605
+ /* @__PURE__ */ T.jsx(FM, { alt: "next-icon", src: Ra })
15606
15606
  ] })
15607
15607
  ] });
15608
15608
  const VM = /* @__PURE__ */ I("div")({
@@ -15613,12 +15613,12 @@ const VM = /* @__PURE__ */ I("div")({
15613
15613
  name: "ItemsContainer",
15614
15614
  class: "irn7lif",
15615
15615
  propsAsIs: !1
15616
- }), qM = ({ insights: n, openQuestion: e, closeInsights: t }) => /* @__PURE__ */ f.jsxs(VM, { children: [
15617
- /* @__PURE__ */ f.jsx(ho, { close: t }),
15618
- /* @__PURE__ */ f.jsx($M, { children: n == null ? void 0 : n.map((a) => /* @__PURE__ */ f.jsx(YM, { openQuestion: e, ...a }, a.questionId)) })
15616
+ }), qM = ({ insights: n, openQuestion: e, closeInsights: t }) => /* @__PURE__ */ T.jsxs(VM, { children: [
15617
+ /* @__PURE__ */ T.jsx(ho, { close: t }),
15618
+ /* @__PURE__ */ T.jsx($M, { children: n == null ? void 0 : n.map((a) => /* @__PURE__ */ T.jsx(YM, { openQuestion: e, ...a }, a.questionId)) })
15619
15619
  ] }), WM = ({ store: n, openQuestion: e, closeInsights: t }) => {
15620
15620
  const { data: a } = Ee(n);
15621
- return a ? /* @__PURE__ */ f.jsx(qM, { insights: a, openQuestion: e, closeInsights: t }) : /* @__PURE__ */ f.jsx("div", { children: "wait insights..." });
15621
+ return a ? /* @__PURE__ */ T.jsx(qM, { insights: a, openQuestion: e, closeInsights: t }) : /* @__PURE__ */ T.jsx("div", { children: "wait insights..." });
15622
15622
  }, HM = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=";
15623
15623
  const ZM = /* @__PURE__ */ I("div")({
15624
15624
  name: "Container",
@@ -15656,27 +15656,27 @@ const ZM = /* @__PURE__ */ I("div")({
15656
15656
  webLink: s,
15657
15657
  closeQuestion: r,
15658
15658
  closeInsights: o
15659
- }) => /* @__PURE__ */ f.jsxs(ZM, { children: [
15660
- /* @__PURE__ */ f.jsx(ho, { close: o, comeBack: r }),
15661
- n && /* @__PURE__ */ f.jsx(KM, { alt: "detail-insight-image", src: n }),
15662
- /* @__PURE__ */ f.jsxs(JM, { children: [
15663
- e && /* @__PURE__ */ f.jsx(XM, { children: e }),
15664
- t && /* @__PURE__ */ f.jsx(eN, { children: t })
15659
+ }) => /* @__PURE__ */ T.jsxs(ZM, { children: [
15660
+ /* @__PURE__ */ T.jsx(ho, { close: o, comeBack: r }),
15661
+ n && /* @__PURE__ */ T.jsx(KM, { alt: "detail-insight-image", src: n }),
15662
+ /* @__PURE__ */ T.jsxs(JM, { children: [
15663
+ e && /* @__PURE__ */ T.jsx(XM, { children: e }),
15664
+ t && /* @__PURE__ */ T.jsx(eN, { children: t })
15665
15665
  ] }),
15666
- s && a && /* @__PURE__ */ f.jsxs(nN, { href: s, target: "_blank", children: [
15666
+ s && a && /* @__PURE__ */ T.jsxs(nN, { href: s, target: "_blank", children: [
15667
15667
  a,
15668
- /* @__PURE__ */ f.jsx(tN, { alt: "link-icon", src: HM })
15668
+ /* @__PURE__ */ T.jsx(tN, { alt: "link-icon", src: HM })
15669
15669
  ] })
15670
15670
  ] }), sN = ({ store: n, closeQuestion: e, closeInsights: t }) => {
15671
- var s, r, o, l, m, d, y, h, T, M, E, D;
15671
+ var s, r, o, l, m, d, y, h, f, M, E, D;
15672
15672
  const { data: a } = Ee(n);
15673
- return !a || ((r = (s = a.options) == null ? void 0 : s.options) == null ? void 0 : r.case) !== "factoid" ? null : /* @__PURE__ */ f.jsx(
15673
+ return !a || ((r = (s = a.options) == null ? void 0 : s.options) == null ? void 0 : r.case) !== "factoid" ? null : /* @__PURE__ */ T.jsx(
15674
15674
  aN,
15675
15675
  {
15676
15676
  image: (l = (o = a.options) == null ? void 0 : o.options) == null ? void 0 : l.value.image,
15677
15677
  title: a.subject,
15678
15678
  description: (d = (m = a.options) == null ? void 0 : m.options) == null ? void 0 : d.value.body,
15679
- webLink: (T = (h = (y = a.options) == null ? void 0 : y.options) == null ? void 0 : h.value.webLink) == null ? void 0 : T.url,
15679
+ webLink: (f = (h = (y = a.options) == null ? void 0 : y.options) == null ? void 0 : h.value.webLink) == null ? void 0 : f.url,
15680
15680
  webLinkLabel: (D = (E = (M = a.options) == null ? void 0 : M.options) == null ? void 0 : E.value.webLink) == null ? void 0 : D.label,
15681
15681
  closeQuestion: e,
15682
15682
  closeInsights: t
@@ -15703,22 +15703,22 @@ const In = /* @__PURE__ */ I("div")({
15703
15703
  gamification: n,
15704
15704
  sdk: e
15705
15705
  }) => {
15706
- var d, y, h, T, M, E, D, L, j, R, x, z, U, B, C, W, ee, ae, re, le, ie, H, ue;
15706
+ var d, y, h, f, M, E, D, L, j, R, x, z, U, B, C, W, ee, ae, re, le, ie, H, ue;
15707
15707
  const t = Ee(n.status), a = Ee(n.onbordingComplete), { slStreamId: s } = Ee(e.sdkStore), r = Ee(n.featureSettings);
15708
15708
  if (t !== mn.Ready)
15709
- return /* @__PURE__ */ f.jsx("div", { children: "wait..." });
15709
+ return /* @__PURE__ */ T.jsx("div", { children: "wait..." });
15710
15710
  if (s != null && s.loading)
15711
- return /* @__PURE__ */ f.jsx(In, { children: /* @__PURE__ */ f.jsx("div", { children: "Event is loading" }) });
15711
+ return /* @__PURE__ */ T.jsx(In, { children: /* @__PURE__ */ T.jsx("div", { children: "Event is loading" }) });
15712
15712
  if (!(s != null && s.data))
15713
- return /* @__PURE__ */ f.jsx(In, { children: /* @__PURE__ */ f.jsx("div", { children: "Event is forbidden" }) });
15713
+ return /* @__PURE__ */ T.jsx(In, { children: /* @__PURE__ */ T.jsx("div", { children: "Event is forbidden" }) });
15714
15714
  if (!a)
15715
- return /* @__PURE__ */ f.jsx(In, { children: /* @__PURE__ */ f.jsx(
15715
+ return /* @__PURE__ */ T.jsx(In, { children: /* @__PURE__ */ T.jsx(
15716
15716
  xm,
15717
15717
  {
15718
15718
  closeFeature: e.closeFeature,
15719
15719
  gamification: n,
15720
15720
  steps: (y = (d = r.inplayGame) == null ? void 0 : d.onboarding) == null ? void 0 : y.steps,
15721
- gameIcon: (M = (T = (h = r.inplayGame) == null ? void 0 : h.overview) == null ? void 0 : T.media) == null ? void 0 : M.gameIcon,
15721
+ gameIcon: (M = (f = (h = r.inplayGame) == null ? void 0 : h.overview) == null ? void 0 : f.media) == null ? void 0 : M.gameIcon,
15722
15722
  sponsorLogo: (L = (D = (E = r.inplayGame) == null ? void 0 : E.overview) == null ? void 0 : D.media) == null ? void 0 : L.sponsorLogo,
15723
15723
  rules: (R = (j = r.inplayGame) == null ? void 0 : j.rules) == null ? void 0 : R.rules,
15724
15724
  rulesBtnLabel: (z = (x = r.inplayGame) == null ? void 0 : x.rules) == null ? void 0 : z.buttonLabel,
@@ -15736,7 +15736,7 @@ const In = /* @__PURE__ */ I("div")({
15736
15736
  }, m = (ke, Ve) => {
15737
15737
  n.submitAnswer(ke, Ve);
15738
15738
  };
15739
- return n.insights ? n.openedQuestion ? /* @__PURE__ */ f.jsx(In, { children: /* @__PURE__ */ f.jsx(
15739
+ return n.insights ? n.openedQuestion ? /* @__PURE__ */ T.jsx(In, { children: /* @__PURE__ */ T.jsx(
15740
15740
  sN,
15741
15741
  {
15742
15742
  store: n.openedQuestion.getStore(),
@@ -15744,12 +15744,12 @@ const In = /* @__PURE__ */ I("div")({
15744
15744
  closeInsights: () => {
15745
15745
  }
15746
15746
  }
15747
- ) }) : /* @__PURE__ */ f.jsx(In, { children: /* @__PURE__ */ f.jsx(WM, { store: n.insights.getStore(), openQuestion: o, closeInsights: () => {
15748
- } }) }) : /* @__PURE__ */ f.jsxs(In, { children: [
15749
- /* @__PURE__ */ f.jsx(rN, { children: n.userSummary && /* @__PURE__ */ f.jsx(dM, { store: n.userSummary.getStore() }) }),
15750
- /* @__PURE__ */ f.jsxs(iN, { children: [
15751
- n.questions && /* @__PURE__ */ f.jsx(pM, { openQuestion: o, store: n.questions.getStore() }),
15752
- n.openedQuestion && /* @__PURE__ */ f.jsx(jM, { closeQuestion: l, vote: m, store: n.openedQuestion.getStore() })
15747
+ ) }) : /* @__PURE__ */ T.jsx(In, { children: /* @__PURE__ */ T.jsx(WM, { store: n.insights.getStore(), openQuestion: o, closeInsights: () => {
15748
+ } }) }) : /* @__PURE__ */ T.jsxs(In, { children: [
15749
+ /* @__PURE__ */ T.jsx(rN, { children: n.userSummary && /* @__PURE__ */ T.jsx(dM, { store: n.userSummary.getStore() }) }),
15750
+ /* @__PURE__ */ T.jsxs(iN, { children: [
15751
+ n.questions && /* @__PURE__ */ T.jsx(pM, { openQuestion: o, store: n.questions.getStore() }),
15752
+ n.openedQuestion && /* @__PURE__ */ T.jsx(jM, { closeQuestion: l, vote: m, store: n.openedQuestion.getStore() })
15753
15753
  ] })
15754
15754
  ] });
15755
15755
  }, cN = ({ sdk: n }) => {
@@ -15760,7 +15760,7 @@ const In = /* @__PURE__ */ I("div")({
15760
15760
  throw console.log("login err", a), a;
15761
15761
  }
15762
15762
  };
15763
- return /* @__PURE__ */ f.jsx(am, { login: e, anonymousLogin: n.anonymousAuthorization, host: n.host });
15763
+ return /* @__PURE__ */ T.jsx(am, { login: e, anonymousLogin: n.anonymousAuthorization, host: n.host });
15764
15764
  }, lN = ({ activeFeature: n, sdk: e }) => {
15765
15765
  const [t, a] = Fe(null), { organizationSettings: s, streamSettings: r } = Ee(e.sdkStore), o = Mt(() => {
15766
15766
  const l = (r == null ? void 0 : r.data) || (s == null ? void 0 : s.data);
@@ -15782,20 +15782,20 @@ const In = /* @__PURE__ */ I("div")({
15782
15782
  };
15783
15783
  }, [n, e]), n === _e.GAMES) {
15784
15784
  const l = t;
15785
- return l ? /* @__PURE__ */ f.jsxs("div", { children: [
15786
- /* @__PURE__ */ f.jsx(ma, { onClick: () => e.closeFeature(), children: "close" }),
15787
- /* @__PURE__ */ f.jsx(oN, { gamification: l, sdk: e })
15788
- ] }) : /* @__PURE__ */ f.jsx("div", { children: "wait gamification..." });
15789
- }
15790
- return /* @__PURE__ */ f.jsxs("div", { children: [
15791
- /* @__PURE__ */ f.jsx(ma, { onClick: () => e.logout(), children: "logout" }),
15792
- o.map((l) => /* @__PURE__ */ f.jsxs(
15785
+ return l ? /* @__PURE__ */ T.jsxs("div", { children: [
15786
+ /* @__PURE__ */ T.jsx(ma, { onClick: () => e.closeFeature(), children: "close" }),
15787
+ /* @__PURE__ */ T.jsx(oN, { gamification: l, sdk: e })
15788
+ ] }) : /* @__PURE__ */ T.jsx("div", { children: "wait gamification..." });
15789
+ }
15790
+ return /* @__PURE__ */ T.jsxs("div", { children: [
15791
+ /* @__PURE__ */ T.jsx(ma, { onClick: () => e.logout(), children: "logout" }),
15792
+ o.map((l) => /* @__PURE__ */ T.jsxs(
15793
15793
  ma,
15794
15794
  {
15795
15795
  onClick: () => e.openFeature(l.type),
15796
15796
  disabled: !(l.type in Gk),
15797
15797
  children: [
15798
- /* @__PURE__ */ f.jsx("img", { src: l.icon, alt: "" }),
15798
+ /* @__PURE__ */ T.jsx("img", { src: l.icon, alt: "" }),
15799
15799
  l.name
15800
15800
  ]
15801
15801
  },
@@ -15804,12 +15804,12 @@ const In = /* @__PURE__ */ I("div")({
15804
15804
  ] });
15805
15805
  }, uN = ({ sdk: n }) => {
15806
15806
  const e = Ee(n.organizationStore()), t = Ee(n.getUserStore()), a = Ee(n.getActiveFeature());
15807
- return e.loading ? /* @__PURE__ */ f.jsx("div", { children: "authentificating..." }) : e.data ? t.loading ? /* @__PURE__ */ f.jsx("div", { children: "authentificating..." }) : t.data ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
15808
- /* @__PURE__ */ f.jsx(mM, { notificationsStore: n.getNotificationsStore() }),
15809
- /* @__PURE__ */ f.jsx(lN, { sdk: n, activeFeature: a })
15810
- ] }) : /* @__PURE__ */ f.jsx(cN, { sdk: n }) : /* @__PURE__ */ f.jsx("div", { children: "wrong sdk key..." });
15807
+ return e.loading ? /* @__PURE__ */ T.jsx("div", { children: "authentificating..." }) : e.data ? t.loading ? /* @__PURE__ */ T.jsx("div", { children: "authentificating..." }) : t.data ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
15808
+ /* @__PURE__ */ T.jsx(mM, { notificationsStore: n.getNotificationsStore() }),
15809
+ /* @__PURE__ */ T.jsx(lN, { sdk: n, activeFeature: a })
15810
+ ] }) : /* @__PURE__ */ T.jsx(cN, { sdk: n }) : /* @__PURE__ */ T.jsx("div", { children: "wrong sdk key..." });
15811
15811
  };
15812
- const mN = "t12mji3x", dN = ({ children: n }) => /* @__PURE__ */ f.jsx("div", { className: mN, children: n });
15812
+ const mN = "t12mji3x", dN = ({ children: n }) => /* @__PURE__ */ T.jsx("div", { className: mN, children: n });
15813
15813
  class pN extends Ag {
15814
15814
  constructor(t, a) {
15815
15815
  super();
@@ -15890,7 +15890,7 @@ function ko(n, e, t) {
15890
15890
  resume: M,
15891
15891
  idle: E,
15892
15892
  length: h,
15893
- getQueue: T,
15893
+ getQueue: f,
15894
15894
  unshift: L,
15895
15895
  empty: je,
15896
15896
  kill: R,
@@ -15909,7 +15909,7 @@ function ko(n, e, t) {
15909
15909
  U = U.next, B++;
15910
15910
  return B;
15911
15911
  }
15912
- function T() {
15912
+ function f() {
15913
15913
  for (var U = s, B = []; U; )
15914
15914
  B.push(U.value), U = U.next;
15915
15915
  return B;
@@ -15960,44 +15960,44 @@ function kN() {
15960
15960
  function MN(n, e, t) {
15961
15961
  typeof n == "function" && (t = e, e = n, n = null);
15962
15962
  function a(y, h) {
15963
- e.call(this, y).then(function(T) {
15964
- h(null, T);
15963
+ e.call(this, y).then(function(f) {
15964
+ h(null, f);
15965
15965
  }, h);
15966
15966
  }
15967
15967
  var s = ko(n, a, t), r = s.push, o = s.unshift;
15968
15968
  return s.push = l, s.unshift = m, s.drained = d, s;
15969
15969
  function l(y) {
15970
- var h = new Promise(function(T, M) {
15970
+ var h = new Promise(function(f, M) {
15971
15971
  r(y, function(E, D) {
15972
15972
  if (E) {
15973
15973
  M(E);
15974
15974
  return;
15975
15975
  }
15976
- T(D);
15976
+ f(D);
15977
15977
  });
15978
15978
  });
15979
15979
  return h.catch(je), h;
15980
15980
  }
15981
15981
  function m(y) {
15982
- var h = new Promise(function(T, M) {
15982
+ var h = new Promise(function(f, M) {
15983
15983
  o(y, function(E, D) {
15984
15984
  if (E) {
15985
15985
  M(E);
15986
15986
  return;
15987
15987
  }
15988
- T(D);
15988
+ f(D);
15989
15989
  });
15990
15990
  });
15991
15991
  return h.catch(je), h;
15992
15992
  }
15993
15993
  function d() {
15994
15994
  if (s.idle())
15995
- return new Promise(function(T) {
15996
- T();
15995
+ return new Promise(function(f) {
15996
+ f();
15997
15997
  });
15998
- var y = s.drain, h = new Promise(function(T) {
15998
+ var y = s.drain, h = new Promise(function(f) {
15999
15999
  s.drain = function() {
16000
- y(), T();
16000
+ y(), f();
16001
16001
  };
16002
16002
  });
16003
16003
  return h;
@@ -16503,22 +16503,22 @@ var VN = function n(e) {
16503
16503
  var a = KN(e), s = a.length > 0 ? a[0] : "", r = JN("%" + s + "%", t), o = r.name, l = r.value, m = !1, d = r.alias;
16504
16504
  d && (s = d[0], qN(a, $N([0, 1], d)));
16505
16505
  for (var y = 1, h = !0; y < a.length; y += 1) {
16506
- var T = a[y], M = Et(T, 0, 1), E = Et(T, -1);
16506
+ var f = a[y], M = Et(f, 0, 1), E = Et(f, -1);
16507
16507
  if ((M === '"' || M === "'" || M === "`" || E === '"' || E === "'" || E === "`") && M !== E)
16508
16508
  throw new Cn("property names with quotes must have matching quotes");
16509
- if ((T === "constructor" || !h) && (m = !0), s += "." + T, o = "%" + s + "%", At(pn, o))
16509
+ if ((f === "constructor" || !h) && (m = !0), s += "." + f, o = "%" + s + "%", At(pn, o))
16510
16510
  l = pn[o];
16511
16511
  else if (l != null) {
16512
- if (!(T in l)) {
16512
+ if (!(f in l)) {
16513
16513
  if (!t)
16514
16514
  throw new Ln("base intrinsic for " + e + " exists, but the property is not available.");
16515
16515
  return;
16516
16516
  }
16517
16517
  if (dn && y + 1 >= a.length) {
16518
- var D = dn(l, T);
16519
- h = !!D, h && "get" in D && !("originalValue" in D.get) ? l = D.get : l = l[T];
16518
+ var D = dn(l, f);
16519
+ h = !!D, h && "get" in D && !("originalValue" in D.get) ? l = D.get : l = l[f];
16520
16520
  } else
16521
- h = At(l, T), l = l[T];
16521
+ h = At(l, f), l = l[f];
16522
16522
  h && !m && (pn[o] = l);
16523
16523
  }
16524
16524
  }
@@ -16600,13 +16600,13 @@ var tI = hs("%SyntaxError%"), An = hs("%TypeError%"), qr = fs, aI = function(e,
16600
16600
  } catch {
16601
16601
  m = null;
16602
16602
  }
16603
- n.exports = function(T) {
16604
- if (typeof T != "function")
16603
+ n.exports = function(f) {
16604
+ if (typeof f != "function")
16605
16605
  throw new s("a function is required");
16606
16606
  var M = l(e, o, arguments);
16607
16607
  return a(
16608
16608
  M,
16609
- 1 + d(0, T.length - (arguments.length - 1)),
16609
+ 1 + d(0, f.length - (arguments.length - 1)),
16610
16610
  !0
16611
16611
  );
16612
16612
  };
@@ -16801,7 +16801,7 @@ var BI = function(e) {
16801
16801
  }
16802
16802
  var o = typeof BigInt < "u", l = typeof Symbol < "u", m = r(Object.prototype.toString), d = r(Number.prototype.valueOf), y = r(String.prototype.valueOf), h = r(Boolean.prototype.valueOf);
16803
16803
  if (o)
16804
- var T = r(BigInt.prototype.valueOf);
16804
+ var f = r(BigInt.prototype.valueOf);
16805
16805
  if (l)
16806
16806
  var M = r(Symbol.prototype.valueOf);
16807
16807
  function E(v, it) {
@@ -16955,7 +16955,7 @@ var BI = function(e) {
16955
16955
  }
16956
16956
  n.isBooleanObject = we;
16957
16957
  function hn(v) {
16958
- return o && E(v, T);
16958
+ return o && E(v, f);
16959
16959
  }
16960
16960
  n.isBigIntObject = hn;
16961
16961
  function rt(v) {
@@ -17126,7 +17126,7 @@ var VI = Va.exports;
17126
17126
  return q;
17127
17127
  var K = Object.keys(_), G = d(K);
17128
17128
  if (N.showHidden && (K = Object.getOwnPropertyNames(_)), re(_) && (K.indexOf("message") >= 0 || K.indexOf("description") >= 0))
17129
- return T(_);
17129
+ return f(_);
17130
17130
  if (K.length === 0) {
17131
17131
  if (le(_)) {
17132
17132
  var V = _.name ? ": " + _.name : "";
@@ -17137,14 +17137,14 @@ var VI = Va.exports;
17137
17137
  if (ae(_))
17138
17138
  return N.stylize(Date.prototype.toString.call(_), "date");
17139
17139
  if (re(_))
17140
- return T(_);
17140
+ return f(_);
17141
17141
  }
17142
17142
  var J = "", he = !1, xe = ["{", "}"];
17143
17143
  if (L(_) && (he = !0, xe = ["[", "]"]), le(_)) {
17144
17144
  var Oe = _.name ? ": " + _.name : "";
17145
17145
  J = " [Function" + Oe + "]";
17146
17146
  }
17147
- if (W(_) && (J = " " + RegExp.prototype.toString.call(_)), ae(_) && (J = " " + Date.prototype.toUTCString.call(_)), re(_) && (J = " " + T(_)), K.length === 0 && (!he || _.length == 0))
17147
+ if (W(_) && (J = " " + RegExp.prototype.toString.call(_)), ae(_) && (J = " " + Date.prototype.toUTCString.call(_)), re(_) && (J = " " + f(_)), K.length === 0 && (!he || _.length == 0))
17148
17148
  return xe[0] + J + xe[1];
17149
17149
  if (O < 0)
17150
17150
  return W(_) ? N.stylize(RegExp.prototype.toString.call(_), "regexp") : N.stylize("[Object]", "special");
@@ -17168,7 +17168,7 @@ var VI = Va.exports;
17168
17168
  if (R(_))
17169
17169
  return N.stylize("null", "null");
17170
17170
  }
17171
- function T(N) {
17171
+ function f(N) {
17172
17172
  return "[" + Error.prototype.toString.call(N) + "]";
17173
17173
  }
17174
17174
  function M(N, _, O, Q, q) {
@@ -17452,8 +17452,8 @@ var qo = {
17452
17452
  ` + t + (r.length ? s("│") : " ") + " ";
17453
17453
  return t + o.join(l) + `
17454
17454
  ` + r.map(function(m, d) {
17455
- var y = d === r.length - 1, h = m.nodes && m.nodes.length, T = t + (y ? " " : s("│")) + " ";
17456
- return t + s(y ? "└" : "├") + s("─") + s(h ? "┬" : "─") + " " + n(m, T, a).slice(t.length + 2);
17455
+ var y = d === r.length - 1, h = m.nodes && m.nodes.length, f = t + (y ? " " : s("│")) + " ";
17456
+ return t + s(y ? "└" : "├") + s("─") + s(h ? "┬" : "─") + " " + n(m, f, a).slice(t.length + 2);
17457
17457
  }).join("");
17458
17458
  };
17459
17459
  const WI = qI, Xr = Symbol("avvio.TimeTree.untrackNode"), Na = Symbol("avvio.TimeTree.trackNode"), ei = Symbol("avvio.TimeTree.getParent"), ni = Symbol("avvio.TimeTree.getNode"), ti = Symbol("avvio.TimeTree.addNode");
@@ -17522,10 +17522,10 @@ function KI() {
17522
17522
  var n = 1e3, e = n * 60, t = e * 60, a = t * 24, s = a * 7, r = a * 365.25;
17523
17523
  Ia = function(y, h) {
17524
17524
  h = h || {};
17525
- var T = typeof y;
17526
- if (T === "string" && y.length > 0)
17525
+ var f = typeof y;
17526
+ if (f === "string" && y.length > 0)
17527
17527
  return o(y);
17528
- if (T === "number" && isFinite(y))
17528
+ if (f === "number" && isFinite(y))
17529
17529
  return h.long ? m(y) : l(y);
17530
17530
  throw new Error(
17531
17531
  "val is not a non-empty string or a valid number. val=" + JSON.stringify(y)
@@ -17537,46 +17537,46 @@ function KI() {
17537
17537
  y
17538
17538
  );
17539
17539
  if (h) {
17540
- var T = parseFloat(h[1]), M = (h[2] || "ms").toLowerCase();
17540
+ var f = parseFloat(h[1]), M = (h[2] || "ms").toLowerCase();
17541
17541
  switch (M) {
17542
17542
  case "years":
17543
17543
  case "year":
17544
17544
  case "yrs":
17545
17545
  case "yr":
17546
17546
  case "y":
17547
- return T * r;
17547
+ return f * r;
17548
17548
  case "weeks":
17549
17549
  case "week":
17550
17550
  case "w":
17551
- return T * s;
17551
+ return f * s;
17552
17552
  case "days":
17553
17553
  case "day":
17554
17554
  case "d":
17555
- return T * a;
17555
+ return f * a;
17556
17556
  case "hours":
17557
17557
  case "hour":
17558
17558
  case "hrs":
17559
17559
  case "hr":
17560
17560
  case "h":
17561
- return T * t;
17561
+ return f * t;
17562
17562
  case "minutes":
17563
17563
  case "minute":
17564
17564
  case "mins":
17565
17565
  case "min":
17566
17566
  case "m":
17567
- return T * e;
17567
+ return f * e;
17568
17568
  case "seconds":
17569
17569
  case "second":
17570
17570
  case "secs":
17571
17571
  case "sec":
17572
17572
  case "s":
17573
- return T * n;
17573
+ return f * n;
17574
17574
  case "milliseconds":
17575
17575
  case "millisecond":
17576
17576
  case "msecs":
17577
17577
  case "msec":
17578
17578
  case "ms":
17579
- return T;
17579
+ return f;
17580
17580
  default:
17581
17581
  return;
17582
17582
  }
@@ -17591,9 +17591,9 @@ function KI() {
17591
17591
  var h = Math.abs(y);
17592
17592
  return h >= a ? d(y, h, a, "day") : h >= t ? d(y, h, t, "hour") : h >= e ? d(y, h, e, "minute") : h >= n ? d(y, h, n, "second") : y + " ms";
17593
17593
  }
17594
- function d(y, h, T, M) {
17595
- var E = h >= T * 1.5;
17596
- return Math.round(y / T) + " " + M + (E ? "s" : "");
17594
+ function d(y, h, f, M) {
17595
+ var E = h >= f * 1.5;
17596
+ return Math.round(y / f) + " " + M + (E ? "s" : "");
17597
17597
  }
17598
17598
  return Ia;
17599
17599
  }
@@ -17603,13 +17603,13 @@ function JI(n) {
17603
17603
  }), t.names = [], t.skips = [], t.formatters = {};
17604
17604
  function e(y) {
17605
17605
  let h = 0;
17606
- for (let T = 0; T < y.length; T++)
17607
- h = (h << 5) - h + y.charCodeAt(T), h |= 0;
17606
+ for (let f = 0; f < y.length; f++)
17607
+ h = (h << 5) - h + y.charCodeAt(f), h |= 0;
17608
17608
  return t.colors[Math.abs(h) % t.colors.length];
17609
17609
  }
17610
17610
  t.selectColor = e;
17611
17611
  function t(y) {
17612
- let h, T = null, M, E;
17612
+ let h, f = null, M, E;
17613
17613
  function D(...L) {
17614
17614
  if (!D.enabled)
17615
17615
  return;
@@ -17631,22 +17631,22 @@ function JI(n) {
17631
17631
  return D.namespace = y, D.useColors = t.useColors(), D.color = t.selectColor(y), D.extend = a, D.destroy = t.destroy, Object.defineProperty(D, "enabled", {
17632
17632
  enumerable: !0,
17633
17633
  configurable: !1,
17634
- get: () => T !== null ? T : (M !== t.namespaces && (M = t.namespaces, E = t.enabled(y)), E),
17634
+ get: () => f !== null ? f : (M !== t.namespaces && (M = t.namespaces, E = t.enabled(y)), E),
17635
17635
  set: (L) => {
17636
- T = L;
17636
+ f = L;
17637
17637
  }
17638
17638
  }), typeof t.init == "function" && t.init(D), D;
17639
17639
  }
17640
17640
  function a(y, h) {
17641
- const T = t(this.namespace + (typeof h > "u" ? ":" : h) + y);
17642
- return T.log = this.log, T;
17641
+ const f = t(this.namespace + (typeof h > "u" ? ":" : h) + y);
17642
+ return f.log = this.log, f;
17643
17643
  }
17644
17644
  function s(y) {
17645
17645
  t.save(y), t.namespaces = y, t.names = [], t.skips = [];
17646
17646
  let h;
17647
- const T = (typeof y == "string" ? y : "").split(/[\s,]+/), M = T.length;
17647
+ const f = (typeof y == "string" ? y : "").split(/[\s,]+/), M = f.length;
17648
17648
  for (h = 0; h < M; h++)
17649
- T[h] && (y = T[h].replace(/\*/g, ".*?"), y[0] === "-" ? t.skips.push(new RegExp("^" + y.slice(1) + "$")) : t.names.push(new RegExp("^" + y + "$")));
17649
+ f[h] && (y = f[h].replace(/\*/g, ".*?"), y[0] === "-" ? t.skips.push(new RegExp("^" + y.slice(1) + "$")) : t.names.push(new RegExp("^" + y + "$")));
17650
17650
  }
17651
17651
  function r() {
17652
17652
  const y = [
@@ -17658,11 +17658,11 @@ function JI(n) {
17658
17658
  function o(y) {
17659
17659
  if (y[y.length - 1] === "*")
17660
17660
  return !0;
17661
- let h, T;
17662
- for (h = 0, T = t.skips.length; h < T; h++)
17661
+ let h, f;
17662
+ for (h = 0, f = t.skips.length; h < f; h++)
17663
17663
  if (t.skips[h].test(y))
17664
17664
  return !1;
17665
- for (h = 0, T = t.names.length; h < T; h++)
17665
+ for (h = 0, f = t.names.length; h < f; h++)
17666
17666
  if (t.names[h].test(y))
17667
17667
  return !0;
17668
17668
  return !1;
@@ -17776,8 +17776,8 @@ var XI = JI;
17776
17776
  const d = "color: " + this.color;
17777
17777
  m.splice(1, 0, d, "color: inherit");
17778
17778
  let y = 0, h = 0;
17779
- m[0].replace(/%[a-zA-Z%]/g, (T) => {
17780
- T !== "%%" && (y++, T === "%c" && (h = y));
17779
+ m[0].replace(/%[a-zA-Z%]/g, (f) => {
17780
+ f !== "%%" && (y++, f === "%c" && (h = y));
17781
17781
  }), m.splice(h, 0, d);
17782
17782
  }
17783
17783
  e.log = console.debug || console.log || (() => {
@@ -18183,7 +18183,9 @@ const AS = (n, e, t) => {
18183
18183
  return gn(() => {
18184
18184
  let r = !1;
18185
18185
  if (!n)
18186
- throw new Error("sdk key should be provided");
18186
+ return console.error("streamlayer sdk key should be provided"), s(null), () => {
18187
+ r = !0;
18188
+ };
18187
18189
  const o = SS(n, t);
18188
18190
  if (e)
18189
18191
  for (const l of e)
@@ -18200,8 +18202,8 @@ const AS = (n, e, t) => {
18200
18202
  };
18201
18203
  var Wa = /* @__PURE__ */ ((n) => (n[n.UNSET = 0] = "UNSET", n[n.CONNECTED = 1] = "CONNECTED", n[n.READY = 2] = "READY", n))(Wa || {});
18202
18204
  const Ss = tc({
18203
- status: 0
18204
- /* UNSET */
18205
+ status: 0,
18206
+ sdk: null
18205
18207
  }), RS = ({
18206
18208
  sdkKey: n,
18207
18209
  plugins: e,
@@ -18212,11 +18214,8 @@ const Ss = tc({
18212
18214
  sdk: s,
18213
18215
  status: 2
18214
18216
  /* READY */
18215
- } : {
18216
- status: 1
18217
- /* CONNECTED */
18218
- }, [s]);
18219
- return /* @__PURE__ */ f.jsx(dN, { children: /* @__PURE__ */ f.jsx(Ss.Provider, { value: r, children: t }) });
18217
+ } : { status: 1, sdk: null }, [s]);
18218
+ return /* @__PURE__ */ T.jsx(dN, { children: /* @__PURE__ */ T.jsx(Ss.Provider, { value: r, children: t }) });
18220
18219
  }, xS = () => {
18221
18220
  const { sdk: n } = ii(Ss);
18222
18221
  return n;
@@ -18224,7 +18223,7 @@ const Ss = tc({
18224
18223
  const { sdk: n, status: e } = ii(Ss);
18225
18224
  if (e === Wa.UNSET)
18226
18225
  throw new Error("Wrap app in `StreamLayerProvider`");
18227
- return e === Wa.CONNECTED ? /* @__PURE__ */ f.jsx("div", { children: "wait" }) : n === void 0 ? /* @__PURE__ */ f.jsx("div", { children: "sdk not initialized" }) : /* @__PURE__ */ f.jsx(uN, { sdk: n });
18226
+ return e === Wa.CONNECTED ? /* @__PURE__ */ T.jsx("div", { className: "StreamLayerSDK", children: "wait" }) : n === null ? /* @__PURE__ */ T.jsx("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ T.jsx("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ T.jsx(uN, { sdk: n }) });
18228
18227
  };
18229
18228
  export {
18230
18229
  RS as StreamLayerProvider,