@allior/wmake-streamelements-events 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/index.js +12 -10
- package/dist/react/index.js.map +1 -1
- package/dist/root/index.js +4 -2
- package/dist/root/sources/alerts.js +158 -0
- package/dist/root/sources/alerts.js.map +1 -0
- package/dist/{root-DJod-F4M.js → root/sources/messages.js} +4 -1385
- package/dist/root/sources/messages.js.map +1 -0
- package/dist/root-CowOS1ts.js +1237 -0
- package/dist/root-CowOS1ts.js.map +1 -0
- package/package.json +2 -2
- package/dist/root-DJod-F4M.js.map +0 -1
|
@@ -1,1317 +1,5 @@
|
|
|
1
|
-
//#region src/root/
|
|
2
|
-
|
|
3
|
-
if (e == null) return {
|
|
4
|
-
tier: 0,
|
|
5
|
-
tierText: ""
|
|
6
|
-
};
|
|
7
|
-
let t = typeof e == "string" ? e : String(e), n = parseInt(t, 10);
|
|
8
|
-
return Number.isNaN(n) ? {
|
|
9
|
-
tier: 0,
|
|
10
|
-
tierText: t
|
|
11
|
-
} : {
|
|
12
|
-
tier: n >= 3e3 ? 3 : n >= 2e3 ? 2 : +(n >= 1e3),
|
|
13
|
-
tierText: t
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function t(e) {
|
|
17
|
-
let t = e.listener, n = e.event ?? {}, r = n.activityGroup, i = n.activityId ?? n._id;
|
|
18
|
-
return r ? String(r) : i ? String(i) : t === "subscriber-latest" && n.bulkGifted ? "sl-bulk-" + (n.sender ?? "") + "-" + (n.amount ?? "") + "-" + (n.tier ?? "") + "-" + (n._id ?? "") : `sl-${n._id ?? n.activityId ?? ""}`;
|
|
19
|
-
}
|
|
20
|
-
function n(t) {
|
|
21
|
-
let n = t.listener, r = t.event ?? {}, i = r.data ?? r, a = e(i.tier ?? r.tier);
|
|
22
|
-
if (n === "event") {
|
|
23
|
-
if (r.type === "communityGiftPurchase") {
|
|
24
|
-
let e = i.username && String(i.username).toLowerCase() === "anonymous" || i.sender === "Anonymous";
|
|
25
|
-
return {
|
|
26
|
-
type: e ? "community-gift-anonymous" : "community-gift",
|
|
27
|
-
tier: a.tier,
|
|
28
|
-
tierText: a.tierText,
|
|
29
|
-
totalAmount: parseInt(String(i.amount), 10) || 1,
|
|
30
|
-
recipients: [],
|
|
31
|
-
sender: e ? void 0 : i.sender ?? i.displayName ?? i.username,
|
|
32
|
-
anonymousDisplayName: e ? i.displayName ?? "Anonymous" : void 0
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
if (r.type === "subscriber") {
|
|
36
|
-
let e = i.gifted === !0, n = i.sender, o = parseInt(String(i.amount), 10) || 1, s = i.username ?? i.displayName, c = r.activityGroup;
|
|
37
|
-
if (n === "Anonymous" && c) return {
|
|
38
|
-
type: "community-gift-anonymous",
|
|
39
|
-
_role: "recipient",
|
|
40
|
-
activityGroup: c,
|
|
41
|
-
recipient: s ?? i.displayName,
|
|
42
|
-
tier: a.tier,
|
|
43
|
-
tierText: a.tierText
|
|
44
|
-
};
|
|
45
|
-
if (e && n && n !== "Anonymous") {
|
|
46
|
-
if (!(i.communityGifted === !0 || c != null && c !== "")) {
|
|
47
|
-
let e = String(i.message ?? "").indexOf("first Gift Sub") !== -1;
|
|
48
|
-
return {
|
|
49
|
-
type: "solo-sub-to-someone",
|
|
50
|
-
sender: n,
|
|
51
|
-
recipient: s ?? i.displayName,
|
|
52
|
-
tier: a.tier,
|
|
53
|
-
tierText: a.tierText,
|
|
54
|
-
firstGiftInChannel: e
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
type: "community-gift",
|
|
59
|
-
_role: "recipient",
|
|
60
|
-
activityGroup: c ?? "",
|
|
61
|
-
recipient: s ?? i.displayName,
|
|
62
|
-
tier: a.tier,
|
|
63
|
-
tierText: a.tierText
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
return !e && o > 1 ? {
|
|
67
|
-
type: "sub-renewal",
|
|
68
|
-
name: s ?? i.displayName,
|
|
69
|
-
months: o,
|
|
70
|
-
tier: a.tier,
|
|
71
|
-
tierText: a.tierText
|
|
72
|
-
} : !e && o === 1 ? {
|
|
73
|
-
type: "self-sub",
|
|
74
|
-
name: s ?? i.displayName,
|
|
75
|
-
tier: a.tier,
|
|
76
|
-
tierText: a.tierText
|
|
77
|
-
} : c ? {
|
|
78
|
-
type: "community-gift",
|
|
79
|
-
_role: "recipient",
|
|
80
|
-
activityGroup: c,
|
|
81
|
-
recipient: s ?? i.displayName,
|
|
82
|
-
tier: a.tier,
|
|
83
|
-
tierText: a.tierText
|
|
84
|
-
} : {
|
|
85
|
-
type: "unknown",
|
|
86
|
-
detail: t
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
type: "unknown",
|
|
91
|
-
detail: t
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
if (n === "subscriber-latest") {
|
|
95
|
-
let e = r.bulkGifted === !0, n = r.sender, i = r.name, o = parseInt(String(r.amount), 10) || 1, s = r.gifted === !0, c = r.isCommunityGift === !0 || r.communityGifted === !0;
|
|
96
|
-
if (e && n === "Anonymous") return {
|
|
97
|
-
type: "community-gift-anonymous",
|
|
98
|
-
tier: a.tier,
|
|
99
|
-
tierText: a.tierText,
|
|
100
|
-
totalAmount: o,
|
|
101
|
-
recipients: []
|
|
102
|
-
};
|
|
103
|
-
if (e && n) return {
|
|
104
|
-
type: "community-gift",
|
|
105
|
-
sender: n,
|
|
106
|
-
tier: a.tier,
|
|
107
|
-
tierText: a.tierText,
|
|
108
|
-
totalAmount: o,
|
|
109
|
-
recipients: []
|
|
110
|
-
};
|
|
111
|
-
if (s && !c && n) {
|
|
112
|
-
let e = String(r.message ?? "").indexOf("first Gift Sub") !== -1;
|
|
113
|
-
return {
|
|
114
|
-
type: "solo-sub-to-someone",
|
|
115
|
-
sender: n,
|
|
116
|
-
recipient: i ?? "",
|
|
117
|
-
tier: a.tier,
|
|
118
|
-
tierText: a.tierText,
|
|
119
|
-
firstGiftInChannel: e
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
return !s && o > 1 ? {
|
|
123
|
-
type: "sub-renewal",
|
|
124
|
-
name: i ?? "",
|
|
125
|
-
months: o,
|
|
126
|
-
tier: a.tier,
|
|
127
|
-
tierText: a.tierText
|
|
128
|
-
} : !s && o === 1 && (n == null || i === n) ? {
|
|
129
|
-
type: "self-sub",
|
|
130
|
-
name: i ?? "",
|
|
131
|
-
tier: a.tier,
|
|
132
|
-
tierText: a.tierText
|
|
133
|
-
} : {
|
|
134
|
-
type: "unknown",
|
|
135
|
-
detail: t
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
if (n === "follower-latest") return {
|
|
139
|
-
type: "follow",
|
|
140
|
-
name: r.name ?? ""
|
|
141
|
-
};
|
|
142
|
-
if (n === "cheer-latest") {
|
|
143
|
-
let e = parseInt(String(r.amount), 10) || 0;
|
|
144
|
-
return {
|
|
145
|
-
type: "cheer",
|
|
146
|
-
name: r.name ?? "",
|
|
147
|
-
amount: e
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
if (n === "raid-latest") {
|
|
151
|
-
let e = parseInt(String(r.amount), 10) || 0;
|
|
152
|
-
return {
|
|
153
|
-
type: "raid",
|
|
154
|
-
name: r.name ?? "",
|
|
155
|
-
viewers: e
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
return n === "delete-message" ? {
|
|
159
|
-
type: "delete-message",
|
|
160
|
-
messageId: r.msgId ?? ""
|
|
161
|
-
} : n === "delete-messages" ? {
|
|
162
|
-
type: "delete-messages",
|
|
163
|
-
userName: r.userId ?? ""
|
|
164
|
-
} : n === "event:test" && r.listener === "widget-button" ? {
|
|
165
|
-
type: "button",
|
|
166
|
-
field: r.field
|
|
167
|
-
} : {
|
|
168
|
-
type: "unknown",
|
|
169
|
-
detail: t
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
//#endregion
|
|
173
|
-
//#region src/root/aggregator/index.ts
|
|
174
|
-
var r = 2500, i = {}, a = {};
|
|
175
|
-
function o(e, t) {
|
|
176
|
-
if (!e) return null;
|
|
177
|
-
if (typeof e._has == "function" && typeof e._set == "function") return e;
|
|
178
|
-
let n = e[t];
|
|
179
|
-
return n && typeof n._has == "function" ? n : null;
|
|
180
|
-
}
|
|
181
|
-
function s(e, t, n, r) {
|
|
182
|
-
let i = o(n, t.type);
|
|
183
|
-
i?._has(e) || (i && i._set(e, !0), r(t));
|
|
184
|
-
}
|
|
185
|
-
function c(e, t, n, r) {
|
|
186
|
-
let o = i[e];
|
|
187
|
-
if (!o) return;
|
|
188
|
-
delete i[e], a[e] && (clearTimeout(a[e]), delete a[e]);
|
|
189
|
-
let c = o.purchase, l = o.subscribers ?? [], u = o.type, d = o.tier, f = o.tierText, p = o.totalAmount ?? l.length, m = l.map((e) => e.recipient ?? e.username ?? e.name).filter(Boolean), h = l[0]?.sender, g = c?.sender ?? o.sender ?? h;
|
|
190
|
-
u === "community-gift" && r && g === r || (u === "community-gift-anonymous" ? s(e, {
|
|
191
|
-
type: "community-gift-anonymous",
|
|
192
|
-
tier: d,
|
|
193
|
-
tierText: f,
|
|
194
|
-
totalAmount: p,
|
|
195
|
-
recipients: m,
|
|
196
|
-
anonymousDisplayName: c?.anonymousDisplayName
|
|
197
|
-
}, t, n) : s(e, {
|
|
198
|
-
type: "community-gift",
|
|
199
|
-
sender: g,
|
|
200
|
-
tier: d,
|
|
201
|
-
tierText: f,
|
|
202
|
-
totalAmount: p,
|
|
203
|
-
recipients: m
|
|
204
|
-
}, t, n));
|
|
205
|
-
}
|
|
206
|
-
function l(e, o, s) {
|
|
207
|
-
let l = o?.cacheSubs, u = o?.broadcasterLogin ?? "", d = n(e);
|
|
208
|
-
if (!d) {
|
|
209
|
-
s(null);
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
let f = t(e), p = e.event ?? {}, m = p.data ?? p;
|
|
213
|
-
if (d._role === "recipient") {
|
|
214
|
-
let e = d, t = e.activityGroup ?? f;
|
|
215
|
-
i[t] || (i[t] = {
|
|
216
|
-
type: e.type,
|
|
217
|
-
subscribers: [],
|
|
218
|
-
tier: e.tier,
|
|
219
|
-
tierText: e.tierText,
|
|
220
|
-
totalAmount: 0
|
|
221
|
-
}), a[t] && clearTimeout(a[t]), a[t] = setTimeout(() => {
|
|
222
|
-
c(t, l, s, u);
|
|
223
|
-
}, r), i[t].subscribers.push({
|
|
224
|
-
recipient: e.recipient,
|
|
225
|
-
username: m.username,
|
|
226
|
-
name: m.displayName,
|
|
227
|
-
sender: m.sender
|
|
228
|
-
}), i[t].totalAmount === 0 && (i[t].totalAmount = 1);
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
231
|
-
if (d.type === "community-gift-anonymous" || d.type === "community-gift") {
|
|
232
|
-
if (e.listener === "event" && p.type === "communityGiftPurchase") {
|
|
233
|
-
let e = p.activityGroup ?? m?.activityGroup ?? f, t = d;
|
|
234
|
-
i[e] ? (i[e].purchase = t, i[e].tier = t.tier, i[e].tierText = t.tierText, i[e].totalAmount = t.totalAmount ?? i[e].totalAmount, i[e].sender = t.sender, a[e] && clearTimeout(a[e]), a[e] = setTimeout(() => {
|
|
235
|
-
c(e, l, s, u);
|
|
236
|
-
}, r)) : (i[e] = {
|
|
237
|
-
type: t.type,
|
|
238
|
-
purchase: t,
|
|
239
|
-
subscribers: [],
|
|
240
|
-
tier: t.tier,
|
|
241
|
-
tierText: t.tierText,
|
|
242
|
-
totalAmount: Number(t.totalAmount) || 0,
|
|
243
|
-
sender: t.sender
|
|
244
|
-
}, a[e] = setTimeout(() => {
|
|
245
|
-
c(e, l, s, u);
|
|
246
|
-
}, r));
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
if (e.listener === "subscriber-latest") {
|
|
250
|
-
let e = d;
|
|
251
|
-
if (d.type === "community-gift" && u && e.sender === u) {
|
|
252
|
-
s(null);
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
return;
|
|
256
|
-
}
|
|
257
|
-
return;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
//#endregion
|
|
261
|
-
//#region src/root/sources/on-widget-load-detail.ts
|
|
262
|
-
var u = {
|
|
263
|
-
session: {
|
|
264
|
-
data: {
|
|
265
|
-
"follower-latest": { name: "imacanadiannn" },
|
|
266
|
-
"follower-session": { count: 0 },
|
|
267
|
-
"follower-week": { count: 0 },
|
|
268
|
-
"follower-month": { count: 0 },
|
|
269
|
-
"follower-goal": { amount: 137 },
|
|
270
|
-
"follower-total": {
|
|
271
|
-
count: 118,
|
|
272
|
-
activityId: "",
|
|
273
|
-
sessionTop: !1
|
|
274
|
-
},
|
|
275
|
-
"subscriber-latest": {
|
|
276
|
-
name: "",
|
|
277
|
-
amount: 0,
|
|
278
|
-
tier: "",
|
|
279
|
-
message: ""
|
|
280
|
-
},
|
|
281
|
-
"subscriber-new-latest": {
|
|
282
|
-
name: "",
|
|
283
|
-
amount: 0,
|
|
284
|
-
message: ""
|
|
285
|
-
},
|
|
286
|
-
"subscriber-resub-latest": {
|
|
287
|
-
name: "",
|
|
288
|
-
amount: 0,
|
|
289
|
-
message: ""
|
|
290
|
-
},
|
|
291
|
-
"subscriber-gifted-latest": {
|
|
292
|
-
name: "",
|
|
293
|
-
amount: 0,
|
|
294
|
-
message: "",
|
|
295
|
-
tier: "",
|
|
296
|
-
sender: ""
|
|
297
|
-
},
|
|
298
|
-
"subscriber-session": { count: 0 },
|
|
299
|
-
"subscriber-new-session": { count: 0 },
|
|
300
|
-
"subscriber-resub-session": { count: 0 },
|
|
301
|
-
"subscriber-gifted-session": { count: 0 },
|
|
302
|
-
"subscriber-week": { count: 0 },
|
|
303
|
-
"subscriber-month": { count: 0 },
|
|
304
|
-
"subscriber-goal": { amount: 0 },
|
|
305
|
-
"subscriber-total": {
|
|
306
|
-
count: 0,
|
|
307
|
-
activityId: "",
|
|
308
|
-
sessionTop: !1
|
|
309
|
-
},
|
|
310
|
-
"subscriber-points": {
|
|
311
|
-
amount: 0,
|
|
312
|
-
activityId: "",
|
|
313
|
-
sessionTop: !1
|
|
314
|
-
},
|
|
315
|
-
"subscriber-alltime-gifter": {
|
|
316
|
-
name: "",
|
|
317
|
-
amount: 0
|
|
318
|
-
},
|
|
319
|
-
"host-latest": {
|
|
320
|
-
name: "",
|
|
321
|
-
amount: 0
|
|
322
|
-
},
|
|
323
|
-
"raid-latest": {
|
|
324
|
-
name: "agnascor2",
|
|
325
|
-
amount: 6
|
|
326
|
-
},
|
|
327
|
-
"cheer-session": { amount: 0 },
|
|
328
|
-
"cheer-week": { amount: 0 },
|
|
329
|
-
"cheer-month": { amount: 0 },
|
|
330
|
-
"cheer-total": { amount: 0 },
|
|
331
|
-
"cheer-count": { count: 0 },
|
|
332
|
-
"cheer-goal": { amount: 0 },
|
|
333
|
-
"cheer-latest": {
|
|
334
|
-
name: "",
|
|
335
|
-
amount: 0
|
|
336
|
-
},
|
|
337
|
-
"cheer-session-top-donation": {
|
|
338
|
-
amount: 0,
|
|
339
|
-
name: ""
|
|
340
|
-
},
|
|
341
|
-
"cheer-weekly-top-donation": {
|
|
342
|
-
amount: 0,
|
|
343
|
-
name: ""
|
|
344
|
-
},
|
|
345
|
-
"cheer-monthly-top-donation": {
|
|
346
|
-
amount: 0,
|
|
347
|
-
name: ""
|
|
348
|
-
},
|
|
349
|
-
"cheer-alltime-top-donation": {
|
|
350
|
-
amount: 0,
|
|
351
|
-
name: ""
|
|
352
|
-
},
|
|
353
|
-
"cheer-session-top-donator": {
|
|
354
|
-
amount: 0,
|
|
355
|
-
name: ""
|
|
356
|
-
},
|
|
357
|
-
"cheer-weekly-top-donator": {
|
|
358
|
-
amount: 0,
|
|
359
|
-
name: ""
|
|
360
|
-
},
|
|
361
|
-
"cheer-monthly-top-donator": {
|
|
362
|
-
amount: 0,
|
|
363
|
-
name: ""
|
|
364
|
-
},
|
|
365
|
-
"cheer-alltime-top-donator": {
|
|
366
|
-
amount: 0,
|
|
367
|
-
name: ""
|
|
368
|
-
},
|
|
369
|
-
"tip-latest": {
|
|
370
|
-
name: "",
|
|
371
|
-
amount: 0
|
|
372
|
-
},
|
|
373
|
-
"tip-session-top-donation": {
|
|
374
|
-
amount: 0,
|
|
375
|
-
name: ""
|
|
376
|
-
},
|
|
377
|
-
"tip-weekly-top-donation": {
|
|
378
|
-
name: "",
|
|
379
|
-
amount: 0
|
|
380
|
-
},
|
|
381
|
-
"tip-monthly-top-donation": {
|
|
382
|
-
name: "",
|
|
383
|
-
amount: 0
|
|
384
|
-
},
|
|
385
|
-
"tip-alltime-top-donation": {
|
|
386
|
-
name: "",
|
|
387
|
-
amount: 0
|
|
388
|
-
},
|
|
389
|
-
"tip-session-top-donator": {
|
|
390
|
-
amount: 0,
|
|
391
|
-
name: ""
|
|
392
|
-
},
|
|
393
|
-
"tip-weekly-top-donator": {
|
|
394
|
-
name: "",
|
|
395
|
-
amount: 0
|
|
396
|
-
},
|
|
397
|
-
"tip-monthly-top-donator": {
|
|
398
|
-
name: "",
|
|
399
|
-
amount: 0
|
|
400
|
-
},
|
|
401
|
-
"tip-alltime-top-donator": {
|
|
402
|
-
name: "",
|
|
403
|
-
amount: 0
|
|
404
|
-
},
|
|
405
|
-
"tip-session": { amount: 0 },
|
|
406
|
-
"tip-week": { amount: 0 },
|
|
407
|
-
"tip-month": { amount: 0 },
|
|
408
|
-
"tip-total": { amount: 0 },
|
|
409
|
-
"tip-count": { count: 0 },
|
|
410
|
-
"tip-goal": { amount: 0 },
|
|
411
|
-
"merch-goal-orders": { amount: 0 },
|
|
412
|
-
"merch-goal-items": { amount: 0 },
|
|
413
|
-
"merch-goal-total": { amount: 0 },
|
|
414
|
-
"merch-latest": {
|
|
415
|
-
name: "",
|
|
416
|
-
amount: 0,
|
|
417
|
-
items: []
|
|
418
|
-
},
|
|
419
|
-
"charityCampaignDonation-latest": {
|
|
420
|
-
name: "",
|
|
421
|
-
amount: 0
|
|
422
|
-
},
|
|
423
|
-
"charityCampaignDonation-weekly-top-donation": {
|
|
424
|
-
name: "",
|
|
425
|
-
amount: 0
|
|
426
|
-
},
|
|
427
|
-
"charityCampaignDonation-monthly-top-donation": {
|
|
428
|
-
name: "",
|
|
429
|
-
amount: 0
|
|
430
|
-
},
|
|
431
|
-
"charityCampaignDonation-alltime-top-donation": {
|
|
432
|
-
name: "",
|
|
433
|
-
amount: 0
|
|
434
|
-
},
|
|
435
|
-
"charityCampaignDonation-weekly-top-donator": {
|
|
436
|
-
name: "",
|
|
437
|
-
amount: 0
|
|
438
|
-
},
|
|
439
|
-
"charityCampaignDonation-monthly-top-donator": {
|
|
440
|
-
name: "",
|
|
441
|
-
amount: 0
|
|
442
|
-
},
|
|
443
|
-
"charityCampaignDonation-alltime-top-donator": {
|
|
444
|
-
name: "",
|
|
445
|
-
amount: 0
|
|
446
|
-
},
|
|
447
|
-
"cheerPurchase-latest": {
|
|
448
|
-
name: "",
|
|
449
|
-
amount: 0
|
|
450
|
-
},
|
|
451
|
-
"cheerPurchase-weekly-top-donation": {
|
|
452
|
-
name: "",
|
|
453
|
-
amount: 0
|
|
454
|
-
},
|
|
455
|
-
"cheerPurchase-monthly-top-donation": {
|
|
456
|
-
name: "",
|
|
457
|
-
amount: 0
|
|
458
|
-
},
|
|
459
|
-
"cheerPurchase-alltime-top-donation": {
|
|
460
|
-
name: "",
|
|
461
|
-
amount: 0
|
|
462
|
-
},
|
|
463
|
-
"cheerPurchase-weekly-top-donator": {
|
|
464
|
-
name: "",
|
|
465
|
-
amount: 0
|
|
466
|
-
},
|
|
467
|
-
"cheerPurchase-monthly-top-donator": {
|
|
468
|
-
name: "",
|
|
469
|
-
amount: 0
|
|
470
|
-
},
|
|
471
|
-
"cheerPurchase-alltime-top-donator": {
|
|
472
|
-
name: "",
|
|
473
|
-
amount: 0
|
|
474
|
-
},
|
|
475
|
-
"superchat-latest": {
|
|
476
|
-
name: "",
|
|
477
|
-
amount: 0
|
|
478
|
-
},
|
|
479
|
-
"superchat-weekly-top-donation": {
|
|
480
|
-
name: "",
|
|
481
|
-
amount: 0
|
|
482
|
-
},
|
|
483
|
-
"superchat-monthly-top-donation": {
|
|
484
|
-
name: "",
|
|
485
|
-
amount: 0
|
|
486
|
-
},
|
|
487
|
-
"superchat-alltime-top-donation": {
|
|
488
|
-
name: "",
|
|
489
|
-
amount: 0
|
|
490
|
-
},
|
|
491
|
-
"superchat-weekly-top-donator": {
|
|
492
|
-
name: "",
|
|
493
|
-
amount: 0
|
|
494
|
-
},
|
|
495
|
-
"superchat-monthly-top-donator": {
|
|
496
|
-
name: "",
|
|
497
|
-
amount: 0
|
|
498
|
-
},
|
|
499
|
-
"superchat-alltime-top-donator": {
|
|
500
|
-
name: "",
|
|
501
|
-
amount: 0
|
|
502
|
-
},
|
|
503
|
-
"superchat-session": { amount: 0 },
|
|
504
|
-
"superchat-week": { amount: 0 },
|
|
505
|
-
"superchat-month": { amount: 0 },
|
|
506
|
-
"superchat-total": { amount: 0 },
|
|
507
|
-
"superchat-count": { count: 0 },
|
|
508
|
-
"superchat-goal": { amount: 0 },
|
|
509
|
-
"purchase-latest": {
|
|
510
|
-
name: "",
|
|
511
|
-
amount: 0,
|
|
512
|
-
avatar: "",
|
|
513
|
-
message: "",
|
|
514
|
-
items: []
|
|
515
|
-
},
|
|
516
|
-
"follower-recent": [
|
|
517
|
-
{
|
|
518
|
-
name: "imacanadiannn",
|
|
519
|
-
createdAt: "2026-01-13T01:53:50.296Z",
|
|
520
|
-
type: "follower"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
name: "piwo143",
|
|
524
|
-
createdAt: "2026-01-13T01:51:39.472Z",
|
|
525
|
-
type: "follower"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
name: "latvan_",
|
|
529
|
-
createdAt: "2026-01-12T23:54:29.235Z",
|
|
530
|
-
type: "follower"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
name: "wheinwait",
|
|
534
|
-
createdAt: "2026-01-12T23:11:28.946Z",
|
|
535
|
-
type: "follower"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
name: "agnascor2",
|
|
539
|
-
createdAt: "2026-01-12T23:11:14.880Z",
|
|
540
|
-
type: "follower"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
name: "sunlitetuts",
|
|
544
|
-
createdAt: "2026-01-12T21:03:59.207Z",
|
|
545
|
-
type: "follower"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
name: "ayanamya",
|
|
549
|
-
createdAt: "2026-01-12T20:00:55.509Z",
|
|
550
|
-
type: "follower"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
name: "hopeless28",
|
|
554
|
-
createdAt: "2026-01-12T18:35:21.731Z",
|
|
555
|
-
type: "follower"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
name: "kakoytoclown",
|
|
559
|
-
createdAt: "2026-01-11T18:39:36.843Z",
|
|
560
|
-
type: "follower"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
name: "dababe__jq1",
|
|
564
|
-
createdAt: "2024-10-10T23:27:49.699Z",
|
|
565
|
-
type: "follower"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
name: "jjjllkmf",
|
|
569
|
-
createdAt: "2024-05-05T09:44:16.287Z",
|
|
570
|
-
type: "follower"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
name: "d4c_valintine",
|
|
574
|
-
createdAt: "2024-05-03T15:13:28.365Z",
|
|
575
|
-
type: "follower"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
name: "angelbliss_",
|
|
579
|
-
createdAt: "2024-04-30T20:07:23.132Z",
|
|
580
|
-
type: "follower"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
name: "o1zich",
|
|
584
|
-
createdAt: "2024-04-22T16:23:26.139Z",
|
|
585
|
-
type: "follower"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
name: "nearbuziky",
|
|
589
|
-
createdAt: "2024-04-19T19:21:27.569Z",
|
|
590
|
-
type: "follower"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
name: "samirkasamsa",
|
|
594
|
-
createdAt: "2024-04-19T17:06:38.963Z",
|
|
595
|
-
type: "follower"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
name: "flip1mip",
|
|
599
|
-
createdAt: "2024-04-19T17:06:18.276Z",
|
|
600
|
-
type: "follower"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
name: "valerie_solo",
|
|
604
|
-
createdAt: "2024-04-19T17:06:07.473Z",
|
|
605
|
-
type: "follower"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
name: "sxaelence",
|
|
609
|
-
createdAt: "2024-04-19T07:06:46.330Z",
|
|
610
|
-
type: "follower"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
name: "avokadik99",
|
|
614
|
-
createdAt: "2024-04-17T16:11:29.604Z",
|
|
615
|
-
type: "follower"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
name: "blackvoronstream",
|
|
619
|
-
createdAt: "2024-04-16T21:29:33.306Z",
|
|
620
|
-
type: "follower"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
name: "baldejniyy",
|
|
624
|
-
createdAt: "2024-04-16T21:29:09.647Z",
|
|
625
|
-
type: "follower"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
name: "p3ch4n_ka",
|
|
629
|
-
createdAt: "2024-04-16T16:37:31.841Z",
|
|
630
|
-
type: "follower"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
name: "kakosik_bee",
|
|
634
|
-
createdAt: "2024-04-16T15:56:27.435Z",
|
|
635
|
-
type: "follower"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
name: "hikotoru",
|
|
639
|
-
createdAt: "2024-04-16T15:13:25.226Z",
|
|
640
|
-
type: "follower"
|
|
641
|
-
}
|
|
642
|
-
],
|
|
643
|
-
"subscriber-recent": [],
|
|
644
|
-
"host-recent": [],
|
|
645
|
-
"raid-recent": [
|
|
646
|
-
{
|
|
647
|
-
name: "agnascor2",
|
|
648
|
-
amount: 6,
|
|
649
|
-
createdAt: "2026-01-12T23:08:21.815Z",
|
|
650
|
-
type: "raid"
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
name: "justduckomgg",
|
|
654
|
-
amount: 7,
|
|
655
|
-
createdAt: "2024-04-19T17:05:53.185Z",
|
|
656
|
-
type: "raid"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
name: "veessmk",
|
|
660
|
-
amount: 6,
|
|
661
|
-
createdAt: "2024-04-17T15:40:43.945Z",
|
|
662
|
-
type: "raid"
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
name: "night_sculptor",
|
|
666
|
-
amount: 12,
|
|
667
|
-
createdAt: "2024-04-16T18:07:40.040Z",
|
|
668
|
-
type: "raid"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
name: "pixiemays",
|
|
672
|
-
amount: 6,
|
|
673
|
-
createdAt: "2024-04-16T16:37:24.433Z",
|
|
674
|
-
type: "raid"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
name: "night_sculptor",
|
|
678
|
-
amount: 8,
|
|
679
|
-
createdAt: "2024-04-14T18:31:20.049Z",
|
|
680
|
-
type: "raid"
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
name: "pixiemays",
|
|
684
|
-
amount: 19,
|
|
685
|
-
createdAt: "2024-04-14T13:22:05.794Z",
|
|
686
|
-
type: "raid"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
name: "pixiemays",
|
|
690
|
-
amount: 15,
|
|
691
|
-
createdAt: "2024-04-12T17:03:36.115Z",
|
|
692
|
-
type: "raid"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
name: "alechkavt",
|
|
696
|
-
amount: 9,
|
|
697
|
-
createdAt: "2024-04-11T17:54:47.691Z",
|
|
698
|
-
type: "raid"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
name: "pixiemays",
|
|
702
|
-
amount: 8,
|
|
703
|
-
createdAt: "2024-04-11T14:10:49.548Z",
|
|
704
|
-
type: "raid"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
name: "night_sculptor",
|
|
708
|
-
amount: 22,
|
|
709
|
-
createdAt: "2024-04-09T16:13:41.195Z",
|
|
710
|
-
type: "raid"
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
name: "pixiemays",
|
|
714
|
-
amount: 5,
|
|
715
|
-
createdAt: "2024-04-08T09:54:01.603Z",
|
|
716
|
-
type: "raid"
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
name: "aki_neki",
|
|
720
|
-
amount: 5,
|
|
721
|
-
createdAt: "2024-04-07T21:52:45.919Z",
|
|
722
|
-
type: "raid"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
name: "alechkavt",
|
|
726
|
-
amount: 11,
|
|
727
|
-
createdAt: "2024-04-07T18:59:39.286Z",
|
|
728
|
-
type: "raid"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
name: "veessmk",
|
|
732
|
-
amount: 15,
|
|
733
|
-
createdAt: "2024-04-07T16:13:25.172Z",
|
|
734
|
-
type: "raid"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
name: "veessmk",
|
|
738
|
-
amount: 10,
|
|
739
|
-
createdAt: "2024-03-17T16:11:38.631Z",
|
|
740
|
-
type: "raid"
|
|
741
|
-
}
|
|
742
|
-
],
|
|
743
|
-
"charityCampaignDonation-recent": [],
|
|
744
|
-
"cheer-recent": [],
|
|
745
|
-
"cheerPurchase-recent": [],
|
|
746
|
-
"superchat-recent": [],
|
|
747
|
-
"tip-recent": [],
|
|
748
|
-
"merch-recent": [],
|
|
749
|
-
"channel-points-latest": {
|
|
750
|
-
amount: 0,
|
|
751
|
-
message: "",
|
|
752
|
-
name: "",
|
|
753
|
-
redemption: ""
|
|
754
|
-
},
|
|
755
|
-
"community-gift-latest": {
|
|
756
|
-
amount: 0,
|
|
757
|
-
name: "",
|
|
758
|
-
tier: ""
|
|
759
|
-
},
|
|
760
|
-
"charityCampaignDonation-session-top-donation": {
|
|
761
|
-
amount: 0,
|
|
762
|
-
name: ""
|
|
763
|
-
},
|
|
764
|
-
"charityCampaignDonation-session-top-donator": {
|
|
765
|
-
amount: 0,
|
|
766
|
-
name: ""
|
|
767
|
-
},
|
|
768
|
-
"cheerPurchase-session-top-donation": {
|
|
769
|
-
amount: 0,
|
|
770
|
-
name: ""
|
|
771
|
-
},
|
|
772
|
-
"cheerPurchase-session-top-donator": {
|
|
773
|
-
amount: 0,
|
|
774
|
-
name: ""
|
|
775
|
-
},
|
|
776
|
-
"hypetrain-latest": {
|
|
777
|
-
active: 0,
|
|
778
|
-
amount: 0,
|
|
779
|
-
level: 0,
|
|
780
|
-
levelChanged: 0,
|
|
781
|
-
name: "",
|
|
782
|
-
type: ""
|
|
783
|
-
},
|
|
784
|
-
"hypetrain-latest-top-contributors": [],
|
|
785
|
-
"hypetrain-level-goal": { amount: 0 },
|
|
786
|
-
"hypetrain-level-progress": {
|
|
787
|
-
amount: 0,
|
|
788
|
-
percent: 0
|
|
789
|
-
},
|
|
790
|
-
"hypetrain-total": { amount: 0 },
|
|
791
|
-
"superchat-session-top-donation": {
|
|
792
|
-
amount: 0,
|
|
793
|
-
name: ""
|
|
794
|
-
},
|
|
795
|
-
"superchat-session-top-donator": {
|
|
796
|
-
amount: 0,
|
|
797
|
-
name: ""
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
settings: {
|
|
801
|
-
autoReset: !0,
|
|
802
|
-
calendar: !1,
|
|
803
|
-
resetOnStart: !1
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
recents: [
|
|
807
|
-
{
|
|
808
|
-
name: "imacanadiannn",
|
|
809
|
-
createdAt: "2026-01-13T01:53:50.296Z",
|
|
810
|
-
type: "follower"
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
name: "piwo143",
|
|
814
|
-
createdAt: "2026-01-13T01:51:39.472Z",
|
|
815
|
-
type: "follower"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
name: "latvan_",
|
|
819
|
-
createdAt: "2026-01-12T23:54:29.235Z",
|
|
820
|
-
type: "follower"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
name: "wheinwait",
|
|
824
|
-
createdAt: "2026-01-12T23:11:28.946Z",
|
|
825
|
-
type: "follower"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
name: "agnascor2",
|
|
829
|
-
createdAt: "2026-01-12T23:11:14.880Z",
|
|
830
|
-
type: "follower"
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
name: "sunlitetuts",
|
|
834
|
-
createdAt: "2026-01-12T21:03:59.207Z",
|
|
835
|
-
type: "follower"
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
name: "ayanamya",
|
|
839
|
-
createdAt: "2026-01-12T20:00:55.509Z",
|
|
840
|
-
type: "follower"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
name: "hopeless28",
|
|
844
|
-
createdAt: "2026-01-12T18:35:21.731Z",
|
|
845
|
-
type: "follower"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
name: "kakoytoclown",
|
|
849
|
-
createdAt: "2026-01-11T18:39:36.843Z",
|
|
850
|
-
type: "follower"
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
name: "dababe__jq1",
|
|
854
|
-
createdAt: "2024-10-10T23:27:49.699Z",
|
|
855
|
-
type: "follower"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
name: "jjjllkmf",
|
|
859
|
-
createdAt: "2024-05-05T09:44:16.287Z",
|
|
860
|
-
type: "follower"
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
name: "d4c_valintine",
|
|
864
|
-
createdAt: "2024-05-03T15:13:28.365Z",
|
|
865
|
-
type: "follower"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
name: "angelbliss_",
|
|
869
|
-
createdAt: "2024-04-30T20:07:23.132Z",
|
|
870
|
-
type: "follower"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
name: "o1zich",
|
|
874
|
-
createdAt: "2024-04-22T16:23:26.139Z",
|
|
875
|
-
type: "follower"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
name: "nearbuziky",
|
|
879
|
-
createdAt: "2024-04-19T19:21:27.569Z",
|
|
880
|
-
type: "follower"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
name: "samirkasamsa",
|
|
884
|
-
createdAt: "2024-04-19T17:06:38.963Z",
|
|
885
|
-
type: "follower"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
name: "flip1mip",
|
|
889
|
-
createdAt: "2024-04-19T17:06:18.276Z",
|
|
890
|
-
type: "follower"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
name: "valerie_solo",
|
|
894
|
-
createdAt: "2024-04-19T17:06:07.473Z",
|
|
895
|
-
type: "follower"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
name: "sxaelence",
|
|
899
|
-
createdAt: "2024-04-19T07:06:46.330Z",
|
|
900
|
-
type: "follower"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
name: "avokadik99",
|
|
904
|
-
createdAt: "2024-04-17T16:11:29.604Z",
|
|
905
|
-
type: "follower"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
name: "blackvoronstream",
|
|
909
|
-
createdAt: "2024-04-16T21:29:33.306Z",
|
|
910
|
-
type: "follower"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
name: "baldejniyy",
|
|
914
|
-
createdAt: "2024-04-16T21:29:09.647Z",
|
|
915
|
-
type: "follower"
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
name: "p3ch4n_ka",
|
|
919
|
-
createdAt: "2024-04-16T16:37:31.841Z",
|
|
920
|
-
type: "follower"
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
name: "kakosik_bee",
|
|
924
|
-
createdAt: "2024-04-16T15:56:27.435Z",
|
|
925
|
-
type: "follower"
|
|
926
|
-
},
|
|
927
|
-
{
|
|
928
|
-
name: "hikotoru",
|
|
929
|
-
createdAt: "2024-04-16T15:13:25.226Z",
|
|
930
|
-
type: "follower"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
name: "agnascor2",
|
|
934
|
-
amount: 6,
|
|
935
|
-
createdAt: "2026-01-12T23:08:21.815Z",
|
|
936
|
-
type: "raid"
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
name: "justduckomgg",
|
|
940
|
-
amount: 7,
|
|
941
|
-
createdAt: "2024-04-19T17:05:53.185Z",
|
|
942
|
-
type: "raid"
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
name: "veessmk",
|
|
946
|
-
amount: 6,
|
|
947
|
-
createdAt: "2024-04-17T15:40:43.945Z",
|
|
948
|
-
type: "raid"
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
name: "night_sculptor",
|
|
952
|
-
amount: 12,
|
|
953
|
-
createdAt: "2024-04-16T18:07:40.040Z",
|
|
954
|
-
type: "raid"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
name: "pixiemays",
|
|
958
|
-
amount: 6,
|
|
959
|
-
createdAt: "2024-04-16T16:37:24.433Z",
|
|
960
|
-
type: "raid"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
name: "night_sculptor",
|
|
964
|
-
amount: 8,
|
|
965
|
-
createdAt: "2024-04-14T18:31:20.049Z",
|
|
966
|
-
type: "raid"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
name: "pixiemays",
|
|
970
|
-
amount: 19,
|
|
971
|
-
createdAt: "2024-04-14T13:22:05.794Z",
|
|
972
|
-
type: "raid"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
name: "pixiemays",
|
|
976
|
-
amount: 15,
|
|
977
|
-
createdAt: "2024-04-12T17:03:36.115Z",
|
|
978
|
-
type: "raid"
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
name: "alechkavt",
|
|
982
|
-
amount: 9,
|
|
983
|
-
createdAt: "2024-04-11T17:54:47.691Z",
|
|
984
|
-
type: "raid"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
name: "pixiemays",
|
|
988
|
-
amount: 8,
|
|
989
|
-
createdAt: "2024-04-11T14:10:49.548Z",
|
|
990
|
-
type: "raid"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
name: "night_sculptor",
|
|
994
|
-
amount: 22,
|
|
995
|
-
createdAt: "2024-04-09T16:13:41.195Z",
|
|
996
|
-
type: "raid"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
name: "pixiemays",
|
|
1000
|
-
amount: 5,
|
|
1001
|
-
createdAt: "2024-04-08T09:54:01.603Z",
|
|
1002
|
-
type: "raid"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
name: "aki_neki",
|
|
1006
|
-
amount: 5,
|
|
1007
|
-
createdAt: "2024-04-07T21:52:45.919Z",
|
|
1008
|
-
type: "raid"
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
name: "alechkavt",
|
|
1012
|
-
amount: 11,
|
|
1013
|
-
createdAt: "2024-04-07T18:59:39.286Z",
|
|
1014
|
-
type: "raid"
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
name: "veessmk",
|
|
1018
|
-
amount: 15,
|
|
1019
|
-
createdAt: "2024-04-07T16:13:25.172Z",
|
|
1020
|
-
type: "raid"
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
name: "veessmk",
|
|
1024
|
-
amount: 10,
|
|
1025
|
-
createdAt: "2024-03-17T16:11:38.631Z",
|
|
1026
|
-
type: "raid"
|
|
1027
|
-
}
|
|
1028
|
-
],
|
|
1029
|
-
currency: {
|
|
1030
|
-
code: "USD",
|
|
1031
|
-
name: "U.S. Dollar",
|
|
1032
|
-
symbol: "$"
|
|
1033
|
-
},
|
|
1034
|
-
channel: {
|
|
1035
|
-
username: "encry_s",
|
|
1036
|
-
apiToken: "HAHANOTNOW",
|
|
1037
|
-
id: "65ba7503dc0415cb368947b1",
|
|
1038
|
-
providerId: "485678132",
|
|
1039
|
-
avatar: "https://static-cdn.jtvnw.net/jtv_user_pictures/6fe93724-803a-4e5a-b58a-1d42fbc84661-profile_image-300x300.jpeg"
|
|
1040
|
-
},
|
|
1041
|
-
fieldData: {
|
|
1042
|
-
testMessageButton: "zaytri_dynamicchatbubbles",
|
|
1043
|
-
previewMode: !1,
|
|
1044
|
-
previewType: "random",
|
|
1045
|
-
previewMessage: "",
|
|
1046
|
-
theme: "animal-crossing",
|
|
1047
|
-
corner: "round",
|
|
1048
|
-
darkMode: !1,
|
|
1049
|
-
highlightStyle: "normal",
|
|
1050
|
-
actionStyle: "italics",
|
|
1051
|
-
maxWidth: 400,
|
|
1052
|
-
maxHeight: 300,
|
|
1053
|
-
fixedWidth: !1,
|
|
1054
|
-
positionMode: "list",
|
|
1055
|
-
listDirection: "bottom",
|
|
1056
|
-
listAlignment: "center",
|
|
1057
|
-
topEdge: !0,
|
|
1058
|
-
bottomEdge: !0,
|
|
1059
|
-
leftEdge: !0,
|
|
1060
|
-
rightEdge: !0,
|
|
1061
|
-
edgeDeviation: 0,
|
|
1062
|
-
padding: 30,
|
|
1063
|
-
animation: "dynamic",
|
|
1064
|
-
dynamicModifier: 1.75,
|
|
1065
|
-
maxMessages: 25,
|
|
1066
|
-
hideOutOfBounds: !0,
|
|
1067
|
-
lifetime: 0,
|
|
1068
|
-
delay: 1,
|
|
1069
|
-
googleFont: "Nunito",
|
|
1070
|
-
customFont: "",
|
|
1071
|
-
fontSize: 18,
|
|
1072
|
-
fontWeight: "bold",
|
|
1073
|
-
textDirection: "ltr",
|
|
1074
|
-
useCustomBorderColors: !0,
|
|
1075
|
-
borderColor: "#fed400",
|
|
1076
|
-
nameColor: "#000000",
|
|
1077
|
-
useCustomMessageColors: !0,
|
|
1078
|
-
backgroundColor: "#fff3c0",
|
|
1079
|
-
textColor: "#000000",
|
|
1080
|
-
pronounsMode: "suffix",
|
|
1081
|
-
pronounsLowercase: !0,
|
|
1082
|
-
pronounsBadgeCustomColors: !1,
|
|
1083
|
-
pronounsBadgeBackgroundColor: "#000000",
|
|
1084
|
-
pronounsBadgeBorderColor: "#FFFFFF",
|
|
1085
|
-
pronounsBadgeTextColor: "#FFFFFF",
|
|
1086
|
-
showBadges: !0,
|
|
1087
|
-
largeEmotes: !0,
|
|
1088
|
-
ffzGlobal: !1,
|
|
1089
|
-
bttvGlobal: !1,
|
|
1090
|
-
emoteOnly: !1,
|
|
1091
|
-
highlightOnly: !1,
|
|
1092
|
-
allowedStrings: [],
|
|
1093
|
-
minMessages: 0,
|
|
1094
|
-
messageCooldown: 0,
|
|
1095
|
-
raidCooldown: 0,
|
|
1096
|
-
raidMin: 0,
|
|
1097
|
-
includeEveryone: !0,
|
|
1098
|
-
includeFollowers: "true",
|
|
1099
|
-
minFollowTime: 1,
|
|
1100
|
-
includeSubs: !0,
|
|
1101
|
-
includeVIPs: !0,
|
|
1102
|
-
includeMods: !0,
|
|
1103
|
-
allowUserList: [],
|
|
1104
|
-
ignoreUserList: [
|
|
1105
|
-
"StreamElements",
|
|
1106
|
-
"Streamlabs",
|
|
1107
|
-
"Nightbot",
|
|
1108
|
-
"Sery_Bot"
|
|
1109
|
-
],
|
|
1110
|
-
ignorePrefixList: ["!"],
|
|
1111
|
-
volume: 50,
|
|
1112
|
-
soundGroup1: [],
|
|
1113
|
-
userLevelSoundGroup1: "everyone",
|
|
1114
|
-
specificUsersSoundGroup1: [],
|
|
1115
|
-
messageTypeSoundGroup1: "all",
|
|
1116
|
-
soundGroup2: [],
|
|
1117
|
-
userLevelSoundGroup2: "everyone",
|
|
1118
|
-
specificUsersSoundGroup2: [],
|
|
1119
|
-
messageTypeSoundGroup2: "all",
|
|
1120
|
-
soundGroup3: [],
|
|
1121
|
-
userLevelSoundGroup3: "everyone",
|
|
1122
|
-
specificUsersSoundGroup3: [],
|
|
1123
|
-
messageTypeSoundGroup3: "all",
|
|
1124
|
-
soundGroup4: [],
|
|
1125
|
-
userLevelSoundGroup4: "everyone",
|
|
1126
|
-
specificUsersSoundGroup4: [],
|
|
1127
|
-
messageTypeSoundGroup4: "all",
|
|
1128
|
-
soundGroup5: [],
|
|
1129
|
-
userLevelSoundGroup5: "everyone",
|
|
1130
|
-
specificUsersSoundGroup5: [],
|
|
1131
|
-
messageTypeSoundGroup5: "all",
|
|
1132
|
-
soundGroup6: [],
|
|
1133
|
-
userLevelSoundGroup6: "everyone",
|
|
1134
|
-
specificUsersSoundGroup6: [],
|
|
1135
|
-
messageTypeSoundGroup6: "all",
|
|
1136
|
-
soundGroup7: [],
|
|
1137
|
-
userLevelSoundGroup7: "everyone",
|
|
1138
|
-
specificUsersSoundGroup7: [],
|
|
1139
|
-
messageTypeSoundGroup7: "all",
|
|
1140
|
-
soundGroup8: [],
|
|
1141
|
-
userLevelSoundGroup8: "everyone",
|
|
1142
|
-
specificUsersSoundGroup8: [],
|
|
1143
|
-
messageTypeSoundGroup8: "all",
|
|
1144
|
-
soundGroup9: [],
|
|
1145
|
-
userLevelSoundGroup9: "everyone",
|
|
1146
|
-
specificUsersSoundGroup9: [],
|
|
1147
|
-
messageTypeSoundGroup9: "all",
|
|
1148
|
-
soundGroup10: [],
|
|
1149
|
-
userLevelSoundGroup10: "everyone",
|
|
1150
|
-
specificUsersSoundGroup10: [],
|
|
1151
|
-
messageTypeSoundGroup10: "all",
|
|
1152
|
-
widgetName: "Chat Bubbles",
|
|
1153
|
-
widgetAuthor: "Zaytri",
|
|
1154
|
-
widgetVersion: "2.12.0",
|
|
1155
|
-
widgetUpdateUrl: "https://github.com/zaytri/stream-elements-widgets/blob/main/DynamicChatBubbles",
|
|
1156
|
-
ignoreFirst: !0
|
|
1157
|
-
},
|
|
1158
|
-
overlay: {
|
|
1159
|
-
isEditorMode: !0,
|
|
1160
|
-
muted: !1
|
|
1161
|
-
}
|
|
1162
|
-
}, d = {
|
|
1163
|
-
follower: {
|
|
1164
|
-
listener: "follower-latest",
|
|
1165
|
-
event: { name: "An1by" }
|
|
1166
|
-
},
|
|
1167
|
-
communityGiftAnonymous: {
|
|
1168
|
-
listener: "event",
|
|
1169
|
-
event: {
|
|
1170
|
-
type: "communityGiftPurchase",
|
|
1171
|
-
provider: "twitch",
|
|
1172
|
-
channel: "663b10ba6cd449c4162a2230",
|
|
1173
|
-
activityGroup: "41a50a915794e4ae7cf5e600fd3445d4",
|
|
1174
|
-
data: {
|
|
1175
|
-
amount: 2,
|
|
1176
|
-
username: "anonymous",
|
|
1177
|
-
displayName: "AnAnonymousGifter",
|
|
1178
|
-
tier: "2000",
|
|
1179
|
-
sender: "Anonymous"
|
|
1180
|
-
},
|
|
1181
|
-
_id: "699868d7df734989ec85d393",
|
|
1182
|
-
activityId: "699868d7df734989ec85d393"
|
|
1183
|
-
}
|
|
1184
|
-
},
|
|
1185
|
-
communityGift: {
|
|
1186
|
-
listener: "event",
|
|
1187
|
-
event: {
|
|
1188
|
-
type: "communityGiftPurchase",
|
|
1189
|
-
provider: "twitch",
|
|
1190
|
-
channel: "663b10ba6cd449c4162a2230",
|
|
1191
|
-
activityGroup: "841592c0bccbf3e1e7de71e1c8f4d9f0",
|
|
1192
|
-
data: {
|
|
1193
|
-
amount: 1,
|
|
1194
|
-
username: "rishamon",
|
|
1195
|
-
displayName: "rishamon",
|
|
1196
|
-
tier: "1000",
|
|
1197
|
-
sender: "rishamon"
|
|
1198
|
-
},
|
|
1199
|
-
_id: "699867c7fef23197a6a089f5",
|
|
1200
|
-
activityId: "699867c7fef23197a6a089f5"
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1203
|
-
sub: {
|
|
1204
|
-
listener: "subscriber-latest",
|
|
1205
|
-
event: {
|
|
1206
|
-
name: "An1by",
|
|
1207
|
-
amount: 1
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
selfSub: {
|
|
1211
|
-
listener: "event",
|
|
1212
|
-
event: {
|
|
1213
|
-
type: "subscriber",
|
|
1214
|
-
provider: "twitch",
|
|
1215
|
-
channel: "663b10ba6cd449c4162a2230",
|
|
1216
|
-
data: {
|
|
1217
|
-
amount: 1,
|
|
1218
|
-
username: "rishamon",
|
|
1219
|
-
displayName: "rishamon",
|
|
1220
|
-
tier: "1000"
|
|
1221
|
-
},
|
|
1222
|
-
_id: "6998676317aed69e62b8f283",
|
|
1223
|
-
activityId: "6998676317aed69e62b8f283"
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
soloSubToSomeone: {
|
|
1227
|
-
listener: "event",
|
|
1228
|
-
event: {
|
|
1229
|
-
type: "subscriber",
|
|
1230
|
-
provider: "twitch",
|
|
1231
|
-
channel: "663b10ba6cd449c4162a2230",
|
|
1232
|
-
data: {
|
|
1233
|
-
amount: 1,
|
|
1234
|
-
username: "encry_s",
|
|
1235
|
-
displayName: "encry_s",
|
|
1236
|
-
message: "rishamon gifted a Tier 1 sub to encry_s! This is their first Gift Sub in the channel!",
|
|
1237
|
-
tier: "1000",
|
|
1238
|
-
sender: "rishamon",
|
|
1239
|
-
gifted: !0
|
|
1240
|
-
},
|
|
1241
|
-
_id: "699866e82d9cd9a70854baf2",
|
|
1242
|
-
activityId: "699866e82d9cd9a70854baf2"
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
subRenewal: {
|
|
1246
|
-
listener: "event",
|
|
1247
|
-
event: {
|
|
1248
|
-
type: "subscriber",
|
|
1249
|
-
provider: "twitch",
|
|
1250
|
-
channel: "663b10ba6cd449c4162a2230",
|
|
1251
|
-
data: {
|
|
1252
|
-
amount: 8,
|
|
1253
|
-
username: "silgestian",
|
|
1254
|
-
displayName: "SilgeStian",
|
|
1255
|
-
tier: "1000"
|
|
1256
|
-
},
|
|
1257
|
-
_id: "69986dfaf25724ff4162bd1a",
|
|
1258
|
-
activityId: "69986dfaf25724ff4162bd1a"
|
|
1259
|
-
}
|
|
1260
|
-
},
|
|
1261
|
-
bits: {
|
|
1262
|
-
listener: "cheer-latest",
|
|
1263
|
-
event: {
|
|
1264
|
-
name: "An1by",
|
|
1265
|
-
amount: 30
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
raid: {
|
|
1269
|
-
listener: "raid-latest",
|
|
1270
|
-
event: {
|
|
1271
|
-
name: "An1by",
|
|
1272
|
-
amount: 50
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
donationShortText: {
|
|
1276
|
-
listener: "donation",
|
|
1277
|
-
event: { data: {
|
|
1278
|
-
alert_type: "1",
|
|
1279
|
-
currency: "RUB",
|
|
1280
|
-
billing_system: "CARD",
|
|
1281
|
-
id: 5,
|
|
1282
|
-
amount_main: 500,
|
|
1283
|
-
amount: 500,
|
|
1284
|
-
username: "An1by",
|
|
1285
|
-
message: "Simple message text"
|
|
1286
|
-
} }
|
|
1287
|
-
},
|
|
1288
|
-
donationLongText: {
|
|
1289
|
-
listener: "donation",
|
|
1290
|
-
event: { data: {
|
|
1291
|
-
alert_type: "1",
|
|
1292
|
-
currency: "RUB",
|
|
1293
|
-
billing_system: "CARD",
|
|
1294
|
-
id: 5,
|
|
1295
|
-
amount_main: 500,
|
|
1296
|
-
amount: 500,
|
|
1297
|
-
username: "An1by",
|
|
1298
|
-
message: "A plain gray stone lay on the shore, basking in the sun's warmth. A shove broke its peace—a thoughtless toss sent it flying. The stone splashed into water. Ripples spread, yet none noticed. It sank to the bottom, heavy with loneliness. \"Didn't I deserve to stay where I was happy still?\" it wondered."
|
|
1299
|
-
} }
|
|
1300
|
-
},
|
|
1301
|
-
donation: {
|
|
1302
|
-
listener: "donation",
|
|
1303
|
-
event: { data: {
|
|
1304
|
-
alert_type: "1",
|
|
1305
|
-
currency: "RUB",
|
|
1306
|
-
billing_system: "CARD",
|
|
1307
|
-
id: 5,
|
|
1308
|
-
amount_main: 500,
|
|
1309
|
-
amount: 500,
|
|
1310
|
-
username: "An1by",
|
|
1311
|
-
message: ""
|
|
1312
|
-
} }
|
|
1313
|
-
}
|
|
1314
|
-
}, f = {
|
|
1
|
+
//#region src/root/sources/messages.ts
|
|
2
|
+
var e = {
|
|
1315
3
|
zeroWidthEmotesInRow: {
|
|
1316
4
|
listener: "message",
|
|
1317
5
|
event: {
|
|
@@ -2842,77 +1530,8 @@ var u = {
|
|
|
2842
1530
|
renderedText: "@An1by Replying right now <img src=\"https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_f54e2bcddf4948808b845e37dd4e08de/default/dark/1.0\" srcset=\"https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_f54e2bcddf4948808b845e37dd4e08de/default/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_f54e2bcddf4948808b845e37dd4e08de/default/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_f54e2bcddf4948808b845e37dd4e08de/default/dark/3.0 4x\" title=\"akidaKrutoi\" class=\"emote\">"
|
|
2843
1531
|
}
|
|
2844
1532
|
}
|
|
2845
|
-
}, p = "onEventReceived";
|
|
2846
|
-
function m(e) {
|
|
2847
|
-
if (typeof window > "u") return;
|
|
2848
|
-
let t = f[e.startsWith("testMessage_") ? e.replace("testMessage_", "") : e];
|
|
2849
|
-
t && window.dispatchEvent(new CustomEvent(p, { detail: t }));
|
|
2850
|
-
}
|
|
2851
|
-
function h(e) {
|
|
2852
|
-
if (typeof window > "u") return;
|
|
2853
|
-
let t = d[e.startsWith("testAlert_") ? e.replace("testAlert_", "") : e];
|
|
2854
|
-
t && window.dispatchEvent(new CustomEvent(p, { detail: t }));
|
|
2855
|
-
}
|
|
2856
|
-
//#endregion
|
|
2857
|
-
//#region src/root/keys.ts
|
|
2858
|
-
function g(e) {
|
|
2859
|
-
if (!e.startsWith("testMessage")) return null;
|
|
2860
|
-
let t = e.replace("testMessage", "");
|
|
2861
|
-
return t.charAt(0).toLowerCase() + t.slice(1);
|
|
2862
|
-
}
|
|
2863
|
-
function _(e) {
|
|
2864
|
-
if (!e.startsWith("testAlert")) return null;
|
|
2865
|
-
let t = e.replace("testAlert", "");
|
|
2866
|
-
return t.charAt(0).toLowerCase() + t.slice(1);
|
|
2867
|
-
}
|
|
2868
|
-
//#endregion
|
|
2869
|
-
//#region src/root/message/twitch/user-message-data.ts
|
|
2870
|
-
var v = /* @__PURE__ */ function(e) {
|
|
2871
|
-
return e.BROADCASTER = "broadcaster", e.LEAD_MODERATOR = "lead_moderator", e.MODERATOR = "moderator", e.VIP = "vip", e.ARTIST = "artist", e.FOUNDER = "founder", e.SUBSCRIBER = "subscriber", e.TURBO = "turbo", e.DEFAULT = "default", e;
|
|
2872
|
-
}({}), y = ({ badges: e = [], tags: t = {} }) => {
|
|
2873
|
-
let n = (t) => !!e.find((e) => e.type === t), r = t.badges ?? "", i = t["user-type"] ?? "", a = r.includes("subscriber/1") || t.subscriber === "1" || n("subscriber"), o = r.includes("founder/1") || n("founder"), s = r.includes("broadcaster/1") || n("broadcaster"), c = t["first-msg"] === "1", l = t.turbo === "1", u = t.vip === "1" || r.includes("vip/1") || n("vip"), d = r.includes("lead_moderator/1") || n("lead_moderator"), f = (t.mod === "1" || r.includes("moderator/1") || i === "mod") && !d || n("moderator"), p = f || d, m = r.includes("artist-badge/1") || n("artist-badge"), h = [];
|
|
2874
|
-
return s && h.push(v.BROADCASTER), d && h.push(v.LEAD_MODERATOR), f && h.push(v.MODERATOR), u && h.push(v.VIP), m && h.push(v.ARTIST), o && h.push(v.FOUNDER), a && h.push(v.SUBSCRIBER), l && h.push(v.TURBO), h.push(v.DEFAULT), {
|
|
2875
|
-
isSubscriber: a,
|
|
2876
|
-
isBroadcaster: s,
|
|
2877
|
-
isFirstMessageChatter: c,
|
|
2878
|
-
isFounder: o,
|
|
2879
|
-
isTurbo: l,
|
|
2880
|
-
isVip: u,
|
|
2881
|
-
isAnyModerator: p,
|
|
2882
|
-
isModerator: f,
|
|
2883
|
-
isLeadModerator: d,
|
|
2884
|
-
isArtist: m,
|
|
2885
|
-
roles: h,
|
|
2886
|
-
includesBadgeType: n,
|
|
2887
|
-
getSubscriberMonths: () => {
|
|
2888
|
-
for (let e of ["badge-info", "badges"]) {
|
|
2889
|
-
let n = t[e];
|
|
2890
|
-
if (n) {
|
|
2891
|
-
let e = n.match(/^subscriber\/(\d+)$/);
|
|
2892
|
-
if (e) return parseInt(e[1], 10);
|
|
2893
|
-
}
|
|
2894
|
-
}
|
|
2895
|
-
return 0;
|
|
2896
|
-
},
|
|
2897
|
-
getBadgeUrlByType: (t) => e.find((e) => e.type === t)?.url
|
|
2898
|
-
};
|
|
2899
|
-
}, b = class {
|
|
2900
|
-
queue = [];
|
|
2901
|
-
isShowingAlert = !1;
|
|
2902
|
-
onNextAlert;
|
|
2903
|
-
constructor(e) {
|
|
2904
|
-
this.onNextAlert = e;
|
|
2905
|
-
}
|
|
2906
|
-
push(e) {
|
|
2907
|
-
this.queue.push(e);
|
|
2908
|
-
}
|
|
2909
|
-
processNextAlert() {
|
|
2910
|
-
if (this.queue.length === 0 || this.isShowingAlert) return;
|
|
2911
|
-
let e = this.queue.shift();
|
|
2912
|
-
e && (this.isShowingAlert = !0, this.onNextAlert(this, e));
|
|
2913
|
-
}
|
|
2914
1533
|
};
|
|
2915
1534
|
//#endregion
|
|
2916
|
-
export {
|
|
1535
|
+
export { e as testMessages };
|
|
2917
1536
|
|
|
2918
|
-
//# sourceMappingURL=
|
|
1537
|
+
//# sourceMappingURL=messages.js.map
|