fleethub-core 1.7.1 → 1.7.5

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,22 +1,55 @@
1
1
  import { createEquipmentBonuses } from 'equipment-bonus';
2
2
  import * as wasm from './fleethub_core_bg.wasm';
3
3
 
4
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
5
+
6
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
7
+
8
+ cachedTextDecoder.decode();
9
+
10
+ let cachedUint8Memory0;
11
+ function getUint8Memory0() {
12
+ if (cachedUint8Memory0.byteLength === 0) {
13
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
14
+ }
15
+ return cachedUint8Memory0;
16
+ }
17
+
18
+ function getStringFromWasm0(ptr, len) {
19
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
20
+ }
21
+
4
22
  const heap = new Array(32).fill(undefined);
5
23
 
6
24
  heap.push(undefined, null, true, false);
7
25
 
26
+ let heap_next = heap.length;
27
+
28
+ function addHeapObject(obj) {
29
+ if (heap_next === heap.length) heap.push(heap.length + 1);
30
+ const idx = heap_next;
31
+ heap_next = heap[idx];
32
+
33
+ heap[idx] = obj;
34
+ return idx;
35
+ }
36
+
8
37
  function getObject(idx) { return heap[idx]; }
9
38
 
10
- let WASM_VECTOR_LEN = 0;
39
+ function dropObject(idx) {
40
+ if (idx < 36) return;
41
+ heap[idx] = heap_next;
42
+ heap_next = idx;
43
+ }
11
44
 
12
- let cachegetUint8Memory0 = null;
13
- function getUint8Memory0() {
14
- if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
15
- cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
16
- }
17
- return cachegetUint8Memory0;
45
+ function takeObject(idx) {
46
+ const ret = getObject(idx);
47
+ dropObject(idx);
48
+ return ret;
18
49
  }
19
50
 
51
+ let WASM_VECTOR_LEN = 0;
52
+
20
53
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
21
54
 
22
55
  let cachedTextEncoder = new lTextEncoder('utf-8');
@@ -72,45 +105,12 @@ function passStringToWasm0(arg, malloc, realloc) {
72
105
  return ptr;
73
106
  }
74
107
 
75
- let cachegetInt32Memory0 = null;
108
+ let cachedInt32Memory0;
76
109
  function getInt32Memory0() {
77
- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
78
- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
110
+ if (cachedInt32Memory0.byteLength === 0) {
111
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
79
112
  }
80
- return cachegetInt32Memory0;
81
- }
82
-
83
- let heap_next = heap.length;
84
-
85
- function dropObject(idx) {
86
- if (idx < 36) return;
87
- heap[idx] = heap_next;
88
- heap_next = idx;
89
- }
90
-
91
- function takeObject(idx) {
92
- const ret = getObject(idx);
93
- dropObject(idx);
94
- return ret;
95
- }
96
-
97
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
98
-
99
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
100
-
101
- cachedTextDecoder.decode();
102
-
103
- function getStringFromWasm0(ptr, len) {
104
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
105
- }
106
-
107
- function addHeapObject(obj) {
108
- if (heap_next === heap.length) heap.push(heap.length + 1);
109
- const idx = heap_next;
110
- heap_next = heap[idx];
111
-
112
- heap[idx] = obj;
113
- return idx;
113
+ return cachedInt32Memory0;
114
114
  }
115
115
 
116
116
  const u32CvtShim = new Uint32Array(2);
@@ -124,24 +124,24 @@ function _assertClass(instance, klass) {
124
124
  return instance.ptr;
125
125
  }
126
126
 
127
- let cachegetFloat64Memory0 = null;
127
+ let cachedFloat64Memory0;
128
128
  function getFloat64Memory0() {
129
- if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
130
- cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
129
+ if (cachedFloat64Memory0.byteLength === 0) {
130
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
131
131
  }
132
- return cachegetFloat64Memory0;
132
+ return cachedFloat64Memory0;
133
133
  }
134
134
 
135
135
  function isLikeNone(x) {
136
136
  return x === undefined || x === null;
137
137
  }
138
138
 
139
- let cachegetUint32Memory0 = null;
139
+ let cachedUint32Memory0;
140
140
  function getUint32Memory0() {
141
- if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {
142
- cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);
141
+ if (cachedUint32Memory0.byteLength === 0) {
142
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
143
143
  }
144
- return cachegetUint32Memory0;
144
+ return cachedUint32Memory0;
145
145
  }
146
146
 
147
147
  function getArrayJsValueFromWasm0(ptr, len) {
@@ -154,12 +154,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
154
154
  return result;
155
155
  }
156
156
 
