forked from yofukashino/BetterDiscordPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHypesquad.plugin.js
More file actions
315 lines (311 loc) · 43.4 KB
/
Copy pathHypesquad.plugin.js
File metadata and controls
315 lines (311 loc) · 43.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
/**
* @name Hypesquad
* @author Ahlawat
* @authorId 887483349369765930
* @version 1.0.5
* @invite SgKSKyh9gY
* @description Get a option to change hypesquad of your account right clicking on home button.
* @website https://tharki-god.github.io/
* @source https://github.com/Tharki-God/BetterDiscordPlugins
* @updateUrl https://raw.githubusercontent.com/Tharki-God/BetterDiscordPlugins/master/Hypesquad.plugin.js
*/
/*@cc_on
@if (@_jscript)
// Offer to self-install for clueless users that try to run this directly.
var shell = WScript.CreateObject("WScript.Shell");
var fs = new ActiveXObject("Scripting.FileSystemObject");
var pathPlugins = shell.ExpandEnvironmentStrings("%APPDATA%\BetterDiscord\plugins");
var pathSelf = WScript.ScriptFullName;
// Put the user at ease by addressing them in the first person
shell.Popup("It looks like you've mistakenly tried to run me directly. \n(Don't do that!)", 0, "I'm a plugin for BetterDiscord", 0x30);
if (fs.GetParentFolderName(pathSelf) === fs.GetAbsolutePathName(pathPlugins)) {
shell.Popup("I'm in the correct folder already.", 0, "I'm already installed", 0x40);
} else if (!fs.FolderExists(pathPlugins)) {
shell.Popup("I can't find the BetterDiscord plugins folder.\nAre you sure it's even installed?", 0, "Can't install myself", 0x10);
} else if (shell.Popup("Should I copy myself to BetterDiscord's plugins folder for you?", 0, "Do you need some help?", 0x34) === 6) {
fs.CopyFile(pathSelf, fs.BuildPath(pathPlugins, fs.GetFileName(pathSelf)), true);
// Show the user where to put plugins in the future
shell.Exec("explorer " + pathPlugins);
shell.Popup("I'm installed!", 0, "Successfully installed", 0x40);
}
WScript.Quit();
@else@*/
module.exports = (() => {
const config = {
info: {
name: "Hypesquad",
authors: [{
name: "Ahlawat",
discord_id: "887483349369765930",
github_username: "Tharki-God",
},
],
version: "1.0.5",
description:
"Get a option to change hypesquad of your account right clicking on home button",
github: "https://github.com/Tharki-God/BetterDiscordPlugins",
github_raw:
"https://raw.githubusercontent.com/Tharki-God/BetterDiscordPlugins/master/Hypesquad.plugin.js",
},
changelog: [{
title: "v0.0.1",
items: [
"Idea in mind"
]
}, {
title: "v0.0.5",
items: [
"Base Model"
]
}, {
title: "Initial Release v1.0.0",
items: [
"This is the initial release of the plugin :)",
"Better than Astrological sign []~( ̄▽ ̄)~*"
]
}, {
title: "v1.0.2",
items: [
"Custom Icons"
]
}, {
title: "v1.0.5",
items: [
"More Custom Icons"
]
}
],
main: "Hypesquad.plugin.js",
};
return !global.ZeresPluginLibrary
? class {
constructor() {
this._config = config;
}
getName() {
return config.info.name;
}
getAuthor() {
return config.info.authors.map((a) => a.name).join(", ");
}
getDescription() {
return config.info.description;
}
getVersion() {
return config.info.version;
}
load() {
try {
global.ZeresPluginLibrary.PluginUpdater.checkForUpdate(config.info.name, config.info.version, config.info.github_raw);
} catch (err) {
console.error(this.getName(), "Plugin Updater could not be reached.", err);
}
BdApi.showConfirmationModal(
"Library Missing",
`The library plugin needed for ${config.info.name} is missing. Please click Download Now to install it.`, {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get(
"https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js",
async(error, response, body) => {
if (error) {
return BdApi.showConfirmationModal("Error Downloading",
[
"Library plugin download failed. Manually install plugin library from the link below.",
BdApi.React.createElement("a", {
href: "https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js",
target: "_blank"
}, "Plugin Link")
], );
}
await new Promise((r) =>
require("fs").writeFile(
require("path").join(
BdApi.Plugins.folder,
"0PluginLibrary.plugin.js"),
body,
r));
});
},
});
}
start() {}
stop() {}
}
: (([Plugin, Library]) => {
const {
Patcher,
WebpackModules,
ContextMenu,
DiscordModules,
Settings,
Toasts
} = Library;
const {
React
} = DiscordModules;
const bravery = w => React.createElement('svg', {
viewBox: '0 0 839 810',
width: w,
height: w
}, React.createElement('path', {
style: {
fill: 'currentColor'
},
d: 'M88.735,30.175h647.64c3.98,0,10.158-.779,12.347,1.122,4.384,0.982,6.58,3.591,6.735,8.98,2.591,2.984,1.122,25.213,1.122,31.43V379.27c0,44.567.932,91.989-1.122,134.7-2.769,1.563-3.647,4.192-5.612,5.613l-3.368,1.122-2.245,3.368h-2.244q-1.685,2.244-3.368,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-1.123,2.245h-1.122l-1.122,2.245h-2.245q-1.685,2.244-3.368,4.49c-37.2,26.779-70.548,57.475-107.753,84.187l-3.367,4.489h-2.245l-3.367,4.49H585.97l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245q-1.685,2.245-3.368,4.49h-2.244L561.277,670h-2.245q-1.685,2.244-3.367,4.49H553.42q-1.684,2.244-3.368,4.49h-2.244q-1.685,2.244-3.368,4.49H542.2l-1.122,2.245h-1.122q-0.562,1.122-1.123,2.245h-2.245l-3.367,4.49h-2.245l-1.122,2.245h-1.123l-1.122,2.245h-2.245l-3.367,4.49h-2.245l-1.123,2.245H517.5l-1.122,2.245h-2.245l-3.368,4.489h-2.244q-1.685,2.246-3.368,4.49H502.91l-3.367,4.49H497.3l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49H474.85q-1.685,2.245-3.368,4.49h-2.244q-1.685,2.245-3.368,4.49h-2.245l-3.367,4.49h-2.245l-3.367,4.49H452.4l-3.367,4.49h-2.245l-3.367,4.49h-2.245l-2.245,3.368h-2.245l-3.367,4.49h-2.245l-3.367,4.49h-2.245v1.122c-1.39,1.079-2.177.8-3.367,2.245-6.57,0-10.037-1.453-13.47-4.49l-2.244-3.367h-2.245q-1.685-2.246-3.368-4.49h-2.244l-2.245-3.368h-2.245l-3.367-4.49h-2.245L387.3,757.55h-1.122q-0.561-1.122-1.123-2.245h-2.244q-1.685-2.244-3.368-4.49H377.2q-1.685-2.244-3.368-4.49h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245L357,732.855H354.75l-3.367-4.49h-2.245q-1.685-2.244-3.367-4.49h-2.245q-1.685-2.244-3.368-4.49h-2.244q-1.684-2.244-3.368-4.49H332.3l-3.367-4.49h-2.245l-3.367-4.489h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245q-0.561-1.124-1.123-2.245h-1.122l-1.122-2.245h-2.245q-1.684-2.246-3.368-4.49h-2.244l-1.123-2.245h-1.122q-0.561-1.124-1.123-2.245h-2.245l-3.367-4.49H287.4l-3.367-4.49h-2.245l-1.122-2.245h-1.123L278.425,670H276.18l-2.245-3.368H271.69l-3.367-4.49h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245q-1.684-2.244-3.368-4.49H243.63l-3.368-4.489h-2.245l-3.367-4.49h-2.245l-1.122-2.245H230.16l-1.122-2.245h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245l-3.367-4.49h-2.245q-1.684-2.246-3.368-4.49h-2.244q-1.684-2.246-3.368-4.49h-2.245q-1.683-2.246-3.367-4.49H193.12l-3.367-4.49h-2.245l-1.122-2.245h-1.123l-1.122-2.245H181.9l-3.367-4.49c-31.37-22.56-59.642-48.075-90.917-70.717L82,512.847V35.788Zm106.63,388.383,3.367,1.122V420.8l3.368,1.122,1.122,2.245h2.245l1.122,2.245h2.245q1.123,1.683,2.245,3.368h2.245l1.122,2.245h2.245q1.124,1.683,2.245,3.367h2.245l1.122,2.245h2.245l1.123,2.245,3.367,1.122,2.245,3.368h2.245l1.122,2.245H236.9l2.245,3.367h2.245l1.122,2.245h2.245L247,455.6h2.245l1.122,2.245h2.245l2.245,3.367H257.1l1.122,2.245h2.245l2.245,3.368h2.245l1.122,2.245h2.245l2.245,3.367h2.245l1.122,2.245h2.245l2.245,3.368h2.245l1.122,2.245h2.245l1.122,2.245,3.368,1.122,2.245,3.368h2.244q0.563,1.122,1.123,2.245h2.245q1.122,1.683,2.245,3.367h2.244q0.563,1.122,1.123,2.245h2.245l2.245,3.368h2.244q0.563,1.122,1.123,2.245H312.1q1.122,1.683,2.245,3.367h2.244q0.563,1.122,1.123,2.245h2.245q1.122,1.683,2.245,3.367h2.244l1.123,2.245h2.245q1.122,1.685,2.245,3.368H332.3l1.123,2.245h2.245q1.122,1.683,2.245,3.367h2.244q0.561,1.124,1.123,2.245h2.245l1.122,2.245,3.367,1.123q1.124,1.683,2.245,3.367h2.245q0.561,1.124,1.123,2.245h2.244l2.245,3.368h2.245l1.123,2.245h2.244q1.124,1.683,2.245,3.367h2.245q0.561,1.122,1.123,2.245h2.244l2.245,3.368h2.245l1.123,2.245h2.244q1.124,1.683,2.245,3.367h2.245l1.122,2.245H387.3l2.245,3.368h2.245l1.122,2.245h2.245q1.124,1.683,2.245,3.367h2.245l2.245,3.368h2.245l1.122,2.245H407.5l1.122,2.245c2.518,2.125,4.579,3.038,8.98,3.367,2.42-3.557,7.59-5.395,11.224-7.857q0.561-1.124,1.123-2.245H432.2l2.245-3.368h2.245q0.561-1.122,1.123-2.245h2.244q1.124-1.683,2.245-3.367h2.245q0.561-1.123,1.123-2.245h2.244l1.123-2.245,3.367-1.123,2.245-3.367h2.245l1.122-2.245h2.245l2.245-3.368h2.245l1.122-2.245h2.245l2.245-3.367h2.245l1.122-2.245h2.245l2.245-3.368h2.245l1.122-2.245h2.245l2.245-3.367h2.245l1.122-2.245h2.245l2.245-3.368h2.245l1.122-2.245h2.245l2.245-3.367h2.245l1.122-2.245H507.4q0.561-1.122,1.123-2.245l3.367-1.123q1.122-1.683,2.245-3.367h2.245l1.122-2.245h2.245q1.122-1.683,2.245-3.367h2.245l1.122-2.245H527.6q1.122-1.684,2.245-3.368h2.245l1.122-2.245h2.245q1.122-1.683,2.245-3.367h2.245l1.122-2.245h2.245l2.245-3.368h2.245l1.122-2.245h2.245q1.122-1.683,2.245-3.367h2.245l1.122-2.245h2.245l2.245-3.368h2.245l1.122-2.245h2.245l1.122-2.245,3.368-1.122,2.244-3.368h2.245q0.561-1.122,1.123-2.245h2.245l2.244-3.367h2.245l1.123-2.245h2.244l2.245-3.368h2.245q0.561-1.122,1.123-2.245h2.244q1.124-1.683,2.245-3.367h2.245l1.123-2.245h2.244q1.123-1.683,2.245-3.368H607.3q0.561-1.122,1.123-2.245h2.244q1.124-1.683,2.245-3.367h2.245l1.123-2.245h2.244q1.124-1.683,2.245-3.367h2.245q0.561-1.124,1.123-2.245h2.244l1.123-2.245,3.367-1.123,2.245-3.367,3.367-1.123v-5.612c-8.965-4.626-41.03-2.318-55-2.245-1.278-1.278,0-.447-2.244-1.123-2.108-10.2.714-10.966,4.489-17.96q0.561-2.244,1.123-4.49h1.122l1.122-4.49h1.123l1.122-4.49h1.123V374.78h1.122v-2.245h1.123V370.29h1.122v-2.245h1.122V365.8h1.123l1.122-4.489,2.245-1.123q0.561-2.244,1.123-4.49h1.122v-2.245h1.122v-2.245h1.123v-2.245h1.122v-2.245h1.123v-2.245H607.3q0.561-2.244,1.123-4.49h1.122l1.122-4.49h1.123q1.122-3.368,2.245-6.735h1.122q0.561-2.244,1.123-4.49H617.4l1.122-4.49h1.123v-2.245h1.122v-2.245h1.123v-2.245h1.122V310.8h1.123v-2.245h1.122v-2.245h1.122v-2.245H627.5v-2.245h1.122v-2.245l2.245-1.122v-2.245h1.123v-2.245h1.122v-2.245h1.122q0.563-2.244,1.123-4.49h1.122v-2.245H637.6v-2.245h1.122v-2.245h1.123v-2.245h1.122V276h1.122q0.563-2.244,1.123-4.49h1.122q0.561-2.244,1.123-4.49h1.122q0.561-2.244,1.123-4.49h1.122v-2.245h1.122v-2.245h1.123V255.8h1.122v-2.245h1.123l1.122-4.49h1.123l2.244-6.735h1.123q-0.561-2.805-1.123-5.612l-5.612-1.123c-3.25,3.727-8.109,5.031-12.346,7.858q-0.562,1.122-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245h-2.245l-1.123,2.245h-2.245l-1.122,2.245-4.49,1.122v1.123l-3.367,1.122-1.122,2.245h-2.245l-1.123,2.245h-2.245v1.123l-3.367,1.122-1.122,2.245h-2.245q-0.561,1.122-1.123,2.245h-2.244l-1.123,2.245h-2.245l-1.122,2.245h-2.245L592.705,276H590.46l-1.123,2.245h-2.245l-1.122,2.245-4.49,1.123-1.122,2.245h-2.245v1.122l-3.367,1.123q-0.561,1.122-1.123,2.245h-2.244q-0.562,1.122-1.123,2.245h-2.245l-1.122,2.245h-2.245v1.122l-3.367,1.122q-0.561,1.123-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245h-2.245q-0.561,1.124-1.123,2.245h-2.244l-1.123,2.245-4.49,1.123v1.122l-3.367,1.123-1.122,2.245h-2.245v1.122l-3.367,1.123q-0.562,1.122-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245h-2.245l-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245H511.89l-1.123,2.245h-2.244q-0.562,1.122-1.123,2.245l-4.49,1.122-1.122,2.245h-2.245l-1.122,2.245h-2.245q-0.561,1.122-1.123,2.245h-2.244q-0.562,1.122-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245h-2.245l-1.123,2.245h-2.245l-1.122,2.245h-2.245l-1.122,2.245h-2.245q-0.561,1.122-1.123,2.245l-3.367,1.123v1.122H465.87l-1.122,2.245H462.5v1.123h-2.245l-1.122,2.244-3.368,1.123q-2.8,3.929-5.612,7.857v2.245h-1.122v2.245h-1.123v2.245h-1.122v2.245h-1.122q-1.123,3.368-2.245,6.735H442.3q-1.122,3.368-2.245,6.735h-1.122l-1.122,4.49h-1.123l-1.122,4.49h-1.123v2.245H433.32v2.245H432.2V410.7h-1.122v2.245h-1.122v2.245H428.83v2.245h-1.122v2.245h-1.123v2.245h-1.122c-2.636,4.924-2.223,7.976-6.735,11.225v1.122h-6.734l-6.735-11.224-1.122-4.49h-1.123l-1.122-4.49h-1.123q-1.122-3.368-2.244-6.735H397.4v-2.245H396.28v-2.245h-1.123V400.6h-1.122v-2.245h-1.123v-2.245H391.79v-2.245h-1.122v-2.245h-1.123v-2.245h-1.122q-0.561-2.246-1.123-4.49h-1.122v-2.245h-1.123v-2.245h-1.122v-2.245h-1.122V375.9h-1.123v-2.245h-1.122q-0.561-2.245-1.123-4.49l-4.489-3.368q-0.561-1.122-1.123-2.245h-2.245l-1.122-2.244h-2.245l-1.122-2.245h-2.245q-0.561-1.123-1.123-2.245h-2.244l-1.123-2.245h-2.245L357,352.331H354.75l-1.122-2.245h-2.245q-0.561-1.124-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245-4.49-1.123-1.122-2.245h-2.245l-1.123-2.245H332.3l-1.122-2.245h-2.245l-1.122-2.245h-2.245q-0.561-1.122-1.123-2.245H322.2q-0.562-1.122-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245H312.1q-0.561-1.122-1.123-2.245H308.73l-1.122-2.245h-2.245l-1.122-2.245-4.49-1.122-1.122-2.245h-2.245l-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245h-2.245q-0.561-1.122-1.123-2.245h-2.244q-0.562-1.122-1.123-2.245h-2.245l-1.122-2.245H276.18l-1.122-2.245h-2.245l-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245-4.49-1.122v-1.123l-3.367-1.122q-0.561-1.123-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245H247q-0.561-1.123-1.123-2.245H243.63l-1.123-2.245h-2.245l-1.122-2.245H236.9l-1.122-2.245h-2.245q-0.561-1.124-1.123-2.245H230.16l-1.122-2.245h-2.245l-1.122-2.245-4.49-1.123-1.122-2.245h-2.245l-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245h-2.245l-1.123-2.245h-2.244q-0.561-1.122-1.123-2.245h-2.245l-1.122-2.245H197.61l-1.122-2.245h-2.245q-0.561-1.122-1.123-2.245h-2.245l-1.122-2.245h-2.245l-1.122-2.245-4.49-1.122-1.122-2.245-5.612-1.123c-1.778,3.086-2.773,2.017-3.368,6.735h1.123l1.122,4.49h1.123v2.245h1.122v2.245h1.122v2.245h1.123V255.8h1.122v2.245h1.123v2.245H181.9v2.245h1.122v2.245l2.245,1.123q0.561,2.244,1.123,4.49h1.122v2.245h1.123v2.245h1.122v2.245h1.122v2.245H192v2.245h1.122q0.561,2.244,1.123,4.49h1.122l2.245,6.735h1.122q0.563,2.244,1.123,4.489h1.122q0.561,2.245,1.123,4.49h1.122q0.561,2.245,1.123,4.49h1.122v2.245h1.122V310.8h1.123v2.245h1.122v2.245h1.123v2.245h1.122v2.245H212.2v2.245h1.122v2.245h1.122v2.245h1.123v2.245l2.245,1.123,1.122,4.49h1.123v2.245h1.122v2.245H222.3v2.245h1.123v2.245h1.122V345.6h1.123l1.122,4.49h1.123l1.122,4.49h1.122v2.245h1.123v2.245h1.122v2.245h1.123v2.244h1.122q0.561,2.246,1.123,4.49H236.9l1.122,4.49h1.123l1.122,4.49h1.123v2.245h1.122v2.245h1.123v2.245h1.122v2.245h1.122q1.124,3.368,2.245,6.735l2.245,1.123c1.686,2.7,2.948,7.471,3.367,11.225-2.4,1.93-.635,2.282-4.489,3.367-2.434,2.152-10.241,1.122-14.592,1.123H196.488c-1.552,2.932-1.986,1.9-2.245,6.735C195.521,417.591,194.69,416.317,195.365,418.558Z'
}));
const brilliance = w => React.createElement('svg', {
viewBox: '0 0 839 810',
width: w,
height: w
}, React.createElement('path', {
style: {
fill: 'currentColor'
},
d: 'M402.358,47.1c82.115-1.806,147.935,18.051,197.129,49.252l4.285,1.071,1.071,2.141h2.143v1.071h2.143v1.07l3.214,1.071,1.071,2.141h2.143l1.071,2.142h2.143l1.071,2.141h2.143v1.071l3.214,1.071,1.071,2.141h2.143l1.071,2.141L632.7,116.7l2.143,3.212h2.143l2.142,3.212h2.143l3.214,4.283h2.143l4.285,5.354h2.143l6.428,7.5,3.214,1.07,11.785,12.849,8.571,7.5v2.141l8.571,7.5v2.141l5.356,4.283v2.142l4.286,3.212v2.141l3.214,2.142V189.5l3.214,2.141v2.142l3.214,2.141v2.142l2.142,1.07q0.537,1.607,1.072,3.212h1.071v2.142l2.143,1.071v2.141l2.143,1.071v2.141l2.142,1.071v2.141l2.143,1.071,1.071,4.283,2.143,1.07V222.7h1.071v2.141l2.143,1.071,2.143,6.424,2.142,1.071v2.141h1.072v2.142h1.071v2.141h1.072v2.142h1.071v2.141h1.071v2.141h1.072v2.142h1.071q1.071,3.211,2.143,6.424h1.071v3.212h1.071v2.142h1.072l1.071,4.282h1.071v3.212h1.072v2.142h1.071v3.212h1.071v2.141h1.072l1.071,6.425H755.9v2.141h1.072l1.071,6.424h1.071v3.212h1.072v3.212h1.071q1.071,5.353,2.143,10.708h1.071q0.535,4.281,1.072,8.565h1.071v4.283h1.071v4.283h1.072v5.353h1.071v5.354H770.9v5.353h1.072V346.9h1.071v6.424h1.071v8.565h1.072v9.637h1.071v16.06h1.071c1.545,5.549.1,30.116-1.071,34.263q-1.071,17.13-2.143,34.262c-2.084,7.124-3.209,16.664-5.356,23.556v5.353l-11.785,40.687H755.9v2.142h-1.071l-1.071,6.424h-1.072v2.141h-1.071v3.212h-1.071v2.142h-1.072v3.212H748.4l-1.071,4.283h-1.072l-1.071,5.353h-1.071q-1.073,3.211-2.143,6.424h-1.071v2.142h-1.072v2.141h-1.071v2.142h-1.071V569.6h-1.072v2.141h-1.071v2.142h-1.072v2.141l-2.142,1.071-2.143,6.424-2.143,1.071-1.071,4.283-2.143,1.07-1.071,4.283L721.62,595.3v2.141l-2.142,1.071v2.141l-2.143,1.071v2.142l-2.143,1.07v2.142l-2.143,1.07v2.142l-2.142,1.071V613.5l-3.214,2.141v2.142l-3.214,2.141v2.142q-1.608,1.07-3.214,2.141v2.141l-4.286,3.212v2.142l-5.356,4.283v2.141l-7.5,6.424-1.071,3.212L670.2,659.543l-7.5,8.566h-2.143q-3.749,4.283-7.5,8.565h-2.143l-4.285,5.354h-2.143l-3.214,4.283h-2.143l-2.142,3.212h-2.143l-2.143,3.212h-2.142l-2.143,3.212H626.27l-1.071,2.142-3.214,1.07v1.071h-2.143l-1.071,2.141h-2.143l-1.071,2.142h-2.143l-1.071,2.141-3.214,1.071V708.8l-4.286,1.07-1.071,2.142-4.285,1.07q-0.537,1.071-1.072,2.142l-6.428,2.141-1.071,2.142h-2.143v1.07H586.63v1.071h-2.142v1.071h-2.143v1.07H580.2v1.071H578.06v1.071h-2.143V727l-6.428,2.141v1.071l-5.357,1.07v1.071l-4.285,1.071v1.07h-3.214v1.071H554.49v1.071h-3.214v1.071h-2.143v1.07l-6.428,1.071v1.071h-2.143v1.07h-3.214v1.071h-3.214v1.071H530.92V745.2h-3.214v1.07h-4.285v1.071h-3.214v1.071h-3.214v1.07l-8.571,1.071v1.071l-8.571,1.07v1.071h-5.357c-6.9,2.119-16.432,3.309-23.569,5.354h-8.571v1.07h-9.642v1.071h-16.07v1.071c-5.553,1.544-30.134.1-34.284-1.071h-16.07v-1.071h-9.642l-37.5-6.424-40.711-11.778v-1.07H296.3v-1.071l-6.428-1.071v-1.07l-5.357-1.071v-1.071h-2.143v-1.071h-3.214v-1.07l-4.285-1.071V731.28h-2.143v-1.07h-3.214v-1.071L263.083,727v-1.071H260.94v-1.071H258.8v-1.071h-2.143v-1.07h-2.143v-1.071H252.37v-1.071h-2.143V719.5h-2.143l-1.071-2.142-6.428-2.141q-0.535-1.071-1.072-2.142h-2.142v-1.07h-2.143l-1.071-2.142-4.286-1.07-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143v-1.071l-3.214-1.07-1.071-2.142h-2.143l-2.143-3.212H206.3l-2.143-3.212h-2.143l-2.142-3.212h-2.143l-3.214-4.283h-2.143l-4.285-5.354h-2.143q-3.75-4.281-7.5-8.565H176.3l-7.5-8.566-12.856-11.778-1.071-3.212-7.5-6.424v-2.141l-5.356-4.283v-2.142l-4.286-3.212V624.21q-1.607-1.071-3.214-2.141v-2.142l-3.214-2.141v-2.142l-3.214-2.141v-2.141l-2.142-1.071q-0.537-1.606-1.072-3.212h-1.071v-2.142l-2.143-1.07v-2.142l-2.143-1.071v-2.141l-2.142-1.071V595.3l-2.143-1.071-1.071-4.283-2.143-1.07v-2.142h-1.071v-2.141l-2.143-1.071-2.143-6.424-2.142-1.071v-2.141h-1.072v-2.142h-1.071V569.6h-1.072v-2.141h-1.071v-2.142H99.167V563.18H98.1v-2.142H97.024l-2.143-6.424H93.81V551.4H92.739v-2.141H91.667L90.6,544.978H89.525v-3.212H88.453v-2.142H87.382v-3.212H86.311v-2.141H85.239l-1.071-6.424H83.1v-2.142H82.025l-1.071-6.424H79.883v-3.212H78.811v-3.212H77.74v-3.212H76.669L72.383,489.3c-3.308-9.882-4.5-22.748-7.5-33.192v-8.565H63.812v-9.637H62.741v-16.06H61.67c-1.545-5.549-.1-30.115,1.071-34.263v-16.06h1.071v-9.637h1.071v-8.565h1.071V346.9h1.071v-6.425H68.1l1.071-10.707H70.24v-5.353h1.071V320.13h1.071v-4.283h1.071v-4.283h1.071v-4.282H75.6l1.071-7.5H77.74v-3.213h1.071v-3.212h1.071V290.15h1.071l1.071-6.424H83.1v-2.141h1.071l1.071-6.425h1.071v-2.141h1.071v-3.212h1.071v-2.142h1.071v-3.212C128.367,177.9,192.54,113.747,279.153,74.939h3.214V73.868h2.143V72.8h3.214V71.727h2.143V70.656l6.428-1.071V68.515h2.143V67.444l40.711-11.778h5.357V54.6h4.285V53.525h6.428V52.454h6.428V51.383h6.428V50.313h8.571V49.242h9.642V48.171C391.214,46.773,399.1,50,402.358,47.1Zm-183.2,238.767c-1.7,2.943-2.647,1.924-3.214,6.425h1.071l1.071,4.282h1.072v2.142h1.071v2.141H221.3V303h1.071v2.141l2.143,1.071,1.071,4.283h1.071v2.141h1.072v2.141H228.8v2.142h1.071v2.141h1.072l1.071,4.283h1.071q0.535,2.142,1.072,4.283h1.071l2.143,6.424h1.071l1.071,4.283h1.072l1.071,4.283h1.071v2.141H243.8V346.9h1.071v2.141h1.072v2.141h1.071v2.142h1.071v2.141h1.072v2.142h1.071v2.141H251.3v2.141l2.143,1.071,1.071,4.283h1.072v2.141h1.071v2.142h1.071v2.141H258.8v2.142h1.071v2.141h1.071q0.536,2.141,1.072,4.283h1.071v2.141h1.071v2.142h1.072v2.141H266.3V390.8h1.072v2.142h1.071l1.071,4.283h1.072l1.071,4.282h1.071v2.142H273.8v2.141h1.071v2.142h1.071v2.141h1.072v2.142h1.071l2.143,6.424,2.142,1.07v2.142h1.072v7.5c-8.861,4.574-34.053,2.216-47.14,2.141a8,8,0,0,1-2.142,3.212c0.614,2.152-.129.927,1.071,2.142,2.135,3.422,5.233,4.163,8.571,6.424l1.071,2.141h2.143q1.071,1.607,2.143,3.212H251.3l1.072,2.142h2.142l1.072,2.141,3.214,1.071,2.142,3.212h2.143l1.071,2.142H266.3l2.143,3.212h2.143l1.071,2.141H273.8l2.142,3.212h2.143l1.071,2.142H281.3l2.143,3.212h2.142q0.537,1.07,1.072,2.141H288.8l2.143,3.212h2.143l1.071,2.142H296.3l2.143,3.212h2.142l1.072,2.141h2.142l2.143,3.212h2.143l1.071,2.142h2.143l2.142,3.212h2.143l1.072,2.141h2.142l1.072,2.142,3.214,1.07,2.142,3.212h2.143l1.071,2.142h2.143l2.143,3.212h2.142l1.072,2.141h2.143l2.142,3.212h2.143l1.071,2.142h2.143l2.143,3.212h2.142l1.072,2.141h2.142l2.143,3.212h2.143l1.071,2.142h2.143l2.143,3.212h2.142q0.536,1.071,1.072,2.141h2.142l2.143,3.213h2.143l1.071,2.141h2.143l2.142,3.212h2.143l1.071,2.141h2.143l2.143,3.213h2.143l1.071,2.141h2.143l2.142,3.212h2.143L397,554.614h2.142l1.072,2.142h2.142q1.072,1.605,2.143,3.212h2.143l1.071,2.141h2.143q1.071,1.606,2.143,3.212c2.894,2.006,5.107,2.9,9.642,3.212,1.148-1.329,1.9-1.126,3.214-2.141v-1.071H427q1.072-1.605,2.143-3.212h2.143l2.143-3.212h2.142q0.536-1.071,1.072-2.141h2.142l2.143-3.213h2.143l1.071-2.141h2.143l2.142-3.212h2.143l1.071-2.141h2.143l2.143-3.213h2.143l1.071-2.141h2.143l2.142-3.212h2.143l1.071-2.141h2.143l2.143-3.213h2.142q0.537-1.069,1.072-2.141h2.142l2.143-3.212h2.143l1.071-2.142h2.143l2.143-3.212h2.142l1.072-2.141h2.142l2.143-3.212h2.143l1.071-2.142h2.143l1.071-2.141,3.214-1.071,2.143-3.212h2.143l1.071-2.141h2.143l2.142-3.212h2.143l1.071-2.142h2.143l2.143-3.212h2.142l1.072-2.141h2.143l2.142-3.212h2.143l1.071-2.142h2.143l2.143-3.212h2.142l1.072-2.141h2.142l2.143-3.212h2.143l1.071-2.142h2.143l2.143-3.212h2.142q0.535-1.071,1.072-2.141h2.142l2.143-3.212h2.143l1.071-2.142h2.143l2.142-3.212h2.143l1.071-2.141h2.143l1.071-2.142,3.215-1.07,2.142-3.213h2.143l1.071-2.141h2.143l2.143-3.212h2.142l1.072-2.142h2.142q1.072-1.6,2.143-3.212h2.143l1.071-2.141c3.911-2.656,8.246-3.315,9.642-8.566h-1.071v-2.141c-1.383-2-8.536-1.068-11.785-1.071H557.7a14.239,14.239,0,0,0-3.214-4.283c0.931-5.717,4.049-9.737,6.428-13.919V411.14l2.143-1.071,1.071-4.283H565.2v-2.141h1.072V401.5h1.071v-2.141h1.071v-2.141h1.072l1.071-4.283h1.071V390.8H572.7v-2.141h1.071v-2.141h1.072v-2.142h1.071v-2.141h1.071v-2.142h1.072l1.071-4.282H580.2q0.535-2.142,1.072-4.283h1.071l1.071-4.283h1.072V365.1h1.071v-2.142h1.071v-2.141H587.7v-2.142h1.071l1.071-4.283,2.143-1.07,1.071-4.283h1.072V346.9H595.2v-2.142h1.072v-2.141h1.071v-2.142h1.071v-2.141h1.072l1.071-4.283h1.071v-2.141H602.7v-2.142h1.071v-2.141h1.071v-2.142h1.072v-2.141h1.071l1.071-4.283h1.072l1.071-4.283h1.071v-2.141h1.072v-2.141h1.071v-2.142h1.071v-2.141h1.072l2.142-6.424,2.143-1.071,3.214-9.636c-2.8-1.48-1.814-1.894-6.428-2.142L452.712,395.079c-4.319,4.325-5.514,10.331-8.571,16.061H443.07l-2.143,6.424h-1.071q-0.535,2.142-1.072,4.283h-1.071l-1.071,4.283H435.57v2.141H434.5v2.141h-1.071v2.142h-1.072V434.7h-1.071v2.142h-1.072c-1.624,3.037-5.137,13.8-7.5,14.99h-6.428l-6.428-10.707v-2.142h-1.071q-0.537-2.141-1.072-4.283h-1.071q-0.536-2.141-1.072-4.283H404.5q-1.071-3.211-2.143-6.424h-1.071v-2.141h-1.071v-2.142h-1.072v-2.141h-1.071v-2.141H397l-7.5-17.132-5.357-4.282-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.142H374.5l-1.071-2.141-4.285-1.071-1.072-2.141h-2.142q-0.537-1.071-1.072-2.142h-2.142q-0.537-1.07-1.072-2.141H359.5l-1.071-2.141H356.29l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.141H340.22l-1.071-2.142h-2.143l-1.071-2.141-4.286-1.071-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.142h-2.143l-1.071-2.141-4.286-1.071L296.3,335.12h-2.143l-1.071-2.142h-2.143l-1.071-2.141h-2.143l-1.071-2.141H284.51l-1.071-2.142H281.3l-1.071-2.141h-2.143l-1.071-2.142h-2.143L273.8,320.13h-2.143l-1.071-2.141H268.44l-1.071-2.142-4.286-1.071v-1.07l-3.214-1.071-1.071-2.141h-2.143l-1.071-2.142h-2.143v-1.07l-3.214-1.071-1.071-2.142h-2.143l-1.071-2.141H243.8q-0.535-1.071-1.072-2.141h-2.142q-0.535-1.071-1.072-2.142h-2.142L236.3,295.5h-2.142l-1.072-2.142Z'
}));
const balance = w => React.createElement('svg', {
viewBox: '0 0 839 810',
width: w,
height: w
}, React.createElement('path', {
style: {
fill: 'currentColor'
},
d: 'M416.2,37.5h6.6v1.1c4.913,1.33,6.782,5.682,9.9,8.8l18.7,18.705,14.3,13.2,57.215,58.316L700.076,313.675,787,401.7v6.6q-90.765,91.315-181.549,182.65Q514.134,681.716,422.8,772.5h-6.6q-91.315-90.765-182.65-181.549Q142.784,499.634,52,408.3v-6.6q90.765-91.315,181.549-182.65Q324.866,128.284,416.2,37.5ZM212.644,312.575c-1.2,2.286-1.773,1.948-2.2,5.5h1.1l1.1,4.4h1.1v2.2h1.1v2.2h1.1v2.2h1.1v2.2h1.1v2.2h1.1v2.2h1.1v2.2l2.2,1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.2l-1.1-2.2h-2.2q-0.55-1.1-1.1-2.2h-2.2l-1.1-2.2h-2.2q-0.55-1.1-1.1-2.2h-2.2q-0.551-1.1-1.1-2.2h-2.2q-0.549-1.1-1.1-2.2h-2.2q-0.549-1.1-1.1-2.2l-4.4-1.1v-1.1l-3.3-1.1q-0.551-1.1-1.1-2.2h-2.2q-0.55-1.1-1.1-2.2h-2.2l-1.1-2.2h-2.2q-0.549-1.1-1.1-2.2h-2.2l-1.1-2.2h-2.2q-0.549-1.1-1.1-2.2h-2.2l-1.1-2.2h-2.2l-1.1-2.2h-2.2l-1.1-2.2h-2.2q-0.55-1.1-1.1-2.2l-4.4-1.1-1.1-2.2h-2.2q-0.549-1.1-1.1-2.2h-2.2C222.169,317.092,220.507,313.1,212.644,312.575Z'
}));
const hypesquad = w => React.createElement('svg', {
viewBox: '0 0 839 810',
width: w,
height: w
}, React.createElement('path', {
style: {
fill: 'currentColor'
},
d: 'M107.183,180.984v3.537h5.3c1.82,7.155.783,2.233,5.3,5.3v1.768c2.327,1.619,3.128,1.393,7.069,1.768V196.9h5.3v3.536h5.3v3.536a20.577,20.577,0,0,1,8.837,3.536v1.768h5.3l1.767,3.536c4.521,3.2,3.341-1.936,5.3,5.3h5.3v3.536c3.963,0.463,4.681.154,7.07,1.768v1.768h3.534q0.883,1.769,1.768,3.536h3.534q0.883,1.769,1.768,3.536h5.3v3.537h5.3v3.536h5.3v3.536c5.556,2.537,8.849,5.624,15.905,7.072v3.536h5.3v3.536h5.3c3.677,5.444,10.276,5.188,12.372,12.376h5.3v3.536c3.963,0.463,4.68.154,7.069,1.768v1.768h3.535l1.767,3.536h3.535l1.767,3.536h5.3v3.537l8.837,1.768v3.536h5.3l1.767,5.3h5.3v3.536h5.3v3.536h5.3v3.536h5.3v3.536h5.3c3.676,5.444,10.275,5.188,12.371,12.376,3.966,0.46,4.677.158,7.069,1.768v1.768H328.1l1.767,3.536h5.3v1.768c3.3,2.366,3.414,2.743,8.837,3.537v3.536h5.3v3.536h5.3v3.536l12.371,8.84q0.884,4.419,1.768,8.84h1.767V368.4h1.767q0.883,4.421,1.768,8.84h1.767v3.536h1.767v3.536l3.535,1.769v3.536h1.767v3.536h1.767q1.768,5.3,3.535,10.608h1.767q0.883,4.419,1.768,8.84l3.534,1.768v5.3l3.535,1.768v5.3l14.139,22.985h15.906c3.53-8.057,9.44-16.633,10.6-26.521h3.534c1.371-6.2,4.645-9.566,7.07-14.144v-3.536h1.767l1.767-8.84,3.535-1.768v-5.3l3.535-1.768V382.54h1.767V379l3.534-1.768V373.7h1.768v-3.536h1.767v-3.536h1.767q0.885-4.419,1.768-8.84l3.534-1.768v-3.536l5.3-3.536V347.18h3.535l1.767-3.536,5.3-1.768v-1.768l7.07-1.768L501.3,334.8h3.535l1.767-3.536h3.535l1.767-3.536h3.535v-1.768l5.3-1.768,1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.534q0.885-1.768,1.768-3.536h3.534q0.885-1.768,1.768-3.536h3.534q0.883-1.768,1.768-3.536h3.534l1.768-3.536,7.069-1.769,1.767-3.536H587.9l1.767-3.536H593.2l1.767-3.536H598.5l1.767-3.536H603.8v-1.768l5.3-1.768,1.767-3.536h3.535v-1.768l5.3-1.768,1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.537h3.535l1.767-3.536,7.069-1.768v-1.768l5.3-1.768q0.884-1.767,1.768-3.536h3.534q0.884-1.767,1.768-3.536h3.534l1.768-3.536h3.534q0.883-1.769,1.768-3.536h3.534q0.883-1.769,1.768-3.536h3.534q0.883-1.769,1.768-3.536h3.534l1.768-3.536h3.534l1.768-3.536h3.534q0.884-1.769,1.768-3.536h3.534q0.883-1.769,1.768-3.536h3.534q0.883-1.768,1.768-3.537h3.534l1.767-3.536h3.535l1.767-3.536h3.535l1.767-3.536,7.07-1.768,1.767-3.536h3.535l1.767-3.536c4.36-2.855,7.078-3.234,14.139-3.536v1.768H777c-0.64,4.086-2.888,11.827-5.3,14.144-2.013,2.014-.006.7-3.535,1.768-1.256,15.012-12.272,20.625-14.138,35.361H750.49v7.072h-3.535q-1.767,5.3-3.534,10.608h-1.768v3.537h-1.767v5.3c-3.847,8.531-10.931,15.171-12.371,26.52H723.98v7.072l-5.3,1.768v7.072h-3.534c-3.155,16.342-14.273,25.883-17.674,42.433h-3.534c-1.239,6.227-4.7,9.584-7.07,14.145v3.536H685.1q-2.651,7.954-5.3,15.912H678.03v3.536c-3.265,6-4.481,2.431-5.3,12.376l-5.3,1.768c-0.5,9.8-2.162,6.586-5.3,12.377a46.282,46.282,0,0,0-5.3,19.448c3.491,2,4.132,2.5,5.3,7.072h81.3c0.191,4.167.526,4.487,1.767,7.072h-1.767c-2.267,3.9-15.61,13.463-21.208,14.144l-1.767,5.305h-5.3v3.536c-8.105,1.155-4.345,1.609-8.837,5.3v1.768h-5.3v3.536h-5.3c-1.278,4.884-.493,3.955-5.3,5.3-2.014,2.013-.006.7-3.535,1.768v3.536h-5.3c-3.553,5.292-1.479.735-5.3,3.536l-3.534,5.3-5.3,1.768v3.536h-5.3v1.768c-2.013,2.015-.7.007-1.768,3.536-10.5,1.245-9.33,7.369-19.44,8.841v3.536h-5.3l-1.767,5.3h-5.3q-0.883,2.652-1.768,5.3h-5.3l-1.767,5.3h-5.3v3.536h-5.3v1.768c-2.012,2.014-.7.006-1.767,3.536-4.329.533-10.342,2.942-12.372,5.3q-0.884,2.652-1.767,5.3h-5.3v3.536h-5.3v1.769c-2.012,2.014-.7.006-1.767,3.536-11.6,1.385-10.372,9.019-21.208,10.608v3.536h-5.3v3.536l-5.3,1.768-1.767,3.536a21,21,0,0,1-12.372,5.3l-1.767,5.3h-5.3v3.536c-8.1,1.155-4.344,1.609-8.837,5.3v1.768h-5.3V589.4h-5.3v1.768c-2.012,2.014-.7.006-1.767,3.536h-5.3v3.536H496v1.768c-2.012,2.014-.7.006-1.767,3.536h-5.3c-3.134,4.714-7.052,4.069-8.837,10.608-11.761,1.387-13.02,10.72-24.742,12.376q-0.885,2.652-1.768,5.3h-5.3v3.536c-8.1,1.155-4.344,1.61-8.836,5.3v1.768h-5.3q-0.884,2.65-1.768,5.3h-5.3v3.536c-9.554,1.732-8.532.143-17.673-1.768-1.669-3.185-2.447-2.784-3.535-7.072h-5.3c-3.133-4.714-7.051-4.069-8.836-10.609h-5.3V628.3c-5.32-.658-5.741-1.1-8.837-3.536v-1.768H374.05q-0.885-1.767-1.768-3.536c-3.461-2.929-6.772-4.517-12.371-5.3v-3.536c-3.284-1.691-6.853-3.956-8.837-7.072h-5.3l-1.767-5.3h-5.3v-3.536h-5.3l-1.767-5.3h-5.3v-3.537c-8.105-1.154-4.344-1.609-8.837-5.3v-1.768h-5.3v-3.536h-5.3v-1.768c-2.012-2.014-.7-0.006-1.767-3.536h-5.3v-1.768l-5.3-1.768-3.535-5.3-5.3-1.768v-3.536c-5.327-.655-5.731-1.112-8.836-3.536V550.5h-3.535l-1.767-3.536H268.01l-1.767-3.536c-3.467-2.931-6.77-4.513-12.372-5.3-1.3-5.688-2.4-6.439-8.836-7.073-1.82-7.155-.783-2.233-5.3-5.3v-1.768c-2.327-1.619-3.128-1.393-7.07-1.768l-1.767-5.3h-5.3v-3.536h-5.3v-1.768c-2.012-2.014-.7-0.006-1.767-3.536h-5.3V506.3c-2.013-2.014-.7-0.006-1.768-3.536h-5.3V501c-2.012-2.015-.7-0.007-1.767-3.536h-5.3v-3.536c-5.339-.661-5.712-1.12-8.836-3.536v-1.768h-3.535l-1.767-3.537h-5.3q-0.883-2.65-1.768-5.3h-5.3v-3.536l-5.3-1.768-1.767-3.536a21,21,0,0,0-12.371-5.3l-1.768-5.3h-5.3V456.8h-5.3l-3.534-7.072c-5.162-3.649-4.452,3.139-7.07-5.3h-5.3v-3.536h-5.3v-1.768c-2.012-2.015-.7-0.007-1.767-3.537h-5.3a26.534,26.534,0,0,0-8.836-8.84h-3.535c-1.674-1.171-3.246-5.42-5.3-7.072l1.767-5.3,56.555,1.768v-1.768h17.673V412.6l10.6-1.768a107.29,107.29,0,0,0-1.767-21.216l-5.3-1.768q-0.884-5.3-1.768-10.609H169.04q-3.535-9.723-7.07-19.448H160.2v-3.536h-1.767q-0.883-3.536-1.768-7.072H154.9l-1.767-8.84c-2.471-4.755-5.549-7.657-7.07-14.145H142.53c-0.462-9.766-2.159-6.617-5.3-12.376v-3.536c-3.425-6.375-7.672-10.282-8.837-19.448h-3.535q-2.65-7.956-5.3-15.913H116.02q-3.534-9.723-7.07-19.448h-1.767v-3.536h-1.767l-1.767-7.072h-1.768a37.806,37.806,0,0,1-5.3-15.913H93.045v-7.072H89.51v-7.072H85.975c-0.593-6.73-3.055-8.171-5.3-12.376l-3.535-10.608L73.6,188.057l-5.3-15.913H64.767L63,161.536c2.323-1.431,2.081-1.245,3.535-3.536,5.64,2.474,10.962,5.988,15.906,8.84h3.535l3.535,5.3,5.3,1.768,1.767,3.536h3.535v1.768C102.526,180.852,103.229,180.436,107.183,180.984Z'
}));
const SideBar = WebpackModules.getByProps("ListNavigatorItem");
const ContextMenuAPI = window.HomeButtonContextMenu ||= (() => {
const items = new Map();
function insert(id, item) {
items.set(id, item);
}
function remove(id) {
items.delete(id);
}
Patcher.after(SideBar, "ListNavigatorItem", (_, args, res) => {
if (!args[0] || args[0].id !== "home")
return res;
let menu = Array.from(items.values())
res.props.onContextMenu = (event) => {
ContextMenu.openContextMenu(event, ContextMenu.buildMenu(menu))
};
})
return {
items,
remove,
insert
};
})();
return class Hypesquad extends Plugin {
async onStart() {
this.showToast = BdApi.loadData(config.info.name, "showToast") ?? true;
this.initiate()
}
async Hypesquad() {
let menu = {
label: "Change Hypesquad",
id: "change-hypesquad",
action: async() => {
await WebpackModules.getByProps(`joinHypeSquadOnline`).leaveHypeSquadOnline();
if (this.showToast)
Toasts.show(`You are member of none of the houses`, {
icon: 'https://cdn.discordapp.com/attachments/889198641775001670/987914489905180772/Hypesquad.webp',
timeout: 1000,
type: 'error'
})
},
children: ContextMenu.buildMenuChildren([{
label: "Bravery",
id: "bravery",
icon: () => bravery('21'),
action: async() => {
await WebpackModules.getByProps(`joinHypeSquadOnline`).joinHypeSquadOnline({
houseID: 'HOUSE_1'
});
if (this.showToast)
Toasts.show(`You are now Member of House of Bravery`, {
icon: 'https://cdn.discordapp.com/attachments/889198641775001670/987914489171152926/BraveryLogo.webp',
timeout: 1000,
type: 'default'
})
}
}, {
label: "Brilliance",
id: "brilliance",
icon: () => brilliance('21'),
action: async() => {
await WebpackModules.getByProps(`joinHypeSquadOnline`).joinHypeSquadOnline({
houseID: 'HOUSE_2'
});
if (this.showToast)
Toasts.show(`You are now Member of House of Brillance`, {
icon: 'https://cdn.discordapp.com/attachments/889198641775001670/987914490433646642/BrillianceLogo.webp',
timeout: 1000,
type: 'default'
})
}
}, {
label: "Balance",
id: "balance",
icon: () => balance('21'),
action: async() => {
await WebpackModules.getByProps(`joinHypeSquadOnline`).joinHypeSquadOnline({
houseID: 'HOUSE_3'
});
if (this.showToast)
Toasts.show(`You are now Member of House of Balance`, {
icon: 'https://cdn.discordapp.com/attachments/889198641775001670/987914488827248760/BalanceLogo.webp',
timeout: 1000,
type: 'default'
})
}
}, {
label: "None",
id: "leave-hypesquad",
icon: () => hypesquad('21'),
action: async() => {
await WebpackModules.getByProps(`joinHypeSquadOnline`).leaveHypeSquadOnline();
if (this.showToast)
Toasts.show(`You are member of none of the houses`, {
icon: 'https://cdn.discordapp.com/attachments/889198641775001670/987914489905180772/Hypesquad.webp',
timeout: 1000,
type: 'default'
})
},
}
])
}
return menu;
}
async initiate() {
ContextMenuAPI.insert("Hypesquad", await this.Hypesquad());
}
onStop() {
ContextMenuAPI.remove(`Hypesquad`)
}
getSettingsPanel() {
return Settings.SettingPanel.build(this.saveSettings.bind(this),
new Settings.Switch("Popup/Toast", "Display message Hidden popup", this.showToast, (e) => {
this.showToast = e;
}))
}
saveSettings() {
BdApi.saveData(config.info.name, "showToast", this.showToast);
}
};
return plugin(Plugin, Library);
})(global.ZeresPluginLibrary.buildPlugin(config));
})();
/*@end@*/