@streamlayer/react 0.32.10 → 0.32.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,545 +1,545 @@
1
- import { jsx as c, jsxs as I, Fragment as ie } from "react/jsx-runtime";
2
- import { d as Ze, S as Wt, a as jt, b as Ht, s as Yt } from "./index2.js";
3
- import { lazy as Vt, useMemo as Ue, Suspense as Kt, useRef as ye, useState as W, useEffect as X, Component as Qt, createElement as Xt, useCallback as ve, useLayoutEffect as Jt, useContext as Zt } from "react";
4
- import { FeatureType as ze, QuestionType as D } from "@streamlayer/sdk-web-types";
1
+ import { jsx as u, jsxs as d, Fragment as te } from "react/jsx-runtime";
2
+ import { d as Ke, S as Wi, a as Gi, b as Pi, s as Zi } from "./index2.js";
3
+ import { lazy as Vi, useMemo as Qe, Suspense as qi, useRef as je, useState as W, useEffect as J, Component as Hi, createElement as Ji, useCallback as Ae, useLayoutEffect as Xi, useContext as Ki } from "react";
4
+ import { FeatureType as be, QuestionType as B } from "@streamlayer/sdk-web-types";
5
5
  import { useStore as re } from "@nanostores/react";
6
- import { FeatureStatus as me } from "@streamlayer/sdk-web-interfaces";
7
- import { s as h, o as z, c as wt } from "./index4.js";
8
- import { NotificationType as Ae } from "@streamlayer/sdk-web-notifications";
9
- const ei = ({ feature: s, sdk: n, children: l, className: f }) => {
10
- const g = re(s.status), m = re(n.sdkStore.slStreamId);
11
- return m != null && m.loading ? /* @__PURE__ */ c("div", { className: f, children: "event is loading..." }) : m != null && m.data ? g !== me.Ready ? /* @__PURE__ */ c("div", { className: f, children: "wait feature..." }) : l : /* @__PURE__ */ c("div", { className: f, children: "event is forbidden..." });
12
- }, ti = Vt(() => import("./gamification-feature.js")), ii = ({
6
+ import { FeatureStatus as Ie } from "@streamlayer/sdk-web-interfaces";
7
+ import { s as l, o as b, c as hi } from "./index4.js";
8
+ import { NotificationType as pe } from "@streamlayer/sdk-web-notifications";
9
+ const et = ({ feature: s, sdk: n, children: c, className: D }) => {
10
+ const T = re(s.status), I = re(n.sdkStore.slStreamId);
11
+ return I != null && I.loading ? /* @__PURE__ */ u("div", { className: D, children: "event is loading..." }) : I != null && I.data ? T !== Ie.Ready ? /* @__PURE__ */ u("div", { className: D, children: "wait feature..." }) : c : /* @__PURE__ */ u("div", { className: D, children: "event is forbidden..." });
12
+ }, it = Vi(() => import("./gamification-feature.js")), tt = ({
13
13
  sdk: s,
14
14
  feature: n,
15
- className: l
15
+ className: c
16
16
  }) => {
17
- const f = Ue(() => n && n.featureConfig.get().type === ze.GAMES ? /* @__PURE__ */ c(ei, { className: l, sdk: s, feature: n, children: /* @__PURE__ */ c(ti, { className: l, gamification: n, sdk: s }) }) : null, [s, n, l]);
18
- return /* @__PURE__ */ c(
19
- Kt,
17
+ const D = Qe(() => n && n.featureConfig.get().type === be.GAMES ? /* @__PURE__ */ u(et, { className: c, sdk: s, feature: n, children: /* @__PURE__ */ u(it, { className: c, gamification: n, sdk: s }) }) : null, [s, n, c]);
18
+ return /* @__PURE__ */ u(
19
+ qi,
20
20
  {
21
- fallback: /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
22
- children: f
21
+ fallback: /* @__PURE__ */ u("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
22
+ children: D
23
23
  }
24
24
  );
25
- }, ri = /* @__PURE__ */ h("button")({
25
+ }, rt = /* @__PURE__ */ l("button")({
26
26
  name: "SButton",
27
27
  class: "sxxa0c",
28
28
  propsAsIs: !1
29
- }), ni = /* @__PURE__ */ h("span")({
29
+ }), nt = /* @__PURE__ */ l("span")({
30
30
  name: "ButtonIcon",
31
31
  class: "b193dcyu",
32
32
  propsAsIs: !1
33
- }), si = /* @__PURE__ */ h("span")({
33
+ }), st = /* @__PURE__ */ l("span")({
34
34
  name: "ButtonLabel",
35
35
  class: "b40tuix",
36
36
  propsAsIs: !1
37
- }), Oe = ({ disabled: s, active: n, onClick: l, label: f, icon: g }) => /* @__PURE__ */ c(ri, { onClick: l, disabled: s, "data-selected": n, children: /* @__PURE__ */ I(ie, { children: [
38
- g && /* @__PURE__ */ c(ni, { children: g }),
39
- /* @__PURE__ */ c(si, { children: f })
40
- ] }) }), oi = () => z, ai = /* @__PURE__ */ h(oi())({
37
+ }), ve = ({ disabled: s, active: n, onClick: c, label: D, icon: T }) => /* @__PURE__ */ u(rt, { onClick: c, disabled: s, "data-selected": n, children: /* @__PURE__ */ d(te, { children: [
38
+ T && /* @__PURE__ */ u(nt, { children: T }),
39
+ /* @__PURE__ */ u(st, { children: D })
40
+ ] }) }), ot = () => b, Mt = /* @__PURE__ */ l(ot())({
41
41
  name: "ButtonIcon",
42
42
  class: "b1whzxvd",
43
43
  propsAsIs: !0
44
- }), de = "channels", li = (s) => {
44
+ }), Ne = "channels", ct = (s) => {
45
45
  var n;
46
- return /* @__PURE__ */ c(Oe, {
46
+ return /* @__PURE__ */ u(ve, {
47
47
  ...s,
48
48
  id: "channels",
49
49
  label: "Channels",
50
- icon: /* @__PURE__ */ c(ai, {
50
+ icon: /* @__PURE__ */ u(Mt, {
51
51
  name: "icon-btn-channels",
52
52
  "data-selected": (n = s.active) == null ? void 0 : n.toString()
53
53
  })
54
54
  });
55
- }, ci = () => z, ui = /* @__PURE__ */ h(ci())({
55
+ }, ut = () => b, at = /* @__PURE__ */ l(ut())({
56
56
  name: "ButtonIcon",
57
57
  class: "b11des7c",
58
58
  propsAsIs: !0
59
- }), ee = "featuredGroups", hi = (s) => {
59
+ }), ee = "featuredGroups", lt = (s) => {
60
60
  var n;
61
- return /* @__PURE__ */ c(Oe, {
61
+ return /* @__PURE__ */ u(ve, {
62
62
  ...s,
63
63
  label: "FG+",
64
64
  id: "featuredGroups",
65
- icon: /* @__PURE__ */ c(ui, {
65
+ icon: /* @__PURE__ */ u(at, {
66
66
  name: "icon-btn-feature-groups",
67
67
  "data-selected": (n = s.active) == null ? void 0 : n.toString()
68
68
  })
69
69
  });
70
- }, di = () => z, pi = /* @__PURE__ */ h(di())({
70
+ }, Nt = () => b, gt = /* @__PURE__ */ l(Nt())({
71
71
  name: "ButtonIcon",
72
72
  class: "b180jd7l",
73
73
  propsAsIs: !0
74
- }), be = "leaderboard", fi = (s) => {
74
+ }), ze = "leaderboard", Dt = (s) => {
75
75
  var n;
76
- return /* @__PURE__ */ c(Oe, {
76
+ return /* @__PURE__ */ u(ve, {
77
77
  ...s,
78
78
  label: "Leader Board",
79
79
  id: "leaderboard",
80
- icon: /* @__PURE__ */ c(pi, {
80
+ icon: /* @__PURE__ */ u(gt, {
81
81
  name: "icon-btn-leaderboard",
82
82
  "data-selected": (n = s.active) == null ? void 0 : n.toString()
83
83
  })
84
84
  });
85
- }, mi = /* @__PURE__ */ h("div")({
85
+ }, It = /* @__PURE__ */ l("div")({
86
86
  name: "Buttons",
87
87
  class: "b6tbwuy",
88
88
  propsAsIs: !1
89
- }), gi = ({
89
+ }), Tt = ({
90
90
  children: s,
91
91
  className: n
92
- }) => /* @__PURE__ */ c(mi, {
92
+ }) => /* @__PURE__ */ u(It, {
93
93
  className: n,
94
94
  children: s
95
- }), yi = () => gi, wi = /* @__PURE__ */ h(yi())({
95
+ }), jt = () => Tt, ht = /* @__PURE__ */ l(jt())({
96
96
  name: "Navigation",
97
97
  class: "n19lpak2",
98
98
  propsAsIs: !0
99
- }), Ii = ({ activeOverlay: s, setActiveOverlay: n, sdkReady: l, className: f }) => /* @__PURE__ */ I(wi, { className: f, children: [
100
- /* @__PURE__ */ c(li, { active: s === de, onClick: () => n(de) }),
101
- /* @__PURE__ */ c(
102
- hi,
99
+ }), dt = ({ activeOverlay: s, setActiveOverlay: n, sdkReady: c, className: D }) => /* @__PURE__ */ d(ht, { className: D, children: [
100
+ /* @__PURE__ */ u(ct, { active: s === Ne, onClick: () => n(Ne) }),
101
+ /* @__PURE__ */ u(
102
+ lt,
103
103
  {
104
104
  active: s === ee,
105
- disabled: !l,
105
+ disabled: !c,
106
106
  onClick: () => {
107
107
  n(ee);
108
108
  }
109
109
  }
110
110
  ),
111
- /* @__PURE__ */ c(
112
- fi,
111
+ /* @__PURE__ */ u(
112
+ Dt,
113
113
  {
114
- active: s === be,
115
- onClick: () => n(be)
114
+ active: s === ze,
115
+ onClick: () => n(ze)
116
116
  }
117
117
  )
118
- ] }), Ai = {
119
- [D.TWEET]: { label: "Insight", iconName: "icon-insight" },
120
- [D.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
121
- [D.UNSET]: void 0,
122
- [D.FACTOID]: { label: "Insight", iconName: "icon-insight" },
123
- [D.POLL]: { label: "Poll", iconName: "icon-poll" },
124
- [D.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
125
- [D.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
126
- }, xi = /* @__PURE__ */ h("div")({
118
+ ] }), pt = {
119
+ [B.TWEET]: { label: "Insight", iconName: "icon-insight" },
120
+ [B.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
121
+ [B.UNSET]: void 0,
122
+ [B.FACTOID]: { label: "Insight", iconName: "icon-insight" },
123
+ [B.POLL]: { label: "Poll", iconName: "icon-poll" },
124
+ [B.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
125
+ [B.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
126
+ }, yt = /* @__PURE__ */ l("div")({
127
127
  name: "Container",
128
128
  class: "c1bgb86j",
129
129
  propsAsIs: !1
130
- }), vi = /* @__PURE__ */ h("video")({
130
+ }), At = /* @__PURE__ */ l("video")({
131
131
  name: "Player",
132
132
  class: "p6703cq",
133
133
  propsAsIs: !1
134
- }), bi = /* @__PURE__ */ h("img")({
134
+ }), zt = /* @__PURE__ */ l("img")({
135
135
  name: "Poster",
136
136
  class: "p12ow7zo",
137
137
  propsAsIs: !1
138
- }), Ei = /* @__PURE__ */ h("div")({
138
+ }), xt = /* @__PURE__ */ l("div")({
139
139
  name: "Control",
140
140
  class: "cdpal9o",
141
141
  propsAsIs: !1
142
- }), Bi = ({ poster: s, source: n }) => {
143
- const l = ye(null), [f, g] = W(!1), [m, d] = W(!0);
144
- return /* @__PURE__ */ I(xi, { onClick: () => {
145
- const o = l == null ? void 0 : l.current;
146
- o && g((w) => w ? (o.pause(), !1) : (o.play(), d(!1), !0));
142
+ }), Et = ({ poster: s, source: n }) => {
143
+ const c = je(null), [D, T] = W(!1), [I, N] = W(!0);
144
+ return /* @__PURE__ */ d(yt, { onClick: () => {
145
+ const o = c == null ? void 0 : c.current;
146
+ o && T((h) => h ? (o.pause(), !1) : (o.play(), N(!1), !0));
147
147
  }, children: [
148
- /* @__PURE__ */ c(
149
- vi,
148
+ /* @__PURE__ */ u(
149
+ At,
150
150
  {
151
- ref: l,
151
+ ref: c,
152
152
  src: n,
153
153
  onEnded: () => {
154
154
  var o;
155
- (o = l == null ? void 0 : l.current) == null || o.load(), g(!1), d(!0);
155
+ (o = c == null ? void 0 : c.current) == null || o.load(), T(!1), N(!0);
156
156
  },
157
- style: { visibility: m ? "hidden" : "visible" }
157
+ style: { visibility: I ? "hidden" : "visible" }
158
158
  }
159
159
  ),
160
- /* @__PURE__ */ c(bi, { src: s, style: { visibility: m ? "visible" : "hidden" } }),
161
- /* @__PURE__ */ c(Ei, { children: !f && /* @__PURE__ */ c(z, { name: "icon-play" }) })
160
+ /* @__PURE__ */ u(zt, { src: s, style: { visibility: I ? "visible" : "hidden" } }),
161
+ /* @__PURE__ */ u(xt, { children: !D && /* @__PURE__ */ u(b, { name: "icon-play" }) })
162
162
  ] });
163
- }, _i = /* @__PURE__ */ h("div")({
163
+ }, ft = /* @__PURE__ */ l("div")({
164
164
  name: "InsightContainer",
165
165
  class: "i1pqqgpo",
166
166
  propsAsIs: !1
167
- }), Ci = /* @__PURE__ */ h("img")({
167
+ }), Ot = /* @__PURE__ */ l("img")({
168
168
  name: "Image",
169
169
  class: "igj7luu",
170
170
  propsAsIs: !1
171
- }), Ti = /* @__PURE__ */ h("div")({
171
+ }), Lt = /* @__PURE__ */ l("div")({
172
172
  name: "InsightContent",
173
173
  class: "i1qne9g6",
174
174
  propsAsIs: !1
175
- }), Fi = /* @__PURE__ */ h("h3")({
175
+ }), wt = /* @__PURE__ */ l("h3")({
176
176
  name: "Title",
177
177
  class: "ttpr98r",
178
178
  propsAsIs: !1
179
- }), $i = /* @__PURE__ */ h("div")({
179
+ }), mt = /* @__PURE__ */ l("div")({
180
180
  name: "Description",
181
181
  class: "d17iaqp8",
182
182
  propsAsIs: !1
183
- }), ki = /* @__PURE__ */ h("button")({
183
+ }), kt = /* @__PURE__ */ l("button")({
184
184
  name: "ActionBtn",
185
185
  class: "a16t3y7s",
186
186
  propsAsIs: !1
187
- }), Si = ({
187
+ }), Ct = ({
188
188
  video: s,
189
189
  image: n,
190
- heading: l,
191
- body: f,
192
- action: g
193
- }) => /* @__PURE__ */ I(_i, { children: [
194
- (s == null ? void 0 : s.url) && /* @__PURE__ */ c(Bi, { source: s.url, poster: s.thumbnailUrl }),
195
- n && !(s != null && s.url) && /* @__PURE__ */ c(Ci, { src: n }),
196
- /* @__PURE__ */ I(Ti, { children: [
197
- /* @__PURE__ */ c(Fi, { children: l }),
198
- /* @__PURE__ */ c($i, { children: f }),
199
- g && /* @__PURE__ */ c(ki, { onClick: g, children: "View Insight" })
190
+ heading: c,
191
+ body: D,
192
+ action: T
193
+ }) => /* @__PURE__ */ d(ft, { children: [
194
+ (s == null ? void 0 : s.url) && /* @__PURE__ */ u(Et, { source: s.url, poster: s.thumbnailUrl }),
195
+ n && !(s != null && s.url) && /* @__PURE__ */ u(Ot, { src: n }),
196
+ /* @__PURE__ */ d(Lt, { children: [
197
+ /* @__PURE__ */ u(wt, { children: c }),
198
+ /* @__PURE__ */ u(mt, { children: D }),
199
+ T && /* @__PURE__ */ u(kt, { onClick: T, children: "View Insight" })
200
200
  ] })
201
- ] }), Li = /* @__PURE__ */ h("div")({
201
+ ] }), St = /* @__PURE__ */ l("div")({
202
202
  name: "Container",
203
203
  class: "c1eptrjd",
204
204
  propsAsIs: !1
205
- }), Ri = /* @__PURE__ */ h("div")({
205
+ }), Ut = /* @__PURE__ */ l("div")({
206
206
  name: "CloseIconWrap",
207
207
  class: "crylm65",
208
208
  propsAsIs: !1
209
- }), Ni = () => z, Ui = /* @__PURE__ */ h(Ni())({
209
+ }), Yt = () => b, Qt = /* @__PURE__ */ l(Yt())({
210
210
  name: "CloseIcon",
211
211
  class: "c9mrcz7",
212
212
  propsAsIs: !0
213
- }), zi = /* @__PURE__ */ h("div")({
213
+ }), bt = /* @__PURE__ */ l("div")({
214
214
  name: "Header",
215
215
  class: "hw3lzv4",
216
216
  propsAsIs: !1
217
- }), Oi = () => z, Di = /* @__PURE__ */ h(Oi())({
217
+ }), vt = () => b, Bt = /* @__PURE__ */ l(vt())({
218
218
  name: "TypeIcon",
219
219
  class: "t1rrb3kf",
220
220
  propsAsIs: !0
221
- }), Pi = /* @__PURE__ */ h("span")({
221
+ }), _t = /* @__PURE__ */ l("span")({
222
222
  name: "TypeName",
223
223
  class: "t1ydnjov",
224
224
  propsAsIs: !1
225
- }), Mi = /* @__PURE__ */ h("div")({
225
+ }), Ft = /* @__PURE__ */ l("div")({
226
226
  name: "Question",
227
227
  class: "qlf90cl",
228
228
  propsAsIs: !1
229
- }), qi = /* @__PURE__ */ h("button")({
229
+ }), $t = /* @__PURE__ */ l("button")({
230
230
  name: "AnswerButton",
231
231
  class: "a1e0nhcl",
232
232
  propsAsIs: !1
233
- }), Gi = /* @__PURE__ */ h("div")({
233
+ }), Rt = /* @__PURE__ */ l("div")({
234
234
  name: "Container",
235
235
  class: "cjq447q",
236
236
  propsAsIs: !1
237
- }), Wi = /* @__PURE__ */ h("div")({
237
+ }), Wt = /* @__PURE__ */ l("div")({
238
238
  name: "ImageContainer",
239
239
  class: "i14egogb",
240
240
  propsAsIs: !1
241
- }), ji = /* @__PURE__ */ h("img")({
241
+ }), Gt = /* @__PURE__ */ l("img")({
242
242
  name: "Image",
243
243
  class: "i2g9g4l",
244
244
  propsAsIs: !1
245
- }), Hi = () => z, Yi = /* @__PURE__ */ h(Hi())({
245
+ }), Pt = () => b, Zt = /* @__PURE__ */ l(Pt())({
246
246
  name: "TwitterIcon",
247
247
  class: "t1c454nm",
248
248
  propsAsIs: !0
249
- }), Vi = /* @__PURE__ */ h("div")({
249
+ }), Vt = /* @__PURE__ */ l("div")({
250
250
  name: "Details",
251
251
  class: "d11nigc3",
252
252
  propsAsIs: !1
253
- }), Ki = /* @__PURE__ */ h("div")({
253
+ }), qt = /* @__PURE__ */ l("div")({
254
254
  name: "Name",
255
255
  class: "nrxa4k8",
256
256
  propsAsIs: !1
257
- }), Qi = /* @__PURE__ */ h("div")({
257
+ }), Ht = /* @__PURE__ */ l("div")({
258
258
  name: "UserName",
259
259
  class: "u1p051g3",
260
260
  propsAsIs: !1
261
- }), Xi = ({ image: s, name: n, userName: l, verified: f }) => /* @__PURE__ */ I(Gi, { children: [
262
- s && /* @__PURE__ */ I(Wi, { children: [
263
- /* @__PURE__ */ c(ji, { src: s }),
264
- /* @__PURE__ */ c(Yi, { name: "twitter" })
261
+ }), Jt = ({ image: s, name: n, userName: c, verified: D }) => /* @__PURE__ */ d(Rt, { children: [
262
+ s && /* @__PURE__ */ d(Wt, { children: [
263
+ /* @__PURE__ */ u(Gt, { src: s }),
264
+ /* @__PURE__ */ u(Zt, { name: "twitter" })
265
265
  ] }),
266
- /* @__PURE__ */ I(Vi, { children: [
267
- /* @__PURE__ */ I(Ki, { children: [
266
+ /* @__PURE__ */ d(Vt, { children: [
267
+ /* @__PURE__ */ d(qt, { children: [
268
268
  n,
269
269
  " ",
270
- f && /* @__PURE__ */ c(z, { name: "icon-twitter-verified" })
270
+ D && /* @__PURE__ */ u(b, { name: "icon-twitter-verified" })
271
271
  ] }),
272
- l && /* @__PURE__ */ I(Qi, { children: [
272
+ c && /* @__PURE__ */ d(Ht, { children: [
273
273
  "@",
274
- l
274
+ c
275
275
  ] })
276
276
  ] })
277
- ] }), Ji = /* @__PURE__ */ h("div")({
277
+ ] }), Xt = /* @__PURE__ */ l("div")({
278
278
  name: "Container",
279
279
  class: "c1kzqw87",
280
280
  propsAsIs: !1
281
- }), Zi = /* @__PURE__ */ h("div")({
281
+ }), Kt = /* @__PURE__ */ l("div")({
282
282
  name: "Details",
283
283
  class: "d9r1hf9",
284
284
  propsAsIs: !1
285
- }), er = /* @__PURE__ */ h("div")({
285
+ }), er = /* @__PURE__ */ l("div")({
286
286
  name: "Body",
287
287
  class: "bezygt5",
288
288
  propsAsIs: !1
289
- }), tr = ({ image: s, body: n, account: l, accountVerified: f }) => /* @__PURE__ */ c(Ji, { children: /* @__PURE__ */ I(Zi, { children: [
290
- /* @__PURE__ */ c(Xi, { image: s, name: l, userName: l, verified: f }),
291
- /* @__PURE__ */ c(er, { children: n })
292
- ] }) }), ir = /* @__PURE__ */ h("div")({
289
+ }), ir = ({ image: s, body: n, account: c, accountVerified: D }) => /* @__PURE__ */ u(Xt, { children: /* @__PURE__ */ d(Kt, { children: [
290
+ /* @__PURE__ */ u(Jt, { image: s, name: c, userName: c, verified: D }),
291
+ /* @__PURE__ */ u(er, { children: n })
292
+ ] }) }), tr = /* @__PURE__ */ l("div")({
293
293
  name: "Container",
294
294
  class: "c1t4f0x4",
295
295
  propsAsIs: !1
296
- }), rr = /* @__PURE__ */ h("button")({
296
+ }), rr = /* @__PURE__ */ l("button")({
297
297
  name: "ActionBtn",
298
298
  class: "a16w1nl6",
299
299
  propsAsIs: !1
300
- }), nr = /* @__PURE__ */ h("div")({
300
+ }), nr = /* @__PURE__ */ l("div")({
301
301
  name: "QuoteWrap",
302
302
  class: "q14u54rf",
303
303
  propsAsIs: !1
304
- }), sr = /* @__PURE__ */ h("blockquote")({
304
+ }), sr = /* @__PURE__ */ l("blockquote")({
305
305
  name: "Quote",
306
306
  class: "q1hxm6zo",
307
307
  propsAsIs: !1
308
- }), or = ({ action: s, ...n }) => /* @__PURE__ */ I(ir, { children: [
309
- n.title && /* @__PURE__ */ c(nr, { children: /* @__PURE__ */ c(sr, { children: n.title }) }),
310
- /* @__PURE__ */ c(tr, { ...n }),
311
- s && /* @__PURE__ */ c(rr, { onClick: s, children: "View Insight" })
312
- ] }), et = ({
308
+ }), or = ({ action: s, ...n }) => /* @__PURE__ */ d(tr, { children: [
309
+ n.title && /* @__PURE__ */ u(nr, { children: /* @__PURE__ */ u(sr, { children: n.title }) }),
310
+ /* @__PURE__ */ u(ir, { ...n }),
311
+ s && /* @__PURE__ */ u(rr, { onClick: s, children: "View Insight" })
312
+ ] }), ei = ({
313
313
  close: s,
314
314
  action: n,
315
- data: { questionType: l, question: f, insight: g, tweet: m }
315
+ data: { questionType: c, question: D, insight: T, tweet: I }
316
316
  }) => {
317
- const d = Ai[l];
318
- return d ? /* @__PURE__ */ I(Li, { children: [
319
- /* @__PURE__ */ c(Ri, { onClick: s, children: /* @__PURE__ */ c(Ui, { name: "icon-cross" }) }),
320
- l !== D.TWEET && /* @__PURE__ */ I(zi, { children: [
321
- /* @__PURE__ */ c(
322
- Di,
317
+ const N = pt[c];
318
+ return N ? /* @__PURE__ */ d(St, { children: [
319
+ /* @__PURE__ */ u(Ut, { onClick: s, children: /* @__PURE__ */ u(Qt, { name: "icon-cross" }) }),
320
+ c !== B.TWEET && /* @__PURE__ */ d(bt, { children: [
321
+ /* @__PURE__ */ u(
322
+ Bt,
323
323
  {
324
- "data-type-trivia": l === D.TRIVIA,
325
- "data-type-poll": l === D.POLL,
326
- name: d.iconName
324
+ "data-type-trivia": c === B.TRIVIA,
325
+ "data-type-poll": c === B.POLL,
326
+ name: N.iconName
327
327
  }
328
328
  ),
329
- /* @__PURE__ */ c(Pi, { children: d.label })
329
+ /* @__PURE__ */ u(_t, { children: N.label })
330
330
  ] }),
331
- l === D.FACTOID && /* @__PURE__ */ c(Si, { ...g, action: n }),
332
- l === D.TWEET && // ToDo: connect with real Api data
331
+ c === B.FACTOID && /* @__PURE__ */ u(Ct, { ...T, action: n }),
332
+ c === B.TWEET && // ToDo: connect with real Api data
333
333
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
334
334
  // @ts-ignore
335
- /* @__PURE__ */ c(or, { ...m, action: n }),
336
- l !== D.FACTOID && l !== D.TWEET && /* @__PURE__ */ I(ie, { children: [
337
- /* @__PURE__ */ c(Mi, { children: f == null ? void 0 : f.title }),
338
- /* @__PURE__ */ c(qi, { onClick: n, children: "Answer" })
335
+ /* @__PURE__ */ u(or, { ...I, action: n }),
336
+ c !== B.FACTOID && c !== B.TWEET && /* @__PURE__ */ d(te, { children: [
337
+ /* @__PURE__ */ u(Ft, { children: D == null ? void 0 : D.title }),
338
+ /* @__PURE__ */ u($t, { onClick: n, children: "Answer" })
339
339
  ] })
340
340
  ] }) : null;
341
- }, oe = /* @__PURE__ */ h("div")({
341
+ }, oe = /* @__PURE__ */ l("div")({
342
342
  name: "BGWrap",
343
343
  class: "b1dqe0sz",
344
344
  propsAsIs: !1
345
- }), P = /* @__PURE__ */ h("div")({
345
+ }), _ = /* @__PURE__ */ l("div")({
346
346
  name: "BGLineBase",
347
347
  class: "b1v6w7ni",
348
348
  propsAsIs: !1
349
- }), ar = () => P, lr = /* @__PURE__ */ h(ar())({
349
+ }), Mr = () => _, cr = /* @__PURE__ */ l(Mr())({
350
350
  name: "BGOneLineOne",
351
351
  class: "b2nqb1p",
352
352
  propsAsIs: !0
353
- }), cr = () => P, ur = /* @__PURE__ */ h(cr())({
353
+ }), ur = () => _, ar = /* @__PURE__ */ l(ur())({
354
354
  name: "BGOneLineTwo",
355
355
  class: "b1xxgmbk",
356
356
  propsAsIs: !0
357
- }), hr = () => P, dr = /* @__PURE__ */ h(hr())({
357
+ }), lr = () => _, Nr = /* @__PURE__ */ l(lr())({
358
358
  name: "BGOneLineThree",
359
359
  class: "b63lwcb",
360
360
  propsAsIs: !0
361
- }), pr = () => P, tt = /* @__PURE__ */ h(pr())({
361
+ }), gr = () => _, ii = /* @__PURE__ */ l(gr())({
362
362
  name: "BGTwoLineOne",
363
363
  class: "b2iah4",
364
364
  propsAsIs: !0
365
- }), fr = () => P, it = /* @__PURE__ */ h(fr())({
365
+ }), Dr = () => _, ti = /* @__PURE__ */ l(Dr())({
366
366
  name: "BGTwoLineTwo",
367
367
  class: "b1xezvf6",
368
368
  propsAsIs: !0
369
- }), mr = () => P, rt = /* @__PURE__ */ h(mr())({
369
+ }), Ir = () => _, ri = /* @__PURE__ */ l(Ir())({
370
370
  name: "BGTwoLineThree",
371
371
  class: "b1jz1hg0",
372
372
  propsAsIs: !0
373
- }), gr = () => P, nt = /* @__PURE__ */ h(gr())({
373
+ }), Tr = () => _, ni = /* @__PURE__ */ l(Tr())({
374
374
  name: "BGThreeLineOne",
375
375
  class: "b18ho1tk",
376
376
  propsAsIs: !0
377
- }), yr = () => P, st = /* @__PURE__ */ h(yr())({
377
+ }), jr = () => _, si = /* @__PURE__ */ l(jr())({
378
378
  name: "BGThreeLineTwo",
379
379
  class: "b14uvjfm",
380
380
  propsAsIs: !0
381
- }), wr = () => P, ot = /* @__PURE__ */ h(wr())({
381
+ }), hr = () => _, oi = /* @__PURE__ */ l(hr())({
382
382
  name: "BGThreeLineThree",
383
383
  class: "b11c3ns7",
384
384
  propsAsIs: !0
385
- }), Ir = () => P, at = /* @__PURE__ */ h(Ir())({
385
+ }), dr = () => _, Mi = /* @__PURE__ */ l(dr())({
386
386
  name: "BGThreeLineFour",
387
387
  class: "b1bqhhet",
388
388
  propsAsIs: !0
389
- }), Ar = () => P, xr = /* @__PURE__ */ h(Ar())({
389
+ }), pr = () => _, yr = /* @__PURE__ */ l(pr())({
390
390
  name: "BGFourLineOne",
391
391
  class: "b1xyzi7o",
392
392
  propsAsIs: !0
393
- }), vr = () => P, br = /* @__PURE__ */ h(vr())({
393
+ }), Ar = () => _, zr = /* @__PURE__ */ l(Ar())({
394
394
  name: "BGFourLineTwo",
395
395
  class: "byo0rup",
396
396
  propsAsIs: !0
397
- }), Er = () => P, Br = /* @__PURE__ */ h(Er())({
397
+ }), xr = () => _, Er = /* @__PURE__ */ l(xr())({
398
398
  name: "BGFourLineThree",
399
399
  class: "b1oyiqgv",
400
400
  propsAsIs: !0
401
- }), _r = () => P, Cr = /* @__PURE__ */ h(_r())({
401
+ }), fr = () => _, Or = /* @__PURE__ */ l(fr())({
402
402
  name: "BGFourLineFour",
403
403
  class: "bx3ddqw",
404
404
  propsAsIs: !0
405
- }), Tr = ({ step: s, correct: n }) => /* @__PURE__ */ I(ie, { children: [
406
- /* @__PURE__ */ I(oe, { "data-active": s === 1, "data-first-screen": "true", children: [
407
- /* @__PURE__ */ c(lr, {}),
408
- /* @__PURE__ */ c(ur, {}),
409
- /* @__PURE__ */ c(dr, {})
405
+ }), Lr = ({ step: s, correct: n }) => /* @__PURE__ */ d(te, { children: [
406
+ /* @__PURE__ */ d(oe, { "data-active": s === 1, "data-first-screen": "true", children: [
407
+ /* @__PURE__ */ u(cr, {}),
408
+ /* @__PURE__ */ u(ar, {}),
409
+ /* @__PURE__ */ u(Nr, {})
410
410
  ] }),
411
- /* @__PURE__ */ I(oe, { "data-active": s === 2, children: [
412
- /* @__PURE__ */ c(tt, {}),
413
- /* @__PURE__ */ c(it, {}),
414
- /* @__PURE__ */ c(rt, {})
411
+ /* @__PURE__ */ d(oe, { "data-active": s === 2, children: [
412
+ /* @__PURE__ */ u(ii, {}),
413
+ /* @__PURE__ */ u(ti, {}),
414
+ /* @__PURE__ */ u(ri, {})
415
415
  ] }),
416
- /* @__PURE__ */ I(oe, { "data-active": s === 3, children: [
417
- /* @__PURE__ */ c(tt, {}),
418
- /* @__PURE__ */ c(it, {}),
419
- /* @__PURE__ */ c(rt, {})
416
+ /* @__PURE__ */ d(oe, { "data-active": s === 3, children: [
417
+ /* @__PURE__ */ u(ii, {}),
418
+ /* @__PURE__ */ u(ti, {}),
419
+ /* @__PURE__ */ u(ri, {})
420
420
  ] }),
421
- n ? /* @__PURE__ */ I(ie, { children: [
422
- /* @__PURE__ */ I(oe, { "data-active": s === 4, "data-correct": "false", children: [
423
- /* @__PURE__ */ c(nt, {}),
424
- /* @__PURE__ */ c(st, {}),
425
- /* @__PURE__ */ c(ot, {}),
426
- /* @__PURE__ */ c(at, {})
421
+ n ? /* @__PURE__ */ d(te, { children: [
422
+ /* @__PURE__ */ d(oe, { "data-active": s === 4, "data-correct": "false", children: [
423
+ /* @__PURE__ */ u(ni, {}),
424
+ /* @__PURE__ */ u(si, {}),
425
+ /* @__PURE__ */ u(oi, {}),
426
+ /* @__PURE__ */ u(Mi, {})
427
427
  ] }),
428
- /* @__PURE__ */ I(oe, { "data-active": s === 5, "data-correct": "false", "data-last-screen": "true", children: [
429
- /* @__PURE__ */ c(nt, {}),
430
- /* @__PURE__ */ c(st, {}),
431
- /* @__PURE__ */ c(ot, {}),
432
- /* @__PURE__ */ c(at, {})
428
+ /* @__PURE__ */ d(oe, { "data-active": s === 5, "data-correct": "false", "data-last-screen": "true", children: [
429
+ /* @__PURE__ */ u(ni, {}),
430
+ /* @__PURE__ */ u(si, {}),
431
+ /* @__PURE__ */ u(oi, {}),
432
+ /* @__PURE__ */ u(Mi, {})
433
433
  ] })
434
- ] }) : /* @__PURE__ */ I(oe, { "data-active": s === 4, "data-correct": "false", "data-last-screen": "true", children: [
435
- /* @__PURE__ */ c(xr, {}),
436
- /* @__PURE__ */ c(br, {}),
437
- /* @__PURE__ */ c(Br, {}),
438
- /* @__PURE__ */ c(Cr, {})
434
+ ] }) : /* @__PURE__ */ d(oe, { "data-active": s === 4, "data-correct": "false", "data-last-screen": "true", children: [
435
+ /* @__PURE__ */ u(yr, {}),
436
+ /* @__PURE__ */ u(zr, {}),
437
+ /* @__PURE__ */ u(Er, {}),
438
+ /* @__PURE__ */ u(Or, {})
439
439
  ] })
440
- ] }), Fr = /* @__PURE__ */ h("div")({
440
+ ] }), wr = /* @__PURE__ */ l("div")({
441
441
  name: "Container",
442
442
  class: "c1pgyo67",
443
443
  propsAsIs: !1
444
- }), $r = "hx17qu6", De = ({
444
+ }), mr = "hx17qu6", Be = ({
445
445
  children: s,
446
446
  style: n,
447
- className: l,
448
- hiding: f
449
- }) => /* @__PURE__ */ c(Fr, {
447
+ className: c,
448
+ hiding: D
449
+ }) => /* @__PURE__ */ u(wr, {
450
450
  style: n,
451
- className: wt(l, f && $r),
451
+ className: hi(c, D && mr),
452
452
  children: s
453
- }), kr = 118, Sr = () => De, Lr = /* @__PURE__ */ h(Sr())({
453
+ }), kr = 118, Cr = () => Be, Sr = /* @__PURE__ */ l(Cr())({
454
454
  name: "Container",
455
455
  class: "c10131zw",
456
456
  propsAsIs: !0
457
- }), Rr = /* @__PURE__ */ h("div")({
457
+ }), Ur = /* @__PURE__ */ l("div")({
458
458
  name: "InnerContainer",
459
459
  class: "ir6k2eo",
460
460
  propsAsIs: !1
461
- }), ae = /* @__PURE__ */ h("div")({
461
+ }), Me = /* @__PURE__ */ l("div")({
462
462
  name: "Content",
463
463
  class: "c1hwoq9l",
464
464
  propsAsIs: !1
465
- }), le = /* @__PURE__ */ h("div")({
465
+ }), ce = /* @__PURE__ */ l("div")({
466
466
  name: "Title",
467
467
  class: "t4ujo4g",
468
468
  propsAsIs: !1
469
- }), ge = /* @__PURE__ */ h("div")({
469
+ }), Te = /* @__PURE__ */ l("div")({
470
470
  name: "Subtitle",
471
471
  class: "s1pjil1h",
472
472
  propsAsIs: !1
473
- }), Nr = () => ge, lt = /* @__PURE__ */ h(Nr())({
473
+ }), Yr = () => Te, ci = /* @__PURE__ */ l(Yr())({
474
474
  name: "SubtitleFG",
475
475
  class: "s1iorwr9",
476
476
  propsAsIs: !0
477
- }), Ie = /* @__PURE__ */ h("div")({
477
+ }), de = /* @__PURE__ */ l("div")({
478
478
  name: "AnswerText",
479
479
  class: "a51sv9d",
480
480
  propsAsIs: !1
481
- }), Ur = () => z, Te = /* @__PURE__ */ h(Ur())({
481
+ }), Qr = () => b, Le = /* @__PURE__ */ l(Qr())({
482
482
  name: "FeedbackIcon",
483
483
  class: "f1lbk2ye",
484
484
  propsAsIs: !0
485
- }), ct = /* @__PURE__ */ h("button")({
485
+ }), ui = /* @__PURE__ */ l("button")({
486
486
  name: "CloseButton",
487
487
  class: "crcvk3t",
488
488
  propsAsIs: !1
489
- }), zr = () => z, ut = /* @__PURE__ */ h(zr())({
489
+ }), br = () => b, ai = /* @__PURE__ */ l(br())({
490
490
  name: "CloseIcon",
491
491
  class: "c33p82r",
492
492
  propsAsIs: !0
493
- }), ce = (s, n) => s === n ? "translateY(0px)" : s > n ? "translateY(100%)" : "translateY(-100%)", Or = ({ close: s, votedAnswer: n, correct: l, correctAnswerTitle: f, questionTitle: g, saveHeight: m, style: d, hiding: o }) => {
494
- const [w, v] = W(1), x = ye({});
495
- X(() => {
496
- const y = setInterval(() => {
497
- v((A) => l && A > 4 || !l && A > 3 ? A : ++A);
493
+ }), ue = (s, n) => s === n ? "translateY(0px)" : s > n ? "translateY(100%)" : "translateY(-100%)", vr = ({ close: s, votedAnswer: n, correct: c, correctAnswerTitle: D, questionTitle: T, saveHeight: I, style: N, hiding: o }) => {
494
+ const [h, A] = W(1), y = je({});
495
+ J(() => {
496
+ const j = setInterval(() => {
497
+ A((p) => c && p > 4 || !c && p > 3 ? p : ++p);
498
498
  }, 6e3);
499
- return () => clearInterval(y);
500
- }, [l]), X(() => {
501
- var y, A;
502
- x.current[w] && m(((A = (y = x.current[w]) == null ? void 0 : y.getBoundingClientRect()) == null ? void 0 : A.height) || kr);
503
- }, [w, m]);
504
- const B = (y) => (A) => {
505
- x.current && (x.current[y] = A);
499
+ return () => clearInterval(j);
500
+ }, [c]), J(() => {
501
+ var j, p;
502
+ y.current[h] && I(((p = (j = y.current[h]) == null ? void 0 : j.getBoundingClientRect()) == null ? void 0 : p.height) || kr);
503
+ }, [h, I]);
504
+ const E = (j) => (p) => {
505
+ y.current && (y.current[j] = p);
506
506
  };
507
- return /* @__PURE__ */ c(Lr, { style: d.height ? d : { ...d, paddingTop: 0, paddingBottom: 0 }, hiding: o, children: /* @__PURE__ */ I(
508
- Rr,
507
+ return /* @__PURE__ */ u(Sr, { style: N.height ? N : { ...N, paddingTop: 0, paddingBottom: 0 }, hiding: o, children: /* @__PURE__ */ d(
508
+ Ur,
509
509
  {
510
510
  style: {
511
- height: d.height,
512
- minHeight: d.height,
513
- backgroundColor: w > 3 ? "var(--color-white)" : "var(--color-primary-green2)"
511
+ height: N.height,
512
+ minHeight: N.height,
513
+ backgroundColor: h > 3 ? "var(--color-white)" : "var(--color-primary-green2)"
514
514
  },
515
515
  children: [
516
- /* @__PURE__ */ c(Tr, { step: w, correct: l }),
517
- /* @__PURE__ */ I(ae, { ref: B(1), style: { transform: ce(1, w) }, children: [
518
- /* @__PURE__ */ c(le, { children: "Master" }),
519
- /* @__PURE__ */ c(lt, { children: "FEATURED GROUPS +" })
516
+ /* @__PURE__ */ u(Lr, { step: h, correct: c }),
517
+ /* @__PURE__ */ d(Me, { ref: E(1), style: { transform: ue(1, h) }, children: [
518
+ /* @__PURE__ */ u(ce, { children: "Master" }),
519
+ /* @__PURE__ */ u(ci, { children: "FEATURED GROUPS +" })
520
520
  ] }),
521
- /* @__PURE__ */ I(ae, { ref: B(2), style: { transform: ce(2, w) }, children: [
522
- /* @__PURE__ */ c(le, { children: "Prediction results are in!" }),
523
- /* @__PURE__ */ c(lt, { children: "FEATURED GROUPS +" })
521
+ /* @__PURE__ */ d(Me, { ref: E(2), style: { transform: ue(2, h) }, children: [
522
+ /* @__PURE__ */ u(ce, { children: "Prediction results are in!" }),
523
+ /* @__PURE__ */ u(ci, { children: "FEATURED GROUPS +" })
524
524
  ] }),
525
- /* @__PURE__ */ I(ae, { ref: B(3), style: { transform: ce(3, w) }, children: [
526
- /* @__PURE__ */ c(le, { children: g }),
527
- /* @__PURE__ */ c(ge, { children: /* @__PURE__ */ I(Ie, { children: [
525
+ /* @__PURE__ */ d(Me, { ref: E(3), style: { transform: ue(3, h) }, children: [
526
+ /* @__PURE__ */ u(ce, { children: T }),
527
+ /* @__PURE__ */ u(Te, { children: /* @__PURE__ */ d(de, { children: [
528
528
  "Your Pick: ",
529
529
  n == null ? void 0 : n.title
530
530
  ] }) })
531
531
  ] }),
532
- l ? /* @__PURE__ */ I(ie, { children: [
533
- /* @__PURE__ */ I(
534
- ae,
532
+ c ? /* @__PURE__ */ d(te, { children: [
533
+ /* @__PURE__ */ d(
534
+ Me,
535
535
  {
536
- ref: B(4),
537
- style: { transform: ce(4, w), color: "var(--color-primary-green1)" },
536
+ ref: E(4),
537
+ style: { transform: ue(4, h), color: "var(--color-primary-green1)" },
538
538
  children: [
539
- /* @__PURE__ */ c(le, { children: "Congratulations! You answered correctly." }),
540
- /* @__PURE__ */ I(ge, { children: [
541
- /* @__PURE__ */ c(Te, { name: "selected" }),
542
- /* @__PURE__ */ I(Ie, { children: [
539
+ /* @__PURE__ */ u(ce, { children: "Congratulations! You answered correctly." }),
540
+ /* @__PURE__ */ d(Te, { children: [
541
+ /* @__PURE__ */ u(Le, { name: "selected" }),
542
+ /* @__PURE__ */ d(de, { children: [
543
543
  "Your Pick: ",
544
544
  n == null ? void 0 : n.title
545
545
  ] })
@@ -547,119 +547,119 @@ const ei = ({ feature: s, sdk: n, children: l, className: f }) => {
547
547
  ]
548
548
  }
549
549
  ),
550
- /* @__PURE__ */ I(
551
- ae,
550
+ /* @__PURE__ */ d(
551
+ Me,
552
552
  {
553
- ref: B(5),
554
- style: { transform: ce(5, w), color: "var(--color-primary-green1)" },
553
+ ref: E(5),
554
+ style: { transform: ue(5, h), color: "var(--color-primary-green1)" },
555
555
  children: [
556
- /* @__PURE__ */ I(le, { children: [
556
+ /* @__PURE__ */ d(ce, { children: [
557
557
  "+",
558
558
  n == null ? void 0 : n.points,
559
559
  " points"
560
560
  ] }),
561
- /* @__PURE__ */ I(ge, { children: [
562
- /* @__PURE__ */ c(Te, { name: "selected" }),
563
- /* @__PURE__ */ I(Ie, { children: [
561
+ /* @__PURE__ */ d(Te, { children: [
562
+ /* @__PURE__ */ u(Le, { name: "selected" }),
563
+ /* @__PURE__ */ d(de, { children: [
564
564
  "Your Pick: ",
565
565
  n == null ? void 0 : n.title
566
566
  ] })
567
567
  ] }),
568
- /* @__PURE__ */ c(ct, { onClick: s, children: /* @__PURE__ */ c(ut, { name: "icon-cross" }) })
568
+ /* @__PURE__ */ u(ui, { onClick: s, children: /* @__PURE__ */ u(ai, { name: "icon-cross" }) })
569
569
  ]
570
570
  }
571
571
  )
572
- ] }) : /* @__PURE__ */ I(ae, { ref: B(4), style: { transform: ce(4, w) }, children: [
573
- /* @__PURE__ */ I(le, { style: { color: "var(--color-neutrals-gray9)" }, children: [
572
+ ] }) : /* @__PURE__ */ d(Me, { ref: E(4), style: { transform: ue(4, h) }, children: [
573
+ /* @__PURE__ */ d(ce, { style: { color: "var(--color-neutrals-gray9)" }, children: [
574
574
  "Better luck next time! Correct: ",
575
- f,
575
+ D,
576
576
  "."
577
577
  ] }),
578
- /* @__PURE__ */ I(ge, { style: { color: "var(--color-secondary-red1)" }, children: [
579
- /* @__PURE__ */ c(Te, { name: "circleClose" }),
580
- /* @__PURE__ */ I(Ie, { children: [
578
+ /* @__PURE__ */ d(Te, { style: { color: "var(--color-secondary-red1)" }, children: [
579
+ /* @__PURE__ */ u(Le, { name: "circleClose" }),
580
+ /* @__PURE__ */ d(de, { children: [
581
581
  "Your Pick: ",
582
582
  n == null ? void 0 : n.title
583
583
  ] })
584
584
  ] }),
585
- /* @__PURE__ */ c(ct, { onClick: s, children: /* @__PURE__ */ c(ut, { name: "icon-cross" }) })
585
+ /* @__PURE__ */ u(ui, { onClick: s, children: /* @__PURE__ */ u(ai, { name: "icon-cross" }) })
586
586
  ] })
587
587
  ]
588
588
  }
589
589
  ) });
590
590
  };
591
- var It = {}, At = {}, Ee = {};
592
- Ee.byteLength = Mr;
593
- Ee.toByteArray = Gr;
594
- Ee.fromByteArray = Hr;
595
- var V = [], q = [], Dr = typeof Uint8Array < "u" ? Uint8Array : Array, Fe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
596
- for (var ue = 0, Pr = Fe.length; ue < Pr; ++ue)
597
- V[ue] = Fe[ue], q[Fe.charCodeAt(ue)] = ue;
598
- q["-".charCodeAt(0)] = 62;
599
- q["_".charCodeAt(0)] = 63;
600
- function xt(s) {
591
+ var di = {}, pi = {}, xe = {};
592
+ xe.byteLength = Fr;
593
+ xe.toByteArray = Rr;
594
+ xe.fromByteArray = Pr;
595
+ var V = [], $ = [], Br = typeof Uint8Array < "u" ? Uint8Array : Array, we = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
596
+ for (var ae = 0, _r = we.length; ae < _r; ++ae)
597
+ V[ae] = we[ae], $[we.charCodeAt(ae)] = ae;
598
+ $["-".charCodeAt(0)] = 62;
599
+ $["_".charCodeAt(0)] = 63;
600
+ function yi(s) {
601
601
  var n = s.length;
602
602
  if (n % 4 > 0)
603
603
  throw new Error("Invalid string. Length must be a multiple of 4");
604
- var l = s.indexOf("=");
605
- l === -1 && (l = n);
606
- var f = l === n ? 0 : 4 - l % 4;
607
- return [l, f];
604
+ var c = s.indexOf("=");
605
+ c === -1 && (c = n);
606
+ var D = c === n ? 0 : 4 - c % 4;
607
+ return [c, D];
608
608
  }
609
- function Mr(s) {
610
- var n = xt(s), l = n[0], f = n[1];
611
- return (l + f) * 3 / 4 - f;
609
+ function Fr(s) {
610
+ var n = yi(s), c = n[0], D = n[1];
611
+ return (c + D) * 3 / 4 - D;
612
612
  }
613
- function qr(s, n, l) {
614
- return (n + l) * 3 / 4 - l;
613
+ function $r(s, n, c) {
614
+ return (n + c) * 3 / 4 - c;
615
615
  }
616
- function Gr(s) {
617
- var n, l = xt(s), f = l[0], g = l[1], m = new Dr(qr(s, f, g)), d = 0, o = g > 0 ? f - 4 : f, w;
618
- for (w = 0; w < o; w += 4)
619
- n = q[s.charCodeAt(w)] << 18 | q[s.charCodeAt(w + 1)] << 12 | q[s.charCodeAt(w + 2)] << 6 | q[s.charCodeAt(w + 3)], m[d++] = n >> 16 & 255, m[d++] = n >> 8 & 255, m[d++] = n & 255;
620
- return g === 2 && (n = q[s.charCodeAt(w)] << 2 | q[s.charCodeAt(w + 1)] >> 4, m[d++] = n & 255), g === 1 && (n = q[s.charCodeAt(w)] << 10 | q[s.charCodeAt(w + 1)] << 4 | q[s.charCodeAt(w + 2)] >> 2, m[d++] = n >> 8 & 255, m[d++] = n & 255), m;
616
+ function Rr(s) {
617
+ var n, c = yi(s), D = c[0], T = c[1], I = new Br($r(s, D, T)), N = 0, o = T > 0 ? D - 4 : D, h;
618
+ for (h = 0; h < o; h += 4)
619
+ n = $[s.charCodeAt(h)] << 18 | $[s.charCodeAt(h + 1)] << 12 | $[s.charCodeAt(h + 2)] << 6 | $[s.charCodeAt(h + 3)], I[N++] = n >> 16 & 255, I[N++] = n >> 8 & 255, I[N++] = n & 255;
620
+ return T === 2 && (n = $[s.charCodeAt(h)] << 2 | $[s.charCodeAt(h + 1)] >> 4, I[N++] = n & 255), T === 1 && (n = $[s.charCodeAt(h)] << 10 | $[s.charCodeAt(h + 1)] << 4 | $[s.charCodeAt(h + 2)] >> 2, I[N++] = n >> 8 & 255, I[N++] = n & 255), I;
621
621
  }
622
622
  function Wr(s) {
623
623
  return V[s >> 18 & 63] + V[s >> 12 & 63] + V[s >> 6 & 63] + V[s & 63];
624
624
  }
625
- function jr(s, n, l) {
626
- for (var f, g = [], m = n; m < l; m += 3)
627
- f = (s[m] << 16 & 16711680) + (s[m + 1] << 8 & 65280) + (s[m + 2] & 255), g.push(Wr(f));
628
- return g.join("");
625
+ function Gr(s, n, c) {
626
+ for (var D, T = [], I = n; I < c; I += 3)
627
+ D = (s[I] << 16 & 16711680) + (s[I + 1] << 8 & 65280) + (s[I + 2] & 255), T.push(Wr(D));
628
+ return T.join("");
629
629
  }
630
- function Hr(s) {
631
- for (var n, l = s.length, f = l % 3, g = [], m = 16383, d = 0, o = l - f; d < o; d += m)
632
- g.push(jr(s, d, d + m > o ? o : d + m));
633
- return f === 1 ? (n = s[l - 1], g.push(
630
+ function Pr(s) {
631
+ for (var n, c = s.length, D = c % 3, T = [], I = 16383, N = 0, o = c - D; N < o; N += I)
632
+ T.push(Gr(s, N, N + I > o ? o : N + I));
633
+ return D === 1 ? (n = s[c - 1], T.push(
634
634
  V[n >> 2] + V[n << 4 & 63] + "=="
635
- )) : f === 2 && (n = (s[l - 2] << 8) + s[l - 1], g.push(
635
+ )) : D === 2 && (n = (s[c - 2] << 8) + s[c - 1], T.push(
636
636
  V[n >> 10] + V[n >> 4 & 63] + V[n << 2 & 63] + "="
637
- )), g.join("");
637
+ )), T.join("");
638
638
  }
639
- var Pe = {};
639
+ var _e = {};
640
640
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
641
- Pe.read = function(s, n, l, f, g) {
642
- var m, d, o = g * 8 - f - 1, w = (1 << o) - 1, v = w >> 1, x = -7, B = l ? g - 1 : 0, y = l ? -1 : 1, A = s[n + B];
643
- for (B += y, m = A & (1 << -x) - 1, A >>= -x, x += o; x > 0; m = m * 256 + s[n + B], B += y, x -= 8)
641
+ _e.read = function(s, n, c, D, T) {
642
+ var I, N, o = T * 8 - D - 1, h = (1 << o) - 1, A = h >> 1, y = -7, E = c ? T - 1 : 0, j = c ? -1 : 1, p = s[n + E];
643
+ for (E += j, I = p & (1 << -y) - 1, p >>= -y, y += o; y > 0; I = I * 256 + s[n + E], E += j, y -= 8)
644
644
  ;
645
- for (d = m & (1 << -x) - 1, m >>= -x, x += f; x > 0; d = d * 256 + s[n + B], B += y, x -= 8)
645
+ for (N = I & (1 << -y) - 1, I >>= -y, y += D; y > 0; N = N * 256 + s[n + E], E += j, y -= 8)
646
646
  ;
647
- if (m === 0)
648
- m = 1 - v;
647
+ if (I === 0)
648
+ I = 1 - A;
649
649
  else {
650
- if (m === w)
651
- return d ? NaN : (A ? -1 : 1) * (1 / 0);
652
- d = d + Math.pow(2, f), m = m - v;
650
+ if (I === h)
651
+ return N ? NaN : (p ? -1 : 1) * (1 / 0);
652
+ N = N + Math.pow(2, D), I = I - A;
653
653
  }
654
- return (A ? -1 : 1) * d * Math.pow(2, m - f);
654
+ return (p ? -1 : 1) * N * Math.pow(2, I - D);
655
655
  };
656
- Pe.write = function(s, n, l, f, g, m) {
657
- var d, o, w, v = m * 8 - g - 1, x = (1 << v) - 1, B = x >> 1, y = g === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, A = f ? 0 : m - 1, b = f ? 1 : -1, _ = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
658
- for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (o = isNaN(n) ? 1 : 0, d = x) : (d = Math.floor(Math.log(n) / Math.LN2), n * (w = Math.pow(2, -d)) < 1 && (d--, w *= 2), d + B >= 1 ? n += y / w : n += y * Math.pow(2, 1 - B), n * w >= 2 && (d++, w /= 2), d + B >= x ? (o = 0, d = x) : d + B >= 1 ? (o = (n * w - 1) * Math.pow(2, g), d = d + B) : (o = n * Math.pow(2, B - 1) * Math.pow(2, g), d = 0)); g >= 8; s[l + A] = o & 255, A += b, o /= 256, g -= 8)
656
+ _e.write = function(s, n, c, D, T, I) {
657
+ var N, o, h, A = I * 8 - T - 1, y = (1 << A) - 1, E = y >> 1, j = T === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = D ? 0 : I - 1, z = D ? 1 : -1, f = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
658
+ for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (o = isNaN(n) ? 1 : 0, N = y) : (N = Math.floor(Math.log(n) / Math.LN2), n * (h = Math.pow(2, -N)) < 1 && (N--, h *= 2), N + E >= 1 ? n += j / h : n += j * Math.pow(2, 1 - E), n * h >= 2 && (N++, h /= 2), N + E >= y ? (o = 0, N = y) : N + E >= 1 ? (o = (n * h - 1) * Math.pow(2, T), N = N + E) : (o = n * Math.pow(2, E - 1) * Math.pow(2, T), N = 0)); T >= 8; s[c + p] = o & 255, p += z, o /= 256, T -= 8)
659
659
  ;
660
- for (d = d << g | o, v += g; v > 0; s[l + A] = d & 255, A += b, d /= 256, v -= 8)
660
+ for (N = N << T | o, A += T; A > 0; s[c + p] = N & 255, p += z, N /= 256, A -= 8)
661
661
  ;
662
- s[l + A - b] |= _ * 128;
662
+ s[c + p - z] |= f * 128;
663
663
  };
664
664
  /*!
665
665
  * The buffer module from node.js, for the browser.
@@ -668,18 +668,18 @@ Pe.write = function(s, n, l, f, g, m) {
668
668
  * @license MIT
669
669
  */
670
670
  (function(s) {
671
- const n = Ee, l = Pe, f = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
672
- s.Buffer = o, s.SlowBuffer = F, s.INSPECT_MAX_BYTES = 50;
673
- const g = 2147483647;
674
- s.kMaxLength = g, o.TYPED_ARRAY_SUPPORT = m(), !o.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
671
+ const n = xe, c = _e, D = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
672
+ s.Buffer = o, s.SlowBuffer = w, s.INSPECT_MAX_BYTES = 50;
673
+ const T = 2147483647;
674
+ s.kMaxLength = T, o.TYPED_ARRAY_SUPPORT = I(), !o.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
675
675
  "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
676
676
  );
677
- function m() {
677
+ function I() {
678
678
  try {
679
- const i = new Uint8Array(1), e = { foo: function() {
679
+ const t = new Uint8Array(1), e = { foo: function() {
680
680
  return 42;
681
681
  } };
682
- return Object.setPrototypeOf(e, Uint8Array.prototype), Object.setPrototypeOf(i, e), i.foo() === 42;
682
+ return Object.setPrototypeOf(e, Uint8Array.prototype), Object.setPrototypeOf(t, e), t.foo() === 42;
683
683
  } catch {
684
684
  return !1;
685
685
  }
@@ -697,136 +697,136 @@ Pe.write = function(s, n, l, f, g, m) {
697
697
  return this.byteOffset;
698
698
  }
699
699
  });
700
- function d(i) {
701
- if (i > g)
702
- throw new RangeError('The value "' + i + '" is invalid for option "size"');
703
- const e = new Uint8Array(i);
700
+ function N(t) {
701
+ if (t > T)
702
+ throw new RangeError('The value "' + t + '" is invalid for option "size"');
703
+ const e = new Uint8Array(t);
704
704
  return Object.setPrototypeOf(e, o.prototype), e;
705
705
  }
706
- function o(i, e, t) {
707
- if (typeof i == "number") {
706
+ function o(t, e, i) {
707
+ if (typeof t == "number") {
708
708
  if (typeof e == "string")
709
709
  throw new TypeError(
710
710
  'The "string" argument must be of type string. Received type number'
711
711
  );
712
- return B(i);
712
+ return E(t);
713
713
  }
714
- return w(i, e, t);
714
+ return h(t, e, i);
715
715
  }
716
716
  o.poolSize = 8192;
717
- function w(i, e, t) {
718
- if (typeof i == "string")
719
- return y(i, e);
720
- if (ArrayBuffer.isView(i))
721
- return b(i);
722
- if (i == null)
717
+ function h(t, e, i) {
718
+ if (typeof t == "string")
719
+ return j(t, e);
720
+ if (ArrayBuffer.isView(t))
721
+ return z(t);
722
+ if (t == null)
723
723
  throw new TypeError(
724
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
724
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t
725
725
  );
726
- if (j(i, ArrayBuffer) || i && j(i.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (j(i, SharedArrayBuffer) || i && j(i.buffer, SharedArrayBuffer)))
727
- return _(i, e, t);
728
- if (typeof i == "number")
726
+ if (G(t, ArrayBuffer) || t && G(t.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (G(t, SharedArrayBuffer) || t && G(t.buffer, SharedArrayBuffer)))
727
+ return f(t, e, i);
728
+ if (typeof t == "number")
729
729
  throw new TypeError(
730
730
  'The "value" argument must not be of type number. Received type number'
731
731
  );
732
- const r = i.valueOf && i.valueOf();
733
- if (r != null && r !== i)
734
- return o.from(r, e, t);
735
- const a = R(i);
736
- if (a)
737
- return a;
738
- if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
739
- return o.from(i[Symbol.toPrimitive]("string"), e, t);
732
+ const r = t.valueOf && t.valueOf();
733
+ if (r != null && r !== t)
734
+ return o.from(r, e, i);
735
+ const M = U(t);
736
+ if (M)
737
+ return M;
738
+ if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof t[Symbol.toPrimitive] == "function")
739
+ return o.from(t[Symbol.toPrimitive]("string"), e, i);
740
740
  throw new TypeError(
741
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
741
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t
742
742
  );
743
743
  }
744
- o.from = function(i, e, t) {
745
- return w(i, e, t);
744
+ o.from = function(t, e, i) {
745
+ return h(t, e, i);
746
746
  }, Object.setPrototypeOf(o.prototype, Uint8Array.prototype), Object.setPrototypeOf(o, Uint8Array);
747
- function v(i) {
748
- if (typeof i != "number")
747
+ function A(t) {
748
+ if (typeof t != "number")
749
749
  throw new TypeError('"size" argument must be of type number');
750
- if (i < 0)
751
- throw new RangeError('The value "' + i + '" is invalid for option "size"');
750
+ if (t < 0)
751
+ throw new RangeError('The value "' + t + '" is invalid for option "size"');
752
752
  }
753
- function x(i, e, t) {
754
- return v(i), i <= 0 ? d(i) : e !== void 0 ? typeof t == "string" ? d(i).fill(e, t) : d(i).fill(e) : d(i);
753
+ function y(t, e, i) {
754
+ return A(t), t <= 0 ? N(t) : e !== void 0 ? typeof i == "string" ? N(t).fill(e, i) : N(t).fill(e) : N(t);
755
755
  }
756
- o.alloc = function(i, e, t) {
757
- return x(i, e, t);
756
+ o.alloc = function(t, e, i) {
757
+ return y(t, e, i);
758
758
  };
759
- function B(i) {
760
- return v(i), d(i < 0 ? 0 : C(i) | 0);
759
+ function E(t) {
760
+ return A(t), N(t < 0 ? 0 : O(t) | 0);
761
761
  }
762
- o.allocUnsafe = function(i) {
763
- return B(i);
764
- }, o.allocUnsafeSlow = function(i) {
765
- return B(i);
762
+ o.allocUnsafe = function(t) {
763
+ return E(t);
764
+ }, o.allocUnsafeSlow = function(t) {
765
+ return E(t);
766
766
  };
767
- function y(i, e) {
767
+ function j(t, e) {
768
768
  if ((typeof e != "string" || e === "") && (e = "utf8"), !o.isEncoding(e))
769
769
  throw new TypeError("Unknown encoding: " + e);
770
- const t = U(i, e) | 0;
771
- let r = d(t);
772
- const a = r.write(i, e);
773
- return a !== t && (r = r.slice(0, a)), r;
770
+ const i = Q(t, e) | 0;
771
+ let r = N(i);
772
+ const M = r.write(t, e);
773
+ return M !== i && (r = r.slice(0, M)), r;
774
774
  }
775
- function A(i) {
776
- const e = i.length < 0 ? 0 : C(i.length) | 0, t = d(e);
775
+ function p(t) {
776
+ const e = t.length < 0 ? 0 : O(t.length) | 0, i = N(e);
777
777
  for (let r = 0; r < e; r += 1)
778
- t[r] = i[r] & 255;
779
- return t;
778
+ i[r] = t[r] & 255;
779
+ return i;
780
780
  }
781
- function b(i) {
782
- if (j(i, Uint8Array)) {
783
- const e = new Uint8Array(i);
784
- return _(e.buffer, e.byteOffset, e.byteLength);
781
+ function z(t) {
782
+ if (G(t, Uint8Array)) {
783
+ const e = new Uint8Array(t);
784
+ return f(e.buffer, e.byteOffset, e.byteLength);
785
785
  }
786
- return A(i);
786
+ return p(t);
787
787
  }
788
- function _(i, e, t) {
789
- if (e < 0 || i.byteLength < e)
788
+ function f(t, e, i) {
789
+ if (e < 0 || t.byteLength < e)
790
790
  throw new RangeError('"offset" is outside of buffer bounds');
791
- if (i.byteLength < e + (t || 0))
791
+ if (t.byteLength < e + (i || 0))
792
792
  throw new RangeError('"length" is outside of buffer bounds');
793
793
  let r;
794
- return e === void 0 && t === void 0 ? r = new Uint8Array(i) : t === void 0 ? r = new Uint8Array(i, e) : r = new Uint8Array(i, e, t), Object.setPrototypeOf(r, o.prototype), r;
794
+ return e === void 0 && i === void 0 ? r = new Uint8Array(t) : i === void 0 ? r = new Uint8Array(t, e) : r = new Uint8Array(t, e, i), Object.setPrototypeOf(r, o.prototype), r;
795
795
  }
796
- function R(i) {
797
- if (o.isBuffer(i)) {
798
- const e = C(i.length) | 0, t = d(e);
799
- return t.length === 0 || i.copy(t, 0, 0, e), t;
796
+ function U(t) {
797
+ if (o.isBuffer(t)) {
798
+ const e = O(t.length) | 0, i = N(e);
799
+ return i.length === 0 || t.copy(i, 0, 0, e), i;
800
800
  }
801
- if (i.length !== void 0)
802
- return typeof i.length != "number" || Ce(i.length) ? d(0) : A(i);
803
- if (i.type === "Buffer" && Array.isArray(i.data))
804
- return A(i.data);
801
+ if (t.length !== void 0)
802
+ return typeof t.length != "number" || Oe(t.length) ? N(0) : p(t);
803
+ if (t.type === "Buffer" && Array.isArray(t.data))
804
+ return p(t.data);
805
805
  }
806
- function C(i) {
807
- if (i >= g)
808
- throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + g.toString(16) + " bytes");
809
- return i | 0;
806
+ function O(t) {
807
+ if (t >= T)
808
+ throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + T.toString(16) + " bytes");
809
+ return t | 0;
810
810
  }
811
- function F(i) {
812
- return +i != i && (i = 0), o.alloc(+i);
811
+ function w(t) {
812
+ return +t != t && (t = 0), o.alloc(+t);
813
813
  }
814
814
  o.isBuffer = function(e) {
815
815
  return e != null && e._isBuffer === !0 && e !== o.prototype;
816
- }, o.compare = function(e, t) {
817
- if (j(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), j(t, Uint8Array) && (t = o.from(t, t.offset, t.byteLength)), !o.isBuffer(e) || !o.isBuffer(t))
816
+ }, o.compare = function(e, i) {
817
+ if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), G(i, Uint8Array) && (i = o.from(i, i.offset, i.byteLength)), !o.isBuffer(e) || !o.isBuffer(i))
818
818
  throw new TypeError(
819
819
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
820
820
  );
821
- if (e === t)
821
+ if (e === i)
822
822
  return 0;
823
- let r = e.length, a = t.length;
824
- for (let u = 0, p = Math.min(r, a); u < p; ++u)
825
- if (e[u] !== t[u]) {
826
- r = e[u], a = t[u];
823
+ let r = e.length, M = i.length;
824
+ for (let a = 0, g = Math.min(r, M); a < g; ++a)
825
+ if (e[a] !== i[a]) {
826
+ r = e[a], M = i[a];
827
827
  break;
828
828
  }
829
- return r < a ? -1 : a < r ? 1 : 0;
829
+ return r < M ? -1 : M < r ? 1 : 0;
830
830
  }, o.isEncoding = function(e) {
831
831
  switch (String(e).toLowerCase()) {
832
832
  case "hex":
@@ -844,283 +844,283 @@ Pe.write = function(s, n, l, f, g, m) {
844
844
  default:
845
845
  return !1;
846
846
  }
847
- }, o.concat = function(e, t) {
847
+ }, o.concat = function(e, i) {
848
848
  if (!Array.isArray(e))
849
849
  throw new TypeError('"list" argument must be an Array of Buffers');
850
850
  if (e.length === 0)
851
851
  return o.alloc(0);
852
852
  let r;
853
- if (t === void 0)
854
- for (t = 0, r = 0; r < e.length; ++r)
855
- t += e[r].length;
856
- const a = o.allocUnsafe(t);
857
- let u = 0;
853
+ if (i === void 0)
854
+ for (i = 0, r = 0; r < e.length; ++r)
855
+ i += e[r].length;
856
+ const M = o.allocUnsafe(i);
857
+ let a = 0;
858
858
  for (r = 0; r < e.length; ++r) {
859
- let p = e[r];
860
- if (j(p, Uint8Array))
861
- u + p.length > a.length ? (o.isBuffer(p) || (p = o.from(p)), p.copy(a, u)) : Uint8Array.prototype.set.call(
862
- a,
863
- p,
864
- u
859
+ let g = e[r];
860
+ if (G(g, Uint8Array))
861
+ a + g.length > M.length ? (o.isBuffer(g) || (g = o.from(g)), g.copy(M, a)) : Uint8Array.prototype.set.call(
862
+ M,
863
+ g,
864
+ a
865
865
  );
866
- else if (o.isBuffer(p))
867
- p.copy(a, u);
866
+ else if (o.isBuffer(g))
867
+ g.copy(M, a);
868
868
  else
869
869
  throw new TypeError('"list" argument must be an Array of Buffers');
870
- u += p.length;
870
+ a += g.length;
871
871
  }
872
- return a;
872
+ return M;
873
873
  };
874
- function U(i, e) {
875
- if (o.isBuffer(i))
876
- return i.length;
877
- if (ArrayBuffer.isView(i) || j(i, ArrayBuffer))
878
- return i.byteLength;
879
- if (typeof i != "string")
874
+ function Q(t, e) {
875
+ if (o.isBuffer(t))
876
+ return t.length;
877
+ if (ArrayBuffer.isView(t) || G(t, ArrayBuffer))
878
+ return t.byteLength;
879
+ if (typeof t != "string")
880
880
  throw new TypeError(
881
- 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof i
881
+ 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof t
882
882
  );
883
- const t = i.length, r = arguments.length > 2 && arguments[2] === !0;
884
- if (!r && t === 0)
883
+ const i = t.length, r = arguments.length > 2 && arguments[2] === !0;
884
+ if (!r && i === 0)
885
885
  return 0;
886
- let a = !1;
886
+ let M = !1;
887
887
  for (; ; )
888
888
  switch (e) {
889
889
  case "ascii":
890
890
  case "latin1":
891
891
  case "binary":
892
- return t;
892
+ return i;
893
893
  case "utf8":
894
894
  case "utf-8":
895
- return _e(i).length;
895
+ return fe(t).length;
896
896
  case "ucs2":
897
897
  case "ucs-2":
898
898
  case "utf16le":
899
899
  case "utf-16le":
900
- return t * 2;
900
+ return i * 2;
901
901
  case "hex":
902
- return t >>> 1;
902
+ return i >>> 1;
903
903
  case "base64":
904
- return Je(i).length;
904
+ return Xe(t).length;
905
905
  default:
906
- if (a)
907
- return r ? -1 : _e(i).length;
908
- e = ("" + e).toLowerCase(), a = !0;
906
+ if (M)
907
+ return r ? -1 : fe(t).length;
908
+ e = ("" + e).toLowerCase(), M = !0;
909
909
  }
910
910
  }
911
- o.byteLength = U;
912
- function K(i, e, t) {
911
+ o.byteLength = Q;
912
+ function q(t, e, i) {
913
913
  let r = !1;
914
- if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
914
+ if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((i === void 0 || i > this.length) && (i = this.length), i <= 0) || (i >>>= 0, e >>>= 0, i <= e))
915
915
  return "";
916
- for (i || (i = "utf8"); ; )
917
- switch (i) {
916
+ for (t || (t = "utf8"); ; )
917
+ switch (t) {
918
918
  case "hex":
919
- return Nt(this, e, t);
919
+ return Yi(this, e, i);
920
920
  case "utf8":
921
921
  case "utf-8":
922
- return Ge(this, e, t);
922
+ return Re(this, e, i);
923
923
  case "ascii":
924
- return Lt(this, e, t);
924
+ return Si(this, e, i);
925
925
  case "latin1":
926
926
  case "binary":
927
- return Rt(this, e, t);
927
+ return Ui(this, e, i);
928
928
  case "base64":
929
- return kt(this, e, t);
929
+ return ki(this, e, i);
930
930
  case "ucs2":
931
931
  case "ucs-2":
932
932
  case "utf16le":
933
933
  case "utf-16le":
934
- return Ut(this, e, t);
934
+ return Qi(this, e, i);
935
935
  default:
936
936
  if (r)
937
- throw new TypeError("Unknown encoding: " + i);
938
- i = (i + "").toLowerCase(), r = !0;
937
+ throw new TypeError("Unknown encoding: " + t);
938
+ t = (t + "").toLowerCase(), r = !0;
939
939
  }
940
940
  }
941
941
  o.prototype._isBuffer = !0;
942
- function M(i, e, t) {
943
- const r = i[e];
944
- i[e] = i[t], i[t] = r;
942
+ function F(t, e, i) {
943
+ const r = t[e];
944
+ t[e] = t[i], t[i] = r;
945
945
  }
946
946
  o.prototype.swap16 = function() {
947
947
  const e = this.length;
948
948
  if (e % 2 !== 0)
949
949
  throw new RangeError("Buffer size must be a multiple of 16-bits");
950
- for (let t = 0; t < e; t += 2)
951
- M(this, t, t + 1);
950
+ for (let i = 0; i < e; i += 2)
951
+ F(this, i, i + 1);
952
952
  return this;
953
953
  }, o.prototype.swap32 = function() {
954
954
  const e = this.length;
955
955
  if (e % 4 !== 0)
956
956
  throw new RangeError("Buffer size must be a multiple of 32-bits");
957
- for (let t = 0; t < e; t += 4)
958
- M(this, t, t + 3), M(this, t + 1, t + 2);
957
+ for (let i = 0; i < e; i += 4)
958
+ F(this, i, i + 3), F(this, i + 1, i + 2);
959
959
  return this;
960
960
  }, o.prototype.swap64 = function() {
961
961
  const e = this.length;
962
962
  if (e % 8 !== 0)
963
963
  throw new RangeError("Buffer size must be a multiple of 64-bits");
964
- for (let t = 0; t < e; t += 8)
965
- M(this, t, t + 7), M(this, t + 1, t + 6), M(this, t + 2, t + 5), M(this, t + 3, t + 4);
964
+ for (let i = 0; i < e; i += 8)
965
+ F(this, i, i + 7), F(this, i + 1, i + 6), F(this, i + 2, i + 5), F(this, i + 3, i + 4);
966
966
  return this;
967
967
  }, o.prototype.toString = function() {
968
968
  const e = this.length;
969
- return e === 0 ? "" : arguments.length === 0 ? Ge(this, 0, e) : K.apply(this, arguments);
969
+ return e === 0 ? "" : arguments.length === 0 ? Re(this, 0, e) : q.apply(this, arguments);
970
970
  }, o.prototype.toLocaleString = o.prototype.toString, o.prototype.equals = function(e) {
971
971
  if (!o.isBuffer(e))
972
972
  throw new TypeError("Argument must be a Buffer");
973
973
  return this === e ? !0 : o.compare(this, e) === 0;
974
974
  }, o.prototype.inspect = function() {
975
975
  let e = "";
976
- const t = s.INSPECT_MAX_BYTES;
977
- return e = this.toString("hex", 0, t).replace(/(.{2})/g, "$1 ").trim(), this.length > t && (e += " ... "), "<Buffer " + e + ">";
978
- }, f && (o.prototype[f] = o.prototype.inspect), o.prototype.compare = function(e, t, r, a, u) {
979
- if (j(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), !o.isBuffer(e))
976
+ const i = s.INSPECT_MAX_BYTES;
977
+ return e = this.toString("hex", 0, i).replace(/(.{2})/g, "$1 ").trim(), this.length > i && (e += " ... "), "<Buffer " + e + ">";
978
+ }, D && (o.prototype[D] = o.prototype.inspect), o.prototype.compare = function(e, i, r, M, a) {
979
+ if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), !o.isBuffer(e))
980
980
  throw new TypeError(
981
981
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e
982
982
  );
983
- if (t === void 0 && (t = 0), r === void 0 && (r = e ? e.length : 0), a === void 0 && (a = 0), u === void 0 && (u = this.length), t < 0 || r > e.length || a < 0 || u > this.length)
983
+ if (i === void 0 && (i = 0), r === void 0 && (r = e ? e.length : 0), M === void 0 && (M = 0), a === void 0 && (a = this.length), i < 0 || r > e.length || M < 0 || a > this.length)
984
984
  throw new RangeError("out of range index");
985
- if (a >= u && t >= r)
985
+ if (M >= a && i >= r)
986
986
  return 0;
987
- if (a >= u)
987
+ if (M >= a)
988
988
  return -1;
989
- if (t >= r)
989
+ if (i >= r)
990
990
  return 1;
991
- if (t >>>= 0, r >>>= 0, a >>>= 0, u >>>= 0, this === e)
991
+ if (i >>>= 0, r >>>= 0, M >>>= 0, a >>>= 0, this === e)
992
992
  return 0;
993
- let p = u - a, E = r - t;
994
- const k = Math.min(p, E), $ = this.slice(a, u), S = e.slice(t, r);
995
- for (let T = 0; T < k; ++T)
996
- if ($[T] !== S[T]) {
997
- p = $[T], E = S[T];
993
+ let g = a - M, x = r - i;
994
+ const k = Math.min(g, x), m = this.slice(M, a), C = e.slice(i, r);
995
+ for (let L = 0; L < k; ++L)
996
+ if (m[L] !== C[L]) {
997
+ g = m[L], x = C[L];
998
998
  break;
999
999
  }
1000
- return p < E ? -1 : E < p ? 1 : 0;
1000
+ return g < x ? -1 : x < g ? 1 : 0;
1001
1001
  };
1002
- function Me(i, e, t, r, a) {
1003
- if (i.length === 0)
1002
+ function Fe(t, e, i, r, M) {
1003
+ if (t.length === 0)
1004
1004
  return -1;
1005
- if (typeof t == "string" ? (r = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, Ce(t) && (t = a ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
1006
- if (a)
1005
+ if (typeof i == "string" ? (r = i, i = 0) : i > 2147483647 ? i = 2147483647 : i < -2147483648 && (i = -2147483648), i = +i, Oe(i) && (i = M ? 0 : t.length - 1), i < 0 && (i = t.length + i), i >= t.length) {
1006
+ if (M)
1007
1007
  return -1;
1008
- t = i.length - 1;
1009
- } else if (t < 0)
1010
- if (a)
1011
- t = 0;
1008
+ i = t.length - 1;
1009
+ } else if (i < 0)
1010
+ if (M)
1011
+ i = 0;
1012
1012
  else
1013
1013
  return -1;
1014
1014
  if (typeof e == "string" && (e = o.from(e, r)), o.isBuffer(e))
1015
- return e.length === 0 ? -1 : qe(i, e, t, r, a);
1015
+ return e.length === 0 ? -1 : $e(t, e, i, r, M);
1016
1016
  if (typeof e == "number")
1017
- return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? a ? Uint8Array.prototype.indexOf.call(i, e, t) : Uint8Array.prototype.lastIndexOf.call(i, e, t) : qe(i, [e], t, r, a);
1017
+ return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? M ? Uint8Array.prototype.indexOf.call(t, e, i) : Uint8Array.prototype.lastIndexOf.call(t, e, i) : $e(t, [e], i, r, M);
1018
1018
  throw new TypeError("val must be string, number or Buffer");
1019
1019
  }
1020
- function qe(i, e, t, r, a) {
1021
- let u = 1, p = i.length, E = e.length;
1020
+ function $e(t, e, i, r, M) {
1021
+ let a = 1, g = t.length, x = e.length;
1022
1022
  if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
1023
- if (i.length < 2 || e.length < 2)
1023
+ if (t.length < 2 || e.length < 2)
1024
1024
  return -1;
1025
- u = 2, p /= 2, E /= 2, t /= 2;
1025
+ a = 2, g /= 2, x /= 2, i /= 2;
1026
1026
  }
1027
- function k(S, T) {
1028
- return u === 1 ? S[T] : S.readUInt16BE(T * u);
1027
+ function k(C, L) {
1028
+ return a === 1 ? C[L] : C.readUInt16BE(L * a);
1029
1029
  }
1030
- let $;
1031
- if (a) {
1032
- let S = -1;
1033
- for ($ = t; $ < p; $++)
1034
- if (k(i, $) === k(e, S === -1 ? 0 : $ - S)) {
1035
- if (S === -1 && (S = $), $ - S + 1 === E)
1036
- return S * u;
1030
+ let m;
1031
+ if (M) {
1032
+ let C = -1;
1033
+ for (m = i; m < g; m++)
1034
+ if (k(t, m) === k(e, C === -1 ? 0 : m - C)) {
1035
+ if (C === -1 && (C = m), m - C + 1 === x)
1036
+ return C * a;
1037
1037
  } else
1038
- S !== -1 && ($ -= $ - S), S = -1;
1038
+ C !== -1 && (m -= m - C), C = -1;
1039
1039
  } else
1040
- for (t + E > p && (t = p - E), $ = t; $ >= 0; $--) {
1041
- let S = !0;
1042
- for (let T = 0; T < E; T++)
1043
- if (k(i, $ + T) !== k(e, T)) {
1044
- S = !1;
1040
+ for (i + x > g && (i = g - x), m = i; m >= 0; m--) {
1041
+ let C = !0;
1042
+ for (let L = 0; L < x; L++)
1043
+ if (k(t, m + L) !== k(e, L)) {
1044
+ C = !1;
1045
1045
  break;
1046
1046
  }
1047
- if (S)
1048
- return $;
1047
+ if (C)
1048
+ return m;
1049
1049
  }
1050
1050
  return -1;
1051
1051
  }
1052
- o.prototype.includes = function(e, t, r) {
1053
- return this.indexOf(e, t, r) !== -1;
1054
- }, o.prototype.indexOf = function(e, t, r) {
1055
- return Me(this, e, t, r, !0);
1056
- }, o.prototype.lastIndexOf = function(e, t, r) {
1057
- return Me(this, e, t, r, !1);
1052
+ o.prototype.includes = function(e, i, r) {
1053
+ return this.indexOf(e, i, r) !== -1;
1054
+ }, o.prototype.indexOf = function(e, i, r) {
1055
+ return Fe(this, e, i, r, !0);
1056
+ }, o.prototype.lastIndexOf = function(e, i, r) {
1057
+ return Fe(this, e, i, r, !1);
1058
1058
  };
1059
- function _t(i, e, t, r) {
1060
- t = Number(t) || 0;
1061
- const a = i.length - t;
1062
- r ? (r = Number(r), r > a && (r = a)) : r = a;
1063
- const u = e.length;
1064
- r > u / 2 && (r = u / 2);
1065
- let p;
1066
- for (p = 0; p < r; ++p) {
1067
- const E = parseInt(e.substr(p * 2, 2), 16);
1068
- if (Ce(E))
1069
- return p;
1070
- i[t + p] = E;
1059
+ function fi(t, e, i, r) {
1060
+ i = Number(i) || 0;
1061
+ const M = t.length - i;
1062
+ r ? (r = Number(r), r > M && (r = M)) : r = M;
1063
+ const a = e.length;
1064
+ r > a / 2 && (r = a / 2);
1065
+ let g;
1066
+ for (g = 0; g < r; ++g) {
1067
+ const x = parseInt(e.substr(g * 2, 2), 16);
1068
+ if (Oe(x))
1069
+ return g;
1070
+ t[i + g] = x;
1071
1071
  }
1072
- return p;
1072
+ return g;
1073
1073
  }
1074
- function Ct(i, e, t, r) {
1075
- return we(_e(e, i.length - t), i, t, r);
1074
+ function Oi(t, e, i, r) {
1075
+ return he(fe(e, t.length - i), t, i, r);
1076
1076
  }
1077
- function Tt(i, e, t, r) {
1078
- return we(Pt(e), i, t, r);
1077
+ function Li(t, e, i, r) {
1078
+ return he(_i(e), t, i, r);
1079
1079
  }
1080
- function Ft(i, e, t, r) {
1081
- return we(Je(e), i, t, r);
1080
+ function wi(t, e, i, r) {
1081
+ return he(Xe(e), t, i, r);
1082
1082
  }
1083
- function $t(i, e, t, r) {
1084
- return we(Mt(e, i.length - t), i, t, r);
1083
+ function mi(t, e, i, r) {
1084
+ return he(Fi(e, t.length - i), t, i, r);
1085
1085
  }
1086
- o.prototype.write = function(e, t, r, a) {
1087
- if (t === void 0)
1088
- a = "utf8", r = this.length, t = 0;
1089
- else if (r === void 0 && typeof t == "string")
1090
- a = t, r = this.length, t = 0;
1091
- else if (isFinite(t))
1092
- t = t >>> 0, isFinite(r) ? (r = r >>> 0, a === void 0 && (a = "utf8")) : (a = r, r = void 0);
1086
+ o.prototype.write = function(e, i, r, M) {
1087
+ if (i === void 0)
1088
+ M = "utf8", r = this.length, i = 0;
1089
+ else if (r === void 0 && typeof i == "string")
1090
+ M = i, r = this.length, i = 0;
1091
+ else if (isFinite(i))
1092
+ i = i >>> 0, isFinite(r) ? (r = r >>> 0, M === void 0 && (M = "utf8")) : (M = r, r = void 0);
1093
1093
  else
1094
1094
  throw new Error(
1095
1095
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
1096
1096
  );
1097
- const u = this.length - t;
1098
- if ((r === void 0 || r > u) && (r = u), e.length > 0 && (r < 0 || t < 0) || t > this.length)
1097
+ const a = this.length - i;
1098
+ if ((r === void 0 || r > a) && (r = a), e.length > 0 && (r < 0 || i < 0) || i > this.length)
1099
1099
  throw new RangeError("Attempt to write outside buffer bounds");
1100
- a || (a = "utf8");
1101
- let p = !1;
1100
+ M || (M = "utf8");
1101
+ let g = !1;
1102
1102
  for (; ; )
1103
- switch (a) {
1103
+ switch (M) {
1104
1104
  case "hex":
1105
- return _t(this, e, t, r);
1105
+ return fi(this, e, i, r);
1106
1106
  case "utf8":
1107
1107
  case "utf-8":
1108
- return Ct(this, e, t, r);
1108
+ return Oi(this, e, i, r);
1109
1109
  case "ascii":
1110
1110
  case "latin1":
1111
1111
  case "binary":
1112
- return Tt(this, e, t, r);
1112
+ return Li(this, e, i, r);
1113
1113
  case "base64":
1114
- return Ft(this, e, t, r);
1114
+ return wi(this, e, i, r);
1115
1115
  case "ucs2":
1116
1116
  case "ucs-2":
1117
1117
  case "utf16le":
1118
1118
  case "utf-16le":
1119
- return $t(this, e, t, r);
1119
+ return mi(this, e, i, r);
1120
1120
  default:
1121
- if (p)
1122
- throw new TypeError("Unknown encoding: " + a);
1123
- a = ("" + a).toLowerCase(), p = !0;
1121
+ if (g)
1122
+ throw new TypeError("Unknown encoding: " + M);
1123
+ M = ("" + M).toLowerCase(), g = !0;
1124
1124
  }
1125
1125
  }, o.prototype.toJSON = function() {
1126
1126
  return {
@@ -1128,720 +1128,720 @@ Pe.write = function(s, n, l, f, g, m) {
1128
1128
  data: Array.prototype.slice.call(this._arr || this, 0)
1129
1129
  };
1130
1130
  };
1131
- function kt(i, e, t) {
1132
- return e === 0 && t === i.length ? n.fromByteArray(i) : n.fromByteArray(i.slice(e, t));
1131
+ function ki(t, e, i) {
1132
+ return e === 0 && i === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, i));
1133
1133
  }
1134
- function Ge(i, e, t) {
1135
- t = Math.min(i.length, t);
1134
+ function Re(t, e, i) {
1135
+ i = Math.min(t.length, i);
1136
1136
  const r = [];
1137
- let a = e;
1138
- for (; a < t; ) {
1139
- const u = i[a];
1140
- let p = null, E = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
1141
- if (a + E <= t) {
1142
- let k, $, S, T;
1143
- switch (E) {
1137
+ let M = e;
1138
+ for (; M < i; ) {
1139
+ const a = t[M];
1140
+ let g = null, x = a > 239 ? 4 : a > 223 ? 3 : a > 191 ? 2 : 1;
1141
+ if (M + x <= i) {
1142
+ let k, m, C, L;
1143
+ switch (x) {
1144
1144
  case 1:
1145
- u < 128 && (p = u);
1145
+ a < 128 && (g = a);
1146
1146
  break;
1147
1147
  case 2:
1148
- k = i[a + 1], (k & 192) === 128 && (T = (u & 31) << 6 | k & 63, T > 127 && (p = T));
1148
+ k = t[M + 1], (k & 192) === 128 && (L = (a & 31) << 6 | k & 63, L > 127 && (g = L));
1149
1149
  break;
1150
1150
  case 3:
1151
- k = i[a + 1], $ = i[a + 2], (k & 192) === 128 && ($ & 192) === 128 && (T = (u & 15) << 12 | (k & 63) << 6 | $ & 63, T > 2047 && (T < 55296 || T > 57343) && (p = T));
1151
+ k = t[M + 1], m = t[M + 2], (k & 192) === 128 && (m & 192) === 128 && (L = (a & 15) << 12 | (k & 63) << 6 | m & 63, L > 2047 && (L < 55296 || L > 57343) && (g = L));
1152
1152
  break;
1153
1153
  case 4:
1154
- k = i[a + 1], $ = i[a + 2], S = i[a + 3], (k & 192) === 128 && ($ & 192) === 128 && (S & 192) === 128 && (T = (u & 15) << 18 | (k & 63) << 12 | ($ & 63) << 6 | S & 63, T > 65535 && T < 1114112 && (p = T));
1154
+ k = t[M + 1], m = t[M + 2], C = t[M + 3], (k & 192) === 128 && (m & 192) === 128 && (C & 192) === 128 && (L = (a & 15) << 18 | (k & 63) << 12 | (m & 63) << 6 | C & 63, L > 65535 && L < 1114112 && (g = L));
1155
1155
  }
1156
1156
  }
1157
- p === null ? (p = 65533, E = 1) : p > 65535 && (p -= 65536, r.push(p >>> 10 & 1023 | 55296), p = 56320 | p & 1023), r.push(p), a += E;
1157
+ g === null ? (g = 65533, x = 1) : g > 65535 && (g -= 65536, r.push(g >>> 10 & 1023 | 55296), g = 56320 | g & 1023), r.push(g), M += x;
1158
1158
  }
1159
- return St(r);
1159
+ return Ci(r);
1160
1160
  }
1161
1161
  const We = 4096;
1162
- function St(i) {
1163
- const e = i.length;
1162
+ function Ci(t) {
1163
+ const e = t.length;
1164
1164
  if (e <= We)
1165
- return String.fromCharCode.apply(String, i);
1166
- let t = "", r = 0;
1165
+ return String.fromCharCode.apply(String, t);
1166
+ let i = "", r = 0;
1167
1167
  for (; r < e; )
1168
- t += String.fromCharCode.apply(
1168
+ i += String.fromCharCode.apply(
1169
1169
  String,
1170
- i.slice(r, r += We)
1170
+ t.slice(r, r += We)
1171
1171
  );
1172
- return t;
1172
+ return i;
1173
1173
  }
1174
- function Lt(i, e, t) {
1174
+ function Si(t, e, i) {
1175
1175
  let r = "";
1176
- t = Math.min(i.length, t);
1177
- for (let a = e; a < t; ++a)
1178
- r += String.fromCharCode(i[a] & 127);
1176
+ i = Math.min(t.length, i);
1177
+ for (let M = e; M < i; ++M)
1178
+ r += String.fromCharCode(t[M] & 127);
1179
1179
  return r;
1180
1180
  }
1181
- function Rt(i, e, t) {
1181
+ function Ui(t, e, i) {
1182
1182
  let r = "";
1183
- t = Math.min(i.length, t);
1184
- for (let a = e; a < t; ++a)
1185
- r += String.fromCharCode(i[a]);
1183
+ i = Math.min(t.length, i);
1184
+ for (let M = e; M < i; ++M)
1185
+ r += String.fromCharCode(t[M]);
1186
1186
  return r;
1187
1187
  }
1188
- function Nt(i, e, t) {
1189
- const r = i.length;
1190
- (!e || e < 0) && (e = 0), (!t || t < 0 || t > r) && (t = r);
1191
- let a = "";
1192
- for (let u = e; u < t; ++u)
1193
- a += qt[i[u]];
1194
- return a;
1195
- }
1196
- function Ut(i, e, t) {
1197
- const r = i.slice(e, t);
1198
- let a = "";
1199
- for (let u = 0; u < r.length - 1; u += 2)
1200
- a += String.fromCharCode(r[u] + r[u + 1] * 256);
1201
- return a;
1202
- }
1203
- o.prototype.slice = function(e, t) {
1188
+ function Yi(t, e, i) {
1189
+ const r = t.length;
1190
+ (!e || e < 0) && (e = 0), (!i || i < 0 || i > r) && (i = r);
1191
+ let M = "";
1192
+ for (let a = e; a < i; ++a)
1193
+ M += $i[t[a]];
1194
+ return M;
1195
+ }
1196
+ function Qi(t, e, i) {
1197
+ const r = t.slice(e, i);
1198
+ let M = "";
1199
+ for (let a = 0; a < r.length - 1; a += 2)
1200
+ M += String.fromCharCode(r[a] + r[a + 1] * 256);
1201
+ return M;
1202
+ }
1203
+ o.prototype.slice = function(e, i) {
1204
1204
  const r = this.length;
1205
- e = ~~e, t = t === void 0 ? r : ~~t, e < 0 ? (e += r, e < 0 && (e = 0)) : e > r && (e = r), t < 0 ? (t += r, t < 0 && (t = 0)) : t > r && (t = r), t < e && (t = e);
1206
- const a = this.subarray(e, t);
1207
- return Object.setPrototypeOf(a, o.prototype), a;
1205
+ e = ~~e, i = i === void 0 ? r : ~~i, e < 0 ? (e += r, e < 0 && (e = 0)) : e > r && (e = r), i < 0 ? (i += r, i < 0 && (i = 0)) : i > r && (i = r), i < e && (i = e);
1206
+ const M = this.subarray(e, i);
1207
+ return Object.setPrototypeOf(M, o.prototype), M;
1208
1208
  };
1209
- function N(i, e, t) {
1210
- if (i % 1 !== 0 || i < 0)
1209
+ function Y(t, e, i) {
1210
+ if (t % 1 !== 0 || t < 0)
1211
1211
  throw new RangeError("offset is not uint");
1212
- if (i + e > t)
1212
+ if (t + e > i)
1213
1213
  throw new RangeError("Trying to access beyond buffer length");
1214
1214
  }
1215
- o.prototype.readUintLE = o.prototype.readUIntLE = function(e, t, r) {
1216
- e = e >>> 0, t = t >>> 0, r || N(e, t, this.length);
1217
- let a = this[e], u = 1, p = 0;
1218
- for (; ++p < t && (u *= 256); )
1219
- a += this[e + p] * u;
1220
- return a;
1221
- }, o.prototype.readUintBE = o.prototype.readUIntBE = function(e, t, r) {
1222
- e = e >>> 0, t = t >>> 0, r || N(e, t, this.length);
1223
- let a = this[e + --t], u = 1;
1224
- for (; t > 0 && (u *= 256); )
1225
- a += this[e + --t] * u;
1226
- return a;
1227
- }, o.prototype.readUint8 = o.prototype.readUInt8 = function(e, t) {
1228
- return e = e >>> 0, t || N(e, 1, this.length), this[e];
1229
- }, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(e, t) {
1230
- return e = e >>> 0, t || N(e, 2, this.length), this[e] | this[e + 1] << 8;
1231
- }, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(e, t) {
1232
- return e = e >>> 0, t || N(e, 2, this.length), this[e] << 8 | this[e + 1];
1233
- }, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(e, t) {
1234
- return e = e >>> 0, t || N(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
1235
- }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(e, t) {
1236
- return e = e >>> 0, t || N(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
1237
- }, o.prototype.readBigUInt64LE = Z(function(e) {
1215
+ o.prototype.readUintLE = o.prototype.readUIntLE = function(e, i, r) {
1216
+ e = e >>> 0, i = i >>> 0, r || Y(e, i, this.length);
1217
+ let M = this[e], a = 1, g = 0;
1218
+ for (; ++g < i && (a *= 256); )
1219
+ M += this[e + g] * a;
1220
+ return M;
1221
+ }, o.prototype.readUintBE = o.prototype.readUIntBE = function(e, i, r) {
1222
+ e = e >>> 0, i = i >>> 0, r || Y(e, i, this.length);
1223
+ let M = this[e + --i], a = 1;
1224
+ for (; i > 0 && (a *= 256); )
1225
+ M += this[e + --i] * a;
1226
+ return M;
1227
+ }, o.prototype.readUint8 = o.prototype.readUInt8 = function(e, i) {
1228
+ return e = e >>> 0, i || Y(e, 1, this.length), this[e];
1229
+ }, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(e, i) {
1230
+ return e = e >>> 0, i || Y(e, 2, this.length), this[e] | this[e + 1] << 8;
1231
+ }, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(e, i) {
1232
+ return e = e >>> 0, i || Y(e, 2, this.length), this[e] << 8 | this[e + 1];
1233
+ }, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(e, i) {
1234
+ return e = e >>> 0, i || Y(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
1235
+ }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(e, i) {
1236
+ return e = e >>> 0, i || Y(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
1237
+ }, o.prototype.readBigUInt64LE = K(function(e) {
1238
1238
  e = e >>> 0, se(e, "offset");
1239
- const t = this[e], r = this[e + 7];
1240
- (t === void 0 || r === void 0) && fe(e, this.length - 8);
1241
- const a = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, u = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + r * 2 ** 24;
1242
- return BigInt(a) + (BigInt(u) << BigInt(32));
1243
- }), o.prototype.readBigUInt64BE = Z(function(e) {
1239
+ const i = this[e], r = this[e + 7];
1240
+ (i === void 0 || r === void 0) && De(e, this.length - 8);
1241
+ const M = i + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, a = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + r * 2 ** 24;
1242
+ return BigInt(M) + (BigInt(a) << BigInt(32));
1243
+ }), o.prototype.readBigUInt64BE = K(function(e) {
1244
1244
  e = e >>> 0, se(e, "offset");
1245
- const t = this[e], r = this[e + 7];
1246
- (t === void 0 || r === void 0) && fe(e, this.length - 8);
1247
- const a = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], u = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + r;
1248
- return (BigInt(a) << BigInt(32)) + BigInt(u);
1249
- }), o.prototype.readIntLE = function(e, t, r) {
1250
- e = e >>> 0, t = t >>> 0, r || N(e, t, this.length);
1251
- let a = this[e], u = 1, p = 0;
1252
- for (; ++p < t && (u *= 256); )
1253
- a += this[e + p] * u;
1254
- return u *= 128, a >= u && (a -= Math.pow(2, 8 * t)), a;
1255
- }, o.prototype.readIntBE = function(e, t, r) {
1256
- e = e >>> 0, t = t >>> 0, r || N(e, t, this.length);
1257
- let a = t, u = 1, p = this[e + --a];
1258
- for (; a > 0 && (u *= 256); )
1259
- p += this[e + --a] * u;
1260
- return u *= 128, p >= u && (p -= Math.pow(2, 8 * t)), p;
1261
- }, o.prototype.readInt8 = function(e, t) {
1262
- return e = e >>> 0, t || N(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
1263
- }, o.prototype.readInt16LE = function(e, t) {
1264
- e = e >>> 0, t || N(e, 2, this.length);
1245
+ const i = this[e], r = this[e + 7];
1246
+ (i === void 0 || r === void 0) && De(e, this.length - 8);
1247
+ const M = i * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], a = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + r;
1248
+ return (BigInt(M) << BigInt(32)) + BigInt(a);
1249
+ }), o.prototype.readIntLE = function(e, i, r) {
1250
+ e = e >>> 0, i = i >>> 0, r || Y(e, i, this.length);
1251
+ let M = this[e], a = 1, g = 0;
1252
+ for (; ++g < i && (a *= 256); )
1253
+ M += this[e + g] * a;
1254
+ return a *= 128, M >= a && (M -= Math.pow(2, 8 * i)), M;
1255
+ }, o.prototype.readIntBE = function(e, i, r) {
1256
+ e = e >>> 0, i = i >>> 0, r || Y(e, i, this.length);
1257
+ let M = i, a = 1, g = this[e + --M];
1258
+ for (; M > 0 && (a *= 256); )
1259
+ g += this[e + --M] * a;
1260
+ return a *= 128, g >= a && (g -= Math.pow(2, 8 * i)), g;
1261
+ }, o.prototype.readInt8 = function(e, i) {
1262
+ return e = e >>> 0, i || Y(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
1263
+ }, o.prototype.readInt16LE = function(e, i) {
1264
+ e = e >>> 0, i || Y(e, 2, this.length);
1265
1265
  const r = this[e] | this[e + 1] << 8;
1266
1266
  return r & 32768 ? r | 4294901760 : r;
1267
- }, o.prototype.readInt16BE = function(e, t) {
1268
- e = e >>> 0, t || N(e, 2, this.length);
1267
+ }, o.prototype.readInt16BE = function(e, i) {
1268
+ e = e >>> 0, i || Y(e, 2, this.length);
1269
1269
  const r = this[e + 1] | this[e] << 8;
1270
1270
  return r & 32768 ? r | 4294901760 : r;
1271
- }, o.prototype.readInt32LE = function(e, t) {
1272
- return e = e >>> 0, t || N(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
1273
- }, o.prototype.readInt32BE = function(e, t) {
1274
- return e = e >>> 0, t || N(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
1275
- }, o.prototype.readBigInt64LE = Z(function(e) {
1271
+ }, o.prototype.readInt32LE = function(e, i) {
1272
+ return e = e >>> 0, i || Y(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
1273
+ }, o.prototype.readInt32BE = function(e, i) {
1274
+ return e = e >>> 0, i || Y(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
1275
+ }, o.prototype.readBigInt64LE = K(function(e) {
1276
1276
  e = e >>> 0, se(e, "offset");
1277
- const t = this[e], r = this[e + 7];
1278
- (t === void 0 || r === void 0) && fe(e, this.length - 8);
1279
- const a = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (r << 24);
1280
- return (BigInt(a) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
1281
- }), o.prototype.readBigInt64BE = Z(function(e) {
1277
+ const i = this[e], r = this[e + 7];
1278
+ (i === void 0 || r === void 0) && De(e, this.length - 8);
1279
+ const M = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (r << 24);
1280
+ return (BigInt(M) << BigInt(32)) + BigInt(i + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
1281
+ }), o.prototype.readBigInt64BE = K(function(e) {
1282
1282
  e = e >>> 0, se(e, "offset");
1283
- const t = this[e], r = this[e + 7];
1284
- (t === void 0 || r === void 0) && fe(e, this.length - 8);
1285
- const a = (t << 24) + // Overflow
1283
+ const i = this[e], r = this[e + 7];
1284
+ (i === void 0 || r === void 0) && De(e, this.length - 8);
1285
+ const M = (i << 24) + // Overflow
1286
1286
  this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
1287
- return (BigInt(a) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + r);
1288
- }), o.prototype.readFloatLE = function(e, t) {
1289
- return e = e >>> 0, t || N(e, 4, this.length), l.read(this, e, !0, 23, 4);
1290
- }, o.prototype.readFloatBE = function(e, t) {
1291
- return e = e >>> 0, t || N(e, 4, this.length), l.read(this, e, !1, 23, 4);
1292
- }, o.prototype.readDoubleLE = function(e, t) {
1293
- return e = e >>> 0, t || N(e, 8, this.length), l.read(this, e, !0, 52, 8);
1294
- }, o.prototype.readDoubleBE = function(e, t) {
1295
- return e = e >>> 0, t || N(e, 8, this.length), l.read(this, e, !1, 52, 8);
1287
+ return (BigInt(M) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + r);
1288
+ }), o.prototype.readFloatLE = function(e, i) {
1289
+ return e = e >>> 0, i || Y(e, 4, this.length), c.read(this, e, !0, 23, 4);
1290
+ }, o.prototype.readFloatBE = function(e, i) {
1291
+ return e = e >>> 0, i || Y(e, 4, this.length), c.read(this, e, !1, 23, 4);
1292
+ }, o.prototype.readDoubleLE = function(e, i) {
1293
+ return e = e >>> 0, i || Y(e, 8, this.length), c.read(this, e, !0, 52, 8);
1294
+ }, o.prototype.readDoubleBE = function(e, i) {
1295
+ return e = e >>> 0, i || Y(e, 8, this.length), c.read(this, e, !1, 52, 8);
1296
1296
  };
1297
- function O(i, e, t, r, a, u) {
1298
- if (!o.isBuffer(i))
1297
+ function v(t, e, i, r, M, a) {
1298
+ if (!o.isBuffer(t))
1299
1299
  throw new TypeError('"buffer" argument must be a Buffer instance');
1300
- if (e > a || e < u)
1300
+ if (e > M || e < a)
1301
1301
  throw new RangeError('"value" argument is out of bounds');
1302
- if (t + r > i.length)
1302
+ if (i + r > t.length)
1303
1303
  throw new RangeError("Index out of range");
1304
1304
  }
1305
- o.prototype.writeUintLE = o.prototype.writeUIntLE = function(e, t, r, a) {
1306
- if (e = +e, t = t >>> 0, r = r >>> 0, !a) {
1307
- const E = Math.pow(2, 8 * r) - 1;
1308
- O(this, e, t, r, E, 0);
1305
+ o.prototype.writeUintLE = o.prototype.writeUIntLE = function(e, i, r, M) {
1306
+ if (e = +e, i = i >>> 0, r = r >>> 0, !M) {
1307
+ const x = Math.pow(2, 8 * r) - 1;
1308
+ v(this, e, i, r, x, 0);
1309
1309
  }
1310
- let u = 1, p = 0;
1311
- for (this[t] = e & 255; ++p < r && (u *= 256); )
1312
- this[t + p] = e / u & 255;
1313
- return t + r;
1314
- }, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(e, t, r, a) {
1315
- if (e = +e, t = t >>> 0, r = r >>> 0, !a) {
1316
- const E = Math.pow(2, 8 * r) - 1;
1317
- O(this, e, t, r, E, 0);
1310
+ let a = 1, g = 0;
1311
+ for (this[i] = e & 255; ++g < r && (a *= 256); )
1312
+ this[i + g] = e / a & 255;
1313
+ return i + r;
1314
+ }, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(e, i, r, M) {
1315
+ if (e = +e, i = i >>> 0, r = r >>> 0, !M) {
1316
+ const x = Math.pow(2, 8 * r) - 1;
1317
+ v(this, e, i, r, x, 0);
1318
1318
  }
1319
- let u = r - 1, p = 1;
1320
- for (this[t + u] = e & 255; --u >= 0 && (p *= 256); )
1321
- this[t + u] = e / p & 255;
1322
- return t + r;
1323
- }, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(e, t, r) {
1324
- return e = +e, t = t >>> 0, r || O(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
1325
- }, o.prototype.writeUint16LE = o.prototype.writeUInt16LE = function(e, t, r) {
1326
- return e = +e, t = t >>> 0, r || O(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
1327
- }, o.prototype.writeUint16BE = o.prototype.writeUInt16BE = function(e, t, r) {
1328
- return e = +e, t = t >>> 0, r || O(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
1329
- }, o.prototype.writeUint32LE = o.prototype.writeUInt32LE = function(e, t, r) {
1330
- return e = +e, t = t >>> 0, r || O(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
1331
- }, o.prototype.writeUint32BE = o.prototype.writeUInt32BE = function(e, t, r) {
1332
- return e = +e, t = t >>> 0, r || O(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
1319
+ let a = r - 1, g = 1;
1320
+ for (this[i + a] = e & 255; --a >= 0 && (g *= 256); )
1321
+ this[i + a] = e / g & 255;
1322
+ return i + r;
1323
+ }, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(e, i, r) {
1324
+ return e = +e, i = i >>> 0, r || v(this, e, i, 1, 255, 0), this[i] = e & 255, i + 1;
1325
+ }, o.prototype.writeUint16LE = o.prototype.writeUInt16LE = function(e, i, r) {
1326
+ return e = +e, i = i >>> 0, r || v(this, e, i, 2, 65535, 0), this[i] = e & 255, this[i + 1] = e >>> 8, i + 2;
1327
+ }, o.prototype.writeUint16BE = o.prototype.writeUInt16BE = function(e, i, r) {
1328
+ return e = +e, i = i >>> 0, r || v(this, e, i, 2, 65535, 0), this[i] = e >>> 8, this[i + 1] = e & 255, i + 2;
1329
+ }, o.prototype.writeUint32LE = o.prototype.writeUInt32LE = function(e, i, r) {
1330
+ return e = +e, i = i >>> 0, r || v(this, e, i, 4, 4294967295, 0), this[i + 3] = e >>> 24, this[i + 2] = e >>> 16, this[i + 1] = e >>> 8, this[i] = e & 255, i + 4;
1331
+ }, o.prototype.writeUint32BE = o.prototype.writeUInt32BE = function(e, i, r) {
1332
+ return e = +e, i = i >>> 0, r || v(this, e, i, 4, 4294967295, 0), this[i] = e >>> 24, this[i + 1] = e >>> 16, this[i + 2] = e >>> 8, this[i + 3] = e & 255, i + 4;
1333
1333
  };
1334
- function je(i, e, t, r, a) {
1335
- Xe(e, r, a, i, t, 7);
1336
- let u = Number(e & BigInt(4294967295));
1337
- i[t++] = u, u = u >> 8, i[t++] = u, u = u >> 8, i[t++] = u, u = u >> 8, i[t++] = u;
1338
- let p = Number(e >> BigInt(32) & BigInt(4294967295));
1339
- return i[t++] = p, p = p >> 8, i[t++] = p, p = p >> 8, i[t++] = p, p = p >> 8, i[t++] = p, t;
1340
- }
1341
- function He(i, e, t, r, a) {
1342
- Xe(e, r, a, i, t, 7);
1343
- let u = Number(e & BigInt(4294967295));
1344
- i[t + 7] = u, u = u >> 8, i[t + 6] = u, u = u >> 8, i[t + 5] = u, u = u >> 8, i[t + 4] = u;
1345
- let p = Number(e >> BigInt(32) & BigInt(4294967295));
1346
- return i[t + 3] = p, p = p >> 8, i[t + 2] = p, p = p >> 8, i[t + 1] = p, p = p >> 8, i[t] = p, t + 8;
1347
- }
1348
- o.prototype.writeBigUInt64LE = Z(function(e, t = 0) {
1349
- return je(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
1350
- }), o.prototype.writeBigUInt64BE = Z(function(e, t = 0) {
1351
- return He(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
1352
- }), o.prototype.writeIntLE = function(e, t, r, a) {
1353
- if (e = +e, t = t >>> 0, !a) {
1334
+ function Ge(t, e, i, r, M) {
1335
+ Je(e, r, M, t, i, 7);
1336
+ let a = Number(e & BigInt(4294967295));
1337
+ t[i++] = a, a = a >> 8, t[i++] = a, a = a >> 8, t[i++] = a, a = a >> 8, t[i++] = a;
1338
+ let g = Number(e >> BigInt(32) & BigInt(4294967295));
1339
+ return t[i++] = g, g = g >> 8, t[i++] = g, g = g >> 8, t[i++] = g, g = g >> 8, t[i++] = g, i;
1340
+ }
1341
+ function Pe(t, e, i, r, M) {
1342
+ Je(e, r, M, t, i, 7);
1343
+ let a = Number(e & BigInt(4294967295));
1344
+ t[i + 7] = a, a = a >> 8, t[i + 6] = a, a = a >> 8, t[i + 5] = a, a = a >> 8, t[i + 4] = a;
1345
+ let g = Number(e >> BigInt(32) & BigInt(4294967295));
1346
+ return t[i + 3] = g, g = g >> 8, t[i + 2] = g, g = g >> 8, t[i + 1] = g, g = g >> 8, t[i] = g, i + 8;
1347
+ }
1348
+ o.prototype.writeBigUInt64LE = K(function(e, i = 0) {
1349
+ return Ge(this, e, i, BigInt(0), BigInt("0xffffffffffffffff"));
1350
+ }), o.prototype.writeBigUInt64BE = K(function(e, i = 0) {
1351
+ return Pe(this, e, i, BigInt(0), BigInt("0xffffffffffffffff"));
1352
+ }), o.prototype.writeIntLE = function(e, i, r, M) {
1353
+ if (e = +e, i = i >>> 0, !M) {
1354
1354
  const k = Math.pow(2, 8 * r - 1);
1355
- O(this, e, t, r, k - 1, -k);
1355
+ v(this, e, i, r, k - 1, -k);
1356
1356
  }
1357
- let u = 0, p = 1, E = 0;
1358
- for (this[t] = e & 255; ++u < r && (p *= 256); )
1359
- e < 0 && E === 0 && this[t + u - 1] !== 0 && (E = 1), this[t + u] = (e / p >> 0) - E & 255;
1360
- return t + r;
1361
- }, o.prototype.writeIntBE = function(e, t, r, a) {
1362
- if (e = +e, t = t >>> 0, !a) {
1357
+ let a = 0, g = 1, x = 0;
1358
+ for (this[i] = e & 255; ++a < r && (g *= 256); )
1359
+ e < 0 && x === 0 && this[i + a - 1] !== 0 && (x = 1), this[i + a] = (e / g >> 0) - x & 255;
1360
+ return i + r;
1361
+ }, o.prototype.writeIntBE = function(e, i, r, M) {
1362
+ if (e = +e, i = i >>> 0, !M) {
1363
1363
  const k = Math.pow(2, 8 * r - 1);
1364
- O(this, e, t, r, k - 1, -k);
1364
+ v(this, e, i, r, k - 1, -k);
1365
1365
  }
1366
- let u = r - 1, p = 1, E = 0;
1367
- for (this[t + u] = e & 255; --u >= 0 && (p *= 256); )
1368
- e < 0 && E === 0 && this[t + u + 1] !== 0 && (E = 1), this[t + u] = (e / p >> 0) - E & 255;
1369
- return t + r;
1370
- }, o.prototype.writeInt8 = function(e, t, r) {
1371
- return e = +e, t = t >>> 0, r || O(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
1372
- }, o.prototype.writeInt16LE = function(e, t, r) {
1373
- return e = +e, t = t >>> 0, r || O(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
1374
- }, o.prototype.writeInt16BE = function(e, t, r) {
1375
- return e = +e, t = t >>> 0, r || O(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
1376
- }, o.prototype.writeInt32LE = function(e, t, r) {
1377
- return e = +e, t = t >>> 0, r || O(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
1378
- }, o.prototype.writeInt32BE = function(e, t, r) {
1379
- return e = +e, t = t >>> 0, r || O(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
1380
- }, o.prototype.writeBigInt64LE = Z(function(e, t = 0) {
1381
- return je(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1382
- }), o.prototype.writeBigInt64BE = Z(function(e, t = 0) {
1383
- return He(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1366
+ let a = r - 1, g = 1, x = 0;
1367
+ for (this[i + a] = e & 255; --a >= 0 && (g *= 256); )
1368
+ e < 0 && x === 0 && this[i + a + 1] !== 0 && (x = 1), this[i + a] = (e / g >> 0) - x & 255;
1369
+ return i + r;
1370
+ }, o.prototype.writeInt8 = function(e, i, r) {
1371
+ return e = +e, i = i >>> 0, r || v(this, e, i, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[i] = e & 255, i + 1;
1372
+ }, o.prototype.writeInt16LE = function(e, i, r) {
1373
+ return e = +e, i = i >>> 0, r || v(this, e, i, 2, 32767, -32768), this[i] = e & 255, this[i + 1] = e >>> 8, i + 2;
1374
+ }, o.prototype.writeInt16BE = function(e, i, r) {
1375
+ return e = +e, i = i >>> 0, r || v(this, e, i, 2, 32767, -32768), this[i] = e >>> 8, this[i + 1] = e & 255, i + 2;
1376
+ }, o.prototype.writeInt32LE = function(e, i, r) {
1377
+ return e = +e, i = i >>> 0, r || v(this, e, i, 4, 2147483647, -2147483648), this[i] = e & 255, this[i + 1] = e >>> 8, this[i + 2] = e >>> 16, this[i + 3] = e >>> 24, i + 4;
1378
+ }, o.prototype.writeInt32BE = function(e, i, r) {
1379
+ return e = +e, i = i >>> 0, r || v(this, e, i, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[i] = e >>> 24, this[i + 1] = e >>> 16, this[i + 2] = e >>> 8, this[i + 3] = e & 255, i + 4;
1380
+ }, o.prototype.writeBigInt64LE = K(function(e, i = 0) {
1381
+ return Ge(this, e, i, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1382
+ }), o.prototype.writeBigInt64BE = K(function(e, i = 0) {
1383
+ return Pe(this, e, i, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1384
1384
  });
1385
- function Ye(i, e, t, r, a, u) {
1386
- if (t + r > i.length)
1385
+ function Ze(t, e, i, r, M, a) {
1386
+ if (i + r > t.length)
1387
1387
  throw new RangeError("Index out of range");
1388
- if (t < 0)
1388
+ if (i < 0)
1389
1389
  throw new RangeError("Index out of range");
1390
1390
  }
1391
- function Ve(i, e, t, r, a) {
1392
- return e = +e, t = t >>> 0, a || Ye(i, e, t, 4), l.write(i, e, t, r, 23, 4), t + 4;
1391
+ function Ve(t, e, i, r, M) {
1392
+ return e = +e, i = i >>> 0, M || Ze(t, e, i, 4), c.write(t, e, i, r, 23, 4), i + 4;
1393
1393
  }
1394
- o.prototype.writeFloatLE = function(e, t, r) {
1395
- return Ve(this, e, t, !0, r);
1396
- }, o.prototype.writeFloatBE = function(e, t, r) {
1397
- return Ve(this, e, t, !1, r);
1394
+ o.prototype.writeFloatLE = function(e, i, r) {
1395
+ return Ve(this, e, i, !0, r);
1396
+ }, o.prototype.writeFloatBE = function(e, i, r) {
1397
+ return Ve(this, e, i, !1, r);
1398
1398
  };
1399
- function Ke(i, e, t, r, a) {
1400
- return e = +e, t = t >>> 0, a || Ye(i, e, t, 8), l.write(i, e, t, r, 52, 8), t + 8;
1401
- }
1402
- o.prototype.writeDoubleLE = function(e, t, r) {
1403
- return Ke(this, e, t, !0, r);
1404
- }, o.prototype.writeDoubleBE = function(e, t, r) {
1405
- return Ke(this, e, t, !1, r);
1406
- }, o.prototype.copy = function(e, t, r, a) {
1399
+ function qe(t, e, i, r, M) {
1400
+ return e = +e, i = i >>> 0, M || Ze(t, e, i, 8), c.write(t, e, i, r, 52, 8), i + 8;
1401
+ }
1402
+ o.prototype.writeDoubleLE = function(e, i, r) {
1403
+ return qe(this, e, i, !0, r);
1404
+ }, o.prototype.writeDoubleBE = function(e, i, r) {
1405
+ return qe(this, e, i, !1, r);
1406
+ }, o.prototype.copy = function(e, i, r, M) {
1407
1407
  if (!o.isBuffer(e))
1408
1408
  throw new TypeError("argument should be a Buffer");
1409
- if (r || (r = 0), !a && a !== 0 && (a = this.length), t >= e.length && (t = e.length), t || (t = 0), a > 0 && a < r && (a = r), a === r || e.length === 0 || this.length === 0)
1409
+ if (r || (r = 0), !M && M !== 0 && (M = this.length), i >= e.length && (i = e.length), i || (i = 0), M > 0 && M < r && (M = r), M === r || e.length === 0 || this.length === 0)
1410
1410
  return 0;
1411
- if (t < 0)
1411
+ if (i < 0)
1412
1412
  throw new RangeError("targetStart out of bounds");
1413
1413
  if (r < 0 || r >= this.length)
1414
1414
  throw new RangeError("Index out of range");
1415
- if (a < 0)
1415
+ if (M < 0)
1416
1416
  throw new RangeError("sourceEnd out of bounds");
1417
- a > this.length && (a = this.length), e.length - t < a - r && (a = e.length - t + r);
1418
- const u = a - r;
1419
- return this === e && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(t, r, a) : Uint8Array.prototype.set.call(
1417
+ M > this.length && (M = this.length), e.length - i < M - r && (M = e.length - i + r);
1418
+ const a = M - r;
1419
+ return this === e && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(i, r, M) : Uint8Array.prototype.set.call(
1420
1420
  e,
1421
- this.subarray(r, a),
1422
- t
1423
- ), u;
1424
- }, o.prototype.fill = function(e, t, r, a) {
1421
+ this.subarray(r, M),
1422
+ i
1423
+ ), a;
1424
+ }, o.prototype.fill = function(e, i, r, M) {
1425
1425
  if (typeof e == "string") {
1426
- if (typeof t == "string" ? (a = t, t = 0, r = this.length) : typeof r == "string" && (a = r, r = this.length), a !== void 0 && typeof a != "string")
1426
+ if (typeof i == "string" ? (M = i, i = 0, r = this.length) : typeof r == "string" && (M = r, r = this.length), M !== void 0 && typeof M != "string")
1427
1427
  throw new TypeError("encoding must be a string");
1428
- if (typeof a == "string" && !o.isEncoding(a))
1429
- throw new TypeError("Unknown encoding: " + a);
1428
+ if (typeof M == "string" && !o.isEncoding(M))
1429
+ throw new TypeError("Unknown encoding: " + M);
1430
1430
  if (e.length === 1) {
1431
- const p = e.charCodeAt(0);
1432
- (a === "utf8" && p < 128 || a === "latin1") && (e = p);
1431
+ const g = e.charCodeAt(0);
1432
+ (M === "utf8" && g < 128 || M === "latin1") && (e = g);
1433
1433
  }
1434
1434
  } else
1435
1435
  typeof e == "number" ? e = e & 255 : typeof e == "boolean" && (e = Number(e));
1436
- if (t < 0 || this.length < t || this.length < r)
1436
+ if (i < 0 || this.length < i || this.length < r)
1437
1437
  throw new RangeError("Out of range index");
1438
- if (r <= t)
1438
+ if (r <= i)
1439
1439
  return this;
1440
- t = t >>> 0, r = r === void 0 ? this.length : r >>> 0, e || (e = 0);
1441
- let u;
1440
+ i = i >>> 0, r = r === void 0 ? this.length : r >>> 0, e || (e = 0);
1441
+ let a;
1442
1442
  if (typeof e == "number")
1443
- for (u = t; u < r; ++u)
1444
- this[u] = e;
1443
+ for (a = i; a < r; ++a)
1444
+ this[a] = e;
1445
1445
  else {
1446
- const p = o.isBuffer(e) ? e : o.from(e, a), E = p.length;
1447
- if (E === 0)
1446
+ const g = o.isBuffer(e) ? e : o.from(e, M), x = g.length;
1447
+ if (x === 0)
1448
1448
  throw new TypeError('The value "' + e + '" is invalid for argument "value"');
1449
- for (u = 0; u < r - t; ++u)
1450
- this[u + t] = p[u % E];
1449
+ for (a = 0; a < r - i; ++a)
1450
+ this[a + i] = g[a % x];
1451
1451
  }
1452
1452
  return this;
1453
1453
  };
1454
1454
  const ne = {};
1455
- function Be(i, e, t) {
1456
- ne[i] = class extends t {
1455
+ function Ee(t, e, i) {
1456
+ ne[t] = class extends i {
1457
1457
  constructor() {
1458
1458
  super(), Object.defineProperty(this, "message", {
1459
1459
  value: e.apply(this, arguments),
1460
1460
  writable: !0,
1461
1461
  configurable: !0
1462
- }), this.name = `${this.name} [${i}]`, this.stack, delete this.name;
1462
+ }), this.name = `${this.name} [${t}]`, this.stack, delete this.name;
1463
1463
  }
1464
1464
  get code() {
1465
- return i;
1465
+ return t;
1466
1466
  }
1467
- set code(a) {
1467
+ set code(M) {
1468
1468
  Object.defineProperty(this, "code", {
1469
1469
  configurable: !0,
1470
1470
  enumerable: !0,
1471
- value: a,
1471
+ value: M,
1472
1472
  writable: !0
1473
1473
  });
1474
1474
  }
1475
1475
  toString() {
1476
- return `${this.name} [${i}]: ${this.message}`;
1476
+ return `${this.name} [${t}]: ${this.message}`;
1477
1477
  }
1478
1478
  };
1479
1479
  }
1480
- Be(
1480
+ Ee(
1481
1481
  "ERR_BUFFER_OUT_OF_BOUNDS",
1482
- function(i) {
1483
- return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
1482
+ function(t) {
1483
+ return t ? `${t} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
1484
1484
  },
1485
1485
  RangeError
1486
- ), Be(
1486
+ ), Ee(
1487
1487
  "ERR_INVALID_ARG_TYPE",
1488
- function(i, e) {
1489
- return `The "${i}" argument must be of type number. Received type ${typeof e}`;
1488
+ function(t, e) {
1489
+ return `The "${t}" argument must be of type number. Received type ${typeof e}`;
1490
1490
  },
1491
1491
  TypeError
1492
- ), Be(
1492
+ ), Ee(
1493
1493
  "ERR_OUT_OF_RANGE",
1494
- function(i, e, t) {
1495
- let r = `The value of "${i}" is out of range.`, a = t;
1496
- return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? a = Qe(String(t)) : typeof t == "bigint" && (a = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (a = Qe(a)), a += "n"), r += ` It must be ${e}. Received ${a}`, r;
1494
+ function(t, e, i) {
1495
+ let r = `The value of "${t}" is out of range.`, M = i;
1496
+ return Number.isInteger(i) && Math.abs(i) > 2 ** 32 ? M = He(String(i)) : typeof i == "bigint" && (M = String(i), (i > BigInt(2) ** BigInt(32) || i < -(BigInt(2) ** BigInt(32))) && (M = He(M)), M += "n"), r += ` It must be ${e}. Received ${M}`, r;
1497
1497
  },
1498
1498
  RangeError
1499
1499
  );
1500
- function Qe(i) {
1501
- let e = "", t = i.length;
1502
- const r = i[0] === "-" ? 1 : 0;
1503
- for (; t >= r + 4; t -= 3)
1504
- e = `_${i.slice(t - 3, t)}${e}`;
1505
- return `${i.slice(0, t)}${e}`;
1506
- }
1507
- function zt(i, e, t) {
1508
- se(e, "offset"), (i[e] === void 0 || i[e + t] === void 0) && fe(e, i.length - (t + 1));
1509
- }
1510
- function Xe(i, e, t, r, a, u) {
1511
- if (i > t || i < e) {
1512
- const p = typeof e == "bigint" ? "n" : "";
1513
- let E;
1514
- throw u > 3 ? e === 0 || e === BigInt(0) ? E = `>= 0${p} and < 2${p} ** ${(u + 1) * 8}${p}` : E = `>= -(2${p} ** ${(u + 1) * 8 - 1}${p}) and < 2 ** ${(u + 1) * 8 - 1}${p}` : E = `>= ${e}${p} and <= ${t}${p}`, new ne.ERR_OUT_OF_RANGE("value", E, i);
1500
+ function He(t) {
1501
+ let e = "", i = t.length;
1502
+ const r = t[0] === "-" ? 1 : 0;
1503
+ for (; i >= r + 4; i -= 3)
1504
+ e = `_${t.slice(i - 3, i)}${e}`;
1505
+ return `${t.slice(0, i)}${e}`;
1506
+ }
1507
+ function bi(t, e, i) {
1508
+ se(e, "offset"), (t[e] === void 0 || t[e + i] === void 0) && De(e, t.length - (i + 1));
1509
+ }
1510
+ function Je(t, e, i, r, M, a) {
1511
+ if (t > i || t < e) {
1512
+ const g = typeof e == "bigint" ? "n" : "";
1513
+ let x;
1514
+ throw a > 3 ? e === 0 || e === BigInt(0) ? x = `>= 0${g} and < 2${g} ** ${(a + 1) * 8}${g}` : x = `>= -(2${g} ** ${(a + 1) * 8 - 1}${g}) and < 2 ** ${(a + 1) * 8 - 1}${g}` : x = `>= ${e}${g} and <= ${i}${g}`, new ne.ERR_OUT_OF_RANGE("value", x, t);
1515
1515
  }
1516
- zt(r, a, u);
1516
+ bi(r, M, a);
1517
1517
  }
1518
- function se(i, e) {
1519
- if (typeof i != "number")
1520
- throw new ne.ERR_INVALID_ARG_TYPE(e, "number", i);
1518
+ function se(t, e) {
1519
+ if (typeof t != "number")
1520
+ throw new ne.ERR_INVALID_ARG_TYPE(e, "number", t);
1521
1521
  }
1522
- function fe(i, e, t) {
1523
- throw Math.floor(i) !== i ? (se(i, t), new ne.ERR_OUT_OF_RANGE(t || "offset", "an integer", i)) : e < 0 ? new ne.ERR_BUFFER_OUT_OF_BOUNDS() : new ne.ERR_OUT_OF_RANGE(
1524
- t || "offset",
1525
- `>= ${t ? 1 : 0} and <= ${e}`,
1526
- i
1522
+ function De(t, e, i) {
1523
+ throw Math.floor(t) !== t ? (se(t, i), new ne.ERR_OUT_OF_RANGE(i || "offset", "an integer", t)) : e < 0 ? new ne.ERR_BUFFER_OUT_OF_BOUNDS() : new ne.ERR_OUT_OF_RANGE(
1524
+ i || "offset",
1525
+ `>= ${i ? 1 : 0} and <= ${e}`,
1526
+ t
1527
1527
  );
1528
1528
  }
1529
- const Ot = /[^+/0-9A-Za-z-_]/g;
1530
- function Dt(i) {
1531
- if (i = i.split("=")[0], i = i.trim().replace(Ot, ""), i.length < 2)
1529
+ const vi = /[^+/0-9A-Za-z-_]/g;
1530
+ function Bi(t) {
1531
+ if (t = t.split("=")[0], t = t.trim().replace(vi, ""), t.length < 2)
1532
1532
  return "";
1533
- for (; i.length % 4 !== 0; )
1534
- i = i + "=";
1535
- return i;
1533
+ for (; t.length % 4 !== 0; )
1534
+ t = t + "=";
1535
+ return t;
1536
1536
  }
1537
- function _e(i, e) {
1537
+ function fe(t, e) {
1538
1538
  e = e || 1 / 0;
1539
- let t;
1540
- const r = i.length;
1541
- let a = null;
1542
- const u = [];
1543
- for (let p = 0; p < r; ++p) {
1544
- if (t = i.charCodeAt(p), t > 55295 && t < 57344) {
1545
- if (!a) {
1546
- if (t > 56319) {
1547
- (e -= 3) > -1 && u.push(239, 191, 189);
1539
+ let i;
1540
+ const r = t.length;
1541
+ let M = null;
1542
+ const a = [];
1543
+ for (let g = 0; g < r; ++g) {
1544
+ if (i = t.charCodeAt(g), i > 55295 && i < 57344) {
1545
+ if (!M) {
1546
+ if (i > 56319) {
1547
+ (e -= 3) > -1 && a.push(239, 191, 189);
1548
1548
  continue;
1549
- } else if (p + 1 === r) {
1550
- (e -= 3) > -1 && u.push(239, 191, 189);
1549
+ } else if (g + 1 === r) {
1550
+ (e -= 3) > -1 && a.push(239, 191, 189);
1551
1551
  continue;
1552
1552
  }
1553
- a = t;
1553
+ M = i;
1554
1554
  continue;
1555
1555
  }
1556
- if (t < 56320) {
1557
- (e -= 3) > -1 && u.push(239, 191, 189), a = t;
1556
+ if (i < 56320) {
1557
+ (e -= 3) > -1 && a.push(239, 191, 189), M = i;
1558
1558
  continue;
1559
1559
  }
1560
- t = (a - 55296 << 10 | t - 56320) + 65536;
1560
+ i = (M - 55296 << 10 | i - 56320) + 65536;
1561
1561
  } else
1562
- a && (e -= 3) > -1 && u.push(239, 191, 189);
1563
- if (a = null, t < 128) {
1562
+ M && (e -= 3) > -1 && a.push(239, 191, 189);
1563
+ if (M = null, i < 128) {
1564
1564
  if ((e -= 1) < 0)
1565
1565
  break;
1566
- u.push(t);
1567
- } else if (t < 2048) {
1566
+ a.push(i);
1567
+ } else if (i < 2048) {
1568
1568
  if ((e -= 2) < 0)
1569
1569
  break;
1570
- u.push(
1571
- t >> 6 | 192,
1572
- t & 63 | 128
1570
+ a.push(
1571
+ i >> 6 | 192,
1572
+ i & 63 | 128
1573
1573
  );
1574
- } else if (t < 65536) {
1574
+ } else if (i < 65536) {
1575
1575
  if ((e -= 3) < 0)
1576
1576
  break;
1577
- u.push(
1578
- t >> 12 | 224,
1579
- t >> 6 & 63 | 128,
1580
- t & 63 | 128
1577
+ a.push(
1578
+ i >> 12 | 224,
1579
+ i >> 6 & 63 | 128,
1580
+ i & 63 | 128
1581
1581
  );
1582
- } else if (t < 1114112) {
1582
+ } else if (i < 1114112) {
1583
1583
  if ((e -= 4) < 0)
1584
1584
  break;
1585
- u.push(
1586
- t >> 18 | 240,
1587
- t >> 12 & 63 | 128,
1588
- t >> 6 & 63 | 128,
1589
- t & 63 | 128
1585
+ a.push(
1586
+ i >> 18 | 240,
1587
+ i >> 12 & 63 | 128,
1588
+ i >> 6 & 63 | 128,
1589
+ i & 63 | 128
1590
1590
  );
1591
1591
  } else
1592
1592
  throw new Error("Invalid code point");
1593
1593
  }
1594
- return u;
1594
+ return a;
1595
1595
  }
1596
- function Pt(i) {
1596
+ function _i(t) {
1597
1597
  const e = [];
1598
- for (let t = 0; t < i.length; ++t)
1599
- e.push(i.charCodeAt(t) & 255);
1598
+ for (let i = 0; i < t.length; ++i)
1599
+ e.push(t.charCodeAt(i) & 255);
1600
1600
  return e;
1601
1601
  }
1602
- function Mt(i, e) {
1603
- let t, r, a;
1604
- const u = [];
1605
- for (let p = 0; p < i.length && !((e -= 2) < 0); ++p)
1606
- t = i.charCodeAt(p), r = t >> 8, a = t % 256, u.push(a), u.push(r);
1607
- return u;
1602
+ function Fi(t, e) {
1603
+ let i, r, M;
1604
+ const a = [];
1605
+ for (let g = 0; g < t.length && !((e -= 2) < 0); ++g)
1606
+ i = t.charCodeAt(g), r = i >> 8, M = i % 256, a.push(M), a.push(r);
1607
+ return a;
1608
1608
  }
1609
- function Je(i) {
1610
- return n.toByteArray(Dt(i));
1609
+ function Xe(t) {
1610
+ return n.toByteArray(Bi(t));
1611
1611
  }
1612
- function we(i, e, t, r) {
1613
- let a;
1614
- for (a = 0; a < r && !(a + t >= e.length || a >= i.length); ++a)
1615
- e[a + t] = i[a];
1616
- return a;
1612
+ function he(t, e, i, r) {
1613
+ let M;
1614
+ for (M = 0; M < r && !(M + i >= e.length || M >= t.length); ++M)
1615
+ e[M + i] = t[M];
1616
+ return M;
1617
1617
  }
1618
- function j(i, e) {
1619
- return i instanceof e || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === e.name;
1618
+ function G(t, e) {
1619
+ return t instanceof e || t != null && t.constructor != null && t.constructor.name != null && t.constructor.name === e.name;
1620
1620
  }
1621
- function Ce(i) {
1622
- return i !== i;
1621
+ function Oe(t) {
1622
+ return t !== t;
1623
1623
  }
1624
- const qt = function() {
1625
- const i = "0123456789abcdef", e = new Array(256);
1626
- for (let t = 0; t < 16; ++t) {
1627
- const r = t * 16;
1628
- for (let a = 0; a < 16; ++a)
1629
- e[r + a] = i[t] + i[a];
1624
+ const $i = function() {
1625
+ const t = "0123456789abcdef", e = new Array(256);
1626
+ for (let i = 0; i < 16; ++i) {
1627
+ const r = i * 16;
1628
+ for (let M = 0; M < 16; ++M)
1629
+ e[r + M] = t[i] + t[M];
1630
1630
  }
1631
1631
  return e;
1632
1632
  }();
1633
- function Z(i) {
1634
- return typeof BigInt > "u" ? Gt : i;
1633
+ function K(t) {
1634
+ return typeof BigInt > "u" ? Ri : t;
1635
1635
  }
1636
- function Gt() {
1636
+ function Ri() {
1637
1637
  throw new Error("BigInt not supported");
1638
1638
  }
1639
- })(At);
1640
- var vt = { exports: {} }, L = vt.exports = {}, H, Y;
1641
- function Se() {
1639
+ })(pi);
1640
+ var Ai = { exports: {} }, S = Ai.exports = {}, P, Z;
1641
+ function Ce() {
1642
1642
  throw new Error("setTimeout has not been defined");
1643
1643
  }
1644
- function Le() {
1644
+ function Se() {
1645
1645
  throw new Error("clearTimeout has not been defined");
1646
1646
  }
1647
1647
  (function() {
1648
1648
  try {
1649
- typeof setTimeout == "function" ? H = setTimeout : H = Se;
1649
+ typeof setTimeout == "function" ? P = setTimeout : P = Ce;
1650
1650
  } catch {
1651
- H = Se;
1651
+ P = Ce;
1652
1652
  }
1653
1653
  try {
1654
- typeof clearTimeout == "function" ? Y = clearTimeout : Y = Le;
1654
+ typeof clearTimeout == "function" ? Z = clearTimeout : Z = Se;
1655
1655
  } catch {
1656
- Y = Le;
1656
+ Z = Se;
1657
1657
  }
1658
1658
  })();
1659
- function bt(s) {
1660
- if (H === setTimeout)
1659
+ function zi(s) {
1660
+ if (P === setTimeout)
1661
1661
  return setTimeout(s, 0);
1662
- if ((H === Se || !H) && setTimeout)
1663
- return H = setTimeout, setTimeout(s, 0);
1662
+ if ((P === Ce || !P) && setTimeout)
1663
+ return P = setTimeout, setTimeout(s, 0);
1664
1664
  try {
1665
- return H(s, 0);
1665
+ return P(s, 0);
1666
1666
  } catch {
1667
1667
  try {
1668
- return H.call(null, s, 0);
1668
+ return P.call(null, s, 0);
1669
1669
  } catch {
1670
- return H.call(this, s, 0);
1670
+ return P.call(this, s, 0);
1671
1671
  }
1672
1672
  }
1673
1673
  }
1674
- function Yr(s) {
1675
- if (Y === clearTimeout)
1674
+ function Zr(s) {
1675
+ if (Z === clearTimeout)
1676
1676
  return clearTimeout(s);
1677
- if ((Y === Le || !Y) && clearTimeout)
1678
- return Y = clearTimeout, clearTimeout(s);
1677
+ if ((Z === Se || !Z) && clearTimeout)
1678
+ return Z = clearTimeout, clearTimeout(s);
1679
1679
  try {
1680
- return Y(s);
1680
+ return Z(s);
1681
1681
  } catch {
1682
1682
  try {
1683
- return Y.call(null, s);
1683
+ return Z.call(null, s);
1684
1684
  } catch {
1685
- return Y.call(this, s);
1685
+ return Z.call(this, s);
1686
1686
  }
1687
1687
  }
1688
1688
  }
1689
- var Q = [], pe = !1, te, xe = -1;
1689
+ var H = [], ge = !1, ie, ye = -1;
1690
1690
  function Vr() {
1691
- !pe || !te || (pe = !1, te.length ? Q = te.concat(Q) : xe = -1, Q.length && Et());
1691
+ !ge || !ie || (ge = !1, ie.length ? H = ie.concat(H) : ye = -1, H.length && xi());
1692
1692
  }
1693
- function Et() {
1694
- if (!pe) {
1695
- var s = bt(Vr);
1696
- pe = !0;
1697
- for (var n = Q.length; n; ) {
1698
- for (te = Q, Q = []; ++xe < n; )
1699
- te && te[xe].run();
1700
- xe = -1, n = Q.length;
1693
+ function xi() {
1694
+ if (!ge) {
1695
+ var s = zi(Vr);
1696
+ ge = !0;
1697
+ for (var n = H.length; n; ) {
1698
+ for (ie = H, H = []; ++ye < n; )
1699
+ ie && ie[ye].run();
1700
+ ye = -1, n = H.length;
1701
1701
  }
1702
- te = null, pe = !1, Yr(s);
1702
+ ie = null, ge = !1, Zr(s);
1703
1703
  }
1704
1704
  }
1705
- L.nextTick = function(s) {
1705
+ S.nextTick = function(s) {
1706
1706
  var n = new Array(arguments.length - 1);
1707
1707
  if (arguments.length > 1)
1708
- for (var l = 1; l < arguments.length; l++)
1709
- n[l - 1] = arguments[l];
1710
- Q.push(new Bt(s, n)), Q.length === 1 && !pe && bt(Et);
1708
+ for (var c = 1; c < arguments.length; c++)
1709
+ n[c - 1] = arguments[c];
1710
+ H.push(new Ei(s, n)), H.length === 1 && !ge && zi(xi);
1711
1711
  };
1712
- function Bt(s, n) {
1712
+ function Ei(s, n) {
1713
1713
  this.fun = s, this.array = n;
1714
1714
  }
1715
- Bt.prototype.run = function() {
1715
+ Ei.prototype.run = function() {
1716
1716
  this.fun.apply(null, this.array);
1717
1717
  };
1718
- L.title = "browser";
1719
- L.browser = !0;
1720
- L.env = {};
1721
- L.argv = [];
1722
- L.version = "";
1723
- L.versions = {};
1724
- function J() {
1718
+ S.title = "browser";
1719
+ S.browser = !0;
1720
+ S.env = {};
1721
+ S.argv = [];
1722
+ S.version = "";
1723
+ S.versions = {};
1724
+ function X() {
1725
1725
  }
1726
- L.on = J;
1727
- L.addListener = J;
1728
- L.once = J;
1729
- L.off = J;
1730
- L.removeListener = J;
1731
- L.removeAllListeners = J;
1732
- L.emit = J;
1733
- L.prependListener = J;
1734
- L.prependOnceListener = J;
1735
- L.listeners = function(s) {
1726
+ S.on = X;
1727
+ S.addListener = X;
1728
+ S.once = X;
1729
+ S.off = X;
1730
+ S.removeListener = X;
1731
+ S.removeAllListeners = X;
1732
+ S.emit = X;
1733
+ S.prependListener = X;
1734
+ S.prependOnceListener = X;
1735
+ S.listeners = function(s) {
1736
1736
  return [];
1737
1737
  };
1738
- L.binding = function(s) {
1738
+ S.binding = function(s) {
1739
1739
  throw new Error("process.binding is not supported");
1740
1740
  };
1741
- L.cwd = function() {
1741
+ S.cwd = function() {
1742
1742
  return "/";
1743
1743
  };
1744
- L.chdir = function(s) {
1744
+ S.chdir = function(s) {
1745
1745
  throw new Error("process.chdir is not supported");
1746
1746
  };
1747
- L.umask = function() {
1747
+ S.umask = function() {
1748
1748
  return 0;
1749
1749
  };
1750
- var Kr = vt.exports;
1750
+ var qr = Ai.exports;
1751
1751
  (function(s) {
1752
1752
  Object.defineProperty(s, Symbol.toStringTag, { value: "Module" });
1753
- const n = At, l = Kr, f = (d) => d && d.__esModule ? d : { default: d }, g = f(l), m = globalThis || void 0 || self;
1754
- Object.defineProperty(s, "Buffer", { enumerable: !0, get: () => n.Buffer }), Object.defineProperty(s, "process", { enumerable: !0, get: () => g.default }), s.global = m;
1755
- })(It);
1756
- let G;
1757
- typeof window < "u" ? G = window : typeof self < "u" ? G = self : G = It.global;
1758
- let Re = null, Ne = null;
1759
- const ht = 20, $e = G.clearTimeout, dt = G.setTimeout, ke = G.cancelAnimationFrame || G.mozCancelAnimationFrame || G.webkitCancelAnimationFrame, pt = G.requestAnimationFrame || G.mozRequestAnimationFrame || G.webkitRequestAnimationFrame;
1760
- ke == null || pt == null ? (Re = $e, Ne = function(n) {
1761
- return dt(n, ht);
1762
- }) : (Re = function([n, l]) {
1763
- ke(n), $e(l);
1764
- }, Ne = function(n) {
1765
- const l = pt(function() {
1766
- $e(f), n();
1767
- }), f = dt(function() {
1768
- ke(l), n();
1769
- }, ht);
1770
- return [l, f];
1753
+ const n = pi, c = qr, D = (N) => N && N.__esModule ? N : { default: N }, T = D(c), I = globalThis || void 0 || self;
1754
+ Object.defineProperty(s, "Buffer", { enumerable: !0, get: () => n.Buffer }), Object.defineProperty(s, "process", { enumerable: !0, get: () => T.default }), s.global = I;
1755
+ })(di);
1756
+ let R;
1757
+ typeof window < "u" ? R = window : typeof self < "u" ? R = self : R = di.global;
1758
+ let Ue = null, Ye = null;
1759
+ const li = 20, me = R.clearTimeout, Ni = R.setTimeout, ke = R.cancelAnimationFrame || R.mozCancelAnimationFrame || R.webkitCancelAnimationFrame, gi = R.requestAnimationFrame || R.mozRequestAnimationFrame || R.webkitRequestAnimationFrame;
1760
+ ke == null || gi == null ? (Ue = me, Ye = function(n) {
1761
+ return Ni(n, li);
1762
+ }) : (Ue = function([n, c]) {
1763
+ ke(n), me(c);
1764
+ }, Ye = function(n) {
1765
+ const c = gi(function() {
1766
+ me(D), n();
1767
+ }), D = Ni(function() {
1768
+ ke(c), n();
1769
+ }, li);
1770
+ return [c, D];
1771
1771
  });
1772
- function Qr(s) {
1773
- let n, l, f, g, m, d, o;
1774
- const w = typeof document < "u" && document.attachEvent;
1775
- if (!w) {
1776
- d = function(C) {
1777
- const F = C.__resizeTriggers__, U = F.firstElementChild, K = F.lastElementChild, M = U.firstElementChild;
1778
- K.scrollLeft = K.scrollWidth, K.scrollTop = K.scrollHeight, M.style.width = U.offsetWidth + 1 + "px", M.style.height = U.offsetHeight + 1 + "px", U.scrollLeft = U.scrollWidth, U.scrollTop = U.scrollHeight;
1779
- }, m = function(C) {
1780
- return C.offsetWidth !== C.__resizeLast__.width || C.offsetHeight !== C.__resizeLast__.height;
1781
- }, o = function(C) {
1782
- if (C.target.className && typeof C.target.className.indexOf == "function" && C.target.className.indexOf("contract-trigger") < 0 && C.target.className.indexOf("expand-trigger") < 0)
1772
+ function Hr(s) {
1773
+ let n, c, D, T, I, N, o;
1774
+ const h = typeof document < "u" && document.attachEvent;
1775
+ if (!h) {
1776
+ N = function(O) {
1777
+ const w = O.__resizeTriggers__, Q = w.firstElementChild, q = w.lastElementChild, F = Q.firstElementChild;
1778
+ q.scrollLeft = q.scrollWidth, q.scrollTop = q.scrollHeight, F.style.width = Q.offsetWidth + 1 + "px", F.style.height = Q.offsetHeight + 1 + "px", Q.scrollLeft = Q.scrollWidth, Q.scrollTop = Q.scrollHeight;
1779
+ }, I = function(O) {
1780
+ return O.offsetWidth !== O.__resizeLast__.width || O.offsetHeight !== O.__resizeLast__.height;
1781
+ }, o = function(O) {
1782
+ if (O.target.className && typeof O.target.className.indexOf == "function" && O.target.className.indexOf("contract-trigger") < 0 && O.target.className.indexOf("expand-trigger") < 0)
1783
1783
  return;
1784
- const F = this;
1785
- d(this), this.__resizeRAF__ && Re(this.__resizeRAF__), this.__resizeRAF__ = Ne(function() {
1786
- m(F) && (F.__resizeLast__.width = F.offsetWidth, F.__resizeLast__.height = F.offsetHeight, F.__resizeListeners__.forEach(function(M) {
1787
- M.call(F, C);
1784
+ const w = this;
1785
+ N(this), this.__resizeRAF__ && Ue(this.__resizeRAF__), this.__resizeRAF__ = Ye(function() {
1786
+ I(w) && (w.__resizeLast__.width = w.offsetWidth, w.__resizeLast__.height = w.offsetHeight, w.__resizeListeners__.forEach(function(F) {
1787
+ F.call(w, O);
1788
1788
  }));
1789
1789
  });
1790
1790
  };
1791
- let y = !1, A = "";
1792
- f = "animationstart";
1793
- const b = "Webkit Moz O ms".split(" ");
1794
- let _ = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), R = "";
1791
+ let j = !1, p = "";
1792
+ D = "animationstart";
1793
+ const z = "Webkit Moz O ms".split(" ");
1794
+ let f = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), U = "";
1795
1795
  {
1796
- const C = document.createElement("fakeelement");
1797
- if (C.style.animationName !== void 0 && (y = !0), y === !1) {
1798
- for (let F = 0; F < b.length; F++)
1799
- if (C.style[b[F] + "AnimationName"] !== void 0) {
1800
- R = b[F], A = "-" + R.toLowerCase() + "-", f = _[F], y = !0;
1796
+ const O = document.createElement("fakeelement");
1797
+ if (O.style.animationName !== void 0 && (j = !0), j === !1) {
1798
+ for (let w = 0; w < z.length; w++)
1799
+ if (O.style[z[w] + "AnimationName"] !== void 0) {
1800
+ U = z[w], p = "-" + U.toLowerCase() + "-", D = f[w], j = !0;
1801
1801
  break;
1802
1802
  }
1803
1803
  }
1804
1804
  }
1805
- l = "resizeanim", n = "@" + A + "keyframes " + l + " { from { opacity: 0; } to { opacity: 0; } } ", g = A + "animation: 1ms " + l + "; ";
1805
+ c = "resizeanim", n = "@" + p + "keyframes " + c + " { from { opacity: 0; } to { opacity: 0; } } ", T = p + "animation: 1ms " + c + "; ";
1806
1806
  }
1807
- const v = function(y) {
1808
- if (!y.getElementById("detectElementResize")) {
1809
- const A = (n || "") + ".resize-triggers { " + (g || "") + '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%; }', b = y.head || y.getElementsByTagName("head")[0], _ = y.createElement("style");
1810
- _.id = "detectElementResize", _.type = "text/css", s != null && _.setAttribute("nonce", s), _.styleSheet ? _.styleSheet.cssText = A : _.appendChild(y.createTextNode(A)), b.appendChild(_);
1807
+ const A = function(j) {
1808
+ if (!j.getElementById("detectElementResize")) {
1809
+ const p = (n || "") + ".resize-triggers { " + (T || "") + '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%; }', z = j.head || j.getElementsByTagName("head")[0], f = j.createElement("style");
1810
+ f.id = "detectElementResize", f.type = "text/css", s != null && f.setAttribute("nonce", s), f.styleSheet ? f.styleSheet.cssText = p : f.appendChild(j.createTextNode(p)), z.appendChild(f);
1811
1811
  }
1812
1812
  };
1813
1813
  return {
1814
- addResizeListener: function(y, A) {
1815
- if (w)
1816
- y.attachEvent("onresize", A);
1814
+ addResizeListener: function(j, p) {
1815
+ if (h)
1816
+ j.attachEvent("onresize", p);
1817
1817
  else {
1818
- if (!y.__resizeTriggers__) {
1819
- const b = y.ownerDocument, _ = G.getComputedStyle(y);
1820
- _ && _.position === "static" && (y.style.position = "relative"), v(b), y.__resizeLast__ = {}, y.__resizeListeners__ = [], (y.__resizeTriggers__ = b.createElement("div")).className = "resize-triggers";
1821
- const R = b.createElement("div");
1822
- R.className = "expand-trigger", R.appendChild(b.createElement("div"));
1823
- const C = b.createElement("div");
1824
- C.className = "contract-trigger", y.__resizeTriggers__.appendChild(R), y.__resizeTriggers__.appendChild(C), y.appendChild(y.__resizeTriggers__), d(y), y.addEventListener("scroll", o, !0), f && (y.__resizeTriggers__.__animationListener__ = function(U) {
1825
- U.animationName === l && d(y);
1826
- }, y.__resizeTriggers__.addEventListener(f, y.__resizeTriggers__.__animationListener__));
1818
+ if (!j.__resizeTriggers__) {
1819
+ const z = j.ownerDocument, f = R.getComputedStyle(j);
1820
+ f && f.position === "static" && (j.style.position = "relative"), A(z), j.__resizeLast__ = {}, j.__resizeListeners__ = [], (j.__resizeTriggers__ = z.createElement("div")).className = "resize-triggers";
1821
+ const U = z.createElement("div");
1822
+ U.className = "expand-trigger", U.appendChild(z.createElement("div"));
1823
+ const O = z.createElement("div");
1824
+ O.className = "contract-trigger", j.__resizeTriggers__.appendChild(U), j.__resizeTriggers__.appendChild(O), j.appendChild(j.__resizeTriggers__), N(j), j.addEventListener("scroll", o, !0), D && (j.__resizeTriggers__.__animationListener__ = function(Q) {
1825
+ Q.animationName === c && N(j);
1826
+ }, j.__resizeTriggers__.addEventListener(D, j.__resizeTriggers__.__animationListener__));
1827
1827
  }
1828
- y.__resizeListeners__.push(A);
1828
+ j.__resizeListeners__.push(p);
1829
1829
  }
1830
1830
  },
1831
- removeResizeListener: function(y, A) {
1832
- if (w)
1833
- y.detachEvent("onresize", A);
1834
- else if (y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(A), 1), !y.__resizeListeners__.length) {
1835
- y.removeEventListener("scroll", o, !0), y.__resizeTriggers__.__animationListener__ && (y.__resizeTriggers__.removeEventListener(f, y.__resizeTriggers__.__animationListener__), y.__resizeTriggers__.__animationListener__ = null);
1831
+ removeResizeListener: function(j, p) {
1832
+ if (h)
1833
+ j.detachEvent("onresize", p);
1834
+ else if (j.__resizeListeners__.splice(j.__resizeListeners__.indexOf(p), 1), !j.__resizeListeners__.length) {
1835
+ j.removeEventListener("scroll", o, !0), j.__resizeTriggers__.__animationListener__ && (j.__resizeTriggers__.removeEventListener(D, j.__resizeTriggers__.__animationListener__), j.__resizeTriggers__.__animationListener__ = null);
1836
1836
  try {
1837
- y.__resizeTriggers__ = !y.removeChild(y.__resizeTriggers__);
1837
+ j.__resizeTriggers__ = !j.removeChild(j.__resizeTriggers__);
1838
1838
  } catch {
1839
1839
  }
1840
1840
  }
1841
1841
  }
1842
1842
  };
1843
1843
  }
1844
- class Xr extends Qt {
1844
+ class Jr extends Hi {
1845
1845
  constructor(...n) {
1846
1846
  super(...n), this.state = {
1847
1847
  height: this.props.defaultHeight || 0,
@@ -1851,27 +1851,27 @@ class Xr extends Qt {
1851
1851
  }, this._autoSizer = null, this._detectElementResize = null, this._parentNode = null, this._resizeObserver = null, this._timeoutId = null, this._onResize = () => {
1852
1852
  this._timeoutId = null;
1853
1853
  const {
1854
- disableHeight: l,
1855
- disableWidth: f,
1856
- onResize: g
1854
+ disableHeight: c,
1855
+ disableWidth: D,
1856
+ onResize: T
1857
1857
  } = this.props;
1858
1858
  if (this._parentNode) {
1859
- var m, d, o, w;
1860
- const v = window.getComputedStyle(this._parentNode) || {}, x = parseFloat((m = v.paddingLeft) !== null && m !== void 0 ? m : "0"), B = parseFloat((d = v.paddingRight) !== null && d !== void 0 ? d : "0"), y = parseFloat((o = v.paddingTop) !== null && o !== void 0 ? o : "0"), A = parseFloat((w = v.paddingBottom) !== null && w !== void 0 ? w : "0"), b = this._parentNode.getBoundingClientRect(), _ = b.height - y - A, R = b.width - x - B, C = this._parentNode.offsetHeight - y - A, F = this._parentNode.offsetWidth - x - B;
1861
- (!l && (this.state.height !== C || this.state.scaledHeight !== _) || !f && (this.state.width !== F || this.state.scaledWidth !== R)) && (this.setState({
1862
- height: C,
1863
- width: F,
1864
- scaledHeight: _,
1865
- scaledWidth: R
1866
- }), typeof g == "function" && g({
1867
- height: C,
1868
- scaledHeight: _,
1869
- scaledWidth: R,
1870
- width: F
1859
+ var I, N, o, h;
1860
+ const A = window.getComputedStyle(this._parentNode) || {}, y = parseFloat((I = A.paddingLeft) !== null && I !== void 0 ? I : "0"), E = parseFloat((N = A.paddingRight) !== null && N !== void 0 ? N : "0"), j = parseFloat((o = A.paddingTop) !== null && o !== void 0 ? o : "0"), p = parseFloat((h = A.paddingBottom) !== null && h !== void 0 ? h : "0"), z = this._parentNode.getBoundingClientRect(), f = z.height - j - p, U = z.width - y - E, O = this._parentNode.offsetHeight - j - p, w = this._parentNode.offsetWidth - y - E;
1861
+ (!c && (this.state.height !== O || this.state.scaledHeight !== f) || !D && (this.state.width !== w || this.state.scaledWidth !== U)) && (this.setState({
1862
+ height: O,
1863
+ width: w,
1864
+ scaledHeight: f,
1865
+ scaledWidth: U
1866
+ }), typeof T == "function" && T({
1867
+ height: O,
1868
+ scaledHeight: f,
1869
+ scaledWidth: U,
1870
+ width: w
1871
1871
  }));
1872
1872
  }
1873
- }, this._setRef = (l) => {
1874
- this._autoSizer = l;
1873
+ }, this._setRef = (c) => {
1874
+ this._autoSizer = c;
1875
1875
  };
1876
1876
  }
1877
1877
  componentDidMount() {
@@ -1880,7 +1880,7 @@ class Xr extends Qt {
1880
1880
  } = this.props;
1881
1881
  this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && (this._parentNode = this._autoSizer.parentNode, this._parentNode != null && (typeof ResizeObserver < "u" ? (this._resizeObserver = new ResizeObserver(() => {
1882
1882
  this._timeoutId = setTimeout(this._onResize, 0);
1883
- }), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = Qr(n), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
1883
+ }), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = Hr(n), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
1884
1884
  }
1885
1885
  componentWillUnmount() {
1886
1886
  this._parentNode && (this._detectElementResize && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize), this._timeoutId !== null && clearTimeout(this._timeoutId), this._resizeObserver && (this._resizeObserver.observe(this._parentNode), this._resizeObserver.disconnect()));
@@ -1888,357 +1888,357 @@ class Xr extends Qt {
1888
1888
  render() {
1889
1889
  const {
1890
1890
  children: n,
1891
- defaultHeight: l,
1892
- defaultWidth: f,
1893
- disableHeight: g = !1,
1894
- disableWidth: m = !1,
1895
- nonce: d,
1891
+ defaultHeight: c,
1892
+ defaultWidth: D,
1893
+ disableHeight: T = !1,
1894
+ disableWidth: I = !1,
1895
+ nonce: N,
1896
1896
  onResize: o,
1897
- style: w = {},
1898
- tagName: v = "div",
1899
- ...x
1897
+ style: h = {},
1898
+ tagName: A = "div",
1899
+ ...y
1900
1900
  } = this.props, {
1901
- height: B,
1902
- scaledHeight: y,
1903
- scaledWidth: A,
1904
- width: b
1905
- } = this.state, _ = {
1901
+ height: E,
1902
+ scaledHeight: j,
1903
+ scaledWidth: p,
1904
+ width: z
1905
+ } = this.state, f = {
1906
1906
  overflow: "visible"
1907
- }, R = {};
1908
- let C = !1;
1909
- return g || (B === 0 && (C = !0), _.height = 0, R.height = B, R.scaledHeight = y), m || (b === 0 && (C = !0), _.width = 0, R.width = b, R.scaledWidth = A), Xt(v, {
1907
+ }, U = {};
1908
+ let O = !1;
1909
+ return T || (E === 0 && (O = !0), f.height = 0, U.height = E, U.scaledHeight = j), I || (z === 0 && (O = !0), f.width = 0, U.width = z, U.scaledWidth = p), Ji(A, {
1910
1910
  ref: this._setRef,
1911
1911
  style: {
1912
- ..._,
1913
- ...w
1912
+ ...f,
1913
+ ...h
1914
1914
  },
1915
- ...x
1916
- }, !C && n(R));
1915
+ ...y
1916
+ }, !O && n(U));
1917
1917
  }
1918
1918
  }
1919
- const Jr = /* @__PURE__ */ h("div")({
1919
+ const Xr = /* @__PURE__ */ l("div")({
1920
1920
  name: "Container",
1921
1921
  class: "c1htq1lb",
1922
1922
  propsAsIs: !1
1923
- }), Zr = /* @__PURE__ */ h("div")({
1923
+ }), Kr = /* @__PURE__ */ l("div")({
1924
1924
  name: "Content",
1925
1925
  class: "cjyzpp7",
1926
1926
  propsAsIs: !1
1927
- }), en = /* @__PURE__ */ h("div")({
1927
+ }), en = /* @__PURE__ */ l("div")({
1928
1928
  name: "Graphic",
1929
1929
  class: "g16mldgz",
1930
1930
  propsAsIs: !1
1931
- }), tn = /* @__PURE__ */ h("div")({
1931
+ }), tn = /* @__PURE__ */ l("div")({
1932
1932
  name: "Headline",
1933
1933
  class: "h69js65",
1934
1934
  propsAsIs: !1
1935
- }), rn = /* @__PURE__ */ h("div")({
1935
+ }), rn = /* @__PURE__ */ l("div")({
1936
1936
  name: "StepsContainer",
1937
1937
  class: "smm7qmo",
1938
1938
  propsAsIs: !1
1939
- }), nn = /* @__PURE__ */ h("span")({
1939
+ }), nn = /* @__PURE__ */ l("span")({
1940
1940
  name: "StepIndicator",
1941
1941
  class: "s17knuw2",
1942
1942
  propsAsIs: !1
1943
1943
  }), sn = ({
1944
1944
  width: s,
1945
1945
  graphicSrc: n,
1946
- headline: l,
1947
- stepsCount: f,
1948
- currentStep: g
1949
- }) => /* @__PURE__ */ I(Jr, { children: [
1950
- /* @__PURE__ */ I(Zr, { children: [
1951
- /* @__PURE__ */ c(en, { "data-centered": g === 0, children: /* @__PURE__ */ c("img", { src: n, alt: l, width: s || 300 }) }),
1952
- l && /* @__PURE__ */ c(tn, { children: l })
1946
+ headline: c,
1947
+ stepsCount: D,
1948
+ currentStep: T
1949
+ }) => /* @__PURE__ */ d(Xr, { children: [
1950
+ /* @__PURE__ */ d(Kr, { children: [
1951
+ /* @__PURE__ */ u(en, { "data-centered": T === 0, children: /* @__PURE__ */ u("img", { src: n, alt: c, width: s || 300 }) }),
1952
+ c && /* @__PURE__ */ u(tn, { children: c })
1953
1953
  ] }),
1954
- /* @__PURE__ */ c(rn, { children: Array.from({ length: f }).map((m, d) => /* @__PURE__ */ c(nn, { "data-active": g === d }, d)) })
1955
- ] }), on = /* @__PURE__ */ h("div")({
1954
+ /* @__PURE__ */ u(rn, { children: Array.from({ length: D }).map((I, N) => /* @__PURE__ */ u(nn, { "data-active": T === N }, N)) })
1955
+ ] }), on = /* @__PURE__ */ l("div")({
1956
1956
  name: "Container",
1957
1957
  class: "c1itm4k7",
1958
1958
  propsAsIs: !1
1959
- }), an = /* @__PURE__ */ h("div")({
1959
+ }), Mn = /* @__PURE__ */ l("div")({
1960
1960
  name: "IconContainer",
1961
1961
  class: "i1w4fsni",
1962
1962
  propsAsIs: !1
1963
- }), ln = () => z, cn = /* @__PURE__ */ h(ln())({
1963
+ }), cn = () => b, un = /* @__PURE__ */ l(cn())({
1964
1964
  name: "InviteGameIcon",
1965
1965
  class: "i19m85r1",
1966
1966
  propsAsIs: !0
1967
- }), un = /* @__PURE__ */ h("div")({
1967
+ }), an = /* @__PURE__ */ l("div")({
1968
1968
  name: "Content",
1969
1969
  class: "c1mbu204",
1970
1970
  propsAsIs: !1
1971
- }), hn = /* @__PURE__ */ h("div")({
1971
+ }), ln = /* @__PURE__ */ l("div")({
1972
1972
  name: "Heading",
1973
1973
  class: "h1amdqtv",
1974
1974
  propsAsIs: !1
1975
- }), dn = /* @__PURE__ */ h("div")({
1975
+ }), Nn = /* @__PURE__ */ l("div")({
1976
1976
  name: "Subtext",
1977
1977
  class: "s1lhlj9j",
1978
1978
  propsAsIs: !1
1979
- }), pn = /* @__PURE__ */ h("div")({
1979
+ }), gn = /* @__PURE__ */ l("div")({
1980
1980
  name: "LinkContainer",
1981
1981
  class: "l1wot35e",
1982
1982
  propsAsIs: !1
1983
- }), fn = /* @__PURE__ */ h("div")({
1983
+ }), Dn = /* @__PURE__ */ l("div")({
1984
1984
  name: "LinkInfo",
1985
1985
  class: "l1jdw39q",
1986
1986
  propsAsIs: !1
1987
- }), mn = /* @__PURE__ */ h("span")({
1987
+ }), In = /* @__PURE__ */ l("span")({
1988
1988
  name: "LinkTitle",
1989
1989
  class: "l1cr5mk",
1990
1990
  propsAsIs: !1
1991
- }), gn = /* @__PURE__ */ h("span")({
1991
+ }), Tn = /* @__PURE__ */ l("span")({
1992
1992
  name: "LinkAddress",
1993
1993
  class: "lvi87q4",
1994
1994
  propsAsIs: !1
1995
- }), yn = () => z, wn = /* @__PURE__ */ h(yn())({
1995
+ }), jn = () => b, hn = /* @__PURE__ */ l(jn())({
1996
1996
  name: "LinkIcon",
1997
1997
  class: "l1pqlvw3",
1998
1998
  propsAsIs: !0
1999
- }), In = /* @__PURE__ */ h("div")({
1999
+ }), dn = /* @__PURE__ */ l("div")({
2000
2000
  name: "SocialLinksContainer",
2001
2001
  class: "s1n7kzeh",
2002
2002
  propsAsIs: !1
2003
- }), An = /* @__PURE__ */ h("a")({
2003
+ }), pn = /* @__PURE__ */ l("a")({
2004
2004
  name: "SocialLink",
2005
2005
  class: "s2m9o9y",
2006
2006
  propsAsIs: !1
2007
- }), xn = /* @__PURE__ */ h("span")({
2007
+ }), yn = /* @__PURE__ */ l("span")({
2008
2008
  name: "SocialLinkLabel",
2009
2009
  class: "sewjbbn",
2010
2010
  propsAsIs: !1
2011
- }), vn = ({
2011
+ }), An = ({
2012
2012
  inviteLink: s,
2013
2013
  socialLinks: n,
2014
- inviteCardTitle: l,
2015
- inviteCardSubtext: f,
2016
- primaryColor: g,
2017
- className: m
2018
- }) => /* @__PURE__ */ I(on, { className: m, children: [
2019
- /* @__PURE__ */ c(an, { style: { backgroundColor: g }, children: /* @__PURE__ */ c(cn, { name: "invite-game-icon" }) }),
2020
- /* @__PURE__ */ I(un, { children: [
2021
- /* @__PURE__ */ c(hn, { children: l || "" }),
2022
- /* @__PURE__ */ c(dn, { children: f || "" })
2014
+ inviteCardTitle: c,
2015
+ inviteCardSubtext: D,
2016
+ primaryColor: T,
2017
+ className: I
2018
+ }) => /* @__PURE__ */ d(on, { className: I, children: [
2019
+ /* @__PURE__ */ u(Mn, { style: { backgroundColor: T }, children: /* @__PURE__ */ u(un, { name: "invite-game-icon" }) }),
2020
+ /* @__PURE__ */ d(an, { children: [
2021
+ /* @__PURE__ */ u(ln, { children: c || "" }),
2022
+ /* @__PURE__ */ u(Nn, { children: D || "" })
2023
2023
  ] }),
2024
- s && /* @__PURE__ */ I(pn, { onClick: async () => {
2024
+ s && /* @__PURE__ */ d(gn, { onClick: async () => {
2025
2025
  if (s)
2026
2026
  try {
2027
2027
  await navigator.clipboard.writeText(s);
2028
- } catch (d) {
2029
- console.error("Unable to copy to clipboard", d);
2028
+ } catch (N) {
2029
+ console.error("Unable to copy to clipboard", N);
2030
2030
  }
2031
2031
  }, children: [
2032
- /* @__PURE__ */ I(fn, { children: [
2033
- /* @__PURE__ */ c(mn, { children: "Invite link" }),
2034
- /* @__PURE__ */ c(gn, { children: s })
2032
+ /* @__PURE__ */ d(Dn, { children: [
2033
+ /* @__PURE__ */ u(In, { children: "Invite link" }),
2034
+ /* @__PURE__ */ u(Tn, { children: s })
2035
2035
  ] }),
2036
- /* @__PURE__ */ c(wn, { name: "icon-copy" })
2036
+ /* @__PURE__ */ u(hn, { name: "icon-copy" })
2037
2037
  ] }),
2038
- n && n.length > 0 && /* @__PURE__ */ c(In, { children: n.map(({ icon: d, link: o, label: w }) => /* @__PURE__ */ I(An, { href: o, target: "_blank", children: [
2039
- /* @__PURE__ */ c(z, { name: d }),
2040
- /* @__PURE__ */ c(xn, { children: w })
2038
+ n && n.length > 0 && /* @__PURE__ */ u(dn, { children: n.map(({ icon: N, link: o, label: h }) => /* @__PURE__ */ d(pn, { href: o, target: "_blank", children: [
2039
+ /* @__PURE__ */ u(b, { name: N }),
2040
+ /* @__PURE__ */ u(yn, { children: h })
2041
2041
  ] }, o)) })
2042
- ] }), bn = /* @__PURE__ */ h("div")({
2042
+ ] }), zn = /* @__PURE__ */ l("div")({
2043
2043
  name: "Container",
2044
2044
  class: "cm0bev",
2045
2045
  propsAsIs: !1
2046
- }), En = /* @__PURE__ */ h("div")({
2046
+ }), xn = /* @__PURE__ */ l("div")({
2047
2047
  name: "Content",
2048
2048
  class: "ce7x737",
2049
2049
  propsAsIs: !1
2050
- }), Bn = /* @__PURE__ */ h("div")({
2050
+ }), En = /* @__PURE__ */ l("div")({
2051
2051
  name: "Title",
2052
2052
  class: "tc2tor6",
2053
2053
  propsAsIs: !1
2054
- }), _n = /* @__PURE__ */ h("div")({
2054
+ }), fn = /* @__PURE__ */ l("div")({
2055
2055
  name: "RulesList",
2056
2056
  class: "r1k5klql",
2057
2057
  propsAsIs: !1
2058
- }), Cn = /* @__PURE__ */ h("div")({
2058
+ }), On = /* @__PURE__ */ l("div")({
2059
2059
  name: "RulesItem",
2060
2060
  class: "r1tf3ft2",
2061
2061
  propsAsIs: !1
2062
- }), Tn = /* @__PURE__ */ h("div")({
2062
+ }), Ln = /* @__PURE__ */ l("div")({
2063
2063
  name: "RuleIcon",
2064
2064
  class: "rwpvg1k",
2065
2065
  propsAsIs: !1
2066
- }), Fn = /* @__PURE__ */ h("div")({
2066
+ }), wn = /* @__PURE__ */ l("div")({
2067
2067
  name: "RuleText",
2068
2068
  class: "rbxiag0",
2069
2069
  propsAsIs: !1
2070
- }), $n = /* @__PURE__ */ h("button")({
2070
+ }), mn = /* @__PURE__ */ l("button")({
2071
2071
  name: "TermsButton",
2072
2072
  class: "t6cyrry",
2073
2073
  propsAsIs: !1
2074
- }), kn = ({ rules: s, rulesTitle: n, primaryColor: l }) => /* @__PURE__ */ I(bn, { children: [
2075
- /* @__PURE__ */ I(En, { children: [
2076
- /* @__PURE__ */ c(Bn, { children: n }),
2077
- /* @__PURE__ */ c(_n, { children: s == null ? void 0 : s.map(({ label: f, icon: g }, m) => /* @__PURE__ */ I(Cn, { children: [
2078
- g && /* @__PURE__ */ c(Tn, { style: { backgroundColor: l }, children: /* @__PURE__ */ c(z, { name: g, "data-icon": g }) }),
2079
- /* @__PURE__ */ c(Fn, { children: f })
2080
- ] }, m)) })
2074
+ }), kn = ({ rules: s, rulesTitle: n, primaryColor: c }) => /* @__PURE__ */ d(zn, { children: [
2075
+ /* @__PURE__ */ d(xn, { children: [
2076
+ /* @__PURE__ */ u(En, { children: n }),
2077
+ /* @__PURE__ */ u(fn, { children: s == null ? void 0 : s.map(({ label: D, icon: T }, I) => /* @__PURE__ */ d(On, { children: [
2078
+ T && /* @__PURE__ */ u(Ln, { style: { backgroundColor: c }, children: /* @__PURE__ */ u(b, { name: T, "data-icon": T }) }),
2079
+ /* @__PURE__ */ u(wn, { children: D })
2080
+ ] }, I)) })
2081
2081
  ] }),
2082
- /* @__PURE__ */ c($n, { children: "See Terms and Conditions" })
2083
- ] }), Sn = /* @__PURE__ */ h("button")({
2082
+ /* @__PURE__ */ u(mn, { children: "See Terms and Conditions" })
2083
+ ] }), Cn = /* @__PURE__ */ l("button")({
2084
2084
  name: "SButton",
2085
2085
  class: "s1nve60q",
2086
2086
  propsAsIs: !1
2087
- }), Ln = /* @__PURE__ */ h("span")({
2087
+ }), Sn = /* @__PURE__ */ l("span")({
2088
2088
  name: "ButtonLabel",
2089
2089
  class: "b1xoswwx",
2090
2090
  propsAsIs: !1
2091
- }), Rn = ({ disabled: s, variant: n = "primary", onClick: l, children: f, ...g }) => /* @__PURE__ */ c(Sn, { onClick: l, disabled: s, "data-variant": n, ...g, children: /* @__PURE__ */ c(Ln, { children: f }) }), Nn = /* @__PURE__ */ h("div")({
2091
+ }), Un = ({ disabled: s, variant: n = "primary", onClick: c, children: D, ...T }) => /* @__PURE__ */ u(Cn, { onClick: c, disabled: s, "data-variant": n, ...T, children: /* @__PURE__ */ u(Sn, { children: D }) }), Yn = /* @__PURE__ */ l("div")({
2092
2092
  name: "Container",
2093
2093
  class: "c18uddbs",
2094
2094
  propsAsIs: !1
2095
- }), Un = /* @__PURE__ */ h("div")({
2095
+ }), Qn = /* @__PURE__ */ l("div")({
2096
2096
  name: "Content",
2097
2097
  class: "cvcfjf6",
2098
2098
  propsAsIs: !1
2099
- }), zn = /* @__PURE__ */ h("div")({
2099
+ }), bn = /* @__PURE__ */ l("div")({
2100
2100
  name: "OnboardingHeader",
2101
2101
  class: "o1ie27lw",
2102
2102
  propsAsIs: !1
2103
- }), On = /* @__PURE__ */ h("button")({
2103
+ }), vn = /* @__PURE__ */ l("button")({
2104
2104
  name: "CloseBtn",
2105
2105
  class: "c15cjkwi",
2106
2106
  propsAsIs: !1
2107
- }), Dn = () => z, Pn = /* @__PURE__ */ h(Dn())({
2107
+ }), Bn = () => b, _n = /* @__PURE__ */ l(Bn())({
2108
2108
  name: "IconClose",
2109
2109
  class: "i1mavjt2",
2110
2110
  propsAsIs: !0
2111
- }), Mn = /* @__PURE__ */ h("div")({
2111
+ }), Fn = /* @__PURE__ */ l("div")({
2112
2112
  name: "OnboardingFooter",
2113
2113
  class: "o1x0dyzv",
2114
2114
  propsAsIs: !1
2115
- }), qn = () => Rn, Gn = /* @__PURE__ */ h(qn())({
2115
+ }), $n = () => Un, Rn = /* @__PURE__ */ l($n())({
2116
2116
  name: "OnboardingActionBtn",
2117
2117
  class: "o1jfi9c3",
2118
2118
  propsAsIs: !0
2119
- }), he = {
2119
+ }), le = {
2120
2120
  steps: !1,
2121
2121
  rules: !1,
2122
2122
  inviteCard: !1
2123
2123
  }, Wn = ({
2124
2124
  gamification: s,
2125
2125
  steps: n,
2126
- rules: l,
2127
- rulesBtnLabel: f,
2128
- rulesTitle: g,
2129
- primaryColor: m,
2130
- inviteLink: d,
2126
+ rules: c,
2127
+ rulesBtnLabel: D,
2128
+ rulesTitle: T,
2129
+ primaryColor: I,
2130
+ inviteLink: N,
2131
2131
  socialLinks: o,
2132
- inviteCardTitle: w,
2133
- inviteCardSubtext: v,
2134
- inviteCardBtnLabel: x,
2135
- onClose: B
2132
+ inviteCardTitle: h,
2133
+ inviteCardSubtext: A,
2134
+ inviteCardBtnLabel: y,
2135
+ onClose: E
2136
2136
  }) => {
2137
- const [y, A] = W(0), [b, _] = W(he);
2138
- X(() => {
2139
- n != null && n.length ? _({ ...he, steps: !0 }) : l != null && l.length ? _({ ...he, rules: !0 }) : _({ ...he, inviteCard: !0 });
2137
+ const [j, p] = W(0), [z, f] = W(le);
2138
+ J(() => {
2139
+ n != null && n.length ? f({ ...le, steps: !0 }) : c != null && c.length ? f({ ...le, rules: !0 }) : f({ ...le, inviteCard: !0 });
2140
2140
  }, []);
2141
- const R = Ue(() => b.steps && y === 0 ? "Continue" : b.rules ? f || "Got it" : b.inviteCard ? x || "Play Now" : "Next", [b, y, f, x]), C = ve(() => {
2142
- n != null && n.length && y < n.length - 1 ? A((U) => ++U) : l != null && l.length && b.steps ? _({ ...he, rules: !0 }) : b.rules && _({ ...he, inviteCard: !0 });
2143
- }, [y, n == null ? void 0 : n.length, l == null ? void 0 : l.length, b, A, _]), F = async () => {
2141
+ const U = Qe(() => z.steps && j === 0 ? "Continue" : z.rules ? D || "Got it" : z.inviteCard ? y || "Play Now" : "Next", [z, j, D, y]), O = Ae(() => {
2142
+ n != null && n.length && j < n.length - 1 ? p((Q) => ++Q) : c != null && c.length && z.steps ? f({ ...le, rules: !0 }) : z.rules && f({ ...le, inviteCard: !0 });
2143
+ }, [j, n == null ? void 0 : n.length, c == null ? void 0 : c.length, z, p, f]), w = async () => {
2144
2144
  await s.onboardingStatus.submitInplay();
2145
2145
  };
2146
- return /* @__PURE__ */ c(Xr, { children: ({ width: U, height: K }) => /* @__PURE__ */ I(Nn, { style: { width: U, height: K }, children: [
2147
- /* @__PURE__ */ c(zn, { children: /* @__PURE__ */ c(On, { onClick: B, children: /* @__PURE__ */ c(Pn, { name: "icon-close-btn-gray" }) }) }),
2148
- /* @__PURE__ */ I(Un, { children: [
2149
- b.steps && (n == null ? void 0 : n.length) && /* @__PURE__ */ c(sn, { stepsCount: n.length, currentStep: y, ...n[y] }),
2150
- b.rules && /* @__PURE__ */ c(kn, { rules: l, rulesTitle: g, primaryColor: m }),
2151
- b.inviteCard && /* @__PURE__ */ c(
2152
- vn,
2146
+ return /* @__PURE__ */ u(Jr, { children: ({ width: Q, height: q }) => /* @__PURE__ */ d(Yn, { style: { width: Q, height: q }, children: [
2147
+ /* @__PURE__ */ u(bn, { children: /* @__PURE__ */ u(vn, { onClick: E, children: /* @__PURE__ */ u(_n, { name: "icon-close-btn-gray" }) }) }),
2148
+ /* @__PURE__ */ d(Qn, { children: [
2149
+ z.steps && (n == null ? void 0 : n.length) && /* @__PURE__ */ u(sn, { stepsCount: n.length, currentStep: j, ...n[j] }),
2150
+ z.rules && /* @__PURE__ */ u(kn, { rules: c, rulesTitle: T, primaryColor: I }),
2151
+ z.inviteCard && /* @__PURE__ */ u(
2152
+ An,
2153
2153
  {
2154
- inviteLink: d,
2155
- inviteCardTitle: w,
2156
- inviteCardSubtext: v,
2157
- primaryColor: m,
2154
+ inviteLink: N,
2155
+ inviteCardTitle: h,
2156
+ inviteCardSubtext: A,
2157
+ primaryColor: I,
2158
2158
  socialLinks: o
2159
2159
  }
2160
2160
  )
2161
2161
  ] }),
2162
- /* @__PURE__ */ c(Mn, { children: /* @__PURE__ */ c(Gn, { onClick: b.inviteCard ? F : C, children: R }) })
2162
+ /* @__PURE__ */ u(Fn, { children: /* @__PURE__ */ u(Rn, { onClick: z.inviteCard ? w : O, children: U }) })
2163
2163
  ] }) });
2164
- }, jn = /* @__PURE__ */ h("div")({
2164
+ }, Gn = /* @__PURE__ */ l("div")({
2165
2165
  name: "Container",
2166
2166
  class: "cocfo2g",
2167
2167
  propsAsIs: !1
2168
- }), Hn = /* @__PURE__ */ h("div")({
2168
+ }), Pn = /* @__PURE__ */ l("div")({
2169
2169
  name: "CloseIconWrap",
2170
2170
  class: "c1pdhxdk",
2171
2171
  propsAsIs: !1
2172
- }), Yn = () => z, Vn = /* @__PURE__ */ h(Yn())({
2172
+ }), Zn = () => b, Vn = /* @__PURE__ */ l(Zn())({
2173
2173
  name: "CloseIcon",
2174
2174
  class: "c1funj3r",
2175
2175
  propsAsIs: !0
2176
- }), Kn = /* @__PURE__ */ h("div")({
2176
+ }), qn = /* @__PURE__ */ l("div")({
2177
2177
  name: "Title",
2178
2178
  class: "t1okg06y",
2179
2179
  propsAsIs: !1
2180
- }), Qn = /* @__PURE__ */ h("img")({
2180
+ }), Hn = /* @__PURE__ */ l("img")({
2181
2181
  name: "SponsorLogo",
2182
2182
  class: "sb1n923",
2183
2183
  propsAsIs: !1
2184
- }), Xn = /* @__PURE__ */ h("div")({
2184
+ }), Jn = /* @__PURE__ */ l("div")({
2185
2185
  name: "PresentsTitle",
2186
2186
  class: "p1stllxd",
2187
2187
  propsAsIs: !1
2188
- }), Jn = /* @__PURE__ */ h("div")({
2188
+ }), Xn = /* @__PURE__ */ l("div")({
2189
2189
  name: "Subtitle",
2190
2190
  class: "s13kvdzw",
2191
2191
  propsAsIs: !1
2192
- }), Zn = /* @__PURE__ */ h("div")({
2192
+ }), Kn = /* @__PURE__ */ l("div")({
2193
2193
  name: "Description",
2194
2194
  class: "dfvmv3t",
2195
2195
  propsAsIs: !1
2196
- }), es = /* @__PURE__ */ h("button")({
2196
+ }), es = /* @__PURE__ */ l("button")({
2197
2197
  name: "ActionButton",
2198
2198
  class: "ay8e3j9",
2199
2199
  propsAsIs: !1
2200
- }), ft = ({ close: s, action: n, onboarding: l }) => {
2201
- var f, g, m, d, o, w, v, x;
2202
- return /* @__PURE__ */ I(jn, { children: [
2203
- /* @__PURE__ */ c(Hn, { onClick: s, children: /* @__PURE__ */ c(Vn, { name: "icon-cross" }) }),
2204
- ((g = (f = l == null ? void 0 : l.titleCard) == null ? void 0 : f.media) == null ? void 0 : g.sponsorLogo) && /* @__PURE__ */ I(Kn, { children: [
2205
- /* @__PURE__ */ c(Qn, { alt: "sponsor-logo", src: (d = (m = l == null ? void 0 : l.titleCard) == null ? void 0 : m.media) == null ? void 0 : d.sponsorLogo }),
2206
- /* @__PURE__ */ c(Xn, { children: "PRESENTS" })
2200
+ }), Di = ({ close: s, action: n, onboarding: c }) => {
2201
+ var D, T, I, N, o, h, A, y;
2202
+ return /* @__PURE__ */ d(Gn, { children: [
2203
+ /* @__PURE__ */ u(Pn, { onClick: s, children: /* @__PURE__ */ u(Vn, { name: "icon-cross" }) }),
2204
+ ((T = (D = c == null ? void 0 : c.titleCard) == null ? void 0 : D.media) == null ? void 0 : T.sponsorLogo) && /* @__PURE__ */ d(qn, { children: [
2205
+ /* @__PURE__ */ u(Hn, { alt: "sponsor-logo", src: (N = (I = c == null ? void 0 : c.titleCard) == null ? void 0 : I.media) == null ? void 0 : N.sponsorLogo }),
2206
+ /* @__PURE__ */ u(Jn, { children: "PRESENTS" })
2207
2207
  ] }),
2208
- ((o = l == null ? void 0 : l.titleCard) == null ? void 0 : o.title) && /* @__PURE__ */ c(Jn, { children: (w = l == null ? void 0 : l.titleCard) == null ? void 0 : w.title }),
2209
- ((v = l == null ? void 0 : l.titleCard) == null ? void 0 : v.subtitle) && /* @__PURE__ */ c(Zn, { children: (x = l == null ? void 0 : l.titleCard) == null ? void 0 : x.subtitle }),
2210
- /* @__PURE__ */ c(es, { onClick: n, children: "Play Now" })
2208
+ ((o = c == null ? void 0 : c.titleCard) == null ? void 0 : o.title) && /* @__PURE__ */ u(Xn, { children: (h = c == null ? void 0 : c.titleCard) == null ? void 0 : h.title }),
2209
+ ((A = c == null ? void 0 : c.titleCard) == null ? void 0 : A.subtitle) && /* @__PURE__ */ u(Kn, { children: (y = c == null ? void 0 : c.titleCard) == null ? void 0 : y.subtitle }),
2210
+ /* @__PURE__ */ u(es, { onClick: n, children: "Play Now" })
2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wLjI5NUM4Ny44MDk3IDEwLjA5MDkgODcuOTExIDkuODg2MjMgODguMTEzNCA5LjY4MTg1Qzg4LjM2OTcgOS40MjI5NyA4OC43MTI4IDkuMzY1NjkgODkuMTcxNyA5LjM2NTY5WiIgZmlsbD0iIzAwNjc0NyIvPgo8L3N2Zz4K", ts = /* @__PURE__ */ l("div")({
2213
2213
  name: "OnboardingContainer",
2214
2214
  class: "o9squag",
2215
2215
  propsAsIs: !1
2216
- }), is = () => De, rs = /* @__PURE__ */ h(is())({
2216
+ }), rs = () => Be, ns = /* @__PURE__ */ l(rs())({
2217
2217
  name: "OnboardingNotificationContainer",
2218
2218
  class: "o1c8wcli",
2219
2219
  propsAsIs: !0
2220
- }), mt = /* @__PURE__ */ h("div")({
2220
+ }), Ii = /* @__PURE__ */ l("div")({
2221
2221
  name: "InnerContainer",
2222
2222
  class: "i18oyadd",
2223
2223
  propsAsIs: !1
2224
- }), ns = "cebdc0u", ss = ({
2224
+ }), ss = "cebdc0u", os = ({
2225
2225
  deepLink: s,
2226
2226
  onboardingOpts: n,
2227
- notification: l,
2228
- gamification: f
2227
+ notification: c,
2228
+ gamification: D
2229
2229
  }) => {
2230
- var g, m, d, o, w, v;
2231
- const [x, B] = W(void 0);
2232
- return X(() => {
2233
- const y = s.$store.subscribe((A) => {
2234
- A && B(A.data);
2230
+ var T, I, N, o, h, A;
2231
+ const [y, E] = W(void 0);
2232
+ return J(() => {
2233
+ const j = s.$store.subscribe((p) => {
2234
+ p && E(p.data);
2235
2235
  });
2236
2236
  return () => {
2237
- y();
2237
+ j();
2238
2238
  };
2239
- }, [s.$store]), /* @__PURE__ */ c(ts, {
2240
- className: wt(l.hiding && ns),
2241
- children: /* @__PURE__ */ c(Wn, {
2239
+ }, [s.$store]), /* @__PURE__ */ u(ts, {
2240
+ className: hi(c.hiding && ss),
2241
+ children: /* @__PURE__ */ u(Wn, {
2242
2242
  rules: [{
2243
2243
  label: "Answer as many questions as you like.",
2244
2244
  icon: "icon-btn-feature-groups"
@@ -2249,8 +2249,8 @@ const Jr = /* @__PURE__ */ h("div")({
2249
2249
  label: "Top the leader board and best your friends.",
2250
2250
  icon: "icon-trophy"
2251
2251
  }],
2252
- rulesBtnLabel: (g = n.rules) == null ? void 0 : g.buttonLabel,
2253
- rulesTitle: (m = n.rules) == null ? void 0 : m.heading,
2252
+ rulesBtnLabel: (T = n.rules) == null ? void 0 : T.buttonLabel,
2253
+ rulesTitle: (I = n.rules) == null ? void 0 : I.heading,
2254
2254
  steps: [{
2255
2255
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
2256
2256
  headline: "Welcome to the Featured Groups +",
@@ -2269,14 +2269,14 @@ const Jr = /* @__PURE__ */ h("div")({
2269
2269
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
2270
2270
  headline: "Compete against friends on the leaderboard"
2271
2271
  }],
2272
- primaryColor: (d = n.inviteCard) == null ? void 0 : d.iconColor,
2273
- inviteLink: x == null ? void 0 : x.url,
2272
+ primaryColor: (N = n.inviteCard) == null ? void 0 : N.iconColor,
2273
+ inviteLink: y == null ? void 0 : y.url,
2274
2274
  inviteCardTitle: (o = n.inviteCard) == null ? void 0 : o.heading,
2275
- inviteCardSubtext: (w = n.inviteCard) == null ? void 0 : w.subtext,
2276
- inviteCardBtnLabel: (v = n.inviteCard) == null ? void 0 : v.buttonLabel,
2275
+ inviteCardSubtext: (h = n.inviteCard) == null ? void 0 : h.subtext,
2276
+ inviteCardBtnLabel: (A = n.inviteCard) == null ? void 0 : A.buttonLabel,
2277
2277
  onClose: () => {
2278
- var y;
2279
- (y = l.close) == null || y.call(l);
2278
+ var j;
2279
+ (j = c.close) == null || j.call(c);
2280
2280
  },
2281
2281
  socialLinks: [{
2282
2282
  icon: "icon-facebook",
@@ -2287,146 +2287,147 @@ const Jr = /* @__PURE__ */ h("div")({
2287
2287
  link: "https://twitter.com/@TheMasters",
2288
2288
  label: "X"
2289
2289
  }],
2290
- gamification: f
2290
+ gamification: D
2291
2291
  })
2292
2292
  });
2293
- }, os = ({
2293
+ }, Ms = ({
2294
2294
  sdk: s,
2295
2295
  notification: n,
2296
- saveHeight: l,
2297
- style: f
2296
+ saveHeight: c,
2297
+ style: D
2298
2298
  }) => {
2299
- const g = ye(null), [m, d] = W(!1), o = s.getFeature(ze.GAMES), w = n.data.onboarding;
2300
- return Jt(() => {
2301
- var v;
2302
- l(((v = g.current) == null ? void 0 : v.getBoundingClientRect().height) || 0);
2303
- }, [l]), m && o && w ? /* @__PURE__ */ c(ss, {
2299
+ var T;
2300
+ const I = je(null), [N, o] = W(!1), h = s.getFeature(be.GAMES), A = n.data.onboarding;
2301
+ return (T = A == null ? void 0 : A.titleCard) != null && T.media && (A.titleCard.media.sponsorLogo = is), Xi(() => {
2302
+ var y;
2303
+ c(((y = I.current) == null ? void 0 : y.getBoundingClientRect().height) || 0);
2304
+ }, [c]), N && h && A ? /* @__PURE__ */ u(os, {
2304
2305
  notification: n,
2305
- setOpened: d,
2306
- gamification: o,
2307
- onboardingOpts: w,
2308
- deepLink: o.deepLink
2309
- }) : /* @__PURE__ */ I(ie, {
2310
- children: [/* @__PURE__ */ c(mt, {
2311
- ref: (v) => {
2312
- g.current = v;
2306
+ setOpened: o,
2307
+ gamification: h,
2308
+ onboardingOpts: A,
2309
+ deepLink: h.deepLink
2310
+ }) : /* @__PURE__ */ d(te, {
2311
+ children: [/* @__PURE__ */ u(Ii, {
2312
+ ref: (y) => {
2313
+ I.current = y;
2313
2314
  },
2314
2315
  style: {
2315
2316
  position: "absolute",
2316
2317
  visibility: "hidden"
2317
2318
  },
2318
- children: /* @__PURE__ */ c(ft, {
2319
+ children: /* @__PURE__ */ u(Di, {
2319
2320
  close: () => {
2320
2321
  },
2321
2322
  action: () => {
2322
2323
  },
2323
- onboarding: w
2324
+ onboarding: A
2324
2325
  })
2325
- }), /* @__PURE__ */ c(rs, {
2326
- style: f,
2326
+ }), /* @__PURE__ */ u(ns, {
2327
+ style: D,
2327
2328
  hiding: n.hiding,
2328
- children: /* @__PURE__ */ c(mt, {
2329
- children: /* @__PURE__ */ c(ft, {
2329
+ children: /* @__PURE__ */ u(Ii, {
2330
+ children: /* @__PURE__ */ u(Di, {
2330
2331
  close: n.close,
2331
- action: () => d(!0),
2332
- onboarding: w
2332
+ action: () => o(!0),
2333
+ onboarding: A
2333
2334
  })
2334
2335
  })
2335
2336
  })]
2336
2337
  });
2337
- }, as = () => De, ls = /* @__PURE__ */ h(as())({
2338
+ }, cs = () => Be, us = /* @__PURE__ */ l(cs())({
2338
2339
  name: "Container",
2339
2340
  class: "ctckejh",
2340
2341
  propsAsIs: !0
2341
- }), gt = /* @__PURE__ */ h("div")({
2342
+ }), Ti = /* @__PURE__ */ l("div")({
2342
2343
  name: "InnerContainer",
2343
2344
  class: "i1ri7tzr",
2344
2345
  propsAsIs: !1
2345
- }), cs = (s) => {
2346
- const [n, l] = W(0), f = ye(null), g = ve((d) => {
2347
- f.current = d;
2346
+ }), as = (s) => {
2347
+ const [n, c] = W(0), D = je(null), T = Ae((N) => {
2348
+ D.current = N;
2348
2349
  }, []);
2349
- X(() => {
2350
- var d;
2351
- const o = (d = f.current) == null ? void 0 : d.getBoundingClientRect();
2352
- o && l(o.height);
2350
+ J(() => {
2351
+ var N;
2352
+ const o = (N = D.current) == null ? void 0 : N.getBoundingClientRect();
2353
+ o && c(o.height);
2353
2354
  }, [s]);
2354
- const m = ve((d) => {
2355
- l(d);
2355
+ const I = Ae((N) => {
2356
+ c(N);
2356
2357
  }, []);
2357
- return [g, n, m];
2358
- }, us = ({ sdk: s, notification: n }) => {
2359
- var l, f;
2360
- const [g, m, d] = cs(n.id);
2361
- return n.type === Ae.QUESTION ? /* @__PURE__ */ I(ie, { children: [
2362
- /* @__PURE__ */ c(gt, { ref: g, style: { position: "absolute", visibility: "hidden" }, children: /* @__PURE__ */ c(et, { ...n }) }),
2363
- /* @__PURE__ */ c(ls, { style: { height: n.hiding ? 0 : m }, hiding: n.hiding, children: /* @__PURE__ */ c(gt, { style: { height: "100%" }, children: /* @__PURE__ */ c(et, { ...n }) }) })
2364
- ] }) : n.type === Ae.QUESTION_RESOLVED && (f = (l = n.data) == null ? void 0 : l.question) != null && f.predictionResult ? /* @__PURE__ */ c(
2365
- Or,
2358
+ return [T, n, I];
2359
+ }, ls = ({ sdk: s, notification: n }) => {
2360
+ var c, D;
2361
+ const [T, I, N] = as(n.id);
2362
+ return n.type === pe.QUESTION ? /* @__PURE__ */ d(te, { children: [
2363
+ /* @__PURE__ */ u(Ti, { ref: T, style: { position: "absolute", visibility: "hidden" }, children: /* @__PURE__ */ u(ei, { ...n }) }),
2364
+ /* @__PURE__ */ u(us, { style: { height: n.hiding ? 0 : I }, hiding: n.hiding, children: /* @__PURE__ */ u(Ti, { style: { height: "100%" }, children: /* @__PURE__ */ u(ei, { ...n }) }) })
2365
+ ] }) : n.type === pe.QUESTION_RESOLVED && (D = (c = n.data) == null ? void 0 : c.question) != null && D.predictionResult ? /* @__PURE__ */ u(
2366
+ vr,
2366
2367
  {
2367
- style: { height: n.hiding ? 0 : m },
2368
- saveHeight: d,
2368
+ style: { height: n.hiding ? 0 : I },
2369
+ saveHeight: N,
2369
2370
  close: n.close,
2370
2371
  hiding: n.hiding,
2371
2372
  ...n.data.question
2372
2373
  }
2373
- ) : n.type === Ae.ONBOARDING ? /* @__PURE__ */ c(
2374
- os,
2374
+ ) : n.type === pe.ONBOARDING ? /* @__PURE__ */ u(
2375
+ Ms,
2375
2376
  {
2376
- style: { height: n.hiding ? 0 : m },
2377
- saveHeight: d,
2377
+ style: { height: n.hiding ? 0 : I },
2378
+ saveHeight: N,
2378
2379
  sdk: s,
2379
2380
  notification: n
2380
2381
  }
2381
2382
  ) : null;
2382
- }, hs = ({ sdk: s }) => {
2383
- const [n] = W(s.getNotificationsStore()), l = re(n), f = Ue(() => {
2384
- if (!(l != null && l.size))
2383
+ }, Ns = ({ sdk: s }) => {
2384
+ const [n] = W(s.getNotificationsStore()), c = re(n), D = Qe(() => {
2385
+ if (!(c != null && c.size))
2385
2386
  return null;
2386
- for (const g of l.values())
2387
- if (g.type === Ae.ONBOARDING)
2388
- return g;
2389
- return l.values().next().value;
2390
- }, [l]);
2391
- return f ? /* @__PURE__ */ c(us, { sdk: s, notification: f }) : null;
2392
- }, ds = /* @__PURE__ */ h("div")({
2387
+ for (const T of c.values())
2388
+ if (T.type === pe.ONBOARDING)
2389
+ return T;
2390
+ return c.values().next().value;
2391
+ }, [c]);
2392
+ return D ? /* @__PURE__ */ u(ls, { sdk: s, notification: D }) : null;
2393
+ }, gs = /* @__PURE__ */ l("div")({
2393
2394
  name: "SDKContainer",
2394
2395
  class: "stu11h7",
2395
2396
  propsAsIs: !1
2396
- }), yt = /* @__PURE__ */ h("div")({
2397
+ }), ji = /* @__PURE__ */ l("div")({
2397
2398
  name: "SDKScrollContainer",
2398
2399
  class: "s1ucohr1",
2399
2400
  propsAsIs: !1
2400
- }), ps = /* @__PURE__ */ h("div")({
2401
+ }), Ds = /* @__PURE__ */ l("div")({
2401
2402
  name: "SDKContentContainer",
2402
2403
  class: "s1el4wvm",
2403
2404
  propsAsIs: !1
2404
- }), fs = () => ps, Ts = /* @__PURE__ */ h(fs())({
2405
+ }), Is = () => Ds, ws = /* @__PURE__ */ l(Is())({
2405
2406
  name: "SDKWhiteContainer",
2406
2407
  class: "s1oe3036",
2407
2408
  propsAsIs: !0
2408
- }), ms = (s) => {
2409
- const n = ye(""), [l, f] = W(!1), g = re(s.status), m = re(s.userId()), d = g === "ready", [o, w] = W(ee), v = ve(
2410
- (y, A) => {
2411
- w(A), A === ee ? (y && s.createEventSession(y), window.requestAnimationFrame(() => {
2412
- s.openFeature(ze.GAMES);
2409
+ }), Ts = (s) => {
2410
+ const n = je(""), [c, D] = W(!1), T = re(s.status), I = re(s.userId()), N = T === "ready", [o, h] = W(ee), A = Ae(
2411
+ (j, p) => {
2412
+ h(p), p === ee ? (j && s.createEventSession(j), window.requestAnimationFrame(() => {
2413
+ s.openFeature(be.GAMES);
2413
2414
  })) : s.closeFeature();
2414
2415
  },
2415
2416
  [s]
2416
2417
  );
2417
- X(() => {
2418
- !d && o === ee && (w(de), s.closeFeature());
2419
- }, [d, o, s]);
2420
- const x = (y) => {
2421
- n.current = y, f(!0), s.initializeApp().then(({ enabled: A, err: b }) => {
2422
- if (b) {
2423
- v(y, de);
2418
+ J(() => {
2419
+ !N && o === ee && (h(Ne), s.closeFeature());
2420
+ }, [N, o, s]);
2421
+ const y = (j) => {
2422
+ n.current = j, D(!0), s.initializeApp().then(({ enabled: p, err: z }) => {
2423
+ if (z) {
2424
+ A(j, Ne);
2424
2425
  return;
2425
2426
  }
2426
- if (A) {
2427
- s.isUserAuthorized().then((_) => {
2428
- if (_) {
2429
- v(y, ee);
2427
+ if (p) {
2428
+ s.isUserAuthorized().then((f) => {
2429
+ if (f) {
2430
+ A(j, ee);
2430
2431
  return;
2431
2432
  } else
2432
2433
  s.disableApp();
@@ -2434,103 +2435,103 @@ const Jr = /* @__PURE__ */ h("div")({
2434
2435
  return;
2435
2436
  }
2436
2437
  });
2437
- }, B = () => {
2438
- f(!1), s.disableApp();
2438
+ }, E = () => {
2439
+ D(!1), s.disableApp();
2439
2440
  };
2440
- return X(() => {
2441
- if (!m) {
2442
- d && (w(de), s.disableApp());
2441
+ return J(() => {
2442
+ if (!I) {
2443
+ N && (h(Ne), s.disableApp());
2443
2444
  return;
2444
2445
  }
2445
- m && n.current && l && s.initializeApp().then(() => {
2446
+ I && n.current && c && s.initializeApp().then(() => {
2446
2447
  s.createEventSession(n.current);
2447
2448
  });
2448
- }, [m]), {
2449
- sdkEnabled: l,
2450
- sdkReady: d,
2449
+ }, [I]), {
2450
+ sdkEnabled: c,
2451
+ sdkReady: N,
2451
2452
  activeOverlay: o,
2452
- activateAndLoadOverlay: v,
2453
- activateEventWithId: x,
2454
- deactivate: B,
2455
- isLogged: !!m
2453
+ activateAndLoadOverlay: A,
2454
+ activateEventWithId: y,
2455
+ deactivate: E,
2456
+ isLogged: !!I
2456
2457
  };
2457
- }, gs = (s) => {
2458
- const n = re(s.getActiveFeature()), l = re(s.streamStore()), [f, g] = W(null);
2459
- return X(() => {
2460
- const m = s.getFeatures();
2458
+ }, js = (s) => {
2459
+ const n = re(s.getActiveFeature()), c = re(s.streamStore()), [D, T] = W(null);
2460
+ return J(() => {
2461
+ const I = s.getFeatures();
2461
2462
  if (n)
2462
- for (const [d, o] of m)
2463
- d === n ? o.status.get() === me.Suspended && (o.enable(), g(o)) : o.status.get() === me.Ready && o.disable();
2463
+ for (const [N, o] of I)
2464
+ N === n ? o.status.get() === Ie.Suspended && (o.enable(), T(o)) : o.status.get() === Ie.Ready && o.disable();
2464
2465
  else {
2465
- for (const [, d] of m)
2466
- d.status.get() === me.Ready && d.disable();
2467
- g(null);
2466
+ for (const [, N] of I)
2467
+ N.status.get() === Ie.Ready && N.disable();
2468
+ T(null);
2468
2469
  }
2469
2470
  return () => {
2470
- for (const [, d] of m)
2471
- d.status.get() === me.Ready && d.disable();
2471
+ for (const [, N] of I)
2472
+ N.status.get() === Ie.Ready && N.disable();
2472
2473
  };
2473
- }, [n, s, l]), [n, f];
2474
- }, ys = ({ sdk: s, className: n }) => {
2475
- const [, l] = gs(s);
2476
- return /* @__PURE__ */ c(ii, { className: n, feature: l, sdk: s });
2477
- }, ws = ({ sdk: s, overlays: n, children: l }) => {
2478
- const { sdkEnabled: f, sdkReady: g, activeOverlay: m, activateAndLoadOverlay: d, activateEventWithId: o, deactivate: w, isLogged: v } = ms(s);
2479
- return X(() => {
2474
+ }, [n, s, c]), [n, D];
2475
+ }, hs = ({ sdk: s, className: n }) => {
2476
+ const [, c] = js(s);
2477
+ return /* @__PURE__ */ u(tt, { className: n, feature: c, sdk: s });
2478
+ }, ds = ({ sdk: s, overlays: n, children: c }) => {
2479
+ const { sdkEnabled: D, sdkReady: T, activeOverlay: I, activateAndLoadOverlay: N, activateEventWithId: o, deactivate: h, isLogged: A } = Ts(s);
2480
+ return J(() => {
2480
2481
  import("./gamification-feature.js");
2481
- }, []), /* @__PURE__ */ I(ds, { children: [
2482
- f && /* @__PURE__ */ c(
2483
- Ii,
2482
+ }, []), /* @__PURE__ */ d(gs, { children: [
2483
+ D && /* @__PURE__ */ u(
2484
+ dt,
2484
2485
  {
2485
- sdkReady: g,
2486
- activeOverlay: m,
2487
- className: Ze,
2488
- setActiveOverlay: (x) => d("", x)
2486
+ sdkReady: T,
2487
+ activeOverlay: I,
2488
+ className: Ke,
2489
+ setActiveOverlay: (y) => N("", y)
2489
2490
  }
2490
2491
  ),
2491
- g && /* @__PURE__ */ c(hs, { sdk: s }),
2492
- /* @__PURE__ */ c(
2493
- yt,
2492
+ T && /* @__PURE__ */ u(Ns, { sdk: s }),
2493
+ /* @__PURE__ */ u(
2494
+ ji,
2494
2495
  {
2495
- "data-nav": f.toString(),
2496
- style: { display: !f || m === de ? "block" : "none" },
2497
- children: l && l({ activateEventWithId: o, deactivate: w })
2496
+ "data-nav": D.toString(),
2497
+ style: { display: !D || I === Ne ? "block" : "none" },
2498
+ children: c && c({ activateEventWithId: o, deactivate: h })
2498
2499
  }
2499
2500
  ),
2500
- /* @__PURE__ */ c(
2501
- yt,
2501
+ /* @__PURE__ */ u(
2502
+ ji,
2502
2503
  {
2503
- "data-nav": f.toString(),
2504
- style: { display: m === be ? "block" : "none" },
2505
- children: n && m === be && n[m]
2504
+ "data-nav": D.toString(),
2505
+ style: { display: I === ze ? "block" : "none" },
2506
+ children: n && I === ze && n[I]
2506
2507
  }
2507
2508
  ),
2508
- g && m === ee && /* @__PURE__ */ c(ys, { className: Ze, sdk: s }),
2509
- !v && /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "You are not logged in." })
2509
+ T && I === ee && /* @__PURE__ */ u(hs, { className: Ke, sdk: s }),
2510
+ !A && /* @__PURE__ */ u("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "You are not logged in." })
2510
2511
  ] });
2511
2512
  };
2512
- const Fs = ({
2513
+ const ms = ({
2513
2514
  sdkKey: s,
2514
2515
  plugins: n,
2515
- children: l,
2516
- production: f = !0
2517
- }) => /* @__PURE__ */ c(Wt, { sdkKey: s, plugins: n, production: f, autoEnable: !1, children: l }), $s = ({ children: s, overlays: n }) => {
2518
- const { sdk: l, status: f } = Zt(jt);
2519
- if (f === Ht.UNSET)
2516
+ children: c,
2517
+ production: D = !0
2518
+ }) => /* @__PURE__ */ u(Wi, { sdkKey: s, plugins: n, production: D, autoEnable: !1, children: c }), ks = ({ children: s, overlays: n }) => {
2519
+ const { sdk: c, status: D } = Ki(Gi);
2520
+ if (D === Pi.UNSET)
2520
2521
  throw new Error("Wrap app in `StreamLayerProvider`");
2521
- return l ? /* @__PURE__ */ c("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ c(Yt, { style: { height: "100%" }, children: /* @__PURE__ */ c(ws, { sdk: l, overlays: n, children: s }) }) }) : s({});
2522
+ return c ? /* @__PURE__ */ u("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ u(Zi, { style: { height: "100%" }, children: /* @__PURE__ */ u(ds, { sdk: c, overlays: n, children: s }) }) }) : s({});
2522
2523
  };
2523
2524
  export {
2524
- Xr as A,
2525
- Fs as M,
2526
- vn as O,
2527
- Ts as a,
2528
- $s as b,
2529
- Rn as c,
2530
- De as f,
2531
- ps as n,
2532
- Ai as o,
2533
- yt as r,
2534
- tr as u,
2535
- Bi as w
2525
+ Jr as A,
2526
+ ms as M,
2527
+ An as O,
2528
+ ws as a,
2529
+ ks as b,
2530
+ Un as c,
2531
+ Be as f,
2532
+ Ds as n,
2533
+ pt as o,
2534
+ ji as r,
2535
+ ir as u,
2536
+ Et as w
2536
2537
  };