157
- let cachegetUint16Memory0 = null;
157
+ let cachedUint16Memory0;
158
158
  function getUint16Memory0() {
159
- if (cachegetUint16Memory0 === null || cachegetUint16Memory0.buffer !== wasm.memory.buffer) {
160
- cachegetUint16Memory0 = new Uint16Array(wasm.memory.buffer);
159
+ if (cachedUint16Memory0.byteLength === 0) {
160
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
161
161
  }
162
- return cachegetUint16Memory0;
162
+ return cachedUint16Memory0;
163
163
  }
164
164
 
165
165
  function getArrayU16FromWasm0(ptr, len) {
@@ -235,7 +235,6 @@ export class AirSquadron {
235
235
  }
236
236
  }
237
237
  /**
238
- * @param {string} arg0
239
238
  */
240
239
  set id(arg0) {
241
240
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -259,7 +258,6 @@ export class AirSquadron {
259
258
  }
260
259
  }
261
260
  /**
262
- * @param {BigInt} arg0
263
261
  */
264
262
  set xxh3(arg0) {
265
263
  uint64CvtShim[0] = arg0;
@@ -274,7 +272,6 @@ export class AirSquadron {
274
272
  return takeObject(ret);
275
273
  }
276
274
  /**
277
- * @param {AirSquadronMode} arg0
278
275
  */
279
276
  set mode(arg0) {
280
277
  wasm.__wbg_set_airsquadron_mode(this.ptr, addHeapObject(arg0));
@@ -470,7 +467,6 @@ export class Comp {
470
467
  return takeObject(ret);
471
468
  }
472
469
  /**
473
- * @param {OrgType} arg0
474
470
  */
475
471
  set org_type(arg0) {
476
472
  wasm.__wbg_set_comp_org_type(this.ptr, addHeapObject(arg0));
@@ -482,7 +478,6 @@ export class Comp {
482
478
  return ret;
483
479
  }
484
480
  /**
485
- * @param {number} arg0
486
481
  */
487
482
  set hq_level(arg0) {
488
483
  wasm.__wbg_set_comp_hq_level(this.ptr, arg0);
@@ -494,7 +489,6 @@ export class Comp {
494
489
  return Fleet.__wrap(ret);
495
490
  }
496
491
  /**
497
- * @param {Fleet} arg0
498
492
  */
499
493
  set main(arg0) {
500
494
  _assertClass(arg0, Fleet);
@@ -509,7 +503,6 @@ export class Comp {
509
503
  return ret === 0 ? undefined : Fleet.__wrap(ret);
510
504
  }
511
505
  /**
512
- * @param {Fleet | undefined} arg0
513
506
  */
514
507
  set escort(arg0) {
515
508
  let ptr0 = 0;
@@ -527,7 +520,6 @@ export class Comp {
527
520
  return ret === 0 ? undefined : Fleet.__wrap(ret);
528
521
  }
529
522
  /**
530
- * @param {Fleet | undefined} arg0
531
523
  */
532
524
  set route_sup(arg0) {
533
525
  let ptr0 = 0;
@@ -545,7 +537,6 @@ export class Comp {
545
537
  return ret === 0 ? undefined : Fleet.__wrap(ret);
546
538
  }
547
539
  /**
548
- * @param {Fleet | undefined} arg0
549
540
  */
550
541
  set boss_sup(arg0) {
551
542
  let ptr0 = 0;
@@ -911,7 +902,6 @@ export class Fleet {
911
902
  }
912
903
  }
913
904
  /**
914
- * @param {string} arg0
915
905
  */
916
906
  set id(arg0) {
917
907
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -923,7 +913,7 @@ export class Fleet {
923
913
  get xxh3() {
924
914
  try {
925
915
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
926
- wasm.__wbg_get_airsquadron_xxh3(retptr, this.ptr);
916
+ wasm.__wbg_get_fleet_xxh3(retptr, this.ptr);
927
917
  var r0 = getInt32Memory0()[retptr / 4 + 0];
928
918
  var r1 = getInt32Memory0()[retptr / 4 + 1];
929
919
  u32CvtShim[0] = r0;
@@ -935,13 +925,12 @@ export class Fleet {
935
925
  }
936
926
  }
937
927
  /**
938
- * @param {BigInt} arg0
939
928
  */
940
929
  set xxh3(arg0) {
941
930
  uint64CvtShim[0] = arg0;
942
931
  const low0 = u32CvtShim[0];
943
932
  const high0 = u32CvtShim[1];
944
- wasm.__wbg_set_airsquadron_xxh3(this.ptr, low0, high0);
933
+ wasm.__wbg_set_fleet_xxh3(this.ptr, low0, high0);
945
934
  }
946
935
  /**
947
936
  */
@@ -950,7 +939,6 @@ export class Fleet {
950
939
  return ret >>> 0;
951
940
  }
952
941
  /**
953
- * @param {number} arg0
954
942
  */
955
943
  set len(arg0) {
956
944
  wasm.__wbg_set_fleet_len(this.ptr, arg0);
@@ -1079,7 +1067,6 @@ export class Fleet {
1079
1067
  return ret === 0 ? undefined : Ship.__wrap(ret);
1080
1068
  }
1081
1069
  /**
1082
- * @returns {number | undefined}
1083
1070
  */
1084
1071
  get fleet_los_mod() {
1085
1072
  try {
@@ -1209,7 +1196,6 @@ export class Gear {
1209
1196
  }
1210
1197
  }
1211
1198
  /**
1212
- * @param {string} arg0
1213
1199
  */
1214
1200
  set id(arg0) {
1215
1201
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1233,7 +1219,6 @@ export class Gear {
1233
1219
  }
1234
1220
  }
1235
1221
  /**
1236
- * @param {BigInt} arg0
1237
1222
  */
1238
1223
  set xxh3(arg0) {
1239
1224
  uint64CvtShim[0] = arg0;
@@ -1248,7 +1233,6 @@ export class Gear {
1248
1233
  return ret;
1249
1234
  }
1250
1235
  /**
1251
- * @param {number} arg0
1252
1236
  */
1253
1237
  set gear_id(arg0) {
1254
1238
  wasm.__wbg_set_gear_gear_id(this.ptr, arg0);
@@ -1260,7 +1244,6 @@ export class Gear {
1260
1244
  return ret;
1261
1245
  }
1262
1246
  /**
1263
- * @param {number} arg0
1264
1247
  */
1265
1248
  set stars(arg0) {
1266
1249
  wasm.__wbg_set_gear_stars(this.ptr, arg0);
@@ -1272,7 +1255,6 @@ export class Gear {
1272
1255
  return ret;
1273
1256
  }
1274
1257
  /**
1275
- * @param {number} arg0
1276
1258
  */
1277
1259
  set exp(arg0) {
1278
1260
  wasm.__wbg_set_gear_exp(this.ptr, arg0);
@@ -1284,7 +1266,6 @@ export class Gear {
1284
1266
  return ret;
1285
1267
  }
1286
1268
  /**
1287
- * @param {number} arg0
1288
1269
  */
1289
1270
  set default_exp(arg0) {
1290
1271
  wasm.__wbg_set_gear_default_exp(this.ptr, arg0);
@@ -1304,7 +1285,6 @@ export class Gear {
1304
1285
  }
1305
1286
  }
1306
1287
  /**
1307
- * @param {string} arg0
1308
1288
  */
1309
1289
  set name(arg0) {
1310
1290
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1327,7 +1307,6 @@ export class Gear {
1327
1307
  }
1328
1308
  }
1329
1309
  /**
1330
- * @param {Uint8Array} arg0
1331
1310
  */
1332
1311
  set types(arg0) {
1333
1312
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
@@ -1341,7 +1320,6 @@ export class Gear {
1341
1320
  return takeObject(ret);
1342
1321
  }
1343
1322
  /**
1344
- * @param {GearType} arg0
1345
1323
  */
1346
1324
  set gear_type(arg0) {
1347
1325
  wasm.__wbg_set_gear_gear_type(this.ptr, addHeapObject(arg0));
@@ -1353,7 +1331,6 @@ export class Gear {
1353
1331
  return ret;
1354
1332
  }
1355
1333
  /**
1356
- * @param {number} arg0
1357
1334
  */
1358
1335
  set max_hp(arg0) {
1359
1336
  wasm.__wbg_set_gear_max_hp(this.ptr, arg0);
@@ -1365,7 +1342,6 @@ export class Gear {
1365
1342
  return ret;
1366
1343
  }
1367
1344
  /**
1368
- * @param {number} arg0
1369
1345
  */
1370
1346
  set firepower(arg0) {
1371
1347
  wasm.__wbg_set_gear_firepower(this.ptr, arg0);
@@ -1377,7 +1353,6 @@ export class Gear {
1377
1353
  return ret;
1378
1354
  }
1379
1355
  /**
1380
- * @param {number} arg0
1381
1356
  */
1382
1357
  set armor(arg0) {
1383
1358
  wasm.__wbg_set_gear_armor(this.ptr, arg0);
@@ -1389,7 +1364,6 @@ export class Gear {
1389
1364
  return ret;
1390
1365
  }
1391
1366
  /**
1392
- * @param {number} arg0
1393
1367
  */
1394
1368
  set torpedo(arg0) {
1395
1369
  wasm.__wbg_set_gear_torpedo(this.ptr, arg0);
@@ -1401,7 +1375,6 @@ export class Gear {
1401
1375
  return ret;
1402
1376
  }
1403
1377
  /**
1404
- * @param {number} arg0
1405
1378
  */
1406
1379
  set anti_air(arg0) {
1407
1380
  wasm.__wbg_set_gear_anti_air(this.ptr, arg0);
@@ -1413,7 +1386,6 @@ export class Gear {
1413
1386
  return ret;
1414
1387
  }
1415
1388
  /**
1416
- * @param {number} arg0
1417
1389
  */
1418
1390
  set speed(arg0) {
1419
1391
  wasm.__wbg_set_gear_speed(this.ptr, arg0);
@@ -1425,7 +1397,6 @@ export class Gear {
1425
1397
  return ret;
1426
1398
  }
1427
1399
  /**
1428
- * @param {number} arg0
1429
1400
  */
1430
1401
  set bombing(arg0) {
1431
1402
  wasm.__wbg_set_gear_bombing(this.ptr, arg0);
@@ -1437,7 +1408,6 @@ export class Gear {
1437
1408
  return ret;
1438
1409
  }
1439
1410
  /**
1440
- * @param {number} arg0
1441
1411
  */
1442
1412
  set asw(arg0) {
1443
1413
  wasm.__wbg_set_gear_asw(this.ptr, arg0);
@@ -1449,7 +1419,6 @@ export class Gear {
1449
1419
  return ret;
1450
1420
  }
1451
1421
  /**
1452
- * @param {number} arg0
1453
1422
  */
1454
1423
  set los(arg0) {
1455
1424
  wasm.__wbg_set_gear_los(this.ptr, arg0);
@@ -1461,7 +1430,6 @@ export class Gear {
1461
1430
  return ret;
1462
1431
  }
1463
1432
  /**
1464
- * @param {number} arg0
1465
1433
  */
1466
1434
  set luck(arg0) {
1467
1435
  wasm.__wbg_set_gear_luck(this.ptr, arg0);
@@ -1473,7 +1441,6 @@ export class Gear {
1473
1441
  return ret;
1474
1442
  }
1475
1443
  /**
1476
- * @param {number} arg0
1477
1444
  */
1478
1445
  set accuracy(arg0) {
1479
1446
  wasm.__wbg_set_gear_accuracy(this.ptr, arg0);
@@ -1485,7 +1452,6 @@ export class Gear {
1485
1452
  return ret;
1486
1453
  }
1487
1454
  /**
1488
- * @param {number} arg0
1489
1455
  */
1490
1456
  set evasion(arg0) {
1491
1457
  wasm.__wbg_set_gear_evasion(this.ptr, arg0);
@@ -1497,7 +1463,6 @@ export class Gear {
1497
1463
  return ret;
1498
1464
  }
1499
1465
  /**
1500
- * @param {number} arg0
1501
1466
  */
1502
1467
  set range(arg0) {
1503
1468
  wasm.__wbg_set_gear_range(this.ptr, arg0);
@@ -1509,7 +1474,6 @@ export class Gear {
1509
1474
  return ret;
1510
1475
  }
1511
1476
  /**
1512
- * @param {number} arg0
1513
1477
  */
1514
1478
  set radius(arg0) {
1515
1479
  wasm.__wbg_set_gear_radius(this.ptr, arg0);
@@ -1521,7 +1485,6 @@ export class Gear {
1521
1485
  return ret;
1522
1486
  }
1523
1487
  /**
1524
- * @param {number} arg0
1525
1488
  */
1526
1489
  set cost(arg0) {
1527
1490
  wasm.__wbg_set_gear_cost(this.ptr, arg0);
@@ -1533,7 +1496,6 @@ export class Gear {
1533
1496
  return ret !== 0;
1534
1497
  }
1535
1498
  /**
1536
- * @param {boolean} arg0
1537
1499
  */
1538
1500
  set improvable(arg0) {
1539
1501
  wasm.__wbg_set_gear_improvable(this.ptr, arg0);
@@ -1545,7 +1507,6 @@ export class Gear {
1545
1507
  return ret;
1546
1508
  }
1547
1509
  /**
1548
- * @param {number} arg0
1549
1510
  */
1550
1511
  set ship_anti_air_resistance(arg0) {
1551
1512
  wasm.__wbg_set_gear_ship_anti_air_resistance(this.ptr, arg0);
@@ -1557,7 +1518,6 @@ export class Gear {
1557
1518
  return ret;
1558
1519
  }
1559
1520
  /**
1560
- * @param {number} arg0
1561
1521
  */
1562
1522
  set fleet_anti_air_resistance(arg0) {
1563
1523
  wasm.__wbg_set_gear_fleet_anti_air_resistance(this.ptr, arg0);
@@ -1570,21 +1530,18 @@ export class Gear {
1570
1530
  return Gear.__wrap(ret);
1571
1531
  }
1572
1532
  /**
1573
- * @returns {number}
1574
1533
  */
1575
1534
  get gear_type_id() {
1576
1535
  const ret = wasm.gear_gear_type_id(this.ptr);
1577
1536
  return ret;
1578
1537
  }
1579
1538
  /**
1580
- * @returns {number}
1581
1539
  */
1582
1540
  get special_type_id() {
1583
1541
  const ret = wasm.gear_special_type_id(this.ptr);
1584
1542
  return ret;
1585
1543
  }
1586
1544
  /**
1587
- * @returns {number}
1588
1545
  */
1589
1546
  get icon_id() {
1590
1547
  const ret = wasm.gear_icon_id(this.ptr);
@@ -1606,21 +1563,18 @@ export class Gear {
1606
1563
  return takeObject(ret);
1607
1564
  }
1608
1565
  /**
1609
- * @returns {number}
1610
1566
  */
1611
1567
  get ace() {
1612
1568
  const ret = wasm.gear_ace(this.ptr);
1613
1569
  return ret;
1614
1570
  }
1615
1571
  /**
1616
- * @returns {number}
1617
1572
  */
1618
1573
  get anti_bomber() {
1619
1574
  const ret = wasm.gear_anti_bomber(this.ptr);
1620
1575
  return ret;
1621
1576
  }
1622
1577
  /**
1623
- * @returns {number}
1624
1578
  */
1625
1579
  get interception() {
1626
1580
  const ret = wasm.gear_interception(this.ptr);
@@ -1812,7 +1766,6 @@ export class IBonuses {
1812
1766
  return ret;
1813
1767
  }
1814
1768
  /**
1815
- * @param {number} arg0
1816
1769
  */
1817
1770
  set shelling_power(arg0) {
1818
1771
  wasm.__wbg_set_ibonuses_shelling_power(this.ptr, arg0);
@@ -1824,7 +1777,6 @@ export class IBonuses {
1824
1777
  return ret;
1825
1778
  }
1826
1779
  /**
1827
- * @param {number} arg0
1828
1780
  */
1829
1781
  set carrier_shelling_power(arg0) {
1830
1782
  wasm.__wbg_set_ibonuses_carrier_shelling_power(this.ptr, arg0);
@@ -1836,7 +1788,6 @@ export class IBonuses {
1836
1788
  return ret;
1837
1789
  }
1838
1790
  /**
1839
- * @param {number} arg0
1840
1791
  */
1841
1792
  set shelling_accuracy(arg0) {
1842
1793
  wasm.__wbg_set_ibonuses_shelling_accuracy(this.ptr, arg0);
@@ -1848,7 +1799,6 @@ export class IBonuses {
1848
1799
  return ret;
1849
1800
  }
1850
1801
  /**
1851
- * @param {number} arg0
1852
1802
  */
1853
1803
  set torpedo_power(arg0) {
1854
1804
  wasm.__wbg_set_ibonuses_torpedo_power(this.ptr, arg0);
@@ -1860,7 +1810,6 @@ export class IBonuses {
1860
1810
  return ret;
1861
1811
  }
1862
1812
  /**
1863
- * @param {number} arg0
1864
1813
  */
1865
1814
  set torpedo_accuracy(arg0) {
1866
1815
  wasm.__wbg_set_ibonuses_torpedo_accuracy(this.ptr, arg0);
@@ -1872,7 +1821,6 @@ export class IBonuses {
1872
1821
  return ret;
1873
1822
  }
1874
1823
  /**
1875
- * @param {number} arg0
1876
1824
  */
1877
1825
  set torpedo_evasion(arg0) {
1878
1826
  wasm.__wbg_set_ibonuses_torpedo_evasion(this.ptr, arg0);
@@ -1884,7 +1832,6 @@ export class IBonuses {
1884
1832
  return ret;
1885
1833
  }
1886
1834
  /**
1887
- * @param {number} arg0
1888
1835
  */
1889
1836
  set asw_power(arg0) {
1890
1837
  wasm.__wbg_set_ibonuses_asw_power(this.ptr, arg0);
@@ -1896,7 +1843,6 @@ export class IBonuses {
1896
1843
  return ret;
1897
1844
  }
1898
1845
  /**
1899
- * @param {number} arg0
1900
1846
  */
1901
1847
  set asw_accuracy(arg0) {
1902
1848
  wasm.__wbg_set_ibonuses_asw_accuracy(this.ptr, arg0);
@@ -1908,7 +1854,6 @@ export class IBonuses {
1908
1854
  return ret;
1909
1855
  }
1910
1856
  /**
1911
- * @param {number} arg0
1912
1857
  */
1913
1858
  set night_power(arg0) {
1914
1859
  wasm.__wbg_set_ibonuses_night_power(this.ptr, arg0);
@@ -1920,7 +1865,6 @@ export class IBonuses {
1920
1865
  return ret;
1921
1866
  }
1922
1867
  /**
1923
- * @param {number} arg0
1924
1868
  */
1925
1869
  set night_accuracy(arg0) {
1926
1870
  wasm.__wbg_set_ibonuses_night_accuracy(this.ptr, arg0);
@@ -1932,7 +1876,6 @@ export class IBonuses {
1932
1876
  return ret;
1933
1877
  }
1934
1878
  /**
1935
- * @param {number} arg0
1936
1879
  */
1937
1880
  set defense_power(arg0) {
1938
1881
  wasm.__wbg_set_ibonuses_defense_power(this.ptr, arg0);
@@ -1944,7 +1887,6 @@ export class IBonuses {
1944
1887
  return ret;
1945
1888
  }
1946
1889
  /**
1947
- * @param {number} arg0
1948
1890
  */
1949
1891
  set contact_selection(arg0) {
1950
1892
  wasm.__wbg_set_ibonuses_contact_selection(this.ptr, arg0);
@@ -1956,7 +1898,6 @@ export class IBonuses {
1956
1898
  return ret;
1957
1899
  }
1958
1900
  /**
1959
- * @param {number} arg0
1960
1901
  */
1961
1902
  set fighter_power(arg0) {
1962
1903
  wasm.__wbg_set_ibonuses_fighter_power(this.ptr, arg0);
@@ -1968,7 +1909,6 @@ export class IBonuses {
1968
1909
  return ret;
1969
1910
  }
1970
1911
  /**
1971
- * @param {number} arg0
1972
1912
  */
1973
1913
  set ship_anti_air(arg0) {
1974
1914
  wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
@@ -1980,7 +1920,6 @@ export class IBonuses {
1980
1920
  return ret;
1981
1921
  }
1982
1922
  /**
1983
- * @param {number} arg0
1984
1923
  */
1985
1924
  set fleet_anti_air(arg0) {
1986
1925
  wasm.__wbg_set_ibonuses_fleet_anti_air(this.ptr, arg0);
@@ -1992,7 +1931,6 @@ export class IBonuses {
1992
1931
  return ret;
1993
1932
  }
1994
1933
  /**
1995
- * @param {number} arg0
1996
1934
  */
1997
1935
  set elos(arg0) {
1998
1936
  wasm.__wbg_set_ibonuses_elos(this.ptr, arg0);
@@ -2037,7 +1975,6 @@ export class Org {
2037
1975
  }
2038
1976
  }
2039
1977
  /**
2040
- * @param {string} arg0
2041
1978
  */
2042
1979
  set id(arg0) {
2043
1980
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2061,7 +1998,6 @@ export class Org {
2061
1998
  }
2062
1999
  }
2063
2000
  /**
2064
- * @param {BigInt} arg0
2065
2001
  */
2066
2002
  set xxh3(arg0) {
2067
2003
  uint64CvtShim[0] = arg0;
@@ -2076,7 +2012,6 @@ export class Org {
2076
2012
  return ret;
2077
2013
  }
2078
2014
  /**
2079
- * @param {number} arg0
2080
2015
  */
2081
2016
  set hq_level(arg0) {
2082
2017
  wasm.__wbg_set_org_hq_level(this.ptr, arg0);
@@ -2088,7 +2023,6 @@ export class Org {
2088
2023
  return takeObject(ret);
2089
2024
  }
2090
2025
  /**
2091
- * @param {OrgType} arg0
2092
2026
  */
2093
2027
  set org_type(arg0) {
2094
2028
  wasm.__wbg_set_org_org_type(this.ptr, addHeapObject(arg0));
@@ -2108,7 +2042,6 @@ export class Org {
2108
2042
  }
2109
2043
  }
2110
2044
  /**
2111
- * @param {string} arg0
2112
2045
  */
2113
2046
  set sortie(arg0) {
2114
2047
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2134,7 +2067,6 @@ export class Org {
2134
2067
  }
2135
2068
  }
2136
2069
  /**
2137
- * @param {string | undefined} arg0
2138
2070
  */
2139
2071
  set route_sup(arg0) {
2140
2072
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2160,7 +2092,6 @@ export class Org {
2160
2092
  }
2161
2093
  }
2162
2094
  /**
2163
- * @param {string | undefined} arg0
2164
2095
  */
2165
2096
  set boss_sup(arg0) {
2166
2097
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2486,7 +2417,6 @@ export class Ship {
2486
2417
  }
2487
2418
  }
2488
2419
  /**
2489
- * @param {string} arg0
2490
2420
  */
2491
2421
  set id(arg0) {
2492
2422
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2510,7 +2440,6 @@ export class Ship {
2510
2440
  }
2511
2441
  }
2512
2442
  /**
2513
- * @param {BigInt} arg0
2514
2443
  */
2515
2444
  set xxh3(arg0) {
2516
2445
  uint64CvtShim[0] = arg0;
@@ -2525,7 +2454,6 @@ export class Ship {
2525
2454
  return ret;
2526
2455
  }
2527
2456
  /**
2528
- * @param {number} arg0
2529
2457
  */
2530
2458
  set ship_id(arg0) {
2531
2459
  wasm.__wbg_set_ship_ship_id(this.ptr, arg0);
@@ -2537,7 +2465,6 @@ export class Ship {
2537
2465
  return ret;
2538
2466
  }
2539
2467
  /**
2540
- * @param {number} arg0
2541
2468
  */
2542
2469
  set level(arg0) {
2543
2470
  wasm.__wbg_set_ship_level(this.ptr, arg0);
@@ -2549,7 +2476,6 @@ export class Ship {
2549
2476
  return ret;
2550
2477
  }
2551
2478
  /**
2552
- * @param {number} arg0
2553
2479
  */
2554
2480
  set current_hp(arg0) {
2555
2481
  wasm.__wbg_set_ship_current_hp(this.ptr, arg0);
@@ -2561,7 +2487,6 @@ export class Ship {
2561
2487
  return ret;
2562
2488
  }
2563
2489
  /**
2564
- * @param {number} arg0
2565
2490
  */
2566
2491
  set morale(arg0) {
2567
2492
  wasm.__wbg_set_ship_morale(this.ptr, arg0);
@@ -2573,7 +2498,6 @@ export class Ship {
2573
2498
  return ret;
2574
2499
  }
2575
2500
  /**
2576
- * @param {number} arg0
2577
2501
  */
2578
2502
  set ammo(arg0) {
2579
2503
  wasm.__wbg_set_ship_ammo(this.ptr, arg0);
@@ -2585,7 +2509,6 @@ export class Ship {
2585
2509
  return ret;
2586
2510
  }
2587
2511
  /**
2588
- * @param {number} arg0
2589
2512
  */
2590
2513
  set fuel(arg0) {
2591
2514
  wasm.__wbg_set_ship_fuel(this.ptr, arg0);
@@ -2597,7 +2520,6 @@ export class Ship {
2597
2520
  return takeObject(ret);
2598
2521
  }
2599
2522
  /**
2600
- * @param {ShipType} arg0
2601
2523
  */
2602
2524
  set ship_type(arg0) {
2603
2525
  wasm.__wbg_set_ship_ship_type(this.ptr, addHeapObject(arg0));
@@ -2609,7 +2531,6 @@ export class Ship {
2609
2531
  return ret;
2610
2532
  }
2611
2533
  /**
2612
- * @param {number} arg0
2613
2534
  */
2614
2535
  set ctype(arg0) {
2615
2536
  wasm.__wbg_set_ship_ctype(this.ptr, arg0);
@@ -2621,104 +2542,89 @@ export class Ship {
2621
2542
  return takeObject(ret);
2622
2543
  }
2623
2544
  /**
2624
- * @param {SlotSizeVec} arg0
2625
2545
  */
2626
2546
  set slots(arg0) {
2627
2547
  wasm.__wbg_set_ship_slots(this.ptr, addHeapObject(arg0));
2628
2548
  }
2629
2549
  /**
2630
- * @returns {number | undefined}
2631
2550
  */
2632
2551
  get naked_firepower() {
2633
2552
  const ret = wasm.ship_naked_firepower(this.ptr);
2634
2553
  return ret === 0xFFFFFF ? undefined : ret;
2635
2554
  }
2636
2555
  /**
2637
- * @returns {number | undefined}
2638
2556
  */
2639
2557
  get naked_torpedo() {
2640
2558
  const ret = wasm.ship_naked_torpedo(this.ptr);
2641
2559
  return ret === 0xFFFFFF ? undefined : ret;
2642
2560
  }
2643
2561
  /**
2644
- * @returns {number | undefined}
2645
2562
  */
2646
2563
  get naked_armor() {
2647
2564
  const ret = wasm.ship_naked_armor(this.ptr);
2648
2565
  return ret === 0xFFFFFF ? undefined : ret;
2649
2566
  }
2650
2567
  /**
2651
- * @returns {number | undefined}
2652
2568
  */
2653
2569
  get naked_anti_air() {
2654
2570
  const ret = wasm.ship_naked_anti_air(this.ptr);
2655
2571
  return ret === 0xFFFFFF ? undefined : ret;
2656
2572
  }
2657
2573
  /**
2658
- * @returns {number | undefined}
2659
2574
  */
2660
2575
  get naked_evasion() {
2661
2576
  const ret = wasm.ship_naked_evasion(this.ptr);
2662
2577
  return ret === 0xFFFFFF ? undefined : ret;
2663
2578
  }
2664
2579
  /**
2665
- * @returns {number | undefined}
2666
2580
  */
2667
2581
  get naked_asw() {
2668
2582
  const ret = wasm.ship_naked_asw(this.ptr);
2669
2583
  return ret === 0xFFFFFF ? undefined : ret;
2670
2584
  }
2671
2585
  /**
2672
- * @returns {number | undefined}
2673
2586
  */
2674
2587
  get naked_los() {
2675
2588
  const ret = wasm.ship_naked_los(this.ptr);
2676
2589
  return ret === 0xFFFFFF ? undefined : ret;
2677
2590
  }
2678
2591
  /**
2679
- * @returns {number | undefined}
2680
2592
  */
2681
2593
  get firepower() {
2682
2594
  const ret = wasm.ship_firepower(this.ptr);
2683
2595
  return ret === 0xFFFFFF ? undefined : ret;
2684
2596
  }
2685
2597
  /**
2686
- * @returns {number | undefined}
2687
2598
  */
2688
2599
  get torpedo() {
2689
2600
  const ret = wasm.ship_torpedo(this.ptr);
2690
2601
  return ret === 0xFFFFFF ? undefined : ret;
2691
2602
  }
2692
2603
  /**
2693
- * @returns {number | undefined}
2694
2604
  */
2695
2605
  get armor() {
2696
2606
  const ret = wasm.ship_armor(this.ptr);
2697
2607
  return ret === 0xFFFFFF ? undefined : ret;
2698
2608
  }
2699
2609
  /**
2700
- * @returns {number | undefined}
2701
2610
  */
2702
2611
  get anti_air() {
2703
2612
  const ret = wasm.ship_anti_air(this.ptr);
2704
2613
  return ret === 0xFFFFFF ? undefined : ret;
2705
2614
  }
2706
2615
  /**
2707
- * @returns {number | undefined}
2708
2616
  */
2709
2617
  get evasion() {
2710
2618
  const ret = wasm.ship_evasion(this.ptr);
2711
2619
  return ret === 0xFFFFFF ? undefined : ret;
2712
2620
  }
2713
2621
  /**
2714
- * @returns {number | undefined}
2715
2622
  */
2716
2623
  get asw() {
2717
2624
  const ret = wasm.ship_asw(this.ptr);
2718
2625
  return ret === 0xFFFFFF ? undefined : ret;
2719
2626
  }
2720
2627
  /**
2721
- * @returns {number | undefined}
2722
2628
  */
2723
2629
  get los() {
2724
2630
  const ret = wasm.ship_los(this.ptr);
@@ -2749,6 +2655,13 @@ export class Ship {
2749
2655
  return takeObject(ret);
2750
2656
  }
2751
2657
  /**
2658
+ * @returns {CustomPowerModifiers}
2659
+ */
2660
+ custom_power_mods() {
2661
+ const ret = wasm.ship_custom_power_mods(this.ptr);
2662
+ return takeObject(ret);
2663
+ }
2664
+ /**
2752
2665
  * @returns {ShipMeta}
2753
2666
  */
2754
2667
  meta() {
@@ -2756,7 +2669,6 @@ export class Ship {
2756
2669
  return takeObject(ret);
2757
2670
  }
2758
2671
  /**
2759
- * @returns {string}
2760
2672
  */
2761
2673
  get name() {
2762
2674
  try {
@@ -2771,7 +2683,6 @@ export class Ship {
2771
2683
  }
2772
2684
  }
2773
2685
  /**
2774
- * @returns {string}
2775
2686
  */
2776
2687
  get yomi() {
2777
2688
  try {
@@ -2786,14 +2697,12 @@ export class Ship {
2786
2697
  }
2787
2698
  }
2788
2699
  /**
2789
- * @returns {number}
2790
2700
  */
2791
2701
  get stype() {
2792
2702
  const ret = wasm.ship_stype(this.ptr);
2793
2703
  return ret;
2794
2704
  }
2795
2705
  /**
2796
- * @returns {number}
2797
2706
  */
2798
2707
  get sort_id() {
2799
2708
  const ret = wasm.ship_sort_id(this.ptr);
@@ -2807,21 +2716,18 @@ export class Ship {
2807
2716
  return ret;
2808
2717
  }
2809
2718
  /**
2810
- * @returns {number}
2811
2719
  */
2812
2720
  get slotnum() {
2813
2721
  const ret = wasm.ship_slotnum(this.ptr);
2814
2722
  return ret >>> 0;
2815
2723
  }
2816
2724
  /**
2817
- * @returns {number}
2818
2725
  */
2819
2726
  get next_id() {
2820
2727
  const ret = wasm.ship_next_id(this.ptr);
2821
2728
  return ret;
2822
2729
  }
2823
2730
  /**
2824
- * @returns {boolean}
2825
2731
  */
2826
2732
  get useful() {
2827
2733
  const ret = wasm.ship_useful(this.ptr);
@@ -2996,70 +2902,60 @@ export class Ship {
2996
2902
  return ret !== 0;
2997
2903
  }
2998
2904
  /**
2999
- * @returns {number | undefined}
3000
2905
  */
3001
2906
  get max_hp() {
3002
2907
  const ret = wasm.ship_max_hp(this.ptr);
3003
2908
  return ret === 0xFFFFFF ? undefined : ret;
3004
2909
  }
3005
2910
  /**
3006
- * @returns {number}
3007
2911
  */
3008
2912
  get max_ammo() {
3009
2913
  const ret = wasm.ship_max_ammo(this.ptr);
3010
2914
  return ret;
3011
2915
  }
3012
2916
  /**
3013
- * @returns {number}
3014
2917
  */
3015
2918
  get max_fuel() {
3016
2919
  const ret = wasm.ship_max_fuel(this.ptr);
3017
2920
  return ret;
3018
2921
  }
3019
2922
  /**
3020
- * @returns {number | undefined}
3021
2923
  */
3022
2924
  get naked_range() {
3023
2925
  const ret = wasm.ship_naked_range(this.ptr);
3024
2926
  return ret === 0xFFFFFF ? undefined : ret;
3025
2927
  }
3026
2928
  /**
3027
- * @returns {number}
3028
2929
  */
3029
2930
  get naked_speed() {
3030
2931
  const ret = wasm.ship_naked_speed(this.ptr);
3031
2932
  return ret;
3032
2933
  }
3033
2934
  /**
3034
- * @returns {number | undefined}
3035
2935
  */
3036
2936
  get luck() {
3037
2937
  const ret = wasm.ship_luck(this.ptr);
3038
2938
  return ret === 0xFFFFFF ? undefined : ret;
3039
2939
  }
3040
2940
  /**
3041
- * @returns {number | undefined}
3042
2941
  */
3043
2942
  get range() {
3044
2943
  const ret = wasm.ship_range(this.ptr);
3045
2944
  return ret === 0xFFFFFF ? undefined : ret;
3046
2945
  }
3047
2946
  /**
3048
- * @returns {number}
3049
2947
  */
3050
2948
  get speed() {
3051
2949
  const ret = wasm.ship_speed(this.ptr);
3052
2950
  return ret;
3053
2951
  }
3054
2952
  /**
3055
- * @returns {number}
3056
2953
  */
3057
2954
  get accuracy() {
3058
2955
  const ret = wasm.ship_accuracy(this.ptr);
3059
2956
  return ret;
3060
2957
  }
3061
2958
  /**
3062
- * @returns {number}
3063
2959
  */
3064
2960
  get innate_torpedo_accuracy() {
3065
2961
  const ret = wasm.ship_innate_torpedo_accuracy(this.ptr);
@@ -3146,14 +3042,6 @@ export class Ship {
3146
3042
  return ret;
3147
3043
  }
3148
3044
  /**
3149
- * @param {boolean} is_night
3150
- * @returns {number}
3151
- */
3152
- fit_gun_bonus(is_night) {
3153
- const ret = wasm.ship_fit_gun_bonus(this.ptr, is_night);
3154
- return ret;
3155
- }
3156
- /**
3157
3045
  * @returns {number | undefined}
3158
3046
  */
3159
3047
  basic_accuracy_term() {
@@ -3256,8 +3144,54 @@ export class Ship {
3256
3144
  take_damage(value) {
3257
3145
  wasm.ship_take_damage(this.ptr, value);
3258
3146
  }
3147
+ /**
3148
+ * @returns {number | undefined}
3149
+ */
3150
+ state_day_gunfit_accuracy() {
3151
+ try {
3152
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3153
+ wasm.ship_state_day_gunfit_accuracy(retptr, this.ptr);
3154
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
3155
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
3156
+ return r0 === 0 ? undefined : r2;
3157
+ } finally {
3158
+ wasm.__wbindgen_add_to_stack_pointer(16);
3159
+ }
3160
+ }
3161
+ /**
3162
+ * @returns {number | undefined}
3163
+ */
3164
+ state_night_gunfit_accuracy() {
3165
+ try {
3166
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3167
+ wasm.ship_state_night_gunfit_accuracy(retptr, this.ptr);
3168
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
3169
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
3170
+ return r0 === 0 ? undefined : r2;
3171
+ } finally {
3172
+ wasm.__wbindgen_add_to_stack_pointer(16);
3173
+ }
3174
+ }
3175
+ /**
3176
+ * フィット砲補正
3177
+ * @param {boolean} is_night
3178
+ * @returns {number}
3179
+ */
3180
+ gunfit_accuracy(is_night) {
3181
+ const ret = wasm.ship_gunfit_accuracy(this.ptr, is_night);
3182
+ return ret;
3183
+ }
3259
3184
  }
3260
3185
 
3186
+ export function __wbindgen_string_new(arg0, arg1) {
3187
+ const ret = getStringFromWasm0(arg0, arg1);
3188
+ return addHeapObject(ret);
3189
+ };
3190
+
3191
+ export function __wbindgen_object_drop_ref(arg0) {
3192
+ takeObject(arg0);
3193
+ };
3194
+
3261
3195
  export function __wbindgen_json_serialize(arg0, arg1) {
3262
3196
  const obj = getObject(arg1);
3263
3197
  const ret = JSON.stringify(obj === undefined ? null : obj);
@@ -3267,25 +3201,16 @@ export function __wbindgen_json_serialize(arg0, arg1) {
3267
3201
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
3268
3202
  };
3269
3203
 
3270
- export function __wbindgen_object_drop_ref(arg0) {
3271
- takeObject(arg0);
3272
- };
3273
-
3274
- export function __wbindgen_string_new(arg0, arg1) {
3275
- const ret = getStringFromWasm0(arg0, arg1);
3204
+ export function __wbg_ship_new(arg0) {
3205
+ const ret = Ship.__wrap(arg0);
3276
3206
  return addHeapObject(ret);
3277
3207
  };
3278
3208
 
3279
- export function __wbg_createEquipmentBonuses_2a069c9b82b680dc(arg0, arg1) {
3209
+ export function __wbg_createEquipmentBonuses_d9b8540538a6cce0(arg0, arg1) {
3280
3210
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
3281
3211
  return addHeapObject(ret);
3282
3212
  };
3283
3213
 
3284
- export function __wbg_ship_new(arg0) {
3285
- const ret = Ship.__wrap(arg0);
3286
- return addHeapObject(ret);
3287
- };
3288
-
3289
3214
  export function __wbindgen_json_parse(arg0, arg1) {
3290
3215
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
3291
3216
  return addHeapObject(ret);
@@ -3312,14 +3237,6 @@ export function __wbg_error_09919627ac0992f5(arg0, arg1) {
3312
3237
  }
3313
3238
  };
3314
3239
 
3315
- export function __wbg_randomFillSync_91e2b39becca6147() { return handleError(function (arg0, arg1, arg2) {
3316
- getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
3317
- }, arguments) };
3318
-
3319
- export function __wbg_getRandomValues_b14734aa289bc356() { return handleError(function (arg0, arg1) {
3320
- getObject(arg0).getRandomValues(getObject(arg1));
3321
- }, arguments) };
3322
-
3323
3240
  export function __wbg_process_e56fd54cf6319b6c(arg0) {
3324
3241
  const ret = getObject(arg0).process;
3325
3242
  return addHeapObject(ret);
@@ -3366,17 +3283,25 @@ export function __wbg_msCrypto_5a86d77a66230f81(arg0) {
3366
3283
  return addHeapObject(ret);
3367
3284
  };
3368
3285
 
3369
- export function __wbg_new_94fb1279cf6afea5() {
3286
+ export function __wbg_getRandomValues_b14734aa289bc356() { return handleError(function (arg0, arg1) {
3287
+ getObject(arg0).getRandomValues(getObject(arg1));
3288
+ }, arguments) };
3289
+
3290
+ export function __wbg_randomFillSync_91e2b39becca6147() { return handleError(function (arg0, arg1, arg2) {
3291
+ getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
3292
+ }, arguments) };
3293
+
3294
+ export function __wbg_new_2ab697f1555e0dbc() {
3370
3295
  const ret = new Array();
3371
3296
  return addHeapObject(ret);
3372
3297
  };
3373
3298
 
3374
- export function __wbg_newnoargs_e23b458e372830de(arg0, arg1) {
3299
+ export function __wbg_newnoargs_fc5356289219b93b(arg0, arg1) {
3375
3300
  const ret = new Function(getStringFromWasm0(arg0, arg1));
3376
3301
  return addHeapObject(ret);
3377
3302
  };
3378
3303
 
3379
- export function __wbg_call_ae78342adc33730a() { return handleError(function (arg0, arg1) {
3304
+ export function __wbg_call_4573f605ca4b5f10() { return handleError(function (arg0, arg1) {
3380
3305
  const ret = getObject(arg0).call(getObject(arg1));
3381
3306
  return addHeapObject(ret);
3382
3307
  }, arguments) };
@@ -3386,22 +3311,22 @@ export function __wbindgen_object_clone_ref(arg0) {
3386
3311
  return addHeapObject(ret);
3387
3312
  };
3388
3313
 
3389
- export function __wbg_self_99737b4dcdf6f0d8() { return handleError(function () {
3314
+ export function __wbg_self_ba1ddafe9ea7a3a2() { return handleError(function () {
3390
3315
  const ret = self.self;
3391
3316
  return addHeapObject(ret);
3392
3317
  }, arguments) };
3393
3318
 
3394
- export function __wbg_window_9b61fbbf3564c4fb() { return handleError(function () {
3319
+ export function __wbg_window_be3cc430364fd32c() { return handleError(function () {
3395
3320
  const ret = window.window;
3396
3321
  return addHeapObject(ret);
3397
3322
  }, arguments) };
3398
3323
 
3399
- export function __wbg_globalThis_8e275ef40caea3a3() { return handleError(function () {
3324
+ export function __wbg_globalThis_56d9c9f814daeeee() { return handleError(function () {
3400
3325
  const ret = globalThis.globalThis;
3401
3326
  return addHeapObject(ret);
3402
3327
  }, arguments) };
3403
3328
 
3404
- export function __wbg_global_5de1e0f82bddcd27() { return handleError(function () {
3329
+ export function __wbg_global_8c35aeee4ac77f2b() { return handleError(function () {
3405
3330
  const ret = global.global;
3406
3331
  return addHeapObject(ret);
3407
3332
  }, arguments) };
@@ -3411,36 +3336,36 @@ export function __wbindgen_is_undefined(arg0) {
3411
3336
  return ret;
3412
3337
  };
3413
3338
 
3414
- export function __wbg_push_40c6a90f1805aa90(arg0, arg1) {
3339
+ export function __wbg_push_811c8b08bf4ff9d5(arg0, arg1) {
3415
3340
  const ret = getObject(arg0).push(getObject(arg1));
3416
3341
  return ret;
3417
3342
  };
3418
3343
 
3419
- export function __wbg_buffer_7af23f65f6c64548(arg0) {
3344
+ export function __wbg_buffer_de1150f91b23aa89(arg0) {
3420
3345
  const ret = getObject(arg0).buffer;
3421
3346
  return addHeapObject(ret);
3422
3347
  };
3423
3348
 
3424
- export function __wbg_new_cc9018bd6f283b6f(arg0) {
3349
+ export function __wbg_new_97cf52648830a70d(arg0) {
3425
3350
  const ret = new Uint8Array(getObject(arg0));
3426
3351
  return addHeapObject(ret);
3427
3352
  };
3428
3353
 
3429
- export function __wbg_set_f25e869e4565d2a2(arg0, arg1, arg2) {
3354
+ export function __wbg_set_a0172b213e2469e9(arg0, arg1, arg2) {
3430
3355
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3431
3356
  };
3432
3357
 
3433
- export function __wbg_length_0acb1cf9bbaf8519(arg0) {
3358
+ export function __wbg_length_e09c0b925ab8de5d(arg0) {
3434
3359
  const ret = getObject(arg0).length;
3435
3360
  return ret;
3436
3361
  };
3437
3362
 
3438
- export function __wbg_newwithlength_8f0657faca9f1422(arg0) {
3363
+ export function __wbg_newwithlength_e833b89f9db02732(arg0) {
3439
3364
  const ret = new Uint8Array(arg0 >>> 0);
3440
3365
  return addHeapObject(ret);
3441
3366
  };
3442
3367
 
3443
- export function __wbg_subarray_da527dbd24eafb6b(arg0, arg1, arg2) {
3368
+ export function __wbg_subarray_9482ae5cd5cd99d3(arg0, arg1, arg2) {
3444
3369
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
3445
3370
  return addHeapObject(ret);
3446
3371
  };
@@ -3454,3 +3379,9 @@ export function __wbindgen_memory() {
3454
3379
  return addHeapObject(ret);
3455
3380
  };
3456
3381
 
3382
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
3383
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
3384
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
3385
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
3386
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
3387
+