@streamlayer/react 1.24.7 → 1.24.8-pre.84ab1b9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/lib/app/advertisement.d.ts +4 -0
  2. package/lib/app/pause-ad.d.ts +17 -0
  3. package/lib/cjs/advertisement.js +1491 -1441
  4. package/lib/cjs/auth.js +80 -80
  5. package/lib/cjs/bet-pack.js +279 -242
  6. package/lib/cjs/index.js +1828 -1770
  7. package/lib/cjs/insight.js +682 -620
  8. package/lib/cjs/masters.js +1401 -1362
  9. package/lib/cjs/notification.js +292 -261
  10. package/lib/cjs/pause-ad.js +592 -362
  11. package/lib/cjs/points.js +179 -148
  12. package/lib/cjs/polymarket.js +153 -152
  13. package/lib/cjs/style.css +1 -1
  14. package/lib/cjs/useStreamLayerApp.js +142 -148
  15. package/lib/dist/cjs/index.js +1401 -1362
  16. package/lib/dist/es/index.js +1401 -1362
  17. package/lib/es/Question.js +75 -72
  18. package/lib/es/advertisement.js +9236 -8213
  19. package/lib/es/analytics.js +35 -31
  20. package/lib/es/auth.js +1 -1
  21. package/lib/es/bet-pack.js +1 -1
  22. package/lib/es/{hooks-n9ax4LRT.js → hooks-DHRXtbBc.js} +35 -33
  23. package/lib/es/{index-D8wyDNJD.js → index-BW1YFKTb.js} +35 -35
  24. package/lib/es/index.js +2 -2
  25. package/lib/es/index10.js +6 -6
  26. package/lib/es/index12.js +116 -128
  27. package/lib/es/index13.js +100 -96
  28. package/lib/es/index14.js +15 -15
  29. package/lib/es/index16.js +382 -383
  30. package/lib/es/index2.js +55 -56
  31. package/lib/es/index4.js +3 -3
  32. package/lib/es/index5.js +275 -3
  33. package/lib/es/index6.js +4 -7
  34. package/lib/es/index7.js +5 -284
  35. package/lib/es/index8.js +8 -237
  36. package/lib/es/index9.js +237 -8
  37. package/lib/es/insight.js +3 -3
  38. package/lib/es/masters.js +1 -1
  39. package/lib/es/masters2.js +29 -29
  40. package/lib/es/notification.js +28 -28
  41. package/lib/es/pause-ad.js +362 -153
  42. package/lib/es/points.js +9 -9
  43. package/lib/es/polymarket.js +40 -40
  44. package/lib/es/storage.js +18 -18
  45. package/lib/es/style.css +1 -1
  46. package/lib/es/useStreamLayerApp.js +1 -1
  47. package/lib/es/useStreamLayerApp2.js +5169 -4933
  48. package/lib/es/utils.js +86 -41
  49. package/lib/source.css +1 -1
  50. package/package.json +14 -14
@@ -1,9 +1,9 @@
1
1
  import { jsxs as K, jsx as E } from "react/jsx-runtime";
2
- import { h as fs } from "./index6.js";
2
+ import { h as fs } from "./index7.js";
3
3
  import { s as k, u as js, c as Vs } from "./feature.js";
4
- import { q as ds, Y as ms, _ as ps } from "./hooks-n9ax4LRT.js";
4
+ import { z as ds, w as ms, q as ps } from "./hooks-DHRXtbBc.js";
5
5
  import { useRef as Ds, useEffect as Ks } from "react";
