@streamlayer/react 0.25.0 → 0.25.1
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/{app-7d2366e2.js → app-43e52907.js} +1 -1
- package/lib/{app-ee511fac.cjs → app-519f86cc.cjs} +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/es/auth.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/es/masters.js +10 -10
- package/lib/es/points.js +2 -2
- package/lib/{provider-a48a64e8.js → provider-a6b36c89.js} +494 -497
- package/lib/{provider-bc10f329.cjs → provider-b2d54b1b.cjs} +4 -4
- package/lib/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as z, jsx as p, Fragment as Oe } from "react/jsx-runtime";
|
|
2
2
|
import * as M from "react";
|
|
3
|
-
import Ke, { useCallback as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { CountdownCircleTimer as
|
|
3
|
+
import Ke, { useCallback as He, useState as K, useEffect as bt, useMemo as De, useRef as ki, Component as bi, createElement as rt, PureComponent as pi, createContext as Ri } from "react";
|
|
4
|
+
import _i from "react-auth-code-input";
|
|
5
|
+
import Oi, { isValidPhoneNumber as Ui, formatPhoneNumberIntl as $i } from "react-phone-number-input";
|
|
6
|
+
import { CountdownCircleTimer as Fi } from "react-countdown-circle-timer";
|
|
7
7
|
import { createPromiseClient as Rt } from "@connectrpc/connect";
|
|
8
8
|
import { createGrpcWebTransport as _t } from "@connectrpc/connect-web";
|
|
9
9
|
import { Users as Ot } from "@streamlayer/sl-eslib/users/users_connect";
|
|
10
|
-
import { QuestionType as W, PickHistoryStatus as et, QuestionStatus as
|
|
11
|
-
import { FeatureStatus as
|
|
12
|
-
import { AvailableFeatures as
|
|
10
|
+
import { QuestionType as W, PickHistoryStatus as et, QuestionStatus as Pi, QuestionImages as ve, FeatureType as Pt } from "@streamlayer/sdk-web-types";
|
|
11
|
+
import { FeatureStatus as Ve } from "@streamlayer/sdk-web-interfaces";
|
|
12
|
+
import { AvailableFeatures as Yi } from "@streamlayer/sdk-web-features";
|
|
13
13
|
import "@streamlayer/sdk-web-api";
|
|
14
|
-
import { Storage as
|
|
14
|
+
import { Storage as Vi } from "@streamlayer/sdk-web-storage";
|
|
15
15
|
import { useStore as Z } from "@nanostores/react";
|
|
16
16
|
import { NotificationType as Yt } from "@streamlayer/sdk-web-notifications";
|
|
17
17
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
@@ -19,20 +19,20 @@ import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
|
19
19
|
import { SdkOverlayType as tt } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
20
20
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
21
21
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
22
|
-
import { useStreamLayerApp as
|
|
22
|
+
import { useStreamLayerApp as Zi } from "./es/useStreamLayerApp.js";
|
|
23
23
|
const Ut = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
24
|
-
function
|
|
24
|
+
function Qi(r) {
|
|
25
25
|
var o = /* @__PURE__ */ Object.create(null);
|
|
26
26
|
return function(l) {
|
|
27
27
|
return o[l] === void 0 && (o[l] = r(l)), o[l];
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var Hi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, mt = /* @__PURE__ */ Qi(
|
|
31
31
|
function(r) {
|
|
32
|
-
return
|
|
32
|
+
return Hi.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
33
33
|
}
|
|
34
34
|
/* Z+1 */
|
|
35
|
-
),
|
|
35
|
+
), Gi = function() {
|
|
36
36
|
const o = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, h = [];
|
|
37
37
|
o.forEach((g) => {
|
|
38
38
|
(g ? g.split(" ") : []).forEach((s) => {
|
|
@@ -47,13 +47,13 @@ var Qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
47
47
|
for (const g in l)
|
|
48
48
|
Object.prototype.hasOwnProperty.call(l, g) && d.push(l[g]);
|
|
49
49
|
return d.push(...h), d.join(" ");
|
|
50
|
-
}, Vt =
|
|
50
|
+
}, Vt = Gi, Wi = (r) => r.toUpperCase() === r, qi = (r) => (o) => r.indexOf(o) === -1, fi = (r, o) => {
|
|
51
51
|
const l = {};
|
|
52
|
-
return Object.keys(r).filter(
|
|
52
|
+
return Object.keys(r).filter(qi(o)).forEach((h) => {
|
|
53
53
|
l[h] = r[h];
|
|
54
54
|
}), l;
|
|
55
55
|
};
|
|
56
|
-
function
|
|
56
|
+
function Ji(r, o, l) {
|
|
57
57
|
const h = fi(o, l);
|
|
58
58
|
if (!r) {
|
|
59
59
|
const d = typeof mt == "function" ? { default: mt } : mt;
|
|
@@ -63,28 +63,28 @@ function qi(r, o, l) {
|
|
|
63
63
|
}
|
|
64
64
|
return h;
|
|
65
65
|
}
|
|
66
|
-
var
|
|
66
|
+
var Xi = (r, o) => {
|
|
67
67
|
};
|
|
68
|
-
function
|
|
68
|
+
function Ki(r) {
|
|
69
69
|
let o = "";
|
|
70
70
|
return (l) => {
|
|
71
71
|
const h = (g, f) => {
|
|
72
|
-
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !
|
|
72
|
+
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !Wi(s[0])) : l.propsAsIs, E = Ji(N, g, [
|
|
73
73
|
"as",
|
|
74
74
|
"class"
|
|
75
75
|
]);
|
|
76
76
|
E.ref = f, E.className = l.atomic ? Vt(l.class, E.className || I) : Vt(E.className || I, l.class);
|
|
77
77
|
const { vars: x } = l;
|
|
78
78
|
if (x) {
|
|
79
|
-
const
|
|
79
|
+
const w = {};
|
|
80
80
|
for (const y in x) {
|
|
81
|
-
const A = x[y],
|
|
82
|
-
|
|
81
|
+
const A = x[y], C = A[0], v = A[1] || "", j = typeof C == "function" ? C(g) : C;
|
|
82
|
+
Xi(j, l.name), w[`--${y}`] = `${j}${v}`;
|
|
83
83
|
}
|
|
84
84
|
const T = E.style || {}, L = Object.keys(T);
|
|
85
85
|
L.length > 0 && L.forEach((y) => {
|
|
86
|
-
|
|
87
|
-
}), E.style =
|
|
86
|
+
w[y] = T[y];
|
|
87
|
+
}), E.style = w;
|
|
88
88
|
}
|
|
89
89
|
return r.__linaria && r !== s ? (E.as = s, Ke.createElement(r, E)) : Ke.createElement(s, E);
|
|
90
90
|
}, d = Ke.forwardRef ? Ke.forwardRef(h) : (
|
|
@@ -101,58 +101,58 @@ function Xi(r) {
|
|
|
101
101
|
}, d;
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
var m =
|
|
105
|
-
const
|
|
104
|
+
var m = Ki;
|
|
105
|
+
const er = /* @__PURE__ */ m("div")({
|
|
106
106
|
name: "o",
|
|
107
107
|
class: "o1gwxd13",
|
|
108
108
|
propsAsIs: !1
|
|
109
|
-
}),
|
|
109
|
+
}), tr = /* @__PURE__ */ m("div")({
|
|
110
110
|
name: "n",
|
|
111
111
|
class: "nsmzrlg",
|
|
112
112
|
propsAsIs: !1
|
|
113
|
-
}),
|
|
113
|
+
}), ir = /* @__PURE__ */ m("img")({
|
|
114
114
|
name: "i",
|
|
115
115
|
class: "i81s9fc",
|
|
116
116
|
propsAsIs: !1
|
|
117
|
-
}),
|
|
117
|
+
}), rr = /* @__PURE__ */ m("div")({
|
|
118
118
|
name: "r",
|
|
119
119
|
class: "rlmx6cw",
|
|
120
120
|
propsAsIs: !1
|
|
121
|
-
}),
|
|
121
|
+
}), nr = /* @__PURE__ */ m("div")({
|
|
122
122
|
name: "d",
|
|
123
123
|
class: "dqb0kgq",
|
|
124
124
|
propsAsIs: !1
|
|
125
|
-
}),
|
|
125
|
+
}), or = /* @__PURE__ */ m("div")({
|
|
126
126
|
name: "l",
|
|
127
127
|
class: "l1tjaqbq",
|
|
128
128
|
propsAsIs: !1
|
|
129
|
-
}),
|
|
129
|
+
}), sr = /* @__PURE__ */ m("div")({
|
|
130
130
|
name: "a",
|
|
131
131
|
class: "a1tb5jb7",
|
|
132
132
|
propsAsIs: !1
|
|
133
|
-
}),
|
|
133
|
+
}), ar = /* @__PURE__ */ m("button")({
|
|
134
134
|
name: "c",
|
|
135
135
|
class: "c11xpv3i",
|
|
136
136
|
propsAsIs: !1
|
|
137
|
-
}),
|
|
137
|
+
}), lr = /* @__PURE__ */ m("img")({
|
|
138
138
|
name: "s",
|
|
139
139
|
class: "s12ztjhk",
|
|
140
140
|
propsAsIs: !1
|
|
141
141
|
}), gi = ({ close: r, action: o, data: { color: l, icon: h, title: d } }) => {
|
|
142
|
-
const g =
|
|
142
|
+
const g = He(
|
|
143
143
|
(f) => {
|
|
144
144
|
f.stopPropagation(), r == null || r();
|
|
145
145
|
},
|
|
146
146
|
[r]
|
|
147
147
|
);
|
|
148
|
-
return /* @__PURE__ */ z(
|
|
149
|
-
/* @__PURE__ */ p(
|
|
150
|
-
/* @__PURE__ */ z(
|
|
151
|
-
/* @__PURE__ */ p(
|
|
152
|
-
/* @__PURE__ */ p(
|
|
148
|
+
return /* @__PURE__ */ z(er, { onClick: o, children: [
|
|
149
|
+
/* @__PURE__ */ p(tr, { style: l ? { backgroundColor: l } : {}, children: h && /* @__PURE__ */ p(ir, { alt: "in-app-icon", src: h }) }),
|
|
150
|
+
/* @__PURE__ */ z(rr, { children: [
|
|
151
|
+
/* @__PURE__ */ p(nr, { children: /* @__PURE__ */ p(or, { id: "in-app-title", children: d || "" }) }),
|
|
152
|
+
/* @__PURE__ */ p(sr, { children: /* @__PURE__ */ p(ar, { onClick: g, children: /* @__PURE__ */ p(lr, { alt: "close-in-app-icon", src: Ut }) }) })
|
|
153
153
|
] })
|
|
154
154
|
] });
|
|
155
|
-
},
|
|
155
|
+
}, cr = {
|
|
156
156
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
157
157
|
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
158
158
|
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
@@ -181,7 +181,7 @@ const Ki = /* @__PURE__ */ m("div")({
|
|
|
181
181
|
GREY_PRIMARY: "#909395",
|
|
182
182
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
183
183
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
184
|
-
},
|
|
184
|
+
}, ur = {
|
|
185
185
|
PRIMARY_GREEN1: "#107D57",
|
|
186
186
|
PRIMARY_GREEN2: "#006747",
|
|
187
187
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -203,7 +203,7 @@ const Ki = /* @__PURE__ */ m("div")({
|
|
|
203
203
|
NEUTRALS_GRAY8: "#53565A",
|
|
204
204
|
NEUTRALS_GRAY9: "#25282A",
|
|
205
205
|
NEUTRALS_BLACK: "#000000"
|
|
206
|
-
}, Le = Object.assign({},
|
|
206
|
+
}, Le = Object.assign({}, cr, ur);
|
|
207
207
|
Object.keys(Le).reduce((r, o) => {
|
|
208
208
|
const l = Le[o];
|
|
209
209
|
return `
|
|
@@ -211,29 +211,29 @@ Object.keys(Le).reduce((r, o) => {
|
|
|
211
211
|
--color-${o.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
212
212
|
`;
|
|
213
213
|
}, "");
|
|
214
|
-
const
|
|
214
|
+
const hr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], dr = [10, 10, 0], pr = /* @__PURE__ */ m("div")({
|
|
215
215
|
name: "A",
|
|
216
216
|
class: "a1f928zy",
|
|
217
217
|
propsAsIs: !1
|
|
218
|
-
}),
|
|
218
|
+
}), fr = Le.SECONDARY_GREEN6, Zt = Le.SECONDARY_RED3, gr = Le.NEUTRALS_GRAY3, mi = ({
|
|
219
219
|
isPlaying: r = !0,
|
|
220
220
|
duration: o = 30,
|
|
221
221
|
onTimerExpired: l
|
|
222
222
|
}) => {
|
|
223
|
-
const [h, d] = K(o > 10 ?
|
|
223
|
+
const [h, d] = K(o > 10 ? fr : Zt), g = ({
|
|
224
224
|
remainingTime: I
|
|
225
|
-
}) => /* @__PURE__ */ p(
|
|
225
|
+
}) => /* @__PURE__ */ p(pr, {
|
|
226
226
|
children: I
|
|
227
|
-
}), f =
|
|
228
|
-
l == null || l(), d(
|
|
229
|
-
}, [l, d]), s =
|
|
227
|
+
}), f = He(() => {
|
|
228
|
+
l == null || l(), d(gr);
|
|
229
|
+
}, [l, d]), s = He((I) => {
|
|
230
230
|
I === 10 && d(Zt);
|
|
231
231
|
}, [d]);
|
|
232
|
-
return /* @__PURE__ */ p(
|
|
232
|
+
return /* @__PURE__ */ p(Fi, {
|
|
233
233
|
isPlaying: r,
|
|
234
234
|
duration: o,
|
|
235
|
-
colors:
|
|
236
|
-
colorsTime:
|
|
235
|
+
colors: hr,
|
|
236
|
+
colorsTime: dr,
|
|
237
237
|
size: 32,
|
|
238
238
|
strokeWidth: 2,
|
|
239
239
|
trailStrokeWidth: 2,
|
|
@@ -242,24 +242,24 @@ const ur = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], hr = [10,
|
|
|
242
242
|
onUpdate: s,
|
|
243
243
|
children: g
|
|
244
244
|
});
|
|
245
|
-
},
|
|
245
|
+
}, mr = async (r, o) => {
|
|
246
246
|
const l = _t({
|
|
247
247
|
baseUrl: r
|
|
248
248
|
});
|
|
249
249
|
return await Rt(Ot, l).requestPassword({ id: o }), !0;
|
|
250
|
-
},
|
|
250
|
+
}, Ir = async (r, o) => {
|
|
251
251
|
const l = _t({
|
|
252
252
|
baseUrl: r
|
|
253
253
|
});
|
|
254
254
|
return await Rt(Ot, l).register({ id: o }), !0;
|
|
255
|
-
},
|
|
255
|
+
}, yr = async (r, o, l) => {
|
|
256
256
|
var h;
|
|
257
257
|
const d = _t({
|
|
258
258
|
baseUrl: r
|
|
259
259
|
}), g = await Rt(Ot, d).login({ id: o, password: l });
|
|
260
260
|
return (h = g == null ? void 0 : g.meta) == null ? void 0 : h.jwt;
|
|
261
261
|
};
|
|
262
|
-
const
|
|
262
|
+
const Mr = /* @__PURE__ */ m("div")({
|
|
263
263
|
name: "n",
|
|
264
264
|
class: "nhpumh7",
|
|
265
265
|
propsAsIs: !1
|
|
@@ -279,7 +279,7 @@ const yr = /* @__PURE__ */ m("div")({
|
|
|
279
279
|
name: "a",
|
|
280
280
|
class: "a1ifs31v",
|
|
281
281
|
propsAsIs: !1
|
|
282
|
-
}),
|
|
282
|
+
}), wr = /* @__PURE__ */ m("div")({
|
|
283
283
|
name: "p",
|
|
284
284
|
class: "p10d4aqp",
|
|
285
285
|
propsAsIs: !1
|
|
@@ -287,36 +287,36 @@ const yr = /* @__PURE__ */ m("div")({
|
|
|
287
287
|
name: "d",
|
|
288
288
|
class: "dje8inq",
|
|
289
289
|
propsAsIs: !1
|
|
290
|
-
}),
|
|
290
|
+
}), Er = ({ login: r, anonymousLogin: o, host: l }) => {
|
|
291
291
|
const [h, d] = K(""), [g, f] = K(""), [s, I] = K(""), N = async (x) => {
|
|
292
292
|
x.preventDefault();
|
|
293
293
|
try {
|
|
294
|
-
const
|
|
294
|
+
const w = h.replaceAll("+", "");
|
|
295
295
|
try {
|
|
296
|
-
await
|
|
296
|
+
await mr(l, w);
|
|
297
297
|
} catch {
|
|
298
|
-
await
|
|
298
|
+
await Ir(l, w);
|
|
299
299
|
}
|
|
300
|
-
f(
|
|
301
|
-
} catch (
|
|
302
|
-
window.alert(
|
|
300
|
+
f(w);
|
|
301
|
+
} catch (w) {
|
|
302
|
+
window.alert(w);
|
|
303
303
|
}
|
|
304
304
|
}, E = async (x) => {
|
|
305
305
|
if (x.preventDefault(), g && s)
|
|
306
306
|
try {
|
|
307
|
-
const
|
|
308
|
-
|
|
309
|
-
} catch (
|
|
310
|
-
window.alert(
|
|
307
|
+
const w = await yr(l, g, s);
|
|
308
|
+
w && r ? await r(w) : console.log("token", w);
|
|
309
|
+
} catch (w) {
|
|
310
|
+
window.alert(w);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
return /* @__PURE__ */ z(
|
|
313
|
+
return /* @__PURE__ */ z(Mr, { children: [
|
|
314
314
|
!g && /* @__PURE__ */ z("div", { children: [
|
|
315
315
|
/* @__PURE__ */ z(Qt, { onSubmit: N, children: [
|
|
316
316
|
/* @__PURE__ */ p(Ht, { children: "Enter your phone number" }),
|
|
317
317
|
/* @__PURE__ */ p(It, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
318
|
-
/* @__PURE__ */ p(
|
|
319
|
-
/* @__PURE__ */ p(yt, { disabled: !
|
|
318
|
+
/* @__PURE__ */ p(wr, { children: /* @__PURE__ */ p(Oi, { value: h, onChange: (x) => d(`${x}`) }) }),
|
|
319
|
+
/* @__PURE__ */ p(yt, { disabled: !Ui(h), type: "submit", children: "request code" })
|
|
320
320
|
] }),
|
|
321
321
|
o && /* @__PURE__ */ p(yt, { style: { display: "block", margin: "auto" }, onClick: o, children: "anonymous login" })
|
|
322
322
|
] }),
|
|
@@ -326,9 +326,9 @@ const yr = /* @__PURE__ */ m("div")({
|
|
|
326
326
|
"Please enter the verification code ",
|
|
327
327
|
/* @__PURE__ */ p("br", {}),
|
|
328
328
|
"sent to ",
|
|
329
|
-
/* @__PURE__ */ p("b", { children:
|
|
329
|
+
/* @__PURE__ */ p("b", { children: $i(h) })
|
|
330
330
|
] }),
|
|
331
|
-
/* @__PURE__ */ p(Cr, { children: /* @__PURE__ */ p(
|
|
331
|
+
/* @__PURE__ */ p(Cr, { children: /* @__PURE__ */ p(_i, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
332
332
|
/* @__PURE__ */ p(yt, { disabled: s.length !== 4, type: "submit", children: "login" }),
|
|
333
333
|
/* @__PURE__ */ z(It, { children: [
|
|
334
334
|
"Didn't get 59 the code? ",
|
|
@@ -339,141 +339,141 @@ const yr = /* @__PURE__ */ m("div")({
|
|
|
339
339
|
] })
|
|
340
340
|
] });
|
|
341
341
|
};
|
|
342
|
-
const
|
|
342
|
+
const Ar = /* @__PURE__ */ m("div")({
|
|
343
343
|
name: "i",
|
|
344
344
|
class: "i1grt8h",
|
|
345
345
|
propsAsIs: !1
|
|
346
|
-
}),
|
|
346
|
+
}), Nr = /* @__PURE__ */ m("div")({
|
|
347
347
|
name: "n",
|
|
348
348
|
class: "n1rozou",
|
|
349
349
|
propsAsIs: !1
|
|
350
|
-
}),
|
|
350
|
+
}), xr = /* @__PURE__ */ m("img")({
|
|
351
351
|
name: "o",
|
|
352
352
|
class: "o81ls6z",
|
|
353
353
|
propsAsIs: !1
|
|
354
|
-
}),
|
|
354
|
+
}), Tr = /* @__PURE__ */ m("div")({
|
|
355
355
|
name: "d",
|
|
356
356
|
class: "d9l6z9i",
|
|
357
357
|
propsAsIs: !1
|
|
358
|
-
}),
|
|
359
|
-
/* @__PURE__ */ p(
|
|
360
|
-
/* @__PURE__ */ p(
|
|
358
|
+
}), vr = ({ graphic: r, headline: o }) => /* @__PURE__ */ p(Ar, { children: /* @__PURE__ */ z(Nr, { children: [
|
|
359
|
+
/* @__PURE__ */ p(xr, { alt: "graphic-img-instructions", src: r }),
|
|
360
|
+
/* @__PURE__ */ p(Tr, { children: o })
|
|
361
361
|
] }) });
|
|
362
|
-
const
|
|
362
|
+
const Dr = /* @__PURE__ */ m("div")({
|
|
363
363
|
name: "e",
|
|
364
364
|
class: "e1o3lzmc",
|
|
365
365
|
propsAsIs: !1
|
|
366
|
-
}),
|
|
366
|
+
}), Lr = /* @__PURE__ */ m("div")({
|
|
367
367
|
name: "o",
|
|
368
368
|
class: "otjo97h",
|
|
369
369
|
propsAsIs: !1
|
|
370
|
-
}),
|
|
370
|
+
}), zr = /* @__PURE__ */ m("div")({
|
|
371
371
|
name: "i",
|
|
372
372
|
class: "ivk43vg",
|
|
373
373
|
propsAsIs: !1
|
|
374
|
-
}),
|
|
374
|
+
}), jr = /* @__PURE__ */ m("img")({
|
|
375
375
|
name: "r",
|
|
376
376
|
class: "r1w33akz",
|
|
377
377
|
propsAsIs: !1
|
|
378
|
-
}),
|
|
378
|
+
}), Sr = /* @__PURE__ */ m("div")({
|
|
379
379
|
name: "c",
|
|
380
380
|
class: "c1a3ssoy",
|
|
381
381
|
propsAsIs: !1
|
|
382
|
-
}),
|
|
382
|
+
}), Br = /* @__PURE__ */ m("div")({
|
|
383
383
|
name: "a",
|
|
384
384
|
class: "ayzr5mb",
|
|
385
385
|
propsAsIs: !1
|
|
386
|
-
}),
|
|
386
|
+
}), kr = /* @__PURE__ */ m("button")({
|
|
387
387
|
name: "p",
|
|
388
388
|
class: "p30t8qv",
|
|
389
389
|
propsAsIs: !1
|
|
390
|
-
}),
|
|
390
|
+
}), br = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwLjgwNzcgMTIuMjQ4NkMyMi4zMzY1IDEyLjI0ODYgMjMuNTc2OSAxMS4wODAyIDIzLjU3NjkgOS42Mzk5NEMyMy41NzY5IDguMTk5NzMgMjIuMzM2NSA3LjAzMTI1IDIwLjgwNzcgNy4wMzEyNVpNMjAuODA3NyAxMi4yNDg2QzE4Ljc3NzYgMTIuMjQ4NiAxNy4xMTU0IDEzLjgxNDUgMTcuMTE1NCAxNS43MjY5VjE3LjYyOUMxNy4xMTU0IDE3LjYyOSAxOC4wMzg1IDE4LjMzNTYgMjAuODA3NyAxOC4zMzU2QzIzLjU3NjkgMTguMzM1NiAyNC41IDE3LjYyOSAyNC41IDE3LjYyOVYxNS43MjY5QzI0LjUgMTMuODE0NSAyMi44Mzc3IDEyLjI0ODYgMjAuODA3NyAxMi4yNDg2Wk0xMi41IDEwLjUwOTVDMTAuOTcxMiAxMC41MDk1IDkuNzMwNzcgMTEuNjc4IDkuNzMwNzcgMTMuMTE4MkM5LjczMDc3IDE0LjU1ODQgMTAuOTcxMiAxNS43MjY5IDEyLjUgMTUuNzI2OUMxNC4wMjg4IDE1LjcyNjkgMTUuMjY5MiAxNC41NTg0IDE1LjI2OTIgMTMuMTE4MkMxNS4yNjkyIDExLjY3OCAxNC4wMjg4IDEwLjUwOTUgMTIuNSAxMC41MDk1Wk0xMi41IDE1LjcyNjlDMTAuNDcgMTUuNzI2OSA4LjgwNzY5IDE3LjI5MjggOC44MDc2OSAxOS4yMDUxVjIxLjEwNzNDOC44MDc2OSAyMS4xMDczIDkuNzMwNzcgMjEuODEzOCAxMi41IDIxLjgxMzhDMTUuMjY5MiAyMS44MTM4IDE2LjE5MjMgMjEuMTA3MyAxNi4xOTIzIDIxLjEwNzNWMTkuMjA1MUMxNi4xOTIzIDE3LjI5MjggMTQuNTMgMTUuNzI2OSAxMi41IDE1LjcyNjlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik04LjU4NDczIDEuNUM2Ljk2MzkyIDEuNSA1LjY0ODkzIDIuNzM4NzYgNS42NDg5MyA0LjI2NTZDNS42NDg5MyA1Ljc5MjQ1IDYuOTYzOTIgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFDMTAuMjA1NSA3LjAzMTIxIDExLjUyMDUgNS43OTI0NSAxMS41MjA1IDQuMjY1NkMxMS41MjA1IDIuNzM4NzYgMTAuMjA1NSAxLjUgOC41ODQ3MyAxLjVaTTguNTg0NzMgNy4wMzEyMUM4LjI5MDM4IDcuMDMxMjEgNy45OTIyMSA3LjAyNCA3LjY5Nzg3IDcuMTE3NjNDOC4yODY1NiA3Ljg1NTg0IDguNTg0NzMgOC43ODEzMSA4LjU4NDczIDkuNzk2ODFDOC41ODQ3MyAxMC4xNjQxIDguNDkyOTggMTAuNTI0MiA4LjQ5Mjk4IDEwLjg5MTVDOS4yNzY2MyA5Ljc4NjAxIDEwLjU0MTkgOS4wNTg1OSAxMi4wMDk4IDguODc0OTRDMTEuMzI1NiA3Ljc2OTQyIDEwLjA1MjYgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFaTTE2LjQxMzUgMS41QzE0Ljc5MjcgMS41IDEzLjQ3NzcgMi43Mzg3NiAxMy40Nzc3IDQuMjY1NkMxMy40Nzc3IDUuNzkyNDUgMTQuNzkyNyA3LjAzMTIxIDE2LjQxMzUgNy4wMzEyMUMxOC4wMzQzIDcuMDMxMjEgMTkuMzQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", Rr = ({
|
|
391
391
|
inviteCardTitle: r,
|
|
392
392
|
inviteCardSubtext: o,
|
|
393
393
|
primaryColor: l
|
|
394
|
-
}) => /* @__PURE__ */ p(
|
|
395
|
-
/* @__PURE__ */ p(
|
|
396
|
-
/* @__PURE__ */ p(
|
|
397
|
-
/* @__PURE__ */ p(
|
|
398
|
-
/* @__PURE__ */ p(
|
|
394
|
+
}) => /* @__PURE__ */ p(Dr, { children: /* @__PURE__ */ z(Lr, { children: [
|
|
395
|
+
/* @__PURE__ */ p(zr, { style: { backgroundColor: l }, children: /* @__PURE__ */ p(jr, { alt: "invite-game-icon", src: br }) }),
|
|
396
|
+
/* @__PURE__ */ p(Sr, { children: r || "" }),
|
|
397
|
+
/* @__PURE__ */ p(Br, { children: o || "" }),
|
|
398
|
+
/* @__PURE__ */ p(kr, { onClick: () => {
|
|
399
399
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
400
400
|
] }) });
|
|
401
|
-
const
|
|
401
|
+
const _r = /* @__PURE__ */ m("div")({
|
|
402
402
|
name: "t",
|
|
403
403
|
class: "ty54o42",
|
|
404
404
|
propsAsIs: !1
|
|
405
|
-
}),
|
|
405
|
+
}), Or = /* @__PURE__ */ m("div")({
|
|
406
406
|
name: "o",
|
|
407
407
|
class: "oqyp1qa",
|
|
408
408
|
propsAsIs: !1
|
|
409
|
-
}),
|
|
409
|
+
}), Ur = /* @__PURE__ */ m("div")({
|
|
410
410
|
name: "r",
|
|
411
411
|
class: "rf1d3db",
|
|
412
412
|
propsAsIs: !1
|
|
413
|
-
}),
|
|
413
|
+
}), $r = /* @__PURE__ */ m("div")({
|
|
414
414
|
name: "n",
|
|
415
415
|
class: "n187jgct",
|
|
416
416
|
propsAsIs: !1
|
|
417
|
-
}),
|
|
417
|
+
}), Fr = /* @__PURE__ */ m("div")({
|
|
418
418
|
name: "d",
|
|
419
419
|
class: "d1i3t4lw",
|
|
420
420
|
propsAsIs: !1
|
|
421
|
-
}),
|
|
421
|
+
}), Pr = /* @__PURE__ */ m("div")({
|
|
422
422
|
name: "l",
|
|
423
423
|
class: "l1heulx5",
|
|
424
424
|
propsAsIs: !1
|
|
425
|
-
}),
|
|
426
|
-
/* @__PURE__ */ p(
|
|
427
|
-
/* @__PURE__ */ p(
|
|
428
|
-
/* @__PURE__ */ p(
|
|
429
|
-
/* @__PURE__ */ p(
|
|
425
|
+
}), Yr = ({ rules: r, rulesTitle: o, primaryColor: l }) => /* @__PURE__ */ z(_r, { children: [
|
|
426
|
+
/* @__PURE__ */ p(Or, { children: o }),
|
|
427
|
+
/* @__PURE__ */ p(Ur, { children: r == null ? void 0 : r.map((h, d) => /* @__PURE__ */ z($r, { children: [
|
|
428
|
+
/* @__PURE__ */ p(Fr, { style: { backgroundColor: l }, children: d + 1 }),
|
|
429
|
+
/* @__PURE__ */ p(Pr, { children: h })
|
|
430
430
|
] }, d)) })
|
|
431
431
|
] });
|
|
432
|
-
const
|
|
432
|
+
const Vr = /* @__PURE__ */ m("div")({
|
|
433
433
|
name: "n",
|
|
434
434
|
class: "n1cm2rh8",
|
|
435
435
|
propsAsIs: !1
|
|
436
|
-
}),
|
|
436
|
+
}), Zr = /* @__PURE__ */ m("div")({
|
|
437
437
|
name: "e",
|
|
438
438
|
class: "e9j28tc",
|
|
439
439
|
propsAsIs: !1
|
|
440
|
-
}),
|
|
440
|
+
}), Qr = /* @__PURE__ */ m("div")({
|
|
441
441
|
name: "i",
|
|
442
442
|
class: "iu1o1a8",
|
|
443
443
|
propsAsIs: !1
|
|
444
|
-
}),
|
|
444
|
+
}), Hr = /* @__PURE__ */ m("div")({
|
|
445
445
|
name: "r",
|
|
446
446
|
class: "r14ailyk",
|
|
447
447
|
propsAsIs: !1
|
|
448
|
-
}),
|
|
448
|
+
}), Gr = /* @__PURE__ */ m("div")({
|
|
449
449
|
name: "c",
|
|
450
450
|
class: "c11ybl5c",
|
|
451
451
|
propsAsIs: !1
|
|
452
|
-
}),
|
|
452
|
+
}), Wr = /* @__PURE__ */ m("img")({
|
|
453
453
|
name: "s",
|
|
454
454
|
class: "sd9s97",
|
|
455
455
|
propsAsIs: !1
|
|
456
|
-
}),
|
|
456
|
+
}), qr = /* @__PURE__ */ m("img")({
|
|
457
457
|
name: "l",
|
|
458
458
|
class: "l1ddowgh",
|
|
459
459
|
propsAsIs: !1
|
|
460
|
-
}),
|
|
460
|
+
}), Jr = /* @__PURE__ */ m("button")({
|
|
461
461
|
name: "d",
|
|
462
462
|
class: "d1s3ug7g",
|
|
463
463
|
propsAsIs: !1
|
|
464
|
-
}),
|
|
464
|
+
}), Xr = /* @__PURE__ */ m("img")({
|
|
465
465
|
name: "p",
|
|
466
466
|
class: "p17kmhv2",
|
|
467
467
|
propsAsIs: !1
|
|
468
|
-
}),
|
|
468
|
+
}), Kr = /* @__PURE__ */ m("button")({
|
|
469
469
|
name: "a",
|
|
470
470
|
class: "a1qucmt7",
|
|
471
471
|
propsAsIs: !1
|
|
472
|
-
}),
|
|
472
|
+
}), $e = {
|
|
473
473
|
steps: !1,
|
|
474
474
|
rules: !1,
|
|
475
475
|
inviteCard: !1
|
|
476
|
-
},
|
|
476
|
+
}, en = ({
|
|
477
477
|
gamification: r,
|
|
478
478
|
closeFeature: o,
|
|
479
479
|
steps: l,
|
|
@@ -487,30 +487,30 @@ const Yr = /* @__PURE__ */ m("div")({
|
|
|
487
487
|
inviteCardSubtext: E,
|
|
488
488
|
inviteCardBtnLabel: x
|
|
489
489
|
}) => {
|
|
490
|
-
const
|
|
490
|
+
const w = async () => {
|
|
491
491
|
await r.submitInplay();
|
|
492
492
|
}, T = () => {
|
|
493
493
|
o();
|
|
494
|
-
}, [L, y] = K(0), [A,
|
|
494
|
+
}, [L, y] = K(0), [A, C] = K($e);
|
|
495
495
|
bt(() => {
|
|
496
|
-
l != null && l.length ?
|
|
496
|
+
l != null && l.length ? C({ ...$e, steps: !0 }) : g != null && g.length ? C({ ...$e, rules: !0 }) : C({ ...$e, inviteCard: !0 });
|
|
497
497
|
}, []);
|
|
498
|
-
const v =
|
|
499
|
-
l != null && l.length && L < l.length - 1 ? y((j) => ++j) : g != null && g.length && A.steps ?
|
|
500
|
-
}, [L, l == null ? void 0 : l.length, g == null ? void 0 : g.length, A, y,
|
|
501
|
-
return /* @__PURE__ */ z(
|
|
502
|
-
/* @__PURE__ */ z(
|
|
503
|
-
/* @__PURE__ */ p(
|
|
504
|
-
/* @__PURE__ */ z(
|
|
505
|
-
d && /* @__PURE__ */ p(
|
|
506
|
-
/* @__PURE__ */ p(
|
|
498
|
+
const v = He(() => {
|
|
499
|
+
l != null && l.length && L < l.length - 1 ? y((j) => ++j) : g != null && g.length && A.steps ? C({ ...$e, rules: !0 }) : A.rules && C({ ...$e, inviteCard: !0 });
|
|
500
|
+
}, [L, l == null ? void 0 : l.length, g == null ? void 0 : g.length, A, y, C]);
|
|
501
|
+
return /* @__PURE__ */ z(Vr, { children: [
|
|
502
|
+
/* @__PURE__ */ z(Qr, { children: [
|
|
503
|
+
/* @__PURE__ */ p(Hr, { children: h && /* @__PURE__ */ p(Wr, { alt: "sponsor-one-onboarding-icon", src: h }) }),
|
|
504
|
+
/* @__PURE__ */ z(Gr, { children: [
|
|
505
|
+
d && /* @__PURE__ */ p(qr, { alt: "sponsor-two-onboarding-icon", src: d }),
|
|
506
|
+
/* @__PURE__ */ p(Jr, { onClick: T, children: /* @__PURE__ */ p(Xr, { alt: "icon-close-onboarding", src: Ut }) })
|
|
507
507
|
] })
|
|
508
508
|
] }),
|
|
509
|
-
/* @__PURE__ */ z(
|
|
510
|
-
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(
|
|
511
|
-
A.rules && /* @__PURE__ */ p(
|
|
509
|
+
/* @__PURE__ */ z(Zr, { children: [
|
|
510
|
+
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(vr, { graphic: l[L].graphic, headline: l[L].headline }),
|
|
511
|
+
A.rules && /* @__PURE__ */ p(Yr, { rules: g, rulesTitle: s, primaryColor: I }),
|
|
512
512
|
A.inviteCard && /* @__PURE__ */ p(
|
|
513
|
-
|
|
513
|
+
Rr,
|
|
514
514
|
{
|
|
515
515
|
inviteCardTitle: N,
|
|
516
516
|
inviteCardSubtext: E,
|
|
@@ -518,28 +518,28 @@ const Yr = /* @__PURE__ */ m("div")({
|
|
|
518
518
|
}
|
|
519
519
|
)
|
|
520
520
|
] }),
|
|
521
|
-
/* @__PURE__ */ p(
|
|
521
|
+
/* @__PURE__ */ p(Kr, { onClick: A.inviteCard ? w : v, children: A.rules ? f || "Got it!" : A.inviteCard ? x || "Play now!" : "Next" })
|
|
522
522
|
] });
|
|
523
523
|
};
|
|
524
|
-
const
|
|
524
|
+
const tn = /* @__PURE__ */ m("div")({
|
|
525
525
|
name: "t",
|
|
526
526
|
class: "tcim9sm",
|
|
527
527
|
propsAsIs: !1
|
|
528
|
-
}),
|
|
528
|
+
}), rn = /* @__PURE__ */ m("div")({
|
|
529
529
|
name: "e",
|
|
530
530
|
class: "e8wco6o",
|
|
531
531
|
propsAsIs: !1
|
|
532
|
-
}),
|
|
532
|
+
}), nn = /* @__PURE__ */ m("button")({
|
|
533
533
|
name: "n",
|
|
534
534
|
class: "n1ardwzl",
|
|
535
535
|
propsAsIs: !1
|
|
536
|
-
}),
|
|
536
|
+
}), on = /* @__PURE__ */ m("span")({
|
|
537
537
|
name: "i",
|
|
538
538
|
class: "i1vk8ojx",
|
|
539
539
|
propsAsIs: !1
|
|
540
540
|
});
|
|
541
541
|
var nt = /* @__PURE__ */ ((r) => (r.HOME = "home", r.LEADERBOARD = "leaderboard", r))(nt || {});
|
|
542
|
-
const Gt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(
|
|
542
|
+
const Gt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(nn, { onClick: l, "data-selected": o, children: /* @__PURE__ */ p(on, { children: r }) }), sn = ({ activePage: r = "home", toggleActivePage: o }) => /* @__PURE__ */ p(tn, { children: /* @__PURE__ */ z(rn, { "data-position": r === "home" ? "left" : "right", children: [
|
|
543
543
|
/* @__PURE__ */ p(Gt, { title: "Home", active: r === "home", onClick: () => o(
|
|
544
544
|
"home"
|
|
545
545
|
/* HOME */
|
|
@@ -556,7 +556,7 @@ const Gt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(rn, { onCl
|
|
|
556
556
|
}
|
|
557
557
|
)
|
|
558
558
|
] }) });
|
|
559
|
-
const
|
|
559
|
+
const an = /* @__PURE__ */ m("div")({
|
|
560
560
|
name: "o",
|
|
561
561
|
class: "oa5apdf",
|
|
562
562
|
propsAsIs: !1
|
|
@@ -564,31 +564,31 @@ const sn = /* @__PURE__ */ m("div")({
|
|
|
564
564
|
name: "n",
|
|
565
565
|
class: "n1wh5guy",
|
|
566
566
|
propsAsIs: !1
|
|
567
|
-
}),
|
|
567
|
+
}), ln = /* @__PURE__ */ m("img")({
|
|
568
568
|
name: "r",
|
|
569
569
|
class: "ro3ktps",
|
|
570
570
|
propsAsIs: !1
|
|
571
|
-
}),
|
|
571
|
+
}), cn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", Ii = ({ icon: r, comeBack: o, close: l }) => /* @__PURE__ */ z(an, { children: [
|
|
572
572
|
/* @__PURE__ */ z("div", { children: [
|
|
573
|
-
o && /* @__PURE__ */ p(Wt, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src:
|
|
574
|
-
r && /* @__PURE__ */ p(
|
|
573
|
+
o && /* @__PURE__ */ p(Wt, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src: cn }) }),
|
|
574
|
+
r && /* @__PURE__ */ p(ln, { alt: "header-icon", src: r })
|
|
575
575
|
] }),
|
|
576
576
|
/* @__PURE__ */ p("div", { children: l && /* @__PURE__ */ p(Wt, { onClick: l, children: /* @__PURE__ */ p("img", { alt: "header-close-icon", src: Ut }) }) })
|
|
577
577
|
] });
|
|
578
|
-
const
|
|
578
|
+
const un = /* @__PURE__ */ m("div")({
|
|
579
579
|
name: "i",
|
|
580
580
|
class: "iqbegjm",
|
|
581
581
|
propsAsIs: !1
|
|
582
|
-
}),
|
|
583
|
-
const
|
|
582
|
+
}), hn = ({ comeBack: r }) => /* @__PURE__ */ p(un, { children: /* @__PURE__ */ p(Ii, { comeBack: r }) });
|
|
583
|
+
const dn = /* @__PURE__ */ m("button")({
|
|
584
584
|
name: "a",
|
|
585
585
|
class: "akly9h2",
|
|
586
586
|
propsAsIs: !1
|
|
587
|
-
}),
|
|
587
|
+
}), pn = /* @__PURE__ */ m("span")({
|
|
588
588
|
name: "e",
|
|
589
589
|
class: "eptoiz9",
|
|
590
590
|
propsAsIs: !1
|
|
591
|
-
}),
|
|
591
|
+
}), fn = ({ disabled: r, variant: o = "primary", onClick: l, children: h }) => /* @__PURE__ */ p(dn, { onClick: l, disabled: r, "data-variant": o, children: /* @__PURE__ */ p(pn, { children: h }) }), gn = {
|
|
592
592
|
[W.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
593
593
|
[W.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
594
594
|
[W.UNSET]: void 0,
|
|
@@ -597,7 +597,7 @@ const hn = /* @__PURE__ */ m("button")({
|
|
|
597
597
|
[W.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
598
598
|
[W.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
599
599
|
};
|
|
600
|
-
const
|
|
600
|
+
const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
601
601
|
width: 24,
|
|
602
602
|
height: 24,
|
|
603
603
|
viewBox: "0 0 24 24",
|
|
@@ -610,7 +610,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
610
610
|
strokeWidth: 1.5,
|
|
611
611
|
strokeLinecap: "round",
|
|
612
612
|
strokeLinejoin: "round"
|
|
613
|
-
})),
|
|
613
|
+
})), In = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
614
614
|
width: 24,
|
|
615
615
|
height: 24,
|
|
616
616
|
viewBox: "0 0 24 24",
|
|
@@ -626,7 +626,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
626
626
|
strokeWidth: 1.5,
|
|
627
627
|
strokeLinecap: "round",
|
|
628
628
|
strokeLinejoin: "round"
|
|
629
|
-
}))),
|
|
629
|
+
}))), yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
630
630
|
width: 24,
|
|
631
631
|
height: 24,
|
|
632
632
|
viewBox: "0 0 24 24",
|
|
@@ -642,7 +642,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
642
642
|
strokeWidth: 1.5,
|
|
643
643
|
strokeLinecap: "round",
|
|
644
644
|
strokeLinejoin: "round"
|
|
645
|
-
}))),
|
|
645
|
+
}))), Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
646
646
|
width: 16,
|
|
647
647
|
height: 16,
|
|
648
648
|
viewBox: "0 0 16 16",
|
|
@@ -655,7 +655,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
655
655
|
clipRule: "evenodd",
|
|
656
656
|
d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",
|
|
657
657
|
fill: "#107D57"
|
|
658
|
-
})),
|
|
658
|
+
})), wn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
659
659
|
width: 24,
|
|
660
660
|
height: 24,
|
|
661
661
|
viewBox: "0 0 24 24",
|
|
@@ -682,7 +682,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
682
682
|
d: "M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",
|
|
683
683
|
fill: "white",
|
|
684
684
|
fillOpacity: 0.6
|
|
685
|
-
})),
|
|
685
|
+
})), En = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
686
686
|
width: 24,
|
|
687
687
|
height: 24,
|
|
688
688
|
viewBox: "0 0 24 24",
|
|
@@ -695,7 +695,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
695
695
|
id: "Chevron_2",
|
|
696
696
|
d: "M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",
|
|
697
697
|
fill: "white"
|
|
698
|
-
}))),
|
|
698
|
+
}))), An = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
699
699
|
width: 16,
|
|
700
700
|
height: 17,
|
|
701
701
|
viewBox: "0 0 16 17",
|
|
@@ -708,7 +708,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
708
708
|
id: "Chevron_2",
|
|
709
709
|
d: "M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",
|
|
710
710
|
fill: "#FFFFFF"
|
|
711
|
-
}))),
|
|
711
|
+
}))), Nn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
712
712
|
width: 24,
|
|
713
713
|
height: 24,
|
|
714
714
|
viewBox: "0 0 24 24",
|
|
@@ -723,7 +723,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
723
723
|
}), /* @__PURE__ */ M.createElement("path", {
|
|
724
724
|
d: "M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",
|
|
725
725
|
fill: "white"
|
|
726
|
-
})),
|
|
726
|
+
})), xn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
727
727
|
width: 10,
|
|
728
728
|
height: 10,
|
|
729
729
|
viewBox: "0 0 10 10",
|
|
@@ -748,7 +748,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
748
748
|
rx: 0.883884,
|
|
749
749
|
transform: "rotate(-45 0 8.75)",
|
|
750
750
|
fill: "white"
|
|
751
|
-
}))),
|
|
751
|
+
}))), Tn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
752
752
|
width: 24,
|
|
753
753
|
height: 24,
|
|
754
754
|
viewBox: "0 0 24 24",
|
|
@@ -777,7 +777,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
777
777
|
rx: 0.883884,
|
|
778
778
|
transform: "rotate(-45 7 15.752)",
|
|
779
779
|
fill: "white"
|
|
780
|
-
})),
|
|
780
|
+
})), vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
781
781
|
width: 40,
|
|
782
782
|
height: 40,
|
|
783
783
|
viewBox: "0 0 40 40",
|
|
@@ -796,7 +796,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
796
796
|
id: "Vector_2",
|
|
797
797
|
d: "M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",
|
|
798
798
|
fill: "white"
|
|
799
|
-
})))),
|
|
799
|
+
})))), Dn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
800
800
|
width: 24,
|
|
801
801
|
height: 24,
|
|
802
802
|
viewBox: "0 0 24 24",
|
|
@@ -825,7 +825,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
825
825
|
rx: 0.883884,
|
|
826
826
|
transform: "rotate(-45 7 15.75)",
|
|
827
827
|
fill: "white"
|
|
828
|
-
})),
|
|
828
|
+
})), Ln = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
829
829
|
width: 17,
|
|
830
830
|
height: 17,
|
|
831
831
|
viewBox: "0 0 17 17",
|
|
@@ -837,7 +837,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
837
837
|
stroke: "#107D57",
|
|
838
838
|
strokeLinecap: "round",
|
|
839
839
|
strokeLinejoin: "round"
|
|
840
|
-
})),
|
|
840
|
+
})), zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
841
841
|
width: 32,
|
|
842
842
|
height: 32,
|
|
843
843
|
viewBox: "0 0 32 32",
|
|
@@ -856,7 +856,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
856
856
|
opacity: 0.5,
|
|
857
857
|
d: "M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",
|
|
858
858
|
fill: "#107D57"
|
|
859
|
-
})),
|
|
859
|
+
})), jn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
860
860
|
width: 18,
|
|
861
861
|
height: 18,
|
|
862
862
|
viewBox: "0 0 18 18",
|
|
@@ -869,7 +869,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
869
869
|
id: "Vector",
|
|
870
870
|
d: "M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",
|
|
871
871
|
fill: "white"
|
|
872
|
-
}))),
|
|
872
|
+
}))), Sn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
873
873
|
width: 17,
|
|
874
874
|
height: 16,
|
|
875
875
|
viewBox: "0 0 17 16",
|
|
@@ -895,7 +895,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
895
895
|
strokeWidth: 1.5,
|
|
896
896
|
strokeLinecap: "round",
|
|
897
897
|
strokeLinejoin: "round"
|
|
898
|
-
})),
|
|
898
|
+
})), Bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
899
899
|
width: 17,
|
|
900
900
|
height: 18,
|
|
901
901
|
viewBox: "0 0 17 18",
|
|
@@ -925,7 +925,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
925
925
|
strokeWidth: 1.5,
|
|
926
926
|
strokeLinecap: "round",
|
|
927
927
|
strokeLinejoin: "round"
|
|
928
|
-
}))),
|
|
928
|
+
}))), kn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
929
929
|
width: 99,
|
|
930
930
|
height: 96,
|
|
931
931
|
viewBox: "0 0 99 96",
|
|
@@ -942,7 +942,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
942
942
|
id: "Vector_2",
|
|
943
943
|
d: "M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",
|
|
944
944
|
fill: "white"
|
|
945
|
-
}))),
|
|
945
|
+
}))), bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
946
946
|
width: 48,
|
|
947
947
|
height: 48,
|
|
948
948
|
viewBox: "0 0 48 48",
|
|
@@ -960,7 +960,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
960
960
|
clipRule: "evenodd",
|
|
961
961
|
d: "M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",
|
|
962
962
|
fill: "white"
|
|
963
|
-
})),
|
|
963
|
+
})), Rn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
964
964
|
width: 16,
|
|
965
965
|
height: 15,
|
|
966
966
|
viewBox: "0 0 16 15",
|
|
@@ -971,7 +971,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
971
971
|
id: "Start - You",
|
|
972
972
|
d: "M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",
|
|
973
973
|
fill: "#F4D22A"
|
|
974
|
-
})),
|
|
974
|
+
})), _n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
975
975
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
976
|
width: 22,
|
|
977
977
|
height: 22,
|
|
@@ -981,7 +981,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
981
981
|
}, /* @__PURE__ */ M.createElement("path", {
|
|
982
982
|
d: "M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",
|
|
983
983
|
fill: "white"
|
|
984
|
-
})),
|
|
984
|
+
})), On = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
985
985
|
width: 12,
|
|
986
986
|
height: 12,
|
|
987
987
|
viewBox: "0 0 12 12",
|
|
@@ -996,7 +996,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
996
996
|
clipRule: "evenodd",
|
|
997
997
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
998
998
|
fill: "white"
|
|
999
|
-
}))),
|
|
999
|
+
}))), Un = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1000
1000
|
width: 16,
|
|
1001
1001
|
height: 16,
|
|
1002
1002
|
viewBox: "0 0 16 16",
|
|
@@ -1011,7 +1011,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1011
1011
|
clipRule: "evenodd",
|
|
1012
1012
|
d: "M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",
|
|
1013
1013
|
fill: "#F2C94C"
|
|
1014
|
-
}))),
|
|
1014
|
+
}))), $n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1015
1015
|
width: 25,
|
|
1016
1016
|
height: 24,
|
|
1017
1017
|
viewBox: "0 0 25 24",
|
|
@@ -1029,7 +1029,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1029
1029
|
d: "M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",
|
|
1030
1030
|
fill: "white",
|
|
1031
1031
|
fillOpacity: 0.4
|
|
1032
|
-
}))),
|
|
1032
|
+
}))), Fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1033
1033
|
width: 18,
|
|
1034
1034
|
height: 18,
|
|
1035
1035
|
viewBox: "0 0 18 18",
|
|
@@ -1052,7 +1052,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1052
1052
|
clipRule: "evenodd",
|
|
1053
1053
|
d: "M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",
|
|
1054
1054
|
fill: "#107D57"
|
|
1055
|
-
})))),
|
|
1055
|
+
})))), Pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1056
1056
|
width: 14,
|
|
1057
1057
|
height: 17,
|
|
1058
1058
|
viewBox: "0 0 14 17",
|
|
@@ -1070,7 +1070,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1070
1070
|
id: "Icon / Games_3",
|
|
1071
1071
|
d: "M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",
|
|
1072
1072
|
fill: "#107D57"
|
|
1073
|
-
}))),
|
|
1073
|
+
}))), Yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1074
1074
|
width: 19,
|
|
1075
1075
|
height: 14,
|
|
1076
1076
|
viewBox: "0 0 19 14",
|
|
@@ -1085,7 +1085,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1085
1085
|
clipRule: "evenodd",
|
|
1086
1086
|
d: "M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",
|
|
1087
1087
|
fill: "#107D57"
|
|
1088
|
-
}))),
|
|
1088
|
+
}))), Vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1089
1089
|
width: 20,
|
|
1090
1090
|
height: 20,
|
|
1091
1091
|
viewBox: "0 0 20 20",
|
|
@@ -1101,7 +1101,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1101
1101
|
strokeWidth: 1.2,
|
|
1102
1102
|
strokeLinecap: "round",
|
|
1103
1103
|
strokeLinejoin: "round"
|
|
1104
|
-
}))),
|
|
1104
|
+
}))), Zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1105
1105
|
width: 20,
|
|
1106
1106
|
height: 20,
|
|
1107
1107
|
viewBox: "0 0 20 20",
|
|
@@ -1117,7 +1117,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1117
1117
|
strokeWidth: 1.2,
|
|
1118
1118
|
strokeLinecap: "round",
|
|
1119
1119
|
strokeLinejoin: "round"
|
|
1120
|
-
}))),
|
|
1120
|
+
}))), Qn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1121
1121
|
width: 16,
|
|
1122
1122
|
height: 16,
|
|
1123
1123
|
viewBox: "0 0 16 16",
|
|
@@ -1184,7 +1184,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1184
1184
|
clipRule: "evenodd",
|
|
1185
1185
|
d: "M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",
|
|
1186
1186
|
fill: "#107D57"
|
|
1187
|
-
}))),
|
|
1187
|
+
}))), Hn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1188
1188
|
width: 16,
|
|
1189
1189
|
height: 16,
|
|
1190
1190
|
viewBox: "0 0 16 16",
|
|
@@ -1200,7 +1200,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1200
1200
|
d: "M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",
|
|
1201
1201
|
fill: "white",
|
|
1202
1202
|
fillOpacity: 0.5
|
|
1203
|
-
}))),
|
|
1203
|
+
}))), Gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1204
1204
|
width: 16,
|
|
1205
1205
|
height: 16,
|
|
1206
1206
|
viewBox: "0 0 16 16",
|
|
@@ -1216,7 +1216,7 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1216
1216
|
d: "M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",
|
|
1217
1217
|
fill: "white",
|
|
1218
1218
|
fillOpacity: 0.5
|
|
1219
|
-
}))),
|
|
1219
|
+
}))), Wn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1220
1220
|
width: 16,
|
|
1221
1221
|
height: 16,
|
|
1222
1222
|
viewBox: "0 0 16 16",
|
|
@@ -1233,41 +1233,41 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1233
1233
|
fill: "white",
|
|
1234
1234
|
fillOpacity: 0.5
|
|
1235
1235
|
}))), qt = {
|
|
1236
|
-
"invite-game-icon":
|
|
1237
|
-
"icon-trophy":
|
|
1238
|
-
"icon-play":
|
|
1239
|
-
"icon-trophy-green":
|
|
1240
|
-
"icon-trivia":
|
|
1241
|
-
"icon-thumb-down":
|
|
1242
|
-
"icon-star":
|
|
1243
|
-
"icon-prediction":
|
|
1244
|
-
"icon-insight":
|
|
1245
|
-
"icon-poll":
|
|
1246
|
-
"icon-masters-logo":
|
|
1247
|
-
"icon-logout":
|
|
1248
|
-
"icon-link":
|
|
1249
|
-
"icon-external-link":
|
|
1250
|
-
"icon-invite-arrow":
|
|
1251
|
-
"icon-friends":
|
|
1252
|
-
"icon-exit":
|
|
1253
|
-
"icon-default-user-avatar":
|
|
1254
|
-
"icon-cross":
|
|
1255
|
-
"icon-close":
|
|
1256
|
-
"icon-close-btn-white":
|
|
1257
|
-
"icon-circle-arrow-right":
|
|
1258
|
-
"icon-chevron":
|
|
1259
|
-
"icon-chevron-white-left":
|
|
1236
|
+
"invite-game-icon": $n,
|
|
1237
|
+
"icon-trophy": Un,
|
|
1238
|
+
"icon-play": bn,
|
|
1239
|
+
"icon-trophy-green": On,
|
|
1240
|
+
"icon-trivia": Wn,
|
|
1241
|
+
"icon-thumb-down": _n,
|
|
1242
|
+
"icon-star": Rn,
|
|
1243
|
+
"icon-prediction": Gn,
|
|
1244
|
+
"icon-insight": Qn,
|
|
1245
|
+
"icon-poll": Hn,
|
|
1246
|
+
"icon-masters-logo": kn,
|
|
1247
|
+
"icon-logout": Bn,
|
|
1248
|
+
"icon-link": Sn,
|
|
1249
|
+
"icon-external-link": Ln,
|
|
1250
|
+
"icon-invite-arrow": jn,
|
|
1251
|
+
"icon-friends": zn,
|
|
1252
|
+
"icon-exit": Dn,
|
|
1253
|
+
"icon-default-user-avatar": vn,
|
|
1254
|
+
"icon-cross": yn,
|
|
1255
|
+
"icon-close": Tn,
|
|
1256
|
+
"icon-close-btn-white": xn,
|
|
1257
|
+
"icon-circle-arrow-right": Nn,
|
|
1258
|
+
"icon-chevron": An,
|
|
1259
|
+
"icon-chevron-white-left": En,
|
|
1260
1260
|
"icon-chevron-left": Cn,
|
|
1261
|
-
"icon-check-white":
|
|
1262
|
-
"icon-check-green":
|
|
1263
|
-
"icon-btn-channels":
|
|
1264
|
-
"icon-btn-feature-groups":
|
|
1265
|
-
"icon-btn-leaderboard":
|
|
1266
|
-
"icon-check":
|
|
1267
|
-
"icon-arrow":
|
|
1268
|
-
correct:
|
|
1269
|
-
incorrect:
|
|
1270
|
-
},
|
|
1261
|
+
"icon-check-white": wn,
|
|
1262
|
+
"icon-check-green": Mn,
|
|
1263
|
+
"icon-btn-channels": Fn,
|
|
1264
|
+
"icon-btn-feature-groups": Pn,
|
|
1265
|
+
"icon-btn-leaderboard": Yn,
|
|
1266
|
+
"icon-check": In,
|
|
1267
|
+
"icon-arrow": mn,
|
|
1268
|
+
correct: Vn,
|
|
1269
|
+
incorrect: Zn
|
|
1270
|
+
}, Ue = ({
|
|
1271
1271
|
name: r,
|
|
1272
1272
|
style: o,
|
|
1273
1273
|
className: l,
|
|
@@ -1284,44 +1284,44 @@ const gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1284
1284
|
...h
|
|
1285
1285
|
});
|
|
1286
1286
|
};
|
|
1287
|
-
const
|
|
1287
|
+
const qn = () => Ue, Jn = () => Ue, Xn = /* @__PURE__ */ m("div")({
|
|
1288
1288
|
name: "s",
|
|
1289
1289
|
class: "s1lblda3",
|
|
1290
1290
|
propsAsIs: !1
|
|
1291
|
-
}),
|
|
1291
|
+
}), Kn = /* @__PURE__ */ m("div")({
|
|
1292
1292
|
name: "a",
|
|
1293
1293
|
class: "ascvb2g",
|
|
1294
1294
|
propsAsIs: !1
|
|
1295
|
-
}),
|
|
1295
|
+
}), e1 = /* @__PURE__ */ m("div")({
|
|
1296
1296
|
name: "p",
|
|
1297
1297
|
class: "p17rl8zy",
|
|
1298
1298
|
propsAsIs: !1
|
|
1299
|
-
}),
|
|
1299
|
+
}), t1 = /* @__PURE__ */ m("div")({
|
|
1300
1300
|
name: "l",
|
|
1301
1301
|
class: "l1vvttbn",
|
|
1302
1302
|
propsAsIs: !1
|
|
1303
|
-
}), Mt = /* @__PURE__ */ m(
|
|
1303
|
+
}), Mt = /* @__PURE__ */ m(qn())({
|
|
1304
1304
|
name: "c",
|
|
1305
1305
|
class: "c6fk2ph",
|
|
1306
1306
|
propsAsIs: !0
|
|
1307
|
-
}),
|
|
1307
|
+
}), i1 = /* @__PURE__ */ m(Jn())({
|
|
1308
1308
|
name: "d",
|
|
1309
1309
|
class: "d1rdm136",
|
|
1310
1310
|
propsAsIs: !0
|
|
1311
|
-
}),
|
|
1311
|
+
}), r1 = /* @__PURE__ */ m("div")({
|
|
1312
1312
|
name: "f",
|
|
1313
1313
|
class: "fwqnnel",
|
|
1314
1314
|
propsAsIs: !1
|
|
1315
|
-
}),
|
|
1315
|
+
}), n1 = /* @__PURE__ */ m("div")({
|
|
1316
1316
|
name: "u",
|
|
1317
1317
|
class: "ucyxnlg",
|
|
1318
1318
|
propsAsIs: !1
|
|
1319
|
-
}),
|
|
1319
|
+
}), o1 = {
|
|
1320
1320
|
[et.LOST]: /* @__PURE__ */ p(Mt, { name: "icon-cross" }),
|
|
1321
1321
|
[et.WON]: /* @__PURE__ */ p(Mt, { name: "icon-check" }),
|
|
1322
1322
|
[et.UNSET]: void 0,
|
|
1323
1323
|
[et.DNP]: /* @__PURE__ */ p(Mt, { name: "icon-arrow" })
|
|
1324
|
-
},
|
|
1324
|
+
}, s1 = ({
|
|
1325
1325
|
questionId: r,
|
|
1326
1326
|
questionType: o,
|
|
1327
1327
|
questionStatus: l,
|
|
@@ -1330,26 +1330,26 @@ const Wn = () => He, qn = () => He, Jn = /* @__PURE__ */ m("div")({
|
|
|
1330
1330
|
openQuestion: g,
|
|
1331
1331
|
status: f
|
|
1332
1332
|
}) => {
|
|
1333
|
-
const s =
|
|
1334
|
-
return s ? /* @__PURE__ */ z(
|
|
1335
|
-
/* @__PURE__ */ z(
|
|
1336
|
-
/* @__PURE__ */ z(
|
|
1337
|
-
/* @__PURE__ */ p(
|
|
1338
|
-
/* @__PURE__ */ z(
|
|
1333
|
+
const s = gn[o], I = o1[f];
|
|
1334
|
+
return s ? /* @__PURE__ */ z(Xn, { onClick: () => g == null ? void 0 : g(r), children: [
|
|
1335
|
+
/* @__PURE__ */ z(n1, { children: [
|
|
1336
|
+
/* @__PURE__ */ z(Kn, { children: [
|
|
1337
|
+
/* @__PURE__ */ p(i1, { name: s.iconName }),
|
|
1338
|
+
/* @__PURE__ */ z(r1, { children: [
|
|
1339
1339
|
s.label,
|
|
1340
|
-
o === W.TRIVIA && l ===
|
|
1340
|
+
o === W.TRIVIA && l === Pi.RESOLVED && " • Expired"
|
|
1341
1341
|
] })
|
|
1342
1342
|
] }),
|
|
1343
|
-
/* @__PURE__ */ p(
|
|
1343
|
+
/* @__PURE__ */ p(e1, { children: h || "" })
|
|
1344
1344
|
] }),
|
|
1345
|
-
/* @__PURE__ */ p(
|
|
1345
|
+
/* @__PURE__ */ p(t1, { children: I || (d ? /* @__PURE__ */ p(fn, { children: "Play" }) : null) })
|
|
1346
1346
|
] }) : null;
|
|
1347
1347
|
};
|
|
1348
|
-
const
|
|
1348
|
+
const a1 = /* @__PURE__ */ m("div")({
|
|
1349
1349
|
name: "t",
|
|
1350
1350
|
class: "t19vr3p1",
|
|
1351
1351
|
propsAsIs: !1
|
|
1352
|
-
}),
|
|
1352
|
+
}), l1 = ({ questions: r, openQuestion: o }) => /* @__PURE__ */ p(a1, { children: r == null ? void 0 : r.map((l) => /* @__PURE__ */ p(s1, { openQuestion: o, ...l }, l.questionId)) }), yi = (r) => r.split(/\s+/).map((o) => o[0]).join("").toUpperCase(), Mi = (r) => r ? r.toLocaleString("en-US") : "0";
|
|
1353
1353
|
const c1 = /* @__PURE__ */ m("div")({
|
|
1354
1354
|
name: "t",
|
|
1355
1355
|
class: "taj61ja",
|
|
@@ -1402,11 +1402,11 @@ const g1 = /* @__PURE__ */ m("div")({
|
|
|
1402
1402
|
name: "a",
|
|
1403
1403
|
class: "a1fi59c9",
|
|
1404
1404
|
propsAsIs: !1
|
|
1405
|
-
}),
|
|
1405
|
+
}), w1 = /* @__PURE__ */ m("div")({
|
|
1406
1406
|
name: "s",
|
|
1407
1407
|
class: "s1kkihge",
|
|
1408
1408
|
propsAsIs: !1
|
|
1409
|
-
}),
|
|
1409
|
+
}), C1 = /* @__PURE__ */ m("div")({
|
|
1410
1410
|
name: "c",
|
|
1411
1411
|
class: "cy4f4t",
|
|
1412
1412
|
propsAsIs: !1
|
|
@@ -1467,13 +1467,13 @@ const g1 = /* @__PURE__ */ m("div")({
|
|
|
1467
1467
|
r && /* @__PURE__ */ p(M1, { alt: "avatar", src: r }),
|
|
1468
1468
|
!r && /* @__PURE__ */ p(z1, { children: yi(o || "") })
|
|
1469
1469
|
] }),
|
|
1470
|
-
/* @__PURE__ */ z(
|
|
1471
|
-
/* @__PURE__ */ p(
|
|
1470
|
+
/* @__PURE__ */ z(w1, { children: [
|
|
1471
|
+
/* @__PURE__ */ p(C1, { children: o }),
|
|
1472
1472
|
/* @__PURE__ */ z(E1, { children: [
|
|
1473
1473
|
/* @__PURE__ */ z(N1, { children: [
|
|
1474
1474
|
/* @__PURE__ */ p(A1, { alt: "rank-icon", src: S1 }),
|
|
1475
1475
|
/* @__PURE__ */ z(x1, { children: [
|
|
1476
|
-
|
|
1476
|
+
Mi(l),
|
|
1477
1477
|
/* @__PURE__ */ p(T1, { children: "PTS" })
|
|
1478
1478
|
] })
|
|
1479
1479
|
] }),
|
|
@@ -1499,7 +1499,7 @@ const g1 = /* @__PURE__ */ m("div")({
|
|
|
1499
1499
|
] })
|
|
1500
1500
|
] })
|
|
1501
1501
|
] });
|
|
1502
|
-
const k1 = () =>
|
|
1502
|
+
const k1 = () => Ue, b1 = /* @__PURE__ */ m("div")({
|
|
1503
1503
|
name: "c",
|
|
1504
1504
|
class: "ciyeb68",
|
|
1505
1505
|
propsAsIs: !1
|
|
@@ -1539,7 +1539,7 @@ const k1 = () => He, b1 = /* @__PURE__ */ m("div")({
|
|
|
1539
1539
|
/* @__PURE__ */ p(Xt, { children: "Stay tuned to see if your prediction was correct." })
|
|
1540
1540
|
] }),
|
|
1541
1541
|
d && /* @__PURE__ */ z(Oe, { children: [
|
|
1542
|
-
/* @__PURE__ */ p(_1, { "data-feedbackType": f, children: /* @__PURE__ */ p(
|
|
1542
|
+
/* @__PURE__ */ p(_1, { "data-feedbackType": f, children: /* @__PURE__ */ p(Ue, { name: f }) }),
|
|
1543
1543
|
/* @__PURE__ */ p("div", { children: /* @__PURE__ */ z(O1, { children: [
|
|
1544
1544
|
/* @__PURE__ */ p(U1, { "data-feedbackType": f, children: s == null ? void 0 : s.title }),
|
|
1545
1545
|
/* @__PURE__ */ p(Xt, { children: s == null ? void 0 : s.description })
|
|
@@ -1564,7 +1564,7 @@ const F1 = /* @__PURE__ */ m("div")({
|
|
|
1564
1564
|
class: "e82wnnx",
|
|
1565
1565
|
propsAsIs: !1
|
|
1566
1566
|
});
|
|
1567
|
-
const Z1 = () =>
|
|
1567
|
+
const Z1 = () => wi, Q1 = () => wi, H1 = () => Ue, G1 = /* @__PURE__ */ m("button")({
|
|
1568
1568
|
name: "c",
|
|
1569
1569
|
class: "cpm4u8k",
|
|
1570
1570
|
propsAsIs: !1
|
|
@@ -1584,7 +1584,7 @@ const Z1 = () => Mi, Q1 = () => Mi, H1 = () => He, G1 = /* @__PURE__ */ m("butto
|
|
|
1584
1584
|
name: "p",
|
|
1585
1585
|
class: "p198m24r",
|
|
1586
1586
|
propsAsIs: !1
|
|
1587
|
-
}),
|
|
1587
|
+
}), wi = /* @__PURE__ */ m("img")({
|
|
1588
1588
|
name: "r",
|
|
1589
1589
|
class: "rbq5eu7",
|
|
1590
1590
|
propsAsIs: !1
|
|
@@ -1633,17 +1633,17 @@ const Z1 = () => Mi, Q1 = () => Mi, H1 = () => He, G1 = /* @__PURE__ */ m("butto
|
|
|
1633
1633
|
imageMode: N,
|
|
1634
1634
|
isLoading: E,
|
|
1635
1635
|
questionType: x
|
|
1636
|
-
} = r,
|
|
1636
|
+
} = r, w = oo(r), T = x === W.TRIVIA || x === W.PREDICTION, L = w === "correct" ? "correct" : w === "incorrect" ? "incorrect" : "";
|
|
1637
1637
|
return /* @__PURE__ */ z(
|
|
1638
1638
|
G1,
|
|
1639
1639
|
{
|
|
1640
1640
|
value: l,
|
|
1641
1641
|
"data-selected": s,
|
|
1642
|
-
"data-answerState":
|
|
1642
|
+
"data-answerState": w,
|
|
1643
1643
|
disabled: I || E,
|
|
1644
1644
|
onClick: f,
|
|
1645
1645
|
children: [
|
|
1646
|
-
I && /* @__PURE__ */ p(W1, { "data-answerState":
|
|
1646
|
+
I && /* @__PURE__ */ p(W1, { "data-answerState": w, style: { width: `${g}%` } }),
|
|
1647
1647
|
/* @__PURE__ */ z(q1, { children: [
|
|
1648
1648
|
h && N && ((o = Kt[N]) == null ? void 0 : o.call(Kt, h)),
|
|
1649
1649
|
/* @__PURE__ */ p(to, { children: d }),
|
|
@@ -1659,7 +1659,7 @@ const Z1 = () => Mi, Q1 = () => Mi, H1 = () => He, G1 = /* @__PURE__ */ m("butto
|
|
|
1659
1659
|
}
|
|
1660
1660
|
);
|
|
1661
1661
|
};
|
|
1662
|
-
const ao = () =>
|
|
1662
|
+
const ao = () => Ue, lo = /* @__PURE__ */ m("div")({
|
|
1663
1663
|
name: "a",
|
|
1664
1664
|
class: "a1r7f3z4",
|
|
1665
1665
|
propsAsIs: !1
|
|
@@ -1701,14 +1701,14 @@ const ao = () => He, lo = /* @__PURE__ */ m("div")({
|
|
|
1701
1701
|
h && /* @__PURE__ */ p(mi, { isPlaying: l, onTimerExpired: d })
|
|
1702
1702
|
] }), Io = ({ openedQuestion: r, vote: o }) => {
|
|
1703
1703
|
var l;
|
|
1704
|
-
const h = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = K(!1), [I, N] = K(!1), [E, x] = K(""),
|
|
1704
|
+
const h = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = K(!1), [I, N] = K(!1), [E, x] = K(""), w = r == null ? void 0 : r.id, T = He(
|
|
1705
1705
|
async (v) => {
|
|
1706
|
-
if (
|
|
1706
|
+
if (w) {
|
|
1707
1707
|
const j = v.currentTarget.value;
|
|
1708
|
-
x(j), N(!0), await o(
|
|
1708
|
+
x(j), N(!0), await o(w, j), N(!1);
|
|
1709
1709
|
}
|
|
1710
1710
|
},
|
|
1711
|
-
[
|
|
1711
|
+
[w, x, o]
|
|
1712
1712
|
), L = De(
|
|
1713
1713
|
() => r == null ? void 0 : r.answers.find((v) => v.youVoted === !0),
|
|
1714
1714
|
[r]
|
|
@@ -1727,12 +1727,12 @@ const ao = () => He, lo = /* @__PURE__ */ m("div")({
|
|
|
1727
1727
|
imageMode: (j = r.notification) == null ? void 0 : j.imageMode,
|
|
1728
1728
|
onVote: T
|
|
1729
1729
|
};
|
|
1730
|
-
}) : [], [y, I, r, L, T, E]),
|
|
1730
|
+
}) : [], [y, I, r, L, T, E]), C = g && (g.case === "trivia" || g.case === "prediction") ? g.value : void 0;
|
|
1731
1731
|
return /* @__PURE__ */ p(F1, { children: /* @__PURE__ */ z(P1, { children: [
|
|
1732
|
-
|
|
1732
|
+
C && /* @__PURE__ */ p(
|
|
1733
1733
|
$1,
|
|
1734
1734
|
{
|
|
1735
|
-
feedbackMessages:
|
|
1735
|
+
feedbackMessages: C,
|
|
1736
1736
|
questionVoted: !!L,
|
|
1737
1737
|
questionVotedCorrectly: L == null ? void 0 : L.correct,
|
|
1738
1738
|
questionType: d,
|
|
@@ -1760,11 +1760,11 @@ const yo = /* @__PURE__ */ m("div")({
|
|
|
1760
1760
|
name: "r",
|
|
1761
1761
|
class: "rn5nzbc",
|
|
1762
1762
|
propsAsIs: !1
|
|
1763
|
-
}),
|
|
1763
|
+
}), wo = /* @__PURE__ */ m("img")({
|
|
1764
1764
|
name: "e",
|
|
1765
1765
|
class: "e6i73qc",
|
|
1766
1766
|
propsAsIs: !1
|
|
1767
|
-
}),
|
|
1767
|
+
}), Co = /* @__PURE__ */ m("div")({
|
|
1768
1768
|
name: "i",
|
|
1769
1769
|
class: "iu0veuw",
|
|
1770
1770
|
propsAsIs: !1
|
|
@@ -1802,8 +1802,8 @@ const yo = /* @__PURE__ */ m("div")({
|
|
|
1802
1802
|
data: { icon: l, header: h, title: d, subtitle: g, graphicBg: f, sponsorLogo: s }
|
|
1803
1803
|
}) => /* @__PURE__ */ z(yo, { children: [
|
|
1804
1804
|
/* @__PURE__ */ p(vo, { onClick: r, children: /* @__PURE__ */ p(Do, { alt: "icon-close-onboarding-inapp", src: Lo }) }),
|
|
1805
|
-
/* @__PURE__ */ p(Mo, { style: { backgroundImage: `url(${f || ""})` }, children: l && /* @__PURE__ */ p(
|
|
1806
|
-
/* @__PURE__ */ z(
|
|
1805
|
+
/* @__PURE__ */ p(Mo, { style: { backgroundImage: `url(${f || ""})` }, children: l && /* @__PURE__ */ p(wo, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1806
|
+
/* @__PURE__ */ z(Co, { children: [
|
|
1807
1807
|
/* @__PURE__ */ z("div", { children: [
|
|
1808
1808
|
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */ z(Oe, { children: [
|
|
1809
1809
|
/* @__PURE__ */ p(Eo, { alt: "sponsor-logo", src: s }),
|
|
@@ -1827,7 +1827,7 @@ const jo = /* @__PURE__ */ m("div")({
|
|
|
1827
1827
|
total: o,
|
|
1828
1828
|
...l
|
|
1829
1829
|
}) => {
|
|
1830
|
-
const h =
|
|
1830
|
+
const h = ki(null), d = So[l.type] || gi;
|
|
1831
1831
|
return bt(() => {
|
|
1832
1832
|
h.current !== null && l.hiding && h.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1833
1833
|
duration: 300,
|
|
@@ -1862,7 +1862,7 @@ const ko = /* @__PURE__ */ m("div")({
|
|
|
1862
1862
|
return o != null && o.summary ? /* @__PURE__ */ p(B1, { ...o.summary, ...o.percentage }) : /* @__PURE__ */ p("div", { children: "wait user..." });
|
|
1863
1863
|
}, _o = ({ store: r, openQuestion: o }) => {
|
|
1864
1864
|
const l = Z(r);
|
|
1865
|
-
return l != null && l.data ? /* @__PURE__ */ p(
|
|
1865
|
+
return l != null && l.data ? /* @__PURE__ */ p(l1, { openQuestion: o, questions: l.data }) : /* @__PURE__ */ p("div", { children: "wait questions..." });
|
|
1866
1866
|
};
|
|
1867
1867
|
const Oo = /* @__PURE__ */ m("div")({
|
|
1868
1868
|
name: "y",
|
|
@@ -1875,7 +1875,7 @@ const Oo = /* @__PURE__ */ m("div")({
|
|
|
1875
1875
|
}) => {
|
|
1876
1876
|
var h;
|
|
1877
1877
|
const [d, g] = K(!1);
|
|
1878
|
-
|
|
1878
|
+
He((I) => {
|
|
1879
1879
|
g(I);
|
|
1880
1880
|
}, [g]);
|
|
1881
1881
|
const f = De(() => r == null ? void 0 : r.answers.find((I) => I.youVoted === !0), [r]), s = De(() => !!(r != null && r.answers.find((I) => I.correct === !0)), [r]);
|
|
@@ -1979,16 +1979,16 @@ const qo = /* @__PURE__ */ m("div")({
|
|
|
1979
1979
|
class: "l19zo16x",
|
|
1980
1980
|
propsAsIs: !1
|
|
1981
1981
|
});
|
|
1982
|
-
var Ci = {},
|
|
1982
|
+
var Ci = {}, Ei = {}, at = {};
|
|
1983
1983
|
at.byteLength = os;
|
|
1984
1984
|
at.toByteArray = as;
|
|
1985
1985
|
at.fromByteArray = us;
|
|
1986
|
-
var fe = [], ee = [], rs = typeof Uint8Array < "u" ? Uint8Array : Array,
|
|
1987
|
-
for (var
|
|
1988
|
-
fe[
|
|
1986
|
+
var fe = [], ee = [], rs = typeof Uint8Array < "u" ? Uint8Array : Array, wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
1987
|
+
for (var Fe = 0, ns = wt.length; Fe < ns; ++Fe)
|
|
1988
|
+
fe[Fe] = wt[Fe], ee[wt.charCodeAt(Fe)] = Fe;
|
|
1989
1989
|
ee["-".charCodeAt(0)] = 62;
|
|
1990
1990
|
ee["_".charCodeAt(0)] = 63;
|
|
1991
|
-
function
|
|
1991
|
+
function Ai(r) {
|
|
1992
1992
|
var o = r.length;
|
|
1993
1993
|
if (o % 4 > 0)
|
|
1994
1994
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -1998,14 +1998,14 @@ function Ei(r) {
|
|
|
1998
1998
|
return [l, h];
|
|
1999
1999
|
}
|
|
2000
2000
|
function os(r) {
|
|
2001
|
-
var o =
|
|
2001
|
+
var o = Ai(r), l = o[0], h = o[1];
|
|
2002
2002
|
return (l + h) * 3 / 4 - h;
|
|
2003
2003
|
}
|
|
2004
2004
|
function ss(r, o, l) {
|
|
2005
2005
|
return (o + l) * 3 / 4 - l;
|
|
2006
2006
|
}
|
|
2007
2007
|
function as(r) {
|
|
2008
|
-
var o, l =
|
|
2008
|
+
var o, l = Ai(r), h = l[0], d = l[1], g = new rs(ss(r, h, d)), f = 0, s = d > 0 ? h - 4 : h, I;
|
|
2009
2009
|
for (I = 0; I < s; I += 4)
|
|
2010
2010
|
o = ee[r.charCodeAt(I)] << 18 | ee[r.charCodeAt(I + 1)] << 12 | ee[r.charCodeAt(I + 2)] << 6 | ee[r.charCodeAt(I + 3)], g[f++] = o >> 16 & 255, g[f++] = o >> 8 & 255, g[f++] = o & 255;
|
|
2011
2011
|
return d === 2 && (o = ee[r.charCodeAt(I)] << 2 | ee[r.charCodeAt(I + 1)] >> 4, g[f++] = o & 255), d === 1 && (o = ee[r.charCodeAt(I)] << 10 | ee[r.charCodeAt(I + 1)] << 4 | ee[r.charCodeAt(I + 2)] >> 2, g[f++] = o >> 8 & 255, g[f++] = o & 255), g;
|
|
@@ -2030,10 +2030,10 @@ function us(r) {
|
|
|
2030
2030
|
var $t = {};
|
|
2031
2031
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2032
2032
|
$t.read = function(r, o, l, h, d) {
|
|
2033
|
-
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0,
|
|
2034
|
-
for (x +=
|
|
2033
|
+
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, T = r[o + x];
|
|
2034
|
+
for (x += w, g = T & (1 << -E) - 1, T >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
2035
2035
|
;
|
|
2036
|
-
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x +=
|
|
2036
|
+
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
2037
2037
|
;
|
|
2038
2038
|
if (g === 0)
|
|
2039
2039
|
g = 1 - N;
|
|
@@ -2045,8 +2045,8 @@ $t.read = function(r, o, l, h, d) {
|
|
|
2045
2045
|
return (T ? -1 : 1) * f * Math.pow(2, g - h);
|
|
2046
2046
|
};
|
|
2047
2047
|
$t.write = function(r, o, l, h, d, g) {
|
|
2048
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1,
|
|
2049
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o +=
|
|
2048
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, T = h ? 0 : g - 1, L = h ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
2049
|
+
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += w / I : o += w * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + T] = s & 255, T += L, s /= 256, d -= 8)
|
|
2050
2050
|
;
|
|
2051
2051
|
for (f = f << d | s, N += d; N > 0; r[l + T] = f & 255, T += L, f /= 256, N -= 8)
|
|
2052
2052
|
;
|
|
@@ -2107,7 +2107,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2107
2107
|
s.poolSize = 8192;
|
|
2108
2108
|
function I(i, e, t) {
|
|
2109
2109
|
if (typeof i == "string")
|
|
2110
|
-
return
|
|
2110
|
+
return w(i, e);
|
|
2111
2111
|
if (ArrayBuffer.isView(i))
|
|
2112
2112
|
return L(i);
|
|
2113
2113
|
if (i == null)
|
|
@@ -2148,14 +2148,14 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2148
2148
|
return E(i, e, t);
|
|
2149
2149
|
};
|
|
2150
2150
|
function x(i) {
|
|
2151
|
-
return N(i), f(i < 0 ? 0 :
|
|
2151
|
+
return N(i), f(i < 0 ? 0 : C(i) | 0);
|
|
2152
2152
|
}
|
|
2153
2153
|
s.allocUnsafe = function(i) {
|
|
2154
2154
|
return x(i);
|
|
2155
2155
|
}, s.allocUnsafeSlow = function(i) {
|
|
2156
2156
|
return x(i);
|
|
2157
2157
|
};
|
|
2158
|
-
function
|
|
2158
|
+
function w(i, e) {
|
|
2159
2159
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
2160
2160
|
throw new TypeError("Unknown encoding: " + e);
|
|
2161
2161
|
const t = j(i, e) | 0;
|
|
@@ -2164,7 +2164,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2164
2164
|
return a !== t && (n = n.slice(0, a)), n;
|
|
2165
2165
|
}
|
|
2166
2166
|
function T(i) {
|
|
2167
|
-
const e = i.length < 0 ? 0 :
|
|
2167
|
+
const e = i.length < 0 ? 0 : C(i.length) | 0, t = f(e);
|
|
2168
2168
|
for (let n = 0; n < e; n += 1)
|
|
2169
2169
|
t[n] = i[n] & 255;
|
|
2170
2170
|
return t;
|
|
@@ -2186,7 +2186,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2186
2186
|
}
|
|
2187
2187
|
function A(i) {
|
|
2188
2188
|
if (s.isBuffer(i)) {
|
|
2189
|
-
const e =
|
|
2189
|
+
const e = C(i.length) | 0, t = f(e);
|
|
2190
2190
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
2191
2191
|
}
|
|
2192
2192
|
if (i.length !== void 0)
|
|
@@ -2194,7 +2194,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2194
2194
|
if (i.type === "Buffer" && Array.isArray(i.data))
|
|
2195
2195
|
return T(i.data);
|
|
2196
2196
|
}
|
|
2197
|
-
function
|
|
2197
|
+
function C(i) {
|
|
2198
2198
|
if (i >= d)
|
|
2199
2199
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
2200
2200
|
return i | 0;
|
|
@@ -3027,8 +3027,8 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
3027
3027
|
function gt() {
|
|
3028
3028
|
throw new Error("BigInt not supported");
|
|
3029
3029
|
}
|
|
3030
|
-
})(
|
|
3031
|
-
var
|
|
3030
|
+
})(Ei);
|
|
3031
|
+
var Ni = { exports: {} }, Y = Ni.exports = {}, ue, he;
|
|
3032
3032
|
function vt() {
|
|
3033
3033
|
throw new Error("setTimeout has not been defined");
|
|
3034
3034
|
}
|
|
@@ -3047,7 +3047,7 @@ function Dt() {
|
|
|
3047
3047
|
he = Dt;
|
|
3048
3048
|
}
|
|
3049
3049
|
})();
|
|
3050
|
-
function
|
|
3050
|
+
function xi(r) {
|
|
3051
3051
|
if (ue === setTimeout)
|
|
3052
3052
|
return setTimeout(r, 0);
|
|
3053
3053
|
if ((ue === vt || !ue) && setTimeout)
|
|
@@ -3077,20 +3077,20 @@ function hs(r) {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
|
-
var Me = [],
|
|
3080
|
+
var Me = [], Ze = !1, be, ot = -1;
|
|
3081
3081
|
function ds() {
|
|
3082
|
-
!
|
|
3082
|
+
!Ze || !be || (Ze = !1, be.length ? Me = be.concat(Me) : ot = -1, Me.length && Ti());
|
|
3083
3083
|
}
|
|
3084
|
-
function
|
|
3085
|
-
if (!
|
|
3086
|
-
var r =
|
|
3087
|
-
|
|
3084
|
+
function Ti() {
|
|
3085
|
+
if (!Ze) {
|
|
3086
|
+
var r = xi(ds);
|
|
3087
|
+
Ze = !0;
|
|
3088
3088
|
for (var o = Me.length; o; ) {
|
|
3089
3089
|
for (be = Me, Me = []; ++ot < o; )
|
|
3090
3090
|
be && be[ot].run();
|
|
3091
3091
|
ot = -1, o = Me.length;
|
|
3092
3092
|
}
|
|
3093
|
-
be = null,
|
|
3093
|
+
be = null, Ze = !1, hs(r);
|
|
3094
3094
|
}
|
|
3095
3095
|
}
|
|
3096
3096
|
Y.nextTick = function(r) {
|
|
@@ -3098,12 +3098,12 @@ Y.nextTick = function(r) {
|
|
|
3098
3098
|
if (arguments.length > 1)
|
|
3099
3099
|
for (var l = 1; l < arguments.length; l++)
|
|
3100
3100
|
o[l - 1] = arguments[l];
|
|
3101
|
-
Me.push(new
|
|
3101
|
+
Me.push(new vi(r, o)), Me.length === 1 && !Ze && xi(Ti);
|
|
3102
3102
|
};
|
|
3103
|
-
function
|
|
3103
|
+
function vi(r, o) {
|
|
3104
3104
|
this.fun = r, this.array = o;
|
|
3105
3105
|
}
|
|
3106
|
-
|
|
3106
|
+
vi.prototype.run = function() {
|
|
3107
3107
|
this.fun.apply(null, this.array);
|
|
3108
3108
|
};
|
|
3109
3109
|
Y.title = "browser";
|
|
@@ -3112,17 +3112,17 @@ Y.env = {};
|
|
|
3112
3112
|
Y.argv = [];
|
|
3113
3113
|
Y.version = "";
|
|
3114
3114
|
Y.versions = {};
|
|
3115
|
-
function
|
|
3115
|
+
function Ce() {
|
|
3116
3116
|
}
|
|
3117
|
-
Y.on =
|
|
3118
|
-
Y.addListener =
|
|
3119
|
-
Y.once =
|
|
3120
|
-
Y.off =
|
|
3121
|
-
Y.removeListener =
|
|
3122
|
-
Y.removeAllListeners =
|
|
3123
|
-
Y.emit =
|
|
3124
|
-
Y.prependListener =
|
|
3125
|
-
Y.prependOnceListener =
|
|
3117
|
+
Y.on = Ce;
|
|
3118
|
+
Y.addListener = Ce;
|
|
3119
|
+
Y.once = Ce;
|
|
3120
|
+
Y.off = Ce;
|
|
3121
|
+
Y.removeListener = Ce;
|
|
3122
|
+
Y.removeAllListeners = Ce;
|
|
3123
|
+
Y.emit = Ce;
|
|
3124
|
+
Y.prependListener = Ce;
|
|
3125
|
+
Y.prependOnceListener = Ce;
|
|
3126
3126
|
Y.listeners = function(r) {
|
|
3127
3127
|
return [];
|
|
3128
3128
|
};
|
|
@@ -3138,23 +3138,23 @@ Y.chdir = function(r) {
|
|
|
3138
3138
|
Y.umask = function() {
|
|
3139
3139
|
return 0;
|
|
3140
3140
|
};
|
|
3141
|
-
var ps =
|
|
3141
|
+
var ps = Ni.exports;
|
|
3142
3142
|
(function(r) {
|
|
3143
3143
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
3144
|
-
const o =
|
|
3144
|
+
const o = Ei, l = ps, h = (f) => f && f.__esModule ? f : { default: f }, d = h(l), g = globalThis || void 0 || self;
|
|
3145
3145
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
3146
3146
|
})(Ci);
|
|
3147
3147
|
let ie;
|
|
3148
3148
|
typeof window < "u" ? ie = window : typeof self < "u" ? ie = self : ie = Ci.global;
|
|
3149
3149
|
let Lt = null, zt = null;
|
|
3150
|
-
const ei = 20,
|
|
3151
|
-
Et == null || ii == null ? (Lt =
|
|
3150
|
+
const ei = 20, Ct = ie.clearTimeout, ti = ie.setTimeout, Et = ie.cancelAnimationFrame || ie.mozCancelAnimationFrame || ie.webkitCancelAnimationFrame, ii = ie.requestAnimationFrame || ie.mozRequestAnimationFrame || ie.webkitRequestAnimationFrame;
|
|
3151
|
+
Et == null || ii == null ? (Lt = Ct, zt = function(o) {
|
|
3152
3152
|
return ti(o, ei);
|
|
3153
3153
|
}) : (Lt = function([o, l]) {
|
|
3154
|
-
Et(o),
|
|
3154
|
+
Et(o), Ct(l);
|
|
3155
3155
|
}, zt = function(o) {
|
|
3156
3156
|
const l = ii(function() {
|
|
3157
|
-
|
|
3157
|
+
Ct(h), o();
|
|
3158
3158
|
}), h = ti(function() {
|
|
3159
3159
|
Et(l), o();
|
|
3160
3160
|
}, ei);
|
|
@@ -3164,75 +3164,75 @@ function fs(r) {
|
|
|
3164
3164
|
let o, l, h, d, g, f, s;
|
|
3165
3165
|
const I = typeof document < "u" && document.attachEvent;
|
|
3166
3166
|
if (!I) {
|
|
3167
|
-
f = function(
|
|
3168
|
-
const v =
|
|
3167
|
+
f = function(C) {
|
|
3168
|
+
const v = C.__resizeTriggers__, j = v.firstElementChild, O = v.lastElementChild, B = j.firstElementChild;
|
|
3169
3169
|
O.scrollLeft = O.scrollWidth, O.scrollTop = O.scrollHeight, B.style.width = j.offsetWidth + 1 + "px", B.style.height = j.offsetHeight + 1 + "px", j.scrollLeft = j.scrollWidth, j.scrollTop = j.scrollHeight;
|
|
3170
|
-
}, g = function(
|
|
3171
|
-
return
|
|
3172
|
-
}, s = function(
|
|
3173
|
-
if (
|
|
3170
|
+
}, g = function(C) {
|
|
3171
|
+
return C.offsetWidth !== C.__resizeLast__.width || C.offsetHeight !== C.__resizeLast__.height;
|
|
3172
|
+
}, s = function(C) {
|
|
3173
|
+
if (C.target.className && typeof C.target.className.indexOf == "function" && C.target.className.indexOf("contract-trigger") < 0 && C.target.className.indexOf("expand-trigger") < 0)
|
|
3174
3174
|
return;
|
|
3175
3175
|
const v = this;
|
|
3176
3176
|
f(this), this.__resizeRAF__ && Lt(this.__resizeRAF__), this.__resizeRAF__ = zt(function() {
|
|
3177
3177
|
g(v) && (v.__resizeLast__.width = v.offsetWidth, v.__resizeLast__.height = v.offsetHeight, v.__resizeListeners__.forEach(function(B) {
|
|
3178
|
-
B.call(v,
|
|
3178
|
+
B.call(v, C);
|
|
3179
3179
|
}));
|
|
3180
3180
|
});
|
|
3181
3181
|
};
|
|
3182
|
-
let
|
|
3182
|
+
let w = !1, T = "";
|
|
3183
3183
|
h = "animationstart";
|
|
3184
3184
|
const L = "Webkit Moz O ms".split(" ");
|
|
3185
3185
|
let y = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), A = "";
|
|
3186
3186
|
{
|
|
3187
|
-
const
|
|
3188
|
-
if (
|
|
3187
|
+
const C = document.createElement("fakeelement");
|
|
3188
|
+
if (C.style.animationName !== void 0 && (w = !0), w === !1) {
|
|
3189
3189
|
for (let v = 0; v < L.length; v++)
|
|
3190
|
-
if (
|
|
3191
|
-
A = L[v], T = "-" + A.toLowerCase() + "-", h = y[v],
|
|
3190
|
+
if (C.style[L[v] + "AnimationName"] !== void 0) {
|
|
3191
|
+
A = L[v], T = "-" + A.toLowerCase() + "-", h = y[v], w = !0;
|
|
3192
3192
|
break;
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
3196
|
l = "resizeanim", o = "@" + T + "keyframes " + l + " { from { opacity: 0; } to { opacity: 0; } } ", d = T + "animation: 1ms " + l + "; ";
|
|
3197
3197
|
}
|
|
3198
|
-
const N = function(
|
|
3199
|
-
if (!
|
|
3200
|
-
const T = (o || "") + ".resize-triggers { " + (d || "") + '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%; }', L =
|
|
3201
|
-
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = T : y.appendChild(
|
|
3198
|
+
const N = function(w) {
|
|
3199
|
+
if (!w.getElementById("detectElementResize")) {
|
|
3200
|
+
const T = (o || "") + ".resize-triggers { " + (d || "") + '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%; }', L = w.head || w.getElementsByTagName("head")[0], y = w.createElement("style");
|
|
3201
|
+
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = T : y.appendChild(w.createTextNode(T)), L.appendChild(y);
|
|
3202
3202
|
}
|
|
3203
3203
|
};
|
|
3204
3204
|
return {
|
|
3205
|
-
addResizeListener: function(
|
|
3205
|
+
addResizeListener: function(w, T) {
|
|
3206
3206
|
if (I)
|
|
3207
|
-
|
|
3207
|
+
w.attachEvent("onresize", T);
|
|
3208
3208
|
else {
|
|
3209
|
-
if (!
|
|
3210
|
-
const L =
|
|
3211
|
-
y && y.position === "static" && (
|
|
3209
|
+
if (!w.__resizeTriggers__) {
|
|
3210
|
+
const L = w.ownerDocument, y = ie.getComputedStyle(w);
|
|
3211
|
+
y && y.position === "static" && (w.style.position = "relative"), N(L), w.__resizeLast__ = {}, w.__resizeListeners__ = [], (w.__resizeTriggers__ = L.createElement("div")).className = "resize-triggers";
|
|
3212
3212
|
const A = L.createElement("div");
|
|
3213
3213
|
A.className = "expand-trigger", A.appendChild(L.createElement("div"));
|
|
3214
|
-
const
|
|
3215
|
-
|
|
3216
|
-
j.animationName === l && f(
|
|
3217
|
-
},
|
|
3214
|
+
const C = L.createElement("div");
|
|
3215
|
+
C.className = "contract-trigger", w.__resizeTriggers__.appendChild(A), w.__resizeTriggers__.appendChild(C), w.appendChild(w.__resizeTriggers__), f(w), w.addEventListener("scroll", s, !0), h && (w.__resizeTriggers__.__animationListener__ = function(j) {
|
|
3216
|
+
j.animationName === l && f(w);
|
|
3217
|
+
}, w.__resizeTriggers__.addEventListener(h, w.__resizeTriggers__.__animationListener__));
|
|
3218
3218
|
}
|
|
3219
|
-
|
|
3219
|
+
w.__resizeListeners__.push(T);
|
|
3220
3220
|
}
|
|
3221
3221
|
},
|
|
3222
|
-
removeResizeListener: function(
|
|
3222
|
+
removeResizeListener: function(w, T) {
|
|
3223
3223
|
if (I)
|
|
3224
|
-
|
|
3225
|
-
else if (
|
|
3226
|
-
|
|
3224
|
+
w.detachEvent("onresize", T);
|
|
3225
|
+
else if (w.__resizeListeners__.splice(w.__resizeListeners__.indexOf(T), 1), !w.__resizeListeners__.length) {
|
|
3226
|
+
w.removeEventListener("scroll", s, !0), w.__resizeTriggers__.__animationListener__ && (w.__resizeTriggers__.removeEventListener(h, w.__resizeTriggers__.__animationListener__), w.__resizeTriggers__.__animationListener__ = null);
|
|
3227
3227
|
try {
|
|
3228
|
-
|
|
3228
|
+
w.__resizeTriggers__ = !w.removeChild(w.__resizeTriggers__);
|
|
3229
3229
|
} catch {
|
|
3230
3230
|
}
|
|
3231
3231
|
}
|
|
3232
3232
|
}
|
|
3233
3233
|
};
|
|
3234
3234
|
}
|
|
3235
|
-
class gs extends
|
|
3235
|
+
class gs extends bi {
|
|
3236
3236
|
constructor(...o) {
|
|
3237
3237
|
super(...o), this.state = {
|
|
3238
3238
|
height: this.props.defaultHeight || 0,
|
|
@@ -3248,14 +3248,14 @@ class gs extends ki {
|
|
|
3248
3248
|
} = this.props;
|
|
3249
3249
|
if (this._parentNode) {
|
|
3250
3250
|
var g, f, s, I;
|
|
3251
|
-
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"),
|
|
3252
|
-
(!l && (this.state.height !==
|
|
3253
|
-
height:
|
|
3251
|
+
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"), w = parseFloat((s = N.paddingTop) !== null && s !== void 0 ? s : "0"), T = parseFloat((I = N.paddingBottom) !== null && I !== void 0 ? I : "0"), L = this._parentNode.getBoundingClientRect(), y = L.height - w - T, A = L.width - E - x, C = this._parentNode.offsetHeight - w - T, v = this._parentNode.offsetWidth - E - x;
|
|
3252
|
+
(!l && (this.state.height !== C || this.state.scaledHeight !== y) || !h && (this.state.width !== v || this.state.scaledWidth !== A)) && (this.setState({
|
|
3253
|
+
height: C,
|
|
3254
3254
|
width: v,
|
|
3255
3255
|
scaledHeight: y,
|
|
3256
3256
|
scaledWidth: A
|
|
3257
3257
|
}), typeof d == "function" && d({
|
|
3258
|
-
height:
|
|
3258
|
+
height: C,
|
|
3259
3259
|
scaledHeight: y,
|
|
3260
3260
|
scaledWidth: A,
|
|
3261
3261
|
width: v
|
|
@@ -3290,21 +3290,21 @@ class gs extends ki {
|
|
|
3290
3290
|
...E
|
|
3291
3291
|
} = this.props, {
|
|
3292
3292
|
height: x,
|
|
3293
|
-
scaledHeight:
|
|
3293
|
+
scaledHeight: w,
|
|
3294
3294
|
scaledWidth: T,
|
|
3295
3295
|
width: L
|
|
3296
3296
|
} = this.state, y = {
|
|
3297
3297
|
overflow: "visible"
|
|
3298
3298
|
}, A = {};
|
|
3299
|
-
let
|
|
3300
|
-
return d || (x === 0 && (
|
|
3299
|
+
let C = !1;
|
|
3300
|
+
return d || (x === 0 && (C = !0), y.height = 0, A.height = x, A.scaledHeight = w), g || (L === 0 && (C = !0), y.width = 0, A.width = L, A.scaledWidth = T), rt(N, {
|
|
3301
3301
|
ref: this._setRef,
|
|
3302
3302
|
style: {
|
|
3303
3303
|
...y,
|
|
3304
3304
|
...I
|
|
3305
3305
|
},
|
|
3306
3306
|
...E
|
|
3307
|
-
}, !
|
|
3307
|
+
}, !C && o(A));
|
|
3308
3308
|
}
|
|
3309
3309
|
}
|
|
3310
3310
|
function jt() {
|
|
@@ -3362,7 +3362,7 @@ var Ms = typeof performance == "object" && typeof performance.now == "function",
|
|
|
3362
3362
|
function si(r) {
|
|
3363
3363
|
cancelAnimationFrame(r.id);
|
|
3364
3364
|
}
|
|
3365
|
-
function
|
|
3365
|
+
function ws(r, o) {
|
|
3366
3366
|
var l = oi();
|
|
3367
3367
|
function h() {
|
|
3368
3368
|
oi() - l >= o ? r.call(null) : d.id = requestAnimationFrame(h);
|
|
@@ -3380,24 +3380,24 @@ function ai(r) {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
return Nt;
|
|
3382
3382
|
}
|
|
3383
|
-
var
|
|
3383
|
+
var Pe = null;
|
|
3384
3384
|
function li(r) {
|
|
3385
|
-
if (r === void 0 && (r = !1),
|
|
3385
|
+
if (r === void 0 && (r = !1), Pe === null || r) {
|
|
3386
3386
|
var o = document.createElement("div"), l = o.style;
|
|
3387
3387
|
l.width = "50px", l.height = "50px", l.overflow = "scroll", l.direction = "rtl";
|
|
3388
3388
|
var h = document.createElement("div"), d = h.style;
|
|
3389
|
-
return d.width = "100px", d.height = "100px", o.appendChild(h), document.body.appendChild(o), o.scrollLeft > 0 ?
|
|
3389
|
+
return d.width = "100px", d.height = "100px", o.appendChild(h), document.body.appendChild(o), o.scrollLeft > 0 ? Pe = "positive-descending" : (o.scrollLeft = 1, o.scrollLeft === 0 ? Pe = "negative" : Pe = "positive-ascending"), document.body.removeChild(o), Pe;
|
|
3390
3390
|
}
|
|
3391
|
-
return
|
|
3391
|
+
return Pe;
|
|
3392
3392
|
}
|
|
3393
|
-
var
|
|
3393
|
+
var Cs = 150, Es = function(o, l) {
|
|
3394
3394
|
return o;
|
|
3395
3395
|
};
|
|
3396
3396
|
function As(r) {
|
|
3397
3397
|
var o, l = r.getItemOffset, h = r.getEstimatedTotalSize, d = r.getItemSize, g = r.getOffsetForIndexAndAlignment, f = r.getStartIndexForOffset, s = r.getStopIndexForStartIndex, I = r.initInstanceProps, N = r.shouldResetStyleCacheOnItemSizeChange, E = r.validateProps;
|
|
3398
3398
|
return o = /* @__PURE__ */ function(x) {
|
|
3399
|
-
ms(
|
|
3400
|
-
function
|
|
3399
|
+
ms(w, x);
|
|
3400
|
+
function w(L) {
|
|
3401
3401
|
var y;
|
|
3402
3402
|
return y = x.call(this, L) || this, y._instanceProps = I(y.props, ri(y)), y._outerRef = void 0, y._resetIsScrollingTimeoutId = null, y.state = {
|
|
3403
3403
|
instance: ri(y),
|
|
@@ -3405,21 +3405,21 @@ function As(r) {
|
|
|
3405
3405
|
scrollDirection: "forward",
|
|
3406
3406
|
scrollOffset: typeof y.props.initialScrollOffset == "number" ? y.props.initialScrollOffset : 0,
|
|
3407
3407
|
scrollUpdateWasRequested: !1
|
|
3408
|
-
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(A,
|
|
3408
|
+
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(A, C, v, j) {
|
|
3409
3409
|
return y.props.onItemsRendered({
|
|
3410
3410
|
overscanStartIndex: A,
|
|
3411
|
-
overscanStopIndex:
|
|
3411
|
+
overscanStopIndex: C,
|
|
3412
3412
|
visibleStartIndex: v,
|
|
3413
3413
|
visibleStopIndex: j
|
|
3414
3414
|
});
|
|
3415
|
-
}), y._callOnScroll = void 0, y._callOnScroll = At(function(A,
|
|
3415
|
+
}), y._callOnScroll = void 0, y._callOnScroll = At(function(A, C, v) {
|
|
3416
3416
|
return y.props.onScroll({
|
|
3417
3417
|
scrollDirection: A,
|
|
3418
|
-
scrollOffset:
|
|
3418
|
+
scrollOffset: C,
|
|
3419
3419
|
scrollUpdateWasRequested: v
|
|
3420
3420
|
});
|
|
3421
3421
|
}), y._getItemStyle = void 0, y._getItemStyle = function(A) {
|
|
3422
|
-
var
|
|
3422
|
+
var C = y.props, v = C.direction, j = C.itemSize, O = C.layout, B = y._getItemStyleCache(N && j, N && O, N && v), U;
|
|
3423
3423
|
if (B.hasOwnProperty(A))
|
|
3424
3424
|
U = B[A];
|
|
3425
3425
|
else {
|
|
@@ -3434,10 +3434,10 @@ function As(r) {
|
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
3436
3436
|
return U;
|
|
3437
|
-
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(A,
|
|
3437
|
+
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(A, C, v) {
|
|
3438
3438
|
return {};
|
|
3439
3439
|
}), y._onScrollHorizontal = function(A) {
|
|
3440
|
-
var
|
|
3440
|
+
var C = A.currentTarget, v = C.clientWidth, j = C.scrollLeft, O = C.scrollWidth;
|
|
3441
3441
|
y.setState(function(B) {
|
|
3442
3442
|
if (B.scrollOffset === j)
|
|
3443
3443
|
return null;
|
|
@@ -3459,7 +3459,7 @@ function As(r) {
|
|
|
3459
3459
|
};
|
|
3460
3460
|
}, y._resetIsScrollingDebounced);
|
|
3461
3461
|
}, y._onScrollVertical = function(A) {
|
|
3462
|
-
var
|
|
3462
|
+
var C = A.currentTarget, v = C.clientHeight, j = C.scrollHeight, O = C.scrollTop;
|
|
3463
3463
|
y.setState(function(B) {
|
|
3464
3464
|
if (B.scrollOffset === O)
|
|
3465
3465
|
return null;
|
|
@@ -3472,10 +3472,10 @@ function As(r) {
|
|
|
3472
3472
|
};
|
|
3473
3473
|
}, y._resetIsScrollingDebounced);
|
|
3474
3474
|
}, y._outerRefSetter = function(A) {
|
|
3475
|
-
var
|
|
3476
|
-
y._outerRef = A, typeof
|
|
3475
|
+
var C = y.props.outerRef;
|
|
3476
|
+
y._outerRef = A, typeof C == "function" ? C(A) : C != null && typeof C == "object" && C.hasOwnProperty("current") && (C.current = A);
|
|
3477
3477
|
}, y._resetIsScrollingDebounced = function() {
|
|
3478
|
-
y._resetIsScrollingTimeoutId !== null && si(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId =
|
|
3478
|
+
y._resetIsScrollingTimeoutId !== null && si(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId = ws(y._resetIsScrolling, Cs);
|
|
3479
3479
|
}, y._resetIsScrolling = function() {
|
|
3480
3480
|
y._resetIsScrollingTimeoutId = null, y.setState({
|
|
3481
3481
|
isScrolling: !1
|
|
@@ -3484,10 +3484,10 @@ function As(r) {
|
|
|
3484
3484
|
});
|
|
3485
3485
|
}, y;
|
|
3486
3486
|
}
|
|
3487
|
-
|
|
3487
|
+
w.getDerivedStateFromProps = function(y, A) {
|
|
3488
3488
|
return Ns(y, A), E(y), null;
|
|
3489
3489
|
};
|
|
3490
|
-
var T =
|
|
3490
|
+
var T = w.prototype;
|
|
3491
3491
|
return T.scrollTo = function(y) {
|
|
3492
3492
|
y = Math.max(0, y), this.setState(function(A) {
|
|
3493
3493
|
return A.scrollOffset === y ? null : {
|
|
@@ -3498,7 +3498,7 @@ function As(r) {
|
|
|
3498
3498
|
}, this._resetIsScrollingDebounced);
|
|
3499
3499
|
}, T.scrollToItem = function(y, A) {
|
|
3500
3500
|
A === void 0 && (A = "auto");
|
|
3501
|
-
var
|
|
3501
|
+
var C = this.props, v = C.itemCount, j = C.layout, O = this.state.scrollOffset;
|
|
3502
3502
|
y = Math.max(0, Math.min(y, v - 1));
|
|
3503
3503
|
var B = 0;
|
|
3504
3504
|
if (this._outerRef) {
|
|
@@ -3507,17 +3507,17 @@ function As(r) {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
this.scrollTo(g(this.props, y, A, O, this._instanceProps, B));
|
|
3509
3509
|
}, T.componentDidMount = function() {
|
|
3510
|
-
var y = this.props, A = y.direction,
|
|
3511
|
-
if (typeof
|
|
3510
|
+
var y = this.props, A = y.direction, C = y.initialScrollOffset, v = y.layout;
|
|
3511
|
+
if (typeof C == "number" && this._outerRef != null) {
|
|
3512
3512
|
var j = this._outerRef;
|
|
3513
|
-
A === "horizontal" || v === "horizontal" ? j.scrollLeft =
|
|
3513
|
+
A === "horizontal" || v === "horizontal" ? j.scrollLeft = C : j.scrollTop = C;
|
|
3514
3514
|
}
|
|
3515
3515
|
this._callPropsCallbacks();
|
|
3516
3516
|
}, T.componentDidUpdate = function() {
|
|
3517
|
-
var y = this.props, A = y.direction,
|
|
3517
|
+
var y = this.props, A = y.direction, C = y.layout, v = this.state, j = v.scrollOffset, O = v.scrollUpdateWasRequested;
|
|
3518
3518
|
if (O && this._outerRef != null) {
|
|
3519
3519
|
var B = this._outerRef;
|
|
3520
|
-
if (A === "horizontal" ||
|
|
3520
|
+
if (A === "horizontal" || C === "horizontal")
|
|
3521
3521
|
if (A === "rtl")
|
|
3522
3522
|
switch (li()) {
|
|
3523
3523
|
case "negative":
|
|
@@ -3540,7 +3540,7 @@ function As(r) {
|
|
|
3540
3540
|
}, T.componentWillUnmount = function() {
|
|
3541
3541
|
this._resetIsScrollingTimeoutId !== null && si(this._resetIsScrollingTimeoutId);
|
|
3542
3542
|
}, T.render = function() {
|
|
3543
|
-
var y = this.props, A = y.children,
|
|
3543
|
+
var y = this.props, A = y.children, C = y.className, v = y.direction, j = y.height, O = y.innerRef, B = y.innerElementType, U = y.innerTagName, F = y.itemCount, H = y.itemData, q = y.itemKey, le = q === void 0 ? Es : q, re = y.layout, ce = y.outerElementType, G = y.outerTagName, ne = y.style, me = y.useIsScrolling, ze = y.width, Ae = this.state.isScrolling, Ie = v === "horizontal" || re === "horizontal", oe = Ie ? this._onScrollHorizontal : this._onScrollVertical, Ne = this._getRangeToRender(), _ = Ne[0], $ = Ne[1], xe = [];
|
|
3544
3544
|
if (F > 0)
|
|
3545
3545
|
for (var se = _; se <= $; se++)
|
|
3546
3546
|
xe.push(rt(A, {
|
|
@@ -3552,7 +3552,7 @@ function As(r) {
|
|
|
3552
3552
|
}));
|
|
3553
3553
|
var Te = h(this.props, this._instanceProps);
|
|
3554
3554
|
return rt(ce || G || "div", {
|
|
3555
|
-
className:
|
|
3555
|
+
className: C,
|
|
3556
3556
|
onScroll: oe,
|
|
3557
3557
|
ref: this._outerRefSetter,
|
|
3558
3558
|
style: jt({
|
|
@@ -3577,8 +3577,8 @@ function As(r) {
|
|
|
3577
3577
|
if (typeof this.props.onItemsRendered == "function") {
|
|
3578
3578
|
var y = this.props.itemCount;
|
|
3579
3579
|
if (y > 0) {
|
|
3580
|
-
var A = this._getRangeToRender(),
|
|
3581
|
-
this._callOnItemsRendered(
|
|
3580
|
+
var A = this._getRangeToRender(), C = A[0], v = A[1], j = A[2], O = A[3];
|
|
3581
|
+
this._callOnItemsRendered(C, v, j, O);
|
|
3582
3582
|
}
|
|
3583
3583
|
}
|
|
3584
3584
|
if (typeof this.props.onScroll == "function") {
|
|
@@ -3586,12 +3586,12 @@ function As(r) {
|
|
|
3586
3586
|
this._callOnScroll(U, F, H);
|
|
3587
3587
|
}
|
|
3588
3588
|
}, T._getRangeToRender = function() {
|
|
3589
|
-
var y = this.props, A = y.itemCount,
|
|
3589
|
+
var y = this.props, A = y.itemCount, C = y.overscanCount, v = this.state, j = v.isScrolling, O = v.scrollDirection, B = v.scrollOffset;
|
|
3590
3590
|
if (A === 0)
|
|
3591
3591
|
return [0, 0, 0, 0];
|
|
3592
|
-
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), H = !j || O === "backward" ? Math.max(1,
|
|
3592
|
+
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), H = !j || O === "backward" ? Math.max(1, C) : 1, q = !j || O === "forward" ? Math.max(1, C) : 1;
|
|
3593
3593
|
return [Math.max(0, U - H), Math.max(0, Math.min(A - 1, F + q)), U, F];
|
|
3594
|
-
},
|
|
3594
|
+
}, w;
|
|
3595
3595
|
}(pi), o.defaultProps = {
|
|
3596
3596
|
direction: "ltr",
|
|
3597
3597
|
itemData: void 0,
|
|
@@ -3616,19 +3616,19 @@ var Ns = function(o, l) {
|
|
|
3616
3616
|
return h * l;
|
|
3617
3617
|
},
|
|
3618
3618
|
getOffsetForIndexAndAlignment: function(o, l, h, d, g, f) {
|
|
3619
|
-
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout,
|
|
3620
|
-
switch (h === "smart" && (d >=
|
|
3619
|
+
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout, w = o.width, T = s === "horizontal" || x === "horizontal", L = T ? w : I, y = Math.max(0, N * E - L), A = Math.min(y, l * E), C = Math.max(0, l * E - L + E + f);
|
|
3620
|
+
switch (h === "smart" && (d >= C - L && d <= A + L ? h = "auto" : h = "center"), h) {
|
|
3621
3621
|
case "start":
|
|
3622
3622
|
return A;
|
|
3623
3623
|
case "end":
|
|
3624
|
-
return
|
|
3624
|
+
return C;
|
|
3625
3625
|
case "center": {
|
|
3626
|
-
var v = Math.round(
|
|
3626
|
+
var v = Math.round(C + (A - C) / 2);
|
|
3627
3627
|
return v < Math.ceil(L / 2) ? 0 : v > y + Math.floor(L / 2) ? y : v;
|
|
3628
3628
|
}
|
|
3629
3629
|
case "auto":
|
|
3630
3630
|
default:
|
|
3631
|
-
return d >=
|
|
3631
|
+
return d >= C && d <= A ? d : d < C ? C : A;
|
|
3632
3632
|
}
|
|
3633
3633
|
},
|
|
3634
3634
|
getStartIndexForOffset: function(o, l) {
|
|
@@ -3636,7 +3636,7 @@ var Ns = function(o, l) {
|
|
|
3636
3636
|
return Math.max(0, Math.min(h - 1, Math.floor(l / d)));
|
|
3637
3637
|
},
|
|
3638
3638
|
getStopIndexForStartIndex: function(o, l, h) {
|
|
3639
|
-
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout, N = o.width, E = d === "horizontal" || I === "horizontal", x = l * s,
|
|
3639
|
+
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout, N = o.width, E = d === "horizontal" || I === "horizontal", x = l * s, w = E ? N : g, T = Math.ceil((w + h - x) / s);
|
|
3640
3640
|
return Math.max(0, Math.min(
|
|
3641
3641
|
f - 1,
|
|
3642
3642
|
l + T - 1
|
|
@@ -3660,8 +3660,8 @@ function vs(r) {
|
|
|
3660
3660
|
E ? I !== null && (f.push(s, I), s = I = null) : (I = N, s === null && (s = N));
|
|
3661
3661
|
}
|
|
3662
3662
|
if (I !== null) {
|
|
3663
|
-
for (var x = Math.min(Math.max(I, s + h - 1), l - 1),
|
|
3664
|
-
I =
|
|
3663
|
+
for (var x = Math.min(Math.max(I, s + h - 1), l - 1), w = I + 1; w <= x && !o(w); w++)
|
|
3664
|
+
I = w;
|
|
3665
3665
|
f.push(s, I);
|
|
3666
3666
|
}
|
|
3667
3667
|
if (f.length)
|
|
@@ -3738,23 +3738,23 @@ var Ds = function(r, o) {
|
|
|
3738
3738
|
}, {
|
|
3739
3739
|
key: "_ensureRowsLoaded",
|
|
3740
3740
|
value: function(h, d) {
|
|
3741
|
-
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E,
|
|
3741
|
+
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E, w = vs({
|
|
3742
3742
|
isItemLoaded: f,
|
|
3743
3743
|
itemCount: s,
|
|
3744
3744
|
minimumBatchSize: N,
|
|
3745
3745
|
startIndex: Math.max(0, h - x),
|
|
3746
3746
|
stopIndex: Math.min(s - 1, d + x)
|
|
3747
3747
|
});
|
|
3748
|
-
(this._memoizedUnloadedRanges.length !==
|
|
3749
|
-
return
|
|
3750
|
-
})) && (this._memoizedUnloadedRanges =
|
|
3748
|
+
(this._memoizedUnloadedRanges.length !== w.length || this._memoizedUnloadedRanges.some(function(T, L) {
|
|
3749
|
+
return w[L] !== T;
|
|
3750
|
+
})) && (this._memoizedUnloadedRanges = w, this._loadUnloadedRanges(w));
|
|
3751
3751
|
}
|
|
3752
3752
|
}, {
|
|
3753
3753
|
key: "_loadUnloadedRanges",
|
|
3754
3754
|
value: function(h) {
|
|
3755
3755
|
for (var d = this, g = this.props.loadMoreItems || this.props.loadMoreRows, f = function(N) {
|
|
3756
|
-
var E = h[N], x = h[N + 1],
|
|
3757
|
-
|
|
3756
|
+
var E = h[N], x = h[N + 1], w = g(E, x);
|
|
3757
|
+
w != null && w.then(function() {
|
|
3758
3758
|
if (Ts({
|
|
3759
3759
|
lastRenderedStartIndex: d._lastRenderedStartIndex,
|
|
3760
3760
|
lastRenderedStopIndex: d._lastRenderedStopIndex,
|
|
@@ -3771,59 +3771,56 @@ var Ds = function(r, o) {
|
|
|
3771
3771
|
}
|
|
3772
3772
|
}]), o;
|
|
3773
3773
|
}(pi);
|
|
3774
|
-
const Ss = /* @__PURE__ */ m("div")({
|
|
3775
|
-
name: "
|
|
3776
|
-
class: "
|
|
3777
|
-
propsAsIs: !1
|
|
3778
|
-
}), Bs = /* @__PURE__ */ m("div")({
|
|
3779
|
-
name: "n",
|
|
3780
|
-
class: "n2xe6fm",
|
|
3774
|
+
const Ss = () => Ue, Bs = /* @__PURE__ */ m("div")({
|
|
3775
|
+
name: "a",
|
|
3776
|
+
class: "a1lvbkps",
|
|
3781
3777
|
propsAsIs: !1
|
|
3782
|
-
}), ks = /* @__PURE__ */ m("
|
|
3783
|
-
name: "
|
|
3784
|
-
class: "
|
|
3778
|
+
}), ks = /* @__PURE__ */ m("div")({
|
|
3779
|
+
name: "l",
|
|
3780
|
+
class: "l2xe6fm",
|
|
3785
3781
|
propsAsIs: !1
|
|
3786
|
-
}), bs = /* @__PURE__ */ m("
|
|
3787
|
-
name: "
|
|
3788
|
-
class: "
|
|
3782
|
+
}), bs = /* @__PURE__ */ m("img")({
|
|
3783
|
+
name: "p",
|
|
3784
|
+
class: "p1yk5k0z",
|
|
3789
3785
|
propsAsIs: !1
|
|
3790
3786
|
}), Rs = /* @__PURE__ */ m("div")({
|
|
3791
|
-
name: "
|
|
3792
|
-
class: "
|
|
3787
|
+
name: "s",
|
|
3788
|
+
class: "s13yur3w",
|
|
3793
3789
|
propsAsIs: !1
|
|
3794
3790
|
}), _s = /* @__PURE__ */ m("div")({
|
|
3795
|
-
name: "
|
|
3796
|
-
class: "
|
|
3791
|
+
name: "c",
|
|
3792
|
+
class: "c1h2npcq",
|
|
3797
3793
|
propsAsIs: !1
|
|
3798
|
-
}), Os = /* @__PURE__ */ m("
|
|
3794
|
+
}), Os = /* @__PURE__ */ m("div")({
|
|
3799
3795
|
name: "d",
|
|
3800
|
-
class: "
|
|
3796
|
+
class: "d1kxek13",
|
|
3801
3797
|
propsAsIs: !1
|
|
3802
|
-
}), Us = /* @__PURE__ */ m("
|
|
3803
|
-
name: "
|
|
3804
|
-
class: "
|
|
3798
|
+
}), Us = /* @__PURE__ */ m("span")({
|
|
3799
|
+
name: "g",
|
|
3800
|
+
class: "glf08ok",
|
|
3805
3801
|
propsAsIs: !1
|
|
3806
|
-
}), $s = /* @__PURE__ */ m(
|
|
3802
|
+
}), $s = /* @__PURE__ */ m(Ss())({
|
|
3807
3803
|
name: "x",
|
|
3808
|
-
class: "
|
|
3809
|
-
propsAsIs: !
|
|
3804
|
+
class: "x1hkuau3",
|
|
3805
|
+
propsAsIs: !0
|
|
3810
3806
|
}), Fs = ({
|
|
3811
3807
|
rank: r,
|
|
3812
3808
|
avatar: o,
|
|
3813
3809
|
name: l,
|
|
3814
3810
|
points: h,
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
/* @__PURE__ */ z(
|
|
3821
|
-
/* @__PURE__ */ p(
|
|
3822
|
-
/* @__PURE__ */ z(
|
|
3823
|
-
/* @__PURE__ */ p(
|
|
3824
|
-
|
|
3811
|
+
isCurrentUser: d,
|
|
3812
|
+
openItemDetail: g,
|
|
3813
|
+
style: f
|
|
3814
|
+
}) => /* @__PURE__ */ z(Bs, { onClick: g, style: f, children: [
|
|
3815
|
+
/* @__PURE__ */ p(ks, { children: r || 0 }),
|
|
3816
|
+
/* @__PURE__ */ z(_s, { children: [
|
|
3817
|
+
o ? /* @__PURE__ */ p(bs, { alt: "leaderboard-item-avatar", src: o }) : /* @__PURE__ */ p(Rs, { children: yi(l || "") }),
|
|
3818
|
+
/* @__PURE__ */ z(Os, { children: [
|
|
3819
|
+
/* @__PURE__ */ p(Us, { children: l || "" }),
|
|
3820
|
+
d && /* @__PURE__ */ p($s, { name: "icon-star" })
|
|
3825
3821
|
] })
|
|
3826
|
-
] })
|
|
3822
|
+
] }),
|
|
3823
|
+
/* @__PURE__ */ p("div", { children: Mi(h) })
|
|
3827
3824
|
] }), Ps = ({ items: r, openItemDetail: o, fetchMore: l }) => /* @__PURE__ */ p(gs, { children: ({ width: h, height: d }) => /* @__PURE__ */ p(
|
|
3828
3825
|
js,
|
|
3829
3826
|
{
|
|
@@ -3864,7 +3861,7 @@ const Ss = /* @__PURE__ */ m("div")({
|
|
|
3864
3861
|
h(s);
|
|
3865
3862
|
};
|
|
3866
3863
|
return /* @__PURE__ */ z(Oe, { children: [
|
|
3867
|
-
l && /* @__PURE__ */ p(
|
|
3864
|
+
l && /* @__PURE__ */ p(hn, { comeBack: () => d(null), ...l }),
|
|
3868
3865
|
!l && /* @__PURE__ */ p(
|
|
3869
3866
|
Ps,
|
|
3870
3867
|
{
|
|
@@ -3898,9 +3895,9 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3898
3895
|
gamification: r,
|
|
3899
3896
|
sdk: o
|
|
3900
3897
|
}) => {
|
|
3901
|
-
var l, h, d, g, f, s, I, N, E, x,
|
|
3898
|
+
var l, h, d, g, f, s, I, N, E, x, w, T, L, y, A, C, v, j, O, B, U, F, H;
|
|
3902
3899
|
const q = Z(r.status), le = Z(r.onboardingStatus), re = Z(r.openedQuestion), { slStreamId: ce } = Z(o.sdkStore), G = Z(r.featureSettings), [ne, me] = K(nt.HOME);
|
|
3903
|
-
if (q !==
|
|
3900
|
+
if (q !== Ve.Ready)
|
|
3904
3901
|
return /* @__PURE__ */ p("div", { children: "wait..." });
|
|
3905
3902
|
if (ce != null && ce.loading)
|
|
3906
3903
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) });
|
|
@@ -3908,7 +3905,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3908
3905
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
3909
3906
|
if (!le)
|
|
3910
3907
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p(
|
|
3911
|
-
|
|
3908
|
+
en,
|
|
3912
3909
|
{
|
|
3913
3910
|
closeFeature: o.closeFeature,
|
|
3914
3911
|
gamification: r,
|
|
@@ -3916,9 +3913,9 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3916
3913
|
gameIcon: (f = (g = (d = G.inplayGame) == null ? void 0 : d.overview) == null ? void 0 : g.media) == null ? void 0 : f.gameIcon,
|
|
3917
3914
|
sponsorLogo: (N = (I = (s = G.inplayGame) == null ? void 0 : s.overview) == null ? void 0 : I.media) == null ? void 0 : N.sponsorLogo,
|
|
3918
3915
|
rules: (x = (E = G.inplayGame) == null ? void 0 : E.rules) == null ? void 0 : x.rules,
|
|
3919
|
-
rulesBtnLabel: (T = (
|
|
3916
|
+
rulesBtnLabel: (T = (w = G.inplayGame) == null ? void 0 : w.rules) == null ? void 0 : T.buttonLabel,
|
|
3920
3917
|
rulesTitle: (y = (L = G.inplayGame) == null ? void 0 : L.rules) == null ? void 0 : y.heading,
|
|
3921
|
-
primaryColor: (v = (
|
|
3918
|
+
primaryColor: (v = (C = (A = G.inplayGame) == null ? void 0 : A.overview) == null ? void 0 : C.appearance) == null ? void 0 : v.primaryColor,
|
|
3922
3919
|
inviteCardTitle: (O = (j = G.inplayGame) == null ? void 0 : j.inviteCard) == null ? void 0 : O.heading,
|
|
3923
3920
|
inviteCardSubtext: (U = (B = G.inplayGame) == null ? void 0 : B.inviteCard) == null ? void 0 : U.subtext,
|
|
3924
3921
|
inviteCardBtnLabel: (H = (F = G.inplayGame) == null ? void 0 : F.inviteCard) == null ? void 0 : H.buttonLabel
|
|
@@ -3932,7 +3929,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3932
3929
|
r.submitAnswer(oe, Ne);
|
|
3933
3930
|
};
|
|
3934
3931
|
return /* @__PURE__ */ z(Re, { children: [
|
|
3935
|
-
/* @__PURE__ */ p(
|
|
3932
|
+
/* @__PURE__ */ p(sn, { activePage: ne, toggleActivePage: (oe) => {
|
|
3936
3933
|
me(oe);
|
|
3937
3934
|
} }),
|
|
3938
3935
|
ne === nt.HOME && /* @__PURE__ */ z(Oe, { children: [
|
|
@@ -4005,7 +4002,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4005
4002
|
);
|
|
4006
4003
|
}, i0 = ({ highlights: r, sdk: o }) => {
|
|
4007
4004
|
const l = Z(r.status), h = Z(r.openedInsight), { slStreamId: d } = Z(o.sdkStore);
|
|
4008
|
-
return l !==
|
|
4005
|
+
return l !== Ve.Ready ? /* @__PURE__ */ p("div", { children: "wait..." }) : d != null && d.loading ? /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) }) : d != null && d.data ? r.insights === void 0 ? /* @__PURE__ */ p("div", { children: "wait insights..." }) : /* @__PURE__ */ z(Re, { children: [
|
|
4009
4006
|
!h && /* @__PURE__ */ p(Xs, { highlights: r, store: r.insights.getStore() }),
|
|
4010
4007
|
h && /* @__PURE__ */ p(
|
|
4011
4008
|
t0,
|
|
@@ -4017,16 +4014,16 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4017
4014
|
)
|
|
4018
4015
|
] }) : /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
4019
4016
|
};
|
|
4020
|
-
var r0 = {},
|
|
4017
|
+
var r0 = {}, Di = {}, lt = {};
|
|
4021
4018
|
lt.byteLength = s0;
|
|
4022
4019
|
lt.toByteArray = l0;
|
|
4023
4020
|
lt.fromByteArray = h0;
|
|
4024
4021
|
var ge = [], te = [], n0 = typeof Uint8Array < "u" ? Uint8Array : Array, Tt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
4025
|
-
for (var
|
|
4026
|
-
ge[
|
|
4022
|
+
for (var Ye = 0, o0 = Tt.length; Ye < o0; ++Ye)
|
|
4023
|
+
ge[Ye] = Tt[Ye], te[Tt.charCodeAt(Ye)] = Ye;
|
|
4027
4024
|
te["-".charCodeAt(0)] = 62;
|
|
4028
4025
|
te["_".charCodeAt(0)] = 63;
|
|
4029
|
-
function
|
|
4026
|
+
function Li(r) {
|
|
4030
4027
|
var o = r.length;
|
|
4031
4028
|
if (o % 4 > 0)
|
|
4032
4029
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -4036,14 +4033,14 @@ function Di(r) {
|
|
|
4036
4033
|
return [l, h];
|
|
4037
4034
|
}
|
|
4038
4035
|
function s0(r) {
|
|
4039
|
-
var o =
|
|
4036
|
+
var o = Li(r), l = o[0], h = o[1];
|
|
4040
4037
|
return (l + h) * 3 / 4 - h;
|
|
4041
4038
|
}
|
|
4042
4039
|
function a0(r, o, l) {
|
|
4043
4040
|
return (o + l) * 3 / 4 - l;
|
|
4044
4041
|
}
|
|
4045
4042
|
function l0(r) {
|
|
4046
|
-
var o, l =
|
|
4043
|
+
var o, l = Li(r), h = l[0], d = l[1], g = new n0(a0(r, h, d)), f = 0, s = d > 0 ? h - 4 : h, I;
|
|
4047
4044
|
for (I = 0; I < s; I += 4)
|
|
4048
4045
|
o = te[r.charCodeAt(I)] << 18 | te[r.charCodeAt(I + 1)] << 12 | te[r.charCodeAt(I + 2)] << 6 | te[r.charCodeAt(I + 3)], g[f++] = o >> 16 & 255, g[f++] = o >> 8 & 255, g[f++] = o & 255;
|
|
4049
4046
|
return d === 2 && (o = te[r.charCodeAt(I)] << 2 | te[r.charCodeAt(I + 1)] >> 4, g[f++] = o & 255), d === 1 && (o = te[r.charCodeAt(I)] << 10 | te[r.charCodeAt(I + 1)] << 4 | te[r.charCodeAt(I + 2)] >> 2, g[f++] = o >> 8 & 255, g[f++] = o & 255), g;
|
|
@@ -4068,10 +4065,10 @@ function h0(r) {
|
|
|
4068
4065
|
var Ft = {};
|
|
4069
4066
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
4070
4067
|
Ft.read = function(r, o, l, h, d) {
|
|
4071
|
-
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0,
|
|
4072
|
-
for (x +=
|
|
4068
|
+
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, T = r[o + x];
|
|
4069
|
+
for (x += w, g = T & (1 << -E) - 1, T >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
4073
4070
|
;
|
|
4074
|
-
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x +=
|
|
4071
|
+
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
4075
4072
|
;
|
|
4076
4073
|
if (g === 0)
|
|
4077
4074
|
g = 1 - N;
|
|
@@ -4083,8 +4080,8 @@ Ft.read = function(r, o, l, h, d) {
|
|
|
4083
4080
|
return (T ? -1 : 1) * f * Math.pow(2, g - h);
|
|
4084
4081
|
};
|
|
4085
4082
|
Ft.write = function(r, o, l, h, d, g) {
|
|
4086
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1,
|
|
4087
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o +=
|
|
4083
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, T = h ? 0 : g - 1, L = h ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
4084
|
+
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += w / I : o += w * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + T] = s & 255, T += L, s /= 256, d -= 8)
|
|
4088
4085
|
;
|
|
4089
4086
|
for (f = f << d | s, N += d; N > 0; r[l + T] = f & 255, T += L, f /= 256, N -= 8)
|
|
4090
4087
|
;
|
|
@@ -4145,7 +4142,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4145
4142
|
s.poolSize = 8192;
|
|
4146
4143
|
function I(i, e, t) {
|
|
4147
4144
|
if (typeof i == "string")
|
|
4148
|
-
return
|
|
4145
|
+
return w(i, e);
|
|
4149
4146
|
if (ArrayBuffer.isView(i))
|
|
4150
4147
|
return L(i);
|
|
4151
4148
|
if (i == null)
|
|
@@ -4186,14 +4183,14 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4186
4183
|
return E(i, e, t);
|
|
4187
4184
|
};
|
|
4188
4185
|
function x(i) {
|
|
4189
|
-
return N(i), f(i < 0 ? 0 :
|
|
4186
|
+
return N(i), f(i < 0 ? 0 : C(i) | 0);
|
|
4190
4187
|
}
|
|
4191
4188
|
s.allocUnsafe = function(i) {
|
|
4192
4189
|
return x(i);
|
|
4193
4190
|
}, s.allocUnsafeSlow = function(i) {
|
|
4194
4191
|
return x(i);
|
|
4195
4192
|
};
|
|
4196
|
-
function
|
|
4193
|
+
function w(i, e) {
|
|
4197
4194
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
4198
4195
|
throw new TypeError("Unknown encoding: " + e);
|
|
4199
4196
|
const t = j(i, e) | 0;
|
|
@@ -4202,7 +4199,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4202
4199
|
return a !== t && (n = n.slice(0, a)), n;
|
|
4203
4200
|
}
|
|
4204
4201
|
function T(i) {
|
|
4205
|
-
const e = i.length < 0 ? 0 :
|
|
4202
|
+
const e = i.length < 0 ? 0 : C(i.length) | 0, t = f(e);
|
|
4206
4203
|
for (let n = 0; n < e; n += 1)
|
|
4207
4204
|
t[n] = i[n] & 255;
|
|
4208
4205
|
return t;
|
|
@@ -4224,7 +4221,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4224
4221
|
}
|
|
4225
4222
|
function A(i) {
|
|
4226
4223
|
if (s.isBuffer(i)) {
|
|
4227
|
-
const e =
|
|
4224
|
+
const e = C(i.length) | 0, t = f(e);
|
|
4228
4225
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
4229
4226
|
}
|
|
4230
4227
|
if (i.length !== void 0)
|
|
@@ -4232,7 +4229,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4232
4229
|
if (i.type === "Buffer" && Array.isArray(i.data))
|
|
4233
4230
|
return T(i.data);
|
|
4234
4231
|
}
|
|
4235
|
-
function
|
|
4232
|
+
function C(i) {
|
|
4236
4233
|
if (i >= d)
|
|
4237
4234
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
4238
4235
|
return i | 0;
|
|
@@ -5065,8 +5062,8 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
5065
5062
|
function gt() {
|
|
5066
5063
|
throw new Error("BigInt not supported");
|
|
5067
5064
|
}
|
|
5068
|
-
})(
|
|
5069
|
-
var
|
|
5065
|
+
})(Di);
|
|
5066
|
+
var zi = { exports: {} }, V = zi.exports = {}, de, pe;
|
|
5070
5067
|
function Bt() {
|
|
5071
5068
|
throw new Error("setTimeout has not been defined");
|
|
5072
5069
|
}
|
|
@@ -5085,7 +5082,7 @@ function kt() {
|
|
|
5085
5082
|
pe = kt;
|
|
5086
5083
|
}
|
|
5087
5084
|
})();
|
|
5088
|
-
function
|
|
5085
|
+
function ji(r) {
|
|
5089
5086
|
if (de === setTimeout)
|
|
5090
5087
|
return setTimeout(r, 0);
|
|
5091
5088
|
if ((de === Bt || !de) && setTimeout)
|
|
@@ -5115,20 +5112,20 @@ function d0(r) {
|
|
|
5115
5112
|
}
|
|
5116
5113
|
}
|
|
5117
5114
|
}
|
|
5118
|
-
var
|
|
5115
|
+
var we = [], Qe = !1, _e, st = -1;
|
|
5119
5116
|
function p0() {
|
|
5120
|
-
!
|
|
5117
|
+
!Qe || !_e || (Qe = !1, _e.length ? we = _e.concat(we) : st = -1, we.length && Si());
|
|
5121
5118
|
}
|
|
5122
|
-
function
|
|
5123
|
-
if (!
|
|
5124
|
-
var r =
|
|
5125
|
-
|
|
5126
|
-
for (var o =
|
|
5127
|
-
for (_e =
|
|
5119
|
+
function Si() {
|
|
5120
|
+
if (!Qe) {
|
|
5121
|
+
var r = ji(p0);
|
|
5122
|
+
Qe = !0;
|
|
5123
|
+
for (var o = we.length; o; ) {
|
|
5124
|
+
for (_e = we, we = []; ++st < o; )
|
|
5128
5125
|
_e && _e[st].run();
|
|
5129
|
-
st = -1, o =
|
|
5126
|
+
st = -1, o = we.length;
|
|
5130
5127
|
}
|
|
5131
|
-
_e = null,
|
|
5128
|
+
_e = null, Qe = !1, d0(r);
|
|
5132
5129
|
}
|
|
5133
5130
|
}
|
|
5134
5131
|
V.nextTick = function(r) {
|
|
@@ -5136,12 +5133,12 @@ V.nextTick = function(r) {
|
|
|
5136
5133
|
if (arguments.length > 1)
|
|
5137
5134
|
for (var l = 1; l < arguments.length; l++)
|
|
5138
5135
|
o[l - 1] = arguments[l];
|
|
5139
|
-
|
|
5136
|
+
we.push(new Bi(r, o)), we.length === 1 && !Qe && ji(Si);
|
|
5140
5137
|
};
|
|
5141
|
-
function
|
|
5138
|
+
function Bi(r, o) {
|
|
5142
5139
|
this.fun = r, this.array = o;
|
|
5143
5140
|
}
|
|
5144
|
-
|
|
5141
|
+
Bi.prototype.run = function() {
|
|
5145
5142
|
this.fun.apply(null, this.array);
|
|
5146
5143
|
};
|
|
5147
5144
|
V.title = "browser";
|
|
@@ -5176,10 +5173,10 @@ V.chdir = function(r) {
|
|
|
5176
5173
|
V.umask = function() {
|
|
5177
5174
|
return 0;
|
|
5178
5175
|
};
|
|
5179
|
-
var f0 =
|
|
5176
|
+
var f0 = zi.exports;
|
|
5180
5177
|
(function(r) {
|
|
5181
5178
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
5182
|
-
const o =
|
|
5179
|
+
const o = Di, l = f0, h = (f) => f && f.__esModule ? f : { default: f }, d = h(l), g = globalThis || void 0 || self;
|
|
5183
5180
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
5184
5181
|
})(r0);
|
|
5185
5182
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
@@ -5197,7 +5194,7 @@ var di;
|
|
|
5197
5194
|
(function(r) {
|
|
5198
5195
|
r.Init = "init", r.Ready = "ready", r.Connecting = "connecting", r.Connected = "connected", r.Disconnected = "disconnected", r.Failed = "failed", r.Reconnecting = "reconnecting";
|
|
5199
5196
|
})(di || (di = {}));
|
|
5200
|
-
const g0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button", { onClick: r.logout, children: "logout" }) : /* @__PURE__ */ p(
|
|
5197
|
+
const g0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button", { onClick: r.logout, children: "logout" }) : /* @__PURE__ */ p(Er, { login: async (o) => {
|
|
5201
5198
|
try {
|
|
5202
5199
|
await r.authorizationBypass("streamlayer:streamlayer", o);
|
|
5203
5200
|
} catch (l) {
|
|
@@ -5205,7 +5202,7 @@ const g0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button"
|
|
|
5205
5202
|
}
|
|
5206
5203
|
}, anonymousLogin: r.anonymousAuthorization, host: r.host });
|
|
5207
5204
|
var m0 = Object.defineProperty, I0 = (r, o, l) => o in r ? m0(r, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[o] = l, ke = (r, o, l) => (I0(r, typeof o != "symbol" ? o + "" : o, l), l);
|
|
5208
|
-
class y0 extends
|
|
5205
|
+
class y0 extends Vi {
|
|
5209
5206
|
constructor() {
|
|
5210
5207
|
super("user"), ke(this, "setSchema", (o) => {
|
|
5211
5208
|
this.write("schema", o);
|
|
@@ -5240,15 +5237,15 @@ const M0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5240
5237
|
const I = o.getFeatures();
|
|
5241
5238
|
if (r)
|
|
5242
5239
|
for (const [N, E] of I)
|
|
5243
|
-
N === r ? E.status.get() ===
|
|
5240
|
+
N === r ? E.status.get() === Ve.Suspended && (E.enable(), h(E)) : E.status.get() === Ve.Ready && E.disable();
|
|
5244
5241
|
else {
|
|
5245
5242
|
for (const [, N] of I)
|
|
5246
|
-
N.status.get() ===
|
|
5243
|
+
N.status.get() === Ve.Ready && N.disable();
|
|
5247
5244
|
h(null);
|
|
5248
5245
|
}
|
|
5249
5246
|
return () => {
|
|
5250
5247
|
for (const [, N] of I)
|
|
5251
|
-
N.status.get() ===
|
|
5248
|
+
N.status.get() === Ve.Ready && N.disable();
|
|
5252
5249
|
};
|
|
5253
5250
|
}, [r, o]);
|
|
5254
5251
|
const s = De(() => l ? l.featureConfig.get().type === Pt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(Hs, { gamification: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait gamification..." }) : l.featureConfig.get().type === Pt.HIGHLIGHTS ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(i0, { highlights: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait highlights..." }) : /* @__PURE__ */ p("div", { children: "unknown feature" }) : null, [o, l]);
|
|
@@ -5260,7 +5257,7 @@ const M0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5260
5257
|
xt,
|
|
5261
5258
|
{
|
|
5262
5259
|
onClick: () => o.openFeature(I.type),
|
|
5263
|
-
disabled: !(I.type in
|
|
5260
|
+
disabled: !(I.type in Yi),
|
|
5264
5261
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
5265
5262
|
"data-selected": I.type === r,
|
|
5266
5263
|
children: [
|
|
@@ -5280,9 +5277,9 @@ const M0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5280
5277
|
/* @__PURE__ */ p(M0, { sdk: r, activeFeature: h })
|
|
5281
5278
|
] }) : /* @__PURE__ */ p(g0, { sdk: r }) : /* @__PURE__ */ p("div", { children: "wrong sdk key..." });
|
|
5282
5279
|
};
|
|
5283
|
-
const
|
|
5280
|
+
const w0 = "fedqibx", C0 = ({ children: r, style: o }) => /* @__PURE__ */ p("div", { className: w0, style: o, children: r });
|
|
5284
5281
|
var E0 = /* @__PURE__ */ ((r) => (r[r.UNSET = 0] = "UNSET", r[r.CONNECTED = 1] = "CONNECTED", r[r.READY = 2] = "READY", r))(E0 || {});
|
|
5285
|
-
const A0 =
|
|
5282
|
+
const A0 = Ri({
|
|
5286
5283
|
status: 0,
|
|
5287
5284
|
sdk: null
|
|
5288
5285
|
}), G0 = ({
|
|
@@ -5292,30 +5289,30 @@ const A0 = bi({
|
|
|
5292
5289
|
production: h = !0,
|
|
5293
5290
|
autoEnable: d = !0
|
|
5294
5291
|
}) => {
|
|
5295
|
-
const g =
|
|
5292
|
+
const g = Zi(r, o, h, d), f = De(() => g ? {
|
|
5296
5293
|
sdk: g,
|
|
5297
5294
|
status: 2
|
|
5298
5295
|
/* READY */
|
|
5299
5296
|
} : { status: 1, sdk: null }, [g]);
|
|
5300
|
-
return /* @__PURE__ */ p(
|
|
5297
|
+
return /* @__PURE__ */ p(C0, { children: /* @__PURE__ */ p(A0.Provider, { value: f, children: l }) });
|
|
5301
5298
|
};
|
|
5302
5299
|
export {
|
|
5303
|
-
Ps as C,
|
|
5304
5300
|
G0 as S,
|
|
5305
5301
|
Io as X,
|
|
5306
|
-
|
|
5302
|
+
Ue as Y,
|
|
5307
5303
|
A0 as a,
|
|
5308
5304
|
E0 as b,
|
|
5309
|
-
|
|
5305
|
+
Mi as c,
|
|
5310
5306
|
Xs as d,
|
|
5311
|
-
|
|
5312
|
-
|
|
5307
|
+
C0 as e,
|
|
5308
|
+
hn as f,
|
|
5313
5309
|
H0 as g,
|
|
5314
5310
|
nt as h,
|
|
5315
5311
|
t0 as j,
|
|
5316
|
-
|
|
5317
|
-
|
|
5312
|
+
gn as o,
|
|
5313
|
+
sn as p,
|
|
5318
5314
|
m as s,
|
|
5319
|
-
|
|
5320
|
-
B1 as v
|
|
5315
|
+
l1 as u,
|
|
5316
|
+
B1 as v,
|
|
5317
|
+
Ps as x
|
|
5321
5318
|
};
|