@chatsift/discord-utils 0.2.1 → 0.3.0

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 +1 @@
1
- {"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../src/embed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAKrE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CA+CjB,CAAC;AAOX,wBAAgB,SAAS,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAE,aAAa,EAAE,GAAG,QAAQ,CAG/E;AAOD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAW5D;AAMD,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CA0BvD"}
1
+ {"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../src/embed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAKrE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CA+CjB,CAAC;AAQX,wBAAgB,SAAS,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAE,aAAa,EAAE,GAAG,QAAQ,CAG/E;AAQD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAW5D;AAOD,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CA0BvD"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- export * from './embed';
1
+ export * from './embed.js';
2
+ export * from './sortChannels.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -25,22 +25,56 @@ __export(src_exports, {
25
25
  MESSAGE_LIMITS: () => MESSAGE_LIMITS,
26
26
  addFields: () => addFields,
27
27
  ellipsis: () => ellipsis,
28
+ sortChannels: () => sortChannels,
28
29
  truncateEmbed: () => truncateEmbed
29
30
  });
30
31
  module.exports = __toCommonJS(src_exports);
31
32
 
32
33
  // src/embed.ts
33
34
  var MESSAGE_LIMITS = {
35
+ /**
36
+ * How long a message can be in characters
37
+ */
34
38
  CONTENT: 4e3,
39
+ /**
40
+ * How many embeds can be in a message
41
+ */
35
42
  EMBED_COUNT: 10,
43
+ /**
44
+ * Embed specific limits
45
+ */
36
46
  EMBEDS: {
47
+ /**
48
+ * How long an embed title can be in characters
49
+ */
37
50
  TITLE: 256,
51
+ /**
52
+ * How long an embed description can be in characters
53
+ */
38
54
  DESCRIPTION: 4096,
55
+ /**
56
+ * How long an embed footer can be in characters
57
+ */
39
58
  FOOTER: 2048,
59
+ /**
60
+ * How long an embed author can be in characters
61
+ */
40
62
  AUTHOR: 256,
63
+ /**
64
+ * How many fields an embed can have
65
+ */
41
66
  FIELD_COUNT: 25,
67
+ /**
68
+ * Field specific limits
69
+ */
42
70
  FIELDS: {
71
+ /**
72
+ * How long a field name can be in characters
73
+ */
43
74
  NAME: 256,
75
+ /**
76
+ * How long a field value can be in characters
77
+ */
44
78
  VALUE: 1024
45
79
  }
46
80
  }
@@ -81,11 +115,41 @@ function truncateEmbed(embed) {
81
115
  };
82
116
  }
83
117
  __name(truncateEmbed, "truncateEmbed");
118
+
119
+ // src/sortChannels.ts
120
+ var import_utils = require("@chatsift/utils");
121
+ var import_v10 = require("discord-api-types/v10");
122
+ var GUILD_TEXT_TYPES = [import_v10.ChannelType.GuildText, import_v10.ChannelType.GuildNews, import_v10.ChannelType.GuildForum];
123
+ function sortChannels(unsorted) {
124
+ const filtered = unsorted.filter(
125
+ (channel) => GUILD_TEXT_TYPES.includes(channel.type) || channel.type === import_v10.ChannelType.GuildCategory
126
+ );
127
+ const grouped = (0, import_utils.groupBy)(filtered, (channel) => channel.parent_id ?? "top");
128
+ const sortedTopLevel = grouped.top?.filter((channel) => !channel.parent_id).sort((a, b) => {
129
+ if (a.type === import_v10.ChannelType.GuildText && b.type === import_v10.ChannelType.GuildCategory) {
130
+ return -1;
131
+ }
132
+ if (a.type === import_v10.ChannelType.GuildCategory && b.type === import_v10.ChannelType.GuildText) {
133
+ return 1;
134
+ }
135
+ return a.position - b.position;
136
+ });
137
+ const channels = [];
138
+ for (const top of sortedTopLevel ?? []) {
139
+ channels.push(top);
140
+ if (top.type === import_v10.ChannelType.GuildCategory) {
141
+ channels.push(...(grouped[top.id] ?? []).sort((a, b) => a.position - b.position));
142
+ }
143
+ }
144
+ return channels.length ? channels : filtered.sort((a, b) => a.position - b.position);
145
+ }
146
+ __name(sortChannels, "sortChannels");
84
147
  // Annotate the CommonJS export names for ESM import in node:
85
148
  0 && (module.exports = {
86
149
  MESSAGE_LIMITS,
87
150
  addFields,
88
151
  ellipsis,
152
+ sortChannels,
89
153
  truncateEmbed
90
154
  });