6
- import "./index5.js";
6
+ import "./index6.js";
7
7
  function _(h) {
8
8
  var t = h.width, i = h.height;
9
9
  if (t < 0)
@@ -64,7 +64,7 @@ var Os = (
64
64
  function As(h) {
65
65
  return new Os(h);
66
66
  }
67
- var Ys = (
67
+ var Js = (
68
68
  /** @class */
69
69
  (function() {
70
70
  function h(t, i, s) {
@@ -196,8 +196,8 @@ var Ys = (
196
196
  }, h;
197
197
  })()
198
198
  );
199
- function Js(h, t) {
200
- return new Ys(h, t.transform, t.options);
199
+ function Ys(h, t) {
200
+ return new Js(h, t.transform, t.options);
201
201
  }
202
202
  function vi(h) {
203
203
  return h.ownerDocument.defaultView;
@@ -266,7 +266,7 @@ var Xs = (
266
266
  }), h;
267
267
  })()
268
268
  );
269
- function Y(h, t) {
269
+ function J(h, t) {
270
270
  var i = h.canvasElementClientSize;
271
271
  if (i.width === 0 || i.height === 0)
272
272
  return null;
@@ -278,7 +278,7 @@ function Y(h, t) {
278
278
  }
279
279
  const gs = { title: "", visible: !0, lastValueVisible: !0, priceLineVisible: !0, priceLineSource: 0, priceLineWidth: 1, priceLineColor: "", priceLineStyle: 2, baseLineVisible: !0, baseLineWidth: 1, baseLineColor: "#B2B5BE", baseLineStyle: 0, priceFormat: { type: "price", precision: 2, minMove: 0.01 } };
280
280
  var wi, ii;
281
- function J(h, t) {
281
+ function Y(h, t) {
282
282
  const i = { 0: [], 1: [h.lineWidth, h.lineWidth], 2: [2 * h.lineWidth, 2 * h.lineWidth], 3: [6 * h.lineWidth, 6 * h.lineWidth], 4: [h.lineWidth, 4 * h.lineWidth] }[t];
283
283
  h.setLineDash(i);
284
284
  }
@@ -509,11 +509,11 @@ class se extends st {
509
509
  const n = this.jt.Yt.It, r = this.jt.Kt.It;
510
510
  if (!n && !r) return;
511
511
  const o = Math.round(this.jt._t * s), l = Math.round(this.jt.ut * e);
512
- t.lineCap = "butt", n && o >= 0 && (t.lineWidth = Math.floor(this.jt.Yt.ct * s), t.strokeStyle = this.jt.Yt.R, t.fillStyle = this.jt.Yt.R, J(t, this.jt.Yt.Zt), (function(a, u, c, f) {
512
+ t.lineCap = "butt", n && o >= 0 && (t.lineWidth = Math.floor(this.jt.Yt.ct * s), t.strokeStyle = this.jt.Yt.R, t.fillStyle = this.jt.Yt.R, Y(t, this.jt.Yt.Zt), (function(a, u, c, f) {
513
513
  a.beginPath();
514
514
  const d = a.lineWidth % 2 ? 0.5 : 0;
515
515
  a.moveTo(u + d, c), a.lineTo(u + d, f), a.stroke();
516
- })(t, o, 0, i.height)), r && l >= 0 && (t.lineWidth = Math.floor(this.jt.Kt.ct * e), t.strokeStyle = this.jt.Kt.R, t.fillStyle = this.jt.Kt.R, J(t, this.jt.Kt.Zt), vs(t, l, 0, i.width));
516
+ })(t, o, 0, i.height)), r && l >= 0 && (t.lineWidth = Math.floor(this.jt.Kt.ct * e), t.strokeStyle = this.jt.Kt.R, t.fillStyle = this.jt.Kt.R, Y(t, this.jt.Kt.Zt), vs(t, l, 0, i.width));
517
517
  }
518
518
  }
519
519
  let ee = class {
@@ -1063,7 +1063,7 @@ class ce extends st {
1063
1063
  et({ context: t, bitmapSize: i, horizontalPixelRatio: s, verticalPixelRatio: e }) {
1064
1064
  if (this.jt === null || this.jt.It === !1) return;
1065
1065
  const n = Math.round(this.jt.ut * e);
1066
- n < 0 || n > i.height || (t.lineCap = "butt", t.strokeStyle = this.jt.R, t.lineWidth = Math.floor(this.jt.ct * s), J(t, this.jt.Zt), vs(t, n, 0, i.width));
1066
+ n < 0 || n > i.height || (t.lineCap = "butt", t.strokeStyle = this.jt.R, t.lineWidth = Math.floor(this.jt.ct * s), Y(t, this.jt.Zt), vs(t, n, 0, i.width));
1067
1067
  }
1068
1068
  }
1069
1069
  class ai {
@@ -1642,7 +1642,7 @@ function mt(h, t) {
1642
1642
  function Vt() {
1643
1643
  return new Ee();
1644
1644
  }
1645
- const Pt = { setLineStyle: J };
1645
+ const Pt = { setLineStyle: Y };
1646
1646
  class Ne {
1647
1647
  constructor(t) {
1648
1648
  this.Hh = t;
@@ -2164,7 +2164,7 @@ class Ke extends st {
2164
2164
  })(t, (() => {
2165
2165
  const r = p(this.jt);
2166
2166
  if (r.xl) {
2167
- t.strokeStyle = r.Cl, J(t, r.yl), t.beginPath();
2167
+ t.strokeStyle = r.Cl, Y(t, r.yl), t.beginPath();
2168
2168
  for (const o of r.kl) {
2169
2169
  const l = Math.round(o.Pl * s);
2170
2170
  t.moveTo(l, -n), t.lineTo(l, i.height + n);
@@ -2172,7 +2172,7 @@ class Ke extends st {
2172
2172
  t.stroke();
2173
2173
  }
2174
2174
  if (r.Tl) {
2175
- t.strokeStyle = r.Rl, J(t, r.Dl), t.beginPath();
2175
+ t.strokeStyle = r.Rl, Y(t, r.Dl), t.beginPath();
2176
2176
  for (const o of r.Il) {
2177
2177
  const l = Math.round(o.Pl * e);
2178
2178
  t.moveTo(-n, l), t.lineTo(i.width + n, l);
@@ -2210,7 +2210,7 @@ function H(h, t) {
2210
2210
  const i = 100 * (h - t) / t;
2211
2211
  return t < 0 ? -i : i;
2212
2212
  }
2213
- function Ye(h, t) {
2213
+ function Je(h, t) {
2214
2214
  const i = H(h.Ze(), t), s = H(h.Ge(), t);
2215
2215
  return new N(i, s);
2216
2216
  }
@@ -2218,7 +2218,7 @@ function ot(h, t) {
2218
2218
  const i = 100 * (h - t) / t + 100;
2219
2219
  return t < 0 ? -i : i;
2220
2220
  }
2221
- function Je(h, t) {
2221
+ function Ye(h, t) {
2222
2222
  const i = ot(h.Ze(), t), s = ot(h.Ge(), t);
2223
2223
  return new N(i, s);
2224
2224
  }
@@ -2251,7 +2251,7 @@ function At(h) {
2251
2251
  const i = Math.ceil(Math.abs(Math.log10(t))), s = Ot.Bl + i;
2252
2252
  return { Bl: s, El: 1 / Math.pow(10, s) };
2253
2253
  }
2254
- class Yt {
2254
+ class Jt {
2255
2255
  constructor(t, i) {
2256
2256
  if (this.Al = t, this.Ll = i, (function(s) {
2257
2257
  if (s < 0) return !1;
@@ -2290,7 +2290,7 @@ class ki {
2290
2290
  }
2291
2291
  Ol(t, i) {
2292
2292
  if (t < i) throw new Error("high < low");
2293
- const s = this.Ki.$t(), e = (t - i) * this.Hl() / s, n = new Yt(this.Al, [2, 2.5, 2]), r = new Yt(this.Al, [2, 2, 2.5]), o = new Yt(this.Al, [2.5, 2, 2]), l = [];
2293
+ const s = this.Ki.$t(), e = (t - i) * this.Hl() / s, n = new Jt(this.Al, [2, 2.5, 2]), r = new Jt(this.Al, [2, 2, 2.5]), o = new Jt(this.Al, [2.5, 2, 2]), l = [];
2294
2294
  return l.push(n.Ol(t, i, e), r.Ol(t, i, e), o.Ol(t, i, e)), (function(a) {
2295
2295
  if (a.length < 1) throw Error("array is empty");
2296
2296
  let u = a[0];
@@ -2656,10 +2656,10 @@ class $e {
2656
2656
  c = nt(c, this.So);
2657
2657
  break;
2658
2658
  case 2:
2659
- c = Ye(c, a.Wt);
2659
+ c = Je(c, a.Wt);
2660
2660
  break;
2661
2661
  case 3:
2662
- c = Je(c, a.Wt);
2662
+ c = Ye(c, a.Wt);
2663
2663
  }
2664
2664
  if (i = i === null ? c : i.Sn(p(c)), u !== null) {
2665
2665
  const f = u.rr();
@@ -3776,10 +3776,10 @@ class eh {
3776
3776
  function vt(h) {
3777
3777
  return 60 * h * 60 * 1e3;
3778
3778
  }
3779
- function Jt(h) {
3779
+ function Yt(h) {
3780
3780
  return 60 * h * 1e3;
3781
3781
  }
3782
- const wt = [{ _f: (Ki = 1, 1e3 * Ki), uf: 10 }, { _f: Jt(1), uf: 20 }, { _f: Jt(5), uf: 21 }, { _f: Jt(30), uf: 22 }, { _f: vt(1), uf: 30 }, { _f: vt(3), uf: 31 }, { _f: vt(6), uf: 32 }, { _f: vt(12), uf: 33 }];
3782
+ const wt = [{ _f: (Ki = 1, 1e3 * Ki), uf: 10 }, { _f: Yt(1), uf: 20 }, { _f: Yt(5), uf: 21 }, { _f: Yt(30), uf: 22 }, { _f: vt(1), uf: 30 }, { _f: vt(3), uf: 31 }, { _f: vt(6), uf: 32 }, { _f: vt(12), uf: 33 }];
3783
3783
  var Ki;
3784
3784
  function Oi(h, t) {
3785
3785
  if (h.getUTCFullYear() !== t.getUTCFullYear()) return 70;
@@ -3803,10 +3803,10 @@ function ui(h) {
3803
3803
  if (isNaN(t.getTime())) throw new Error(`Invalid date string=${h}, expected format=yyyy-mm-dd`);
3804
3804
  return { day: t.getUTCDate(), month: t.getUTCMonth() + 1, year: t.getUTCFullYear() };
3805
3805
  }
3806
- function Yi(h) {
3806
+ function Ji(h) {
3807
3807
  ct(h.time) && (h.time = ui(h.time));
3808
3808
  }
3809
- class Ji {
3809
+ class Yi {
3810
3810
  options() {
3811
3811
  return this.Ps;
3812
3812
  }
@@ -3815,8 +3815,8 @@ class Ji {
3815
3815
  }
3816
3816
  preprocessData(t) {
3817
3817
  Array.isArray(t) ? (function(i) {
3818
- i.forEach(Yi);
3819
- })(t) : Yi(t);
3818
+ i.forEach(Ji);
3819
+ })(t) : Ji(t);
3820
3820
  }
3821
3821
  createConverterToInternalObj(t) {
3822
3822
  return p((function(i) {
@@ -4270,7 +4270,7 @@ class oh {
4270
4270
  function $(h, t) {
4271
4271
  const i = p(h.ownerDocument).createElement("canvas");
4272
4272
  h.appendChild(i);
4273
- const s = Js(i, { options: { allowResizeObserver: !0 }, transform: (e, n) => ({ width: Math.max(e.width, n.width), height: Math.max(e.height, n.height) }) });
4273
+ const s = Ys(i, { options: { allowResizeObserver: !0 }, transform: (e, n) => ({ width: Math.max(e.width, n.width), height: Math.max(e.height, n.height) }) });
4274
4274
  return s.resizeCanvasElement(t), s;
4275
4275
  }
4276
4276
  function U(h) {
@@ -4384,13 +4384,13 @@ class Gi {
4384
4384
  const i = { colorSpace: this.yt.Gv().N().layout.colorSpace };
4385
4385
  if (t !== 1) {
4386
4386
  this.vm(), this.sm.applySuggestedBitmapSize();
4387
- const e = Y(this.sm, i);
4387
+ const e = J(this.sm, i);
4388
4388
  e !== null && (e.useBitmapCoordinateSpace(((n) => {
4389
4389
  this.wm(n), this.gm(n);
4390
4390
  })), this.yt.Mm(e, this.im), this.bm(e), this.yt.Mm(e, this.Qv), this.Sm(e));
4391
4391
  }
4392
4392
  this.nm.applySuggestedBitmapSize();
4393
- const s = Y(this.nm, i);
4393
+ const s = J(this.nm, i);
4394
4394
  s !== null && (s.useBitmapCoordinateSpace((({ context: e, bitmapSize: n }) => {
4395
4395
  e.clearRect(0, 0, n.width, n.height);
4396
4396
  })), this.xm(s), this.yt.Mm(s, this.tm));
@@ -4703,13 +4703,13 @@ class ci {
4703
4703
  const i = { colorSpace: this.Lv.N().layout.colorSpace };
4704
4704
  if (t !== 1) {
4705
4705
  this.sm.applySuggestedBitmapSize();
4706
- const e = Y(this.sm, i);
4706
+ const e = J(this.sm, i);
4707
4707
  e !== null && (e.useBitmapCoordinateSpace(((n) => {
4708
4708
  this.wm(n);
4709
4709
  })), this.Nm && (this.lw(e, lh), this.ow(e), this.lw(e, Hi), this.lw(e, Qi)));
4710
4710
  }
4711
4711
  this.nm.applySuggestedBitmapSize();
4712
- const s = Y(this.nm, i);
4712
+ const s = J(this.nm, i);
4713
4713
  s !== null && (s.useBitmapCoordinateSpace((({ context: e, bitmapSize: n }) => {
4714
4714
  e.clearRect(0, 0, n.width, n.height);
4715
4715
  })), this._w(s), this.lw(s, ah), this.lw(s, Qi));
@@ -4839,7 +4839,7 @@ class qi {
4839
4839
  pm(t) {
4840
4840
  if (t < 3 && !this.xt || this.Uv.width === 0 || this.Uv.height === 0) return;
4841
4841
  this.xt = !1, this.sm.applySuggestedBitmapSize();
4842
- const i = Y(this.sm, { colorSpace: this.Ps.layout.colorSpace });
4842
+ const i = J(this.sm, { colorSpace: this.Ps.layout.colorSpace });
4843
4843
  i !== null && i.useBitmapCoordinateSpace(((s) => {
4844
4844
  this.wm(s), this.gm(s);
4845
4845
  }));
@@ -4960,13 +4960,13 @@ class dh {
4960
4960
  const i = { colorSpace: this.Ps.colorSpace };
4961
4961
  if (t !== 1) {
4962
4962
  this.sm.applySuggestedBitmapSize();
4963
- const e = Y(this.sm, i);
4963
+ const e = J(this.sm, i);
4964
4964
  e !== null && (e.useBitmapCoordinateSpace(((n) => {
4965
4965
  this.wm(n), this.gm(n), this.Aw(e, fh);
4966
4966
  })), this.bm(e), this.Aw(e, uh)), this.Mw !== null && this.Mw.pm(t), this.bw !== null && this.bw.pm(t);
4967
4967
  }
4968
4968
  this.nm.applySuggestedBitmapSize();
4969
- const s = Y(this.nm, i);
4969
+ const s = J(this.nm, i);
4970
4970
  s !== null && (s.useBitmapCoordinateSpace((({ context: e, bitmapSize: n }) => {
4971
4971
  e.clearRect(0, 0, n.width, n.height);
4972
4972
  })), this.Lw([...this.Lv.Qt().tn(), this.Lv.Qt().gd()], s), this.Aw(s, ch));
@@ -5876,7 +5876,7 @@ class Ah {
5876
5876
  this.kM.v() && this.kM.p(t);
5877
5877
  }
5878
5878
  }
5879
- class Yh {
5879
+ class Jh {
5880
5880
  constructor(t, i, s) {
5881
5881
  this.EM = new S(), this.Nu = new S(), this.xw = new S(), this.ns = t, this.Jh = t.Et(), this.tg = i, this.Jh.Lc().i(this.AM.bind(this)), this.Jh.zc().i(this.LM.bind(this)), this.tg.Dw().i(this.zM.bind(this)), this.cu = s;
5882
5882
  }
@@ -5985,7 +5985,7 @@ function ls(h) {
5985
5985
  dt(i) && (t.handleScroll = { horzTouchDrag: i, vertTouchDrag: i, mouseWheel: i, pressedMouseMove: i });
5986
5986
  })(h), h;
5987
5987
  }
5988
- class Jh {
5988
+ class Yh {
5989
5989
  constructor(t, i, s) {
5990
5990
  this.OM = /* @__PURE__ */ new Map(), this.NM = /* @__PURE__ */ new Map(), this.FM = new S(), this.WM = new S(), this.HM = new S(), this.Xc = /* @__PURE__ */ new WeakMap(), this.UM = new Sh(i);
5991
5991
  const e = s === void 0 ? W(rs()) : R(W(rs()), ls(s));
@@ -5997,7 +5997,7 @@ class Jh {
5997
5997
  this.HM.v() && this.HM.p(this.qM(r()));
5998
5998
  }), this);
5999
5999
  const n = this.Yp.Qt();
6000
- this.jM = new Yh(n, this.Yp.rg(), this.$M);
6000
+ this.jM = new Jh(n, this.Yp.rg(), this.$M);
6001
6001
  }
6002
6002
  remove() {
6003
6003
  this.Yp.nw().u(this), this.Yp.ew().u(this), this.Yp.Md().u(this), this.jM.m(), this.Yp.m(), this.OM.clear(), this.NM.clear(), this.FM.m(), this.WM.m(), this.HM.m(), this.UM.m();
@@ -6147,11 +6147,11 @@ function $h(h) {
6147
6147
  return h;
6148
6148
  }
6149
6149
  function Uh(h, t, i) {
6150
- const s = $h(h), e = new Jh(s, t, i);
6150
+ const s = $h(h), e = new Yh(s, t, i);
6151
6151
  return t.setOptions(e.options()), e;
6152
6152
  }
6153
6153
  function Xh(h, t) {
6154
- return Uh(h, new Ji(), Ji.pf(t));
6154
+ return Uh(h, new Yi(), Yi.pf(t));
6155
6155
  }
6156
6156
  class Gh extends Is {
6157
6157
  constructor(t, i) {
@@ -6239,7 +6239,7 @@ class Zh extends st {
6239
6239
  const { ot: i, lt: s, ib: e, sb: n, ct: r, Zt: o, nb: l } = this.rt;
6240
6240
  if (s === null) return;
6241
6241
  const a = t.context;
6242
- a.lineCap = "butt", a.lineWidth = r * t.verticalPixelRatio, J(a, o), a.lineJoin = "round";
6242
+ a.lineCap = "butt", a.lineWidth = r * t.verticalPixelRatio, Y(a, o), a.lineJoin = "round";
6243
6243
  const u = this.eb.bind(this);
6244
6244
  n !== void 0 && Hh(t, i, n, s, e, u, qh), l && (function(c, f, d, m, w) {
6245
6245
  if (m.to - m.from <= 0) return;
package/lib/es/storage.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
2
  import { s as e } from "./feature.js";
3
3
  import { e as f } from "./index10.js";
4
- import { e as A, i as c } from "./index9.js";
5
- import { B as m } from "./index7.js";
6
- import { Q as l, a as Q, P as n } from "./useStreamLayerApp2.js";
4
+ import { e as A, i as c } from "./index8.js";
5
+ import { M as m } from "./index5.js";
6
+ import { Q as l, b as Q, P as n } from "./useStreamLayerApp2.js";
7
7
  const h = /* @__PURE__ */ e("div")({
8
8
  name: "QuestionItem",
9
9
  class: "q1w97g3p",
@@ -24,15 +24,15 @@ const h = /* @__PURE__ */ e("div")({
24
24
  name: "QuestionActionIcon",
25
25
  class: "q1fa0b9h",
26
26
  propsAsIs: !0
27
- }), k = () => i, E = /* @__PURE__ */ e(k())({
27
+ }), b = () => i, k = /* @__PURE__ */ e(b())({
28
28
  name: "QuestionCheckIcon",
29
29
  class: "qxlt78s",
30
30
  propsAsIs: !0
31
- }), N = () => m, P = /* @__PURE__ */ e(N())({
31
+ }), E = () => m, N = /* @__PURE__ */ e(E())({
32
32
  name: "QuestionTypeIcon",
33
33
  class: "qmg0vkx",
34
34
  propsAsIs: !0
35
- }), b = /* @__PURE__ */ e("div")({
35
+ }), P = /* @__PURE__ */ e("div")({
36
36
  name: "QuestionTypeLabel",
37
37
  class: "q1uz5j1g",
38
38
  propsAsIs: !1
@@ -48,22 +48,22 @@ const h = /* @__PURE__ */ e("div")({
48
48
  name: "SkeletonContainer",
49
49
  class: "s1f43z3r",
50
50
  propsAsIs: !1
51
- }), D = () => A, B = /* @__PURE__ */ e(D())({
51
+ }), D = () => A, C = /* @__PURE__ */ e(D())({
52
52
  name: "SkeletonButton",
53
53
  class: "s16k8geu",
54
54
  propsAsIs: !0
55
- }), C = {
55
+ }), O = {
56
56
  [n.LOST]: /* @__PURE__ */ s(i, { name: "incorrectVoted" }),
57
- [n.WON]: /* @__PURE__ */ s(E, { name: "icon-check" }),
57
+ [n.WON]: /* @__PURE__ */ s(k, { name: "icon-check" }),
58
58
  [n.UNSET]: /* @__PURE__ */ s(i, { name: "icon-arrow" }),
59
59
  [n.DNP]: /* @__PURE__ */ s(i, { name: "icon-arrow" })
60
60
  }, F = () => /* @__PURE__ */ o(x, { children: [
61
61
  /* @__PURE__ */ s(c, { loading: !0, style: { width: "35%" } }),
62
62
  /* @__PURE__ */ s(c, { loading: !0, style: { width: "70%" } }),
63
- /* @__PURE__ */ s(B, {})
64
- ] }), O = ({ questionTypeData: t, questionType: a, questionStatus: r }) => /* @__PURE__ */ o(S, { className: "SL_QuestionCaption", children: [
63
+ /* @__PURE__ */ s(C, {})
64
+ ] }), R = ({ questionTypeData: t, questionType: a, questionStatus: r }) => /* @__PURE__ */ o(S, { className: "SL_QuestionCaption", children: [
65
65
  /* @__PURE__ */ s(
66
- P,
66
+ N,
67
67
  {
68
68
  className: "SL_QuestionTypeIcon",
69
69
  "data-testid": "question-type-icon",
@@ -72,11 +72,11 @@ const h = /* @__PURE__ */ e("div")({
72
72
  name: t.iconName
73
73
  }
74
74
  ),
75
- /* @__PURE__ */ o(b, { className: "SL_QuestionTypeLabel", children: [
75
+ /* @__PURE__ */ o(P, { className: "SL_QuestionTypeLabel", children: [
76
76
  t.label,
77
77
  a === l.TRIVIA && r === Q.RESOLVED && " • Expired"
78
78
  ] })
79
- ] }), H = ({
79
+ ] }), M = ({
80
80
  questionId: t,
81
81
  questionType: a,
82
82
  questionStatus: r,
@@ -84,11 +84,11 @@ const h = /* @__PURE__ */ e("div")({
84
84
  openForVoting: I,
85
85
  status: y
86
86
  }) => {
87
- const p = f[a], q = C[y];
87
+ const p = f[a], q = O[y];
88
88
  return p ? /* @__PURE__ */ o(h, { "data-a": "intr", "data-name": t, children: [
89
89
  /* @__PURE__ */ o(g, { children: [
90
90
  /* @__PURE__ */ s(
91
- O,
91
+ R,
92
92
  {
93
93
  questionTypeData: p,
94
94
  questionType: a,
@@ -106,8 +106,8 @@ var u;
106
106
  })(u || (u = {}));
107
107
  export {
108
108
  F as D,
109
- H as R,
109
+ M as R,
110
110
  w as S,
111
111
  h as r,
112
- O as x
112
+ R as x
113
113
  };