@streamlayer/react 0.32.8 → 0.32.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { jsxs as c, jsx as s, Fragment as k } from "react/jsx-runtime";
2
- import { s as r, o as j } from "./index4.js";
1
+ import { jsxs as l, jsx as s, Fragment as k } from "react/jsx-runtime";
2
+ import { s as o, o as j } from "./index4.js";
3
3
  import { useStore as Q } from "@nanostores/react";
4
4
  import { o as Oe, r as le, w as Ye, u as je, A as Ve, O as We, c as Fe, a as re, n as Be, f as He } from "./masters2.js";
5
5
  import { QuestionType as z, QuestionStatus as E, QuestionImages as V, PickHistoryStatus as B } from "@streamlayer/sdk-web-types";
@@ -12,34 +12,34 @@ import "@streamlayer/sdk-web-interfaces";
12
12
  import "@streamlayer/sdk-web-notifications";
13
13
  import "./useStreamLayerApp.js";
14
14
  import "@streamlayer/sdk-web";
15
- const Ze = /* @__PURE__ */ r("div")({
15
+ const Ze = /* @__PURE__ */ o("div")({
16
16
  name: "Container",
17
17
  class: "c1vwopgc",
18
18
  propsAsIs: !1
19
- }), Je = /* @__PURE__ */ r("div")({
19
+ }), Je = /* @__PURE__ */ o("div")({
20
20
  name: "QuestionTypeWrap",
21
21
  class: "qyktpt0",
22
22
  propsAsIs: !1
23
- }), Ke = () => j, Xe = /* @__PURE__ */ r(Ke())({
23
+ }), Ke = () => j, Xe = /* @__PURE__ */ o(Ke())({
24
24
  name: "QuestionTypeIcon",
25
25
  class: "q951jdx",
26
26
  propsAsIs: !0
27
- }), et = /* @__PURE__ */ r("span")({
27
+ }), et = /* @__PURE__ */ o("span")({
28
28
  name: "QuestionTypeTitle",
29
29
  class: "qss5f0e",
30
30
  propsAsIs: !1
31
- }), tt = /* @__PURE__ */ r("button")({
31
+ }), tt = /* @__PURE__ */ o("button")({
32
32
  name: "CloseButton",
33
33
  class: "c1ao1jtv",
34
34
  propsAsIs: !1
35
- }), nt = () => j, st = /* @__PURE__ */ r(nt())({
35
+ }), nt = () => j, st = /* @__PURE__ */ o(nt())({
36
36
  name: "CloseIcon",
37
37
  class: "cvsl7l3",
38
38
  propsAsIs: !0
39
39
  }), we = ({ type: e, close: t, label: n }) => {
40
40
  const i = e ? Oe[e] : { label: n, iconName: void 0 };
41
- return /* @__PURE__ */ c(Ze, { children: [
42
- /* @__PURE__ */ c(Je, { children: [
41
+ return /* @__PURE__ */ l(Ze, { children: [
42
+ /* @__PURE__ */ l(Je, { children: [
43
43
  (i == null ? void 0 : i.iconName) && /* @__PURE__ */ s(
44
44
  Xe,
45
45
  {
@@ -59,101 +59,101 @@ const Ze = /* @__PURE__ */ r("div")({
59
59
  }), de = (e) => e.toLocaleTimeString("en-US", {
60
60
  hour: "2-digit",
61
61
  minute: "2-digit"
62
- }), ue = (e) => !isNaN(e.getTime()), it = /* @__PURE__ */ r("div")({
62
+ }), ue = (e) => !isNaN(e.getTime()), it = /* @__PURE__ */ o("div")({
63
63
  name: "Container",
64
64
  class: "c1zy8a",
65
65
  propsAsIs: !1
66
- }), rt = /* @__PURE__ */ r("div")({
66
+ }), rt = /* @__PURE__ */ o("div")({
67
67
  name: "Title",
68
68
  class: "t1vih9p5",
69
69
  propsAsIs: !1
70
- }), ot = /* @__PURE__ */ r("div")({
70
+ }), ot = /* @__PURE__ */ o("div")({
71
71
  name: "Indicator",
72
72
  class: "i1fbnvpb",
73
73
  propsAsIs: !1
74
- }), fe = ({ indicator: e, title: t }) => /* @__PURE__ */ c(it, { children: [
74
+ }), fe = ({ indicator: e, title: t }) => /* @__PURE__ */ l(it, { children: [
75
75
  /* @__PURE__ */ s(rt, { children: t }),
76
76
  /* @__PURE__ */ s(ot, { children: e })
77
- ] }), at = /* @__PURE__ */ r("div")({
77
+ ] }), at = /* @__PURE__ */ o("div")({
78
78
  name: "Container",
79
79
  class: "ctmhwyc",
80
80
  propsAsIs: !1
81
- }), lt = /* @__PURE__ */ r("div")({
81
+ }), lt = /* @__PURE__ */ o("div")({
82
82
  name: "Indicator",
83
83
  class: "i1jri200",
84
84
  propsAsIs: !1
85
- }), ct = /* @__PURE__ */ r("div")({
85
+ }), ct = /* @__PURE__ */ o("div")({
86
86
  name: "Title",
87
87
  class: "t8s05oq",
88
88
  propsAsIs: !1
89
- }), H = ({ indicator: e, title: t }) => /* @__PURE__ */ c(at, { children: [
89
+ }), H = ({ indicator: e, title: t }) => /* @__PURE__ */ l(at, { children: [
90
90
  /* @__PURE__ */ s(lt, { children: e }),
91
91
  /* @__PURE__ */ s(ct, { children: t })
92
- ] }), dt = /* @__PURE__ */ r("div")({
92
+ ] }), dt = /* @__PURE__ */ o("div")({
93
93
  name: "Container",
94
94
  class: "c1yrpn9o",
95
95
  propsAsIs: !1
96
- }), ut = /* @__PURE__ */ r("div")({
96
+ }), ut = /* @__PURE__ */ o("div")({
97
97
  name: "TopInfo",
98
98
  class: "t17fwahh",
99
99
  propsAsIs: !1
100
- }), pt = /* @__PURE__ */ r("div")({
100
+ }), pt = /* @__PURE__ */ o("div")({
101
101
  name: "BottomInfo",
102
102
  class: "by6w7e9",
103
103
  propsAsIs: !1
104
- }), mt = /* @__PURE__ */ r("div")({
104
+ }), mt = /* @__PURE__ */ o("div")({
105
105
  name: "User",
106
106
  class: "u1g7arbm",
107
107
  propsAsIs: !1
108
- }), ht = /* @__PURE__ */ r("img")({
108
+ }), ht = /* @__PURE__ */ o("img")({
109
109
  name: "Avatar",
110
110
  class: "a1ldeata",
111
111
  propsAsIs: !1
112
- }), It = /* @__PURE__ */ r("div")({
112
+ }), It = /* @__PURE__ */ o("div")({
113
113
  name: "UserInfo",
114
114
  class: "u10d4koz",
115
115
  propsAsIs: !1
116
- }), ft = /* @__PURE__ */ r("div")({
116
+ }), ft = /* @__PURE__ */ o("div")({
117
117
  name: "UserName",
118
118
  class: "u1q6roj0",
119
119
  propsAsIs: !1
120
- }), gt = /* @__PURE__ */ r("div")({
120
+ }), gt = /* @__PURE__ */ o("div")({
121
121
  name: "UserRating",
122
122
  class: "ui0m425",
123
123
  propsAsIs: !1
124
- }), vt = /* @__PURE__ */ r("img")({
124
+ }), vt = /* @__PURE__ */ o("img")({
125
125
  name: "TrophyIcon",
126
126
  class: "t1el3mrn",
127
127
  propsAsIs: !1
128
- }), Mt = /* @__PURE__ */ r("div")({
128
+ }), Mt = /* @__PURE__ */ o("div")({
129
129
  name: "Rts",
130
130
  class: "r2vgnxv",
131
131
  propsAsIs: !1
132
- }), At = /* @__PURE__ */ r("div")({
132
+ }), At = /* @__PURE__ */ o("div")({
133
133
  name: "RtsIndicator",
134
134
  class: "roqn06j",
135
135
  propsAsIs: !1
136
- }), Nt = /* @__PURE__ */ r("div")({
136
+ }), Nt = /* @__PURE__ */ o("div")({
137
137
  name: "RtsLabel",
138
138
  class: "r15adx7c",
139
139
  propsAsIs: !1
140
- }), yt = /* @__PURE__ */ r("div")({
140
+ }), yt = /* @__PURE__ */ o("div")({
141
141
  name: "Divider",
142
142
  class: "dv59lta",
143
143
  propsAsIs: !1
144
- }), Tt = /* @__PURE__ */ r("div")({
144
+ }), Tt = /* @__PURE__ */ o("div")({
145
145
  name: "Ranks",
146
146
  class: "r55lotb",
147
147
  propsAsIs: !1
148
- }), Dt = /* @__PURE__ */ r("div")({
148
+ }), Dt = /* @__PURE__ */ o("div")({
149
149
  name: "Statistics",
150
150
  class: "s1knfgqt",
151
151
  propsAsIs: !1
152
- }), St = /* @__PURE__ */ r("div")({
152
+ }), St = /* @__PURE__ */ o("div")({
153
153
  name: "AvatarPlaceholder",
154
154
  class: "a1mqo824",
155
155
  propsAsIs: !1
156
- }), zt = /* @__PURE__ */ r("button")({
156
+ }), zt = /* @__PURE__ */ o("button")({
157
157
  name: "UserAccountBtn",
158
158
  class: "uxareh6",
159
159
  propsAsIs: !1
@@ -162,30 +162,30 @@ const Ze = /* @__PURE__ */ r("div")({
162
162
  name: t,
163
163
  points: n,
164
164
  friendsRank: i,
165
- rank: o,
165
+ rank: r,
166
166
  streak: m,
167
- correct: l,
167
+ correct: c,
168
168
  incorrect: h,
169
169
  inTop: d,
170
170
  successRate: f
171
- }) => /* @__PURE__ */ c(dt, { children: [
172
- /* @__PURE__ */ s(ut, { children: /* @__PURE__ */ c(mt, { children: [
173
- /* @__PURE__ */ c(zt, { children: [
171
+ }) => /* @__PURE__ */ l(dt, { children: [
172
+ /* @__PURE__ */ s(ut, { children: /* @__PURE__ */ l(mt, { children: [
173
+ /* @__PURE__ */ l(zt, { children: [
174
174
  e && /* @__PURE__ */ s(ht, { alt: "avatar", src: e }),
175
175
  !e && /* @__PURE__ */ s(St, { children: Ee(t || "") })
176
176
  ] }),
177
- /* @__PURE__ */ c(It, { children: [
177
+ /* @__PURE__ */ l(It, { children: [
178
178
  /* @__PURE__ */ s(ft, { children: t }),
179
- /* @__PURE__ */ c(gt, { children: [
180
- /* @__PURE__ */ c(Mt, { children: [
179
+ /* @__PURE__ */ l(gt, { children: [
180
+ /* @__PURE__ */ l(Mt, { children: [
181
181
  /* @__PURE__ */ s(vt, { alt: "rank-icon", src: xt }),
182
- /* @__PURE__ */ c(At, { children: [
182
+ /* @__PURE__ */ l(At, { children: [
183
183
  Le(n),
184
184
  /* @__PURE__ */ s(Nt, { children: "PTS" })
185
185
  ] })
186
186
  ] }),
187
187
  /* @__PURE__ */ s(yt, {}),
188
- /* @__PURE__ */ c("div", { children: [
188
+ /* @__PURE__ */ l("div", { children: [
189
189
  "TOP ",
190
190
  d || 0,
191
191
  "%"
@@ -193,23 +193,23 @@ const Ze = /* @__PURE__ */ r("div")({
193
193
  ] })
194
194
  ] })
195
195
  ] }) }),
196
- /* @__PURE__ */ c(pt, { children: [
197
- /* @__PURE__ */ c(Tt, { children: [
196
+ /* @__PURE__ */ l(pt, { children: [
197
+ /* @__PURE__ */ l(Tt, { children: [
198
198
  /* @__PURE__ */ s(fe, { indicator: i || 0, title: "Friends rank" }),
199
- /* @__PURE__ */ s(fe, { indicator: o || 0, title: "Global rank" })
199
+ /* @__PURE__ */ s(fe, { indicator: r || 0, title: "Global rank" })
200
200
  ] }),
201
- /* @__PURE__ */ c(Dt, { children: [
201
+ /* @__PURE__ */ l(Dt, { children: [
202
202
  /* @__PURE__ */ s(H, { indicator: m || 0, title: "Win streak" }),
203
- /* @__PURE__ */ s(H, { indicator: l || 0, title: "Correct" }),
203
+ /* @__PURE__ */ s(H, { indicator: c || 0, title: "Correct" }),
204
204
  /* @__PURE__ */ s(H, { indicator: h || 0, title: "Incorrect" }),
205
205
  /* @__PURE__ */ s(H, { indicator: `${f || 0}%`, title: "Succ. rate" })
206
206
  ] })
207
207
  ] })
208
- ] }), Ot = /* @__PURE__ */ r("div")({
208
+ ] }), Ot = /* @__PURE__ */ o("div")({
209
209
  name: "SponsorLogoWrap",
210
210
  class: "s8p5v5z",
211
211
  propsAsIs: !1
212
- }), jt = () => j, bt = /* @__PURE__ */ r(jt())({
212
+ }), jt = () => j, bt = /* @__PURE__ */ o(jt())({
213
213
  name: "SponsorLogo",
214
214
  class: "s755yti",
215
215
  propsAsIs: !0
@@ -217,47 +217,47 @@ const Ze = /* @__PURE__ */ r("div")({
217
217
  children: /* @__PURE__ */ s(bt, {
218
218
  name: "mastersLogo"
219
219
  })
220
- }), kt = /* @__PURE__ */ r("div")({
220
+ }), kt = /* @__PURE__ */ o("div")({
221
221
  name: "Container",
222
222
  class: "c38csyt",
223
223
  propsAsIs: !1
224
- }), wt = /* @__PURE__ */ r("div")({
224
+ }), wt = /* @__PURE__ */ o("div")({
225
225
  name: "Title",
226
226
  class: "ty221rx",
227
227
  propsAsIs: !1
228
- }), Et = /* @__PURE__ */ r("div")({
228
+ }), Et = /* @__PURE__ */ o("div")({
229
229
  name: "Description",
230
230
  class: "dlaj9xp",
231
231
  propsAsIs: !1
232
- }), Lt = ({ title: e, description: t }) => /* @__PURE__ */ c(kt, { children: [
232
+ }), Lt = ({ title: e, description: t }) => /* @__PURE__ */ l(kt, { children: [
233
233
  /* @__PURE__ */ s(j, { name: "icon-check-circle" }),
234
234
  /* @__PURE__ */ s(wt, { children: e }),
235
235
  /* @__PURE__ */ s(Et, { children: t })
236
- ] }), $t = /* @__PURE__ */ r("div")({
236
+ ] }), $t = /* @__PURE__ */ o("div")({
237
237
  name: "Container",
238
238
  class: "c16sbdnm",
239
239
  propsAsIs: !1
240
- }), Rt = () => j, Qt = /* @__PURE__ */ r(Rt())({
240
+ }), Rt = () => j, Qt = /* @__PURE__ */ o(Rt())({
241
241
  name: "IconPrediction",
242
242
  class: "ibhorgl",
243
243
  propsAsIs: !0
244
- }), W = /* @__PURE__ */ r("div")({
244
+ }), W = /* @__PURE__ */ o("div")({
245
245
  name: "FeedbackIconWrap",
246
246
  class: "f1g20ja7",
247
247
  propsAsIs: !1
248
- }), G = /* @__PURE__ */ r("div")({
248
+ }), G = /* @__PURE__ */ o("div")({
249
249
  name: "FeedbackHeader",
250
250
  class: "f455ozj",
251
251
  propsAsIs: !1
252
- }), Ut = /* @__PURE__ */ r("span")({
252
+ }), Ut = /* @__PURE__ */ o("span")({
253
253
  name: "FeedbackTitle",
254
254
  class: "f1913njx",
255
255
  propsAsIs: !1
256
- }), P = /* @__PURE__ */ r("span")({
256
+ }), P = /* @__PURE__ */ o("span")({
257
257
  name: "FeedbackDescription",
258
258
  class: "fzfk69z",
259
259
  propsAsIs: !1
260
- }), ne = /* @__PURE__ */ r("div")({
260
+ }), ne = /* @__PURE__ */ o("div")({
261
261
  name: "FeedbackText",
262
262
  class: "fx87qaj",
263
263
  propsAsIs: !1
@@ -266,115 +266,115 @@ const Ze = /* @__PURE__ */ r("div")({
266
266
  questionVotedCorrectly: t,
267
267
  questionVoted: n,
268
268
  questionType: i,
269
- hasCorrectAnswer: o,
269
+ hasCorrectAnswer: r,
270
270
  questionStatus: m,
271
- votedInCurrentRender: l,
271
+ votedInCurrentRender: c,
272
272
  votedAfterQuestionClosed: h,
273
273
  enteredAnActiveQuestion: d
274
274
  }) => {
275
- const f = n && (i === z.TRIVIA || i === z.PREDICTION) && l && m !== E.RESOLVED, N = i === z.PREDICTION && !o, D = m === E.RESOLVED && i === z.TRIVIA && !n && !d, A = i === z.TRIVIA && h && l && d, S = m === E.RESOLVED && i === z.PREDICTION && !n && !d || i === z.PREDICTION && h && l && d, T = f && N, a = f && o, p = n && i === z.POLL && l;
275
+ const f = n && (i === z.TRIVIA || i === z.PREDICTION) && c && m !== E.RESOLVED, N = i === z.PREDICTION && !r, D = m === E.RESOLVED && i === z.TRIVIA && !n && !d, A = i === z.TRIVIA && h && c && d, S = m === E.RESOLVED && i === z.PREDICTION && !n && !d || i === z.PREDICTION && h && c && d, T = f && N, a = f && r, p = n && i === z.POLL && c;
276
276
  if (!D && !A && !T && !a && !S && !p)
277
277
  return null;
278
278
  const u = t ? "correct" : "incorrect", I = t ? e == null ? void 0 : e.correctFeedback : e == null ? void 0 : e.incorrectFeedback;
279
- return /* @__PURE__ */ c($t, { "data-isPrediction": N, children: [
280
- D && /* @__PURE__ */ c(k, { children: [
279
+ return /* @__PURE__ */ l($t, { "data-isPrediction": N, children: [
280
+ D && /* @__PURE__ */ l(k, { children: [
281
281
  /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(j, { name: "questionExpired" }) }),
282
- /* @__PURE__ */ c("div", { children: [
282
+ /* @__PURE__ */ l("div", { children: [
283
283
  /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(P, { children: "Question Expired" }) }),
284
284
  /* @__PURE__ */ s(ne, { children: "You can still answer to see if you're correct, but no points are awarded for expired questions." })
285
285
  ] })
286
286
  ] }),
287
- A && /* @__PURE__ */ c(k, { children: [
287
+ A && /* @__PURE__ */ l(k, { children: [
288
288
  /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(j, { name: "questionExpired" }) }),
289
- /* @__PURE__ */ c("div", { children: [
289
+ /* @__PURE__ */ l("div", { children: [
290
290
  /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(P, { children: "Question Closed" }) }),
291
291
  /* @__PURE__ */ s(ne, { children: "This question was answered after the moderator closed the question. So the points for this answer won’t tally." })
292
292
  ] })
293
293
  ] }),
294
- S && /* @__PURE__ */ c(k, { children: [
294
+ S && /* @__PURE__ */ l(k, { children: [
295
295
  /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(j, { name: "questionExpired" }) }),
296
- /* @__PURE__ */ c("div", { children: [
296
+ /* @__PURE__ */ l("div", { children: [
297
297
  /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(P, { children: "Question Closed" }) }),
298
298
  /* @__PURE__ */ s(ne, { children: "This event has already taken place, so the ability to make a prediction on its outcome is no longer available." })
299
299
  ] })
300
300
  ] }),
301
- T && /* @__PURE__ */ c(k, { children: [
301
+ T && /* @__PURE__ */ l(k, { children: [
302
302
  /* @__PURE__ */ s(Qt, { name: "icon-prediction" }),
303
303
  /* @__PURE__ */ s(P, { children: "Stay tuned to see if your prediction was correct." })
304
304
  ] }),
305
- p && /* @__PURE__ */ c(k, { children: [
305
+ p && /* @__PURE__ */ l(k, { children: [
306
306
  /* @__PURE__ */ s(W, { "data-feedbackType": "correct", children: /* @__PURE__ */ s(j, { name: "correct" }) }),
307
307
  /* @__PURE__ */ s(P, { children: "That's for answering. Please stay tuned for the next question." })
308
308
  ] }),
309
- a && /* @__PURE__ */ c(k, { children: [
309
+ a && /* @__PURE__ */ l(k, { children: [
310
310
  /* @__PURE__ */ s(W, { "data-feedbackType": u, children: /* @__PURE__ */ s(j, { name: u }) }),
311
- /* @__PURE__ */ s("div", { children: /* @__PURE__ */ c(G, { children: [
311
+ /* @__PURE__ */ s("div", { children: /* @__PURE__ */ l(G, { children: [
312
312
  /* @__PURE__ */ s(Ut, { "data-feedbackType": u, children: I == null ? void 0 : I.title }),
313
313
  /* @__PURE__ */ s(P, { children: I == null ? void 0 : I.description })
314
314
  ] }) })
315
315
  ] })
316
316
  ] });
317
- }, Pt = /* @__PURE__ */ r("div")({
317
+ }, Pt = /* @__PURE__ */ o("div")({
318
318
  name: "Container",
319
319
  class: "c14ielyq",
320
320
  propsAsIs: !1
321
- }), _t = /* @__PURE__ */ r("div")({
321
+ }), _t = /* @__PURE__ */ o("div")({
322
322
  name: "Content",
323
323
  class: "c1tlqx57",
324
324
  propsAsIs: !1
325
- }), Yt = /* @__PURE__ */ r("div")({
325
+ }), Yt = /* @__PURE__ */ o("div")({
326
326
  name: "Title",
327
327
  class: "t1hq58md",
328
328
  propsAsIs: !1
329
- }), Vt = /* @__PURE__ */ r("div")({
329
+ }), Vt = /* @__PURE__ */ o("div")({
330
330
  name: "Options",
331
331
  class: "o1c8nxcx",
332
332
  propsAsIs: !1
333
- }), Wt = /* @__PURE__ */ r("button")({
333
+ }), Wt = /* @__PURE__ */ o("button")({
334
334
  name: "ButtonContainer",
335
335
  class: "b1b6dl8t",
336
336
  propsAsIs: !1
337
- }), Ft = /* @__PURE__ */ r("div")({
337
+ }), Ft = /* @__PURE__ */ o("div")({
338
338
  name: "ButtonPct",
339
339
  class: "b4iik8i",
340
340
  propsAsIs: !1
341
- }), Bt = /* @__PURE__ */ r("span")({
341
+ }), Bt = /* @__PURE__ */ o("span")({
342
342
  name: "ButtonBody",
343
343
  class: "b1gq1lnf",
344
344
  propsAsIs: !1
345
- }), Ht = /* @__PURE__ */ r("div")({
345
+ }), Ht = /* @__PURE__ */ o("div")({
346
346
  name: "IconContainer",
347
347
  class: "i1j65z51",
348
348
  propsAsIs: !1
349
- }), Gt = /* @__PURE__ */ r("div")({
349
+ }), Gt = /* @__PURE__ */ o("div")({
350
350
  name: "IconWrap",
351
351
  class: "i19tpfua",
352
352
  propsAsIs: !1
353
- }), Re = /* @__PURE__ */ r("img")({
353
+ }), Re = /* @__PURE__ */ o("img")({
354
354
  name: "Icon",
355
355
  class: "i1tubmma",
356
356
  propsAsIs: !1
357
- }), Zt = () => Re, Jt = /* @__PURE__ */ r(Zt())({
357
+ }), Zt = () => Re, Jt = /* @__PURE__ */ o(Zt())({
358
358
  name: "IconDefault",
359
359
  class: "i1grrgwj",
360
360
  propsAsIs: !0
361
- }), Kt = () => Re, Xt = /* @__PURE__ */ r(Kt())({
361
+ }), Kt = () => Re, Xt = /* @__PURE__ */ o(Kt())({
362
362
  name: "IconCircle",
363
363
  class: "ibemyq8",
364
364
  propsAsIs: !0
365
- }), en = /* @__PURE__ */ r("span")({
365
+ }), en = /* @__PURE__ */ o("span")({
366
366
  name: "Title",
367
367
  class: "t1dceht",
368
368
  propsAsIs: !1
369
- }), tn = /* @__PURE__ */ r("span")({
369
+ }), tn = /* @__PURE__ */ o("span")({
370
370
  name: "Indicators",
371
371
  class: "i116q4vq",
372
372
  propsAsIs: !1
373
- }), nn = /* @__PURE__ */ r("span")({
373
+ }), nn = /* @__PURE__ */ o("span")({
374
374
  name: "Percentage",
375
375
  class: "p17ajcu2",
376
376
  propsAsIs: !1
377
- }), sn = () => j, rn = /* @__PURE__ */ r(sn())({
377
+ }), sn = () => j, rn = /* @__PURE__ */ o(sn())({
378
378
  name: "CheckIcon",
379
379
  class: "cu9kmlb",
380
380
  propsAsIs: !0
@@ -384,32 +384,32 @@ const Ze = /* @__PURE__ */ r("div")({
384
384
  [V.ROUNDED]: (e) => /* @__PURE__ */ s(Xt, { alt: "option-icon", src: e }),
385
385
  [V.NONE]: () => null,
386
386
  [V.UNSET]: () => null
387
- }, on = ({ questionType: e, hasCorrectAnswer: t, correct: n, youVoted: i, questionVoted: o }) => {
387
+ }, on = ({ questionType: e, hasCorrectAnswer: t, correct: n, youVoted: i, questionVoted: r }) => {
388
388
  if (e === z.POLL && i)
389
389
  return "correct";
390
390
  if (e === z.PREDICTION) {
391
- if (t && o)
391
+ if (t && r)
392
392
  return i ? n ? "correct" : "incorrect" : "unset";
393
393
  if (i)
394
394
  return "correct";
395
395
  }
396
- return e === z.TRIVIA && o && i ? n ? "correct" : "incorrect" : "unset";
396
+ return e === z.TRIVIA && r && i ? n ? "correct" : "incorrect" : "unset";
397
397
  }, an = ({
398
398
  questionType: e,
399
399
  questionVoted: t,
400
400
  correct: n,
401
401
  hasCorrectAnswer: i,
402
- questionStatus: o
403
- }) => e === z.TRIVIA ? t && n : e === z.PREDICTION ? t && n && i || o === E.RESOLVED && n : !1, ln = (e) => {
402
+ questionStatus: r
403
+ }) => e === z.TRIVIA ? t && n : e === z.PREDICTION ? t && n && i || r === E.RESOLVED && n : !1, ln = (e) => {
404
404
  var t;
405
405
  const {
406
406
  // option props
407
407
  id: n,
408
408
  icon: i,
409
- text: o,
409
+ text: r,
410
410
  percentageDecimal: m,
411
411
  // extra props
412
- onVote: l,
412
+ onVote: c,
413
413
  markThatVoted: h,
414
414
  youSelected: d,
415
415
  questionVoted: f,
@@ -424,7 +424,7 @@ const Ze = /* @__PURE__ */ r("div")({
424
424
  votedAfterQuestionClosed: u,
425
425
  enteredAnActiveQuestion: I
426
426
  } = e, g = on(e), x = an({ questionType: T, questionVoted: f, correct: a, hasCorrectAnswer: p, questionStatus: A }), v = A === E.RESOLVED && T === z.PREDICTION, y = f || v;
427
- return /* @__PURE__ */ c(
427
+ return /* @__PURE__ */ l(
428
428
  Wt,
429
429
  {
430
430
  value: n,
@@ -433,14 +433,14 @@ const Ze = /* @__PURE__ */ r("div")({
433
433
  disabled: f || S || D || v && !I || v && I && u,
434
434
  "data-isNotChecked": f && !d && g !== "incorrect",
435
435
  onClick: (M) => {
436
- h(A === E.RESOLVED), l(M);
436
+ h(A === E.RESOLVED), c(M);
437
437
  },
438
438
  children: [
439
439
  /* @__PURE__ */ s(Ft, { "data-answerState": g, style: { width: `${y ? m : 0}%` } }),
440
- /* @__PURE__ */ c(Bt, { children: [
440
+ /* @__PURE__ */ l(Bt, { children: [
441
441
  i && N && ((t = ge[N]) == null ? void 0 : t.call(ge, i)),
442
- /* @__PURE__ */ s(en, { children: o }),
443
- y && /* @__PURE__ */ c(tn, { children: [
442
+ /* @__PURE__ */ s(en, { children: r }),
443
+ y && /* @__PURE__ */ l(tn, { children: [
444
444
  x && /* @__PURE__ */ s(rn, { name: "selected" }),
445
445
  /* @__PURE__ */ s(nn, { children: /* @__PURE__ */ s(ke, { value: m, suffix: "%" }) })
446
446
  ] })
@@ -448,7 +448,7 @@ const Ze = /* @__PURE__ */ r("div")({
448
448
  ]
449
449
  }
450
450
  );
451
- }, cn = [R.PRIMARY_GREEN1, R.SECONDARY_RED1, R.SECONDARY_RED1, R.NEUTRALS_GRAY3], dn = [10, 10, 1, 0], un = /* @__PURE__ */ r("div")({
451
+ }, cn = [R.PRIMARY_GREEN1, R.SECONDARY_RED1, R.SECONDARY_RED1, R.NEUTRALS_GRAY3], dn = [10, 10, 1, 0], un = /* @__PURE__ */ o("div")({
452
452
  name: "RemainingTime",
453
453
  class: "r165427",
454
454
  propsAsIs: !1
@@ -457,15 +457,15 @@ const Ze = /* @__PURE__ */ r("div")({
457
457
  duration: t = 30,
458
458
  onTimerExpired: n
459
459
  }) => {
460
- const [i, o] = L(t > 10 ? pn : ve), m = ({
460
+ const [i, r] = L(t > 10 ? pn : ve), m = ({
461
461
  remainingTime: d
462
462
  }) => /* @__PURE__ */ s(un, {
463
463
  children: d
464
- }), l = F(() => {
465
- n == null || n(), o(mn);
466
- }, [n, o]), h = F((d) => {
467
- d === 10 && o(ve);
468
- }, [o]);
464
+ }), c = F(() => {
465
+ n == null || n(), r(mn);
466
+ }, [n, r]), h = F((d) => {
467
+ d === 10 && r(ve);
468
+ }, [r]);
469
469
  return /* @__PURE__ */ s(Ge, {
470
470
  isPlaying: e,
471
471
  duration: t,
@@ -475,35 +475,35 @@ const Ze = /* @__PURE__ */ r("div")({
475
475
  strokeWidth: 2,
476
476
  trailStrokeWidth: 2,
477
477
  trailColor: i,
478
- onComplete: l,
478
+ onComplete: c,
479
479
  onUpdate: h,
480
480
  children: m
481
481
  });
482
- }, In = /* @__PURE__ */ r("div")({
482
+ }, In = /* @__PURE__ */ o("div")({
483
483
  name: "WinBarContainer",
484
484
  class: "wie6cqo",
485
485
  propsAsIs: !1
486
- }), fn = /* @__PURE__ */ r("div")({
486
+ }), fn = /* @__PURE__ */ o("div")({
487
487
  name: "Content",
488
488
  class: "cgizw4u",
489
489
  propsAsIs: !1
490
- }), gn = /* @__PURE__ */ r("div")({
490
+ }), gn = /* @__PURE__ */ o("div")({
491
491
  name: "Title",
492
492
  class: "t1l3ucjp",
493
493
  propsAsIs: !1
494
- }), vn = () => j, Mn = /* @__PURE__ */ r(vn())({
494
+ }), vn = () => j, Mn = /* @__PURE__ */ o(vn())({
495
495
  name: "WinIcon",
496
496
  class: "wx7j799",
497
497
  propsAsIs: !0
498
- }), An = /* @__PURE__ */ r("div")({
498
+ }), An = /* @__PURE__ */ o("div")({
499
499
  name: "Points",
500
500
  class: "p4lwuj0",
501
501
  propsAsIs: !1
502
- }), Nn = /* @__PURE__ */ r("span")({
502
+ }), Nn = /* @__PURE__ */ o("span")({
503
503
  name: "PointsCount",
504
504
  class: "po9i64o",
505
505
  propsAsIs: !1
506
- }), yn = /* @__PURE__ */ r("span")({
506
+ }), yn = /* @__PURE__ */ o("span")({
507
507
  name: "PointsUnits",
508
508
  class: "pe5g05h",
509
509
  propsAsIs: !1
@@ -512,24 +512,24 @@ const Ze = /* @__PURE__ */ r("div")({
512
512
  points: t,
513
513
  isPlayingTimer: n,
514
514
  isTimer: i,
515
- questionType: o,
515
+ questionType: r,
516
516
  timerDuration: m,
517
- onTimerExpired: l
518
- }) => /* @__PURE__ */ c(In, { children: [
519
- /* @__PURE__ */ c(fn, { children: [
517
+ onTimerExpired: c
518
+ }) => /* @__PURE__ */ l(In, { children: [
519
+ /* @__PURE__ */ l(fn, { children: [
520
520
  e && /* @__PURE__ */ s(gn, { children: e }),
521
- t !== void 0 && o !== z.POLL && /* @__PURE__ */ c(k, { children: [
521
+ t !== void 0 && r !== z.POLL && /* @__PURE__ */ l(k, { children: [
522
522
  /* @__PURE__ */ s(Mn, { name: "icon-trophy" }),
523
- /* @__PURE__ */ c(An, { children: [
523
+ /* @__PURE__ */ l(An, { children: [
524
524
  /* @__PURE__ */ s(Nn, { children: /* @__PURE__ */ s(ke, { value: t }) }),
525
525
  /* @__PURE__ */ s(yn, { children: "PTS" })
526
526
  ] })
527
527
  ] })
528
528
  ] }),
529
- i && /* @__PURE__ */ s(hn, { isPlaying: n, onTimerExpired: l, duration: m })
529
+ i && /* @__PURE__ */ s(hn, { isPlaying: n, onTimerExpired: c, duration: m })
530
530
  ] }), Dn = ({ openedQuestion: e, isLoading: t, vote: n, close: i }) => {
531
- var o, m;
532
- const l = e.subject, h = e.type, d = (o = e.options) == null ? void 0 : o.options, [f, N] = L(!1), [D, A] = L(!1), [S, T] = L(!0), [a, p] = L(!1), [u, I] = L(""), g = e == null ? void 0 : e.id;
531
+ var r, m;
532
+ const c = e.subject, h = e.type, d = (r = e.options) == null ? void 0 : r.options, [f, N] = L(!1), [D, A] = L(!1), [S, T] = L(!0), [a, p] = L(!1), [u, I] = L(""), g = e == null ? void 0 : e.id;
533
533
  be(() => {
534
534
  e.status === E.RESOLVED && T(!1);
535
535
  }, []);
@@ -574,7 +574,7 @@ const Ze = /* @__PURE__ */ r("div")({
574
574
  if (!a)
575
575
  return M ? M.correct ? M.points : 0 : C == null ? void 0 : C.points;
576
576
  }, [a, M, C, e.status]), X = w(() => a ? "Time expired" : e.type === z.POLL ? "Time remaining" : M ? "You won" : "To win", [a, e.type, M]);
577
- return /* @__PURE__ */ s(le, { "data-question-header": "true", children: /* @__PURE__ */ s(Pt, { children: /* @__PURE__ */ c(_t, { children: [
577
+ return /* @__PURE__ */ s(le, { "data-question-header": "true", children: /* @__PURE__ */ s(Pt, { children: /* @__PURE__ */ l(_t, { children: [
578
578
  /* @__PURE__ */ s(
579
579
  qt,
580
580
  {
@@ -607,8 +607,8 @@ const Ze = /* @__PURE__ */ r("div")({
607
607
  title: "More to come...",
608
608
  description: "Watch for additional enhanced stream interactive experience."
609
609
  }
610
- ) : /* @__PURE__ */ c(k, { children: [
611
- /* @__PURE__ */ s(Yt, { "data-isPrediction": e.type === z.PREDICTION, children: l }),
610
+ ) : /* @__PURE__ */ l(k, { children: [
611
+ /* @__PURE__ */ s(Yt, { "data-isPrediction": e.type === z.PREDICTION, children: c }),
612
612
  /* @__PURE__ */ s(Vt, { children: U.map((O) => /* @__PURE__ */ s(
613
613
  ln,
614
614
  {
@@ -621,78 +621,84 @@ const Ze = /* @__PURE__ */ r("div")({
621
621
  )) })
622
622
  ] })
623
623
  ] }) }) });
624
- }, Sn = /* @__PURE__ */ r("div")({
624
+ }, Sn = /* @__PURE__ */ o("div")({
625
625
  name: "Container",
626
626
  class: "cgn5uen",
627
627
  propsAsIs: !1
628
- }), zn = /* @__PURE__ */ r("div")({
628
+ }), zn = /* @__PURE__ */ o("div")({
629
629
  name: "Content",
630
630
  class: "c1px8nt6",
631
631
  propsAsIs: !1
632
- }), xn = /* @__PURE__ */ r("h3")({
632
+ }), xn = /* @__PURE__ */ o("h3")({
633
633
  name: "Title",
634
634
  class: "t5et2jt",
635
635
  propsAsIs: !1
636
- }), On = /* @__PURE__ */ r("div")({
636
+ }), On = /* @__PURE__ */ o("div")({
637
637
  name: "Description",
638
638
  class: "d1i2kpk2",
639
639
  propsAsIs: !1
640
- }), jn = /* @__PURE__ */ r("div")({
640
+ }), jn = /* @__PURE__ */ o("div")({
641
641
  name: "DateWrap",
642
642
  class: "dd3lh3p",
643
643
  propsAsIs: !1
644
- }), bn = /* @__PURE__ */ r("img")({
644
+ }), bn = /* @__PURE__ */ o("img")({
645
645
  name: "Image",
646
646
  class: "i1gfjeu5",
647
647
  propsAsIs: !1
648
- }), Qe = ({ created: e, image: t, title: n, instantView: i }) => {
649
- const o = w(() => {
648
+ }), Qe = ({
649
+ created: e,
650
+ image: t,
651
+ title: n,
652
+ isPickHistory: i,
653
+ instantView: r
654
+ }) => {
655
+ const m = w(() => {
650
656
  if (e) {
651
- const l = new Date(e);
652
- if (ue(l))
657
+ const h = new Date(e);
658
+ if (ue(h))
653
659
  return {
654
- date: ce(l),
655
- time: de(l)
660
+ date: ce(h),
661
+ time: de(h)
656
662
  };
657
663
  }
658
664
  return null;
659
- }, [e]), m = (i == null ? void 0 : i.image) || t;
660
- return /* @__PURE__ */ c(Sn, { children: [
661
- o && /* @__PURE__ */ c(jn, { children: [
662
- o.date,
665
+ }, [e]), c = (r == null ? void 0 : r.image) || t;
666
+ return /* @__PURE__ */ l(Sn, { children: [
667
+ m && /* @__PURE__ */ l(jn, { children: [
668
+ m.date,
663
669
  " · ",
664
- o.time
670
+ m.time
665
671
  ] }),
666
- (i == null ? void 0 : i.video) && /* @__PURE__ */ s(Ye, { source: i.video.url, poster: i.video.thumbnailUrl }),
667
- m && !(i != null && i.video) && /* @__PURE__ */ s(bn, { src: m }),
668
- /* @__PURE__ */ c(zn, { children: [
669
- /* @__PURE__ */ s(xn, { children: (i == null ? void 0 : i.heading) || n }),
670
- /* @__PURE__ */ s(On, { children: i == null ? void 0 : i.body })
672
+ (r == null ? void 0 : r.video) && /* @__PURE__ */ s(Ye, { source: r.video.url, poster: r.video.thumbnailUrl }),
673
+ c && !(r != null && r.video) && /* @__PURE__ */ s(bn, { src: c }),
674
+ /* @__PURE__ */ l(zn, { children: [
675
+ /* @__PURE__ */ s(xn, { children: i ? n : r == null ? void 0 : r.heading }),
676
+ !i && /* @__PURE__ */ s(On, { children: r == null ? void 0 : r.body })
671
677
  ] })
672
678
  ] });
673
- }, Cn = /* @__PURE__ */ r("div")({
679
+ }, Cn = /* @__PURE__ */ o("div")({
674
680
  name: "Container",
675
681
  class: "c1euiow",
676
682
  propsAsIs: !1
677
- }), kn = /* @__PURE__ */ r("a")({
683
+ }), kn = /* @__PURE__ */ o("a")({
678
684
  name: "WebLinkBtn",
679
685
  class: "w19zie3h",
680
686
  propsAsIs: !1
681
- }), wn = ({ instantView: e, ...t }) => /* @__PURE__ */ c(Cn, { children: [
687
+ }), wn = ({ instantView: e, ...t }) => /* @__PURE__ */ l(Cn, { children: [
682
688
  /* @__PURE__ */ s(Qe, { instantView: e, ...t }),
683
- (e == null ? void 0 : e.webLink) && /* @__PURE__ */ c(kn, { href: e == null ? void 0 : e.webLink.url, target: "_blank", children: [
689
+ (e == null ? void 0 : e.webLink) && /* @__PURE__ */ l(kn, { href: e == null ? void 0 : e.webLink.url, target: "_blank", children: [
684
690
  "Explore more of the Masters History",
685
691
  /* @__PURE__ */ s(j, { name: "icon-external-link" })
686
692
  ] })
687
- ] }), En = /* @__PURE__ */ r("div")({
693
+ ] }), En = /* @__PURE__ */ o("div")({
688
694
  name: "Container",
689
695
  class: "c1dcxmvf",
690
696
  propsAsIs: !1
691
- }), Ln = /* @__PURE__ */ r("div")({
697
+ }), Ln = /* @__PURE__ */ o("div")({
692
698
  name: "DateTime",
693
699
  class: "db4q22c",
694
700
  propsAsIs: !1
695
- }), $n = /* @__PURE__ */ r("blockquote")({
701
+ }), $n = /* @__PURE__ */ o("blockquote")({
696
702
  name: "Quote",
697
703
  class: "q111mmic",
698
704
  propsAsIs: !1
@@ -708,8 +714,8 @@ const Ze = /* @__PURE__ */ r("div")({
708
714
  }
709
715
  return null;
710
716
  }, [e]);
711
- return /* @__PURE__ */ c(En, { children: [
712
- n && /* @__PURE__ */ c(Ln, { children: [
717
+ return /* @__PURE__ */ l(En, { children: [
718
+ n && /* @__PURE__ */ l(Ln, { children: [
713
719
  n.date,
714
720
  " · ",
715
721
  n.time
@@ -717,7 +723,7 @@ const Ze = /* @__PURE__ */ r("div")({
717
723
  t.title && /* @__PURE__ */ s($n, { children: t.title }),
718
724
  /* @__PURE__ */ s(je, { ...t })
719
725
  ] });
720
- }, Qn = /* @__PURE__ */ r("div")({
726
+ }, Qn = /* @__PURE__ */ o("div")({
721
727
  name: "QuestionContainer",
722
728
  class: "qdri6g3",
723
729
  propsAsIs: !1
@@ -739,12 +745,12 @@ const Ze = /* @__PURE__ */ r("div")({
739
745
  }) => {
740
746
  const {
741
747
  loading: i,
742
- data: o
748
+ data: r
743
749
  } = e;
744
- return o ? /* @__PURE__ */ s(Dn, {
750
+ return r ? /* @__PURE__ */ s(Dn, {
745
751
  vote: t,
746
752
  close: n,
747
- openedQuestion: o,
753
+ openedQuestion: r,
748
754
  isLoading: !!i
749
755
  }) : null;
750
756
  }, Pn = ({
@@ -754,40 +760,40 @@ const Ze = /* @__PURE__ */ r("div")({
754
760
  const n = Q(e.openedQuestion.$store), i = Q(e.openedQuestion.$extendedStore);
755
761
  if (!n)
756
762
  return null;
757
- const o = n.type;
758
- return /* @__PURE__ */ c(Qn, {
763
+ const r = n.type;
764
+ return /* @__PURE__ */ l(Qn, {
759
765
  children: [/* @__PURE__ */ s(we, {
760
766
  close: e.closeQuestion,
761
767
  type: ((t = n.attributes) == null ? void 0 : t.type) || z.UNSET
762
- }), o === "question" && /* @__PURE__ */ s(qn, {
768
+ }), r === "question" && /* @__PURE__ */ s(qn, {
763
769
  vote: e.submitAnswer,
764
770
  close: e.closeQuestion,
765
771
  extendedQuestion: i
766
- }), o !== "question" && /* @__PURE__ */ s(Un, {
772
+ }), r !== "question" && /* @__PURE__ */ s(Un, {
767
773
  openedQuestion: n
768
774
  }), /* @__PURE__ */ s(Ct, {
769
775
  sponsorLogo: ""
770
776
  })]
771
777
  });
772
- }, _n = /* @__PURE__ */ r("div")({
778
+ }, _n = /* @__PURE__ */ o("div")({
773
779
  name: "Container",
774
780
  class: "c115qtkr",
775
781
  propsAsIs: !1
776
- }), Yn = /* @__PURE__ */ r("div")({
782
+ }), Yn = /* @__PURE__ */ o("div")({
777
783
  name: "STabs",
778
784
  class: "sxnslc8",
779
785
  propsAsIs: !1
780
- }), Vn = /* @__PURE__ */ r("button")({
786
+ }), Vn = /* @__PURE__ */ o("button")({
781
787
  name: "Button",
782
788
  class: "b1umzux0",
783
789
  propsAsIs: !1
784
- }), Wn = /* @__PURE__ */ r("span")({
790
+ }), Wn = /* @__PURE__ */ o("span")({
785
791
  name: "Title",
786
792
  class: "tspsaas",
787
793
  propsAsIs: !1
788
794
  });
789
795
  var J = /* @__PURE__ */ ((e) => (e.HOME = "home", e.LEADERBOARD = "leaderboard", e))(J || {});
790
- const Me = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ s(Vn, { onClick: n, "data-selected": t, children: /* @__PURE__ */ s(Wn, { children: e }) }), Fn = ({ activePage: e = "home", toggleActivePage: t }) => /* @__PURE__ */ s(_n, { children: /* @__PURE__ */ c(Yn, { "data-position": e === "home" ? "left" : "right", children: [
796
+ const Me = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ s(Vn, { onClick: n, "data-selected": t, children: /* @__PURE__ */ s(Wn, { children: e }) }), Fn = ({ activePage: e = "home", toggleActivePage: t }) => /* @__PURE__ */ s(_n, { children: /* @__PURE__ */ l(Yn, { "data-position": e === "home" ? "left" : "right", children: [
791
797
  /* @__PURE__ */ s(Me, { title: "Home", active: e === "home", onClick: () => t(
792
798
  "home"
793
799
  /* HOME */
@@ -820,8 +826,8 @@ function Ae(e) {
820
826
  return e;
821
827
  }
822
828
  function ae(e, t) {
823
- return ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
824
- return i.__proto__ = o, i;
829
+ return ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
830
+ return i.__proto__ = r, i;
825
831
  }, ae(e, t);
826
832
  }
827
833
  function Bn(e, t) {
@@ -843,13 +849,13 @@ function Gn(e, t) {
843
849
  }
844
850
  function se(e, t) {
845
851
  t === void 0 && (t = Gn);
846
- var n, i = [], o, m = !1;
847
- function l() {
852
+ var n, i = [], r, m = !1;
853
+ function c() {
848
854
  for (var h = [], d = 0; d < arguments.length; d++)
849
855
  h[d] = arguments[d];
850
- return m && n === this && t(h, i) || (o = e.apply(this, h), m = !0, n = this, i = h), o;
856
+ return m && n === this && t(h, i) || (r = e.apply(this, h), m = !0, n = this, i = h), r;
851
857
  }
852
- return l;
858
+ return c;
853
859
  }
854
860
  var Zn = typeof performance == "object" && typeof performance.now == "function", ye = Zn ? function() {
855
861
  return performance.now();
@@ -862,12 +868,12 @@ function Te(e) {
862
868
  function Jn(e, t) {
863
869
  var n = ye();
864
870
  function i() {
865
- ye() - n >= t ? e.call(null) : o.id = requestAnimationFrame(i);
871
+ ye() - n >= t ? e.call(null) : r.id = requestAnimationFrame(i);
866
872
  }
867
- var o = {
873
+ var r = {
868
874
  id: requestAnimationFrame(i)
869
875
  };
870
- return o;
876
+ return r;
871
877
  }
872
878
  var ie = -1;
873
879
  function De(e) {
@@ -882,8 +888,8 @@ function Se(e) {
882
888
  if (e === void 0 && (e = !1), _ === null || e) {
883
889
  var t = document.createElement("div"), n = t.style;
884
890
  n.width = "50px", n.height = "50px", n.overflow = "scroll", n.direction = "rtl";
885
- var i = document.createElement("div"), o = i.style;
886
- return o.width = "100px", o.height = "100px", t.appendChild(i), document.body.appendChild(t), t.scrollLeft > 0 ? _ = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? _ = "negative" : _ = "positive-ascending"), document.body.removeChild(t), _;
891
+ var i = document.createElement("div"), r = i.style;
892
+ return r.width = "100px", r.height = "100px", t.appendChild(i), document.body.appendChild(t), t.scrollLeft > 0 ? _ = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? _ = "negative" : _ = "positive-ascending"), document.body.removeChild(t), _;
887
893
  }
888
894
  return _;
889
895
  }
@@ -891,7 +897,7 @@ var Kn = 150, Xn = function(t, n) {
891
897
  return t;
892
898
  };
893
899
  function es(e) {
894
- var t, n = e.getItemOffset, i = e.getEstimatedTotalSize, o = e.getItemSize, m = e.getOffsetForIndexAndAlignment, l = e.getStartIndexForOffset, h = e.getStopIndexForStartIndex, d = e.initInstanceProps, f = e.shouldResetStyleCacheOnItemSizeChange, N = e.validateProps;
900
+ var t, n = e.getItemOffset, i = e.getEstimatedTotalSize, r = e.getItemSize, m = e.getOffsetForIndexAndAlignment, c = e.getStartIndexForOffset, h = e.getStopIndexForStartIndex, d = e.initInstanceProps, f = e.shouldResetStyleCacheOnItemSizeChange, N = e.validateProps;
895
901
  return t = /* @__PURE__ */ function(D) {
896
902
  Bn(A, D);
897
903
  function A(T) {
@@ -920,7 +926,7 @@ function es(e) {
920
926
  if (v.hasOwnProperty(p))
921
927
  y = v[p];
922
928
  else {
923
- var M = n(a.props, p, a._instanceProps), b = o(a.props, p, a._instanceProps), C = I === "horizontal" || x === "horizontal", U = I === "rtl", q = C ? M : 0;
929
+ var M = n(a.props, p, a._instanceProps), b = r(a.props, p, a._instanceProps), C = I === "horizontal" || x === "horizontal", U = I === "rtl", q = C ? M : 0;
924
930
  v[p] = y = {
925
931
  position: "absolute",
926
932
  left: U ? void 0 : q,
@@ -1086,7 +1092,7 @@ function es(e) {
1086
1092
  var a = this.props, p = a.itemCount, u = a.overscanCount, I = this.state, g = I.isScrolling, x = I.scrollDirection, v = I.scrollOffset;
1087
1093
  if (p === 0)
1088
1094
  return [0, 0, 0, 0];
1089
- var y = l(this.props, v, this._instanceProps), M = h(this.props, y, v, this._instanceProps), b = !g || x === "backward" ? Math.max(1, u) : 1, C = !g || x === "forward" ? Math.max(1, u) : 1;
1095
+ var y = c(this.props, v, this._instanceProps), M = h(this.props, y, v, this._instanceProps), b = !g || x === "backward" ? Math.max(1, u) : 1, C = !g || x === "forward" ? Math.max(1, u) : 1;
1090
1096
  return [Math.max(0, y - b), Math.max(0, Math.min(p - 1, M + C)), y, M];
1091
1097
  }, A;
1092
1098
  }(Ce), t.defaultProps = {
@@ -1112,9 +1118,9 @@ var ts = function(t, n) {
1112
1118
  var n = t.itemCount, i = t.itemSize;
1113
1119
  return i * n;
1114
1120
  },
1115
- getOffsetForIndexAndAlignment: function(t, n, i, o, m, l) {
1116
- var h = t.direction, d = t.height, f = t.itemCount, N = t.itemSize, D = t.layout, A = t.width, S = h === "horizontal" || D === "horizontal", T = S ? A : d, a = Math.max(0, f * N - T), p = Math.min(a, n * N), u = Math.max(0, n * N - T + N + l);
1117
- switch (i === "smart" && (o >= u - T && o <= p + T ? i = "auto" : i = "center"), i) {
1121
+ getOffsetForIndexAndAlignment: function(t, n, i, r, m, c) {
1122
+ var h = t.direction, d = t.height, f = t.itemCount, N = t.itemSize, D = t.layout, A = t.width, S = h === "horizontal" || D === "horizontal", T = S ? A : d, a = Math.max(0, f * N - T), p = Math.min(a, n * N), u = Math.max(0, n * N - T + N + c);
1123
+ switch (i === "smart" && (r >= u - T && r <= p + T ? i = "auto" : i = "center"), i) {
1118
1124
  case "start":
1119
1125
  return p;
1120
1126
  case "end":
@@ -1125,17 +1131,17 @@ var ts = function(t, n) {
1125
1131
  }
1126
1132
  case "auto":
1127
1133
  default:
1128
- return o >= u && o <= p ? o : o < u ? u : p;
1134
+ return r >= u && r <= p ? r : r < u ? u : p;
1129
1135
  }
1130
1136
  },
1131
1137
  getStartIndexForOffset: function(t, n) {
1132
- var i = t.itemCount, o = t.itemSize;
1133
- return Math.max(0, Math.min(i - 1, Math.floor(n / o)));
1138
+ var i = t.itemCount, r = t.itemSize;
1139
+ return Math.max(0, Math.min(i - 1, Math.floor(n / r)));
1134
1140
  },
1135
1141
  getStopIndexForStartIndex: function(t, n, i) {
1136
- var o = t.direction, m = t.height, l = t.itemCount, h = t.itemSize, d = t.layout, f = t.width, N = o === "horizontal" || d === "horizontal", D = n * h, A = N ? f : m, S = Math.ceil((A + i - D) / h);
1142
+ var r = t.direction, m = t.height, c = t.itemCount, h = t.itemSize, d = t.layout, f = t.width, N = r === "horizontal" || d === "horizontal", D = n * h, A = N ? f : m, S = Math.ceil((A + i - D) / h);
1137
1143
  return Math.max(0, Math.min(
1138
- l - 1,
1144
+ c - 1,
1139
1145
  n + S - 1
1140
1146
  // -1 is because stop index is inclusive
1141
1147
  ));
@@ -1148,28 +1154,28 @@ var ts = function(t, n) {
1148
1154
  }
1149
1155
  });
1150
1156
  function ss(e) {
1151
- var t = e.lastRenderedStartIndex, n = e.lastRenderedStopIndex, i = e.startIndex, o = e.stopIndex;
1152
- return !(i > n || o < t);
1157
+ var t = e.lastRenderedStartIndex, n = e.lastRenderedStopIndex, i = e.startIndex, r = e.stopIndex;
1158
+ return !(i > n || r < t);
1153
1159
  }
1154
1160
  function is(e) {
1155
- for (var t = e.isItemLoaded, n = e.itemCount, i = e.minimumBatchSize, o = e.startIndex, m = e.stopIndex, l = [], h = null, d = null, f = o; f <= m; f++) {
1161
+ for (var t = e.isItemLoaded, n = e.itemCount, i = e.minimumBatchSize, r = e.startIndex, m = e.stopIndex, c = [], h = null, d = null, f = r; f <= m; f++) {
1156
1162
  var N = t(f);
1157
- N ? d !== null && (l.push(h, d), h = d = null) : (d = f, h === null && (h = f));
1163
+ N ? d !== null && (c.push(h, d), h = d = null) : (d = f, h === null && (h = f));
1158
1164
  }
1159
1165
  if (d !== null) {
1160
1166
  for (var D = Math.min(Math.max(d, h + i - 1), n - 1), A = d + 1; A <= D && !t(A); A++)
1161
1167
  d = A;
1162
- l.push(h, d);
1168
+ c.push(h, d);
1163
1169
  }
1164
- if (l.length)
1165
- for (; l[1] - l[0] + 1 < i && l[0] > 0; ) {
1166
- var S = l[0] - 1;
1170
+ if (c.length)
1171
+ for (; c[1] - c[0] + 1 < i && c[0] > 0; ) {
1172
+ var S = c[0] - 1;
1167
1173
  if (!t(S))
1168
- l[0] = S;
1174
+ c[0] = S;
1169
1175
  else
1170
1176
  break;
1171
1177
  }
1172
- return l;
1178
+ return c;
1173
1179
  }
1174
1180
  var rs = function(e, t) {
1175
1181
  if (!(e instanceof t))
@@ -1177,8 +1183,8 @@ var rs = function(e, t) {
1177
1183
  }, os = function() {
1178
1184
  function e(t, n) {
1179
1185
  for (var i = 0; i < n.length; i++) {
1180
- var o = n[i];
1181
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o);
1186
+ var r = n[i];
1187
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
1182
1188
  }
1183
1189
  }
1184
1190
  return function(t, n, i) {
@@ -1202,16 +1208,16 @@ var rs = function(e, t) {
1202
1208
  }, ls = function(e) {
1203
1209
  as(t, e);
1204
1210
  function t() {
1205
- var n, i, o, m;
1211
+ var n, i, r, m;
1206
1212
  rs(this, t);
1207
- for (var l = arguments.length, h = Array(l), d = 0; d < l; d++)
1213
+ for (var c = arguments.length, h = Array(c), d = 0; d < c; d++)
1208
1214
  h[d] = arguments[d];
1209
- return m = (i = (o = ze(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(h))), o), o._lastRenderedStartIndex = -1, o._lastRenderedStopIndex = -1, o._memoizedUnloadedRanges = [], o._onItemsRendered = function(f) {
1215
+ return m = (i = (r = ze(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(h))), r), r._lastRenderedStartIndex = -1, r._lastRenderedStopIndex = -1, r._memoizedUnloadedRanges = [], r._onItemsRendered = function(f) {
1210
1216
  var N = f.visibleStartIndex, D = f.visibleStopIndex;
1211
- o._lastRenderedStartIndex = N, o._lastRenderedStopIndex = D, o._ensureRowsLoaded(N, D);
1212
- }, o._setRef = function(f) {
1213
- o._listRef = f;
1214
- }, i), ze(o, m);
1217
+ r._lastRenderedStartIndex = N, r._lastRenderedStopIndex = D, r._ensureRowsLoaded(N, D);
1218
+ }, r._setRef = function(f) {
1219
+ r._listRef = f;
1220
+ }, i), ze(r, m);
1215
1221
  }
1216
1222
  return os(t, [{
1217
1223
  key: "resetloadMoreItemsCache",
@@ -1234,13 +1240,13 @@ var rs = function(e, t) {
1234
1240
  }
1235
1241
  }, {
1236
1242
  key: "_ensureRowsLoaded",
1237
- value: function(i, o) {
1238
- var m = this.props, l = m.isItemLoaded, h = m.itemCount, d = m.minimumBatchSize, f = d === void 0 ? 10 : d, N = m.threshold, D = N === void 0 ? 15 : N, A = is({
1239
- isItemLoaded: l,
1243
+ value: function(i, r) {
1244
+ var m = this.props, c = m.isItemLoaded, h = m.itemCount, d = m.minimumBatchSize, f = d === void 0 ? 10 : d, N = m.threshold, D = N === void 0 ? 15 : N, A = is({
1245
+ isItemLoaded: c,
1240
1246
  itemCount: h,
1241
1247
  minimumBatchSize: f,
1242
1248
  startIndex: Math.max(0, i - D),
1243
- stopIndex: Math.min(h - 1, o + D)
1249
+ stopIndex: Math.min(h - 1, r + D)
1244
1250
  });
1245
1251
  (this._memoizedUnloadedRanges.length !== A.length || this._memoizedUnloadedRanges.some(function(S, T) {
1246
1252
  return A[T] !== S;
@@ -1249,54 +1255,54 @@ var rs = function(e, t) {
1249
1255
  }, {
1250
1256
  key: "_loadUnloadedRanges",
1251
1257
  value: function(i) {
1252
- for (var o = this, m = this.props.loadMoreItems || this.props.loadMoreRows, l = function(f) {
1258
+ for (var r = this, m = this.props.loadMoreItems || this.props.loadMoreRows, c = function(f) {
1253
1259
  var N = i[f], D = i[f + 1], A = m(N, D);
1254
1260
  A != null && A.then(function() {
1255
1261
  if (ss({
1256
- lastRenderedStartIndex: o._lastRenderedStartIndex,
1257
- lastRenderedStopIndex: o._lastRenderedStopIndex,
1262
+ lastRenderedStartIndex: r._lastRenderedStartIndex,
1263
+ lastRenderedStopIndex: r._lastRenderedStopIndex,
1258
1264
  startIndex: N,
1259
1265
  stopIndex: D
1260
1266
  })) {
1261
- if (o._listRef == null)
1267
+ if (r._listRef == null)
1262
1268
  return;
1263
- typeof o._listRef.resetAfterIndex == "function" ? o._listRef.resetAfterIndex(N, !0) : (typeof o._listRef._getItemStyleCache == "function" && o._listRef._getItemStyleCache(-1), o._listRef.forceUpdate());
1269
+ typeof r._listRef.resetAfterIndex == "function" ? r._listRef.resetAfterIndex(N, !0) : (typeof r._listRef._getItemStyleCache == "function" && r._listRef._getItemStyleCache(-1), r._listRef.forceUpdate());
1264
1270
  }
1265
1271
  });
1266
1272
  }, h = 0; h < i.length; h += 2)
1267
- l(h);
1273
+ c(h);
1268
1274
  }
1269
1275
  }]), t;
1270
1276
  }(Ce);
1271
- const cs = /* @__PURE__ */ r("div")({
1277
+ const cs = /* @__PURE__ */ o("div")({
1272
1278
  name: "Container",
1273
1279
  class: "culdu4a",
1274
1280
  propsAsIs: !1
1275
- }), ds = /* @__PURE__ */ r("div")({
1281
+ }), ds = /* @__PURE__ */ o("div")({
1276
1282
  name: "Position",
1277
1283
  class: "pwf8e69",
1278
1284
  propsAsIs: !1
1279
- }), us = /* @__PURE__ */ r("img")({
1285
+ }), us = /* @__PURE__ */ o("img")({
1280
1286
  name: "Avatar",
1281
1287
  class: "atf4yh4",
1282
1288
  propsAsIs: !1
1283
- }), ps = /* @__PURE__ */ r("div")({
1289
+ }), ps = /* @__PURE__ */ o("div")({
1284
1290
  name: "AvatarPlaceholder",
1285
1291
  class: "a1dg29ja",
1286
1292
  propsAsIs: !1
1287
- }), ms = /* @__PURE__ */ r("div")({
1293
+ }), ms = /* @__PURE__ */ o("div")({
1288
1294
  name: "Content",
1289
1295
  class: "c10a68rc",
1290
1296
  propsAsIs: !1
1291
- }), hs = /* @__PURE__ */ r("div")({
1297
+ }), hs = /* @__PURE__ */ o("div")({
1292
1298
  name: "NameContainer",
1293
1299
  class: "nc4kck5",
1294
1300
  propsAsIs: !1
1295
- }), Is = /* @__PURE__ */ r("span")({
1301
+ }), Is = /* @__PURE__ */ o("span")({
1296
1302
  name: "Name",
1297
1303
  class: "njsrqgr",
1298
1304
  propsAsIs: !1
1299
- }), fs = () => j, gs = /* @__PURE__ */ r(fs())({
1305
+ }), fs = () => j, gs = /* @__PURE__ */ o(fs())({
1300
1306
  name: "CurrentUserBadge",
1301
1307
  class: "c17uc4zr",
1302
1308
  propsAsIs: !0
@@ -1305,20 +1311,20 @@ const cs = /* @__PURE__ */ r("div")({
1305
1311
  avatar: t,
1306
1312
  name: n,
1307
1313
  points: i,
1308
- isCurrentUser: o,
1314
+ isCurrentUser: r,
1309
1315
  openItemDetail: m,
1310
- style: l
1311
- }) => /* @__PURE__ */ c(cs, { onClick: m, style: l, children: [
1316
+ style: c
1317
+ }) => /* @__PURE__ */ l(cs, { onClick: m, style: c, children: [
1312
1318
  /* @__PURE__ */ s(ds, { children: e || 0 }),
1313
- /* @__PURE__ */ c(ms, { children: [
1319
+ /* @__PURE__ */ l(ms, { children: [
1314
1320
  t ? /* @__PURE__ */ s(us, { alt: "leaderboard-item-avatar", src: t }) : /* @__PURE__ */ s(ps, { children: Ee(n || "") }),
1315
- /* @__PURE__ */ c(hs, { children: [
1321
+ /* @__PURE__ */ l(hs, { children: [
1316
1322
  /* @__PURE__ */ s(Is, { children: n || "" }),
1317
- o && /* @__PURE__ */ s(gs, { name: "icon-star" })
1323
+ r && /* @__PURE__ */ s(gs, { name: "icon-star" })
1318
1324
  ] })
1319
1325
  ] }),
1320
1326
  /* @__PURE__ */ s("div", { children: Le(i) })
1321
- ] }), Ms = /* @__PURE__ */ r("div")({
1327
+ ] }), Ms = /* @__PURE__ */ o("div")({
1322
1328
  name: "ScrollContainer",
1323
1329
  class: "s13d8sg6",
1324
1330
  propsAsIs: !1
@@ -1327,20 +1333,20 @@ const cs = /* @__PURE__ */ r("div")({
1327
1333
  currentUserId: t,
1328
1334
  openItemDetail: n,
1329
1335
  fetchMore: i
1330
- }) => /* @__PURE__ */ s(Ve, { children: ({ width: o, height: m }) => /* @__PURE__ */ s(
1336
+ }) => /* @__PURE__ */ s(Ve, { children: ({ width: r, height: m }) => /* @__PURE__ */ s(
1331
1337
  ls,
1332
1338
  {
1333
- isItemLoaded: (l) => l < e.length,
1339
+ isItemLoaded: (c) => c < e.length,
1334
1340
  itemCount: e.length + 1,
1335
1341
  loadMoreItems: i,
1336
- children: ({ onItemsRendered: l, ref: h }) => /* @__PURE__ */ s(Ms, { children: /* @__PURE__ */ s(
1342
+ children: ({ onItemsRendered: c, ref: h }) => /* @__PURE__ */ s(Ms, { children: /* @__PURE__ */ s(
1337
1343
  ns,
1338
1344
  {
1339
1345
  itemSize: 56,
1340
- onItemsRendered: l,
1346
+ onItemsRendered: c,
1341
1347
  ref: h,
1342
1348
  itemCount: e.length,
1343
- width: o,
1349
+ width: r,
1344
1350
  height: m,
1345
1351
  children: ({ index: d, style: f }) => /* @__PURE__ */ s(
1346
1352
  vs,
@@ -1388,39 +1394,39 @@ const cs = /* @__PURE__ */ r("div")({
1388
1394
  currentUserId: e.currentUserId.get()
1389
1395
  }
1390
1396
  ) : /* @__PURE__ */ s(Ns, { deepLink: e.deepLink });
1391
- }, Ts = /* @__PURE__ */ r("div")({
1397
+ }, Ts = /* @__PURE__ */ o("div")({
1392
1398
  name: "QuestionItem",
1393
1399
  class: "q1w97g3p",
1394
1400
  propsAsIs: !1
1395
- }), Ds = /* @__PURE__ */ r("div")({
1401
+ }), Ds = /* @__PURE__ */ o("div")({
1396
1402
  name: "QuestionCaption",
1397
1403
  class: "q2sl39u",
1398
1404
  propsAsIs: !1
1399
- }), Ss = /* @__PURE__ */ r("div")({
1405
+ }), Ss = /* @__PURE__ */ o("div")({
1400
1406
  name: "QuestionBody",
1401
1407
  class: "qd5h0uc",
1402
1408
  propsAsIs: !1
1403
- }), zs = /* @__PURE__ */ r("div")({
1409
+ }), zs = /* @__PURE__ */ o("div")({
1404
1410
  name: "QuestionAction",
1405
1411
  class: "q105uluy",
1406
1412
  propsAsIs: !1
1407
- }), xs = () => j, Z = /* @__PURE__ */ r(xs())({
1413
+ }), xs = () => j, Z = /* @__PURE__ */ o(xs())({
1408
1414
  name: "QuestionActionIcon",
1409
1415
  class: "q1fa0b9h",
1410
1416
  propsAsIs: !0
1411
- }), Os = () => j, js = /* @__PURE__ */ r(Os())({
1417
+ }), Os = () => j, js = /* @__PURE__ */ o(Os())({
1412
1418
  name: "QuestionTypeIcon",
1413
1419
  class: "qxlt78s",
1414
1420
  propsAsIs: !0
1415
- }), bs = /* @__PURE__ */ r("div")({
1421
+ }), bs = /* @__PURE__ */ o("div")({
1416
1422
  name: "QuestionTypeLabel",
1417
1423
  class: "qmg0vkx",
1418
1424
  propsAsIs: !1
1419
- }), Cs = /* @__PURE__ */ r("div")({
1425
+ }), Cs = /* @__PURE__ */ o("div")({
1420
1426
  name: "QuestionContent",
1421
1427
  class: "q1uz5j1g",
1422
1428
  propsAsIs: !1
1423
- }), ks = /* @__PURE__ */ r("button")({
1429
+ }), ks = /* @__PURE__ */ o("button")({
1424
1430
  name: "PlayButton",
1425
1431
  class: "p1pba9p1",
1426
1432
  propsAsIs: !1
@@ -1434,14 +1440,14 @@ const cs = /* @__PURE__ */ r("div")({
1434
1440
  questionType: t,
1435
1441
  questionStatus: n,
1436
1442
  subject: i,
1437
- openForVoting: o,
1443
+ openForVoting: r,
1438
1444
  openQuestion: m,
1439
- status: l
1445
+ status: c
1440
1446
  }) => {
1441
- const h = Oe[t], d = ws[l];
1442
- return h ? /* @__PURE__ */ c(Ts, { onClick: () => m == null ? void 0 : m(e), children: [
1443
- /* @__PURE__ */ c(Cs, { children: [
1444
- /* @__PURE__ */ c(Ds, { children: [
1447
+ const h = Oe[t], d = ws[c];
1448
+ return h ? /* @__PURE__ */ l(Ts, { onClick: () => m == null ? void 0 : m(e), children: [
1449
+ /* @__PURE__ */ l(Cs, { children: [
1450
+ /* @__PURE__ */ l(Ds, { children: [
1445
1451
  /* @__PURE__ */ s(
1446
1452
  js,
1447
1453
  {
@@ -1450,20 +1456,20 @@ const cs = /* @__PURE__ */ r("div")({
1450
1456
  name: h.iconName
1451
1457
  }
1452
1458
  ),
1453
- /* @__PURE__ */ c(bs, { children: [
1459
+ /* @__PURE__ */ l(bs, { children: [
1454
1460
  h.label,
1455
1461
  t === z.TRIVIA && n === E.RESOLVED && " • Expired"
1456
1462
  ] })
1457
1463
  ] }),
1458
1464
  /* @__PURE__ */ s(Ss, { children: i || "" })
1459
1465
  ] }),
1460
- /* @__PURE__ */ s(zs, { children: o ? /* @__PURE__ */ s(ks, { children: "Play" }) : d })
1466
+ /* @__PURE__ */ s(zs, { children: r ? /* @__PURE__ */ s(ks, { children: "Play" }) : d })
1461
1467
  ] }) : null;
1462
- }, Ls = /* @__PURE__ */ r("div")({
1468
+ }, Ls = /* @__PURE__ */ o("div")({
1463
1469
  name: "Container",
1464
1470
  class: "cll3md7",
1465
1471
  propsAsIs: !1
1466
- }), $s = /* @__PURE__ */ r("button")({
1472
+ }), $s = /* @__PURE__ */ o("button")({
1467
1473
  name: "ActionBtn",
1468
1474
  class: "a10g1iik",
1469
1475
  propsAsIs: !1
@@ -1471,22 +1477,22 @@ const cs = /* @__PURE__ */ r("div")({
1471
1477
  openInsight: e,
1472
1478
  questionId: t,
1473
1479
  ...n
1474
- }) => /* @__PURE__ */ c(Ls, { children: [
1475
- /* @__PURE__ */ s(Qe, { questionId: t, ...n }),
1480
+ }) => /* @__PURE__ */ l(Ls, { children: [
1481
+ /* @__PURE__ */ s(Qe, { questionId: t, ...n, isPickHistory: !0 }),
1476
1482
  e && /* @__PURE__ */ s($s, { onClick: () => e(t), children: "View Insight" })
1477
- ] }), Qs = /* @__PURE__ */ r("div")({
1483
+ ] }), Qs = /* @__PURE__ */ o("div")({
1478
1484
  name: "Container",
1479
1485
  class: "cl56x6b",
1480
1486
  propsAsIs: !1
1481
- }), Us = () => Fe, qs = /* @__PURE__ */ r(Us())({
1487
+ }), Us = () => Fe, qs = /* @__PURE__ */ o(Us())({
1482
1488
  name: "ActionButton",
1483
1489
  class: "a11pzf92",
1484
1490
  propsAsIs: !0
1485
- }), Ps = /* @__PURE__ */ r("div")({
1491
+ }), Ps = /* @__PURE__ */ o("div")({
1486
1492
  name: "DateTime",
1487
1493
  class: "d1hbaleq",
1488
1494
  propsAsIs: !1
1489
- }), _s = /* @__PURE__ */ r("blockquote")({
1495
+ }), _s = /* @__PURE__ */ o("blockquote")({
1490
1496
  name: "Quote",
1491
1497
  class: "qvvgqjm",
1492
1498
  propsAsIs: !1
@@ -1497,17 +1503,17 @@ const cs = /* @__PURE__ */ r("div")({
1497
1503
  }) => {
1498
1504
  const i = w(() => {
1499
1505
  if (t) {
1500
- const o = new Date(t);
1501
- if (ue(o))
1506
+ const r = new Date(t);
1507
+ if (ue(r))
1502
1508
  return {
1503
- date: ce(o),
1504
- time: de(o)
1509
+ date: ce(r),
1510
+ time: de(r)
1505
1511
  };
1506
1512
  }
1507
1513
  return null;
1508
1514
  }, [t]);
1509
- return /* @__PURE__ */ c(Qs, { children: [
1510
- i && /* @__PURE__ */ c(Ps, { children: [
1515
+ return /* @__PURE__ */ l(Qs, { children: [
1516
+ i && /* @__PURE__ */ l(Ps, { children: [
1511
1517
  i.date,
1512
1518
  " · ",
1513
1519
  i.time
@@ -1516,23 +1522,23 @@ const cs = /* @__PURE__ */ r("div")({
1516
1522
  /* @__PURE__ */ s(je, { ...n }),
1517
1523
  e && /* @__PURE__ */ s(qs, { onClick: () => e(n.tweetId), children: "View Insight" })
1518
1524
  ] });
1519
- }, Vs = /* @__PURE__ */ r("div")({
1525
+ }, Vs = /* @__PURE__ */ o("div")({
1520
1526
  name: "QuestionsContainer",
1521
1527
  class: "qvghv3l",
1522
1528
  propsAsIs: !1
1523
1529
  }), Ws = ({ questions: e, openQuestion: t }) => /* @__PURE__ */ s(Vs, { children: e == null ? void 0 : e.map((n) => {
1524
- var i, o, m;
1530
+ var i, r, m;
1525
1531
  if (n.type === "question" && ((i = n.attributes) == null ? void 0 : i.attributes.case) === "question") {
1526
- const l = n.attributes.attributes.value;
1527
- return /* @__PURE__ */ s(Es, { openQuestion: t, ...l }, l.questionId);
1532
+ const c = n.attributes.attributes.value;
1533
+ return /* @__PURE__ */ s(Es, { openQuestion: t, ...c }, c.questionId);
1528
1534
  }
1529
- if (n.type === "insight" && ((o = n.attributes) == null ? void 0 : o.attributes.case) === "insight") {
1530
- const l = n.attributes.attributes.value;
1531
- return /* @__PURE__ */ s(Rs, { openInsight: t, ...l }, l.questionId);
1535
+ if (n.type === "insight" && ((r = n.attributes) == null ? void 0 : r.attributes.case) === "insight") {
1536
+ const c = n.attributes.attributes.value;
1537
+ return /* @__PURE__ */ s(Rs, { openInsight: t, ...c }, c.questionId);
1532
1538
  }
1533
1539
  if (n.type === "tweet" && ((m = n.attributes) == null ? void 0 : m.attributes.case) === "tweet") {
1534
- const l = n.attributes.attributes.value, h = n.attributes.id, d = n.attributes.created;
1535
- return /* @__PURE__ */ s(Ys, { openTweet: t, ...l, tweetId: h, created: d }, h);
1540
+ const c = n.attributes.attributes.value, h = n.attributes.id, d = n.attributes.created;
1541
+ return /* @__PURE__ */ s(Ys, { openTweet: t, ...c, tweetId: h, created: d }, h);
1536
1542
  }
1537
1543
  return null;
1538
1544
  }) }), Fs = ({ store: e, openQuestion: t }) => {
@@ -1542,18 +1548,18 @@ const cs = /* @__PURE__ */ r("div")({
1542
1548
  var t;
1543
1549
  const [n, i] = L(void 0);
1544
1550
  return be(() => {
1545
- const o = e.subscribe((m) => {
1551
+ const r = e.subscribe((m) => {
1546
1552
  m != null && m.data && i(m.data);
1547
1553
  });
1548
1554
  return () => {
1549
- o();
1555
+ r();
1550
1556
  };
1551
1557
  }, [e]), n != null && n.summary ? /* @__PURE__ */ s($e, { ...n.summary, successRate: (t = n.percentage) == null ? void 0 : t.correct }) : /* @__PURE__ */ s("div", { children: "wait user..." });
1552
1558
  }, Hs = ({
1553
1559
  gamification: e
1554
1560
  }) => {
1555
1561
  const [t, n] = L(J.HOME);
1556
- return /* @__PURE__ */ c("div", {
1562
+ return /* @__PURE__ */ l("div", {
1557
1563
  style: {
1558
1564
  height: "100%",
1559
1565
  display: "flex",
@@ -1568,7 +1574,7 @@ const cs = /* @__PURE__ */ r("div")({
1568
1574
  activePage: t,
1569
1575
  toggleActivePage: n
1570
1576
  })
1571
- }), t === J.HOME && /* @__PURE__ */ c(le, {
1577
+ }), t === J.HOME && /* @__PURE__ */ l(le, {
1572
1578
  children: [/* @__PURE__ */ s(re, {
1573
1579
  style: {
1574
1580
  paddingTop: "12px"
@@ -1589,11 +1595,11 @@ const cs = /* @__PURE__ */ r("div")({
1589
1595
  })
1590
1596
  })]
1591
1597
  });
1592
- }, Gs = () => He, xe = /* @__PURE__ */ r(Gs())({
1598
+ }, Gs = () => He, xe = /* @__PURE__ */ o(Gs())({
1593
1599
  name: "OpenedContainer",
1594
1600
  class: "oar61gl",
1595
1601
  propsAsIs: !0
1596
- }), Zs = /* @__PURE__ */ r("div")({
1602
+ }), Zs = /* @__PURE__ */ o("div")({
1597
1603
  name: "UserContainer",
1598
1604
  class: "u14zaal4",
1599
1605
  propsAsIs: !1
@@ -1608,7 +1614,7 @@ const cs = /* @__PURE__ */ r("div")({
1608
1614
  className: t
1609
1615
  }) => {
1610
1616
  const n = Q(e.openedQuestion.$store), i = Q(e.openedUser);
1611
- return /* @__PURE__ */ c(k, {
1617
+ return /* @__PURE__ */ l(k, {
1612
1618
  children: [n && /* @__PURE__ */ s(xe, {
1613
1619
  className: t,
1614
1620
  children: /* @__PURE__ */ s(Pn, {
@@ -1616,7 +1622,7 @@ const cs = /* @__PURE__ */ r("div")({
1616
1622
  })
1617
1623
  }), i && /* @__PURE__ */ s(xe, {
1618
1624
  className: t,
1619
- children: /* @__PURE__ */ c(Zs, {
1625
+ children: /* @__PURE__ */ l(Zs, {
1620
1626
  children: [/* @__PURE__ */ s(we, {
1621
1627
  label: "Friend's Rank",
1622
1628
  close: e.closeUser