@streamlayer/react 0.29.4 → 0.29.5
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/cjs/masters.js +1 -1
- package/lib/dist/cjs/masters.js +1 -1
- package/lib/dist/es/masters.js +1 -1
- package/lib/dist/index-bee6e4ec.cjs +1 -0
- package/lib/dist/{index-660952d7.js → index-c9c374fc.js} +550 -433
- package/lib/dist/index.d.ts +17 -0
- package/lib/dist/{masters-8c4e7068.js → masters-55ee878f.js} +379 -367
- package/lib/dist/{masters-7ea5d23e.cjs → masters-cbaf9f64.cjs} +8 -8
- package/lib/dist/style.css +14 -0
- package/lib/es/masters.js +1 -1
- package/lib/index-097ba5f5.cjs +6 -0
- package/lib/{index-efde52fd.js → index-aa64b1f2.js} +778 -661
- package/lib/{masters-05fe9e78.cjs → masters-541db712.cjs} +1 -1
- package/lib/{masters-e142c21e.js → masters-e3fde211.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +7 -7
- package/lib/dist/index-72e4d21b.cjs +0 -1
- package/lib/index-eb5039cd.cjs +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { s as o, C as
|
|
3
|
-
import
|
|
4
|
-
const ot = () =>
|
|
1
|
+
import { jsxs as v, jsx as a, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { s as o, C as x, o as Oe, a as Ee, i as je, Q as D, b as Y, c as L, E as C, r as Le, d as Je, e as Ke, n as Xe, w as et, u as O, f as tt, P as F, g as ne, h as st, j as nt } from "./masters-55ee878f.js";
|
|
3
|
+
import Q, { useRef as E, useState as $, useCallback as G, useEffect as it, useLayoutEffect as rt, useMemo as H, Component as at, createElement as B, PureComponent as Ce } from "react";
|
|
4
|
+
const ot = () => x, lt = () => x, ct = /* @__PURE__ */ o("div")({
|
|
5
5
|
name: "a",
|
|
6
6
|
class: "acysrl1",
|
|
7
7
|
propsAsIs: !1
|
|
@@ -26,9 +26,9 @@ const ot = () => w, lt = () => w, ct = /* @__PURE__ */ o("div")({
|
|
|
26
26
|
class: "g1m0xfmw",
|
|
27
27
|
propsAsIs: !0
|
|
28
28
|
}), $e = ({ type: t, close: e, label: s }) => {
|
|
29
|
-
const n = t ?
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
29
|
+
const n = t ? Oe[t] : { label: s, iconName: void 0 };
|
|
30
|
+
return /* @__PURE__ */ v(ct, { children: [
|
|
31
|
+
/* @__PURE__ */ v(dt, { children: [
|
|
32
32
|
(n == null ? void 0 : n.iconName) && /* @__PURE__ */ a(ut, { name: n.iconName }),
|
|
33
33
|
(n == null ? void 0 : n.label) && /* @__PURE__ */ a(pt, { children: n.label })
|
|
34
34
|
] }),
|
|
@@ -47,7 +47,7 @@ const ft = /* @__PURE__ */ o("div")({
|
|
|
47
47
|
name: "i",
|
|
48
48
|
class: "i1whkbqh",
|
|
49
49
|
propsAsIs: !1
|
|
50
|
-
}), pe = ({ indicator: t, title: e }) => /* @__PURE__ */
|
|
50
|
+
}), pe = ({ indicator: t, title: e }) => /* @__PURE__ */ v(ft, { children: [
|
|
51
51
|
/* @__PURE__ */ a(gt, { children: e }),
|
|
52
52
|
/* @__PURE__ */ a(It, { children: t })
|
|
53
53
|
] });
|
|
@@ -63,7 +63,7 @@ const vt = /* @__PURE__ */ o("div")({
|
|
|
63
63
|
name: "n",
|
|
64
64
|
class: "nwzed99",
|
|
65
65
|
propsAsIs: !1
|
|
66
|
-
}), V = ({ indicator: t, title: e }) => /* @__PURE__ */
|
|
66
|
+
}), V = ({ indicator: t, title: e }) => /* @__PURE__ */ v(vt, { children: [
|
|
67
67
|
/* @__PURE__ */ a(Mt, { children: t }),
|
|
68
68
|
/* @__PURE__ */ a(yt, { children: e })
|
|
69
69
|
] });
|
|
@@ -75,15 +75,15 @@ const zt = /* @__PURE__ */ o("div")({
|
|
|
75
75
|
name: "i",
|
|
76
76
|
class: "ihjewwf",
|
|
77
77
|
propsAsIs: !1
|
|
78
|
-
}),
|
|
78
|
+
}), At = /* @__PURE__ */ o("div")({
|
|
79
79
|
name: "n",
|
|
80
80
|
class: "n10e9lv8",
|
|
81
81
|
propsAsIs: !1
|
|
82
|
-
}),
|
|
82
|
+
}), _t = /* @__PURE__ */ o("div")({
|
|
83
83
|
name: "r",
|
|
84
84
|
class: "r13bxv",
|
|
85
85
|
propsAsIs: !1
|
|
86
|
-
}),
|
|
86
|
+
}), Tt = /* @__PURE__ */ o("img")({
|
|
87
87
|
name: "a",
|
|
88
88
|
class: "a1fi59c9",
|
|
89
89
|
propsAsIs: !1
|
|
@@ -91,11 +91,11 @@ const zt = /* @__PURE__ */ o("div")({
|
|
|
91
91
|
name: "s",
|
|
92
92
|
class: "s1kkihge",
|
|
93
93
|
propsAsIs: !1
|
|
94
|
-
}),
|
|
94
|
+
}), xt = /* @__PURE__ */ o("div")({
|
|
95
95
|
name: "c",
|
|
96
96
|
class: "cy4f4t",
|
|
97
97
|
propsAsIs: !1
|
|
98
|
-
}),
|
|
98
|
+
}), Dt = /* @__PURE__ */ o("div")({
|
|
99
99
|
name: "p",
|
|
100
100
|
class: "p18cnlx1",
|
|
101
101
|
propsAsIs: !1
|
|
@@ -103,19 +103,19 @@ const zt = /* @__PURE__ */ o("div")({
|
|
|
103
103
|
name: "l",
|
|
104
104
|
class: "lboqgs5",
|
|
105
105
|
propsAsIs: !1
|
|
106
|
-
}),
|
|
106
|
+
}), kt = /* @__PURE__ */ o("div")({
|
|
107
107
|
name: "d",
|
|
108
108
|
class: "d1oaal4",
|
|
109
109
|
propsAsIs: !1
|
|
110
|
-
}),
|
|
110
|
+
}), bt = /* @__PURE__ */ o("div")({
|
|
111
111
|
name: "x",
|
|
112
112
|
class: "x1yzgo0u",
|
|
113
113
|
propsAsIs: !1
|
|
114
|
-
}),
|
|
114
|
+
}), Ot = /* @__PURE__ */ o("div")({
|
|
115
115
|
name: "f",
|
|
116
116
|
class: "f1l9i8s8",
|
|
117
117
|
propsAsIs: !1
|
|
118
|
-
}),
|
|
118
|
+
}), Et = /* @__PURE__ */ o("div")({
|
|
119
119
|
name: "g",
|
|
120
120
|
class: "g4cgl4u",
|
|
121
121
|
propsAsIs: !1
|
|
@@ -131,39 +131,39 @@ const zt = /* @__PURE__ */ o("div")({
|
|
|
131
131
|
name: "m",
|
|
132
132
|
class: "mvj8oco",
|
|
133
133
|
propsAsIs: !1
|
|
134
|
-
}),
|
|
134
|
+
}), $t = /* @__PURE__ */ o("button")({
|
|
135
135
|
name: "v",
|
|
136
136
|
class: "viqiaf2",
|
|
137
137
|
propsAsIs: !1
|
|
138
|
-
}),
|
|
138
|
+
}), Rt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5OTY2IDguMDI0NTEgMi43NDQ4NyA3LjY2NDg2IDIuMTM5MSA3LjEzMDE0QzEuNTMzMzMgNi41OTU0MiAxLjIzMDQ2IDYuMDc5OCAxLjIzMDQ2IDUuNTgzMjhWNC42NjY2MkgzLjY5MTk3Wk0xNC43Njg2IDQuNjY2NjJWNS41ODMyOEMxNC43Njg2IDYuMDc5OCAxNC40NjU4IDYuNTk1NDIgMTMuODYgNy4xMzAxNEMxMy4yNTQyIDcuNjY0ODYgMTIuNDk5NCA4LjAyNDUxIDExLjU5NTYgOC4yMDkxMkMxMi4wNjk5IDcuMTc3ODcgMTIuMzA3MSA1Ljk5NzA1IDEyLjMwNzEgNC42NjY2MkgxNC43Njg2Wk0xNS45OTk4IDUuNTgzMjlWNC4zNjEwOEMxNS45OTk4IDQuMTA2NDUgMTUuOTEwMSAzLjg5MDAyIDE1LjczMDYgMy43MTE3OEMxNS41NTExIDMuNTMzNTQgMTUuMzMzMiAzLjQ0NDQyIDE1LjA3NjggMy40NDQ0MkgxMi4zMDc2VjIuNTI3NzZDMTIuMzA3NiAyLjEwNzYzIDEyLjE1NjkgMS43NDc5NyAxMS44NTU2IDEuNDQ4NzhDMTEuNTU0NCAxLjE0OTU5IDExLjE5MjIgMSAxMC43NjkxIDFINS4yMzA3MkM0LjgwNzY0IDEgNC40NDU0NyAxLjE0OTU5IDQuMTQ0MTkgMS40NDg3OEMzLjg0MjkxIDEuNzQ3OTcgMy42OTIyNyAyLjEwNzYzIDMuNjkyMjcgMi41Mjc3NlYzLjQ0NDQySDAuOTIzMDY4QzAuNjY2NjU5IDMuNDQ0NDIgMC40NDg3MTQgMy41MzM1NCAwLjI2OTIyOCAzLjcxMTc4QzAuMDg5NzQxOCAzLjg5MDAyIDAgNC4xMDY0NSAwIDQuMzYxMDhWNS41ODMyOUMwIDYuMDM1MjUgMC4xMzMwMSA2LjQ5MDM5IDAuMzk5MDM0IDYuOTQ4NzJDMC42NjUwNTkgNy40MDcwNSAxLjAyNDAzIDcuODIwODIgMS40NzU5NSA4LjE5MDAzQzEuOTI3ODcgOC41NTkyNCAyLjQ4MjM0IDguODY5NTcgMy4xMzkzOSA5LjEyMTAxQzMuNzk2NDQgOS4zNzI0NiA0LjQ4NzEzIDkuNTE0MDkgNS4yMTE0OSA5LjU0NTkyQzUuNDgwNzEgOS44ODk2NyA1Ljc4NTIgMTAuMTkyIDYuMTI0OTQgMTAuNDUzQzYuMzY4NTMgMTAuNjY5NSA2LjUzNjc5IDEwLjkwMDIgNi42Mjk3NCAxMS4xNDUzQzYuNzIyNjkgMTEuMzkwNCA2Ljc2OTE2IDExLjY3NTIgNi43NjkxNiAxMS45OTk5QzYuNzY5MTYgMTIuMzQzNiA2LjY3MTQxIDEyLjYzMzMgNi40NzU5IDEyLjg2ODhDNi4yODAzOCAxMy4xMDQzIDUuOTY3ODkgMTMuMjIyMSA1LjUzODQxIDEzLjIyMjFDNS4wNTc2NCAxMy4yMjIxIDQuNjI5NzYgMTMuMzY2OSA0LjI1NDc2IDEzLjY1NjZDMy44Nzk3NyAxMy45NDYyIDMuNjkyMjcgMTQuMzEwNiAzLjY5MjI3IDE0Ljc0OTlWMTUuMzYxQzMuNjkyMjcgMTUuNDUwMSAzLjcyMTEyIDE1LjUyMzMgMy43Nzg4MSAxNS41ODA2QzMuODM2NSAxNS42Mzc5IDMuOTEwMjIgMTUuNjY2NSAzLjk5OTk2IDE1LjY2NjVIMTEuOTk5OUMxMi4wODk2IDE1LjY2NjUgMTIuMTYzMyAxNS42Mzc5IDEyLjIyMSAxNS41ODA2QzEyLjI3ODcgMTUuNTIzMyAxMi4zMDc2IDE1LjQ1MDEgMTIuMzA3NiAxNS4zNjFWMTQuNzQ5OUMxMi4zMDc2IDE0LjMxMDYgMTIuMTIwMSAxMy45NDYyIDExLjc0NTEgMTMuNjU2NkMxMS4zNzAxIDEzLjM2NjkgMTAuOTQyMiAxMy4yMjIxIDEwLjQ2MTQgMTMuMjIyMUMxMC4wMzE5IDEzLjIyMjEgOS43MTk0NSAxMy4xMDQzIDkuNTIzOTQgMTIuODY4OEM5LjMyODQzIDEyLjYzMzMgOS4yMzA2OCAxMi4zNDM2IDkuMjMwNjggMTEuOTk5OUM5LjIzMDY4IDExLjY3NTIgOS4yNzcxNSAxMS4zOTA0IDkuMzcwMSAxMS4xNDUzQzkuNDYzMDUgMTAuOTAwMiA5LjYzMTMxIDEwLjY2OTUgOS44NzQ5IDEwLjQ1M0MxMC4yMTQ2IDEwLjE5MiAxMC41MTkxIDkuODg5NjcgMTAuNzg4NCA5LjU0NTkyQzExLjUxMjcgOS41MTQwOSAxMi4yMDM0IDkuMzcyNDYgMTIuODYwNCA5LjEyMTAxQzEzLjUxNzUgOC44Njk1NyAxNC4wNzIgOC41NTkyNCAxNC41MjM5IDguMTkwMDNDMTQuOTc1OCA3LjgyMDgyIDE1LjMzNDggNy40MDcwNSAxNS42MDA4IDYuOTQ4NzJDMTUuODY2OCA2LjQ5MDM5IDE1Ljk5OTggNi4wMzUyNSAxNS45OTk4IDUuNTgzMjlaTTYuNzYwNDcgNy4xNzk4TDguMDUxMDkgNi40OTk5N0w5LjM0MTcgNy4xNzk4TDkuMDk1MjEgNS43Mzk4OUwxMC4xMzkzIDQuNzIwMTVMOC42OTYzOSA0LjUxMDA3TDguMDUxMDkgMy4yTDcuNDA1NzggNC41MTAwN0w1Ljk2MjgzIDQuNzIwMTVMNy4wMDY5NiA1LjczOTg5TDYuNzYwNDcgNy4xNzk4WiIgZmlsbD0iI0YyQzk0QyIvPgo8L2c+Cjwvc3ZnPgo=", Re = ({
|
|
139
139
|
avatar: t,
|
|
140
140
|
name: e,
|
|
141
141
|
points: s,
|
|
142
142
|
friendsRank: n,
|
|
143
143
|
rank: i,
|
|
144
|
-
streak:
|
|
145
|
-
correct:
|
|
144
|
+
streak: d,
|
|
145
|
+
correct: u,
|
|
146
146
|
incorrect: f,
|
|
147
147
|
inTop: m,
|
|
148
148
|
average: g
|
|
149
|
-
}) => /* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */ a(Nt, { children: /* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
t && /* @__PURE__ */ a(
|
|
153
|
-
!t && /* @__PURE__ */ a(Ct, { children:
|
|
149
|
+
}) => /* @__PURE__ */ v(zt, { children: [
|
|
150
|
+
/* @__PURE__ */ a(Nt, { children: /* @__PURE__ */ v(_t, { children: [
|
|
151
|
+
/* @__PURE__ */ v($t, { children: [
|
|
152
|
+
t && /* @__PURE__ */ a(Tt, { alt: "avatar", src: t }),
|
|
153
|
+
!t && /* @__PURE__ */ a(Ct, { children: Ee(e || "") })
|
|
154
154
|
] }),
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */ a(
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */ a(wt, { alt: "rank-icon", src:
|
|
160
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ v(St, { children: [
|
|
156
|
+
/* @__PURE__ */ a(xt, { children: e }),
|
|
157
|
+
/* @__PURE__ */ v(Dt, { children: [
|
|
158
|
+
/* @__PURE__ */ v(kt, { children: [
|
|
159
|
+
/* @__PURE__ */ a(wt, { alt: "rank-icon", src: Rt }),
|
|
160
|
+
/* @__PURE__ */ v(bt, { children: [
|
|
161
161
|
je(s),
|
|
162
|
-
/* @__PURE__ */ a(
|
|
162
|
+
/* @__PURE__ */ a(Ot, { children: "PTS" })
|
|
163
163
|
] })
|
|
164
164
|
] }),
|
|
165
|
-
/* @__PURE__ */ a(
|
|
166
|
-
/* @__PURE__ */
|
|
165
|
+
/* @__PURE__ */ a(Et, {}),
|
|
166
|
+
/* @__PURE__ */ v("div", { children: [
|
|
167
167
|
"TOP ",
|
|
168
168
|
m || 0,
|
|
169
169
|
"%"
|
|
@@ -171,24 +171,24 @@ const zt = /* @__PURE__ */ o("div")({
|
|
|
171
171
|
] })
|
|
172
172
|
] })
|
|
173
173
|
] }) }),
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ v(At, { children: [
|
|
175
|
+
/* @__PURE__ */ v(jt, { children: [
|
|
176
176
|
/* @__PURE__ */ a(pe, { indicator: n || 0, title: "Friends rank" }),
|
|
177
177
|
/* @__PURE__ */ a(pe, { indicator: i || 0, title: "Global rank" })
|
|
178
178
|
] }),
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
-
/* @__PURE__ */ a(V, { indicator:
|
|
181
|
-
/* @__PURE__ */ a(V, { indicator:
|
|
179
|
+
/* @__PURE__ */ v(Lt, { children: [
|
|
180
|
+
/* @__PURE__ */ a(V, { indicator: d || 0, title: "Win streak" }),
|
|
181
|
+
/* @__PURE__ */ a(V, { indicator: u || 0, title: "Correct" }),
|
|
182
182
|
/* @__PURE__ */ a(V, { indicator: f || 0, title: "Incorrect" }),
|
|
183
183
|
/* @__PURE__ */ a(V, { indicator: `${g || 0}%`, title: "Succ. rate" })
|
|
184
184
|
] })
|
|
185
185
|
] })
|
|
186
186
|
] });
|
|
187
|
-
const
|
|
187
|
+
const Qt = () => x, Ut = /* @__PURE__ */ o("div")({
|
|
188
188
|
name: "c",
|
|
189
189
|
class: "ciyeb68",
|
|
190
190
|
propsAsIs: !1
|
|
191
|
-
}), qt = /* @__PURE__ */ o(
|
|
191
|
+
}), qt = /* @__PURE__ */ o(Qt())({
|
|
192
192
|
name: "n",
|
|
193
193
|
class: "nfic4xc",
|
|
194
194
|
propsAsIs: !0
|
|
@@ -218,27 +218,27 @@ const Ut = () => w, Qt = /* @__PURE__ */ o("div")({
|
|
|
218
218
|
questionVoted: s,
|
|
219
219
|
questionType: n,
|
|
220
220
|
hasCorrectAnswer: i,
|
|
221
|
-
questionStatus:
|
|
221
|
+
questionStatus: d
|
|
222
222
|
}) => {
|
|
223
|
-
const
|
|
224
|
-
if (!
|
|
223
|
+
const u = s && (n === D.TRIVIA || n === D.PREDICTION);
|
|
224
|
+
if (!u && d !== Y.RESOLVED)
|
|
225
225
|
return null;
|
|
226
226
|
const f = n === D.PREDICTION && !i, m = e ? "correct" : "incorrect", g = e ? t.correctFeedback : t.incorrectFeedback;
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
|
|
229
|
-
/* @__PURE__ */ a(he, { children: /* @__PURE__ */ a(
|
|
230
|
-
/* @__PURE__ */
|
|
227
|
+
return /* @__PURE__ */ v(Ut, { "data-isPrediction": f, children: [
|
|
228
|
+
d === Y.RESOLVED && n === D.TRIVIA && !s && /* @__PURE__ */ v(q, { children: [
|
|
229
|
+
/* @__PURE__ */ a(he, { children: /* @__PURE__ */ a(x, { name: "questionExpired" }) }),
|
|
230
|
+
/* @__PURE__ */ v("div", { children: [
|
|
231
231
|
/* @__PURE__ */ a(me, { children: /* @__PURE__ */ a(J, { children: "Question Expired" }) }),
|
|
232
232
|
/* @__PURE__ */ a(Pt, { children: "You can still answer to see if you're correct, but no points are awarded for expired questions." })
|
|
233
233
|
] })
|
|
234
234
|
] }),
|
|
235
|
-
|
|
235
|
+
u && f && /* @__PURE__ */ v(q, { children: [
|
|
236
236
|
/* @__PURE__ */ a(qt, { name: "icon-prediction" }),
|
|
237
237
|
/* @__PURE__ */ a(J, { children: "Stay tuned to see if your prediction was correct." })
|
|
238
238
|
] }),
|
|
239
|
-
|
|
240
|
-
/* @__PURE__ */ a(he, { "data-feedbackType": m, children: /* @__PURE__ */ a(
|
|
241
|
-
/* @__PURE__ */ a("div", { children: /* @__PURE__ */
|
|
239
|
+
u && i && /* @__PURE__ */ v(q, { children: [
|
|
240
|
+
/* @__PURE__ */ a(he, { "data-feedbackType": m, children: /* @__PURE__ */ a(x, { name: m }) }),
|
|
241
|
+
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ v(me, { children: [
|
|
242
242
|
/* @__PURE__ */ a(Yt, { "data-feedbackType": m, children: g == null ? void 0 : g.title }),
|
|
243
243
|
/* @__PURE__ */ a(J, { children: g == null ? void 0 : g.description })
|
|
244
244
|
] }) })
|
|
@@ -262,7 +262,7 @@ const Ft = /* @__PURE__ */ o("div")({
|
|
|
262
262
|
class: "r82wnnx",
|
|
263
263
|
propsAsIs: !1
|
|
264
264
|
});
|
|
265
|
-
const Gt = () => Qe, Zt = () => Qe, Jt = () =>
|
|
265
|
+
const Gt = () => Qe, Zt = () => Qe, Jt = () => x, Kt = /* @__PURE__ */ o("button")({
|
|
266
266
|
name: "c",
|
|
267
267
|
class: "cpm4u8k",
|
|
268
268
|
propsAsIs: !1
|
|
@@ -339,9 +339,9 @@ const Gt = () => Qe, Zt = () => Qe, Jt = () => w, Kt = /* @__PURE__ */ o("button
|
|
|
339
339
|
id: s,
|
|
340
340
|
icon: n,
|
|
341
341
|
text: i,
|
|
342
|
-
percentageDecimal:
|
|
342
|
+
percentageDecimal: d,
|
|
343
343
|
// extra props
|
|
344
|
-
onVote:
|
|
344
|
+
onVote: u,
|
|
345
345
|
youSelected: f,
|
|
346
346
|
questionVoted: m,
|
|
347
347
|
// ToDo: Figure out why imageMode is not in the response, and delete default value
|
|
@@ -349,27 +349,27 @@ const Gt = () => Qe, Zt = () => Qe, Jt = () => w, Kt = /* @__PURE__ */ o("button
|
|
|
349
349
|
answerTimeExpired: N,
|
|
350
350
|
questionStatus: z,
|
|
351
351
|
isLoading: l,
|
|
352
|
-
questionType:
|
|
353
|
-
correct:
|
|
352
|
+
questionType: y,
|
|
353
|
+
correct: M,
|
|
354
354
|
hasCorrectAnswer: r
|
|
355
|
-
} = t, h = cs(t), c = ds({ questionType:
|
|
356
|
-
return /* @__PURE__ */
|
|
355
|
+
} = t, h = cs(t), c = ds({ questionType: y, questionVoted: m, correct: M, hasCorrectAnswer: r, questionStatus: z }), p = m || z === Y.RESOLVED && y === D.PREDICTION;
|
|
356
|
+
return /* @__PURE__ */ v(
|
|
357
357
|
Kt,
|
|
358
358
|
{
|
|
359
359
|
value: s,
|
|
360
360
|
"data-selected": f,
|
|
361
361
|
"data-answerState": h,
|
|
362
362
|
disabled: m || l || N,
|
|
363
|
-
onClick:
|
|
363
|
+
onClick: u,
|
|
364
364
|
children: [
|
|
365
|
-
|
|
366
|
-
/* @__PURE__ */
|
|
365
|
+
p && /* @__PURE__ */ a(Xt, { "data-answerState": h, style: { width: `${d}%` } }),
|
|
366
|
+
/* @__PURE__ */ v(es, { children: [
|
|
367
367
|
n && ((e = fe[g]) == null ? void 0 : e.call(fe, n)),
|
|
368
368
|
/* @__PURE__ */ a(rs, { children: i }),
|
|
369
|
-
|
|
369
|
+
p && /* @__PURE__ */ v(as, { children: [
|
|
370
370
|
c && /* @__PURE__ */ a(ls, { name: "selected" }),
|
|
371
|
-
/* @__PURE__ */
|
|
372
|
-
|
|
371
|
+
/* @__PURE__ */ v(os, { children: [
|
|
372
|
+
d,
|
|
373
373
|
"%"
|
|
374
374
|
] })
|
|
375
375
|
] })
|
|
@@ -378,89 +378,89 @@ const Gt = () => Qe, Zt = () => Qe, Jt = () => w, Kt = /* @__PURE__ */ o("button
|
|
|
378
378
|
}
|
|
379
379
|
);
|
|
380
380
|
};
|
|
381
|
-
var ge = typeof window > "u" ? it : rt, ps = ({ isPlaying: t, duration: e, startAt: s = 0, updateInterval: n = 0, onComplete: i, onUpdate:
|
|
382
|
-
let [
|
|
383
|
-
let
|
|
381
|
+
var ge = typeof window > "u" ? it : rt, ps = ({ isPlaying: t, duration: e, startAt: s = 0, updateInterval: n = 0, onComplete: i, onUpdate: d }) => {
|
|
382
|
+
let [u, f] = $(s), m = E(0), g = E(s), N = E(s * -1e3), z = E(null), l = E(null), y = E(null), M = (c) => {
|
|
383
|
+
let p = c / 1e3;
|
|
384
384
|
if (l.current === null) {
|
|
385
|
-
l.current =
|
|
385
|
+
l.current = p, z.current = requestAnimationFrame(M);
|
|
386
386
|
return;
|
|
387
387
|
}
|
|
388
|
-
let I =
|
|
389
|
-
l.current =
|
|
390
|
-
let
|
|
391
|
-
f(S ? e :
|
|
388
|
+
let I = p - l.current, _ = m.current + I;
|
|
389
|
+
l.current = p, m.current = _;
|
|
390
|
+
let A = g.current + (n === 0 ? _ : (_ / n | 0) * n), T = g.current + _, S = typeof e == "number" && T >= e;
|
|
391
|
+
f(S ? e : A), S || (z.current = requestAnimationFrame(M));
|
|
392
392
|
}, r = () => {
|
|
393
|
-
z.current && cancelAnimationFrame(z.current),
|
|
393
|
+
z.current && cancelAnimationFrame(z.current), y.current && clearTimeout(y.current), l.current = null;
|
|
394
394
|
}, h = G((c) => {
|
|
395
395
|
r(), m.current = 0;
|
|
396
|
-
let
|
|
397
|
-
g.current =
|
|
396
|
+
let p = typeof c == "number" ? c : s;
|
|
397
|
+
g.current = p, f(p), t && (z.current = requestAnimationFrame(M));
|
|
398
398
|
}, [t, s]);
|
|
399
399
|
return ge(() => {
|
|
400
|
-
if (
|
|
400
|
+
if (d == null || d(u), e && u >= e) {
|
|
401
401
|
N.current += e * 1e3;
|
|
402
|
-
let { shouldRepeat: c = !1, delay:
|
|
403
|
-
c && (
|
|
402
|
+
let { shouldRepeat: c = !1, delay: p = 0, newStartAt: I } = (i == null ? void 0 : i(N.current / 1e3)) || {};
|
|
403
|
+
c && (y.current = setTimeout(() => h(I), p * 1e3));
|
|
404
404
|
}
|
|
405
|
-
}, [
|
|
405
|
+
}, [u, e]), ge(() => (t && (z.current = requestAnimationFrame(M)), r), [t, e, n]), { elapsedTime: u, reset: h };
|
|
406
406
|
}, hs = (t, e, s) => {
|
|
407
|
-
let n = t / 2, i = e / 2,
|
|
408
|
-
return { path: `m ${n},${i} a ${
|
|
409
|
-
}, Ie = (t, e) => t === 0 || t === e ? 0 : typeof e == "number" ? t - e : 0, ms = (t) => ({ position: "relative", width: t, height: t }), fs = { display: "flex", justifyContent: "center", alignItems: "center", position: "absolute", left: 0, top: 0, width: "100%", height: "100%" },
|
|
407
|
+
let n = t / 2, i = e / 2, d = n - i, u = 2 * d, f = s === "clockwise" ? "1,0" : "0,1", m = 2 * Math.PI * d;
|
|
408
|
+
return { path: `m ${n},${i} a ${d},${d} 0 ${f} 0,${u} a ${d},${d} 0 ${f} 0,-${u}`, pathLength: m };
|
|
409
|
+
}, Ie = (t, e) => t === 0 || t === e ? 0 : typeof e == "number" ? t - e : 0, ms = (t) => ({ position: "relative", width: t, height: t }), fs = { display: "flex", justifyContent: "center", alignItems: "center", position: "absolute", left: 0, top: 0, width: "100%", height: "100%" }, Ue = (t, e, s, n, i) => {
|
|
410
410
|
if (n === 0)
|
|
411
411
|
return e;
|
|
412
|
-
let
|
|
413
|
-
return e + s *
|
|
412
|
+
let d = (i ? n - t : t) / n;
|
|
413
|
+
return e + s * d;
|
|
414
414
|
}, ve = (t) => {
|
|
415
415
|
var e, s;
|
|
416
|
-
return (s = (e = t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, (n, i,
|
|
416
|
+
return (s = (e = t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, (n, i, d, u) => `#${i}${i}${d}${d}${u}${u}`).substring(1).match(/.{2}/g)) == null ? void 0 : e.map((n) => parseInt(n, 16))) != null ? s : [];
|
|
417
417
|
}, gs = (t, e) => {
|
|
418
418
|
var s;
|
|
419
|
-
let { colors: n, colorsTime: i, isSmoothColorTransition:
|
|
419
|
+
let { colors: n, colorsTime: i, isSmoothColorTransition: d = !0 } = t;
|
|
420
420
|
if (typeof n == "string")
|
|
421
421
|
return n;
|
|
422
|
-
let
|
|
423
|
-
if (!i ||
|
|
422
|
+
let u = (s = i == null ? void 0 : i.findIndex((l, y) => l >= e && e >= i[y + 1])) != null ? s : -1;
|
|
423
|
+
if (!i || u === -1)
|
|
424
424
|
return n[0];
|
|
425
|
-
if (!
|
|
426
|
-
return n[
|
|
427
|
-
let f = i[
|
|
428
|
-
return `rgb(${g.map((l,
|
|
425
|
+
if (!d)
|
|
426
|
+
return n[u];
|
|
427
|
+
let f = i[u] - e, m = i[u] - i[u + 1], g = ve(n[u]), N = ve(n[u + 1]), z = !!t.isGrowing;
|
|
428
|
+
return `rgb(${g.map((l, y) => Ue(f, l, N[y] - l, m, z) | 0).join(",")})`;
|
|
429
429
|
}, Is = (t) => {
|
|
430
|
-
let { duration: e, initialRemainingTime: s, updateInterval: n, size: i = 180, strokeWidth:
|
|
431
|
-
let I = Math.ceil(e -
|
|
430
|
+
let { duration: e, initialRemainingTime: s, updateInterval: n, size: i = 180, strokeWidth: d = 12, trailStrokeWidth: u, isPlaying: f = !1, isGrowing: m = !1, rotation: g = "clockwise", onComplete: N, onUpdate: z } = t, l = E(), y = Math.max(d, u ?? 0), { path: M, pathLength: r } = hs(i, y, g), { elapsedTime: h } = ps({ isPlaying: f, duration: e, startAt: Ie(e, s), updateInterval: n, onUpdate: typeof z == "function" ? (p) => {
|
|
431
|
+
let I = Math.ceil(e - p);
|
|
432
432
|
I !== l.current && (l.current = I, z(I));
|
|
433
|
-
} : void 0, onComplete: typeof N == "function" ? (
|
|
433
|
+
} : void 0, onComplete: typeof N == "function" ? (p) => {
|
|
434
434
|
var I;
|
|
435
|
-
let { shouldRepeat:
|
|
436
|
-
if (
|
|
437
|
-
return { shouldRepeat:
|
|
435
|
+
let { shouldRepeat: _, delay: A, newInitialRemainingTime: T } = (I = N(p)) != null ? I : {};
|
|
436
|
+
if (_)
|
|
437
|
+
return { shouldRepeat: _, delay: A, newStartAt: Ie(e, T) };
|
|
438
438
|
} : void 0 }), c = e - h;
|
|
439
|
-
return { elapsedTime: h, path:
|
|
440
|
-
},
|
|
441
|
-
let { children: e, strokeLinecap: s, trailColor: n, trailStrokeWidth: i } = t, { path:
|
|
442
|
-
return
|
|
439
|
+
return { elapsedTime: h, path: M, pathLength: r, remainingTime: Math.ceil(c), rotation: g, size: i, stroke: gs(t, c), strokeDashoffset: Ue(h, 0, r, e, m), strokeWidth: d };
|
|
440
|
+
}, qe = (t) => {
|
|
441
|
+
let { children: e, strokeLinecap: s, trailColor: n, trailStrokeWidth: i } = t, { path: d, pathLength: u, stroke: f, strokeDashoffset: m, remainingTime: g, elapsedTime: N, size: z, strokeWidth: l } = Is(t);
|
|
442
|
+
return Q.createElement("div", { style: ms(z) }, Q.createElement("svg", { viewBox: `0 0 ${z} ${z}`, width: z, height: z, xmlns: "http://www.w3.org/2000/svg" }, Q.createElement("path", { d, fill: "none", stroke: n ?? "#d9d9d9", strokeWidth: i ?? l }), Q.createElement("path", { d, fill: "none", stroke: f, strokeLinecap: s ?? "round", strokeWidth: l, strokeDasharray: u, strokeDashoffset: m })), typeof e == "function" && Q.createElement("div", { style: fs }, e({ remainingTime: g, elapsedTime: N, color: f })));
|
|
443
443
|
};
|
|
444
|
-
|
|
444
|
+
qe.displayName = "CountdownCircleTimer";
|
|
445
445
|
const vs = [C.PRIMARY_GREEN1, C.SECONDARY_RED1, C.SECONDARY_RED1], Ms = [10, 10, 0], ys = /* @__PURE__ */ o("div")({
|
|
446
446
|
name: "A",
|
|
447
447
|
class: "a1f928zy",
|
|
448
448
|
propsAsIs: !1
|
|
449
|
-
}), zs = C.SECONDARY_GREEN6, Me = C.SECONDARY_RED3, Ns = C.NEUTRALS_GRAY3,
|
|
449
|
+
}), zs = C.SECONDARY_GREEN6, Me = C.SECONDARY_RED3, Ns = C.NEUTRALS_GRAY3, As = ({
|
|
450
450
|
isPlaying: t = !0,
|
|
451
451
|
duration: e = 30,
|
|
452
452
|
onTimerExpired: s
|
|
453
453
|
}) => {
|
|
454
|
-
const [n, i] =
|
|
454
|
+
const [n, i] = $(e > 10 ? zs : Me), d = ({
|
|
455
455
|
remainingTime: m
|
|
456
456
|
}) => /* @__PURE__ */ a(ys, {
|
|
457
457
|
children: m
|
|
458
|
-
}),
|
|
458
|
+
}), u = G(() => {
|
|
459
459
|
s == null || s(), i(Ns);
|
|
460
460
|
}, [s, i]), f = G((m) => {
|
|
461
461
|
m === 10 && i(Me);
|
|
462
462
|
}, [i]);
|
|
463
|
-
return /* @__PURE__ */ a(
|
|
463
|
+
return /* @__PURE__ */ a(qe, {
|
|
464
464
|
isPlaying: t,
|
|
465
465
|
duration: e,
|
|
466
466
|
colors: vs,
|
|
@@ -469,12 +469,12 @@ const vs = [C.PRIMARY_GREEN1, C.SECONDARY_RED1, C.SECONDARY_RED1], Ms = [10, 10,
|
|
|
469
469
|
strokeWidth: 2,
|
|
470
470
|
trailStrokeWidth: 2,
|
|
471
471
|
trailColor: n,
|
|
472
|
-
onComplete:
|
|
472
|
+
onComplete: u,
|
|
473
473
|
onUpdate: f,
|
|
474
|
-
children:
|
|
474
|
+
children: d
|
|
475
475
|
});
|
|
476
476
|
};
|
|
477
|
-
const
|
|
477
|
+
const _s = () => x, Ts = /* @__PURE__ */ o("div")({
|
|
478
478
|
name: "a",
|
|
479
479
|
class: "a1r7f3z4",
|
|
480
480
|
propsAsIs: !1
|
|
@@ -482,11 +482,11 @@ const Ts = () => w, As = /* @__PURE__ */ o("div")({
|
|
|
482
482
|
name: "s",
|
|
483
483
|
class: "sblndl",
|
|
484
484
|
propsAsIs: !1
|
|
485
|
-
}),
|
|
485
|
+
}), xs = /* @__PURE__ */ o("div")({
|
|
486
486
|
name: "l",
|
|
487
487
|
class: "l7ka1tv",
|
|
488
488
|
propsAsIs: !1
|
|
489
|
-
}),
|
|
489
|
+
}), Ds = /* @__PURE__ */ o(_s())({
|
|
490
490
|
name: "p",
|
|
491
491
|
class: "p1edlxt3",
|
|
492
492
|
propsAsIs: !0
|
|
@@ -494,77 +494,77 @@ const Ts = () => w, As = /* @__PURE__ */ o("div")({
|
|
|
494
494
|
name: "g",
|
|
495
495
|
class: "ghm08u2",
|
|
496
496
|
propsAsIs: !1
|
|
497
|
-
}),
|
|
497
|
+
}), ks = /* @__PURE__ */ o("span")({
|
|
498
498
|
name: "c",
|
|
499
499
|
class: "c12nsh46",
|
|
500
500
|
propsAsIs: !1
|
|
501
|
-
}),
|
|
501
|
+
}), bs = /* @__PURE__ */ o("span")({
|
|
502
502
|
name: "d",
|
|
503
503
|
class: "dlr9eoc",
|
|
504
504
|
propsAsIs: !1
|
|
505
|
-
}),
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
t && /* @__PURE__ */ a(
|
|
508
|
-
e !== void 0 && /* @__PURE__ */
|
|
509
|
-
/* @__PURE__ */ a(
|
|
510
|
-
/* @__PURE__ */
|
|
511
|
-
/* @__PURE__ */ a(
|
|
512
|
-
/* @__PURE__ */ a(
|
|
505
|
+
}), Os = ({ title: t, points: e, isPlayingTimer: s, isTimer: n, onTimerExpired: i }) => /* @__PURE__ */ v(Ts, { children: [
|
|
506
|
+
/* @__PURE__ */ v(Ss, { children: [
|
|
507
|
+
t && /* @__PURE__ */ a(xs, { children: t }),
|
|
508
|
+
e !== void 0 && /* @__PURE__ */ v(q, { children: [
|
|
509
|
+
/* @__PURE__ */ a(Ds, { name: "icon-trophy" }),
|
|
510
|
+
/* @__PURE__ */ v(ws, { children: [
|
|
511
|
+
/* @__PURE__ */ a(ks, { children: e }),
|
|
512
|
+
/* @__PURE__ */ a(bs, { children: "PTS" })
|
|
513
513
|
] })
|
|
514
514
|
] })
|
|
515
515
|
] }),
|
|
516
|
-
n && /* @__PURE__ */ a(
|
|
517
|
-
] }),
|
|
516
|
+
n && /* @__PURE__ */ a(As, { isPlaying: s, onTimerExpired: i })
|
|
517
|
+
] }), Es = ({ openedQuestion: t, vote: e }) => {
|
|
518
518
|
var s;
|
|
519
|
-
const n = t.subject, i = t.type,
|
|
520
|
-
async (
|
|
519
|
+
const n = t.subject, i = t.type, d = (s = t.options) == null ? void 0 : s.options, [u, f] = $(!1), [m, g] = $(!1), [N, z] = $(""), l = t == null ? void 0 : t.id, y = G(
|
|
520
|
+
async (p) => {
|
|
521
521
|
if (l) {
|
|
522
|
-
const I =
|
|
522
|
+
const I = p.currentTarget.value;
|
|
523
523
|
z(I), g(!0), await e(l, I), g(!1);
|
|
524
524
|
}
|
|
525
525
|
},
|
|
526
526
|
[l, z, e]
|
|
527
|
-
),
|
|
528
|
-
() => t == null ? void 0 : t.answers.find((
|
|
527
|
+
), M = H(
|
|
528
|
+
() => t == null ? void 0 : t.answers.find((p) => p.youVoted === !0),
|
|
529
529
|
[t]
|
|
530
530
|
), r = H(
|
|
531
|
-
() => !!(t != null && t.answers.find((
|
|
531
|
+
() => !!(t != null && t.answers.find((p) => p.correct === !0)),
|
|
532
532
|
[t]
|
|
533
|
-
), h = H(() => t ? t.answers.map((
|
|
534
|
-
...
|
|
535
|
-
questionVoted: !!
|
|
536
|
-
youSelected: N ===
|
|
533
|
+
), h = H(() => t ? t.answers.map((p) => ({
|
|
534
|
+
...p,
|
|
535
|
+
questionVoted: !!M,
|
|
536
|
+
youSelected: N === p.id,
|
|
537
537
|
isLoading: m,
|
|
538
538
|
hasCorrectAnswer: r,
|
|
539
539
|
questionType: t.type,
|
|
540
|
-
answerTimeExpired:
|
|
540
|
+
answerTimeExpired: u,
|
|
541
541
|
questionStatus: t.status,
|
|
542
542
|
// ToDo: Figure out why imageMode is not in the response
|
|
543
|
-
onVote:
|
|
544
|
-
})) : [], [r,
|
|
545
|
-
return /* @__PURE__ */ a(Le, { "data-question-header": "true", children: /* @__PURE__ */ a(Ft, { children: /* @__PURE__ */
|
|
543
|
+
onVote: y
|
|
544
|
+
})) : [], [r, u, m, t, M, y, N]), c = d && (d.case === "trivia" || d.case === "prediction") ? d.value : void 0;
|
|
545
|
+
return /* @__PURE__ */ a(Le, { "data-question-header": "true", children: /* @__PURE__ */ a(Ft, { children: /* @__PURE__ */ v(Vt, { children: [
|
|
546
546
|
c && /* @__PURE__ */ a(
|
|
547
547
|
Wt,
|
|
548
548
|
{
|
|
549
549
|
feedbackMessages: c,
|
|
550
|
-
questionVoted: !!
|
|
551
|
-
questionVotedCorrectly:
|
|
550
|
+
questionVoted: !!M,
|
|
551
|
+
questionVotedCorrectly: M == null ? void 0 : M.correct,
|
|
552
552
|
questionType: i,
|
|
553
553
|
hasCorrectAnswer: r,
|
|
554
554
|
questionStatus: t.status
|
|
555
555
|
}
|
|
556
556
|
),
|
|
557
557
|
/* @__PURE__ */ a(
|
|
558
|
-
|
|
558
|
+
Os,
|
|
559
559
|
{
|
|
560
|
-
title:
|
|
561
|
-
points:
|
|
560
|
+
title: u ? "Expired" : "To win",
|
|
561
|
+
points: u ? void 0 : 100,
|
|
562
562
|
onTimerExpired: () => f(!0),
|
|
563
563
|
isTimer: !0
|
|
564
564
|
}
|
|
565
565
|
),
|
|
566
566
|
/* @__PURE__ */ a(Ht, { children: n }),
|
|
567
|
-
/* @__PURE__ */ a(Bt, { children: h.map((
|
|
567
|
+
/* @__PURE__ */ a(Bt, { children: h.map((p) => /* @__PURE__ */ a(us, { ...p }, p.id)) })
|
|
568
568
|
] }) }) });
|
|
569
569
|
};
|
|
570
570
|
const js = /* @__PURE__ */ o("div")({
|
|
@@ -579,52 +579,52 @@ const js = /* @__PURE__ */ o("div")({
|
|
|
579
579
|
name: "n",
|
|
580
580
|
class: "n1o2cwub",
|
|
581
581
|
propsAsIs: !1
|
|
582
|
-
}),
|
|
582
|
+
}), $s = /* @__PURE__ */ o("div")({
|
|
583
583
|
name: "r",
|
|
584
584
|
class: "r3uxe45",
|
|
585
585
|
propsAsIs: !1
|
|
586
|
-
}),
|
|
586
|
+
}), Rs = /* @__PURE__ */ o("div")({
|
|
587
587
|
name: "l",
|
|
588
588
|
class: "lrqius",
|
|
589
589
|
propsAsIs: !1
|
|
590
|
-
}),
|
|
590
|
+
}), Ye = ({ created: t, title: e, instantView: s }) => {
|
|
591
591
|
const n = H(() => {
|
|
592
592
|
if (t) {
|
|
593
593
|
const i = new Date(t);
|
|
594
|
-
if (
|
|
594
|
+
if (Je(i))
|
|
595
595
|
return {
|
|
596
|
-
date:
|
|
597
|
-
time:
|
|
596
|
+
date: Ke(i),
|
|
597
|
+
time: Xe(i)
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
600
|
return null;
|
|
601
601
|
}, [t]);
|
|
602
|
-
return /* @__PURE__ */
|
|
603
|
-
n && /* @__PURE__ */
|
|
602
|
+
return /* @__PURE__ */ v(js, { children: [
|
|
603
|
+
n && /* @__PURE__ */ v(Rs, { children: [
|
|
604
604
|
n.date,
|
|
605
605
|
" · ",
|
|
606
606
|
n.time
|
|
607
607
|
] }),
|
|
608
|
-
(s == null ? void 0 : s.video) && /* @__PURE__ */ a(
|
|
609
|
-
/* @__PURE__ */
|
|
608
|
+
(s == null ? void 0 : s.video) && /* @__PURE__ */ a(et, { source: s.video.url, poster: s.video.thumbnailUrl }),
|
|
609
|
+
/* @__PURE__ */ v(Ls, { children: [
|
|
610
610
|
/* @__PURE__ */ a(Cs, { children: (s == null ? void 0 : s.heading) || e }),
|
|
611
|
-
/* @__PURE__ */ a(
|
|
611
|
+
/* @__PURE__ */ a($s, { children: s == null ? void 0 : s.body })
|
|
612
612
|
] })
|
|
613
613
|
] });
|
|
614
614
|
};
|
|
615
|
-
const
|
|
615
|
+
const Qs = /* @__PURE__ */ o("div")({
|
|
616
616
|
name: "o",
|
|
617
617
|
class: "o18unvw4",
|
|
618
618
|
propsAsIs: !1
|
|
619
|
-
}),
|
|
619
|
+
}), Us = /* @__PURE__ */ o("a")({
|
|
620
620
|
name: "n",
|
|
621
621
|
class: "ns0uvk8",
|
|
622
622
|
propsAsIs: !1
|
|
623
|
-
}), qs = ({ instantView: t, ...e }) => /* @__PURE__ */
|
|
624
|
-
/* @__PURE__ */ a(
|
|
625
|
-
(t == null ? void 0 : t.webLink) && /* @__PURE__ */
|
|
623
|
+
}), qs = ({ instantView: t, ...e }) => /* @__PURE__ */ v(Qs, { children: [
|
|
624
|
+
/* @__PURE__ */ a(Ye, { instantView: t, ...e }),
|
|
625
|
+
(t == null ? void 0 : t.webLink) && /* @__PURE__ */ v(Us, { href: t == null ? void 0 : t.webLink.url, target: "_blank", children: [
|
|
626
626
|
"Explore more of the Masters History",
|
|
627
|
-
/* @__PURE__ */ a(
|
|
627
|
+
/* @__PURE__ */ a(x, { name: "icon-external-link" })
|
|
628
628
|
] })
|
|
629
629
|
] });
|
|
630
630
|
const Ys = /* @__PURE__ */ o("div")({
|
|
@@ -647,7 +647,7 @@ const Ys = /* @__PURE__ */ o("div")({
|
|
|
647
647
|
loading: s,
|
|
648
648
|
data: n
|
|
649
649
|
} = t;
|
|
650
|
-
return !s && n ? /* @__PURE__ */ a(
|
|
650
|
+
return !s && n ? /* @__PURE__ */ a(Es, {
|
|
651
651
|
vote: e,
|
|
652
652
|
openedQuestion: n
|
|
653
653
|
}) : null;
|
|
@@ -655,11 +655,11 @@ const Ys = /* @__PURE__ */ o("div")({
|
|
|
655
655
|
gamification: t
|
|
656
656
|
}) => {
|
|
657
657
|
var e;
|
|
658
|
-
const s =
|
|
658
|
+
const s = O(t.openedQuestion.$store), n = O(t.openedQuestion.$extendedStore);
|
|
659
659
|
if (!s)
|
|
660
660
|
return null;
|
|
661
661
|
const i = s.type;
|
|
662
|
-
return /* @__PURE__ */
|
|
662
|
+
return /* @__PURE__ */ v(Ys, {
|
|
663
663
|
children: [/* @__PURE__ */ a($e, {
|
|
664
664
|
close: t.closeQuestion,
|
|
665
665
|
type: ((e = s.attributes) == null ? void 0 : e.type) || D.UNSET
|
|
@@ -688,8 +688,8 @@ const Vs = /* @__PURE__ */ o("div")({
|
|
|
688
688
|
class: "i1vk8ojx",
|
|
689
689
|
propsAsIs: !1
|
|
690
690
|
});
|
|
691
|
-
var
|
|
692
|
-
const ye = ({ title: t, active: e, onClick: s }) => /* @__PURE__ */ a(Bs, { onClick: s, "data-selected": e, children: /* @__PURE__ */ a(Gs, { children: t }) }), Zs = ({ activePage: t = "home", toggleActivePage: e }) => /* @__PURE__ */ a(Vs, { children: /* @__PURE__ */
|
|
691
|
+
var U = /* @__PURE__ */ ((t) => (t.HOME = "home", t.LEADERBOARD = "leaderboard", t))(U || {});
|
|
692
|
+
const ye = ({ title: t, active: e, onClick: s }) => /* @__PURE__ */ a(Bs, { onClick: s, "data-selected": e, children: /* @__PURE__ */ a(Gs, { children: t }) }), Zs = ({ activePage: t = "home", toggleActivePage: e }) => /* @__PURE__ */ a(Vs, { children: /* @__PURE__ */ v(Hs, { "data-position": t === "home" ? "left" : "right", children: [
|
|
693
693
|
/* @__PURE__ */ a(ye, { title: "Home", active: t === "home", onClick: () => e(
|
|
694
694
|
"home"
|
|
695
695
|
/* HOME */
|
|
@@ -706,16 +706,16 @@ const ye = ({ title: t, active: e, onClick: s }) => /* @__PURE__ */ a(Bs, { onCl
|
|
|
706
706
|
}
|
|
707
707
|
)
|
|
708
708
|
] }) });
|
|
709
|
-
let
|
|
710
|
-
typeof window < "u" ?
|
|
711
|
-
let
|
|
712
|
-
const ze = 20, K =
|
|
713
|
-
X == null ||
|
|
709
|
+
let w;
|
|
710
|
+
typeof window < "u" ? w = window : typeof self < "u" ? w = self : w = tt.global;
|
|
711
|
+
let ie = null, re = null;
|
|
712
|
+
const ze = 20, K = w.clearTimeout, Ne = w.setTimeout, X = w.cancelAnimationFrame || w.mozCancelAnimationFrame || w.webkitCancelAnimationFrame, Ae = w.requestAnimationFrame || w.mozRequestAnimationFrame || w.webkitRequestAnimationFrame;
|
|
713
|
+
X == null || Ae == null ? (ie = K, re = function(e) {
|
|
714
714
|
return Ne(e, ze);
|
|
715
|
-
}) : (
|
|
715
|
+
}) : (ie = function([e, s]) {
|
|
716
716
|
X(e), K(s);
|
|
717
|
-
},
|
|
718
|
-
const s =
|
|
717
|
+
}, re = function(e) {
|
|
718
|
+
const s = Ae(function() {
|
|
719
719
|
K(n), e();
|
|
720
720
|
}), n = Ne(function() {
|
|
721
721
|
X(s), e();
|
|
@@ -723,68 +723,68 @@ X == null || _e == null ? (ne = K, ie = function(e) {
|
|
|
723
723
|
return [s, n];
|
|
724
724
|
});
|
|
725
725
|
function Js(t) {
|
|
726
|
-
let e, s, n, i,
|
|
726
|
+
let e, s, n, i, d, u, f;
|
|
727
727
|
const m = typeof document < "u" && document.attachEvent;
|
|
728
728
|
if (!m) {
|
|
729
|
-
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
},
|
|
729
|
+
u = function(c) {
|
|
730
|
+
const p = c.__resizeTriggers__, I = p.firstElementChild, _ = p.lastElementChild, A = I.firstElementChild;
|
|
731
|
+
_.scrollLeft = _.scrollWidth, _.scrollTop = _.scrollHeight, A.style.width = I.offsetWidth + 1 + "px", A.style.height = I.offsetHeight + 1 + "px", I.scrollLeft = I.scrollWidth, I.scrollTop = I.scrollHeight;
|
|
732
|
+
}, d = function(c) {
|
|
733
733
|
return c.offsetWidth !== c.__resizeLast__.width || c.offsetHeight !== c.__resizeLast__.height;
|
|
734
734
|
}, f = function(c) {
|
|
735
735
|
if (c.target.className && typeof c.target.className.indexOf == "function" && c.target.className.indexOf("contract-trigger") < 0 && c.target.className.indexOf("expand-trigger") < 0)
|
|
736
736
|
return;
|
|
737
|
-
const
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
737
|
+
const p = this;
|
|
738
|
+
u(this), this.__resizeRAF__ && ie(this.__resizeRAF__), this.__resizeRAF__ = re(function() {
|
|
739
|
+
d(p) && (p.__resizeLast__.width = p.offsetWidth, p.__resizeLast__.height = p.offsetHeight, p.__resizeListeners__.forEach(function(A) {
|
|
740
|
+
A.call(p, c);
|
|
741
741
|
}));
|
|
742
742
|
});
|
|
743
743
|
};
|
|
744
|
-
let l = !1,
|
|
744
|
+
let l = !1, y = "";
|
|
745
745
|
n = "animationstart";
|
|
746
|
-
const
|
|
746
|
+
const M = "Webkit Moz O ms".split(" ");
|
|
747
747
|
let r = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), h = "";
|
|
748
748
|
{
|
|
749
749
|
const c = document.createElement("fakeelement");
|
|
750
750
|
if (c.style.animationName !== void 0 && (l = !0), l === !1) {
|
|
751
|
-
for (let
|
|
752
|
-
if (c.style[
|
|
753
|
-
h =
|
|
751
|
+
for (let p = 0; p < M.length; p++)
|
|
752
|
+
if (c.style[M[p] + "AnimationName"] !== void 0) {
|
|
753
|
+
h = M[p], y = "-" + h.toLowerCase() + "-", n = r[p], l = !0;
|
|
754
754
|
break;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
s = "resizeanim", e = "@" +
|
|
758
|
+
s = "resizeanim", e = "@" + y + "keyframes " + s + " { from { opacity: 0; } to { opacity: 0; } } ", i = y + "animation: 1ms " + s + "; ";
|
|
759
759
|
}
|
|
760
760
|
const g = function(l) {
|
|
761
761
|
if (!l.getElementById("detectElementResize")) {
|
|
762
|
-
const
|
|
763
|
-
r.id = "detectElementResize", r.type = "text/css", t != null && r.setAttribute("nonce", t), r.styleSheet ? r.styleSheet.cssText =
|
|
762
|
+
const y = (e || "") + ".resize-triggers { " + (i || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', M = l.head || l.getElementsByTagName("head")[0], r = l.createElement("style");
|
|
763
|
+
r.id = "detectElementResize", r.type = "text/css", t != null && r.setAttribute("nonce", t), r.styleSheet ? r.styleSheet.cssText = y : r.appendChild(l.createTextNode(y)), M.appendChild(r);
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
return {
|
|
767
|
-
addResizeListener: function(l,
|
|
767
|
+
addResizeListener: function(l, y) {
|
|
768
768
|
if (m)
|
|
769
|
-
l.attachEvent("onresize",
|
|
769
|
+
l.attachEvent("onresize", y);
|
|
770
770
|
else {
|
|
771
771
|
if (!l.__resizeTriggers__) {
|
|
772
|
-
const
|
|
773
|
-
r && r.position === "static" && (l.style.position = "relative"), g(
|
|
774
|
-
const h =
|
|
775
|
-
h.className = "expand-trigger", h.appendChild(
|
|
776
|
-
const c =
|
|
777
|
-
c.className = "contract-trigger", l.__resizeTriggers__.appendChild(h), l.__resizeTriggers__.appendChild(c), l.appendChild(l.__resizeTriggers__),
|
|
778
|
-
I.animationName === s &&
|
|
772
|
+
const M = l.ownerDocument, r = w.getComputedStyle(l);
|
|
773
|
+
r && r.position === "static" && (l.style.position = "relative"), g(M), l.__resizeLast__ = {}, l.__resizeListeners__ = [], (l.__resizeTriggers__ = M.createElement("div")).className = "resize-triggers";
|
|
774
|
+
const h = M.createElement("div");
|
|
775
|
+
h.className = "expand-trigger", h.appendChild(M.createElement("div"));
|
|
776
|
+
const c = M.createElement("div");
|
|
777
|
+
c.className = "contract-trigger", l.__resizeTriggers__.appendChild(h), l.__resizeTriggers__.appendChild(c), l.appendChild(l.__resizeTriggers__), u(l), l.addEventListener("scroll", f, !0), n && (l.__resizeTriggers__.__animationListener__ = function(I) {
|
|
778
|
+
I.animationName === s && u(l);
|
|
779
779
|
}, l.__resizeTriggers__.addEventListener(n, l.__resizeTriggers__.__animationListener__));
|
|
780
780
|
}
|
|
781
|
-
l.__resizeListeners__.push(
|
|
781
|
+
l.__resizeListeners__.push(y);
|
|
782
782
|
}
|
|
783
783
|
},
|
|
784
|
-
removeResizeListener: function(l,
|
|
784
|
+
removeResizeListener: function(l, y) {
|
|
785
785
|
if (m)
|
|
786
|
-
l.detachEvent("onresize",
|
|
787
|
-
else if (l.__resizeListeners__.splice(l.__resizeListeners__.indexOf(
|
|
786
|
+
l.detachEvent("onresize", y);
|
|
787
|
+
else if (l.__resizeListeners__.splice(l.__resizeListeners__.indexOf(y), 1), !l.__resizeListeners__.length) {
|
|
788
788
|
l.removeEventListener("scroll", f, !0), l.__resizeTriggers__.__animationListener__ && (l.__resizeTriggers__.removeEventListener(n, l.__resizeTriggers__.__animationListener__), l.__resizeTriggers__.__animationListener__ = null);
|
|
789
789
|
try {
|
|
790
790
|
l.__resizeTriggers__ = !l.removeChild(l.__resizeTriggers__);
|
|
@@ -809,18 +809,18 @@ class Ks extends at {
|
|
|
809
809
|
onResize: i
|
|
810
810
|
} = this.props;
|
|
811
811
|
if (this._parentNode) {
|
|
812
|
-
var
|
|
813
|
-
const g = window.getComputedStyle(this._parentNode) || {}, N = parseFloat((
|
|
814
|
-
(!s && (this.state.height !== c || this.state.scaledHeight !== r) || !n && (this.state.width !==
|
|
812
|
+
var d, u, f, m;
|
|
813
|
+
const g = window.getComputedStyle(this._parentNode) || {}, N = parseFloat((d = g.paddingLeft) !== null && d !== void 0 ? d : "0"), z = parseFloat((u = g.paddingRight) !== null && u !== void 0 ? u : "0"), l = parseFloat((f = g.paddingTop) !== null && f !== void 0 ? f : "0"), y = parseFloat((m = g.paddingBottom) !== null && m !== void 0 ? m : "0"), M = this._parentNode.getBoundingClientRect(), r = M.height - l - y, h = M.width - N - z, c = this._parentNode.offsetHeight - l - y, p = this._parentNode.offsetWidth - N - z;
|
|
814
|
+
(!s && (this.state.height !== c || this.state.scaledHeight !== r) || !n && (this.state.width !== p || this.state.scaledWidth !== h)) && (this.setState({
|
|
815
815
|
height: c,
|
|
816
|
-
width:
|
|
816
|
+
width: p,
|
|
817
817
|
scaledHeight: r,
|
|
818
818
|
scaledWidth: h
|
|
819
819
|
}), typeof i == "function" && i({
|
|
820
820
|
height: c,
|
|
821
821
|
scaledHeight: r,
|
|
822
822
|
scaledWidth: h,
|
|
823
|
-
width:
|
|
823
|
+
width: p
|
|
824
824
|
}));
|
|
825
825
|
}
|
|
826
826
|
}, this._setRef = (s) => {
|
|
@@ -844,8 +844,8 @@ class Ks extends at {
|
|
|
844
844
|
defaultHeight: s,
|
|
845
845
|
defaultWidth: n,
|
|
846
846
|
disableHeight: i = !1,
|
|
847
|
-
disableWidth:
|
|
848
|
-
nonce:
|
|
847
|
+
disableWidth: d = !1,
|
|
848
|
+
nonce: u,
|
|
849
849
|
onResize: f,
|
|
850
850
|
style: m = {},
|
|
851
851
|
tagName: g = "div",
|
|
@@ -853,13 +853,13 @@ class Ks extends at {
|
|
|
853
853
|
} = this.props, {
|
|
854
854
|
height: z,
|
|
855
855
|
scaledHeight: l,
|
|
856
|
-
scaledWidth:
|
|
857
|
-
width:
|
|
856
|
+
scaledWidth: y,
|
|
857
|
+
width: M
|
|
858
858
|
} = this.state, r = {
|
|
859
859
|
overflow: "visible"
|
|
860
860
|
}, h = {};
|
|
861
861
|
let c = !1;
|
|
862
|
-
return i || (z === 0 && (c = !0), r.height = 0, h.height = z, h.scaledHeight = l),
|
|
862
|
+
return i || (z === 0 && (c = !0), r.height = 0, h.height = z, h.scaledHeight = l), d || (M === 0 && (c = !0), r.width = 0, h.width = M, h.scaledWidth = y), B(g, {
|
|
863
863
|
ref: this._setRef,
|
|
864
864
|
style: {
|
|
865
865
|
...r,
|
|
@@ -869,34 +869,34 @@ class Ks extends at {
|
|
|
869
869
|
}, !c && e(h));
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
function
|
|
873
|
-
return
|
|
872
|
+
function ae() {
|
|
873
|
+
return ae = Object.assign ? Object.assign.bind() : function(t) {
|
|
874
874
|
for (var e = 1; e < arguments.length; e++) {
|
|
875
875
|
var s = arguments[e];
|
|
876
876
|
for (var n in s)
|
|
877
877
|
Object.prototype.hasOwnProperty.call(s, n) && (t[n] = s[n]);
|
|
878
878
|
}
|
|
879
879
|
return t;
|
|
880
|
-
},
|
|
880
|
+
}, ae.apply(this, arguments);
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function _e(t) {
|
|
883
883
|
if (t === void 0)
|
|
884
884
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
885
885
|
return t;
|
|
886
886
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
887
|
+
function oe(t, e) {
|
|
888
|
+
return oe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
|
|
889
889
|
return n.__proto__ = i, n;
|
|
890
|
-
},
|
|
890
|
+
}, oe(t, e);
|
|
891
891
|
}
|
|
892
892
|
function Xs(t, e) {
|
|
893
|
-
t.prototype = Object.create(e.prototype), t.prototype.constructor = t,
|
|
893
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, oe(t, e);
|
|
894
894
|
}
|
|
895
|
-
var
|
|
895
|
+
var Te = Number.isNaN || function(e) {
|
|
896
896
|
return typeof e == "number" && e !== e;
|
|
897
897
|
};
|
|
898
898
|
function en(t, e) {
|
|
899
|
-
return !!(t === e ||
|
|
899
|
+
return !!(t === e || Te(t) && Te(e));
|
|
900
900
|
}
|
|
901
901
|
function tn(t, e) {
|
|
902
902
|
if (t.length !== e.length)
|
|
@@ -908,20 +908,20 @@ function tn(t, e) {
|
|
|
908
908
|
}
|
|
909
909
|
function ee(t, e) {
|
|
910
910
|
e === void 0 && (e = tn);
|
|
911
|
-
var s, n = [], i,
|
|
912
|
-
function
|
|
911
|
+
var s, n = [], i, d = !1;
|
|
912
|
+
function u() {
|
|
913
913
|
for (var f = [], m = 0; m < arguments.length; m++)
|
|
914
914
|
f[m] = arguments[m];
|
|
915
|
-
return
|
|
915
|
+
return d && s === this && e(f, n) || (i = t.apply(this, f), d = !0, s = this, n = f), i;
|
|
916
916
|
}
|
|
917
|
-
return
|
|
917
|
+
return u;
|
|
918
918
|
}
|
|
919
919
|
var sn = typeof performance == "object" && typeof performance.now == "function", Se = sn ? function() {
|
|
920
920
|
return performance.now();
|
|
921
921
|
} : function() {
|
|
922
922
|
return Date.now();
|
|
923
923
|
};
|
|
924
|
-
function
|
|
924
|
+
function xe(t) {
|
|
925
925
|
cancelAnimationFrame(t.id);
|
|
926
926
|
}
|
|
927
927
|
function nn(t, e) {
|
|
@@ -935,7 +935,7 @@ function nn(t, e) {
|
|
|
935
935
|
return i;
|
|
936
936
|
}
|
|
937
937
|
var te = -1;
|
|
938
|
-
function
|
|
938
|
+
function De(t) {
|
|
939
939
|
if (t === void 0 && (t = !1), te === -1 || t) {
|
|
940
940
|
var e = document.createElement("div"), s = e.style;
|
|
941
941
|
s.width = "50px", s.height = "50px", s.overflow = "scroll", document.body.appendChild(e), te = e.offsetWidth - e.clientWidth, document.body.removeChild(e);
|
|
@@ -956,80 +956,80 @@ var rn = 150, an = function(e, s) {
|
|
|
956
956
|
return e;
|
|
957
957
|
};
|
|
958
958
|
function on(t) {
|
|
959
|
-
var e, s = t.getItemOffset, n = t.getEstimatedTotalSize, i = t.getItemSize,
|
|
959
|
+
var e, s = t.getItemOffset, n = t.getEstimatedTotalSize, i = t.getItemSize, d = t.getOffsetForIndexAndAlignment, u = t.getStartIndexForOffset, f = t.getStopIndexForStartIndex, m = t.initInstanceProps, g = t.shouldResetStyleCacheOnItemSizeChange, N = t.validateProps;
|
|
960
960
|
return e = /* @__PURE__ */ function(z) {
|
|
961
961
|
Xs(l, z);
|
|
962
|
-
function l(
|
|
962
|
+
function l(M) {
|
|
963
963
|
var r;
|
|
964
|
-
return r = z.call(this,
|
|
965
|
-
instance:
|
|
964
|
+
return r = z.call(this, M) || this, r._instanceProps = m(r.props, _e(r)), r._outerRef = void 0, r._resetIsScrollingTimeoutId = null, r.state = {
|
|
965
|
+
instance: _e(r),
|
|
966
966
|
isScrolling: !1,
|
|
967
967
|
scrollDirection: "forward",
|
|
968
968
|
scrollOffset: typeof r.props.initialScrollOffset == "number" ? r.props.initialScrollOffset : 0,
|
|
969
969
|
scrollUpdateWasRequested: !1
|
|
970
|
-
}, r._callOnItemsRendered = void 0, r._callOnItemsRendered = ee(function(h, c,
|
|
970
|
+
}, r._callOnItemsRendered = void 0, r._callOnItemsRendered = ee(function(h, c, p, I) {
|
|
971
971
|
return r.props.onItemsRendered({
|
|
972
972
|
overscanStartIndex: h,
|
|
973
973
|
overscanStopIndex: c,
|
|
974
|
-
visibleStartIndex:
|
|
974
|
+
visibleStartIndex: p,
|
|
975
975
|
visibleStopIndex: I
|
|
976
976
|
});
|
|
977
|
-
}), r._callOnScroll = void 0, r._callOnScroll = ee(function(h, c,
|
|
977
|
+
}), r._callOnScroll = void 0, r._callOnScroll = ee(function(h, c, p) {
|
|
978
978
|
return r.props.onScroll({
|
|
979
979
|
scrollDirection: h,
|
|
980
980
|
scrollOffset: c,
|
|
981
|
-
scrollUpdateWasRequested:
|
|
981
|
+
scrollUpdateWasRequested: p
|
|
982
982
|
});
|
|
983
983
|
}), r._getItemStyle = void 0, r._getItemStyle = function(h) {
|
|
984
|
-
var c = r.props,
|
|
985
|
-
if (
|
|
986
|
-
|
|
984
|
+
var c = r.props, p = c.direction, I = c.itemSize, _ = c.layout, A = r._getItemStyleCache(g && I, g && _, g && p), T;
|
|
985
|
+
if (A.hasOwnProperty(h))
|
|
986
|
+
T = A[h];
|
|
987
987
|
else {
|
|
988
|
-
var S = s(r.props, h, r._instanceProps),
|
|
989
|
-
|
|
988
|
+
var S = s(r.props, h, r._instanceProps), k = i(r.props, h, r._instanceProps), b = p === "horizontal" || _ === "horizontal", P = p === "rtl", W = b ? S : 0;
|
|
989
|
+
A[h] = T = {
|
|
990
990
|
position: "absolute",
|
|
991
991
|
left: P ? void 0 : W,
|
|
992
992
|
right: P ? W : void 0,
|
|
993
|
-
top:
|
|
994
|
-
height:
|
|
995
|
-
width:
|
|
993
|
+
top: b ? 0 : S,
|
|
994
|
+
height: b ? "100%" : k,
|
|
995
|
+
width: b ? k : "100%"
|
|
996
996
|
};
|
|
997
997
|
}
|
|
998
|
-
return
|
|
999
|
-
}, r._getItemStyleCache = void 0, r._getItemStyleCache = ee(function(h, c,
|
|
998
|
+
return T;
|
|
999
|
+
}, r._getItemStyleCache = void 0, r._getItemStyleCache = ee(function(h, c, p) {
|
|
1000
1000
|
return {};
|
|
1001
1001
|
}), r._onScrollHorizontal = function(h) {
|
|
1002
|
-
var c = h.currentTarget,
|
|
1003
|
-
r.setState(function(
|
|
1004
|
-
if (
|
|
1002
|
+
var c = h.currentTarget, p = c.clientWidth, I = c.scrollLeft, _ = c.scrollWidth;
|
|
1003
|
+
r.setState(function(A) {
|
|
1004
|
+
if (A.scrollOffset === I)
|
|
1005
1005
|
return null;
|
|
1006
|
-
var
|
|
1007
|
-
if (
|
|
1006
|
+
var T = r.props.direction, S = I;
|
|
1007
|
+
if (T === "rtl")
|
|
1008
1008
|
switch (we()) {
|
|
1009
1009
|
case "negative":
|
|
1010
1010
|
S = -I;
|
|
1011
1011
|
break;
|
|
1012
1012
|
case "positive-descending":
|
|
1013
|
-
S =
|
|
1013
|
+
S = _ - p - I;
|
|
1014
1014
|
break;
|
|
1015
1015
|
}
|
|
1016
|
-
return S = Math.max(0, Math.min(S,
|
|
1016
|
+
return S = Math.max(0, Math.min(S, _ - p)), {
|
|
1017
1017
|
isScrolling: !0,
|
|
1018
|
-
scrollDirection:
|
|
1018
|
+
scrollDirection: A.scrollOffset < I ? "forward" : "backward",
|
|
1019
1019
|
scrollOffset: S,
|
|
1020
1020
|
scrollUpdateWasRequested: !1
|
|
1021
1021
|
};
|
|
1022
1022
|
}, r._resetIsScrollingDebounced);
|
|
1023
1023
|
}, r._onScrollVertical = function(h) {
|
|
1024
|
-
var c = h.currentTarget,
|
|
1025
|
-
r.setState(function(
|
|
1026
|
-
if (
|
|
1024
|
+
var c = h.currentTarget, p = c.clientHeight, I = c.scrollHeight, _ = c.scrollTop;
|
|
1025
|
+
r.setState(function(A) {
|
|
1026
|
+
if (A.scrollOffset === _)
|
|
1027
1027
|
return null;
|
|
1028
|
-
var
|
|
1028
|
+
var T = Math.max(0, Math.min(_, I - p));
|
|
1029
1029
|
return {
|
|
1030
1030
|
isScrolling: !0,
|
|
1031
|
-
scrollDirection:
|
|
1032
|
-
scrollOffset:
|
|
1031
|
+
scrollDirection: A.scrollOffset < T ? "forward" : "backward",
|
|
1032
|
+
scrollOffset: T,
|
|
1033
1033
|
scrollUpdateWasRequested: !1
|
|
1034
1034
|
};
|
|
1035
1035
|
}, r._resetIsScrollingDebounced);
|
|
@@ -1037,7 +1037,7 @@ function on(t) {
|
|
|
1037
1037
|
var c = r.props.outerRef;
|
|
1038
1038
|
r._outerRef = h, typeof c == "function" ? c(h) : c != null && typeof c == "object" && c.hasOwnProperty("current") && (c.current = h);
|
|
1039
1039
|
}, r._resetIsScrollingDebounced = function() {
|
|
1040
|
-
r._resetIsScrollingTimeoutId !== null &&
|
|
1040
|
+
r._resetIsScrollingTimeoutId !== null && xe(r._resetIsScrollingTimeoutId), r._resetIsScrollingTimeoutId = nn(r._resetIsScrolling, rn);
|
|
1041
1041
|
}, r._resetIsScrolling = function() {
|
|
1042
1042
|
r._resetIsScrollingTimeoutId = null, r.setState({
|
|
1043
1043
|
isScrolling: !1
|
|
@@ -1049,8 +1049,8 @@ function on(t) {
|
|
|
1049
1049
|
l.getDerivedStateFromProps = function(r, h) {
|
|
1050
1050
|
return ln(r, h), N(r), null;
|
|
1051
1051
|
};
|
|
1052
|
-
var
|
|
1053
|
-
return
|
|
1052
|
+
var y = l.prototype;
|
|
1053
|
+
return y.scrollTo = function(r) {
|
|
1054
1054
|
r = Math.max(0, r), this.setState(function(h) {
|
|
1055
1055
|
return h.scrollOffset === r ? null : {
|
|
1056
1056
|
scrollDirection: h.scrollOffset < r ? "forward" : "backward",
|
|
@@ -1058,103 +1058,103 @@ function on(t) {
|
|
|
1058
1058
|
scrollUpdateWasRequested: !0
|
|
1059
1059
|
};
|
|
1060
1060
|
}, this._resetIsScrollingDebounced);
|
|
1061
|
-
},
|
|
1061
|
+
}, y.scrollToItem = function(r, h) {
|
|
1062
1062
|
h === void 0 && (h = "auto");
|
|
1063
|
-
var c = this.props,
|
|
1064
|
-
r = Math.max(0, Math.min(r,
|
|
1065
|
-
var
|
|
1063
|
+
var c = this.props, p = c.itemCount, I = c.layout, _ = this.state.scrollOffset;
|
|
1064
|
+
r = Math.max(0, Math.min(r, p - 1));
|
|
1065
|
+
var A = 0;
|
|
1066
1066
|
if (this._outerRef) {
|
|
1067
|
-
var
|
|
1068
|
-
I === "vertical" ?
|
|
1067
|
+
var T = this._outerRef;
|
|
1068
|
+
I === "vertical" ? A = T.scrollWidth > T.clientWidth ? De() : 0 : A = T.scrollHeight > T.clientHeight ? De() : 0;
|
|
1069
1069
|
}
|
|
1070
|
-
this.scrollTo(
|
|
1071
|
-
},
|
|
1072
|
-
var r = this.props, h = r.direction, c = r.initialScrollOffset,
|
|
1070
|
+
this.scrollTo(d(this.props, r, h, _, this._instanceProps, A));
|
|
1071
|
+
}, y.componentDidMount = function() {
|
|
1072
|
+
var r = this.props, h = r.direction, c = r.initialScrollOffset, p = r.layout;
|
|
1073
1073
|
if (typeof c == "number" && this._outerRef != null) {
|
|
1074
1074
|
var I = this._outerRef;
|
|
1075
|
-
h === "horizontal" ||
|
|
1075
|
+
h === "horizontal" || p === "horizontal" ? I.scrollLeft = c : I.scrollTop = c;
|
|
1076
1076
|
}
|
|
1077
1077
|
this._callPropsCallbacks();
|
|
1078
|
-
},
|
|
1079
|
-
var r = this.props, h = r.direction, c = r.layout,
|
|
1080
|
-
if (
|
|
1081
|
-
var
|
|
1078
|
+
}, y.componentDidUpdate = function() {
|
|
1079
|
+
var r = this.props, h = r.direction, c = r.layout, p = this.state, I = p.scrollOffset, _ = p.scrollUpdateWasRequested;
|
|
1080
|
+
if (_ && this._outerRef != null) {
|
|
1081
|
+
var A = this._outerRef;
|
|
1082
1082
|
if (h === "horizontal" || c === "horizontal")
|
|
1083
1083
|
if (h === "rtl")
|
|
1084
1084
|
switch (we()) {
|
|
1085
1085
|
case "negative":
|
|
1086
|
-
|
|
1086
|
+
A.scrollLeft = -I;
|
|
1087
1087
|
break;
|
|
1088
1088
|
case "positive-ascending":
|
|
1089
|
-
|
|
1089
|
+
A.scrollLeft = I;
|
|
1090
1090
|
break;
|
|
1091
1091
|
default:
|
|
1092
|
-
var
|
|
1093
|
-
|
|
1092
|
+
var T = A.clientWidth, S = A.scrollWidth;
|
|
1093
|
+
A.scrollLeft = S - T - I;
|
|
1094
1094
|
break;
|
|
1095
1095
|
}
|
|
1096
1096
|
else
|
|
1097
|
-
|
|
1097
|
+
A.scrollLeft = I;
|
|
1098
1098
|
else
|
|
1099
|
-
|
|
1099
|
+
A.scrollTop = I;
|
|
1100
1100
|
}
|
|
1101
1101
|
this._callPropsCallbacks();
|
|
1102
|
-
},
|
|
1103
|
-
this._resetIsScrollingTimeoutId !== null &&
|
|
1104
|
-
},
|
|
1105
|
-
var r = this.props, h = r.children, c = r.className,
|
|
1102
|
+
}, y.componentWillUnmount = function() {
|
|
1103
|
+
this._resetIsScrollingTimeoutId !== null && xe(this._resetIsScrollingTimeoutId);
|
|
1104
|
+
}, y.render = function() {
|
|
1105
|
+
var r = this.props, h = r.children, c = r.className, p = r.direction, I = r.height, _ = r.innerRef, A = r.innerElementType, T = r.innerTagName, S = r.itemCount, k = r.itemData, b = r.itemKey, P = b === void 0 ? an : b, W = r.layout, Pe = r.outerElementType, We = r.outerTagName, Fe = r.style, Ve = r.useIsScrolling, He = r.width, le = this.state.isScrolling, Z = p === "horizontal" || W === "horizontal", Be = Z ? this._onScrollHorizontal : this._onScrollVertical, ce = this._getRangeToRender(), Ge = ce[0], Ze = ce[1], de = [];
|
|
1106
1106
|
if (S > 0)
|
|
1107
|
-
for (var
|
|
1108
|
-
|
|
1109
|
-
data:
|
|
1110
|
-
key: P(
|
|
1111
|
-
index:
|
|
1112
|
-
isScrolling:
|
|
1113
|
-
style: this._getItemStyle(
|
|
1107
|
+
for (var R = Ge; R <= Ze; R++)
|
|
1108
|
+
de.push(B(h, {
|
|
1109
|
+
data: k,
|
|
1110
|
+
key: P(R, k),
|
|
1111
|
+
index: R,
|
|
1112
|
+
isScrolling: Ve ? le : void 0,
|
|
1113
|
+
style: this._getItemStyle(R)
|
|
1114
1114
|
}));
|
|
1115
|
-
var
|
|
1116
|
-
return B(
|
|
1115
|
+
var ue = n(this.props, this._instanceProps);
|
|
1116
|
+
return B(Pe || We || "div", {
|
|
1117
1117
|
className: c,
|
|
1118
|
-
onScroll:
|
|
1118
|
+
onScroll: Be,
|
|
1119
1119
|
ref: this._outerRefSetter,
|
|
1120
|
-
style:
|
|
1120
|
+
style: ae({
|
|
1121
1121
|
position: "relative",
|
|
1122
1122
|
height: I,
|
|
1123
|
-
width:
|
|
1123
|
+
width: He,
|
|
1124
1124
|
overflow: "auto",
|
|
1125
1125
|
WebkitOverflowScrolling: "touch",
|
|
1126
1126
|
willChange: "transform",
|
|
1127
|
-
direction:
|
|
1128
|
-
},
|
|
1129
|
-
}, B(
|
|
1130
|
-
children:
|
|
1131
|
-
ref:
|
|
1127
|
+
direction: p
|
|
1128
|
+
}, Fe)
|
|
1129
|
+
}, B(A || T || "div", {
|
|
1130
|
+
children: de,
|
|
1131
|
+
ref: _,
|
|
1132
1132
|
style: {
|
|
1133
|
-
height: Z ? "100%" :
|
|
1134
|
-
pointerEvents:
|
|
1135
|
-
width: Z ?
|
|
1133
|
+
height: Z ? "100%" : ue,
|
|
1134
|
+
pointerEvents: le ? "none" : void 0,
|
|
1135
|
+
width: Z ? ue : "100%"
|
|
1136
1136
|
}
|
|
1137
1137
|
}));
|
|
1138
|
-
},
|
|
1138
|
+
}, y._callPropsCallbacks = function() {
|
|
1139
1139
|
if (typeof this.props.onItemsRendered == "function") {
|
|
1140
1140
|
var r = this.props.itemCount;
|
|
1141
1141
|
if (r > 0) {
|
|
1142
|
-
var h = this._getRangeToRender(), c = h[0],
|
|
1143
|
-
this._callOnItemsRendered(c,
|
|
1142
|
+
var h = this._getRangeToRender(), c = h[0], p = h[1], I = h[2], _ = h[3];
|
|
1143
|
+
this._callOnItemsRendered(c, p, I, _);
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
if (typeof this.props.onScroll == "function") {
|
|
1147
|
-
var
|
|
1148
|
-
this._callOnScroll(
|
|
1147
|
+
var A = this.state, T = A.scrollDirection, S = A.scrollOffset, k = A.scrollUpdateWasRequested;
|
|
1148
|
+
this._callOnScroll(T, S, k);
|
|
1149
1149
|
}
|
|
1150
|
-
},
|
|
1151
|
-
var r = this.props, h = r.itemCount, c = r.overscanCount,
|
|
1150
|
+
}, y._getRangeToRender = function() {
|
|
1151
|
+
var r = this.props, h = r.itemCount, c = r.overscanCount, p = this.state, I = p.isScrolling, _ = p.scrollDirection, A = p.scrollOffset;
|
|
1152
1152
|
if (h === 0)
|
|
1153
1153
|
return [0, 0, 0, 0];
|
|
1154
|
-
var
|
|
1155
|
-
return [Math.max(0,
|
|
1154
|
+
var T = u(this.props, A, this._instanceProps), S = f(this.props, T, A, this._instanceProps), k = !I || _ === "backward" ? Math.max(1, c) : 1, b = !I || _ === "forward" ? Math.max(1, c) : 1;
|
|
1155
|
+
return [Math.max(0, T - k), Math.max(0, Math.min(h - 1, S + b)), T, S];
|
|
1156
1156
|
}, l;
|
|
1157
|
-
}(
|
|
1157
|
+
}(Ce), e.defaultProps = {
|
|
1158
1158
|
direction: "ltr",
|
|
1159
1159
|
itemData: void 0,
|
|
1160
1160
|
layout: "vertical",
|
|
@@ -1177,16 +1177,16 @@ var ln = function(e, s) {
|
|
|
1177
1177
|
var s = e.itemCount, n = e.itemSize;
|
|
1178
1178
|
return n * s;
|
|
1179
1179
|
},
|
|
1180
|
-
getOffsetForIndexAndAlignment: function(e, s, n, i,
|
|
1181
|
-
var f = e.direction, m = e.height, g = e.itemCount, N = e.itemSize, z = e.layout, l = e.width,
|
|
1182
|
-
switch (n === "smart" && (i >= c -
|
|
1180
|
+
getOffsetForIndexAndAlignment: function(e, s, n, i, d, u) {
|
|
1181
|
+
var f = e.direction, m = e.height, g = e.itemCount, N = e.itemSize, z = e.layout, l = e.width, y = f === "horizontal" || z === "horizontal", M = y ? l : m, r = Math.max(0, g * N - M), h = Math.min(r, s * N), c = Math.max(0, s * N - M + N + u);
|
|
1182
|
+
switch (n === "smart" && (i >= c - M && i <= h + M ? n = "auto" : n = "center"), n) {
|
|
1183
1183
|
case "start":
|
|
1184
1184
|
return h;
|
|
1185
1185
|
case "end":
|
|
1186
1186
|
return c;
|
|
1187
1187
|
case "center": {
|
|
1188
|
-
var
|
|
1189
|
-
return
|
|
1188
|
+
var p = Math.round(c + (h - c) / 2);
|
|
1189
|
+
return p < Math.ceil(M / 2) ? 0 : p > r + Math.floor(M / 2) ? r : p;
|
|
1190
1190
|
}
|
|
1191
1191
|
case "auto":
|
|
1192
1192
|
default:
|
|
@@ -1198,10 +1198,10 @@ var ln = function(e, s) {
|
|
|
1198
1198
|
return Math.max(0, Math.min(n - 1, Math.floor(s / i)));
|
|
1199
1199
|
},
|
|
1200
1200
|
getStopIndexForStartIndex: function(e, s, n) {
|
|
1201
|
-
var i = e.direction,
|
|
1201
|
+
var i = e.direction, d = e.height, u = e.itemCount, f = e.itemSize, m = e.layout, g = e.width, N = i === "horizontal" || m === "horizontal", z = s * f, l = N ? g : d, y = Math.ceil((l + n - z) / f);
|
|
1202
1202
|
return Math.max(0, Math.min(
|
|
1203
|
-
|
|
1204
|
-
s +
|
|
1203
|
+
u - 1,
|
|
1204
|
+
s + y - 1
|
|
1205
1205
|
// -1 is because stop index is inclusive
|
|
1206
1206
|
));
|
|
1207
1207
|
},
|
|
@@ -1217,24 +1217,24 @@ function dn(t) {
|
|
|
1217
1217
|
return !(n > s || i < e);
|
|
1218
1218
|
}
|
|
1219
1219
|
function un(t) {
|
|
1220
|
-
for (var e = t.isItemLoaded, s = t.itemCount, n = t.minimumBatchSize, i = t.startIndex,
|
|
1220
|
+
for (var e = t.isItemLoaded, s = t.itemCount, n = t.minimumBatchSize, i = t.startIndex, d = t.stopIndex, u = [], f = null, m = null, g = i; g <= d; g++) {
|
|
1221
1221
|
var N = e(g);
|
|
1222
|
-
N ? m !== null && (
|
|
1222
|
+
N ? m !== null && (u.push(f, m), f = m = null) : (m = g, f === null && (f = g));
|
|
1223
1223
|
}
|
|
1224
1224
|
if (m !== null) {
|
|
1225
1225
|
for (var z = Math.min(Math.max(m, f + n - 1), s - 1), l = m + 1; l <= z && !e(l); l++)
|
|
1226
1226
|
m = l;
|
|
1227
|
-
|
|
1227
|
+
u.push(f, m);
|
|
1228
1228
|
}
|
|
1229
|
-
if (
|
|
1230
|
-
for (;
|
|
1231
|
-
var
|
|
1232
|
-
if (!e(
|
|
1233
|
-
|
|
1229
|
+
if (u.length)
|
|
1230
|
+
for (; u[1] - u[0] + 1 < n && u[0] > 0; ) {
|
|
1231
|
+
var y = u[0] - 1;
|
|
1232
|
+
if (!e(y))
|
|
1233
|
+
u[0] = y;
|
|
1234
1234
|
else
|
|
1235
1235
|
break;
|
|
1236
1236
|
}
|
|
1237
|
-
return
|
|
1237
|
+
return u;
|
|
1238
1238
|
}
|
|
1239
1239
|
var pn = function(t, e) {
|
|
1240
1240
|
if (!(t instanceof e))
|
|
@@ -1260,23 +1260,23 @@ var pn = function(t, e) {
|
|
|
1260
1260
|
configurable: !0
|
|
1261
1261
|
}
|
|
1262
1262
|
}), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
1263
|
-
},
|
|
1263
|
+
}, ke = function(t, e) {
|
|
1264
1264
|
if (!t)
|
|
1265
1265
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1266
1266
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
1267
1267
|
}, fn = function(t) {
|
|
1268
1268
|
mn(e, t);
|
|
1269
1269
|
function e() {
|
|
1270
|
-
var s, n, i,
|
|
1270
|
+
var s, n, i, d;
|
|
1271
1271
|
pn(this, e);
|
|
1272
|
-
for (var
|
|
1272
|
+
for (var u = arguments.length, f = Array(u), m = 0; m < u; m++)
|
|
1273
1273
|
f[m] = arguments[m];
|
|
1274
|
-
return
|
|
1274
|
+
return d = (n = (i = ke(this, (s = e.__proto__ || Object.getPrototypeOf(e)).call.apply(s, [this].concat(f))), i), i._lastRenderedStartIndex = -1, i._lastRenderedStopIndex = -1, i._memoizedUnloadedRanges = [], i._onItemsRendered = function(g) {
|
|
1275
1275
|
var N = g.visibleStartIndex, z = g.visibleStopIndex;
|
|
1276
1276
|
i._lastRenderedStartIndex = N, i._lastRenderedStopIndex = z, i._ensureRowsLoaded(N, z);
|
|
1277
1277
|
}, i._setRef = function(g) {
|
|
1278
1278
|
i._listRef = g;
|
|
1279
|
-
}, n),
|
|
1279
|
+
}, n), ke(i, d);
|
|
1280
1280
|
}
|
|
1281
1281
|
return hn(e, [{
|
|
1282
1282
|
key: "resetloadMoreItemsCache",
|
|
@@ -1300,22 +1300,22 @@ var pn = function(t, e) {
|
|
|
1300
1300
|
}, {
|
|
1301
1301
|
key: "_ensureRowsLoaded",
|
|
1302
1302
|
value: function(n, i) {
|
|
1303
|
-
var
|
|
1304
|
-
isItemLoaded:
|
|
1303
|
+
var d = this.props, u = d.isItemLoaded, f = d.itemCount, m = d.minimumBatchSize, g = m === void 0 ? 10 : m, N = d.threshold, z = N === void 0 ? 15 : N, l = un({
|
|
1304
|
+
isItemLoaded: u,
|
|
1305
1305
|
itemCount: f,
|
|
1306
1306
|
minimumBatchSize: g,
|
|
1307
1307
|
startIndex: Math.max(0, n - z),
|
|
1308
1308
|
stopIndex: Math.min(f - 1, i + z)
|
|
1309
1309
|
});
|
|
1310
|
-
(this._memoizedUnloadedRanges.length !== l.length || this._memoizedUnloadedRanges.some(function(
|
|
1311
|
-
return l[
|
|
1310
|
+
(this._memoizedUnloadedRanges.length !== l.length || this._memoizedUnloadedRanges.some(function(y, M) {
|
|
1311
|
+
return l[M] !== y;
|
|
1312
1312
|
})) && (this._memoizedUnloadedRanges = l, this._loadUnloadedRanges(l));
|
|
1313
1313
|
}
|
|
1314
1314
|
}, {
|
|
1315
1315
|
key: "_loadUnloadedRanges",
|
|
1316
1316
|
value: function(n) {
|
|
1317
|
-
for (var i = this,
|
|
1318
|
-
var N = n[g], z = n[g + 1], l =
|
|
1317
|
+
for (var i = this, d = this.props.loadMoreItems || this.props.loadMoreRows, u = function(g) {
|
|
1318
|
+
var N = n[g], z = n[g + 1], l = d(N, z);
|
|
1319
1319
|
l != null && l.then(function() {
|
|
1320
1320
|
if (dn({
|
|
1321
1321
|
lastRenderedStartIndex: i._lastRenderedStartIndex,
|
|
@@ -1329,11 +1329,11 @@ var pn = function(t, e) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
});
|
|
1331
1331
|
}, f = 0; f < n.length; f += 2)
|
|
1332
|
-
|
|
1332
|
+
u(f);
|
|
1333
1333
|
}
|
|
1334
1334
|
}]), e;
|
|
1335
|
-
}(
|
|
1336
|
-
const gn = () =>
|
|
1335
|
+
}(Ce);
|
|
1336
|
+
const gn = () => x, In = /* @__PURE__ */ o("div")({
|
|
1337
1337
|
name: "a",
|
|
1338
1338
|
class: "a1w9zony",
|
|
1339
1339
|
propsAsIs: !1
|
|
@@ -1357,49 +1357,49 @@ const gn = () => w, In = /* @__PURE__ */ o("div")({
|
|
|
1357
1357
|
name: "d",
|
|
1358
1358
|
class: "d1tmnqsh",
|
|
1359
1359
|
propsAsIs: !1
|
|
1360
|
-
}),
|
|
1360
|
+
}), An = /* @__PURE__ */ o("span")({
|
|
1361
1361
|
name: "g",
|
|
1362
1362
|
class: "gi9h87j",
|
|
1363
1363
|
propsAsIs: !1
|
|
1364
|
-
}),
|
|
1364
|
+
}), _n = /* @__PURE__ */ o(gn())({
|
|
1365
1365
|
name: "x",
|
|
1366
1366
|
class: "x13mk3z6",
|
|
1367
1367
|
propsAsIs: !0
|
|
1368
|
-
}),
|
|
1368
|
+
}), Tn = ({
|
|
1369
1369
|
rank: t,
|
|
1370
1370
|
avatar: e,
|
|
1371
1371
|
name: s,
|
|
1372
1372
|
points: n,
|
|
1373
1373
|
isCurrentUser: i,
|
|
1374
|
-
openItemDetail:
|
|
1375
|
-
style:
|
|
1376
|
-
}) => /* @__PURE__ */
|
|
1374
|
+
openItemDetail: d,
|
|
1375
|
+
style: u
|
|
1376
|
+
}) => /* @__PURE__ */ v(In, { onClick: d, style: u, children: [
|
|
1377
1377
|
/* @__PURE__ */ a(vn, { children: t || 0 }),
|
|
1378
|
-
/* @__PURE__ */
|
|
1379
|
-
e ? /* @__PURE__ */ a(Mn, { alt: "leaderboard-item-avatar", src: e }) : /* @__PURE__ */ a(yn, { children:
|
|
1380
|
-
/* @__PURE__ */
|
|
1381
|
-
/* @__PURE__ */ a(
|
|
1382
|
-
i && /* @__PURE__ */ a(
|
|
1378
|
+
/* @__PURE__ */ v(zn, { children: [
|
|
1379
|
+
e ? /* @__PURE__ */ a(Mn, { alt: "leaderboard-item-avatar", src: e }) : /* @__PURE__ */ a(yn, { children: Ee(s || "") }),
|
|
1380
|
+
/* @__PURE__ */ v(Nn, { children: [
|
|
1381
|
+
/* @__PURE__ */ a(An, { children: s || "" }),
|
|
1382
|
+
i && /* @__PURE__ */ a(_n, { name: "icon-star" })
|
|
1383
1383
|
] })
|
|
1384
1384
|
] }),
|
|
1385
1385
|
/* @__PURE__ */ a("div", { children: je(n) })
|
|
1386
1386
|
] }), Sn = ({ items: t, openItemDetail: e, fetchMore: s }) => /* @__PURE__ */ a(Ks, { children: ({ width: n, height: i }) => /* @__PURE__ */ a(
|
|
1387
1387
|
fn,
|
|
1388
1388
|
{
|
|
1389
|
-
isItemLoaded: (
|
|
1389
|
+
isItemLoaded: (d) => d < t.length,
|
|
1390
1390
|
itemCount: t.length + 1,
|
|
1391
1391
|
loadMoreItems: s,
|
|
1392
|
-
children: ({ onItemsRendered:
|
|
1392
|
+
children: ({ onItemsRendered: d, ref: u }) => /* @__PURE__ */ a(
|
|
1393
1393
|
cn,
|
|
1394
1394
|
{
|
|
1395
1395
|
itemSize: 56,
|
|
1396
|
-
onItemsRendered:
|
|
1397
|
-
ref:
|
|
1396
|
+
onItemsRendered: d,
|
|
1397
|
+
ref: u,
|
|
1398
1398
|
itemCount: t.length,
|
|
1399
1399
|
width: n,
|
|
1400
1400
|
height: i,
|
|
1401
1401
|
children: ({ index: f, style: m }) => /* @__PURE__ */ a(
|
|
1402
|
-
|
|
1402
|
+
Tn,
|
|
1403
1403
|
{
|
|
1404
1404
|
style: { ...m, maxHeight: 48 },
|
|
1405
1405
|
...t[f],
|
|
@@ -1410,156 +1410,273 @@ const gn = () => w, In = /* @__PURE__ */ o("div")({
|
|
|
1410
1410
|
}
|
|
1411
1411
|
)
|
|
1412
1412
|
}
|
|
1413
|
-
) })
|
|
1414
|
-
|
|
1415
|
-
|
|
1413
|
+
) });
|
|
1414
|
+
const xn = () => x, Dn = () => x, wn = /* @__PURE__ */ o("div")({
|
|
1415
|
+
name: "a",
|
|
1416
|
+
class: "ay8exst",
|
|
1417
|
+
propsAsIs: !1
|
|
1418
|
+
}), kn = /* @__PURE__ */ o("div")({
|
|
1419
|
+
name: "l",
|
|
1420
|
+
class: "l31riw0",
|
|
1421
|
+
propsAsIs: !1
|
|
1422
|
+
}), bn = /* @__PURE__ */ o(xn())({
|
|
1423
|
+
name: "p",
|
|
1424
|
+
class: "pcmm4w7",
|
|
1425
|
+
propsAsIs: !0
|
|
1426
|
+
}), On = /* @__PURE__ */ o("div")({
|
|
1427
|
+
name: "c",
|
|
1428
|
+
class: "cct922a",
|
|
1429
|
+
propsAsIs: !1
|
|
1430
|
+
}), En = /* @__PURE__ */ o("div")({
|
|
1431
|
+
name: "s",
|
|
1432
|
+
class: "s12b7u74",
|
|
1433
|
+
propsAsIs: !1
|
|
1434
|
+
}), jn = /* @__PURE__ */ o("div")({
|
|
1435
|
+
name: "x",
|
|
1436
|
+
class: "x1896nrl",
|
|
1437
|
+
propsAsIs: !1
|
|
1438
|
+
}), Ln = /* @__PURE__ */ o("div")({
|
|
1439
|
+
name: "d",
|
|
1440
|
+
class: "d1vnagog",
|
|
1441
|
+
propsAsIs: !1
|
|
1442
|
+
}), Cn = /* @__PURE__ */ o("div")({
|
|
1443
|
+
name: "g",
|
|
1444
|
+
class: "gznzzc2",
|
|
1445
|
+
propsAsIs: !1
|
|
1446
|
+
}), $n = /* @__PURE__ */ o("span")({
|
|
1447
|
+
name: "f",
|
|
1448
|
+
class: "fnmvyxu",
|
|
1449
|
+
propsAsIs: !1
|
|
1450
|
+
}), Rn = /* @__PURE__ */ o("span")({
|
|
1451
|
+
name: "h",
|
|
1452
|
+
class: "h1iubd2g",
|
|
1453
|
+
propsAsIs: !1
|
|
1454
|
+
}), Qn = /* @__PURE__ */ o(Dn())({
|
|
1455
|
+
name: "m",
|
|
1456
|
+
class: "mmvjfuo",
|
|
1457
|
+
propsAsIs: !0
|
|
1458
|
+
}), Un = /* @__PURE__ */ o("div")({
|
|
1459
|
+
name: "v",
|
|
1460
|
+
class: "v1oi1553",
|
|
1461
|
+
propsAsIs: !1
|
|
1462
|
+
}), qn = /* @__PURE__ */ o("a")({
|
|
1463
|
+
name: "w",
|
|
1464
|
+
class: "w1vwcogq",
|
|
1465
|
+
propsAsIs: !1
|
|
1466
|
+
}), Yn = /* @__PURE__ */ o("span")({
|
|
1467
|
+
name: "u",
|
|
1468
|
+
class: "utbqo0e",
|
|
1469
|
+
propsAsIs: !1
|
|
1470
|
+
}), Pn = ({
|
|
1471
|
+
inviteLink: t,
|
|
1472
|
+
socialLinks: e,
|
|
1473
|
+
inviteCardTitle: s,
|
|
1474
|
+
inviteCardSubtext: n,
|
|
1475
|
+
primaryColor: i,
|
|
1476
|
+
className: d
|
|
1477
|
+
}) => /* @__PURE__ */ v(wn, { className: d, children: [
|
|
1478
|
+
/* @__PURE__ */ a(kn, { style: { backgroundColor: i }, children: /* @__PURE__ */ a(bn, { name: "invite-game-icon" }) }),
|
|
1479
|
+
/* @__PURE__ */ v(On, { children: [
|
|
1480
|
+
/* @__PURE__ */ a(En, { children: s || "" }),
|
|
1481
|
+
/* @__PURE__ */ a(jn, { children: n || "" })
|
|
1482
|
+
] }),
|
|
1483
|
+
t && /* @__PURE__ */ v(Ln, { onClick: async () => {
|
|
1484
|
+
if (t)
|
|
1485
|
+
try {
|
|
1486
|
+
await navigator.clipboard.writeText(t);
|
|
1487
|
+
} catch (u) {
|
|
1488
|
+
console.error("Unable to copy to clipboard", u);
|
|
1489
|
+
}
|
|
1490
|
+
}, children: [
|
|
1491
|
+
/* @__PURE__ */ v(Cn, { children: [
|
|
1492
|
+
/* @__PURE__ */ a($n, { children: "Invite link" }),
|
|
1493
|
+
/* @__PURE__ */ a(Rn, { children: t })
|
|
1494
|
+
] }),
|
|
1495
|
+
/* @__PURE__ */ a(Qn, { name: "icon-copy" })
|
|
1496
|
+
] }),
|
|
1497
|
+
e && e.length > 0 && /* @__PURE__ */ a(Un, { children: e.map(({ icon: u, link: f, label: m }) => /* @__PURE__ */ v(qn, { href: f, target: "_blank", children: [
|
|
1498
|
+
/* @__PURE__ */ a(x, { name: u }),
|
|
1499
|
+
/* @__PURE__ */ a(Yn, { children: m })
|
|
1500
|
+
] }, f)) })
|
|
1501
|
+
] }), Wn = ({ deepLink: t }) => {
|
|
1502
|
+
const { data: e } = O(t.$store);
|
|
1503
|
+
return /* @__PURE__ */ a(
|
|
1504
|
+
Pn,
|
|
1505
|
+
{
|
|
1506
|
+
inviteLink: e == null ? void 0 : e.url,
|
|
1507
|
+
socialLinks: [
|
|
1508
|
+
{
|
|
1509
|
+
icon: "icon-facebook",
|
|
1510
|
+
link: "https://www.facebook.com/TheMasters",
|
|
1511
|
+
label: "Facebook"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
icon: "icon-twitter",
|
|
1515
|
+
link: "https://twitter.com/@TheMasters",
|
|
1516
|
+
label: "X"
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
inviteCardTitle: "It’s more fun with friends",
|
|
1520
|
+
inviteCardSubtext: "Invite and compete against your friends for the top spot on the leaderboard."
|
|
1521
|
+
}
|
|
1522
|
+
);
|
|
1523
|
+
}, Fn = ({ gamification: t }) => {
|
|
1524
|
+
const { data: e } = O(t.leaderboardList.$store);
|
|
1525
|
+
return e != null && e.length ? /* @__PURE__ */ a(Wn, { deepLink: t.deepLink }) : /* @__PURE__ */ a(
|
|
1526
|
+
Sn,
|
|
1527
|
+
{
|
|
1528
|
+
fetchMore: t.leaderboardList.fetchMore,
|
|
1529
|
+
items: e,
|
|
1530
|
+
openItemDetail: t.openUser
|
|
1531
|
+
}
|
|
1532
|
+
);
|
|
1416
1533
|
};
|
|
1417
|
-
const
|
|
1534
|
+
const Vn = /* @__PURE__ */ o("button")({
|
|
1418
1535
|
name: "a",
|
|
1419
1536
|
class: "akly9h2",
|
|
1420
1537
|
propsAsIs: !1
|
|
1421
|
-
}),
|
|
1538
|
+
}), Hn = /* @__PURE__ */ o("span")({
|
|
1422
1539
|
name: "e",
|
|
1423
1540
|
class: "eptoiz9",
|
|
1424
1541
|
propsAsIs: !1
|
|
1425
|
-
}),
|
|
1426
|
-
const
|
|
1542
|
+
}), Bn = ({ disabled: t, variant: e = "primary", onClick: s, children: n, ...i }) => /* @__PURE__ */ a(Vn, { onClick: s, disabled: t, "data-variant": e, ...i, children: /* @__PURE__ */ a(Hn, { children: n }) });
|
|
1543
|
+
const Gn = () => x, Zn = () => x, Jn = /* @__PURE__ */ o("div")({
|
|
1427
1544
|
name: "s",
|
|
1428
1545
|
class: "s1lblda3",
|
|
1429
1546
|
propsAsIs: !1
|
|
1430
|
-
}),
|
|
1547
|
+
}), Kn = /* @__PURE__ */ o("div")({
|
|
1431
1548
|
name: "a",
|
|
1432
1549
|
class: "ascvb2g",
|
|
1433
1550
|
propsAsIs: !1
|
|
1434
|
-
}),
|
|
1551
|
+
}), Xn = /* @__PURE__ */ o("div")({
|
|
1435
1552
|
name: "p",
|
|
1436
1553
|
class: "p17rl8zy",
|
|
1437
1554
|
propsAsIs: !1
|
|
1438
|
-
}),
|
|
1555
|
+
}), ei = /* @__PURE__ */ o("div")({
|
|
1439
1556
|
name: "l",
|
|
1440
1557
|
class: "l1vvttbn",
|
|
1441
1558
|
propsAsIs: !1
|
|
1442
|
-
}), se = /* @__PURE__ */ o(
|
|
1559
|
+
}), se = /* @__PURE__ */ o(Gn())({
|
|
1443
1560
|
name: "c",
|
|
1444
1561
|
class: "c6fk2ph",
|
|
1445
1562
|
propsAsIs: !0
|
|
1446
|
-
}),
|
|
1563
|
+
}), ti = /* @__PURE__ */ o(Zn())({
|
|
1447
1564
|
name: "d",
|
|
1448
1565
|
class: "d1rdm136",
|
|
1449
1566
|
propsAsIs: !0
|
|
1450
|
-
}),
|
|
1567
|
+
}), si = /* @__PURE__ */ o("div")({
|
|
1451
1568
|
name: "f",
|
|
1452
1569
|
class: "fwqnnel",
|
|
1453
1570
|
propsAsIs: !1
|
|
1454
|
-
}),
|
|
1571
|
+
}), ni = /* @__PURE__ */ o("div")({
|
|
1455
1572
|
name: "u",
|
|
1456
1573
|
class: "ucyxnlg",
|
|
1457
1574
|
propsAsIs: !1
|
|
1458
|
-
}),
|
|
1575
|
+
}), ii = {
|
|
1459
1576
|
[F.LOST]: /* @__PURE__ */ a(se, { name: "icon-cross" }),
|
|
1460
1577
|
[F.WON]: /* @__PURE__ */ a(se, { name: "icon-check" }),
|
|
1461
1578
|
[F.UNSET]: void 0,
|
|
1462
1579
|
[F.DNP]: /* @__PURE__ */ a(se, { name: "icon-arrow" })
|
|
1463
|
-
},
|
|
1580
|
+
}, ri = ({
|
|
1464
1581
|
questionId: t,
|
|
1465
1582
|
questionType: e,
|
|
1466
1583
|
questionStatus: s,
|
|
1467
1584
|
subject: n,
|
|
1468
1585
|
openForVoting: i,
|
|
1469
|
-
openQuestion:
|
|
1470
|
-
status:
|
|
1586
|
+
openQuestion: d,
|
|
1587
|
+
status: u
|
|
1471
1588
|
}) => {
|
|
1472
|
-
const f =
|
|
1473
|
-
return f ? /* @__PURE__ */
|
|
1474
|
-
/* @__PURE__ */
|
|
1475
|
-
/* @__PURE__ */
|
|
1476
|
-
/* @__PURE__ */ a(
|
|
1477
|
-
/* @__PURE__ */
|
|
1589
|
+
const f = Oe[e], m = ii[u];
|
|
1590
|
+
return f ? /* @__PURE__ */ v(Jn, { onClick: () => d == null ? void 0 : d(t), children: [
|
|
1591
|
+
/* @__PURE__ */ v(ni, { children: [
|
|
1592
|
+
/* @__PURE__ */ v(Kn, { children: [
|
|
1593
|
+
/* @__PURE__ */ a(ti, { name: f.iconName }),
|
|
1594
|
+
/* @__PURE__ */ v(si, { children: [
|
|
1478
1595
|
f.label,
|
|
1479
1596
|
e === D.TRIVIA && s === Y.RESOLVED && " • Expired"
|
|
1480
1597
|
] })
|
|
1481
1598
|
] }),
|
|
1482
|
-
/* @__PURE__ */ a(
|
|
1599
|
+
/* @__PURE__ */ a(Xn, { children: n || "" })
|
|
1483
1600
|
] }),
|
|
1484
|
-
/* @__PURE__ */ a(
|
|
1601
|
+
/* @__PURE__ */ a(ei, { children: m || (i ? /* @__PURE__ */ a(Bn, { children: "Play" }) : null) })
|
|
1485
1602
|
] }) : null;
|
|
1486
1603
|
};
|
|
1487
|
-
const
|
|
1604
|
+
const ai = /* @__PURE__ */ o("div")({
|
|
1488
1605
|
name: "n",
|
|
1489
1606
|
class: "n1jcgove",
|
|
1490
1607
|
propsAsIs: !1
|
|
1491
|
-
}),
|
|
1608
|
+
}), oi = /* @__PURE__ */ o("button")({
|
|
1492
1609
|
name: "l",
|
|
1493
1610
|
class: "l1bwp7hh",
|
|
1494
1611
|
propsAsIs: !1
|
|
1495
|
-
}),
|
|
1612
|
+
}), li = ({
|
|
1496
1613
|
openInsight: t,
|
|
1497
1614
|
questionId: e,
|
|
1498
1615
|
...s
|
|
1499
|
-
}) => /* @__PURE__ */
|
|
1500
|
-
/* @__PURE__ */ a(
|
|
1501
|
-
t && /* @__PURE__ */ a(
|
|
1616
|
+
}) => /* @__PURE__ */ v(ai, { children: [
|
|
1617
|
+
/* @__PURE__ */ a(Ye, { questionId: e, ...s }),
|
|
1618
|
+
t && /* @__PURE__ */ a(oi, { onClick: () => t(e), children: "View Insight" })
|
|
1502
1619
|
] });
|
|
1503
|
-
const
|
|
1620
|
+
const ci = /* @__PURE__ */ o("div")({
|
|
1504
1621
|
name: "t",
|
|
1505
1622
|
class: "t19vr3p1",
|
|
1506
1623
|
propsAsIs: !1
|
|
1507
|
-
}),
|
|
1624
|
+
}), di = ({ questions: t, openQuestion: e }) => /* @__PURE__ */ a(ci, { children: t == null ? void 0 : t.map((s) => {
|
|
1508
1625
|
var n, i;
|
|
1509
1626
|
if (s.type === "question" && ((n = s.attributes) == null ? void 0 : n.attributes.case) === "question") {
|
|
1510
|
-
const
|
|
1511
|
-
return /* @__PURE__ */ a(
|
|
1627
|
+
const d = s.attributes.attributes.value;
|
|
1628
|
+
return /* @__PURE__ */ a(ri, { openQuestion: e, ...d }, d.questionId);
|
|
1512
1629
|
}
|
|
1513
1630
|
if (s.type === "insight" && ((i = s.attributes) == null ? void 0 : i.attributes.case) === "insight") {
|
|
1514
|
-
const
|
|
1515
|
-
return /* @__PURE__ */ a(
|
|
1631
|
+
const d = s.attributes.attributes.value;
|
|
1632
|
+
return /* @__PURE__ */ a(li, { openInsight: e, ...d }, d.questionId);
|
|
1516
1633
|
}
|
|
1517
1634
|
return null;
|
|
1518
|
-
}) }),
|
|
1519
|
-
const s =
|
|
1520
|
-
return s != null && s.data ? /* @__PURE__ */ a(
|
|
1521
|
-
},
|
|
1635
|
+
}) }), ui = ({ store: t, openQuestion: e }) => {
|
|
1636
|
+
const s = O(t);
|
|
1637
|
+
return s != null && s.data ? /* @__PURE__ */ a(di, { openQuestion: e, questions: s.data }) : /* @__PURE__ */ a("div", { children: "wait questions..." });
|
|
1638
|
+
}, pi = ({ userSummary: t }) => {
|
|
1522
1639
|
var e;
|
|
1523
|
-
const s =
|
|
1524
|
-
return (e = s.data) != null && e.summary ? /* @__PURE__ */ a(
|
|
1525
|
-
},
|
|
1526
|
-
const [e, s] =
|
|
1527
|
-
return /* @__PURE__ */
|
|
1528
|
-
/* @__PURE__ */
|
|
1640
|
+
const s = O(t.getStore());
|
|
1641
|
+
return (e = s.data) != null && e.summary ? /* @__PURE__ */ a(Re, { ...s.data.summary, ...s.data.percentage }) : /* @__PURE__ */ a("div", { children: "wait user..." });
|
|
1642
|
+
}, hi = ({ gamification: t }) => {
|
|
1643
|
+
const [e, s] = $(U.HOME);
|
|
1644
|
+
return /* @__PURE__ */ v("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
|
|
1645
|
+
/* @__PURE__ */ v(ne, { children: [
|
|
1529
1646
|
/* @__PURE__ */ a(Zs, { activePage: e, toggleActivePage: s }),
|
|
1530
|
-
e ===
|
|
1647
|
+
e === U.HOME && /* @__PURE__ */ a(pi, { userSummary: t.userSummary })
|
|
1531
1648
|
] }),
|
|
1532
|
-
e ===
|
|
1533
|
-
e ===
|
|
1649
|
+
e === U.HOME && /* @__PURE__ */ a(st, { children: /* @__PURE__ */ a(ui, { openQuestion: t.openQuestion, store: t.feedList.getStore() }) }),
|
|
1650
|
+
e === U.LEADERBOARD && /* @__PURE__ */ a(ne, { style: { flex: "1 1 auto", paddingTop: 0, paddingBottom: 0 }, children: /* @__PURE__ */ a(Fn, { gamification: t }) })
|
|
1534
1651
|
] });
|
|
1535
1652
|
};
|
|
1536
|
-
const
|
|
1653
|
+
const mi = () => nt, be = /* @__PURE__ */ o(mi())({
|
|
1537
1654
|
name: "e",
|
|
1538
1655
|
class: "e1ph66cs",
|
|
1539
1656
|
propsAsIs: !0
|
|
1540
|
-
}),
|
|
1657
|
+
}), fi = /* @__PURE__ */ o("div")({
|
|
1541
1658
|
name: "x",
|
|
1542
1659
|
class: "xorme7i",
|
|
1543
1660
|
propsAsIs: !1
|
|
1544
|
-
}),
|
|
1661
|
+
}), Mi = ({
|
|
1545
1662
|
gamification: t,
|
|
1546
1663
|
className: e
|
|
1547
1664
|
}) => {
|
|
1548
|
-
const s =
|
|
1549
|
-
return /* @__PURE__ */
|
|
1550
|
-
children: [s && /* @__PURE__ */ a(
|
|
1665
|
+
const s = O(t.openedQuestion.$store), n = O(t.openedUser);
|
|
1666
|
+
return /* @__PURE__ */ v(q, {
|
|
1667
|
+
children: [s && /* @__PURE__ */ a(be, {
|
|
1551
1668
|
className: e,
|
|
1552
1669
|
children: /* @__PURE__ */ a(Fs, {
|
|
1553
1670
|
gamification: t
|
|
1554
1671
|
})
|
|
1555
|
-
}), n && /* @__PURE__ */ a(
|
|
1672
|
+
}), n && /* @__PURE__ */ a(be, {
|
|
1556
1673
|
className: e,
|
|
1557
|
-
children: /* @__PURE__ */
|
|
1674
|
+
children: /* @__PURE__ */ v(fi, {
|
|
1558
1675
|
children: [/* @__PURE__ */ a($e, {
|
|
1559
1676
|
label: "Friend's Rank",
|
|
1560
1677
|
close: t.closeUser
|
|
1561
|
-
}), /* @__PURE__ */ a(
|
|
1562
|
-
children: /* @__PURE__ */ a(
|
|
1678
|
+
}), /* @__PURE__ */ a(ne, {
|
|
1679
|
+
children: /* @__PURE__ */ a(Re, {
|
|
1563
1680
|
...n
|
|
1564
1681
|
})
|
|
1565
1682
|
})]
|
|
@@ -1567,13 +1684,13 @@ const Zn = () => nt, Ee = /* @__PURE__ */ o(Zn())({
|
|
|
1567
1684
|
}), /* @__PURE__ */ a(Le, {
|
|
1568
1685
|
className: e,
|
|
1569
1686
|
"data-nav": "true",
|
|
1570
|
-
children: /* @__PURE__ */ a(
|
|
1687
|
+
children: /* @__PURE__ */ a(hi, {
|
|
1571
1688
|
gamification: t
|
|
1572
1689
|
})
|
|
1573
1690
|
})]
|
|
1574
1691
|
});
|
|
1575
1692
|
};
|
|
1576
1693
|
export {
|
|
1577
|
-
|
|
1578
|
-
|
|
1694
|
+
Mi as GamificationOverlay,
|
|
1695
|
+
Mi as default
|
|
1579
1696
|
};
|