@rtzh/engine 0.0.1 → 0.0.3

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.
Files changed (115) hide show
  1. package/Source/Scene/GltfLoader.js +2 -2
  2. package/Source/Scene/Model/CustomShader.js +2 -2
  3. package/index.js +504 -504
  4. package/package.json +1 -1
  5. package/Build/ThirdParty/Workers/zip-web-worker.js +0 -640
  6. package/Build/Workers/chunk-245NZYCR.js +0 -124
  7. package/Build/Workers/chunk-25BA4527.js +0 -837
  8. package/Build/Workers/chunk-4HXPSZRC.js +0 -1483
  9. package/Build/Workers/chunk-4Z26IS65.js +0 -3514
  10. package/Build/Workers/chunk-55IROWAX.js +0 -139
  11. package/Build/Workers/chunk-56XTN5NJ.js +0 -1800
  12. package/Build/Workers/chunk-5VZISKJF.js +0 -629
  13. package/Build/Workers/chunk-5WAG5YKS.js +0 -368
  14. package/Build/Workers/chunk-66YGZWBI.js +0 -1317
  15. package/Build/Workers/chunk-6H33B6OL.js +0 -37
  16. package/Build/Workers/chunk-6LZBBEA7.js +0 -439
  17. package/Build/Workers/chunk-6XJO625E.js +0 -497
  18. package/Build/Workers/chunk-75UGCVME.js +0 -102
  19. package/Build/Workers/chunk-7B23DD46.js +0 -1054
  20. package/Build/Workers/chunk-7NCJH26L.js +0 -352
  21. package/Build/Workers/chunk-AIW5F22O.js +0 -352
  22. package/Build/Workers/chunk-AL22JVIA.js +0 -256
  23. package/Build/Workers/chunk-AVSQILVI.js +0 -75
  24. package/Build/Workers/chunk-B2VFNYD7.js +0 -280
  25. package/Build/Workers/chunk-BOV6T7FO.js +0 -44
  26. package/Build/Workers/chunk-DP76S3IQ.js +0 -1067
  27. package/Build/Workers/chunk-EDIUN7V3.js +0 -219
  28. package/Build/Workers/chunk-EKMWNF4U.js +0 -55
  29. package/Build/Workers/chunk-ELXGXAYS.js +0 -682
  30. package/Build/Workers/chunk-FVYRV2T6.js +0 -455
  31. package/Build/Workers/chunk-GDIBU55R.js +0 -778
  32. package/Build/Workers/chunk-HAY6YE7M.js +0 -97
  33. package/Build/Workers/chunk-I76SRIKN.js +0 -138
  34. package/Build/Workers/chunk-IELTSYPZ.js +0 -241
  35. package/Build/Workers/chunk-J4MIJCN5.js +0 -171
  36. package/Build/Workers/chunk-JFO3ELF3.js +0 -642
  37. package/Build/Workers/chunk-K4IMD7KH.js +0 -162
  38. package/Build/Workers/chunk-KFMCOG26.js +0 -692
  39. package/Build/Workers/chunk-KH2OWUUA.js +0 -163
  40. package/Build/Workers/chunk-KQIZ7AFF.js +0 -8366
  41. package/Build/Workers/chunk-KVE5EAPO.js +0 -398
  42. package/Build/Workers/chunk-OAOREOSO.js +0 -940
  43. package/Build/Workers/chunk-OFJRMGNX.js +0 -788
  44. package/Build/Workers/chunk-PLLZB3R4.js +0 -198
  45. package/Build/Workers/chunk-POY6ZE32.js +0 -2058
  46. package/Build/Workers/chunk-PV5B2YNB.js +0 -2719
  47. package/Build/Workers/chunk-Q2DXNFYW.js +0 -414
  48. package/Build/Workers/chunk-QWV2DM66.js +0 -1443
  49. package/Build/Workers/chunk-R73BHGGI.js +0 -305
  50. package/Build/Workers/chunk-S3AE3MZZ.js +0 -511
  51. package/Build/Workers/chunk-SBFTVHRW.js +0 -57
  52. package/Build/Workers/chunk-SOR7PD4V.js +0 -114
  53. package/Build/Workers/chunk-TO7TWUET.js +0 -476
  54. package/Build/Workers/chunk-TSAJNE4K.js +0 -101
  55. package/Build/Workers/chunk-TWF4XRZ6.js +0 -73
  56. package/Build/Workers/chunk-UTWLMOPM.js +0 -387
  57. package/Build/Workers/chunk-UYT2PBMV.js +0 -58
  58. package/Build/Workers/chunk-WAS3IHIQ.js +0 -288
  59. package/Build/Workers/chunk-WO5ZNC7S.js +0 -1045
  60. package/Build/Workers/chunk-X65Y2JSA.js +0 -55
  61. package/Build/Workers/chunk-XOVHLPKW.js +0 -299
  62. package/Build/Workers/chunk-YPGJSFOO.js +0 -1460
  63. package/Build/Workers/combineGeometry.js +0 -66
  64. package/Build/Workers/createBoxGeometry.js +0 -58
  65. package/Build/Workers/createBoxOutlineGeometry.js +0 -231
  66. package/Build/Workers/createCircleGeometry.js +0 -201
  67. package/Build/Workers/createCircleOutlineGeometry.js +0 -147
  68. package/Build/Workers/createCoplanarPolygonGeometry.js +0 -505
  69. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +0 -225
  70. package/Build/Workers/createCorridorGeometry.js +0 -1258
  71. package/Build/Workers/createCorridorOutlineGeometry.js +0 -563
  72. package/Build/Workers/createCylinderGeometry.js +0 -60
  73. package/Build/Workers/createCylinderOutlineGeometry.js +0 -231
  74. package/Build/Workers/createEllipseGeometry.js +0 -72
  75. package/Build/Workers/createEllipseOutlineGeometry.js +0 -65
  76. package/Build/Workers/createEllipsoidGeometry.js +0 -59
  77. package/Build/Workers/createEllipsoidOutlineGeometry.js +0 -61
  78. package/Build/Workers/createFrustumGeometry.js +0 -58
  79. package/Build/Workers/createFrustumOutlineGeometry.js +0 -234
  80. package/Build/Workers/createGeometry.js +0 -173
  81. package/Build/Workers/createGroundPolylineGeometry.js +0 -1602
  82. package/Build/Workers/createPlaneGeometry.js +0 -223
  83. package/Build/Workers/createPlaneOutlineGeometry.js +0 -124
  84. package/Build/Workers/createPolygonGeometry.js +0 -1404
  85. package/Build/Workers/createPolygonOutlineGeometry.js +0 -532
  86. package/Build/Workers/createPolylineGeometry.js +0 -491
  87. package/Build/Workers/createPolylineVolumeGeometry.js +0 -374
  88. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +0 -272
  89. package/Build/Workers/createRectangleGeometry.js +0 -1264
  90. package/Build/Workers/createRectangleOutlineGeometry.js +0 -476
  91. package/Build/Workers/createSimplePolylineGeometry.js +0 -397
  92. package/Build/Workers/createSphereGeometry.js +0 -116
  93. package/Build/Workers/createSphereOutlineGeometry.js +0 -116
  94. package/Build/Workers/createTaskProcessorWorker.js +0 -32
  95. package/Build/Workers/createVectorTileClampedPolylines.js +0 -492
  96. package/Build/Workers/createVectorTileGeometries.js +0 -387
  97. package/Build/Workers/createVectorTilePoints.js +0 -114
  98. package/Build/Workers/createVectorTilePolygons.js +0 -386
  99. package/Build/Workers/createVectorTilePolylines.js +0 -262
  100. package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +0 -91
  101. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -565
  102. package/Build/Workers/createVerticesFromHeightmap.js +0 -2254
  103. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -499
  104. package/Build/Workers/createWallGeometry.js +0 -487
  105. package/Build/Workers/createWallOutlineGeometry.js +0 -335
  106. package/Build/Workers/decodeDraco.js +0 -369
  107. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +0 -2680
  108. package/Build/Workers/decodeI3S.js +0 -1339
  109. package/Build/Workers/gaussianSplatSorter.js +0 -62
  110. package/Build/Workers/gaussianSplatTextureGenerator.js +0 -68
  111. package/Build/Workers/incrementallyBuildTerrainPicker.js +0 -121
  112. package/Build/Workers/transcodeKTX2.js +0 -3463
  113. package/Build/Workers/transferTypedArrayTest.js +0 -41
  114. package/Build/Workers/upsampleQuantizedTerrainMesh.js +0 -820
  115. package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +0 -95
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtzh/engine",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
5
5
  "keywords": [
6
6
  "3D",
@@ -1,640 +0,0 @@
1
- !(function() {
2
- "use strict";
3
- const { Array: e, Object: t, Number: n, Math: s, Error: r, Uint8Array: i, Uint16Array: a, Uint32Array: o, Int32Array: c, Map: l, DataView: u, Promise: h, TextEncoder: f, crypto: p, postMessage: d, TransformStream: w, ReadableStream: g, WritableStream: m, CompressionStream: _, DecompressionStream: y } = self, b = void 0, S = "undefined", z = "function", k = [];
4
- for (let e2 = 0; 256 > e2; e2++) {
5
- let t2 = e2;
6
- for (let e3 = 0; 8 > e3; e3++) 1 & t2 ? t2 = t2 >>> 1 ^ 3988292384 : t2 >>>= 1;
7
- k[e2] = t2;
8
- }
9
- class v {
10
- constructor(e2) {
11
- this.crc = e2 || -1;
12
- }
13
- append(e2) {
14
- let t2 = 0 | this.crc;
15
- for (let n2 = 0, s2 = 0 | e2.length; s2 > n2; n2++) t2 = t2 >>> 8 ^ k[255 & (t2 ^ e2[n2])];
16
- this.crc = t2;
17
- }
18
- get() {
19
- return ~this.crc;
20
- }
21
- }
22
- class H extends w {
23
- constructor() {
24
- let e2;
25
- const t2 = new v();
26
- super({ transform(e3, n2) {
27
- t2.append(e3), n2.enqueue(e3);
28
- }, flush() {
29
- const n2 = new i(4);
30
- new u(n2.buffer).setUint32(0, t2.get()), e2.value = n2;
31
- } }), e2 = this;
32
- }
33
- }
34
- const C = { concat(e2, t2) {
35
- if (0 === e2.length || 0 === t2.length) return e2.concat(t2);
36
- const n2 = e2[e2.length - 1], s2 = C.getPartial(n2);
37
- return 32 === s2 ? e2.concat(t2) : C._shiftRight(t2, s2, 0 | n2, e2.slice(0, e2.length - 1));
38
- }, bitLength(e2) {
39
- const t2 = e2.length;
40
- if (0 === t2) return 0;
41
- const n2 = e2[t2 - 1];
42
- return 32 * (t2 - 1) + C.getPartial(n2);
43
- }, clamp(e2, t2) {
44
- if (32 * e2.length < t2) return e2;
45
- const n2 = (e2 = e2.slice(0, s.ceil(t2 / 32))).length;
46
- return t2 &= 31, n2 > 0 && t2 && (e2[n2 - 1] = C.partial(t2, e2[n2 - 1] & 2147483648 >> t2 - 1, 1)), e2;
47
- }, partial: (e2, t2, n2) => 32 === e2 ? t2 : (n2 ? 0 | t2 : t2 << 32 - e2) + 1099511627776 * e2, getPartial: (e2) => s.round(e2 / 1099511627776) || 32, _shiftRight(e2, t2, n2, s2) {
48
- for (void 0 === s2 && (s2 = []); t2 >= 32; t2 -= 32) s2.push(n2), n2 = 0;
49
- if (0 === t2) return s2.concat(e2);
50
- for (let r3 = 0; r3 < e2.length; r3++) s2.push(n2 | e2[r3] >>> t2), n2 = e2[r3] << 32 - t2;
51
- const r2 = e2.length ? e2[e2.length - 1] : 0, i2 = C.getPartial(r2);
52
- return s2.push(C.partial(t2 + i2 & 31, t2 + i2 > 32 ? n2 : s2.pop(), 1)), s2;
53
- } }, B = { bytes: { fromBits(e2) {
54
- const t2 = C.bitLength(e2) / 8, n2 = new i(t2);
55
- let s2;
56
- for (let r2 = 0; t2 > r2; r2++) 3 & r2 || (s2 = e2[r2 / 4]), n2[r2] = s2 >>> 24, s2 <<= 8;
57
- return n2;
58
- }, toBits(e2) {
59
- const t2 = [];
60
- let n2, s2 = 0;
61
- for (n2 = 0; n2 < e2.length; n2++) s2 = s2 << 8 | e2[n2], 3 & ~n2 || (t2.push(s2), s2 = 0);
62
- return 3 & n2 && t2.push(C.partial(8 * (3 & n2), s2)), t2;
63
- } } }, A = class {
64
- constructor(e2) {
65
- const t2 = this;
66
- t2.blockSize = 512, t2._init = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], t2._key = [1518500249, 1859775393, 2400959708, 3395469782], e2 ? (t2._h = e2._h.slice(0), t2._buffer = e2._buffer.slice(0), t2._length = e2._length) : t2.reset();
67
- }
68
- reset() {
69
- const e2 = this;
70
- return e2._h = e2._init.slice(0), e2._buffer = [], e2._length = 0, e2;
71
- }
72
- update(e2) {
73
- const t2 = this;
74
- "string" == typeof e2 && (e2 = B.utf8String.toBits(e2));
75
- const n2 = t2._buffer = C.concat(t2._buffer, e2), s2 = t2._length, i2 = t2._length = s2 + C.bitLength(e2);
76
- if (i2 > 9007199254740991) throw new r("Cannot hash more than 2^53 - 1 bits");
77
- const a2 = new o(n2);
78
- let c2 = 0;
79
- for (let e3 = t2.blockSize + s2 - (t2.blockSize + s2 & t2.blockSize - 1); i2 >= e3; e3 += t2.blockSize) t2._block(a2.subarray(16 * c2, 16 * (c2 + 1))), c2 += 1;
80
- return n2.splice(0, 16 * c2), t2;
81
- }
82
- finalize() {
83
- const e2 = this;
84
- let t2 = e2._buffer;
85
- const n2 = e2._h;
86
- t2 = C.concat(t2, [C.partial(1, 1)]);
87
- for (let e3 = t2.length + 2; 15 & e3; e3++) t2.push(0);
88
- for (t2.push(s.floor(e2._length / 4294967296)), t2.push(0 | e2._length); t2.length; ) e2._block(t2.splice(0, 16));
89
- return e2.reset(), n2;
90
- }
91
- _f(e2, t2, n2, s2) {
92
- return e2 > 19 ? e2 > 39 ? e2 > 59 ? e2 > 79 ? void 0 : t2 ^ n2 ^ s2 : t2 & n2 | t2 & s2 | n2 & s2 : t2 ^ n2 ^ s2 : t2 & n2 | ~t2 & s2;
93
- }
94
- _S(e2, t2) {
95
- return t2 << e2 | t2 >>> 32 - e2;
96
- }
97
- _block(t2) {
98
- const n2 = this, r2 = n2._h, i2 = e(80);
99
- for (let e2 = 0; 16 > e2; e2++) i2[e2] = t2[e2];
100
- let a2 = r2[0], o2 = r2[1], c2 = r2[2], l2 = r2[3], u2 = r2[4];
101
- for (let e2 = 0; 79 >= e2; e2++) {
102
- 16 > e2 || (i2[e2] = n2._S(1, i2[e2 - 3] ^ i2[e2 - 8] ^ i2[e2 - 14] ^ i2[e2 - 16]));
103
- const t3 = n2._S(5, a2) + n2._f(e2, o2, c2, l2) + u2 + i2[e2] + n2._key[s.floor(e2 / 20)] | 0;
104
- u2 = l2, l2 = c2, c2 = n2._S(30, o2), o2 = a2, a2 = t3;
105
- }
106
- r2[0] = r2[0] + a2 | 0, r2[1] = r2[1] + o2 | 0, r2[2] = r2[2] + c2 | 0, r2[3] = r2[3] + l2 | 0, r2[4] = r2[4] + u2 | 0;
107
- }
108
- }, R = { getRandomValues(e2) {
109
- const t2 = new o(e2.buffer), n2 = (e3) => {
110
- let t3 = 987654321;
111
- const n3 = 4294967295;
112
- return () => (t3 = 36969 * (65535 & t3) + (t3 >> 16) & n3, (((t3 << 16) + (e3 = 18e3 * (65535 & e3) + (e3 >> 16) & n3) & n3) / 4294967296 + 0.5) * (s.random() > 0.5 ? 1 : -1));
113
- };
114
- for (let r2, i2 = 0; i2 < e2.length; i2 += 4) {
115
- const e3 = n2(4294967296 * (r2 || s.random()));
116
- r2 = 987654071 * e3(), t2[i2 / 4] = 4294967296 * e3() | 0;
117
- }
118
- return e2;
119
- } }, I = { importKey: (e2) => new I.hmacSha1(B.bytes.toBits(e2)), pbkdf2(e2, t2, n2, s2) {
120
- if (n2 = n2 || 1e4, 0 > s2 || 0 > n2) throw new r("invalid params to pbkdf2");
121
- const i2 = 1 + (s2 >> 5) << 2;
122
- let a2, o2, c2, l2, h2;
123
- const f2 = new ArrayBuffer(i2), p2 = new u(f2);
124
- let d2 = 0;
125
- const w2 = C;
126
- for (t2 = B.bytes.toBits(t2), h2 = 1; (i2 || 1) > d2; h2++) {
127
- for (a2 = o2 = e2.encrypt(w2.concat(t2, [h2])), c2 = 1; n2 > c2; c2++) for (o2 = e2.encrypt(o2), l2 = 0; l2 < o2.length; l2++) a2[l2] ^= o2[l2];
128
- for (c2 = 0; (i2 || 1) > d2 && c2 < a2.length; c2++) p2.setInt32(d2, a2[c2]), d2 += 4;
129
- }
130
- return f2.slice(0, s2 / 8);
131
- }, hmacSha1: class {
132
- constructor(e2) {
133
- const t2 = this, n2 = t2._hash = A, s2 = [[], []];
134
- t2._baseHash = [new n2(), new n2()];
135
- const r2 = t2._baseHash[0].blockSize / 32;
136
- e2.length > r2 && (e2 = new n2().update(e2).finalize());
137
- for (let t3 = 0; r2 > t3; t3++) s2[0][t3] = 909522486 ^ e2[t3], s2[1][t3] = 1549556828 ^ e2[t3];
138
- t2._baseHash[0].update(s2[0]), t2._baseHash[1].update(s2[1]), t2._resultHash = new n2(t2._baseHash[0]);
139
- }
140
- reset() {
141
- const e2 = this;
142
- e2._resultHash = new e2._hash(e2._baseHash[0]), e2._updated = false;
143
- }
144
- update(e2) {
145
- this._updated = true, this._resultHash.update(e2);
146
- }
147
- digest() {
148
- const e2 = this, t2 = e2._resultHash.finalize(), n2 = new e2._hash(e2._baseHash[1]).update(t2).finalize();
149
- return e2.reset(), n2;
150
- }
151
- encrypt(e2) {
152
- if (this._updated) throw new r("encrypt on already updated hmac called!");
153
- return this.update(e2), this.digest(e2);
154
- }
155
- } }, q = typeof p != S && typeof p.getRandomValues == z, K = "Invalid password", P = "Invalid signature", T = "zipjs-abort-check-password";
156
- function V(e2) {
157
- return q ? p.getRandomValues(e2) : R.getRandomValues(e2);
158
- }
159
- const x = 16, U = { name: "PBKDF2" }, W = t.assign({ hash: { name: "HMAC" } }, U), M = t.assign({ iterations: 1e3, hash: { name: "SHA-1" } }, U), E = ["deriveBits"], D = [8, 12, 16], L = [16, 24, 32], Z = 10, F = [0, 0, 0, 0], N = typeof p != S, O = N && p.subtle, j = N && typeof O != S, G = B.bytes, X = class {
160
- constructor(e2) {
161
- const t2 = this;
162
- t2._tables = [[[], [], [], [], []], [[], [], [], [], []]], t2._tables[0][0][0] || t2._precompute();
163
- const n2 = t2._tables[0][4], s2 = t2._tables[1], i2 = e2.length;
164
- let a2, o2, c2, l2 = 1;
165
- if (4 !== i2 && 6 !== i2 && 8 !== i2) throw new r("invalid aes key size");
166
- for (t2._key = [o2 = e2.slice(0), c2 = []], a2 = i2; 4 * i2 + 28 > a2; a2++) {
167
- let e3 = o2[a2 - 1];
168
- (a2 % i2 === 0 || 8 === i2 && a2 % i2 === 4) && (e3 = n2[e3 >>> 24] << 24 ^ n2[e3 >> 16 & 255] << 16 ^ n2[e3 >> 8 & 255] << 8 ^ n2[255 & e3], a2 % i2 === 0 && (e3 = e3 << 8 ^ e3 >>> 24 ^ l2 << 24, l2 = l2 << 1 ^ 283 * (l2 >> 7))), o2[a2] = o2[a2 - i2] ^ e3;
169
- }
170
- for (let e3 = 0; a2; e3++, a2--) {
171
- const t3 = o2[3 & e3 ? a2 : a2 - 4];
172
- c2[e3] = 4 >= a2 || 4 > e3 ? t3 : s2[0][n2[t3 >>> 24]] ^ s2[1][n2[t3 >> 16 & 255]] ^ s2[2][n2[t3 >> 8 & 255]] ^ s2[3][n2[255 & t3]];
173
- }
174
- }
175
- encrypt(e2) {
176
- return this._crypt(e2, 0);
177
- }
178
- decrypt(e2) {
179
- return this._crypt(e2, 1);
180
- }
181
- _precompute() {
182
- const e2 = this._tables[0], t2 = this._tables[1], n2 = e2[4], s2 = t2[4], r2 = [], i2 = [];
183
- let a2, o2, c2, l2;
184
- for (let e3 = 0; 256 > e3; e3++) i2[(r2[e3] = e3 << 1 ^ 283 * (e3 >> 7)) ^ e3] = e3;
185
- for (let u2 = a2 = 0; !n2[u2]; u2 ^= o2 || 1, a2 = i2[a2] || 1) {
186
- let i3 = a2 ^ a2 << 1 ^ a2 << 2 ^ a2 << 3 ^ a2 << 4;
187
- i3 = i3 >> 8 ^ 255 & i3 ^ 99, n2[u2] = i3, s2[i3] = u2, l2 = r2[c2 = r2[o2 = r2[u2]]];
188
- let h2 = 16843009 * l2 ^ 65537 * c2 ^ 257 * o2 ^ 16843008 * u2, f2 = 257 * r2[i3] ^ 16843008 * i3;
189
- for (let n3 = 0; 4 > n3; n3++) e2[n3][u2] = f2 = f2 << 24 ^ f2 >>> 8, t2[n3][i3] = h2 = h2 << 24 ^ h2 >>> 8;
190
- }
191
- for (let n3 = 0; 5 > n3; n3++) e2[n3] = e2[n3].slice(0), t2[n3] = t2[n3].slice(0);
192
- }
193
- _crypt(e2, t2) {
194
- if (4 !== e2.length) throw new r("invalid aes block size");
195
- const n2 = this._key[t2], s2 = n2.length / 4 - 2, i2 = [0, 0, 0, 0], a2 = this._tables[t2], o2 = a2[0], c2 = a2[1], l2 = a2[2], u2 = a2[3], h2 = a2[4];
196
- let f2, p2, d2, w2 = e2[0] ^ n2[0], g2 = e2[t2 ? 3 : 1] ^ n2[1], m2 = e2[2] ^ n2[2], _2 = e2[t2 ? 1 : 3] ^ n2[3], y2 = 4;
197
- for (let e3 = 0; s2 > e3; e3++) f2 = o2[w2 >>> 24] ^ c2[g2 >> 16 & 255] ^ l2[m2 >> 8 & 255] ^ u2[255 & _2] ^ n2[y2], p2 = o2[g2 >>> 24] ^ c2[m2 >> 16 & 255] ^ l2[_2 >> 8 & 255] ^ u2[255 & w2] ^ n2[y2 + 1], d2 = o2[m2 >>> 24] ^ c2[_2 >> 16 & 255] ^ l2[w2 >> 8 & 255] ^ u2[255 & g2] ^ n2[y2 + 2], _2 = o2[_2 >>> 24] ^ c2[w2 >> 16 & 255] ^ l2[g2 >> 8 & 255] ^ u2[255 & m2] ^ n2[y2 + 3], y2 += 4, w2 = f2, g2 = p2, m2 = d2;
198
- for (let e3 = 0; 4 > e3; e3++) i2[t2 ? 3 & -e3 : e3] = h2[w2 >>> 24] << 24 ^ h2[g2 >> 16 & 255] << 16 ^ h2[m2 >> 8 & 255] << 8 ^ h2[255 & _2] ^ n2[y2++], f2 = w2, w2 = g2, g2 = m2, m2 = _2, _2 = f2;
199
- return i2;
200
- }
201
- }, J = class {
202
- constructor(e2, t2) {
203
- this._prf = e2, this._initIv = t2, this._iv = t2;
204
- }
205
- reset() {
206
- this._iv = this._initIv;
207
- }
208
- update(e2) {
209
- return this.calculate(this._prf, e2, this._iv);
210
- }
211
- incWord(e2) {
212
- if (255 & ~(e2 >> 24)) e2 += 1 << 24;
213
- else {
214
- let t2 = e2 >> 16 & 255, n2 = e2 >> 8 & 255, s2 = 255 & e2;
215
- 255 === t2 ? (t2 = 0, 255 === n2 ? (n2 = 0, 255 === s2 ? s2 = 0 : ++s2) : ++n2) : ++t2, e2 = 0, e2 += t2 << 16, e2 += n2 << 8, e2 += s2;
216
- }
217
- return e2;
218
- }
219
- incCounter(e2) {
220
- 0 === (e2[0] = this.incWord(e2[0])) && (e2[1] = this.incWord(e2[1]));
221
- }
222
- calculate(e2, t2, n2) {
223
- let s2;
224
- if (!(s2 = t2.length)) return [];
225
- const r2 = C.bitLength(t2);
226
- for (let r3 = 0; s2 > r3; r3 += 4) {
227
- this.incCounter(n2);
228
- const s3 = e2.encrypt(n2);
229
- t2[r3] ^= s3[0], t2[r3 + 1] ^= s3[1], t2[r3 + 2] ^= s3[2], t2[r3 + 3] ^= s3[3];
230
- }
231
- return C.clamp(t2, r2);
232
- }
233
- }, Q = I.hmacSha1;
234
- let Y = N && j && typeof O.importKey == z, $ = N && j && typeof O.deriveBits == z;
235
- class ee extends w {
236
- constructor({ password: e2, rawPassword: n2, signed: s2, encryptionStrength: a2, checkPasswordOnly: o2 }) {
237
- super({ start() {
238
- t.assign(this, { ready: new h((e3) => this.resolveReady = e3), password: re(e2, n2), signed: s2, strength: a2 - 1, pending: new i() });
239
- }, async transform(e3, t2) {
240
- const n3 = this, { password: s3, strength: a3, resolveReady: c2, ready: l2 } = n3;
241
- s3 ? (await (async (e4, t3, n4, s4) => {
242
- const i2 = await se(e4, t3, n4, ae(s4, 0, D[t3])), a4 = ae(s4, D[t3]);
243
- if (i2[0] != a4[0] || i2[1] != a4[1]) throw new r(K);
244
- })(n3, a3, s3, ae(e3, 0, D[a3] + 2)), e3 = ae(e3, D[a3] + 2), o2 ? t2.error(new r(T)) : c2()) : await l2;
245
- const u2 = new i(e3.length - Z - (e3.length - Z) % x);
246
- t2.enqueue(ne(n3, e3, u2, 0, Z, true));
247
- }, async flush(e3) {
248
- const { signed: t2, ctr: n3, hmac: s3, pending: a3, ready: o3 } = this;
249
- if (s3 && n3) {
250
- await o3;
251
- const c2 = ae(a3, 0, a3.length - Z), l2 = ae(a3, a3.length - Z);
252
- let u2 = new i();
253
- if (c2.length) {
254
- const e4 = ce(G, c2);
255
- s3.update(e4);
256
- const t3 = n3.update(e4);
257
- u2 = oe(G, t3);
258
- }
259
- if (t2) {
260
- const e4 = ae(oe(G, s3.digest()), 0, Z);
261
- for (let t3 = 0; Z > t3; t3++) if (e4[t3] != l2[t3]) throw new r(P);
262
- }
263
- e3.enqueue(u2);
264
- }
265
- } });
266
- }
267
- }
268
- class te extends w {
269
- constructor({ password: e2, rawPassword: n2, encryptionStrength: s2 }) {
270
- let r2;
271
- super({ start() {
272
- t.assign(this, { ready: new h((e3) => this.resolveReady = e3), password: re(e2, n2), strength: s2 - 1, pending: new i() });
273
- }, async transform(e3, t2) {
274
- const n3 = this, { password: s3, strength: r3, resolveReady: a2, ready: o2 } = n3;
275
- let c2 = new i();
276
- s3 ? (c2 = await (async (e4, t3, n4) => {
277
- const s4 = V(new i(D[t3]));
278
- return ie(s4, await se(e4, t3, n4, s4));
279
- })(n3, r3, s3), a2()) : await o2;
280
- const l2 = new i(c2.length + e3.length - e3.length % x);
281
- l2.set(c2, 0), t2.enqueue(ne(n3, e3, l2, c2.length, 0));
282
- }, async flush(e3) {
283
- const { ctr: t2, hmac: n3, pending: s3, ready: a2 } = this;
284
- if (n3 && t2) {
285
- await a2;
286
- let o2 = new i();
287
- if (s3.length) {
288
- const e4 = t2.update(ce(G, s3));
289
- n3.update(e4), o2 = oe(G, e4);
290
- }
291
- r2.signature = oe(G, n3.digest()).slice(0, Z), e3.enqueue(ie(o2, r2.signature));
292
- }
293
- } }), r2 = this;
294
- }
295
- }
296
- function ne(e2, t2, n2, s2, r2, a2) {
297
- const { ctr: o2, hmac: c2, pending: l2 } = e2, u2 = t2.length - r2;
298
- let h2;
299
- for (l2.length && (t2 = ie(l2, t2), n2 = ((e3, t3) => {
300
- if (t3 && t3 > e3.length) {
301
- const n3 = e3;
302
- (e3 = new i(t3)).set(n3, 0);
303
- }
304
- return e3;
305
- })(n2, u2 - u2 % x)), h2 = 0; u2 - x >= h2; h2 += x) {
306
- const e3 = ce(G, ae(t2, h2, h2 + x));
307
- a2 && c2.update(e3);
308
- const r3 = o2.update(e3);
309
- a2 || c2.update(r3), n2.set(oe(G, r3), h2 + s2);
310
- }
311
- return e2.pending = ae(t2, h2), n2;
312
- }
313
- async function se(n2, s2, r2, a2) {
314
- n2.password = null;
315
- const o2 = await (async (e2, t2, n3, s3, r3) => {
316
- if (!Y) return I.importKey(t2);
317
- try {
318
- return await O.importKey("raw", t2, n3, false, r3);
319
- } catch {
320
- return Y = false, I.importKey(t2);
321
- }
322
- })(0, r2, W, 0, E), c2 = await (async (e2, t2, n3) => {
323
- if (!$) return I.pbkdf2(t2, e2.salt, M.iterations, n3);
324
- try {
325
- return await O.deriveBits(e2, t2, n3);
326
- } catch {
327
- return $ = false, I.pbkdf2(t2, e2.salt, M.iterations, n3);
328
- }
329
- })(t.assign({ salt: a2 }, M), o2, 8 * (2 * L[s2] + 2)), l2 = new i(c2), u2 = ce(G, ae(l2, 0, L[s2])), h2 = ce(G, ae(l2, L[s2], 2 * L[s2])), f2 = ae(l2, 2 * L[s2]);
330
- return t.assign(n2, { keys: { key: u2, authentication: h2, passwordVerification: f2 }, ctr: new J(new X(u2), e.from(F)), hmac: new Q(h2) }), f2;
331
- }
332
- function re(e2, t2) {
333
- return t2 === b ? ((e3) => {
334
- if (typeof f == S) {
335
- const t3 = new i((e3 = unescape(encodeURIComponent(e3))).length);
336
- for (let n2 = 0; n2 < t3.length; n2++) t3[n2] = e3.charCodeAt(n2);
337
- return t3;
338
- }
339
- return new f().encode(e3);
340
- })(e2) : t2;
341
- }
342
- function ie(e2, t2) {
343
- let n2 = e2;
344
- return e2.length + t2.length && (n2 = new i(e2.length + t2.length), n2.set(e2, 0), n2.set(t2, e2.length)), n2;
345
- }
346
- function ae(e2, t2, n2) {
347
- return e2.subarray(t2, n2);
348
- }
349
- function oe(e2, t2) {
350
- return e2.fromBits(t2);
351
- }
352
- function ce(e2, t2) {
353
- return e2.toBits(t2);
354
- }
355
- class le extends w {
356
- constructor({ password: e2, passwordVerification: n2, checkPasswordOnly: s2 }) {
357
- super({ start() {
358
- t.assign(this, { password: e2, passwordVerification: n2 }), pe(this, e2);
359
- }, transform(e3, t2) {
360
- const n3 = this;
361
- if (n3.password) {
362
- const t3 = he(n3, e3.subarray(0, 12));
363
- if (n3.password = null, t3.at(-1) != n3.passwordVerification) throw new r(K);
364
- e3 = e3.subarray(12);
365
- }
366
- s2 ? t2.error(new r(T)) : t2.enqueue(he(n3, e3));
367
- } });
368
- }
369
- }
370
- class ue extends w {
371
- constructor({ password: e2, passwordVerification: n2 }) {
372
- super({ start() {
373
- t.assign(this, { password: e2, passwordVerification: n2 }), pe(this, e2);
374
- }, transform(e3, t2) {
375
- const n3 = this;
376
- let s2, r2;
377
- if (n3.password) {
378
- n3.password = null;
379
- const t3 = V(new i(12));
380
- t3[11] = n3.passwordVerification, s2 = new i(e3.length + t3.length), s2.set(fe(n3, t3), 0), r2 = 12;
381
- } else s2 = new i(e3.length), r2 = 0;
382
- s2.set(fe(n3, e3), r2), t2.enqueue(s2);
383
- } });
384
- }
385
- }
386
- function he(e2, t2) {
387
- const n2 = new i(t2.length);
388
- for (let s2 = 0; s2 < t2.length; s2++) n2[s2] = we(e2) ^ t2[s2], de(e2, n2[s2]);
389
- return n2;
390
- }
391
- function fe(e2, t2) {
392
- const n2 = new i(t2.length);
393
- for (let s2 = 0; s2 < t2.length; s2++) n2[s2] = we(e2) ^ t2[s2], de(e2, t2[s2]);
394
- return n2;
395
- }
396
- function pe(e2, n2) {
397
- const s2 = [305419896, 591751049, 878082192];
398
- t.assign(e2, { keys: s2, crcKey0: new v(s2[0]), crcKey2: new v(s2[2]) });
399
- for (let t2 = 0; t2 < n2.length; t2++) de(e2, n2.charCodeAt(t2));
400
- }
401
- function de(e2, t2) {
402
- let [n2, r2, i2] = e2.keys;
403
- e2.crcKey0.append([t2]), n2 = ~e2.crcKey0.get(), r2 = me(s.imul(me(r2 + ge(n2)), 134775813) + 1), e2.crcKey2.append([r2 >>> 24]), i2 = ~e2.crcKey2.get(), e2.keys = [n2, r2, i2];
404
- }
405
- function we(e2) {
406
- const t2 = 2 | e2.keys[2];
407
- return ge(s.imul(t2, 1 ^ t2) >>> 8);
408
- }
409
- function ge(e2) {
410
- return 255 & e2;
411
- }
412
- function me(e2) {
413
- return 4294967295 & e2;
414
- }
415
- class _e extends w {
416
- constructor(e2, { chunkSize: t2, CompressionStreamZlib: n2, CompressionStream: s2 }) {
417
- super({});
418
- const { compressed: r2, encrypted: i2, useCompressionStream: a2, zipCrypto: o2, signed: c2, level: l2 } = e2, h2 = this;
419
- let f2, p2, d2 = super.readable;
420
- i2 && !o2 || !c2 || (f2 = new H(), d2 = ze(d2, f2)), r2 && (d2 = Se(d2, a2, { level: l2, chunkSize: t2 }, s2, n2, s2)), i2 && (o2 ? d2 = ze(d2, new ue(e2)) : (p2 = new te(e2), d2 = ze(d2, p2))), be(h2, d2, () => {
421
- let e3;
422
- i2 && !o2 && (e3 = p2.signature), i2 && !o2 || !c2 || (e3 = new u(f2.value.buffer).getUint32(0)), h2.signature = e3;
423
- });
424
- }
425
- }
426
- class ye extends w {
427
- constructor(e2, { chunkSize: t2, DecompressionStreamZlib: n2, DecompressionStream: s2 }) {
428
- super({});
429
- const { zipCrypto: i2, encrypted: a2, signed: o2, signature: c2, compressed: l2, useCompressionStream: h2, deflate64: f2 } = e2;
430
- let p2, d2, w2 = super.readable;
431
- a2 && (i2 ? w2 = ze(w2, new le(e2)) : (d2 = new ee(e2), w2 = ze(w2, d2))), l2 && (w2 = Se(w2, h2, { chunkSize: t2, deflate64: f2 }, s2, n2, s2)), a2 && !i2 || !o2 || (p2 = new H(), w2 = ze(w2, p2)), be(this, w2, () => {
432
- if ((!a2 || i2) && o2) {
433
- const e3 = new u(p2.value.buffer);
434
- if (c2 != e3.getUint32(0, false)) throw new r(P);
435
- }
436
- });
437
- }
438
- }
439
- function be(e2, n2, s2) {
440
- n2 = ze(n2, new w({ flush: s2 })), t.defineProperty(e2, "readable", { get: () => n2 });
441
- }
442
- function Se(e2, t2, n2, s2, r2, i2) {
443
- const a2 = t2 && s2 ? s2 : r2 || i2, o2 = n2.deflate64 ? "deflate64-raw" : "deflate-raw";
444
- try {
445
- e2 = ze(e2, new a2(o2, n2));
446
- } catch (s3) {
447
- if (!t2) throw s3;
448
- if (r2) e2 = ze(e2, new r2(o2, n2));
449
- else {
450
- if (!i2) throw s3;
451
- e2 = ze(e2, new i2(o2, n2));
452
- }
453
- }
454
- return e2;
455
- }
456
- function ze(e2, t2) {
457
- return e2.pipeThrough(t2);
458
- }
459
- const ke = "data", ve = "close";
460
- class He extends w {
461
- constructor(e2, n2) {
462
- super({});
463
- const s2 = this, { codecType: i2 } = e2;
464
- let a2;
465
- i2.startsWith("deflate") ? a2 = _e : i2.startsWith("inflate") && (a2 = ye), s2.outputSize = 0;
466
- let o2 = 0;
467
- const c2 = new a2(e2, n2), l2 = super.readable, u2 = new w({ transform(e3, t2) {
468
- e3 && e3.length && (o2 += e3.length, t2.enqueue(e3));
469
- }, flush() {
470
- t.assign(s2, { inputSize: o2 });
471
- } }), h2 = new w({ transform(t2, n3) {
472
- if (t2 && t2.length && (n3.enqueue(t2), s2.outputSize += t2.length, e2.outputSize !== b && s2.outputSize > e2.outputSize)) throw new r("Invalid uncompressed size");
473
- }, flush() {
474
- const { signature: e3 } = c2;
475
- t.assign(s2, { signature: e3, inputSize: o2 });
476
- } });
477
- t.defineProperty(s2, "readable", { get: () => l2.pipeThrough(u2).pipeThrough(c2).pipeThrough(h2) });
478
- }
479
- }
480
- class Ce extends w {
481
- constructor(e2) {
482
- let t2;
483
- super({ transform: function n2(s2, r2) {
484
- if (t2) {
485
- const e3 = new i(t2.length + s2.length);
486
- e3.set(t2), e3.set(s2, t2.length), s2 = e3, t2 = null;
487
- }
488
- s2.length > e2 ? (r2.enqueue(s2.slice(0, e2)), n2(s2.slice(e2), r2)) : t2 = s2;
489
- }, flush(e3) {
490
- t2 && t2.length && e3.enqueue(t2);
491
- } });
492
- }
493
- }
494
- const Be = new l(), Ae = new l();
495
- let Re, Ie, qe, Ke, Pe, Te = 0;
496
- async function Ve(e2) {
497
- try {
498
- const { options: t2, config: s2 } = e2;
499
- if (!t2.useCompressionStream) try {
500
- await self.initModule(e2.config);
501
- } catch {
502
- t2.useCompressionStream = true;
503
- }
504
- s2.CompressionStream = self.CompressionStream, s2.DecompressionStream = self.DecompressionStream;
505
- const r2 = { highWaterMark: 1 }, i2 = e2.readable || new g({ async pull(e3) {
506
- const t3 = new h((e4) => Be.set(Te, e4));
507
- xe({ type: "pull", messageId: Te }), Te = (Te + 1) % n.MAX_SAFE_INTEGER;
508
- const { value: s3, done: r3 } = await t3;
509
- e3.enqueue(s3), r3 && e3.close();
510
- } }, r2), a2 = e2.writable || new m({ async write(e3) {
511
- let t3;
512
- const s3 = new h((e4) => t3 = e4);
513
- Ae.set(Te, t3), xe({ type: ke, value: e3, messageId: Te }), Te = (Te + 1) % n.MAX_SAFE_INTEGER, await s3;
514
- } }, r2), o2 = new He(t2, s2);
515
- Re = new AbortController();
516
- const { signal: c2 } = Re;
517
- await i2.pipeThrough(o2).pipeThrough(new Ce(s2.chunkSize)).pipeTo(a2, { signal: c2, preventClose: true, preventAbort: true }), await a2.getWriter().close();
518
- const { signature: l2, inputSize: u2, outputSize: f2 } = o2;
519
- xe({ type: ve, result: { signature: l2, inputSize: u2, outputSize: f2 } });
520
- } catch (e3) {
521
- e3.outputSize = 0, Ue(e3);
522
- }
523
- }
524
- function xe(e2) {
525
- let { value: t2 } = e2;
526
- if (t2) if (t2.length) try {
527
- t2 = new i(t2), e2.value = t2.buffer, d(e2, [e2.value]);
528
- } catch {
529
- d(e2);
530
- }
531
- else d(e2);
532
- else d(e2);
533
- }
534
- function Ue(e2 = new r("Unknown error")) {
535
- const { message: t2, stack: n2, code: s2, name: i2, outputSize: a2 } = e2;
536
- d({ error: { message: t2, stack: n2, code: s2, name: i2, outputSize: a2 } });
537
- }
538
- function We(e2, t2, n2 = {}) {
539
- const a2 = "number" == typeof n2.level ? n2.level : -1, o2 = "number" == typeof n2.outBuffer ? n2.outBuffer : 65536, c2 = "number" == typeof n2.inBufferSize ? n2.inBufferSize : 65536;
540
- return new w({ start() {
541
- let n3;
542
- if (this.out = qe(o2), this.in = qe(c2), this.inBufferSize = c2, this._scratch = new i(o2), e2 ? (this._process = Ie.deflate_process, this._last_consumed = Ie.deflate_last_consumed, this._end = Ie.deflate_end, this.streamHandle = Ie.deflate_new(), n3 = "gzip" === t2 ? Ie.deflate_init_gzip(this.streamHandle, a2) : "deflate-raw" === t2 ? Ie.deflate_init_raw(this.streamHandle, a2) : Ie.deflate_init(this.streamHandle, a2)) : "deflate64-raw" === t2 ? (this._process = Ie.inflate9_process, this._last_consumed = Ie.inflate9_last_consumed, this._end = Ie.inflate9_end, this.streamHandle = Ie.inflate9_new(), n3 = Ie.inflate9_init_raw(this.streamHandle)) : (this._process = Ie.inflate_process, this._last_consumed = Ie.inflate_last_consumed, this._end = Ie.inflate_end, this.streamHandle = Ie.inflate_new(), n3 = "deflate-raw" === t2 ? Ie.inflate_init_raw(this.streamHandle) : "gzip" === t2 ? Ie.inflate_init_gzip(this.streamHandle) : Ie.inflate_init(this.streamHandle)), 0 !== n3) throw new r("init failed:" + n3);
543
- }, transform(t3, n3) {
544
- try {
545
- const a3 = t3, c3 = new i(Pe.buffer), l2 = this._process, u2 = this._last_consumed, h2 = this.out, f2 = this._scratch;
546
- let p2 = 0;
547
- for (; p2 < a3.length; ) {
548
- const t4 = s.min(a3.length - p2, 32768);
549
- this.in && this.inBufferSize >= t4 || (this.in && Ke && Ke(this.in), this.in = qe(t4), this.inBufferSize = t4), c3.set(a3.subarray(p2, p2 + t4), this.in);
550
- const i2 = l2(this.streamHandle, this.in, t4, h2, o2, 0), d2 = 16777215 & i2;
551
- if (d2 && (f2.set(c3.subarray(h2, h2 + d2), 0), n3.enqueue(f2.slice(0, d2))), !e2) {
552
- const e3 = i2 >> 24 & 255, t5 = 128 & e3 ? e3 - 256 : e3;
553
- if (0 > t5) throw new r("process error:" + t5);
554
- }
555
- const w2 = u2(this.streamHandle);
556
- if (0 === w2) break;
557
- p2 += w2;
558
- }
559
- } catch (e3) {
560
- this._end && this.streamHandle && this._end(this.streamHandle), this.in && Ke && Ke(this.in), this.out && Ke && Ke(this.out), n3.error(e3);
561
- }
562
- }, flush(t3) {
563
- try {
564
- const n3 = new i(Pe.buffer), s2 = this._process, a3 = this.out, c3 = this._scratch;
565
- for (; ; ) {
566
- const i2 = s2(this.streamHandle, 0, 0, a3, o2, 4), l2 = 16777215 & i2, u2 = i2 >> 24 & 255;
567
- if (!e2) {
568
- const e3 = 128 & u2 ? u2 - 256 : u2;
569
- if (0 > e3) throw new r("process error:" + e3);
570
- }
571
- if (l2 && (c3.set(n3.subarray(a3, a3 + l2), 0), t3.enqueue(c3.slice(0, l2))), 1 === u2 || 0 === l2) break;
572
- }
573
- } catch (e3) {
574
- t3.error(e3);
575
- } finally {
576
- if (this._end && this.streamHandle) {
577
- const e3 = this._end(this.streamHandle);
578
- 0 !== e3 && t3.error(new r("end error:" + e3));
579
- }
580
- this.in && Ke && Ke(this.in), this.out && Ke && Ke(this.out);
581
- }
582
- } });
583
- }
584
- addEventListener("message", ({ data: e2 }) => {
585
- const { type: t2, messageId: n2, value: s2, done: r2 } = e2;
586
- try {
587
- if ("start" == t2 && Ve(e2), t2 == ke) {
588
- const e3 = Be.get(n2);
589
- Be.delete(n2), e3({ value: new i(s2), done: r2 });
590
- }
591
- if ("ack" == t2) {
592
- const e3 = Ae.get(n2);
593
- Ae.delete(n2), e3();
594
- }
595
- t2 == ve && Re.abort();
596
- } catch (e3) {
597
- Ue(e3);
598
- }
599
- });
600
- class Me {
601
- constructor(e2 = "deflate", t2) {
602
- return We(true, e2, t2);
603
- }
604
- }
605
- class Ee {
606
- constructor(e2 = "deflate", t2) {
607
- return We(false, e2, t2);
608
- }
609
- }
610
- let De = false;
611
- self.initModule = async (e2) => {
612
- try {
613
- const t2 = await (async (e3, { baseURI: t3 }) => {
614
- if (!De) {
615
- let n2, s2;
616
- try {
617
- try {
618
- s2 = new URL(e3, t3);
619
- } catch {
620
- }
621
- const r2 = await fetch(s2);
622
- n2 = await r2.arrayBuffer();
623
- } catch (t4) {
624
- if (!e3.startsWith("data:application/wasm;base64,")) throw t4;
625
- n2 = ((e4) => {
626
- const t5 = e4.split(",")[1], n3 = atob(t5), s3 = n3.length, r2 = new i(s3);
627
- for (let e5 = 0; s3 > e5; ++e5) r2[e5] = n3.charCodeAt(e5);
628
- return r2.buffer;
629
- })(e3);
630
- }
631
- ((e4) => {
632
- if (Ie = e4, { malloc: qe, free: Ke, memory: Pe } = Ie, "function" != typeof qe || "function" != typeof Ke || !Pe) throw Ie = qe = Ke = Pe = null, new r("Invalid WASM module");
633
- })((await WebAssembly.instantiate(n2)).instance.exports), De = true;
634
- }
635
- })(e2.wasmURI, e2);
636
- return e2.CompressionStreamZlib = Me, e2.DecompressionStreamZlib = Ee, t2;
637
- } catch {
638
- }
639
- };
640
- })();