@openheart/tavio-renderer 2.3.30-with-wasm → 2.4.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.
- package/build/esm/assets/{tavio-JUxSmuMi.js → tavio-DVLlyem4.js} +211 -211
- package/build/esm/assets/{workerHelpers-yS8SNwfU.js → workerHelpers-BWRcUO-d.js} +1 -1
- package/build/esm/index.js +7366 -6111
- package/build/esm/types/editor/selector/boxSelector.d.ts +4 -3
- package/build/esm/types/module.d.ts +5 -4
- package/build/esm/types/viewer/canvas.d.ts +150 -1560
- package/build/esm/types/viewer/constants.d.ts +99 -0
- package/build/esm/types/viewer/driver/coreDriver.d.ts +1402 -0
- package/build/esm/types/viewer/driver/iCoreDriver.d.ts +206 -0
- package/build/esm/types/viewer/driver/offscreenDriver.d.ts +222 -0
- package/build/esm/types/viewer/driver/rpcBridge.d.ts +39 -0
- package/build/esm/types/viewer/driver/workerElementAdapter.d.ts +66 -0
- package/build/esm/types/viewer/materialGenerator.d.ts +24 -27
- package/build/esm/types/viewer/renderView.d.ts +4 -3
- package/build/esm/types/viewer/shaderRegistry.d.ts +22 -0
- package/build/esm/types/viewer/tavioMesh/localTransform.d.ts +65 -0
- package/build/esm/types/viewer/tavioMesh/minMaxRange.d.ts +47 -0
- package/build/esm/types/viewer/tavioMesh/parsers/imageParser.d.ts +14 -0
- package/build/esm/types/{utility/plyDecoder.d.ts → viewer/tavioMesh/parsers/plyParser.d.ts} +4 -15
- package/build/esm/types/viewer/tavioMesh/parsers/splatParser.d.ts +12 -0
- package/build/esm/types/viewer/tavioMesh/selection.d.ts +39 -0
- package/build/esm/types/viewer/{tavioMesh.d.ts → tavioMesh/tavioMesh.d.ts} +73 -62
- package/build/esm/types/viewer/types.d.ts +376 -0
- package/build/esm/types/worker/renderingWorker.d.ts +8 -0
- package/build/esm/types/worker/tavioWorker.d.ts +1 -1
- package/build/esm/wasm/pkg/no-thread/tavio.d.ts +13 -13
- package/build/esm/wasm/pkg/no-thread/tavio.js +125 -125
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +13 -13
- package/build/esm/wasm/pkg/thread/tavio.d.ts +16 -16
- package/build/esm/wasm/pkg/thread/tavio.js +154 -154
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +16 -16
- package/package.json +1 -1
- package/build/esm/types/animation/animationController.d.ts +0 -146
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { s as n } from "./workerHelpers-
|
|
1
|
+
import { s as n } from "./workerHelpers-BWRcUO-d.js";
|
|
2
2
|
class e {
|
|
3
3
|
static __wrap(n2) {
|
|
4
4
|
const t2 = Object.create(e.prototype);
|
|
5
|
-
return t2.__wbg_ptr = n2,
|
|
5
|
+
return t2.__wbg_ptr = n2, u.register(t2, t2.__wbg_ptr, t2), t2;
|
|
6
6
|
}
|
|
7
7
|
__destroy_into_raw() {
|
|
8
8
|
const n2 = this.__wbg_ptr;
|
|
9
|
-
return this.__wbg_ptr = 0,
|
|
9
|
+
return this.__wbg_ptr = 0, u.unregister(this), n2;
|
|
10
10
|
}
|
|
11
11
|
free() {
|
|
12
12
|
const n2 = this.__destroy_into_raw();
|
|
@@ -26,79 +26,79 @@ function t(n2) {
|
|
|
26
26
|
z.wbg_rayon_start_worker(n2);
|
|
27
27
|
}
|
|
28
28
|
function _(t2) {
|
|
29
|
-
const _2 = { __proto__: null,
|
|
29
|
+
const _2 = { __proto__: null, __wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(n2) {
|
|
30
30
|
const e2 = x(n2), t3 = "boolean" == typeof e2 ? e2 : void 0;
|
|
31
31
|
return O(t3) ? 16777215 : t3 ? 1 : 0;
|
|
32
|
-
},
|
|
32
|
+
}, __wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(n2, e2) {
|
|
33
33
|
const t3 = j(b(x(e2)), z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
|
|
34
34
|
l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
|
|
35
|
-
},
|
|
35
|
+
}, __wbg___wbindgen_is_function_fcda5e3902d732fe: function(n2) {
|
|
36
36
|
return "function" == typeof x(n2);
|
|
37
|
-
},
|
|
37
|
+
}, __wbg___wbindgen_is_null_5160b3e381865372: function(n2) {
|
|
38
38
|
return null === x(n2);
|
|
39
|
-
},
|
|
39
|
+
}, __wbg___wbindgen_is_object_edb6b15aa3afe12e: function(n2) {
|
|
40
40
|
const e2 = x(n2);
|
|
41
41
|
return "object" == typeof e2 && null !== e2;
|
|
42
|
-
},
|
|
42
|
+
}, __wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(n2) {
|
|
43
43
|
return void 0 === x(n2);
|
|
44
|
-
},
|
|
45
|
-
return
|
|
46
|
-
},
|
|
47
|
-
return
|
|
48
|
-
},
|
|
44
|
+
}, __wbg___wbindgen_memory_3f8442e22540244f: function() {
|
|
45
|
+
return a(z.memory);
|
|
46
|
+
}, __wbg___wbindgen_module_c2aeeb3b14bad631: function() {
|
|
47
|
+
return a(T);
|
|
48
|
+
}, __wbg___wbindgen_number_get_1dc732b810cb937c: function(n2, e2) {
|
|
49
49
|
const t3 = x(e2), _3 = "number" == typeof t3 ? t3 : void 0;
|
|
50
50
|
l().setFloat64(n2 + 8, O(_3) ? 0 : _3, true), l().setInt32(n2 + 0, !O(_3), true);
|
|
51
|
-
},
|
|
51
|
+
}, __wbg___wbindgen_rethrow_dba7bb2caa14ba21: function(n2) {
|
|
52
52
|
throw F(n2);
|
|
53
|
-
},
|
|
53
|
+
}, __wbg___wbindgen_string_get_92ab86bb19cbc12f: function(n2, e2) {
|
|
54
54
|
const t3 = x(e2), _3 = "string" == typeof t3 ? t3 : void 0;
|
|
55
55
|
var r2 = O(_3) ? 0 : j(_3, z.__wbindgen_export, z.__wbindgen_export2), o2 = M;
|
|
56
56
|
l().setInt32(n2 + 4, o2, true), l().setInt32(n2 + 0, r2, true);
|
|
57
|
-
},
|
|
57
|
+
}, __wbg___wbindgen_throw_5d9e815e6fdf150f: function(n2, e2) {
|
|
58
58
|
throw new Error(p(n2, e2));
|
|
59
|
-
},
|
|
59
|
+
}, __wbg__wbg_cb_unref_997e73d32238e655: function(n2) {
|
|
60
60
|
x(n2)._wbg_cb_unref();
|
|
61
61
|
}, __wbg_allocateSharedArrayBuffer_6fe46699bf03ba1c: function(n2, e2) {
|
|
62
|
-
return
|
|
63
|
-
},
|
|
62
|
+
return a(allocateSharedArrayBuffer(F(n2), e2 >>> 0));
|
|
63
|
+
}, __wbg_arrayBuffer_06f3da76f071d37f: function() {
|
|
64
64
|
return R(function(n2) {
|
|
65
|
-
return
|
|
65
|
+
return a(x(n2).arrayBuffer());
|
|
66
66
|
}, arguments);
|
|
67
|
-
},
|
|
67
|
+
}, __wbg_async_50fcc3f740d37ed6: function(n2) {
|
|
68
68
|
return x(n2).async;
|
|
69
|
-
},
|
|
69
|
+
}, __wbg_body_9ee03724e9ad0639: function(n2) {
|
|
70
70
|
const e2 = x(n2).body;
|
|
71
|
-
return O(e2) ? 0 :
|
|
72
|
-
},
|
|
73
|
-
return
|
|
74
|
-
},
|
|
75
|
-
return
|
|
76
|
-
},
|
|
71
|
+
return O(e2) ? 0 : a(e2);
|
|
72
|
+
}, __wbg_buffer_4a989bded7035f57: function(n2) {
|
|
73
|
+
return a(x(n2).buffer);
|
|
74
|
+
}, __wbg_buffer_60eec204070b2802: function(n2) {
|
|
75
|
+
return a(x(n2).buffer);
|
|
76
|
+
}, __wbg_byobRequest_f161fc37241dd3d4: function(n2) {
|
|
77
77
|
const e2 = x(n2).byobRequest;
|
|
78
|
-
return O(e2) ? 0 :
|
|
79
|
-
},
|
|
78
|
+
return O(e2) ? 0 : a(e2);
|
|
79
|
+
}, __wbg_byteLength_0ddb1795e2c7e689: function(n2) {
|
|
80
80
|
return x(n2).byteLength;
|
|
81
|
-
},
|
|
81
|
+
}, __wbg_byteOffset_46eb015f52b6ad7d: function(n2) {
|
|
82
82
|
return x(n2).byteOffset;
|
|
83
|
-
},
|
|
83
|
+
}, __wbg_call_6bcf8d3e20937e46: function() {
|
|
84
84
|
return R(function(n2, e2, t3) {
|
|
85
|
-
return
|
|
85
|
+
return a(x(n2).call(x(e2), x(t3)));
|
|
86
86
|
}, arguments);
|
|
87
|
-
},
|
|
88
|
-
return
|
|
89
|
-
},
|
|
90
|
-
return
|
|
91
|
-
},
|
|
87
|
+
}, __wbg_cancel_c076350a7e8954be: function(n2) {
|
|
88
|
+
return a(x(n2).cancel());
|
|
89
|
+
}, __wbg_catch_e2134ef6dcdb69ed: function(n2, e2) {
|
|
90
|
+
return a(x(n2).catch(x(e2)));
|
|
91
|
+
}, __wbg_close_22882088c136df25: function() {
|
|
92
92
|
return R(function(n2) {
|
|
93
93
|
x(n2).close();
|
|
94
94
|
}, arguments);
|
|
95
|
-
},
|
|
95
|
+
}, __wbg_close_8b609460dd26e367: function() {
|
|
96
96
|
return R(function(n2) {
|
|
97
97
|
x(n2).close();
|
|
98
98
|
}, arguments);
|
|
99
|
-
},
|
|
100
|
-
return
|
|
101
|
-
},
|
|
99
|
+
}, __wbg_data_d607e3ca86acb68c: function(n2) {
|
|
100
|
+
return a(x(n2).data);
|
|
101
|
+
}, __wbg_enqueue_6cb545d22db14f33: function() {
|
|
102
102
|
return R(function(n2, e2) {
|
|
103
103
|
x(n2).enqueue(x(e2));
|
|
104
104
|
}, arguments);
|
|
@@ -111,33 +111,33 @@ function _(t2) {
|
|
|
111
111
|
}
|
|
112
112
|
}, __wbg_error_8bcce74c74c5a1ab: function(n2, e2) {
|
|
113
113
|
console.error(p(n2, e2));
|
|
114
|
-
},
|
|
114
|
+
}, __wbg_getContext_5ff6bd600503b094: function() {
|
|
115
115
|
return R(function(n2, e2, t3) {
|
|
116
116
|
const _3 = x(n2).getContext(p(e2, t3));
|
|
117
|
-
return O(_3) ? 0 :
|
|
117
|
+
return O(_3) ? 0 : a(_3);
|
|
118
118
|
}, arguments);
|
|
119
119
|
}, __wbg_getReader_b4b1868fbca77dbe: function() {
|
|
120
120
|
return R(function(n2) {
|
|
121
|
-
return
|
|
121
|
+
return a(x(n2).getReader());
|
|
122
122
|
}, arguments);
|
|
123
|
-
},
|
|
123
|
+
}, __wbg_get_989d0a1309644f2b: function() {
|
|
124
|
+
return R(function(n2, e2) {
|
|
125
|
+
return a(Reflect.get(x(n2), x(e2)));
|
|
126
|
+
}, arguments);
|
|
127
|
+
}, __wbg_get_b5793eadbdf6b0ae: function() {
|
|
124
128
|
return R(function(n2, e2, t3, _3) {
|
|
125
129
|
const r2 = x(e2).get(p(t3, _3));
|
|
126
|
-
var o2 = O(r2) ? 0 : j(r2, z.__wbindgen_export, z.__wbindgen_export2),
|
|
127
|
-
l().setInt32(n2 + 4,
|
|
128
|
-
}, arguments);
|
|
129
|
-
}, __wbg_get_971a0c45d172643f: function() {
|
|
130
|
-
return R(function(n2, e2) {
|
|
131
|
-
return u(Reflect.get(x(n2), x(e2)));
|
|
130
|
+
var o2 = O(r2) ? 0 : j(r2, z.__wbindgen_export, z.__wbindgen_export2), i2 = M;
|
|
131
|
+
l().setInt32(n2 + 4, i2, true), l().setInt32(n2 + 0, o2, true);
|
|
132
132
|
}, arguments);
|
|
133
|
-
},
|
|
133
|
+
}, __wbg_get_done_a668aa62d81fad70: function(n2) {
|
|
134
134
|
const e2 = x(n2).done;
|
|
135
135
|
return O(e2) ? 16777215 : e2 ? 1 : 0;
|
|
136
|
-
},
|
|
137
|
-
return
|
|
138
|
-
},
|
|
139
|
-
return
|
|
140
|
-
},
|
|
136
|
+
}, __wbg_get_value_6c62a77c168d825a: function(n2) {
|
|
137
|
+
return a(x(n2).value);
|
|
138
|
+
}, __wbg_headers_2594464ff62969f3: function(n2) {
|
|
139
|
+
return a(x(n2).headers);
|
|
140
|
+
}, __wbg_instanceof_OffscreenCanvasRenderingContext2d_4b64493c5055d621: function(n2) {
|
|
141
141
|
let e2;
|
|
142
142
|
try {
|
|
143
143
|
e2 = x(n2) instanceof OffscreenCanvasRenderingContext2D;
|
|
@@ -145,7 +145,7 @@ function _(t2) {
|
|
|
145
145
|
e2 = false;
|
|
146
146
|
}
|
|
147
147
|
return e2;
|
|
148
|
-
},
|
|
148
|
+
}, __wbg_instanceof_Promise_f6320f682f582ddf: function(n2) {
|
|
149
149
|
let e2;
|
|
150
150
|
try {
|
|
151
151
|
e2 = x(n2) instanceof Promise;
|
|
@@ -153,7 +153,7 @@ function _(t2) {
|
|
|
153
153
|
e2 = false;
|
|
154
154
|
}
|
|
155
155
|
return e2;
|
|
156
|
-
},
|
|
156
|
+
}, __wbg_instanceof_Response_6366a785e400039b: function(n2) {
|
|
157
157
|
let e2;
|
|
158
158
|
try {
|
|
159
159
|
e2 = x(n2) instanceof Response;
|
|
@@ -161,7 +161,7 @@ function _(t2) {
|
|
|
161
161
|
e2 = false;
|
|
162
162
|
}
|
|
163
163
|
return e2;
|
|
164
|
-
},
|
|
164
|
+
}, __wbg_instanceof_SharedArrayBuffer_9e7bc3c6c8906969: function(n2) {
|
|
165
165
|
let e2;
|
|
166
166
|
try {
|
|
167
167
|
e2 = x(n2) instanceof SharedArrayBuffer;
|
|
@@ -169,7 +169,7 @@ function _(t2) {
|
|
|
169
169
|
e2 = false;
|
|
170
170
|
}
|
|
171
171
|
return e2;
|
|
172
|
-
},
|
|
172
|
+
}, __wbg_instanceof_Uint8Array_598adc0fef426aa8: function(n2) {
|
|
173
173
|
let e2;
|
|
174
174
|
try {
|
|
175
175
|
e2 = x(n2) instanceof Uint8Array;
|
|
@@ -177,7 +177,7 @@ function _(t2) {
|
|
|
177
177
|
e2 = false;
|
|
178
178
|
}
|
|
179
179
|
return e2;
|
|
180
|
-
},
|
|
180
|
+
}, __wbg_instanceof_Window_a3b8566f0a9c5d1a: function(n2) {
|
|
181
181
|
let e2;
|
|
182
182
|
try {
|
|
183
183
|
e2 = x(n2) instanceof Window;
|
|
@@ -185,25 +185,29 @@ function _(t2) {
|
|
|
185
185
|
e2 = false;
|
|
186
186
|
}
|
|
187
187
|
return e2;
|
|
188
|
-
},
|
|
188
|
+
}, __wbg_length_2ea75db9a3294a06: function(n2) {
|
|
189
189
|
return x(n2).length;
|
|
190
|
-
},
|
|
190
|
+
}, __wbg_length_31bdaf014f5fbde2: function(n2) {
|
|
191
191
|
return x(n2).length;
|
|
192
|
-
},
|
|
192
|
+
}, __wbg_length_8768c6f6941913e3: function(n2) {
|
|
193
193
|
return x(n2).length;
|
|
194
|
-
},
|
|
194
|
+
}, __wbg_length_e4c12d3be1f46e71: function(n2) {
|
|
195
195
|
return x(n2).length;
|
|
196
|
-
},
|
|
196
|
+
}, __wbg_length_ff98c95d19109ba4: function(n2) {
|
|
197
197
|
return x(n2).length;
|
|
198
198
|
}, __wbg_log_d9d25e056abe7dcd: function(n2, e2) {
|
|
199
199
|
console.log(p(n2, e2));
|
|
200
|
-
},
|
|
201
|
-
return
|
|
200
|
+
}, __wbg_new_0700aaf827082758: function(n2) {
|
|
201
|
+
return a(new Int32Array(x(n2)));
|
|
202
|
+
}, __wbg_new_12e5d807044fbfe3: function() {
|
|
203
|
+
return R(function(n2, e2) {
|
|
204
|
+
return a(new OffscreenCanvas(n2 >>> 0, e2 >>> 0));
|
|
205
|
+
}, arguments);
|
|
206
|
+
}, __wbg_new_1da3429bc3c4541c: function(n2) {
|
|
207
|
+
return a(new Uint8Array(x(n2)));
|
|
202
208
|
}, __wbg_new_227d7c05414eb861: function() {
|
|
203
|
-
return
|
|
204
|
-
},
|
|
205
|
-
return u(new Error(p(n2, e2)));
|
|
206
|
-
}, __wbg_new_418fb92a013d5930: function(n2, e2) {
|
|
209
|
+
return a(new Error());
|
|
210
|
+
}, __wbg_new_8f72ed7c652bf5a2: function(n2, e2) {
|
|
207
211
|
try {
|
|
208
212
|
var t3 = { a: n2, b: e2 };
|
|
209
213
|
const _3 = new Promise((n3, e3) => {
|
|
@@ -215,25 +219,21 @@ function _(t2) {
|
|
|
215
219
|
t3.a = _4;
|
|
216
220
|
}
|
|
217
221
|
});
|
|
218
|
-
return
|
|
222
|
+
return a(_3);
|
|
219
223
|
} finally {
|
|
220
224
|
t3.a = 0;
|
|
221
225
|
}
|
|
222
|
-
},
|
|
223
|
-
return
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
},
|
|
227
|
-
return
|
|
228
|
-
},
|
|
229
|
-
return
|
|
230
|
-
},
|
|
231
|
-
return
|
|
232
|
-
},
|
|
233
|
-
return u(new Uint8Array(g(n2, e2)));
|
|
234
|
-
}, __wbg_new_from_slice_709ab7061ebcc5da: function(n2, e2) {
|
|
235
|
-
return u(new Float32Array(s(n2, e2)));
|
|
236
|
-
}, __wbg_new_typed_cceaf62d8d95e9f2: function(n2, e2) {
|
|
226
|
+
}, __wbg_new_a32a1ab6c6655abe: function(n2, e2) {
|
|
227
|
+
return a(new Error(p(n2, e2)));
|
|
228
|
+
}, __wbg_new_bebc3f4757acf305: function() {
|
|
229
|
+
return a(new Object());
|
|
230
|
+
}, __wbg_new_ffa92086ea89f79c: function() {
|
|
231
|
+
return a(new Array());
|
|
232
|
+
}, __wbg_new_from_slice_2221cabb71753908: function(n2, e2) {
|
|
233
|
+
return a(new Float32Array(s(n2, e2)));
|
|
234
|
+
}, __wbg_new_from_slice_4ee02165f9de919e: function(n2, e2) {
|
|
235
|
+
return a(new Uint8Array(d(n2, e2)));
|
|
236
|
+
}, __wbg_new_typed_6f8b0d724fe26c07: function(n2, e2) {
|
|
237
237
|
try {
|
|
238
238
|
var t3 = { a: n2, b: e2 };
|
|
239
239
|
const _3 = new Promise((n3, e3) => {
|
|
@@ -245,134 +245,134 @@ function _(t2) {
|
|
|
245
245
|
t3.a = _4;
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
|
-
return
|
|
248
|
+
return a(_3);
|
|
249
249
|
} finally {
|
|
250
250
|
t3.a = 0;
|
|
251
251
|
}
|
|
252
|
-
},
|
|
253
|
-
return
|
|
254
|
-
},
|
|
252
|
+
}, __wbg_new_with_byte_offset_and_length_492c969e8b5da8a4: function(n2, e2, t3) {
|
|
253
|
+
return a(new Uint8Array(x(n2), e2 >>> 0, t3 >>> 0));
|
|
254
|
+
}, __wbg_new_with_js_u8_clamped_array_and_sh_9b02d4d6460873d5: function() {
|
|
255
255
|
return R(function(n2, e2, t3) {
|
|
256
|
-
return
|
|
256
|
+
return a(new ImageData(x(n2), e2 >>> 0, t3 >>> 0));
|
|
257
257
|
}, arguments);
|
|
258
|
-
},
|
|
259
|
-
return
|
|
260
|
-
},
|
|
261
|
-
return
|
|
262
|
-
},
|
|
263
|
-
return
|
|
264
|
-
},
|
|
258
|
+
}, __wbg_new_with_length_ac9c609232fb2d1d: function(n2) {
|
|
259
|
+
return a(new Uint8ClampedArray(n2 >>> 0));
|
|
260
|
+
}, __wbg_new_worker_81c08e70aadb3771: function(n2, e2) {
|
|
261
|
+
return a(new Worker(p(n2, e2)));
|
|
262
|
+
}, __wbg_of_d9a05aa72bb023a2: function(n2, e2, t3) {
|
|
263
|
+
return a(Array.of(x(n2), x(e2), x(t3)));
|
|
264
|
+
}, __wbg_postMessage_8105a302ed002474: function() {
|
|
265
265
|
return R(function(n2, e2) {
|
|
266
266
|
x(n2).postMessage(x(e2));
|
|
267
267
|
}, arguments);
|
|
268
|
-
},
|
|
268
|
+
}, __wbg_prototypesetcall_1629b854cfbe3b87: function(n2, e2, t3) {
|
|
269
|
+
Uint32Array.prototype.set.call(g(n2, e2), x(t3));
|
|
270
|
+
}, __wbg_prototypesetcall_804a1eb1b047ccb9: function(n2, e2, t3) {
|
|
269
271
|
Float32Array.prototype.set.call(s(n2, e2), x(t3));
|
|
270
|
-
},
|
|
272
|
+
}, __wbg_prototypesetcall_82f818dd4475225f: function(n2, e2, t3) {
|
|
271
273
|
var _3, r2;
|
|
272
274
|
Uint16Array.prototype.set.call((_3 = n2, r2 = e2, _3 >>>= 0, (null !== m && m.buffer === z.memory.buffer || (m = new Uint16Array(z.memory.buffer)), m).subarray(_3 / 2, _3 / 2 + r2)), x(t3));
|
|
273
|
-
},
|
|
274
|
-
|
|
275
|
-
},
|
|
276
|
-
Uint8Array.prototype.set.call(g(n2, e2), x(t3));
|
|
277
|
-
}, __wbg_push_adb0107829f02d75: function(n2, e2) {
|
|
275
|
+
}, __wbg_prototypesetcall_ae9f5e7459250748: function(n2, e2, t3) {
|
|
276
|
+
Uint8Array.prototype.set.call(d(n2, e2), x(t3));
|
|
277
|
+
}, __wbg_push_bfdf956ba476f65b: function(n2, e2) {
|
|
278
278
|
return x(n2).push(x(e2));
|
|
279
|
-
},
|
|
279
|
+
}, __wbg_putImageData_080efc8615f29b4e: function() {
|
|
280
280
|
return R(function(n2, e2, t3, _3) {
|
|
281
281
|
x(n2).putImageData(x(e2), t3, _3);
|
|
282
282
|
}, arguments);
|
|
283
|
-
},
|
|
283
|
+
}, __wbg_queueMicrotask_85c90f6987555d65: function(n2) {
|
|
284
|
+
return a(x(n2).queueMicrotask);
|
|
285
|
+
}, __wbg_queueMicrotask_f6a1fa10b81d1fc0: function(n2) {
|
|
284
286
|
queueMicrotask(x(n2));
|
|
285
|
-
},
|
|
286
|
-
return
|
|
287
|
-
},
|
|
288
|
-
return u(x(n2).read());
|
|
289
|
-
}, __wbg_releaseLock_f38d2d1c08212a8a: function(n2) {
|
|
287
|
+
}, __wbg_read_31091533ffadf971: function(n2) {
|
|
288
|
+
return a(x(n2).read());
|
|
289
|
+
}, __wbg_releaseLock_1538945f5f183d9f: function(n2) {
|
|
290
290
|
x(n2).releaseLock();
|
|
291
|
-
},
|
|
292
|
-
return
|
|
293
|
-
},
|
|
291
|
+
}, __wbg_resolve_35ec7e0c6af4c82c: function(n2) {
|
|
292
|
+
return a(Promise.resolve(x(n2)));
|
|
293
|
+
}, __wbg_respond_83a71686e927ca32: function() {
|
|
294
294
|
return R(function(n2, e2) {
|
|
295
295
|
x(n2).respond(e2 >>> 0);
|
|
296
296
|
}, arguments);
|
|
297
|
-
},
|
|
297
|
+
}, __wbg_set_0488601468e80715: function(n2, e2, t3) {
|
|
298
|
+
x(n2).set(d(e2, t3));
|
|
299
|
+
}, __wbg_set_4063c0b3fc4d4c18: function(n2, e2, t3) {
|
|
298
300
|
x(n2).set(g(e2, t3));
|
|
299
|
-
},
|
|
301
|
+
}, __wbg_set_5f2ad37e5e02dc7b: function(n2, e2, t3) {
|
|
302
|
+
x(n2).set(d(e2, t3));
|
|
303
|
+
}, __wbg_set_9cfc0f17d60ff0af: function(n2, e2, t3) {
|
|
304
|
+
x(n2).set(x(e2), t3 >>> 0);
|
|
305
|
+
}, __wbg_set_a377297433dfea63: function() {
|
|
300
306
|
return R(function(n2, e2, t3) {
|
|
301
307
|
return Reflect.set(x(n2), x(e2), x(t3));
|
|
302
308
|
}, arguments);
|
|
303
|
-
},
|
|
304
|
-
x(n2).set(x(e2), t3 >>> 0);
|
|
305
|
-
}, __wbg_set_b9b5b5cb7b495037: function(n2, e2, t3) {
|
|
306
|
-
x(n2).set(g(e2, t3));
|
|
307
|
-
}, __wbg_set_e575799cdfbae72f: function(n2, e2, t3) {
|
|
308
|
-
x(n2).set(d(e2, t3));
|
|
309
|
-
}, __wbg_set_onmessage_ed4e5288e2e3af6f: function(n2, e2) {
|
|
309
|
+
}, __wbg_set_onmessage_2244c2525c4e0c38: function(n2, e2) {
|
|
310
310
|
x(n2).onmessage = x(e2);
|
|
311
311
|
}, __wbg_stack_3b0d974bbf31e44f: function(n2, e2) {
|
|
312
312
|
const t3 = j(x(e2).stack, z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
|
|
313
313
|
l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
|
|
314
314
|
}, __wbg_startWorkers_8b582d57e92bd2d4: function(t3, _3, r2) {
|
|
315
|
-
return
|
|
316
|
-
},
|
|
317
|
-
const n2 = "undefined" == typeof globalThis ? null : globalThis;
|
|
318
|
-
return O(n2) ? 0 : u(n2);
|
|
319
|
-
}, __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
|
|
315
|
+
return a(n(F(t3), F(_3), e.__wrap(r2)));
|
|
316
|
+
}, __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
|
|
320
317
|
const n2 = "undefined" == typeof global ? null : global;
|
|
321
|
-
return O(n2) ? 0 :
|
|
322
|
-
},
|
|
318
|
+
return O(n2) ? 0 : a(n2);
|
|
319
|
+
}, __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
|
|
320
|
+
const n2 = "undefined" == typeof globalThis ? null : globalThis;
|
|
321
|
+
return O(n2) ? 0 : a(n2);
|
|
322
|
+
}, __wbg_static_accessor_SELF_d8b50611246a6d92: function() {
|
|
323
323
|
const n2 = "undefined" == typeof self ? null : self;
|
|
324
|
-
return O(n2) ? 0 :
|
|
325
|
-
},
|
|
324
|
+
return O(n2) ? 0 : a(n2);
|
|
325
|
+
}, __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
|
|
326
326
|
const n2 = "undefined" == typeof window ? null : window;
|
|
327
|
-
return O(n2) ? 0 :
|
|
328
|
-
},
|
|
329
|
-
return
|
|
330
|
-
},
|
|
331
|
-
return
|
|
332
|
-
},
|
|
333
|
-
return
|
|
334
|
-
},
|
|
335
|
-
return
|
|
336
|
-
},
|
|
337
|
-
return
|
|
338
|
-
},
|
|
339
|
-
return
|
|
340
|
-
},
|
|
341
|
-
return
|
|
342
|
-
},
|
|
327
|
+
return O(n2) ? 0 : a(n2);
|
|
328
|
+
}, __wbg_subarray_03833f2a8828b0c8: function(n2, e2, t3) {
|
|
329
|
+
return a(x(n2).subarray(e2 >>> 0, t3 >>> 0));
|
|
330
|
+
}, __wbg_subarray_1daff70dde20c145: function(n2, e2, t3) {
|
|
331
|
+
return a(x(n2).subarray(e2 >>> 0, t3 >>> 0));
|
|
332
|
+
}, __wbg_subarray_1df3135581194196: function(n2, e2, t3) {
|
|
333
|
+
return a(x(n2).subarray(e2 >>> 0, t3 >>> 0));
|
|
334
|
+
}, __wbg_subarray_3e08164e021bef70: function(n2, e2, t3) {
|
|
335
|
+
return a(x(n2).subarray(e2 >>> 0, t3 >>> 0));
|
|
336
|
+
}, __wbg_then_7a850dae4493f353: function(n2, e2, t3) {
|
|
337
|
+
return a(x(n2).then(x(e2), x(t3)));
|
|
338
|
+
}, __wbg_then_8ebf7f4d2b402f98: function(n2, e2) {
|
|
339
|
+
return a(x(n2).then(x(e2)));
|
|
340
|
+
}, __wbg_then_b830475380919203: function(n2, e2) {
|
|
341
|
+
return a(x(n2).then(x(e2)));
|
|
342
|
+
}, __wbg_transferToImageBitmap_2262948ef7a75270: function() {
|
|
343
343
|
return R(function(n2) {
|
|
344
|
-
return
|
|
344
|
+
return a(x(n2).transferToImageBitmap());
|
|
345
345
|
}, arguments);
|
|
346
|
-
},
|
|
347
|
-
return
|
|
348
|
-
},
|
|
346
|
+
}, __wbg_value_a06131499b246ab0: function(n2) {
|
|
347
|
+
return a(x(n2).value);
|
|
348
|
+
}, __wbg_view_d8c7b26e4d4650f1: function(n2) {
|
|
349
349
|
const e2 = x(n2).view;
|
|
350
|
-
return O(e2) ? 0 :
|
|
351
|
-
},
|
|
352
|
-
return
|
|
353
|
-
},
|
|
354
|
-
return
|
|
350
|
+
return O(e2) ? 0 : a(e2);
|
|
351
|
+
}, __wbg_waitAsync_80b2e954334c3fdf: function(n2, e2, t3) {
|
|
352
|
+
return a(Atomics.waitAsync(x(n2), e2 >>> 0, t3));
|
|
353
|
+
}, __wbg_waitAsync_ac27a6bec1171c41: function() {
|
|
354
|
+
return a(Atomics.waitAsync);
|
|
355
355
|
}, __wbg_warn_660349d377654750: function(n2, e2) {
|
|
356
356
|
console.warn(p(n2, e2));
|
|
357
|
-
},
|
|
358
|
-
return
|
|
359
|
-
},
|
|
360
|
-
return
|
|
361
|
-
},
|
|
362
|
-
return
|
|
363
|
-
},
|
|
364
|
-
return
|
|
365
|
-
},
|
|
366
|
-
return
|
|
367
|
-
},
|
|
368
|
-
return
|
|
369
|
-
},
|
|
370
|
-
return
|
|
371
|
-
},
|
|
357
|
+
}, __wbindgen_generic_0000000000000001: function(n2, e2) {
|
|
358
|
+
return a(U(n2, e2, r));
|
|
359
|
+
}, __wbindgen_generic_0000000000000002: function(n2, e2) {
|
|
360
|
+
return a(U(n2, e2, c));
|
|
361
|
+
}, __wbindgen_generic_0000000000000003: function(n2, e2) {
|
|
362
|
+
return a(U(n2, e2, o));
|
|
363
|
+
}, __wbindgen_generic_0000000000000004: function(n2) {
|
|
364
|
+
return a(n2);
|
|
365
|
+
}, __wbindgen_generic_0000000000000005: function(n2, e2) {
|
|
366
|
+
return a(d(n2, e2));
|
|
367
|
+
}, __wbindgen_generic_0000000000000006: function(n2, e2) {
|
|
368
|
+
return a(p(n2, e2));
|
|
369
|
+
}, __wbindgen_generic_0000000000000007: function(n2) {
|
|
370
|
+
return a(BigInt.asUintN(64, n2));
|
|
371
|
+
}, __wbindgen_generic_0000000000000008: function(n2, e2) {
|
|
372
372
|
var t3 = s(n2, e2).slice();
|
|
373
373
|
z.__wbindgen_export4(n2, 4 * e2, 4);
|
|
374
|
-
return
|
|
375
|
-
},
|
|
374
|
+
return a(t3);
|
|
375
|
+
}, __wbindgen_generic_0000000000000009: function(n2, e2) {
|
|
376
376
|
var t3 = (function(n3, e3) {
|
|
377
377
|
n3 >>>= 0;
|
|
378
378
|
const t4 = l(), _3 = [];
|
|
@@ -380,49 +380,49 @@ function _(t2) {
|
|
|
380
380
|
return _3;
|
|
381
381
|
})(n2, e2);
|
|
382
382
|
z.__wbindgen_export4(n2, 4 * e2, 4);
|
|
383
|
-
return
|
|
384
|
-
},
|
|
385
|
-
var t3 = d(n2, e2).slice();
|
|
386
|
-
z.__wbindgen_export4(n2, 4 * e2, 4);
|
|
387
|
-
return u(t3);
|
|
388
|
-
}, __wbindgen_cast_000000000000000b: function(n2, e2) {
|
|
383
|
+
return a(t3);
|
|
384
|
+
}, __wbindgen_generic_000000000000000a: function(n2, e2) {
|
|
389
385
|
var t3 = g(n2, e2).slice();
|
|
386
|
+
z.__wbindgen_export4(n2, 4 * e2, 4);
|
|
387
|
+
return a(t3);
|
|
388
|
+
}, __wbindgen_generic_000000000000000b: function(n2, e2) {
|
|
389
|
+
var t3 = d(n2, e2).slice();
|
|
390
390
|
z.__wbindgen_export4(n2, 1 * e2, 1);
|
|
391
|
-
return
|
|
392
|
-
},
|
|
391
|
+
return a(t3);
|
|
392
|
+
}, __wbindgen_link_e7dbf70342428633: function(n2) {
|
|
393
393
|
const e2 = "onmessage = function (ev) {\n let [ia, index, value] = ev.data;\n ia = new Int32Array(ia.buffer);\n let result = Atomics.wait(ia, index, value);\n postMessage(result);\n };\n ", t3 = j(void 0 === URL.createObjectURL ? "data:application/javascript," + encodeURIComponent(e2) : URL.createObjectURL(new Blob([e2], { type: "text/javascript" })), z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
|
|
394
394
|
l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
|
|
395
395
|
}, __wbindgen_object_clone_ref: function(n2) {
|
|
396
|
-
return
|
|
396
|
+
return a(x(n2));
|
|
397
397
|
}, __wbindgen_object_drop_ref: function(n2) {
|
|
398
398
|
F(n2);
|
|
399
399
|
}, memory: t2 || new WebAssembly.Memory({ initial: 21, maximum: 32768, shared: true }) };
|
|
400
400
|
return { __proto__: null, "./tavio_bg.js": _2 };
|
|
401
401
|
}
|
|
402
402
|
function r(n2, e2, t2) {
|
|
403
|
-
z.
|
|
403
|
+
z.__wasm_bindgen_func_elem_1221(n2, e2, a(t2));
|
|
404
404
|
}
|
|
405
405
|
function o(n2, e2, t2) {
|
|
406
|
-
z.
|
|
406
|
+
z.__wasm_bindgen_func_elem_3142(n2, e2, a(t2));
|
|
407
|
+
}
|
|
408
|
+
function i(n2, e2, t2, _2) {
|
|
409
|
+
z.__wasm_bindgen_func_elem_3143(n2, e2, a(t2), a(_2));
|
|
407
410
|
}
|
|
408
411
|
function c(n2, e2, t2) {
|
|
409
412
|
try {
|
|
410
413
|
const r2 = z.__wbindgen_add_to_stack_pointer(-16);
|
|
411
|
-
z.
|
|
414
|
+
z.__wasm_bindgen_func_elem_3140(r2, n2, e2, a(t2));
|
|
412
415
|
var _2 = l().getInt32(r2 + 0, true);
|
|
413
416
|
if (l().getInt32(r2 + 4, true)) throw F(_2);
|
|
414
417
|
} finally {
|
|
415
418
|
z.__wbindgen_add_to_stack_pointer(16);
|
|
416
419
|
}
|
|
417
420
|
}
|
|
418
|
-
function i(n2, e2, t2, _2) {
|
|
419
|
-
z.__wasm_bindgen_func_elem_3146(n2, e2, u(t2), u(_2));
|
|
420
|
-
}
|
|
421
421
|
Symbol.dispose && (e.prototype[Symbol.dispose] = e.prototype.free), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingbytesource_free(n2, 1)), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingsink_free(n2, 1)), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingsource_free(n2, 1));
|
|
422
|
-
const
|
|
422
|
+
const u = "undefined" == typeof FinalizationRegistry ? { register: () => {
|
|
423
423
|
}, unregister: () => {
|
|
424
424
|
} } : new FinalizationRegistry((n2) => z.__wbg_wbg_rayon_poolbuilder_free(n2, 1));
|
|
425
|
-
function
|
|
425
|
+
function a(n2) {
|
|
426
426
|
k === I.length && I.push(I.length + 1);
|
|
427
427
|
const e2 = k;
|
|
428
428
|
return k = I[e2], I[e2] = n2, e2;
|
|
@@ -466,13 +466,13 @@ function s(n2, e2) {
|
|
|
466
466
|
return y;
|
|
467
467
|
})().subarray(n2 / 4, n2 / 4 + e2);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function g(n2, e2) {
|
|
470
470
|
return n2 >>>= 0, (function() {
|
|
471
471
|
null !== h && h.buffer === z.memory.buffer || (h = new Uint32Array(z.memory.buffer));
|
|
472
472
|
return h;
|
|
473
473
|
})().subarray(n2 / 4, n2 / 4 + e2);
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function d(n2, e2) {
|
|
476
476
|
return n2 >>>= 0, A().subarray(n2 / 1, n2 / 1 + e2);
|
|
477
477
|
}
|
|
478
478
|
let w = null;
|
|
@@ -499,7 +499,7 @@ function R(n2, e2) {
|
|
|
499
499
|
try {
|
|
500
500
|
return n2.apply(this, e2);
|
|
501
501
|
} catch (n3) {
|
|
502
|
-
z.__wbindgen_export3(
|
|
502
|
+
z.__wbindgen_export3(a(n3));
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
let I = new Array(1024).fill(void 0);
|
|
@@ -530,18 +530,18 @@ function j(n2, e2, t2) {
|
|
|
530
530
|
}
|
|
531
531
|
let _2 = n2.length, r2 = e2(_2, 1) >>> 0;
|
|
532
532
|
const o2 = A();
|
|
533
|
-
let
|
|
534
|
-
for (;
|
|
535
|
-
const e3 = n2.charCodeAt(
|
|
533
|
+
let i2 = 0;
|
|
534
|
+
for (; i2 < _2; i2++) {
|
|
535
|
+
const e3 = n2.charCodeAt(i2);
|
|
536
536
|
if (e3 > 127) break;
|
|
537
|
-
o2[r2 +
|
|
537
|
+
o2[r2 + i2] = e3;
|
|
538
538
|
}
|
|
539
|
-
if (
|
|
540
|
-
0 !==
|
|
541
|
-
const e3 = A().subarray(r2 +
|
|
542
|
-
|
|
539
|
+
if (i2 !== _2) {
|
|
540
|
+
0 !== i2 && (n2 = n2.slice(i2)), r2 = t2(r2, _2, _2 = i2 + 3 * n2.length, 1) >>> 0;
|
|
541
|
+
const e3 = A().subarray(r2 + i2, r2 + _2);
|
|
542
|
+
i2 += L.encodeInto(n2, e3).written, r2 = t2(r2, _2, i2, 1) >>> 0;
|
|
543
543
|
}
|
|
544
|
-
return M =
|
|
544
|
+
return M = i2, r2;
|
|
545
545
|
}
|
|
546
546
|
function F(n2) {
|
|
547
547
|
const e2 = x(n2);
|
|
@@ -565,7 +565,7 @@ async function C(n2, e2) {
|
|
|
565
565
|
void 0 !== n2 && (Object.getPrototypeOf(n2) === Object.prototype ? { module_or_path: n2, memory: e2, thread_stack_size: t2 } = n2 : console.warn("using deprecated parameters for the initialization function; pass a single object instead"));
|
|
566
566
|
const r2 = _(e2);
|
|
567
567
|
("string" == typeof n2 || "function" == typeof Request && n2 instanceof Request || "function" == typeof URL && n2 instanceof URL) && (n2 = fetch(n2));
|
|
568
|
-
const { instance: o2, module:
|
|
568
|
+
const { instance: o2, module: i2 } = await (async function(n3, e3) {
|
|
569
569
|
if ("function" == typeof Response && n3 instanceof Response) {
|
|
570
570
|
if (!n3.ok) throw new Error(`failed to fetch Wasm: ${n3.status} ${n3.statusText} fetching '${n3.url}'`);
|
|
571
571
|
if ("function" == typeof WebAssembly.instantiateStreaming) try {
|
|
@@ -593,7 +593,7 @@ async function C(n2, e2) {
|
|
|
593
593
|
return (function(n3, e3, t3) {
|
|
594
594
|
if (z = n3.exports, T = e3, w = null, y = null, m = null, h = null, v = null, void 0 !== t3 && ("number" != typeof t3 || 0 === t3 || t3 % 65536 != 0)) throw new Error("invalid stack size");
|
|
595
595
|
return z.__wbindgen_start(t3), z;
|
|
596
|
-
})(o2,
|
|
596
|
+
})(o2, i2, t2);
|
|
597
597
|
}
|
|
598
598
|
export {
|
|
599
599
|
C as default,
|