91
155
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/embed.ts"],"sourcesContent":["export * from './embed';\n","import type { APIEmbed, APIEmbedField } from 'discord-api-types/v10';\n\n/**\n * Limits commonly encountered with Discord's API\n */\nexport const MESSAGE_LIMITS = {\n\t/**\n\t * How long a message can be in characters\n\t */\n\tCONTENT: 4000,\n\t/**\n\t * How many embeds can be in a message\n\t */\n\tEMBED_COUNT: 10,\n\t/**\n\t * Embed specific limits\n\t */\n\tEMBEDS: {\n\t\t/**\n\t\t * How long an embed title can be in characters\n\t\t */\n\t\tTITLE: 256,\n\t\t/**\n\t\t * How long an embed description can be in characters\n\t\t */\n\t\tDESCRIPTION: 4096,\n\t\t/**\n\t\t * How long an embed footer can be in characters\n\t\t */\n\t\tFOOTER: 2048,\n\t\t/**\n\t\t * How long an embed author can be in characters\n\t\t */\n\t\tAUTHOR: 256,\n\t\t/**\n\t\t * How many fields an embed can have\n\t\t */\n\t\tFIELD_COUNT: 25,\n\t\t/**\n\t\t * Field specific limits\n\t\t */\n\t\tFIELDS: {\n\t\t\t/**\n\t\t\t * How long a field name can be in characters\n\t\t\t */\n\t\t\tNAME: 256,\n\t\t\t/**\n\t\t\t * How long a field value can be in characters\n\t\t\t */\n\t\t\tVALUE: 1024,\n\t\t},\n\t},\n} as const;\n\n/**\n * Adds the given fields to an embed - mutating it\n * @param embed The embed to add fields to\n * @param fields The fields to add\n */\nexport function addFields(embed: APIEmbed, ...fields: APIEmbedField[]): APIEmbed {\n\t(embed.fields ??= []).push(...fields);\n\treturn embed;\n}\n\n/**\n * Cuts off text after the given length - appending \"...\" at the end\n * @param text The text to cut off\n * @param total The maximum length of the text\n */\nexport function ellipsis(text: string, total: number): string {\n\tif (text.length <= total) {\n\t\treturn text;\n\t}\n\n\tconst keep = total - 3;\n\tif (keep < 1) {\n\t\treturn text.slice(0, total);\n\t}\n\n\treturn `${text.slice(0, keep)}...`;\n}\n\n/**\n * Returns a fully truncated embed - safe to use with Discord's API - does not mutate the given embed\n * @param embed The embed to truncate\n */\nexport function truncateEmbed(embed: APIEmbed): APIEmbed {\n\treturn {\n\t\t...embed,\n\t\tdescription: embed.description ? ellipsis(embed.description, MESSAGE_LIMITS.EMBEDS.DESCRIPTION) : undefined,\n\t\ttitle: embed.title ? ellipsis(embed.title, MESSAGE_LIMITS.EMBEDS.TITLE) : undefined,\n\t\tauthor: embed.author\n\t\t\t? {\n\t\t\t\t\t...embed.author,\n\t\t\t\t\tname: ellipsis(embed.author.name, MESSAGE_LIMITS.EMBEDS.AUTHOR),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfooter: embed.footer\n\t\t\t? {\n\t\t\t\t\t...embed.footer,\n\t\t\t\t\ttext: ellipsis(embed.footer.text, MESSAGE_LIMITS.EMBEDS.FOOTER),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfields: embed.fields\n\t\t\t? embed.fields\n\t\t\t\t\t.map((field) => ({\n\t\t\t\t\t\tname: ellipsis(field.name, MESSAGE_LIMITS.EMBEDS.FIELDS.NAME),\n\t\t\t\t\t\tvalue: ellipsis(field.value, MESSAGE_LIMITS.EMBEDS.FIELDS.VALUE),\n\t\t\t\t\t}))\n\t\t\t\t\t.slice(0, MESSAGE_LIMITS.EMBEDS.FIELD_COUNT)\n\t\t\t: [],\n\t};\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACKO,IAAM,iBAAiB;AAAA,EAI7B,SAAS;AAAA,EAIT,aAAa;AAAA,EAIb,QAAQ;AAAA,IAIP,OAAO;AAAA,IAIP,aAAa;AAAA,IAIb,QAAQ;AAAA,IAIR,QAAQ;AAAA,IAIR,aAAa;AAAA,IAIb,QAAQ;AAAA,MAIP,MAAM;AAAA,MAIN,OAAO;AAAA,IACR;AAAA,EACD;AACD;AAOO,mBAAmB,UAAoB,QAAmC;AAChF,EAAC,OAAM,WAAW,CAAC,GAAG,KAAK,GAAG,MAAM;AACpC,SAAO;AACR;AAHgB;AAUT,kBAAkB,MAAc,OAAuB;AAC7D,MAAI,KAAK,UAAU,OAAO;AACzB,WAAO;AAAA,EACR;AAEA,QAAM,OAAO,QAAQ;AACrB,MAAI,OAAO,GAAG;AACb,WAAO,KAAK,MAAM,GAAG,KAAK;AAAA,EAC3B;AAEA,SAAO,GAAG,KAAK,MAAM,GAAG,IAAI;AAC7B;AAXgB;AAiBT,uBAAuB,OAA2B;AACxD,SAAO;AAAA,IACN,GAAG;AAAA,IACH,aAAa,MAAM,cAAc,SAAS,MAAM,aAAa,eAAe,OAAO,WAAW,IAAI;AAAA,IAClG,OAAO,MAAM,QAAQ,SAAS,MAAM,OAAO,eAAe,OAAO,KAAK,IAAI;AAAA,IAC1E,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX,MAAM,OACL,IAAI,CAAC,UAAW;AAAA,MAChB,MAAM,SAAS,MAAM,MAAM,eAAe,OAAO,OAAO,IAAI;AAAA,MAC5D,OAAO,SAAS,MAAM,OAAO,eAAe,OAAO,OAAO,KAAK;AAAA,IAChE,EAAE,EACD,MAAM,GAAG,eAAe,OAAO,WAAW,IAC3C,CAAC;AAAA,EACL;AACD;AA1BgB;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts","../src/embed.ts","../src/sortChannels.ts"],"sourcesContent":["export * from './embed.js';\nexport * from './sortChannels.js';\n","import type { APIEmbed, APIEmbedField } from 'discord-api-types/v10';\n\n/**\n * Limits commonly encountered with Discord's API\n */\nexport const MESSAGE_LIMITS = {\n\t/**\n\t * How long a message can be in characters\n\t */\n\tCONTENT: 4_000,\n\t/**\n\t * How many embeds can be in a message\n\t */\n\tEMBED_COUNT: 10,\n\t/**\n\t * Embed specific limits\n\t */\n\tEMBEDS: {\n\t\t/**\n\t\t * How long an embed title can be in characters\n\t\t */\n\t\tTITLE: 256,\n\t\t/**\n\t\t * How long an embed description can be in characters\n\t\t */\n\t\tDESCRIPTION: 4_096,\n\t\t/**\n\t\t * How long an embed footer can be in characters\n\t\t */\n\t\tFOOTER: 2_048,\n\t\t/**\n\t\t * How long an embed author can be in characters\n\t\t */\n\t\tAUTHOR: 256,\n\t\t/**\n\t\t * How many fields an embed can have\n\t\t */\n\t\tFIELD_COUNT: 25,\n\t\t/**\n\t\t * Field specific limits\n\t\t */\n\t\tFIELDS: {\n\t\t\t/**\n\t\t\t * How long a field name can be in characters\n\t\t\t */\n\t\t\tNAME: 256,\n\t\t\t/**\n\t\t\t * How long a field value can be in characters\n\t\t\t */\n\t\t\tVALUE: 1_024,\n\t\t},\n\t},\n} as const;\n\n/**\n * Adds the given fields to an embed - mutating it\n *\n * @param embed - The embed to add fields to\n * @param fields - The fields to add\n */\nexport function addFields(embed: APIEmbed, ...fields: APIEmbedField[]): APIEmbed {\n\t(embed.fields ??= []).push(...fields);\n\treturn embed;\n}\n\n/**\n * Cuts off text after the given length - appending \"...\" at the end\n *\n * @param text - The text to cut off\n * @param total - The maximum length of the text\n */\nexport function ellipsis(text: string, total: number): string {\n\tif (text.length <= total) {\n\t\treturn text;\n\t}\n\n\tconst keep = total - 3;\n\tif (keep < 1) {\n\t\treturn text.slice(0, total);\n\t}\n\n\treturn `${text.slice(0, keep)}...`;\n}\n\n/**\n * Returns a fully truncated embed - safe to use with Discord's API - does not mutate the given embed\n *\n * @param embed - The embed to truncate\n */\nexport function truncateEmbed(embed: APIEmbed): APIEmbed {\n\treturn {\n\t\t...embed,\n\t\tdescription: embed.description ? ellipsis(embed.description, MESSAGE_LIMITS.EMBEDS.DESCRIPTION) : undefined,\n\t\ttitle: embed.title ? ellipsis(embed.title, MESSAGE_LIMITS.EMBEDS.TITLE) : undefined,\n\t\tauthor: embed.author\n\t\t\t? {\n\t\t\t\t\t...embed.author,\n\t\t\t\t\tname: ellipsis(embed.author.name, MESSAGE_LIMITS.EMBEDS.AUTHOR),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfooter: embed.footer\n\t\t\t? {\n\t\t\t\t\t...embed.footer,\n\t\t\t\t\ttext: ellipsis(embed.footer.text, MESSAGE_LIMITS.EMBEDS.FOOTER),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfields: embed.fields\n\t\t\t? embed.fields\n\t\t\t\t\t.map((field) => ({\n\t\t\t\t\t\tname: ellipsis(field.name, MESSAGE_LIMITS.EMBEDS.FIELDS.NAME),\n\t\t\t\t\t\tvalue: ellipsis(field.value, MESSAGE_LIMITS.EMBEDS.FIELDS.VALUE),\n\t\t\t\t\t}))\n\t\t\t\t\t.slice(0, MESSAGE_LIMITS.EMBEDS.FIELD_COUNT)\n\t\t\t: [],\n\t};\n}\n","import { groupBy } from '@chatsift/utils';\nimport type { APIChannel, APIGuildCategoryChannel, APITextChannel } from 'discord-api-types/v10';\nimport { ChannelType } from 'discord-api-types/v10';\n\nconst GUILD_TEXT_TYPES = [ChannelType.GuildText, ChannelType.GuildNews, ChannelType.GuildForum];\n\n/**\n * Sorts an array of text and category channels - **does not support other channel types**\n */\nexport function sortChannels(unsorted: APIChannel[]): (APIGuildCategoryChannel | APITextChannel)[] {\n\tconst filtered = unsorted.filter(\n\t\t(channel): channel is APIGuildCategoryChannel | APITextChannel =>\n\t\t\tGUILD_TEXT_TYPES.includes(channel.type) || channel.type === ChannelType.GuildCategory,\n\t);\n\n\t// Group the channels by their category - or \"top\" if they aren't in one\n\tconst grouped = groupBy(filtered, (channel) => channel.parent_id ?? 'top');\n\n\t// Sort the top level channels - text channels are above category channels, otherwise use their position\n\tconst sortedTopLevel = grouped.top\n\t\t?.filter((channel) => !channel.parent_id)\n\t\t.sort((a, b) => {\n\t\t\tif (a.type === ChannelType.GuildText && b.type === ChannelType.GuildCategory) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\tif (a.type === ChannelType.GuildCategory && b.type === ChannelType.GuildText) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\treturn a.position! - b.position!;\n\t\t});\n\n\tconst channels: (APIGuildCategoryChannel | APITextChannel)[] = [];\n\tfor (const top of sortedTopLevel ?? []) {\n\t\tchannels.push(top);\n\n\t\tif (top.type === ChannelType.GuildCategory) {\n\t\t\tchannels.push(...(grouped[top.id] ?? []).sort((a, b) => a.position! - b.position!));\n\t\t}\n\t}\n\n\treturn channels.length ? channels : filtered.sort((a, b) => a.position! - b.position!);\n}\n"],"mappings":"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","names":[]}
package/dist/index.mjs CHANGED
@@ -3,16 +3,49 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
3
3
 
4
4
  // src/embed.ts
5
5
  var MESSAGE_LIMITS = {
6
+ /**
7
+ * How long a message can be in characters
8
+ */
6
9
  CONTENT: 4e3,
10
+ /**
11
+ * How many embeds can be in a message
12
+ */
7
13
  EMBED_COUNT: 10,
14
+ /**
15
+ * Embed specific limits
16
+ */
8
17
  EMBEDS: {
18
+ /**
19
+ * How long an embed title can be in characters
20
+ */
9
21
  TITLE: 256,
22
+ /**
23
+ * How long an embed description can be in characters
24
+ */
10
25
  DESCRIPTION: 4096,
26
+ /**
27
+ * How long an embed footer can be in characters
28
+ */
11
29
  FOOTER: 2048,
30
+ /**
31
+ * How long an embed author can be in characters
32
+ */
12
33
  AUTHOR: 256,
34
+ /**
35
+ * How many fields an embed can have
36
+ */
13
37
  FIELD_COUNT: 25,
38
+ /**
39
+ * Field specific limits
40
+ */
14
41
  FIELDS: {
42
+ /**
43
+ * How long a field name can be in characters
44
+ */
15
45
  NAME: 256,
46
+ /**
47
+ * How long a field value can be in characters
48
+ */
16
49
  VALUE: 1024
17
50
  }
18
51
  }
@@ -53,10 +86,40 @@ function truncateEmbed(embed) {
53
86
  };
54
87
  }
55
88
  __name(truncateEmbed, "truncateEmbed");
89
+
90
+ // src/sortChannels.ts
91
+ import { groupBy } from "@chatsift/utils";
92
+ import { ChannelType } from "discord-api-types/v10";
93
+ var GUILD_TEXT_TYPES = [ChannelType.GuildText, ChannelType.GuildNews, ChannelType.GuildForum];
94
+ function sortChannels(unsorted) {
95
+ const filtered = unsorted.filter(
96
+ (channel) => GUILD_TEXT_TYPES.includes(channel.type) || channel.type === ChannelType.GuildCategory
97
+ );
98
+ const grouped = groupBy(filtered, (channel) => channel.parent_id ?? "top");
99
+ const sortedTopLevel = grouped.top?.filter((channel) => !channel.parent_id).sort((a, b) => {
100
+ if (a.type === ChannelType.GuildText && b.type === ChannelType.GuildCategory) {
101
+ return -1;
102
+ }
103
+ if (a.type === ChannelType.GuildCategory && b.type === ChannelType.GuildText) {
104
+ return 1;
105
+ }
106
+ return a.position - b.position;
107
+ });
108
+ const channels = [];
109
+ for (const top of sortedTopLevel ?? []) {
110
+ channels.push(top);
111
+ if (top.type === ChannelType.GuildCategory) {
112
+ channels.push(...(grouped[top.id] ?? []).sort((a, b) => a.position - b.position));
113
+ }
114
+ }
115
+ return channels.length ? channels : filtered.sort((a, b) => a.position - b.position);
116
+ }
117
+ __name(sortChannels, "sortChannels");
56
118
  export {
57
119
  MESSAGE_LIMITS,
58
120
  addFields,
59
121
  ellipsis,
122
+ sortChannels,
60
123
  truncateEmbed
61
124
  };
62
125
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/embed.ts"],"sourcesContent":["import type { APIEmbed, APIEmbedField } from 'discord-api-types/v10';\n\n/**\n * Limits commonly encountered with Discord's API\n */\nexport const MESSAGE_LIMITS = {\n\t/**\n\t * How long a message can be in characters\n\t */\n\tCONTENT: 4000,\n\t/**\n\t * How many embeds can be in a message\n\t */\n\tEMBED_COUNT: 10,\n\t/**\n\t * Embed specific limits\n\t */\n\tEMBEDS: {\n\t\t/**\n\t\t * How long an embed title can be in characters\n\t\t */\n\t\tTITLE: 256,\n\t\t/**\n\t\t * How long an embed description can be in characters\n\t\t */\n\t\tDESCRIPTION: 4096,\n\t\t/**\n\t\t * How long an embed footer can be in characters\n\t\t */\n\t\tFOOTER: 2048,\n\t\t/**\n\t\t * How long an embed author can be in characters\n\t\t */\n\t\tAUTHOR: 256,\n\t\t/**\n\t\t * How many fields an embed can have\n\t\t */\n\t\tFIELD_COUNT: 25,\n\t\t/**\n\t\t * Field specific limits\n\t\t */\n\t\tFIELDS: {\n\t\t\t/**\n\t\t\t * How long a field name can be in characters\n\t\t\t */\n\t\t\tNAME: 256,\n\t\t\t/**\n\t\t\t * How long a field value can be in characters\n\t\t\t */\n\t\t\tVALUE: 1024,\n\t\t},\n\t},\n} as const;\n\n/**\n * Adds the given fields to an embed - mutating it\n * @param embed The embed to add fields to\n * @param fields The fields to add\n */\nexport function addFields(embed: APIEmbed, ...fields: APIEmbedField[]): APIEmbed {\n\t(embed.fields ??= []).push(...fields);\n\treturn embed;\n}\n\n/**\n * Cuts off text after the given length - appending \"...\" at the end\n * @param text The text to cut off\n * @param total The maximum length of the text\n */\nexport function ellipsis(text: string, total: number): string {\n\tif (text.length <= total) {\n\t\treturn text;\n\t}\n\n\tconst keep = total - 3;\n\tif (keep < 1) {\n\t\treturn text.slice(0, total);\n\t}\n\n\treturn `${text.slice(0, keep)}...`;\n}\n\n/**\n * Returns a fully truncated embed - safe to use with Discord's API - does not mutate the given embed\n * @param embed The embed to truncate\n */\nexport function truncateEmbed(embed: APIEmbed): APIEmbed {\n\treturn {\n\t\t...embed,\n\t\tdescription: embed.description ? ellipsis(embed.description, MESSAGE_LIMITS.EMBEDS.DESCRIPTION) : undefined,\n\t\ttitle: embed.title ? ellipsis(embed.title, MESSAGE_LIMITS.EMBEDS.TITLE) : undefined,\n\t\tauthor: embed.author\n\t\t\t? {\n\t\t\t\t\t...embed.author,\n\t\t\t\t\tname: ellipsis(embed.author.name, MESSAGE_LIMITS.EMBEDS.AUTHOR),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfooter: embed.footer\n\t\t\t? {\n\t\t\t\t\t...embed.footer,\n\t\t\t\t\ttext: ellipsis(embed.footer.text, MESSAGE_LIMITS.EMBEDS.FOOTER),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfields: embed.fields\n\t\t\t? embed.fields\n\t\t\t\t\t.map((field) => ({\n\t\t\t\t\t\tname: ellipsis(field.name, MESSAGE_LIMITS.EMBEDS.FIELDS.NAME),\n\t\t\t\t\t\tvalue: ellipsis(field.value, MESSAGE_LIMITS.EMBEDS.FIELDS.VALUE),\n\t\t\t\t\t}))\n\t\t\t\t\t.slice(0, MESSAGE_LIMITS.EMBEDS.FIELD_COUNT)\n\t\t\t: [],\n\t};\n}\n"],"mappings":";;;;AAKO,IAAM,iBAAiB;AAAA,EAI7B,SAAS;AAAA,EAIT,aAAa;AAAA,EAIb,QAAQ;AAAA,IAIP,OAAO;AAAA,IAIP,aAAa;AAAA,IAIb,QAAQ;AAAA,IAIR,QAAQ;AAAA,IAIR,aAAa;AAAA,IAIb,QAAQ;AAAA,MAIP,MAAM;AAAA,MAIN,OAAO;AAAA,IACR;AAAA,EACD;AACD;AAOO,mBAAmB,UAAoB,QAAmC;AAChF,EAAC,OAAM,WAAW,CAAC,GAAG,KAAK,GAAG,MAAM;AACpC,SAAO;AACR;AAHgB;AAUT,kBAAkB,MAAc,OAAuB;AAC7D,MAAI,KAAK,UAAU,OAAO;AACzB,WAAO;AAAA,EACR;AAEA,QAAM,OAAO,QAAQ;AACrB,MAAI,OAAO,GAAG;AACb,WAAO,KAAK,MAAM,GAAG,KAAK;AAAA,EAC3B;AAEA,SAAO,GAAG,KAAK,MAAM,GAAG,IAAI;AAC7B;AAXgB;AAiBT,uBAAuB,OAA2B;AACxD,SAAO;AAAA,IACN,GAAG;AAAA,IACH,aAAa,MAAM,cAAc,SAAS,MAAM,aAAa,eAAe,OAAO,WAAW,IAAI;AAAA,IAClG,OAAO,MAAM,QAAQ,SAAS,MAAM,OAAO,eAAe,OAAO,KAAK,IAAI;AAAA,IAC1E,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX,MAAM,OACL,IAAI,CAAC,UAAW;AAAA,MAChB,MAAM,SAAS,MAAM,MAAM,eAAe,OAAO,OAAO,IAAI;AAAA,MAC5D,OAAO,SAAS,MAAM,OAAO,eAAe,OAAO,OAAO,KAAK;AAAA,IAChE,EAAE,EACD,MAAM,GAAG,eAAe,OAAO,WAAW,IAC3C,CAAC;AAAA,EACL;AACD;AA1BgB;","names":[]}
1
+ {"version":3,"sources":["../src/embed.ts","../src/sortChannels.ts"],"sourcesContent":["import type { APIEmbed, APIEmbedField } from 'discord-api-types/v10';\n\n/**\n * Limits commonly encountered with Discord's API\n */\nexport const MESSAGE_LIMITS = {\n\t/**\n\t * How long a message can be in characters\n\t */\n\tCONTENT: 4_000,\n\t/**\n\t * How many embeds can be in a message\n\t */\n\tEMBED_COUNT: 10,\n\t/**\n\t * Embed specific limits\n\t */\n\tEMBEDS: {\n\t\t/**\n\t\t * How long an embed title can be in characters\n\t\t */\n\t\tTITLE: 256,\n\t\t/**\n\t\t * How long an embed description can be in characters\n\t\t */\n\t\tDESCRIPTION: 4_096,\n\t\t/**\n\t\t * How long an embed footer can be in characters\n\t\t */\n\t\tFOOTER: 2_048,\n\t\t/**\n\t\t * How long an embed author can be in characters\n\t\t */\n\t\tAUTHOR: 256,\n\t\t/**\n\t\t * How many fields an embed can have\n\t\t */\n\t\tFIELD_COUNT: 25,\n\t\t/**\n\t\t * Field specific limits\n\t\t */\n\t\tFIELDS: {\n\t\t\t/**\n\t\t\t * How long a field name can be in characters\n\t\t\t */\n\t\t\tNAME: 256,\n\t\t\t/**\n\t\t\t * How long a field value can be in characters\n\t\t\t */\n\t\t\tVALUE: 1_024,\n\t\t},\n\t},\n} as const;\n\n/**\n * Adds the given fields to an embed - mutating it\n *\n * @param embed - The embed to add fields to\n * @param fields - The fields to add\n */\nexport function addFields(embed: APIEmbed, ...fields: APIEmbedField[]): APIEmbed {\n\t(embed.fields ??= []).push(...fields);\n\treturn embed;\n}\n\n/**\n * Cuts off text after the given length - appending \"...\" at the end\n *\n * @param text - The text to cut off\n * @param total - The maximum length of the text\n */\nexport function ellipsis(text: string, total: number): string {\n\tif (text.length <= total) {\n\t\treturn text;\n\t}\n\n\tconst keep = total - 3;\n\tif (keep < 1) {\n\t\treturn text.slice(0, total);\n\t}\n\n\treturn `${text.slice(0, keep)}...`;\n}\n\n/**\n * Returns a fully truncated embed - safe to use with Discord's API - does not mutate the given embed\n *\n * @param embed - The embed to truncate\n */\nexport function truncateEmbed(embed: APIEmbed): APIEmbed {\n\treturn {\n\t\t...embed,\n\t\tdescription: embed.description ? ellipsis(embed.description, MESSAGE_LIMITS.EMBEDS.DESCRIPTION) : undefined,\n\t\ttitle: embed.title ? ellipsis(embed.title, MESSAGE_LIMITS.EMBEDS.TITLE) : undefined,\n\t\tauthor: embed.author\n\t\t\t? {\n\t\t\t\t\t...embed.author,\n\t\t\t\t\tname: ellipsis(embed.author.name, MESSAGE_LIMITS.EMBEDS.AUTHOR),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfooter: embed.footer\n\t\t\t? {\n\t\t\t\t\t...embed.footer,\n\t\t\t\t\ttext: ellipsis(embed.footer.text, MESSAGE_LIMITS.EMBEDS.FOOTER),\n\t\t\t }\n\t\t\t: undefined,\n\t\tfields: embed.fields\n\t\t\t? embed.fields\n\t\t\t\t\t.map((field) => ({\n\t\t\t\t\t\tname: ellipsis(field.name, MESSAGE_LIMITS.EMBEDS.FIELDS.NAME),\n\t\t\t\t\t\tvalue: ellipsis(field.value, MESSAGE_LIMITS.EMBEDS.FIELDS.VALUE),\n\t\t\t\t\t}))\n\t\t\t\t\t.slice(0, MESSAGE_LIMITS.EMBEDS.FIELD_COUNT)\n\t\t\t: [],\n\t};\n}\n","import { groupBy } from '@chatsift/utils';\nimport type { APIChannel, APIGuildCategoryChannel, APITextChannel } from 'discord-api-types/v10';\nimport { ChannelType } from 'discord-api-types/v10';\n\nconst GUILD_TEXT_TYPES = [ChannelType.GuildText, ChannelType.GuildNews, ChannelType.GuildForum];\n\n/**\n * Sorts an array of text and category channels - **does not support other channel types**\n */\nexport function sortChannels(unsorted: APIChannel[]): (APIGuildCategoryChannel | APITextChannel)[] {\n\tconst filtered = unsorted.filter(\n\t\t(channel): channel is APIGuildCategoryChannel | APITextChannel =>\n\t\t\tGUILD_TEXT_TYPES.includes(channel.type) || channel.type === ChannelType.GuildCategory,\n\t);\n\n\t// Group the channels by their category - or \"top\" if they aren't in one\n\tconst grouped = groupBy(filtered, (channel) => channel.parent_id ?? 'top');\n\n\t// Sort the top level channels - text channels are above category channels, otherwise use their position\n\tconst sortedTopLevel = grouped.top\n\t\t?.filter((channel) => !channel.parent_id)\n\t\t.sort((a, b) => {\n\t\t\tif (a.type === ChannelType.GuildText && b.type === ChannelType.GuildCategory) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\tif (a.type === ChannelType.GuildCategory && b.type === ChannelType.GuildText) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\treturn a.position! - b.position!;\n\t\t});\n\n\tconst channels: (APIGuildCategoryChannel | APITextChannel)[] = [];\n\tfor (const top of sortedTopLevel ?? []) {\n\t\tchannels.push(top);\n\n\t\tif (top.type === ChannelType.GuildCategory) {\n\t\t\tchannels.push(...(grouped[top.id] ?? []).sort((a, b) => a.position! - b.position!));\n\t\t}\n\t}\n\n\treturn channels.length ? channels : filtered.sort((a, b) => a.position! - b.position!);\n}\n"],"mappings":";;;;AAKO,IAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAI7B,SAAS;AAAA;AAAA;AAAA;AAAA,EAIT,aAAa;AAAA;AAAA;AAAA;AAAA,EAIb,QAAQ;AAAA;AAAA;AAAA;AAAA,IAIP,OAAO;AAAA;AAAA;AAAA;AAAA,IAIP,aAAa;AAAA;AAAA;AAAA;AAAA,IAIb,QAAQ;AAAA;AAAA;AAAA;AAAA,IAIR,QAAQ;AAAA;AAAA;AAAA;AAAA,IAIR,aAAa;AAAA;AAAA;AAAA;AAAA,IAIb,QAAQ;AAAA;AAAA;AAAA;AAAA,MAIP,MAAM;AAAA;AAAA;AAAA;AAAA,MAIN,OAAO;AAAA,IACR;AAAA,EACD;AACD;AAQO,SAAS,UAAU,UAAoB,QAAmC;AAChF,GAAC,MAAM,WAAW,CAAC,GAAG,KAAK,GAAG,MAAM;AACpC,SAAO;AACR;AAHgB;AAWT,SAAS,SAAS,MAAc,OAAuB;AAC7D,MAAI,KAAK,UAAU,OAAO;AACzB,WAAO;AAAA,EACR;AAEA,QAAM,OAAO,QAAQ;AACrB,MAAI,OAAO,GAAG;AACb,WAAO,KAAK,MAAM,GAAG,KAAK;AAAA,EAC3B;AAEA,SAAO,GAAG,KAAK,MAAM,GAAG,IAAI;AAC7B;AAXgB;AAkBT,SAAS,cAAc,OAA2B;AACxD,SAAO;AAAA,IACN,GAAG;AAAA,IACH,aAAa,MAAM,cAAc,SAAS,MAAM,aAAa,eAAe,OAAO,WAAW,IAAI;AAAA,IAClG,OAAO,MAAM,QAAQ,SAAS,MAAM,OAAO,eAAe,OAAO,KAAK,IAAI;AAAA,IAC1E,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX;AAAA,MACA,GAAG,MAAM;AAAA,MACT,MAAM,SAAS,MAAM,OAAO,MAAM,eAAe,OAAO,MAAM;AAAA,IAC9D,IACA;AAAA,IACH,QAAQ,MAAM,SACX,MAAM,OACL,IAAI,CAAC,WAAW;AAAA,MAChB,MAAM,SAAS,MAAM,MAAM,eAAe,OAAO,OAAO,IAAI;AAAA,MAC5D,OAAO,SAAS,MAAM,OAAO,eAAe,OAAO,OAAO,KAAK;AAAA,IAChE,EAAE,EACD,MAAM,GAAG,eAAe,OAAO,WAAW,IAC3C,CAAC;AAAA,EACL;AACD;AA1BgB;;;ACzFhB,SAAS,eAAe;AAExB,SAAS,mBAAmB;AAE5B,IAAM,mBAAmB,CAAC,YAAY,WAAW,YAAY,WAAW,YAAY,UAAU;AAKvF,SAAS,aAAa,UAAsE;AAClG,QAAM,WAAW,SAAS;AAAA,IACzB,CAAC,YACA,iBAAiB,SAAS,QAAQ,IAAI,KAAK,QAAQ,SAAS,YAAY;AAAA,EAC1E;AAGA,QAAM,UAAU,QAAQ,UAAU,CAAC,YAAY,QAAQ,aAAa,KAAK;AAGzE,QAAM,iBAAiB,QAAQ,KAC5B,OAAO,CAAC,YAAY,CAAC,QAAQ,SAAS,EACvC,KAAK,CAAC,GAAG,MAAM;AACf,QAAI,EAAE,SAAS,YAAY,aAAa,EAAE,SAAS,YAAY,eAAe;AAC7E,aAAO;AAAA,IACR;AAEA,QAAI,EAAE,SAAS,YAAY,iBAAiB,EAAE,SAAS,YAAY,WAAW;AAC7E,aAAO;AAAA,IACR;AAEA,WAAO,EAAE,WAAY,EAAE;AAAA,EACxB,CAAC;AAEF,QAAM,WAAyD,CAAC;AAChE,aAAW,OAAO,kBAAkB,CAAC,GAAG;AACvC,aAAS,KAAK,GAAG;AAEjB,QAAI,IAAI,SAAS,YAAY,eAAe;AAC3C,eAAS,KAAK,IAAI,QAAQ,IAAI,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,MAAM,EAAE,WAAY,EAAE,QAAS,CAAC;AAAA,IACnF;AAAA,EACD;AAEA,SAAO,SAAS,SAAS,WAAW,SAAS,KAAK,CAAC,GAAG,MAAM,EAAE,WAAY,EAAE,QAAS;AACtF;AAlCgB;","names":[]}
@@ -1,3 +1,3 @@
1
- import { APIChannel, APIGuildCategoryChannel, APITextChannel } from 'discord-api-types/v10';
2
- export declare function sortChannels(unsorted: APIChannel[]): (APITextChannel | APIGuildCategoryChannel)[];
1
+ import type { APIChannel, APIGuildCategoryChannel, APITextChannel } from 'discord-api-types/v10';
2
+ export declare function sortChannels(unsorted: APIChannel[]): (APIGuildCategoryChannel | APITextChannel)[];
3
3
  //# sourceMappingURL=sortChannels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sortChannels.d.ts","sourceRoot":"","sources":["../src/sortChannels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,cAAc,EAAe,MAAM,uBAAuB,CAAC;AAOzG,wBAAgB,YAAY,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,cAAc,GAAG,uBAAuB,CAAC,EAAE,CAkCjG"}
1
+ {"version":3,"file":"sortChannels.d.ts","sourceRoot":"","sources":["../src/sortChannels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAQjG,wBAAgB,YAAY,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,uBAAuB,GAAG,cAAc,CAAC,EAAE,CAkCjG"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/discord-api-types/globals.d.ts","../../../node_modules/discord-api-types/payloads/v10/oauth2.d.ts","../../../node_modules/discord-api-types/payloads/v10/permissions.d.ts","../../../node_modules/discord-api-types/payloads/v10/emoji.d.ts","../../../node_modules/discord-api-types/payloads/v10/sticker.d.ts","../../../node_modules/discord-api-types/payloads/v10/guild.d.ts","../../../node_modules/discord-api-types/payloads/v10/user.d.ts","../../../node_modules/discord-api-types/payloads/v10/teams.d.ts","../../../node_modules/discord-api-types/payloads/v10/application.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts","../../../node_modules/discord-api-types/rest/common.d.ts","../../../node_modules/discord-api-types/payloads/common.d.ts","../../../node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts","../../../node_modules/discord-api-types/payloads/v10/stageInstance.d.ts","../../../node_modules/discord-api-types/payloads/v10/webhook.d.ts","../../../node_modules/discord-api-types/payloads/v10/auditLog.d.ts","../../../node_modules/discord-api-types/payloads/v10/invite.d.ts","../../../node_modules/discord-api-types/rest/v10/auditLog.d.ts","../../../node_modules/discord-api-types/utils/internals.d.ts","../../../node_modules/discord-api-types/rest/v10/channel.d.ts","../../../node_modules/discord-api-types/rest/v10/emoji.d.ts","../../../node_modules/discord-api-types/rest/v10/gateway.d.ts","../../../node_modules/discord-api-types/rest/v10/guild.d.ts","../../../node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts","../../../node_modules/discord-api-types/rest/v10/webhook.d.ts","../../../node_modules/discord-api-types/rest/v10/interactions.d.ts","../../../node_modules/discord-api-types/rest/v10/invite.d.ts","../../../node_modules/discord-api-types/rest/v10/oauth2.d.ts","../../../node_modules/discord-api-types/rest/v10/stageInstance.d.ts","../../../node_modules/discord-api-types/rest/v10/sticker.d.ts","../../../node_modules/discord-api-types/rest/v10/template.d.ts","../../../node_modules/discord-api-types/rest/v10/user.d.ts","../../../node_modules/discord-api-types/rest/v10/voice.d.ts","../../../node_modules/discord-api-types/rest/v10/index.d.ts","../../../node_modules/discord-api-types/payloads/v10/template.d.ts","../../../node_modules/discord-api-types/payloads/v10/voice.d.ts","../../../node_modules/discord-api-types/payloads/v10/index.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts","../../../node_modules/discord-api-types/payloads/v10/interactions.d.ts","../../../node_modules/discord-api-types/payloads/v10/channel.d.ts","../../../node_modules/discord-api-types/payloads/v10/gateway.d.ts","../../../node_modules/discord-api-types/gateway/common.d.ts","../../../node_modules/discord-api-types/gateway/v10.d.ts","../../../node_modules/discord-api-types/rpc/common.d.ts","../../../node_modules/discord-api-types/rpc/v10.d.ts","../../../node_modules/discord-api-types/utils/v10.d.ts","../../../node_modules/discord-api-types/v10.d.ts","../src/embed.ts","../src/index.ts","../../utils/dist/index.d.ts","../src/sortChannels.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/chai-subset/index.d.ts","../../../node_modules/@types/cookie/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/prettier/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","9533a725b93b82a2bab9487aafe372801517ffd5cf427bd208ce7639b226ce87","eaa3d83837a79996c2ee1c98c1b48681767646031ab681952e375b3bb2a065bc","438d82bf075448627967a78cea3b31971495450df62802d54738a7d9b9472df1","4d30e9f01edd93d079fb01a4728a767164e1454d0e7b722c66bcf95f67b83fa4","487278055ec14c64a6a1ab7ad3edc15f5372ea954adb76eedecf68c1413f35d2","c20384e9ea4e8a438fbe7287520f06b6c2000854f1f3bbadf7e106662fdeb6c1","9b23058829182fb90522f0da3eca46646d95271cdbc31e1bbe1a1bf940e1f1c2","47d76d5052f990198d6741da4b48821b07065a4e185825e233167d077899f0f1","9751242c586ee044e0be5548a720887189b098f150f3b5d1af611deb343bd63b","1db3e129a04a88a80bbd87e6b2f65dbdd19228df65f34018ba0d4494791620ef","89bfac3001bd8b5854f2b4c65ad8bb59316c2b1db5fbf1997b462b9106576a9c","6401ac96ca2b605ea1a64ff7e4d478b7fe6f47662b5bd9d793f6ca87cdf6401d","29f4774dd4b4f282f83bd540348fa9f7d802e69de03e7bf07e06bac26066be13","10c1ab62352f28161fe65d2ba88861cfb53fec92e2cd829a077da20e3f6f602e","700bcc43264760b5013255e25eb78666d8c3985c13938790da148d28c58bbbc3","1d221b3d4c799fafb87d10da78854dd769d46bb3aea0950d0f62a2b9d167dede","c162c6b003a3ae6efca77331043cb73169325d0976dd7442e08d8aaba3b72bf3","7aeb75b0330334acd6180298836678c376666ea5e124cdb655d0cb062816b759","a50d20c95fdb686f621c1ed628c487d2d1c088259916db25fdc7e5d46aae86cd","93366d07c90d128ecc68aa6432449d64ec62e834cf8650cdae8d6f6f12a911a5","e6605b0a933513e11612ebf4aef75f3f6eb331c0bfd9854c84c97f4106f59561","59b4e54326ac9f74780b0f335739dcf00d29151d6f43c0e6536f8ae0cd778b14","826c65464b843df3e95f36828959af9275ea035fdb77157be1c11be42cc69cf1","0b0d2596661778d539d2d2971e70b92675b1c632d991d20bfbb3a2a6a0bf1519","667aa3b49423cddefc1c9496e36cad75df659648236b8b293b051f39402950b2","70ca3cb2df28e64194e350f31dba3d4079554ced4a0a21186621b9325c74e200","b10fd4d7564316516ef38a77dbd44a84a171efbca29b7cf0b8d739134b9505a3","e895e05c84660347c423cf6133e89846d27f63710c88ed84457f5a7d803f573f","2ada2d8b8e098bf022ae6572539a2df089b66929f716b6b0091ba660574541bb","0c0ce7953d1b83b02511f25b4a9796c73435140168606ddc93c6dde4bdd3f8b6","05f93dc0779663b58d39fa9d6e06ecb3ce891bfb15a7f3c0452dcf06135707a3","c56e0bb78da9df07cf8341f42fcb83ab8249ac59e001ee0c3aa7faa6d338348e","fdb53f66e7c46a8818b4e95fbe8eb1fa31a410705b662550398f67db54e32305","bfd428cf50420e965b59a832bc1e6b1cd1249a9c58f971b3defd2c9853d3327c","dec598716939df93f63d13ca7071d769f3644bef8f0b24eac69f4aa75e066cc9","9ae483327708bac5d7ece3be75fa422b7830a3566499286340759bca4c479710","675153146f88eeead4fb7ea6f98130d1514a5a1163d4caa58c6fcfd2d3936ea9","cd4bfef8e03cc43b60026ddeac94fa5fd1d48ee65785b395ad6836b154d6d60f","8152c023134de6f37244a061817e955ac9aca5a1319aead9ac06da90a161042f","24fdb8f4783d77a4ebba257b21ef3a57e6db12d680b9e53544206ddba3e8e28c","864bcc31f78760799c6fab9067f694d98a9be2b73d3ed42dc547ee40a437ad08","ca46958959923bbf0b8722aa547a5a738101759b0d4e0e10cb48cb05ac347a8b","aedd384920e3b1d634999fc3e629fb4cdd2b9e655f887d0d2025afca412f51f8","e962ce62baaefef0adf4e77ea0b6f12928ec645cad4d03ca45b0c373dfe8e34d","7aea6edc885fb60d84907f13f4b9bfcdc26d96035d3e1bcf4de3e2fb39b01e2b","cbac58da70076934a9cd0eb166cb74ae300fb74ab199231faf24c05503a4d26c","92bb7b7cf3b4b4c201ecb27e46e1e584430e87f7c0ffbd24013af8d97d013e10","fc48093072e2c3744a031e65c903955ec0664c9d7f14d0f2b78397a275033e72","af70d86652e018fdc289df1bdd926026620a4ef8d2f5bb54c4b3b7e8cc792a3f","52398b4bf82408b299800cb070a070650fa247e5b70d7b7267310198daf5e5f9","0b73cd4db27f23a6ed653b9803bb8e88fffa10a829681d836c687fcd5105e4e4","37bf3139b0ceaf28c9ac4d1ca5ed35d32f190ab57a05f4c45a181842355af876","32c95a5e166735084a56b82a3fbe7571a9a67c9a60640fdd215d36b899869150","e33e9d11e28627ab1528219958a0aa6e158deed4dc05f55dd3ea64dd8bd0ac8a","cdb6f2b3fcceb09dd2f073380aac69a96b6f5c5ff0de917c110b0acf444153c4","ea241f00fbf9b93c039cc4327034b22975e4a57542213c2293d5d4772bb49083","f7eca5c990cca97e500e753a7efc8026be6e990928cc878e3ec82db7288af8b0","ca4d4d256698753e5f6b540fc51655f5ce7d0b22e98d99c1eae742079b49934f","7f1b123cd7f959c1ba58d6fb1c21fdd2d3f7a59db982d956d185a1c261564851","616b3ada12d7a7701f01474baf4e546f9a1f3d622653e122cf4fcf8f93def54a","8ce317b69fff4eb953d795f0ec80dc0e584ee1bbe59b1d57359d5da3d17adbb9","cbbda58455b0fbe24313925dace6eaa86fc09f418213f12a02df328880c26903","62ad0491d44a8b3de19eec335cd31120a259d2234e9d7237c0fc1609f799e38d","518fdf30b58a81043de3c889e2c1fb271ed6e26aa40bacd557cb439046c22439","7295f87ec01ced018928faf15c23a4eabf88ee5297c9d918c7108792f6aeb5e0","41044448cfd08efc0dbbb3da7399223a57a8abc7c5060d84eb3ee2cc710a7c86","2609b586c8c4ecf9b41f1bec6dd2fb751a3ff597c2bc22abecd38d0e7f92bb9f","90894ffc759a88f06aff669e649467ad6d20b377df7badc3276f6cfb04ed4ddf","1c7e2e5a0c194aa73f222f2296829dd7ddb112c371f379a0e6b47818b575bc0c",{"version":"4f817a61fb465765916ab9b32bfe5e89d3db53595f580eff120321fd413f6f12","signature":"2c6e7d7165e9eff1d49043f80f426b7f1af17a5057b4a4ee63f029ba2db4c588"},"547cf1460f2a37c34d5dbc8a2110a19193b86fcbc8e9821be4780f58ea21ed11","5c51f1bf4332739690d8561767a1b5e30dd9189f0a8c2654241098e5627c3bf1",{"version":"b653ef72ada791e3dc33222923aa51246aa2389bc62249f7da2dc79d869acbb3","signature":"e3f20a1e7af431150622d3d197fc927450aa3801d6ba532d88645637c318bfa4"},{"version":"3a15910b7f45dfc393f010ee8f913580b08d65752800fc48147ea13445acd5f7","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"4a547783c826c1dec10d96734687ae4db2e89d40261e91b5c327b60748315dc1",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ade6e6c42087188b5c56f0384651c32736b2df192dadd3c8617e9845b76fd41b","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","2d474dfb84cd28ea43f27fe684da8c00382cbd40cee45e1dad4e9f41f6c437b6","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"da35d7f570a3834994392d62fed0186f12fdcab176681388e42f544d2a5c535a","b65ccbecbe24e77d40875a59c209fbb9b866518acca742d2c27b91b034e5ff18","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","f6b2d700c02c818151361abb13737527e8bc0aab9b7065b662b25d9eaba4c5de","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e"],"options":{"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":99,"noEmitHelpers":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"fileIdsList":[[127,180],[180],[130,131,132,180],[137,180],[140,180],[141,146,180],[142,152,153,160,169,179,180],[142,143,152,160,180],[144,180],[145,146,153,161,180],[146,169,176,180],[147,149,152,160,180],[148,180],[149,150,180],[151,152,180],[152,180],[152,153,154,169,179,180],[152,153,154,169,180],[155,160,169,179,180],[152,153,155,156,160,169,176,179,180],[155,157,169,176,179,180],[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],[152,158,180],[159,179,180],[149,152,160,169,180],[161,180],[162,180],[140,163,180],[164,178,180,184],[165,180],[166,180],[152,167,180],[167,168,180,182],[152,169,170,171,180],[169,171,180],[169,170,180],[172,180],[173,180],[152,174,175,180],[174,175,180],[146,160,176,180],[177,180],[160,178,180],[141,155,166,179,180],[146,180],[169,180,181],[180,182],[180,183],[141,146,152,154,163,169,179,180,182,184],[169,180,185],[54,85,103,116,117,180],[77,180],[54,63,64,180],[63,122,180],[63,64,180],[54,63,64,115,180],[122,180],[63,64,106,180],[63,64,73,180],[54,63,65,66,67,68,69,70,71,72,73,74,75,76,103,105,109,180],[54,60,76,105,109,115,180],[54,109,180],[54,180],[54,59,104,105,106,107,108,115,122,180],[103,180],[54,59,60,104,115,122,180],[105,114,115,180],[103,115,180],[104,105,180],[103,109,115,122,180],[54,55,60,61,180],[54,56,58,59,60,79,80,81,114,115,180],[54,56,57,58,60,62,114,180],[54,56,60,180],[54,57,60,115,180],[54,56,57,58,60,116,180],[54,59,60,180],[55,56,57,58,59,60,61,62,78,79,80,81,82,83,101,102,114,115,116,180],[104,105,109,110,111,112,113,180],[59,60,62,79,80,115,180],[54,59,180],[54,60,180],[54,60,100,180],[54,103,180],[54,82,180],[54,85,103,180],[54,85,86,103,180],[54,85,122,180],[54,77,84,86,87,88,89,90,91,92,93,94,95,96,97,98,99,180],[85,91,103,180],[85,103,180],[119,180],[54,100,103,118,120,121,180],[53,122,180],[53,123,180],[53,122,125,180],[122]],"referencedMap":[[128,1],[127,2],[129,2],[130,2],[133,3],[131,2],[134,2],[132,2],[135,2],[136,2],[137,4],[138,4],[140,5],[141,6],[142,7],[143,8],[144,9],[145,10],[146,11],[147,12],[148,13],[149,14],[150,14],[151,15],[152,16],[153,17],[154,18],[139,2],[186,2],[155,19],[156,20],[157,21],[187,22],[158,23],[159,24],[160,25],[161,26],[162,27],[163,28],[164,29],[165,30],[166,31],[167,32],[168,33],[169,34],[171,35],[170,36],[172,37],[173,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,46],[182,47],[183,48],[184,49],[185,50],[188,2],[189,2],[190,2],[117,2],[118,51],[54,2],[78,52],[65,53],[64,54],[66,55],[67,56],[68,55],[69,53],[70,55],[71,53],[63,57],[72,55],[73,58],[74,59],[75,53],[106,60],[107,61],[76,62],[108,63],[109,64],[110,65],[105,66],[111,67],[112,68],[113,69],[104,70],[62,71],[82,72],[115,73],[57,74],[116,75],[59,76],[79,77],[103,78],[114,79],[83,80],[55,2],[56,63],[80,81],[58,82],[61,82],[101,83],[60,81],[102,81],[81,84],[77,2],[84,85],[86,86],[87,86],[88,65],[89,87],[90,88],[100,89],[92,90],[93,84],[94,84],[95,86],[96,91],[97,91],[98,86],[99,65],[91,86],[119,2],[120,92],[85,2],[121,65],[122,93],[53,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[8,2],[46,2],[43,2],[44,2],[45,2],[47,2],[9,2],[48,2],[49,2],[50,2],[51,2],[1,2],[10,2],[52,2],[123,94],[124,95],[126,96],[125,2]],"exportedModulesMap":[[128,1],[127,2],[129,2],[130,2],[133,3],[131,2],[134,2],[132,2],[135,2],[136,2],[137,4],[138,4],[140,5],[141,6],[142,7],[143,8],[144,9],[145,10],[146,11],[147,12],[148,13],[149,14],[150,14],[151,15],[152,16],[153,17],[154,18],[139,2],[186,2],[155,19],[156,20],[157,21],[187,22],[158,23],[159,24],[160,25],[161,26],[162,27],[163,28],[164,29],[165,30],[166,31],[167,32],[168,33],[169,34],[171,35],[170,36],[172,37],[173,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,46],[182,47],[183,48],[184,49],[185,50],[188,2],[189,2],[190,2],[117,2],[118,51],[54,2],[78,52],[65,53],[64,54],[66,55],[67,56],[68,55],[69,53],[70,55],[71,53],[63,57],[72,55],[73,58],[74,59],[75,53],[106,60],[107,61],[76,62],[108,63],[109,64],[110,65],[105,66],[111,67],[112,68],[113,69],[104,70],[62,71],[82,72],[115,73],[57,74],[116,75],[59,76],[79,77],[103,78],[114,79],[83,80],[55,2],[56,63],[80,81],[58,82],[61,82],[101,83],[60,81],[102,81],[81,84],[77,2],[84,85],[86,86],[87,86],[88,65],[89,87],[90,88],[100,89],[92,90],[93,84],[94,84],[95,86],[96,91],[97,91],[98,86],[99,65],[91,86],[119,2],[120,92],[85,2],[121,65],[122,93],[53,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[8,2],[46,2],[43,2],[44,2],[45,2],[47,2],[9,2],[48,2],[49,2],[50,2],[51,2],[1,2],[10,2],[52,2],[123,97],[124,95],[126,97],[125,2]],"semanticDiagnosticsPerFile":[128,127,129,130,133,131,134,132,135,136,137,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,139,186,155,156,157,187,158,159,160,161,162,163,164,165,166,167,168,169,171,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,188,189,190,117,118,54,78,65,64,66,67,68,69,70,71,63,72,73,74,75,106,107,76,108,109,110,105,111,112,113,104,62,82,115,57,116,59,79,103,114,83,55,56,80,58,61,101,60,102,81,77,84,86,87,88,89,90,100,92,93,94,95,96,97,98,99,91,119,120,85,121,122,53,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,51,1,10,52,123,124,126,125]},"version":"4.7.4"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/discord-api-types/globals.d.ts","../../../node_modules/discord-api-types/payloads/v10/oauth2.d.ts","../../../node_modules/discord-api-types/payloads/v10/permissions.d.ts","../../../node_modules/discord-api-types/payloads/v10/emoji.d.ts","../../../node_modules/discord-api-types/payloads/v10/sticker.d.ts","../../../node_modules/discord-api-types/payloads/v10/guild.d.ts","../../../node_modules/discord-api-types/payloads/v10/user.d.ts","../../../node_modules/discord-api-types/payloads/v10/teams.d.ts","../../../node_modules/discord-api-types/payloads/v10/application.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts","../../../node_modules/discord-api-types/rest/common.d.ts","../../../node_modules/discord-api-types/payloads/common.d.ts","../../../node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts","../../../node_modules/discord-api-types/payloads/v10/stageInstance.d.ts","../../../node_modules/discord-api-types/payloads/v10/webhook.d.ts","../../../node_modules/discord-api-types/payloads/v10/auditLog.d.ts","../../../node_modules/discord-api-types/payloads/v10/invite.d.ts","../../../node_modules/discord-api-types/rest/v10/auditLog.d.ts","../../../node_modules/discord-api-types/utils/internals.d.ts","../../../node_modules/discord-api-types/rest/v10/channel.d.ts","../../../node_modules/discord-api-types/rest/v10/emoji.d.ts","../../../node_modules/discord-api-types/rest/v10/gateway.d.ts","../../../node_modules/discord-api-types/rest/v10/guild.d.ts","../../../node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts","../../../node_modules/discord-api-types/rest/v10/webhook.d.ts","../../../node_modules/discord-api-types/rest/v10/interactions.d.ts","../../../node_modules/discord-api-types/rest/v10/invite.d.ts","../../../node_modules/discord-api-types/rest/v10/oauth2.d.ts","../../../node_modules/discord-api-types/rest/v10/stageInstance.d.ts","../../../node_modules/discord-api-types/rest/v10/sticker.d.ts","../../../node_modules/discord-api-types/rest/v10/template.d.ts","../../../node_modules/discord-api-types/rest/v10/user.d.ts","../../../node_modules/discord-api-types/rest/v10/voice.d.ts","../../../node_modules/discord-api-types/rest/v10/index.d.ts","../../../node_modules/discord-api-types/payloads/v10/template.d.ts","../../../node_modules/discord-api-types/payloads/v10/voice.d.ts","../../../node_modules/discord-api-types/payloads/v10/index.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts","../../../node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts","../../../node_modules/discord-api-types/payloads/v10/interactions.d.ts","../../../node_modules/discord-api-types/payloads/v10/channel.d.ts","../../../node_modules/discord-api-types/payloads/v10/gateway.d.ts","../../../node_modules/discord-api-types/gateway/common.d.ts","../../../node_modules/discord-api-types/gateway/v10.d.ts","../../../node_modules/discord-api-types/rpc/common.d.ts","../../../node_modules/discord-api-types/rpc/v10.d.ts","../../../node_modules/discord-api-types/utils/v10.d.ts","../../../node_modules/discord-api-types/v10.d.ts","../src/embed.ts","../../utils/dist/index.d.ts","../src/sortChannels.ts","../src/index.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/chai-subset/index.d.ts","../../../node_modules/@types/cookie/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980","9533a725b93b82a2bab9487aafe372801517ffd5cf427bd208ce7639b226ce87","eaa3d83837a79996c2ee1c98c1b48681767646031ab681952e375b3bb2a065bc","438d82bf075448627967a78cea3b31971495450df62802d54738a7d9b9472df1","4d30e9f01edd93d079fb01a4728a767164e1454d0e7b722c66bcf95f67b83fa4","487278055ec14c64a6a1ab7ad3edc15f5372ea954adb76eedecf68c1413f35d2","b473b34be1a1b4e74f8661429d2918a33500585a6508ba73ace8da47eb8f8530","0b02a93c34403bebba07d3bf92bc8a82a6b6c181df408f1e67588bb5132f6c22","47d76d5052f990198d6741da4b48821b07065a4e185825e233167d077899f0f1","9751242c586ee044e0be5548a720887189b098f150f3b5d1af611deb343bd63b","1db3e129a04a88a80bbd87e6b2f65dbdd19228df65f34018ba0d4494791620ef","89bfac3001bd8b5854f2b4c65ad8bb59316c2b1db5fbf1997b462b9106576a9c","6401ac96ca2b605ea1a64ff7e4d478b7fe6f47662b5bd9d793f6ca87cdf6401d","29f4774dd4b4f282f83bd540348fa9f7d802e69de03e7bf07e06bac26066be13","10c1ab62352f28161fe65d2ba88861cfb53fec92e2cd829a077da20e3f6f602e","700bcc43264760b5013255e25eb78666d8c3985c13938790da148d28c58bbbc3","1d221b3d4c799fafb87d10da78854dd769d46bb3aea0950d0f62a2b9d167dede","c162c6b003a3ae6efca77331043cb73169325d0976dd7442e08d8aaba3b72bf3","7aeb75b0330334acd6180298836678c376666ea5e124cdb655d0cb062816b759","2f8256e40c90fb9b1fdd652f0a68a77cff79e51035a6c8d7a81a9694f54a596e","93366d07c90d128ecc68aa6432449d64ec62e834cf8650cdae8d6f6f12a911a5","e6605b0a933513e11612ebf4aef75f3f6eb331c0bfd9854c84c97f4106f59561","59b4e54326ac9f74780b0f335739dcf00d29151d6f43c0e6536f8ae0cd778b14","826c65464b843df3e95f36828959af9275ea035fdb77157be1c11be42cc69cf1","d1289b9757c766e43189fab4eefedb401871ae0a471a5913ad16377ff92def5a","667aa3b49423cddefc1c9496e36cad75df659648236b8b293b051f39402950b2","70ca3cb2df28e64194e350f31dba3d4079554ced4a0a21186621b9325c74e200","b10fd4d7564316516ef38a77dbd44a84a171efbca29b7cf0b8d739134b9505a3","e895e05c84660347c423cf6133e89846d27f63710c88ed84457f5a7d803f573f","2ada2d8b8e098bf022ae6572539a2df089b66929f716b6b0091ba660574541bb","0c0ce7953d1b83b02511f25b4a9796c73435140168606ddc93c6dde4bdd3f8b6","05f93dc0779663b58d39fa9d6e06ecb3ce891bfb15a7f3c0452dcf06135707a3","c56e0bb78da9df07cf8341f42fcb83ab8249ac59e001ee0c3aa7faa6d338348e","fdb53f66e7c46a8818b4e95fbe8eb1fa31a410705b662550398f67db54e32305","bfd428cf50420e965b59a832bc1e6b1cd1249a9c58f971b3defd2c9853d3327c","dec598716939df93f63d13ca7071d769f3644bef8f0b24eac69f4aa75e066cc9","9ae483327708bac5d7ece3be75fa422b7830a3566499286340759bca4c479710","675153146f88eeead4fb7ea6f98130d1514a5a1163d4caa58c6fcfd2d3936ea9","cd4bfef8e03cc43b60026ddeac94fa5fd1d48ee65785b395ad6836b154d6d60f","8765cececdfee0cd835a8c938b50e7aada9e9467b5d372771ca816040913f7af","24fdb8f4783d77a4ebba257b21ef3a57e6db12d680b9e53544206ddba3e8e28c","864bcc31f78760799c6fab9067f694d98a9be2b73d3ed42dc547ee40a437ad08","ca46958959923bbf0b8722aa547a5a738101759b0d4e0e10cb48cb05ac347a8b","aedd384920e3b1d634999fc3e629fb4cdd2b9e655f887d0d2025afca412f51f8","e962ce62baaefef0adf4e77ea0b6f12928ec645cad4d03ca45b0c373dfe8e34d","7aea6edc885fb60d84907f13f4b9bfcdc26d96035d3e1bcf4de3e2fb39b01e2b","cbac58da70076934a9cd0eb166cb74ae300fb74ab199231faf24c05503a4d26c","92bb7b7cf3b4b4c201ecb27e46e1e584430e87f7c0ffbd24013af8d97d013e10","fc48093072e2c3744a031e65c903955ec0664c9d7f14d0f2b78397a275033e72","af70d86652e018fdc289df1bdd926026620a4ef8d2f5bb54c4b3b7e8cc792a3f","52398b4bf82408b299800cb070a070650fa247e5b70d7b7267310198daf5e5f9","0b73cd4db27f23a6ed653b9803bb8e88fffa10a829681d836c687fcd5105e4e4","37bf3139b0ceaf28c9ac4d1ca5ed35d32f190ab57a05f4c45a181842355af876","32c95a5e166735084a56b82a3fbe7571a9a67c9a60640fdd215d36b899869150","e33e9d11e28627ab1528219958a0aa6e158deed4dc05f55dd3ea64dd8bd0ac8a","cdb6f2b3fcceb09dd2f073380aac69a96b6f5c5ff0de917c110b0acf444153c4","ea241f00fbf9b93c039cc4327034b22975e4a57542213c2293d5d4772bb49083","f7eca5c990cca97e500e753a7efc8026be6e990928cc878e3ec82db7288af8b0","ca4d4d256698753e5f6b540fc51655f5ce7d0b22e98d99c1eae742079b49934f","7f1b123cd7f959c1ba58d6fb1c21fdd2d3f7a59db982d956d185a1c261564851","616b3ada12d7a7701f01474baf4e546f9a1f3d622653e122cf4fcf8f93def54a","8ce317b69fff4eb953d795f0ec80dc0e584ee1bbe59b1d57359d5da3d17adbb9","0c787b2d8778d1c64e159b01dfab5d5c3f1b573d94d6cb16a3ccd4c42f7a8ea2","62ad0491d44a8b3de19eec335cd31120a259d2234e9d7237c0fc1609f799e38d","518fdf30b58a81043de3c889e2c1fb271ed6e26aa40bacd557cb439046c22439","457d040e3a8e977e231d0ce23d6e8f69aace00369a4d96ed218fec285f0359b9","41044448cfd08efc0dbbb3da7399223a57a8abc7c5060d84eb3ee2cc710a7c86","2609b586c8c4ecf9b41f1bec6dd2fb751a3ff597c2bc22abecd38d0e7f92bb9f","90894ffc759a88f06aff669e649467ad6d20b377df7badc3276f6cfb04ed4ddf","1c7e2e5a0c194aa73f222f2296829dd7ddb112c371f379a0e6b47818b575bc0c",{"version":"400704fd774a65ae3cd89013f2548daf49392d7aa82399c8bdcaf9cda48ea36f","signature":"2c6e7d7165e9eff1d49043f80f426b7f1af17a5057b4a4ee63f029ba2db4c588"},"05499a4d5eb0fcda77b377177f58650b3f275c6e8ac7a73fba60d96c1633e0e7",{"version":"4eff857e4a42d2381e8a14428f3312b3e91e51d59a1476091f271c222a4be617","signature":"f69296c63b0b7642ddc4e3b6830a84fe579157db05662a839464798750f97ae6"},"2edd785d1e1b9ad49e8febb04d799b0db089bd0cb1d1fbb94c320dcf38781625",{"version":"b9734142a4b241cfb505be4a2eb0261d211647df7c73043f817f4fdd8d96c846","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"4a547783c826c1dec10d96734687ae4db2e89d40261e91b5c327b60748315dc1",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ade6e6c42087188b5c56f0384651c32736b2df192dadd3c8617e9845b76fd41b","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","dea2650c477f53d503a27f78ed17b13d7184c2f922eb4d3367ccf52634765467","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","4911d4c3a7f7c11bad0e2cec329a19a385d10ea83b0b69c76e032359e388f624","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"f754e6212ba82c380850516dcb82419f0e02859e53da986b2fd1942c59b96111","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"4ffef5c4698e94e49dcf150e3270bad2b24a2aeab48b24acbe7c1366edff377d","affectsGlobalScope":true},"2534e46a52653b55dfb5a41ce427ec430c4afbaaf3bfcb1ae09b185c5d6bf169","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","67458ffec915caad7ead57f00786c301b37ce7ff1a90506b797f4691337c536c","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","73e88763806a21b32aff5a66d4930124606bc5e77f796ea3ff8b6878ff787fa8","18f177e442b4cdbc5efb82e7c344201a11e4a4342ff1f19f8765b849e254e2ec","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","4198acced75d48a039c078734c4efca7788ff8c78609c270a2b63ec20e3e1676","0034f55fd438f31ba1f0b340dceef3b77d9a89f5218e5875a990b4eff2a5714d","288dd0c774a5c6e3964084c7a2bc8cc6b746d70f44a9892d028d04f915cf7ebc","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"f7011a8d17a06e60dc591fd89b7bf40507d36a5a4d5913fa0eff4e18da001759","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","77f7b6094b3422cc09eb2e919493287ed02380cff73d0452e17149d40dbf157d","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","698ab660b477b9c2cd5ccbd99e7e7df8b4a6134c1f5711fa615ed7aab51cb7f7","33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"88003d9ab15507806f41b120be6d407c1afe566c2f6689ebe3a034dd5ec0c8dc","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750"],"options":{"alwaysStrict":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":99,"noEmitHelpers":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"fileIdsList":[[129,182],[182],[132,133,134,182],[138,182],[141,182],[142,147,173,182],[143,153,154,161,170,181,182],[143,144,153,161,182],[145,182],[146,147,154,162,182],[147,170,178,182],[148,150,153,161,182],[149,182],[150,151,182],[152,153,182],[153,182],[153,154,155,170,181,182],[153,154,155,170,182],[156,161,170,181,182],[153,154,156,157,161,170,178,181,182],[156,158,170,178,181,182],[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],[153,159,182],[160,181,182],[150,153,161,170,182],[162,182],[163,182],[141,164,182],[165,180,182,186],[166,182],[167,182],[153,168,182],[168,169,182,184],[142,153,170,171,172,182],[142,170,172,182],[170,171,182],[173,182],[174,182],[153,176,177,182],[176,177,182],[147,161,178,182],[179,182],[161,180,182],[142,156,167,181,182],[147,182],[170,182,183],[182,184],[182,185],[142,147,153,155,164,170,181,182,184,186],[170,182,187],[182,191,230],[182,191,215,230],[182,230],[182,191],[182,191,216,230],[182,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],[182,216,230],[182,231],[56,87,105,118,119,182],[79,182],[56,65,66,182],[65,124,182],[65,66,182],[56,65,66,117,182],[124,182],[65,66,108,182],[65,66,75,182],[56,65,67,68,69,70,71,72,73,74,75,76,77,78,105,107,111,182],[56,62,78,107,111,117,182],[56,111,182],[56,182],[56,61,106,107,108,109,110,117,124,182],[105,182],[56,61,62,106,117,124,182],[107,116,117,182],[105,117,182],[106,107,182],[105,111,117,124,182],[56,57,62,63,182],[56,58,60,61,62,81,82,83,116,117,182],[56,58,59,60,62,64,116,182],[56,58,62,182],[56,59,62,117,182],[56,58,59,60,62,118,182],[56,61,62,182],[57,58,59,60,61,62,63,64,80,81,82,83,84,85,103,104,116,117,118,182],[106,107,111,112,113,114,115,182],[61,62,64,81,82,117,182],[56,61,182],[56,62,182],[56,62,102,182],[56,105,182],[56,84,182],[56,87,105,182],[56,87,88,105,182],[56,87,124,182],[56,79,86,88,89,90,91,92,93,94,95,96,97,98,99,100,101,182],[87,93,105,182],[87,105,182],[121,182],[56,102,105,120,122,123,182],[55,124,182],[55,125,127,182],[55,124,126,182],[124]],"referencedMap":[[130,1],[129,2],[131,2],[132,2],[135,3],[133,2],[136,2],[134,2],[137,2],[138,4],[139,4],[141,5],[142,6],[143,7],[144,8],[145,9],[146,10],[147,11],[148,12],[149,13],[150,14],[151,14],[152,15],[153,16],[154,17],[155,18],[140,2],[188,2],[156,19],[157,20],[158,21],[189,22],[159,23],[160,24],[161,25],[162,26],[163,27],[164,28],[165,29],[166,30],[167,31],[168,32],[169,33],[170,34],[172,35],[171,36],[173,37],[174,38],[175,2],[176,39],[177,40],[178,41],[179,42],[180,43],[181,44],[182,45],[183,46],[184,47],[185,48],[186,49],[187,50],[190,2],[215,51],[216,52],[191,53],[194,53],[213,51],[214,51],[204,51],[203,54],[201,51],[196,51],[209,51],[207,51],[211,51],[195,51],[208,51],[212,51],[197,51],[198,51],[210,51],[192,51],[199,51],[200,51],[202,51],[206,51],[217,55],[205,51],[193,51],[230,56],[229,2],[224,55],[226,57],[225,55],[218,55],[219,55],[221,55],[223,55],[227,57],[228,57],[220,57],[222,57],[231,2],[232,58],[119,2],[120,59],[56,2],[80,60],[67,61],[66,62],[68,63],[69,64],[70,63],[71,61],[72,63],[73,61],[65,65],[74,63],[75,66],[76,67],[77,61],[108,68],[109,69],[78,70],[110,71],[111,72],[112,73],[107,74],[113,75],[114,76],[115,77],[106,78],[64,79],[84,80],[117,81],[59,82],[118,83],[61,84],[81,85],[105,86],[116,87],[85,88],[57,2],[58,71],[82,89],[60,90],[63,90],[103,91],[62,89],[104,89],[83,92],[79,2],[86,93],[88,94],[89,94],[90,73],[91,95],[92,96],[102,97],[94,98],[95,92],[96,92],[97,94],[98,99],[99,99],[100,94],[101,73],[93,94],[121,2],[122,100],[87,2],[123,73],[124,101],[55,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[35,2],[32,2],[33,2],[34,2],[36,2],[7,2],[37,2],[42,2],[43,2],[38,2],[39,2],[40,2],[41,2],[8,2],[47,2],[44,2],[45,2],[46,2],[48,2],[9,2],[49,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[125,102],[128,103],[127,104],[126,2]],"exportedModulesMap":[[130,1],[129,2],[131,2],[132,2],[135,3],[133,2],[136,2],[134,2],[137,2],[138,4],[139,4],[141,5],[142,6],[143,7],[144,8],[145,9],[146,10],[147,11],[148,12],[149,13],[150,14],[151,14],[152,15],[153,16],[154,17],[155,18],[140,2],[188,2],[156,19],[157,20],[158,21],[189,22],[159,23],[160,24],[161,25],[162,26],[163,27],[164,28],[165,29],[166,30],[167,31],[168,32],[169,33],[170,34],[172,35],[171,36],[173,37],[174,38],[175,2],[176,39],[177,40],[178,41],[179,42],[180,43],[181,44],[182,45],[183,46],[184,47],[185,48],[186,49],[187,50],[190,2],[215,51],[216,52],[191,53],[194,53],[213,51],[214,51],[204,51],[203,54],[201,51],[196,51],[209,51],[207,51],[211,51],[195,51],[208,51],[212,51],[197,51],[198,51],[210,51],[192,51],[199,51],[200,51],[202,51],[206,51],[217,55],[205,51],[193,51],[230,56],[229,2],[224,55],[226,57],[225,55],[218,55],[219,55],[221,55],[223,55],[227,57],[228,57],[220,57],[222,57],[231,2],[232,58],[119,2],[120,59],[56,2],[80,60],[67,61],[66,62],[68,63],[69,64],[70,63],[71,61],[72,63],[73,61],[65,65],[74,63],[75,66],[76,67],[77,61],[108,68],[109,69],[78,70],[110,71],[111,72],[112,73],[107,74],[113,75],[114,76],[115,77],[106,78],[64,79],[84,80],[117,81],[59,82],[118,83],[61,84],[81,85],[105,86],[116,87],[85,88],[57,2],[58,71],[82,89],[60,90],[63,90],[103,91],[62,89],[104,89],[83,92],[79,2],[86,93],[88,94],[89,94],[90,73],[91,95],[92,96],[102,97],[94,98],[95,92],[96,92],[97,94],[98,99],[99,99],[100,94],[101,73],[93,94],[121,2],[122,100],[87,2],[123,73],[124,101],[55,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[35,2],[32,2],[33,2],[34,2],[36,2],[7,2],[37,2],[42,2],[43,2],[38,2],[39,2],[40,2],[41,2],[8,2],[47,2],[44,2],[45,2],[46,2],[48,2],[9,2],[49,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[125,105],[128,103],[127,105],[126,2]],"semanticDiagnosticsPerFile":[130,129,131,132,135,133,136,134,137,138,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,140,188,156,157,158,189,159,160,161,162,163,164,165,166,167,168,169,170,172,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,190,215,216,191,194,213,214,204,203,201,196,209,207,211,195,208,212,197,198,210,192,199,200,202,206,217,205,193,230,229,224,226,225,218,219,221,223,227,228,220,222,231,232,119,120,56,80,67,66,68,69,70,71,72,73,65,74,75,76,77,108,109,78,110,111,112,107,113,114,115,106,64,84,117,59,118,61,81,105,116,85,57,58,82,60,63,103,62,104,83,79,86,88,89,90,91,92,102,94,95,96,97,98,99,100,101,93,121,122,87,123,124,55,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,52,53,1,10,54,125,128,127,126]},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chatsift/discord-utils",
3
3
  "description": "Niche utilities for working with Discord's raw API",
4
- "version": "0.2.1",
4
+ "version": "0.3.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "homepage": "https://github.com/chatsift/utilities",
32
32
  "devDependencies": {
33
- "@types/node": "^16.11.43",
34
- "tsup": "^6.1.3",
35
- "typescript": "^4.7.4",
36
- "vitest": "^0.17.0"
33
+ "@types/node": "^16.18.24",
34
+ "tsup": "^6.7.0",
35
+ "typescript": "^4.9.5",
36
+ "vitest": "^0.30.1"
37
37
  },
38
38
  "dependencies": {
39
- "@chatsift/utils": "^0.2.0",
40
- "discord-api-types": "^0.36.1",
41
- "tslib": "^2.4.0"
39
+ "@chatsift/utils": "^0.3.0",
40
+ "discord-api-types": "^0.36.3",
41
+ "tslib": "^2.5.0"
42
42
  }
43
43
  }