overlay-toolkit 0.9.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.
@@ -0,0 +1,1241 @@
1
+ var D = Object.defineProperty;
2
+ var v = (s, r, e) => r in s ? D(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
3
+ var t = (s, r, e) => v(s, typeof r != "symbol" ? r + "" : r, e);
4
+ (function() {
5
+ let s = /[\?&]OVERLAY_WS=([^&]+)/.exec(location.href), r = null, e = [], a = 0, i = {}, c = {}, d = null, m = !1;
6
+ if (s) {
7
+ let h = function() {
8
+ r = new WebSocket(s[1]), r.addEventListener("error", (p) => {
9
+ console.error(p);
10
+ }), r.addEventListener("open", () => {
11
+ console.log("Connected!");
12
+ let p = e;
13
+ e = null;
14
+ for (let u of p)
15
+ d(u);
16
+ }), r.addEventListener("message", (p) => {
17
+ try {
18
+ p = JSON.parse(p.data);
19
+ } catch {
20
+ console.error("Invalid message received: ", p);
21
+ return;
22
+ }
23
+ p.rseq !== void 0 && i[p.rseq] ? (i[p.rseq](p), delete i[p.rseq]) : o(p);
24
+ }), r.addEventListener("close", () => {
25
+ e = [], console.log("Trying to reconnect..."), setTimeout(() => {
26
+ h();
27
+ }, 300);
28
+ });
29
+ };
30
+ d = (p) => {
31
+ e ? e.push(p) : r.send(JSON.stringify(p));
32
+ }, h();
33
+ } else {
34
+ let h = function() {
35
+ if (!window.OverlayPluginApi || !window.OverlayPluginApi.ready) {
36
+ setTimeout(h, 300);
37
+ return;
38
+ }
39
+ let p = e;
40
+ e = null, window.__OverlayCallback = o;
41
+ for (let [u, I] of p)
42
+ d(u, I);
43
+ };
44
+ d = (p, u) => {
45
+ e ? e.push([p, u]) : OverlayPluginApi.callHandler(JSON.stringify(p), u);
46
+ }, h();
47
+ }
48
+ function o(h) {
49
+ if (c[h.type])
50
+ for (let p of c[h.type])
51
+ p(h);
52
+ }
53
+ window.dispatchOverlayEvent = o, window.addOverlayListener = (h, p) => {
54
+ m && c[h] && console.warn(`A new listener for ${h} has been registered after event transmission has already begun.
55
+ Some events might have been missed and no cached values will be transmitted.
56
+ Please register your listeners before calling startOverlayEvents().`), c[h] || (c[h] = []), c[h].push(p);
57
+ }, window.removeOverlayListener = (h, p) => {
58
+ if (c[h]) {
59
+ let u = c[h], I = u.indexOf(p);
60
+ I > -1 && u.splice(I, 1);
61
+ }
62
+ }, window.callOverlayHandler = (h) => {
63
+ let p;
64
+ return r ? (h.rseq = a++, p = new Promise((u) => {
65
+ i[h.rseq] = u;
66
+ }), d(h)) : p = new Promise((u) => {
67
+ d(h, (I) => {
68
+ u(I == null ? null : JSON.parse(I));
69
+ });
70
+ }), p;
71
+ }, window.startOverlayEvents = () => {
72
+ m = !1, d({
73
+ call: "subscribe",
74
+ events: Object.keys(c)
75
+ });
76
+ };
77
+ })();
78
+ function N() {
79
+ return new P();
80
+ }
81
+ class P extends EventTarget {
82
+ //#endregion
83
+ constructor() {
84
+ super();
85
+ //#region EventTarget
86
+ t(this, "onconnect", null);
87
+ t(this, "ondisconnect", null);
88
+ t(this, "devices", /* @__PURE__ */ new Map());
89
+ this.addListener();
90
+ }
91
+ dispatchEvent(e) {
92
+ return e.type === "connect" && this.onconnect && this.onconnect.call(this, e), e.type === "disconnect" && this.ondisconnect && this.ondisconnect.call(this, e), super.dispatchEvent(e), !e.defaultPrevented;
93
+ }
94
+ async getDevices() {
95
+ const e = await this.requestGetDevices();
96
+ let a = [];
97
+ return e.forEach((i) => {
98
+ if (this.devices.has(i.instanceId))
99
+ a.push(this.devices.get(i.instanceId));
100
+ else {
101
+ const c = new w(i);
102
+ this.devices.set(i.instanceId, c), a.push(c);
103
+ }
104
+ }), a;
105
+ }
106
+ async requestDevice(e) {
107
+ return e && console.log("Requesting device with options:", e), this.getDevices();
108
+ }
109
+ async requestGetDevices() {
110
+ return (await x("getDevices", {})).devices;
111
+ }
112
+ addListener() {
113
+ addOverlayListener("otk::hid::inputreport", (e) => this.callbackInputReport(e)), addOverlayListener("otk::hid::devicechanged", (e) => this.callbackDeviceChanged(e));
114
+ }
115
+ callbackInputReport(e) {
116
+ const a = e.instanceId, i = f(e.data), c = this.devices.get(a);
117
+ c ? c.dispatchEvent(new F("inputreport", c, i[0], new DataView(i.buffer, 1))) : console.warn("Device not found:", a);
118
+ }
119
+ callbackDeviceChanged(e) {
120
+ var a = e.add;
121
+ const i = new w(e.device), c = new k(a ? "connect" : "disconnect", i);
122
+ this.dispatchEvent(c);
123
+ }
124
+ }
125
+ async function x(s, r) {
126
+ const e = {
127
+ call: "otk::hid",
128
+ type: s,
129
+ ...r
130
+ }, a = await callOverlayHandler(e);
131
+ return a.error && console.log("callOverlayHID error:", s, r, a), a;
132
+ }
133
+ class w extends EventTarget {
134
+ //#endregion
135
+ // Simulate a device with some properties
136
+ constructor(e) {
137
+ super();
138
+ t(this, "instanceId");
139
+ t(this, "opened", !1);
140
+ t(this, "vendorId");
141
+ t(this, "productId");
142
+ t(this, "productName");
143
+ t(this, "collections");
144
+ //#region EventTarget
145
+ t(this, "oninputreport", null);
146
+ this.instanceId = e.instanceId, this.vendorId = e.vendorId, this.productId = e.productId, this.productName = e.productName, this.collections = e.collections || [];
147
+ }
148
+ dispatchEvent(e) {
149
+ return e.type === "inputreport" && this.oninputreport && this.oninputreport.call(this, e), super.dispatchEvent(e), !e.defaultPrevented;
150
+ }
151
+ async open() {
152
+ this.opened || (await this.request("open", {}), this.opened = !0);
153
+ }
154
+ async close() {
155
+ this.opened && (await this.request("close", {}), this.opened = !1);
156
+ }
157
+ async forget() {
158
+ }
159
+ async sendReport(e, a) {
160
+ if (!this.opened)
161
+ throw new Error("Device is not opened.");
162
+ await this.request("send", {
163
+ reportId: e,
164
+ data: y(a)
165
+ });
166
+ }
167
+ async sendFeatureReport(e, a) {
168
+ if (!this.opened)
169
+ throw new Error("Device is not opened.");
170
+ await this.request("sendFeature", {
171
+ reportId: e,
172
+ data: y(a)
173
+ });
174
+ }
175
+ async receiveFeatureReport(e) {
176
+ if (!this.opened)
177
+ throw new Error("Device is not opened.");
178
+ const a = await this.request("recvFeature", {
179
+ reportId: e
180
+ }), i = f(a.data);
181
+ return new DataView(i.buffer);
182
+ }
183
+ async request(e, a) {
184
+ return x(e, {
185
+ instanceId: this.instanceId,
186
+ ...a
187
+ });
188
+ }
189
+ }
190
+ class k extends Event {
191
+ constructor(e, a) {
192
+ super(e);
193
+ t(this, "device");
194
+ this.device = a;
195
+ }
196
+ }
197
+ class F extends Event {
198
+ constructor(e, a, i, c) {
199
+ super(e);
200
+ t(this, "device");
201
+ t(this, "reportId");
202
+ t(this, "data");
203
+ this.device = a, this.reportId = i, this.data = c;
204
+ }
205
+ }
206
+ function y(s) {
207
+ let r = null;
208
+ return s instanceof ArrayBuffer ? r = new Uint8Array(s) : r = new Uint8Array(s.buffer, s.byteOffset, s.byteLength), [...r].map((e) => e.toString(16).padStart(2, "0")).join("");
209
+ }
210
+ function f(s) {
211
+ const r = new Uint8Array(Math.ceil(s.length / 2));
212
+ for (let e = 0; e < s.length; )
213
+ r[e / 2] = Number.parseInt(s.slice(e, e += 2), 16);
214
+ return r;
215
+ }
216
+ class l {
217
+ constructor() {
218
+ t(this, "handlerMap", /* @__PURE__ */ new Map());
219
+ /**
220
+ * HID interface
221
+ */
222
+ t(this, "hid", N());
223
+ }
224
+ /**
225
+ * Fetch acts like window.fetch but without CORS restrictions
226
+ * @param url target URL
227
+ * @param options options
228
+ * @returns response
229
+ */
230
+ Fetch(r, e = {}) {
231
+ const a = {
232
+ call: "Fetch",
233
+ resource: r,
234
+ options: e
235
+ };
236
+ return callOverlayHandler(a);
237
+ }
238
+ /**
239
+ * Subscribe to game packets
240
+ * @param name subscription name
241
+ * @param filters optional filters. receive ALL packets when no filter is provided
242
+ * @param handler callback when packet is send/receive
243
+ * @returns subscription name
244
+ */
245
+ async SubscribePacket(r, e, a) {
246
+ const i = {
247
+ call: "otk::packet",
248
+ action: "subscribe",
249
+ name: r,
250
+ filters: e
251
+ }, c = await callOverlayHandler(i);
252
+ if (c.error)
253
+ throw new Error(c.error);
254
+ return this.handlerMap.set(c.name || r, a), c.name || r;
255
+ }
256
+ /**
257
+ * Unsubscribe from game packets
258
+ * @param name subscription name
259
+ */
260
+ async UnsubscribePacket(r) {
261
+ const e = {
262
+ call: "otk::packet",
263
+ action: "unsubscribe",
264
+ name: r
265
+ }, a = await callOverlayHandler(e);
266
+ if (a.error)
267
+ throw new Error(a.error);
268
+ this.handlerMap.delete(r);
269
+ }
270
+ packetHandler(r) {
271
+ let e = r, a = r;
272
+ a.data = Uint8Array.from(atob(e.msg), (c) => c.charCodeAt(0));
273
+ let i = this.handlerMap.get(e.name);
274
+ i ? i(a) : console.warn("No packet handler for name", e.name);
275
+ }
276
+ /**
277
+ * Game version
278
+ */
279
+ async GetGameVersion() {
280
+ const r = {
281
+ call: "otk::game_ver"
282
+ };
283
+ return callOverlayHandler(r);
284
+ }
285
+ /**
286
+ * Call start overlay events
287
+ *
288
+ * Must be called after any listeners are added
289
+ */
290
+ Start() {
291
+ addOverlayListener("otk::packet", (r) => this.packetHandler(r)), startOverlayEvents();
292
+ }
293
+ /**
294
+ * Call dispatch overlay event
295
+ *
296
+ * @param msg The message to dispatch
297
+ */
298
+ Dispatch(r) {
299
+ dispatchOverlayEvent(r);
300
+ }
301
+ /**
302
+ * Add an overlay listener
303
+ *
304
+ * @param event
305
+ * @param cb
306
+ */
307
+ AddListener(r, e) {
308
+ addOverlayListener(r, e);
309
+ }
310
+ /**
311
+ * Remove an overlay listener
312
+ * @param event
313
+ * @param cb
314
+ */
315
+ RemoveListener(r, e) {
316
+ removeOverlayListener(r, e);
317
+ }
318
+ /**
319
+ * Call overlay handler
320
+ * @param msg
321
+ * @returns
322
+ */
323
+ Call(r) {
324
+ return callOverlayHandler(r);
325
+ }
326
+ /**
327
+ * Get if running in OverlayPlugin CEF environment
328
+ * @returns
329
+ */
330
+ IsOverlayPluginCEF() {
331
+ return "OverlayPluginApi" in window;
332
+ }
333
+ }
334
+ class n {
335
+ constructor(r, e) {
336
+ t(this, "type");
337
+ t(this, "typeCode");
338
+ t(this, "time");
339
+ this.typeCode = parseInt(e[0]), this.time = e[1], this.type = r;
340
+ }
341
+ get timeDate() {
342
+ return new Date(this.time);
343
+ }
344
+ }
345
+ class C extends n {
346
+ constructor(e) {
347
+ super("LogLine", e);
348
+ t(this, "code");
349
+ t(this, "name");
350
+ t(this, "line");
351
+ this.code = e[2], this.name = e[3], this.line = e[4];
352
+ }
353
+ }
354
+ class M extends n {
355
+ constructor(e) {
356
+ super("ChangeZone", e);
357
+ /**
358
+ * Zone ID of the zone, in decimal
359
+ */
360
+ t(this, "zoneID");
361
+ /**
362
+ * Zone name of the zone, in human friendly string
363
+ */
364
+ t(this, "zoneName");
365
+ this.zoneID = parseInt(e[2], 16), this.zoneName = e[3];
366
+ }
367
+ }
368
+ class b extends n {
369
+ constructor(e) {
370
+ super("ChangePrimaryPlayer", e);
371
+ /**
372
+ * Character ID of the character, in decimal
373
+ */
374
+ t(this, "charID");
375
+ /**
376
+ * Character name of the character, in human friendly string
377
+ */
378
+ t(this, "charName");
379
+ this.charID = parseInt(e[2], 16), this.charName = e[3];
380
+ }
381
+ get charIDHex() {
382
+ return this.charID.toString(16).toUpperCase();
383
+ }
384
+ }
385
+ class H extends n {
386
+ constructor(e) {
387
+ super("AddCombatant", e);
388
+ /**
389
+ * ID of the combatant, in decimal
390
+ */
391
+ t(this, "id");
392
+ /**
393
+ * Name of the combatant, in human friendly string
394
+ */
395
+ t(this, "name");
396
+ t(this, "job");
397
+ t(this, "level");
398
+ t(this, "ownerID");
399
+ t(this, "worldID");
400
+ t(this, "worldName");
401
+ t(this, "npcNameID");
402
+ t(this, "npcBaseID");
403
+ t(this, "currentHP");
404
+ t(this, "hp");
405
+ t(this, "currentMP");
406
+ t(this, "mp");
407
+ t(this, "x");
408
+ t(this, "y");
409
+ t(this, "z");
410
+ t(this, "heading");
411
+ this.id = parseInt(e[2], 16), this.name = e[3], this.job = parseInt(e[4], 16), this.level = parseInt(e[5], 16), this.ownerID = parseInt(e[6], 16), this.worldID = parseInt(e[7], 16), this.worldName = e[8], this.npcNameID = parseInt(e[9]), this.npcBaseID = parseInt(e[10]), this.currentHP = parseInt(e[11]), this.hp = parseInt(e[12]), this.currentMP = parseInt(e[13]), this.mp = parseInt(e[14]), this.x = parseFloat(e[17]), this.y = parseFloat(e[18]), this.z = parseFloat(e[19]), this.heading = parseFloat(e[20]);
412
+ }
413
+ }
414
+ class E extends n {
415
+ constructor(e) {
416
+ super("RemoveCombatant", e);
417
+ /**
418
+ * ID of the combatant, in decimal
419
+ */
420
+ t(this, "id");
421
+ t(this, "name");
422
+ t(this, "job");
423
+ t(this, "level");
424
+ t(this, "ownerID");
425
+ t(this, "world");
426
+ t(this, "npcNameID");
427
+ t(this, "npcBaseID");
428
+ t(this, "currentHP");
429
+ t(this, "hp");
430
+ t(this, "currentMP");
431
+ t(this, "mp");
432
+ t(this, "x");
433
+ t(this, "y");
434
+ t(this, "z");
435
+ t(this, "heading");
436
+ this.id = parseInt(e[2], 16), this.name = e[3], this.job = parseInt(e[4], 16), this.level = parseInt(e[5], 16), this.ownerID = parseInt(e[6], 16), this.world = e[8], this.npcNameID = parseInt(e[9]), this.npcBaseID = parseInt(e[10]), this.currentHP = parseInt(e[11]), this.hp = parseInt(e[12]), this.currentMP = parseInt(e[13]), this.mp = parseInt(e[14]), this.x = parseFloat(e[17]), this.y = parseFloat(e[18]), this.z = parseFloat(e[19]), this.heading = parseFloat(e[20]);
437
+ }
438
+ }
439
+ class S extends n {
440
+ constructor(e) {
441
+ super("PartyChanged", e);
442
+ /**
443
+ * IDs of the players in the party, in decimal
444
+ */
445
+ t(this, "party");
446
+ this.party = [];
447
+ let a = parseInt(e[2]);
448
+ for (let i = 0; i < a; i++)
449
+ this.party.push(parseInt(e[3 + i], 16));
450
+ }
451
+ }
452
+ class L extends n {
453
+ constructor(e) {
454
+ super("PlayerStats", e);
455
+ t(this, "job");
456
+ t(this, "strength");
457
+ t(this, "dexterity");
458
+ t(this, "vitality");
459
+ t(this, "intelligence");
460
+ t(this, "mind");
461
+ t(this, "piety");
462
+ t(this, "attackPower");
463
+ t(this, "directHit");
464
+ t(this, "criticalHit");
465
+ t(this, "attakcMagicPotency");
466
+ t(this, "healingMagicPotency");
467
+ t(this, "determination");
468
+ t(this, "skillSpeed");
469
+ t(this, "spellSpeed");
470
+ t(this, "tenacity");
471
+ t(this, "localContentID");
472
+ this.job = parseInt(e[2], 16), this.strength = parseInt(e[3]), this.dexterity = parseInt(e[4]), this.vitality = parseInt(e[5]), this.intelligence = parseInt(e[6]), this.mind = parseInt(e[7]), this.piety = parseInt(e[8]), this.attackPower = parseInt(e[9]), this.directHit = parseInt(e[10]), this.criticalHit = parseInt(e[11]), this.attakcMagicPotency = parseInt(e[12]), this.healingMagicPotency = parseInt(e[13]), this.determination = parseInt(e[14]), this.skillSpeed = parseInt(e[15]), this.spellSpeed = parseInt(e[16]), this.tenacity = parseInt(e[18]), this.localContentID = parseInt(e[19], 16);
473
+ }
474
+ }
475
+ class T extends n {
476
+ constructor(e) {
477
+ super("NetworkStartsCasting", e);
478
+ t(this, "sourceID");
479
+ t(this, "sourceName");
480
+ t(this, "id");
481
+ t(this, "ability");
482
+ t(this, "targetID");
483
+ t(this, "targetName");
484
+ t(this, "castTime");
485
+ t(this, "x");
486
+ t(this, "y");
487
+ t(this, "z");
488
+ t(this, "heading");
489
+ this.sourceID = parseInt(e[2], 16), this.sourceName = e[3], this.id = parseInt(e[4], 16), this.ability = e[5], this.targetID = parseInt(e[6], 16), this.targetName = e[7], this.castTime = parseFloat(e[8]), this.x = parseFloat(e[9]), this.y = parseFloat(e[10]), this.z = parseFloat(e[11]), this.heading = parseFloat(e[12]);
490
+ }
491
+ }
492
+ class A extends n {
493
+ constructor(e) {
494
+ super(e[0] == "22" ? "NetworkAOEAbility" : "NetworkAbility", e);
495
+ t(this, "sourceID");
496
+ t(this, "sourceName");
497
+ t(this, "id");
498
+ t(this, "ability");
499
+ t(this, "targetID");
500
+ t(this, "targetName");
501
+ t(this, "effects");
502
+ t(this, "targetCurrentHP");
503
+ t(this, "targetMaxHP");
504
+ t(this, "targetCurrentMP");
505
+ t(this, "targetMaxMP");
506
+ t(this, "targetX");
507
+ t(this, "targetY");
508
+ t(this, "targetZ");
509
+ t(this, "targetHeading");
510
+ t(this, "currentHP");
511
+ t(this, "maxHP");
512
+ t(this, "currentMP");
513
+ t(this, "maxMP");
514
+ t(this, "x");
515
+ t(this, "y");
516
+ t(this, "z");
517
+ t(this, "heading");
518
+ t(this, "sequence");
519
+ t(this, "targetIndex");
520
+ t(this, "targetCount");
521
+ t(this, "ownerID");
522
+ t(this, "ownerName");
523
+ t(this, "effectDisplayType");
524
+ t(this, "actionID");
525
+ t(this, "actionAnimationID");
526
+ t(this, "animationLockTime");
527
+ t(this, "rotationHex");
528
+ this.sourceID = parseInt(e[2], 16), this.sourceName = e[3], this.id = parseInt(e[4], 16), this.ability = e[5], this.targetID = parseInt(e[6], 16), this.targetName = e[7], this.effects = [];
529
+ for (let a = 0; a < 8; a++)
530
+ this.effects[a] = {
531
+ flags: parseInt(e[8 + a * 2], 16),
532
+ damage: e[9 + a * 2]
533
+ };
534
+ this.targetCurrentHP = parseInt(e[24]), this.targetMaxHP = parseInt(e[25]), this.targetCurrentMP = parseInt(e[26]), this.targetMaxMP = parseInt(e[27]), this.targetX = parseFloat(e[30]), this.targetY = parseFloat(e[31]), this.targetZ = parseFloat(e[32]), this.targetHeading = parseFloat(e[33]), this.currentHP = parseInt(e[34]), this.maxHP = parseInt(e[35]), this.currentMP = parseInt(e[36]), this.maxMP = parseInt(e[37]), this.x = parseFloat(e[40]), this.y = parseFloat(e[41]), this.z = parseFloat(e[42]), this.heading = parseFloat(e[43]), this.sequence = parseInt(e[44], 16), this.targetIndex = parseInt(e[45]), this.targetCount = parseInt(e[46]), this.ownerID = parseInt(e[47], 16), this.ownerName = e[48], this.effectDisplayType = parseInt(e[49]), this.actionID = parseInt(e[50], 16), this.actionAnimationID = parseInt(e[51], 16), this.animationLockTime = parseFloat(e[52]), this.rotationHex = parseInt(e[53], 16);
535
+ }
536
+ }
537
+ class O extends n {
538
+ constructor(e) {
539
+ super("NetworkCancelAbility", e);
540
+ t(this, "sourceID");
541
+ t(this, "source");
542
+ t(this, "id");
543
+ t(this, "name");
544
+ t(this, "reason");
545
+ this.sourceID = parseInt(e[2], 16), this.source = e[3], this.id = parseInt(e[4], 16), this.name = e[5], this.reason = e[6];
546
+ }
547
+ }
548
+ class z extends n {
549
+ constructor(e) {
550
+ super("NetworkDoT", e);
551
+ t(this, "id");
552
+ t(this, "name");
553
+ t(this, "which");
554
+ t(this, "effectID");
555
+ t(this, "damage");
556
+ t(this, "currentHP");
557
+ t(this, "maxHP");
558
+ t(this, "currentMP");
559
+ t(this, "maxMP");
560
+ // currentTP: number;
561
+ // maxTP: number;
562
+ t(this, "x");
563
+ t(this, "y");
564
+ t(this, "z");
565
+ t(this, "heading");
566
+ t(this, "sourceID");
567
+ t(this, "sourceName");
568
+ t(this, "damageType");
569
+ t(this, "sourceCurrentHP");
570
+ t(this, "sourceMaxHP");
571
+ t(this, "sourceCurrentMP");
572
+ t(this, "sourceMaxMP");
573
+ // sourceCurrentTP: number;
574
+ // sourceMaxTP: number;
575
+ t(this, "sourceX");
576
+ t(this, "sourceY");
577
+ t(this, "sourceZ");
578
+ t(this, "sourceHeading");
579
+ this.id = parseInt(e[2], 16), this.name = e[3], this.which = e[4], this.effectID = parseInt(e[5], 16), this.damage = parseInt(e[6]), this.currentHP = parseInt(e[7]), this.maxHP = parseInt(e[8]), this.currentMP = parseInt(e[9]), this.maxMP = parseInt(e[10]), this.x = parseFloat(e[13]), this.y = parseFloat(e[14]), this.z = parseFloat(e[15]), this.heading = parseFloat(e[16]), this.sourceID = parseInt(e[17], 16), this.sourceName = e[18], this.damageType = parseInt(e[19], 16), this.sourceCurrentHP = parseInt(e[20]), this.sourceMaxHP = parseInt(e[21]), this.sourceCurrentMP = parseInt(e[22]), this.sourceMaxMP = parseInt(e[23]), this.sourceX = parseFloat(e[26]), this.sourceY = parseFloat(e[27]), this.sourceZ = parseFloat(e[28]), this.sourceHeading = parseFloat(e[29]);
580
+ }
581
+ }
582
+ class q extends n {
583
+ constructor(e) {
584
+ super("NetworkDeath", e);
585
+ t(this, "targetID");
586
+ t(this, "targetName");
587
+ t(this, "sourceID");
588
+ t(this, "sourceName");
589
+ this.targetID = parseInt(e[2], 16), this.targetName = e[3], this.sourceID = parseInt(e[4], 16), this.sourceName = e[5];
590
+ }
591
+ }
592
+ class R extends n {
593
+ constructor(e) {
594
+ super("NetworkBuff", e);
595
+ t(this, "effectID");
596
+ t(this, "effectName");
597
+ t(this, "duration");
598
+ t(this, "sourceID");
599
+ t(this, "sourceName");
600
+ t(this, "targetID");
601
+ t(this, "targetName");
602
+ t(this, "count");
603
+ t(this, "targetMaxHP");
604
+ t(this, "sourceMaxHP");
605
+ this.effectID = parseInt(e[2], 16), this.effectName = e[3], this.duration = parseFloat(e[4]), this.sourceID = parseInt(e[5], 16), this.sourceName = e[6], this.targetID = parseInt(e[7], 16), this.targetName = e[8], this.count = parseInt(e[9]), this.targetMaxHP = parseInt(e[10] == "" ? "-1" : e[10]), this.sourceMaxHP = parseInt(e[11] == "" ? "-1" : e[11]);
606
+ }
607
+ }
608
+ class U extends n {
609
+ constructor(e) {
610
+ super("NetworkTargetIcon", e);
611
+ t(this, "targetID");
612
+ t(this, "targetName");
613
+ t(this, "id");
614
+ t(this, "data0");
615
+ this.targetID = parseInt(e[2], 16), this.targetName = e[3], this.id = parseInt(e[6], 16), this.data0 = parseInt(e[7], 16);
616
+ }
617
+ }
618
+ class B extends n {
619
+ constructor(e) {
620
+ super("NetworkRaidMarker", e);
621
+ t(this, "operation");
622
+ t(this, "waymark");
623
+ t(this, "id");
624
+ t(this, "name");
625
+ t(this, "x");
626
+ t(this, "y");
627
+ t(this, "z");
628
+ this.operation = e[2], this.waymark = parseInt(e[3]), this.id = parseInt(e[4], 16), this.name = e[5], this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
629
+ }
630
+ }
631
+ class j extends n {
632
+ constructor(e) {
633
+ super("NetworkTargetMarker", e);
634
+ t(this, "operation");
635
+ t(this, "waymark");
636
+ t(this, "id");
637
+ t(this, "name");
638
+ t(this, "targetID");
639
+ t(this, "targetName");
640
+ this.operation = e[2], this.waymark = parseInt(e[3]), this.id = parseInt(e[4], 16), this.name = e[5], this.targetID = parseInt(e[6], 16), this.targetName = e[7];
641
+ }
642
+ }
643
+ class G extends n {
644
+ constructor(e) {
645
+ super("NetworkBuffRemove", e);
646
+ t(this, "effectID");
647
+ t(this, "effectName");
648
+ t(this, "sourceID");
649
+ t(this, "sourceName");
650
+ t(this, "targetID");
651
+ t(this, "targetName");
652
+ t(this, "count");
653
+ this.effectID = parseInt(e[2], 16), this.effectName = e[3], this.sourceID = parseInt(e[5], 16), this.sourceName = e[6], this.targetID = parseInt(e[7], 16), this.targetName = e[8], this.count = parseInt(e[9], 16);
654
+ }
655
+ }
656
+ class V extends n {
657
+ constructor(e) {
658
+ super("NetworkGauge", e);
659
+ t(this, "id");
660
+ /**
661
+ * The data of the gauge, in a Uint8Array.
662
+ *
663
+ * First byte is always the job.
664
+ */
665
+ t(this, "data");
666
+ this.id = parseInt(e[2], 16), this.data = new Uint8Array(16);
667
+ let a = new DataView(this.data.buffer);
668
+ for (let i = 0; i < 4; i++) {
669
+ let c = parseInt(e[3 + i]);
670
+ a.setUint32(i * 4, c, !0);
671
+ }
672
+ }
673
+ }
674
+ class Y extends n {
675
+ constructor(e) {
676
+ super("NetworkActorControl", e);
677
+ t(this, "instance");
678
+ t(this, "command");
679
+ t(this, "data");
680
+ this.instance = parseInt(e[2], 16), this.command = parseInt(e[3], 16), this.data = [];
681
+ for (let a = 0; a < 4; a++)
682
+ this.data.push(parseInt(e[4 + a], 16));
683
+ }
684
+ }
685
+ class Z extends n {
686
+ constructor(e) {
687
+ super("NetworkNameToggle", e);
688
+ t(this, "id");
689
+ t(this, "name");
690
+ t(this, "targetID");
691
+ t(this, "targetName");
692
+ /**
693
+ * 1 = show, 0 = hide
694
+ */
695
+ t(this, "toggle");
696
+ this.id = parseInt(e[2], 16), this.name = e[3], this.targetID = parseInt(e[4], 16), this.targetName = e[5], this.toggle = parseInt(e[6]) === 1;
697
+ }
698
+ }
699
+ class J extends n {
700
+ constructor(e) {
701
+ super("NetworkTether", e);
702
+ t(this, "sourceID");
703
+ t(this, "sourceName");
704
+ t(this, "targetID");
705
+ t(this, "targetName");
706
+ t(this, "id");
707
+ this.sourceID = parseInt(e[2], 16), this.sourceName = e[3], this.targetID = parseInt(e[4], 16), this.targetName = e[5], this.id = parseInt(e[8], 16);
708
+ }
709
+ }
710
+ class X extends n {
711
+ constructor(e) {
712
+ super("LimitBreak", e);
713
+ /**
714
+ * The limit break value, in decimal. Maximum value is 10000 * bars
715
+ */
716
+ t(this, "value");
717
+ t(this, "bars");
718
+ this.value = parseInt(e[2], 16), this.bars = parseInt(e[3]);
719
+ }
720
+ }
721
+ class _ extends n {
722
+ constructor(e) {
723
+ super("NetworkActionSync", e);
724
+ t(this, "id");
725
+ t(this, "name");
726
+ t(this, "sequenceID");
727
+ t(this, "currentHP");
728
+ t(this, "maxHP");
729
+ t(this, "currentMP");
730
+ t(this, "maxMP");
731
+ t(this, "currentShield");
732
+ t(this, "x");
733
+ t(this, "y");
734
+ t(this, "z");
735
+ t(this, "heading");
736
+ this.id = parseInt(e[2], 16), this.name = e[3], this.sequenceID = parseInt(e[4], 16), this.currentHP = e[5] ? parseInt(e[5]) : -1, this.maxHP = e[6] ? parseInt(e[6]) : -1, this.currentMP = e[7] ? parseInt(e[7]) : -1, this.maxMP = e[8] ? parseInt(e[8]) : -1, this.currentShield = e[9] ? parseInt(e[9]) : -1, this.x = parseFloat(e[11]), this.y = parseFloat(e[12]), this.z = parseFloat(e[13]), this.heading = parseFloat(e[14]);
737
+ }
738
+ }
739
+ class W extends n {
740
+ constructor(e) {
741
+ super("NetworkStatusEffects", e);
742
+ t(this, "targetID");
743
+ t(this, "targetName");
744
+ t(this, "jobLevelData");
745
+ t(this, "currentHP");
746
+ t(this, "maxHP");
747
+ t(this, "currentMP");
748
+ t(this, "maxMP");
749
+ t(this, "currentShield");
750
+ // unknown: number;
751
+ t(this, "x");
752
+ t(this, "y");
753
+ t(this, "z");
754
+ t(this, "heading");
755
+ t(this, "data");
756
+ this.targetID = parseInt(e[2], 16), this.targetName = e[3], this.jobLevelData = parseInt(e[4], 16), this.currentHP = parseInt(e[5]), this.maxHP = parseInt(e[6]), this.currentMP = parseInt(e[7]), this.maxMP = parseInt(e[8]), this.currentShield = parseInt(e[9]), this.x = parseFloat(e[11]), this.y = parseFloat(e[12]), this.z = parseFloat(e[13]), this.heading = parseFloat(e[14]), this.data = [];
757
+ for (let a = 0; a < 6; a++)
758
+ this.data.push(parseInt(e[15 + a], 16));
759
+ }
760
+ }
761
+ class K extends n {
762
+ constructor(e) {
763
+ super("NetworkUpdateHP", e);
764
+ t(this, "id");
765
+ t(this, "name");
766
+ t(this, "currentHP");
767
+ t(this, "maxHP");
768
+ t(this, "currentMP");
769
+ t(this, "maxMP");
770
+ // currentTP: number;
771
+ // maxTP: number;
772
+ t(this, "x");
773
+ t(this, "y");
774
+ t(this, "z");
775
+ t(this, "heading");
776
+ this.id = parseInt(e[2], 16), this.name = e[3], this.currentHP = parseInt(e[4]), this.maxHP = parseInt(e[5]), this.currentMP = parseInt(e[6]), this.maxMP = parseInt(e[7]), this.x = parseFloat(e[10]), this.y = parseFloat(e[11]), this.z = parseFloat(e[12]), this.heading = parseFloat(e[13]);
777
+ }
778
+ }
779
+ class $ extends n {
780
+ constructor(e) {
781
+ super("Map", e);
782
+ t(this, "id");
783
+ t(this, "regionName");
784
+ t(this, "placeName");
785
+ t(this, "placeNameSub");
786
+ this.id = parseInt(e[2], 16), this.regionName = e[3], this.placeName = e[4], this.placeNameSub = e[5];
787
+ }
788
+ }
789
+ class Q extends n {
790
+ constructor(e) {
791
+ super("SystemLogMessage", e);
792
+ t(this, "instance");
793
+ t(this, "id");
794
+ t(this, "params");
795
+ this.instance = parseInt(e[2], 16), this.id = parseInt(e[3], 16), this.params = [];
796
+ for (let a = 0; a < 3; a++)
797
+ this.params.push(parseInt(e[4 + a], 16));
798
+ }
799
+ }
800
+ class g extends n {
801
+ constructor(e) {
802
+ super("StatusList3", e);
803
+ t(this, "id");
804
+ t(this, "name");
805
+ t(this, "statusList");
806
+ this.id = parseInt(e[2], 16), this.name = e[3], this.statusList = [];
807
+ for (let a = 0; a < e.length - 4 - 1; a++)
808
+ this.statusList.push(parseInt(e[4 + a], 16));
809
+ }
810
+ }
811
+ class ee extends n {
812
+ constructor(e) {
813
+ super("Debug", e);
814
+ t(this, "message");
815
+ this.message = e[2];
816
+ }
817
+ }
818
+ class te extends n {
819
+ constructor(e) {
820
+ super("PacketDump", e);
821
+ t(this, "len");
822
+ t(this, "src");
823
+ t(this, "dst");
824
+ t(this, "packetType");
825
+ t(this, "data");
826
+ this.len = parseInt(e[2], 16), this.src = parseInt(e[3], 16), this.dst = parseInt(e[4], 16), this.packetType = parseInt(e[5], 16) & 65535, this.data = new Uint8Array(this.len - 16);
827
+ for (let a = 6, i = 0; a < e.length - 2; a++, i++) {
828
+ const c = parseInt(e[a], 16);
829
+ for (let d = 0; d < 4; d++)
830
+ this.data[i * 4 + d] = c >> d * 8 & 255;
831
+ }
832
+ }
833
+ }
834
+ class se extends n {
835
+ constructor(e) {
836
+ super("Version", e);
837
+ t(this, "message");
838
+ this.message = e[2];
839
+ }
840
+ }
841
+ let re = class extends n {
842
+ constructor(e) {
843
+ super("Error", e);
844
+ t(this, "message");
845
+ this.message = e[2];
846
+ }
847
+ };
848
+ class ae extends n {
849
+ constructor(e) {
850
+ super("LineRegistration", e);
851
+ t(this, "id");
852
+ t(this, "source");
853
+ t(this, "name");
854
+ t(this, "version");
855
+ this.id = parseInt(e[2]), this.source = e[3], this.name = e[4], this.version = e[5];
856
+ }
857
+ }
858
+ class ne extends n {
859
+ constructor(e) {
860
+ super("MapEffect", e);
861
+ t(this, "instance");
862
+ t(this, "flags");
863
+ t(this, "location");
864
+ t(this, "data0");
865
+ t(this, "data1");
866
+ this.instance = parseInt(e[2], 16), this.flags = parseInt(e[3], 16), this.location = parseInt(e[4], 16), this.data0 = parseInt(e[5], 16), this.data1 = parseInt(e[6], 16);
867
+ }
868
+ }
869
+ class ie extends n {
870
+ constructor(e) {
871
+ super("FateDirector", e);
872
+ t(this, "category");
873
+ t(this, "unknown");
874
+ t(this, "id");
875
+ t(this, "progress");
876
+ this.category = e[2], this.unknown = parseInt(e[3], 16), this.id = parseInt(e[4], 16), this.progress = parseInt(e[5], 16);
877
+ }
878
+ }
879
+ class ce extends n {
880
+ constructor(e) {
881
+ super("CEDirector", e);
882
+ t(this, "popTime");
883
+ // unix timestamp
884
+ t(this, "timeRemaining");
885
+ t(this, "unknown");
886
+ t(this, "ceKey");
887
+ t(this, "numPlayers");
888
+ t(this, "status");
889
+ t(this, "unknown2");
890
+ t(this, "progress");
891
+ this.popTime = parseInt(e[2], 16), this.timeRemaining = parseInt(e[3], 16), this.unknown = parseInt(e[4], 16), this.ceKey = parseInt(e[5], 16), this.numPlayers = parseInt(e[6], 16), this.status = parseInt(e[7], 16), this.unknown2 = parseInt(e[8], 16), this.progress = parseInt(e[9], 16);
892
+ }
893
+ }
894
+ class pe extends n {
895
+ constructor(e) {
896
+ super("InCombat", e);
897
+ t(this, "inACTCombat");
898
+ t(this, "inGameCombat");
899
+ t(this, "isACTChanged");
900
+ t(this, "isGameChanged");
901
+ this.inACTCombat = parseInt(e[2]) === 1, this.inGameCombat = parseInt(e[3]) === 1, this.isACTChanged = parseInt(e[4]) === 1, this.isGameChanged = parseInt(e[5]) === 1;
902
+ }
903
+ }
904
+ class he extends n {
905
+ constructor(e) {
906
+ super("CombatantMemory", e);
907
+ t(this, "change");
908
+ t(this, "id");
909
+ t(this, "data");
910
+ this.change = e[2], this.id = parseInt(e[3], 16), this.data = /* @__PURE__ */ new Map();
911
+ for (let a = 4; a < e.length - 1; a += 2)
912
+ this.data.set(e[a], e[a + 1]);
913
+ }
914
+ }
915
+ class ue extends n {
916
+ constructor(e) {
917
+ super("RSVData", e);
918
+ t(this, "locale");
919
+ t(this, "unknown");
920
+ t(this, "key");
921
+ t(this, "value");
922
+ this.locale = e[2], this.unknown = parseInt(e[3], 16), this.key = e[4], this.value = e[5];
923
+ }
924
+ }
925
+ class de extends n {
926
+ constructor(e) {
927
+ super("StartsUsingExtra", e);
928
+ t(this, "sourceID");
929
+ t(this, "id");
930
+ t(this, "x");
931
+ t(this, "y");
932
+ t(this, "z");
933
+ t(this, "heading");
934
+ this.sourceID = parseInt(e[2], 16), this.id = parseInt(e[3], 16), this.x = parseFloat(e[4]), this.y = parseFloat(e[5]), this.z = parseFloat(e[6]), this.heading = parseFloat(e[7]);
935
+ }
936
+ }
937
+ class Ie extends n {
938
+ constructor(e) {
939
+ super("AbilityExtra", e);
940
+ t(this, "sourceID");
941
+ t(this, "id");
942
+ t(this, "globalEffectCounter");
943
+ t(this, "dataFlag");
944
+ t(this, "x");
945
+ t(this, "y");
946
+ t(this, "z");
947
+ t(this, "heading");
948
+ t(this, "animationTargetId");
949
+ this.sourceID = parseInt(e[2], 16), this.id = parseInt(e[3], 16), this.globalEffectCounter = parseInt(e[4], 16), this.dataFlag = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]), this.heading = parseFloat(e[9]), this.animationTargetId = parseInt(e[10], 16);
950
+ }
951
+ }
952
+ class oe extends n {
953
+ constructor(e) {
954
+ super("ContentFinderSettings", e);
955
+ t(this, "zoneID");
956
+ t(this, "zoneName");
957
+ t(this, "inContentFinderContent");
958
+ t(this, "unrestrictedParty");
959
+ t(this, "minimalItemLevel");
960
+ t(this, "silenceEcho");
961
+ t(this, "explorerMode");
962
+ t(this, "levelSync");
963
+ this.zoneID = parseInt(e[2], 16), this.zoneName = e[3], this.inContentFinderContent = parseInt(e[4]) === 1, this.unrestrictedParty = parseInt(e[5]) === 1, this.minimalItemLevel = parseInt(e[6]) === 1, this.silenceEcho = parseInt(e[7]) === 1, this.explorerMode = parseInt(e[8]) === 1, this.levelSync = parseInt(e[9]) === 1;
964
+ }
965
+ }
966
+ class me extends n {
967
+ constructor(e) {
968
+ super("NpcYell", e);
969
+ t(this, "npcId");
970
+ t(this, "npcNameId");
971
+ t(this, "npcYellId");
972
+ this.npcId = parseInt(e[2], 16), this.npcNameId = parseInt(e[3], 16), this.npcYellId = parseInt(e[4], 16);
973
+ }
974
+ }
975
+ class we extends n {
976
+ constructor(e) {
977
+ super("BattleTalk2", e);
978
+ t(this, "npcId");
979
+ t(this, "instance");
980
+ t(this, "npcNameId");
981
+ t(this, "instanceContentTextId");
982
+ t(this, "displayMs");
983
+ this.npcId = parseInt(e[2], 16), this.instance = parseInt(e[3], 16), this.npcNameId = parseInt(e[4], 16), this.instanceContentTextId = parseInt(e[5], 16), this.displayMs = parseInt(e[6]);
984
+ }
985
+ }
986
+ class ye extends n {
987
+ constructor(e) {
988
+ super("Countdown", e);
989
+ t(this, "id");
990
+ t(this, "worldID");
991
+ t(this, "countdownTime");
992
+ t(this, "result");
993
+ t(this, "name");
994
+ this.id = parseInt(e[2], 16), this.worldID = parseInt(e[3], 16), this.countdownTime = parseInt(e[4]), this.result = parseInt(e[5], 16), this.name = e[6];
995
+ }
996
+ }
997
+ class xe extends n {
998
+ constructor(e) {
999
+ super("CountdownCancel", e);
1000
+ t(this, "id");
1001
+ t(this, "worldID");
1002
+ t(this, "name");
1003
+ this.id = parseInt(e[2], 16), this.worldID = parseInt(e[3], 16), this.name = e[4];
1004
+ }
1005
+ }
1006
+ class fe extends n {
1007
+ constructor(e) {
1008
+ super("ActorMove", e);
1009
+ t(this, "id");
1010
+ t(this, "heading");
1011
+ t(this, "unk1");
1012
+ t(this, "unk2");
1013
+ t(this, "x");
1014
+ t(this, "y");
1015
+ t(this, "z");
1016
+ this.id = parseInt(e[2], 16), this.heading = parseFloat(e[3]), this.unk1 = parseInt(e[4], 16), this.unk2 = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
1017
+ }
1018
+ }
1019
+ class De extends n {
1020
+ constructor(e) {
1021
+ super("ActorSetPos", e);
1022
+ t(this, "id");
1023
+ t(this, "heading");
1024
+ t(this, "unk1");
1025
+ t(this, "unk2");
1026
+ t(this, "x");
1027
+ t(this, "y");
1028
+ t(this, "z");
1029
+ this.id = parseInt(e[2], 16), this.heading = parseFloat(e[3]), this.unk1 = parseInt(e[4], 16), this.unk2 = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
1030
+ }
1031
+ }
1032
+ class ve extends n {
1033
+ constructor(e) {
1034
+ super("SpawnNpcExtra", e);
1035
+ t(this, "id");
1036
+ t(this, "parentID");
1037
+ t(this, "tetherID");
1038
+ t(this, "animationState");
1039
+ this.id = parseInt(e[2], 16), this.parentID = parseInt(e[3], 16), this.tetherID = parseInt(e[4], 16), this.animationState = parseInt(e[5], 16);
1040
+ }
1041
+ }
1042
+ class Ne extends n {
1043
+ constructor(e) {
1044
+ super("ActorControlExtra", e);
1045
+ t(this, "id");
1046
+ t(this, "category");
1047
+ t(this, "param1");
1048
+ t(this, "param2");
1049
+ t(this, "param3");
1050
+ t(this, "param4");
1051
+ this.id = parseInt(e[2], 16), this.category = parseInt(e[3], 16), this.param1 = parseInt(e[4], 16), this.param2 = parseInt(e[5], 16), this.param3 = parseInt(e[6], 16), this.param4 = parseInt(e[7], 16);
1052
+ }
1053
+ }
1054
+ class Pe extends n {
1055
+ constructor(e) {
1056
+ super("ActorControlSelfExtra", e);
1057
+ t(this, "id");
1058
+ t(this, "category");
1059
+ t(this, "param1");
1060
+ t(this, "param2");
1061
+ t(this, "param3");
1062
+ t(this, "param4");
1063
+ t(this, "param5");
1064
+ t(this, "param6");
1065
+ this.id = parseInt(e[2], 16), this.category = parseInt(e[3], 16), this.param1 = parseInt(e[4], 16), this.param2 = parseInt(e[5], 16), this.param3 = parseInt(e[6], 16), this.param4 = parseInt(e[7], 16), this.param5 = parseInt(e[8], 16), this.param6 = parseInt(e[9], 16);
1066
+ }
1067
+ }
1068
+ class ke extends n {
1069
+ constructor(e) {
1070
+ super("Unknown", e);
1071
+ t(this, "rawLines");
1072
+ this.rawLines = e;
1073
+ }
1074
+ }
1075
+ function Ce(s) {
1076
+ switch (parseInt(s[0])) {
1077
+ case 0:
1078
+ return new C(s);
1079
+ case 1:
1080
+ return new M(s);
1081
+ case 2:
1082
+ return new b(s);
1083
+ case 3:
1084
+ return new H(s);
1085
+ case 4:
1086
+ return new E(s);
1087
+ case 11:
1088
+ return new S(s);
1089
+ case 12:
1090
+ return new L(s);
1091
+ case 20:
1092
+ return new T(s);
1093
+ case 21:
1094
+ case 22:
1095
+ return new A(s);
1096
+ case 23:
1097
+ return new O(s);
1098
+ case 24:
1099
+ return new z(s);
1100
+ case 25:
1101
+ return new q(s);
1102
+ case 26:
1103
+ return new R(s);
1104
+ case 27:
1105
+ return new U(s);
1106
+ case 28:
1107
+ return new B(s);
1108
+ case 29:
1109
+ return new j(s);
1110
+ case 30:
1111
+ return new G(s);
1112
+ case 31:
1113
+ return new V(s);
1114
+ case 33:
1115
+ return new Y(s);
1116
+ case 34:
1117
+ return new Z(s);
1118
+ case 35:
1119
+ return new J(s);
1120
+ case 36:
1121
+ return new X(s);
1122
+ case 37:
1123
+ return new _(s);
1124
+ case 38:
1125
+ return new W(s);
1126
+ case 39:
1127
+ return new K(s);
1128
+ case 40:
1129
+ return new $(s);
1130
+ case 41:
1131
+ return new Q(s);
1132
+ case 42:
1133
+ return new g(s);
1134
+ case 251:
1135
+ return new ee(s);
1136
+ case 252:
1137
+ return new te(s);
1138
+ case 253:
1139
+ return new se(s);
1140
+ case 254:
1141
+ return new re(s);
1142
+ case 256:
1143
+ return new ae(s);
1144
+ case 257:
1145
+ return new ne(s);
1146
+ case 258:
1147
+ return new ie(s);
1148
+ case 259:
1149
+ return new ce(s);
1150
+ case 260:
1151
+ return new pe(s);
1152
+ case 261:
1153
+ return new he(s);
1154
+ case 262:
1155
+ return new ue(s);
1156
+ case 263:
1157
+ return new de(s);
1158
+ case 264:
1159
+ return new Ie(s);
1160
+ case 265:
1161
+ return new oe(s);
1162
+ case 266:
1163
+ return new me(s);
1164
+ case 267:
1165
+ return new we(s);
1166
+ case 268:
1167
+ return new ye(s);
1168
+ case 269:
1169
+ return new xe(s);
1170
+ case 270:
1171
+ return new fe(s);
1172
+ case 271:
1173
+ return new De(s);
1174
+ case 272:
1175
+ return new ve(s);
1176
+ case 273:
1177
+ return new Ne(s);
1178
+ case 274:
1179
+ return new Pe(s);
1180
+ default:
1181
+ return new ke(s);
1182
+ }
1183
+ }
1184
+ let Me = new l();
1185
+ export {
1186
+ Ie as AbilityExtra,
1187
+ Ne as ActorControlExtra,
1188
+ Pe as ActorControlSelfExtra,
1189
+ fe as ActorMove,
1190
+ De as ActorSetPos,
1191
+ H as AddCombatant,
1192
+ we as BattleTalk2,
1193
+ ce as CEDirector,
1194
+ b as ChangePrimaryPlayer,
1195
+ M as ChangeZone,
1196
+ he as CombatantMemory,
1197
+ oe as ContentFinderSettings,
1198
+ ye as Countdown,
1199
+ xe as CountdownCancel,
1200
+ ee as Debug,
1201
+ re as Error,
1202
+ ie as FateDirector,
1203
+ C as GameLogLine,
1204
+ pe as InCombat,
1205
+ X as LimitBreak,
1206
+ ae as LineRegistration,
1207
+ n as LogLineBase,
1208
+ ne as MapEffect,
1209
+ $ as MapLog,
1210
+ T as NetowrkStartsCasting,
1211
+ A as NetworkAbility,
1212
+ _ as NetworkActionSync,
1213
+ Y as NetworkActorControl,
1214
+ R as NetworkBuff,
1215
+ G as NetworkBuffRemove,
1216
+ O as NetworkCancelAbility,
1217
+ q as NetworkDeath,
1218
+ z as NetworkDoT,
1219
+ V as NetworkGauge,
1220
+ Z as NetworkNameToggle,
1221
+ B as NetworkRaidMarker,
1222
+ W as NetworkStatusEffects,
1223
+ U as NetworkTargetIcon,
1224
+ j as NetworkTargetMarker,
1225
+ J as NetworkTether,
1226
+ K as NetworkUpdateHP,
1227
+ me as NpcYell,
1228
+ te as PacketDump,
1229
+ Ce as ParseLogLine,
1230
+ S as PartyList,
1231
+ L as PlayerStats,
1232
+ ue as RSVData,
1233
+ E as RemoveCombatant,
1234
+ ve as SpawnNpcExtra,
1235
+ de as StartsUsingExtra,
1236
+ g as StatusList3,
1237
+ Q as SystemLogMessage,
1238
+ ke as UnknownLogLine,
1239
+ se as Version,
1240
+ Me as default
1241
+ };