float-pigment-css 0.8.0 → 0.8.1
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/float_pigment_css.d.ts +17 -17
- package/float_pigment_css.js +130 -174
- package/float_pigment_css_bg.wasm +0 -0
- package/package.json +1 -1
package/float_pigment_css.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function wasm_main(): void;
|
|
4
3
|
/**
|
|
5
4
|
* Serialize CSS to the binary format.
|
|
6
5
|
*/
|
|
@@ -9,6 +8,7 @@ export function compileStyleSheetToBincode(filename: string, style_text: string)
|
|
|
9
8
|
* Deserialize bincode from the binary format.
|
|
10
9
|
*/
|
|
11
10
|
export function styleSheetFromBincode(bincode: Uint8Array): StyleSheetGroup;
|
|
11
|
+
export function wasm_main(): void;
|
|
12
12
|
/**
|
|
13
13
|
* A group of ordered style sheets.
|
|
14
14
|
*/
|
|
@@ -23,9 +23,9 @@ export class StyleSheetImportIndex {
|
|
|
23
23
|
private constructor();
|
|
24
24
|
free(): void;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Deserialize from the binary format and merge into `self`.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
mergeBincode(s: Uint8Array): void;
|
|
29
29
|
/**
|
|
30
30
|
* Serialize it to the binary format.
|
|
31
31
|
*/
|
|
@@ -35,9 +35,9 @@ export class StyleSheetImportIndex {
|
|
|
35
35
|
*/
|
|
36
36
|
static deserializeBincode(s: Uint8Array): StyleSheetImportIndex;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* The JavaScript version of `query_and_mark_dependencies`.
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
queryAndMarkDependencies(path: string): any;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Resource manager to store style sheet files.
|
|
@@ -45,13 +45,17 @@ export class StyleSheetImportIndex {
|
|
|
45
45
|
export class StyleSheetResource {
|
|
46
46
|
free(): void;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Add a style sheet file (for JavaScript).
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
addSource(path: string, source: string): any;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Add a style sheet file in the binary format (for JavaScript).
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
addBincode(path: string, bincode: Uint8Array): any;
|
|
55
|
+
/**
|
|
56
|
+
* Serialize the specified style sheet to the binary format.
|
|
57
|
+
*/
|
|
58
|
+
serializeBincode(path: string): Uint8Array | undefined;
|
|
55
59
|
/**
|
|
56
60
|
* Add a prefix to all tag names.
|
|
57
61
|
*/
|
|
@@ -61,15 +65,11 @@ export class StyleSheetResource {
|
|
|
61
65
|
*/
|
|
62
66
|
directDependencies(path: string): any[];
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
serializeBincode(path: string): Uint8Array | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Add a style sheet file (for JavaScript).
|
|
68
|
+
* Generate a `StyleSheetImportIndex`.
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
generateImportIndexes(): StyleSheetImportIndex;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Create a new resource manager.
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
constructor();
|
|
75
75
|
}
|
package/float_pigment_css.js
CHANGED
|
@@ -4,12 +4,6 @@ imports['__wbindgen_placeholder__'] = module.exports;
|
|
|
4
4
|
let wasm;
|
|
5
5
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
6
6
|
|
|
7
|
-
const heap = new Array(128).fill(undefined);
|
|
8
|
-
|
|
9
|
-
heap.push(undefined, null, true, false);
|
|
10
|
-
|
|
11
|
-
function getObject(idx) { return heap[idx]; }
|
|
12
|
-
|
|
13
7
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
14
8
|
|
|
15
9
|
cachedTextDecoder.decode();
|
|
@@ -28,14 +22,9 @@ function getStringFromWasm0(ptr, len) {
|
|
|
28
22
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
29
23
|
}
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
35
|
-
const idx = heap_next;
|
|
36
|
-
heap_next = heap[idx];
|
|
37
|
-
|
|
38
|
-
heap[idx] = obj;
|
|
25
|
+
function addToExternrefTable0(obj) {
|
|
26
|
+
const idx = wasm.__externref_table_alloc();
|
|
27
|
+
wasm.__wbindgen_export_3.set(idx, obj);
|
|
39
28
|
return idx;
|
|
40
29
|
}
|
|
41
30
|
|
|
@@ -43,7 +32,8 @@ function handleError(f, args) {
|
|
|
43
32
|
try {
|
|
44
33
|
return f.apply(this, args);
|
|
45
34
|
} catch (e) {
|
|
46
|
-
|
|
35
|
+
const idx = addToExternrefTable0(e);
|
|
36
|
+
wasm.__wbindgen_exn_store(idx);
|
|
47
37
|
}
|
|
48
38
|
}
|
|
49
39
|
|
|
@@ -177,44 +167,10 @@ function debugString(val) {
|
|
|
177
167
|
return className;
|
|
178
168
|
}
|
|
179
169
|
|
|
180
|
-
function dropObject(idx) {
|
|
181
|
-
if (idx < 132) return;
|
|
182
|
-
heap[idx] = heap_next;
|
|
183
|
-
heap_next = idx;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function takeObject(idx) {
|
|
187
|
-
const ret = getObject(idx);
|
|
188
|
-
dropObject(idx);
|
|
189
|
-
return ret;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
193
|
-
ptr = ptr >>> 0;
|
|
194
|
-
const mem = getDataViewMemory0();
|
|
195
|
-
const result = [];
|
|
196
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
197
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
198
|
-
}
|
|
199
|
-
return result;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
170
|
function getArrayU8FromWasm0(ptr, len) {
|
|
203
171
|
ptr = ptr >>> 0;
|
|
204
172
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
205
173
|
}
|
|
206
|
-
|
|
207
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
208
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
209
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
210
|
-
WASM_VECTOR_LEN = arg.length;
|
|
211
|
-
return ptr;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
module.exports.wasm_main = function() {
|
|
215
|
-
wasm.wasm_main();
|
|
216
|
-
};
|
|
217
|
-
|
|
218
174
|
/**
|
|
219
175
|
* Serialize CSS to the binary format.
|
|
220
176
|
* @param {string} filename
|
|
@@ -222,23 +178,22 @@ module.exports.wasm_main = function() {
|
|
|
222
178
|
* @returns {Uint8Array}
|
|
223
179
|
*/
|
|
224
180
|
module.exports.compileStyleSheetToBincode = function(filename, style_text) {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
234
|
-
var v3 = getArrayU8FromWasm0(r0, r1).slice();
|
|
235
|
-
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
236
|
-
return v3;
|
|
237
|
-
} finally {
|
|
238
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
239
|
-
}
|
|
181
|
+
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
182
|
+
const len0 = WASM_VECTOR_LEN;
|
|
183
|
+
const ptr1 = passStringToWasm0(style_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
184
|
+
const len1 = WASM_VECTOR_LEN;
|
|
185
|
+
const ret = wasm.compileStyleSheetToBincode(ptr0, len0, ptr1, len1);
|
|
186
|
+
var v3 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
187
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
188
|
+
return v3;
|
|
240
189
|
};
|
|
241
190
|
|
|
191
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
192
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
193
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
194
|
+
WASM_VECTOR_LEN = arg.length;
|
|
195
|
+
return ptr;
|
|
196
|
+
}
|
|
242
197
|
/**
|
|
243
198
|
* Deserialize bincode from the binary format.
|
|
244
199
|
* @param {Uint8Array} bincode
|
|
@@ -251,6 +206,21 @@ module.exports.styleSheetFromBincode = function(bincode) {
|
|
|
251
206
|
return StyleSheetGroup.__wrap(ret);
|
|
252
207
|
};
|
|
253
208
|
|
|
209
|
+
module.exports.wasm_main = function() {
|
|
210
|
+
wasm.wasm_main();
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
214
|
+
ptr = ptr >>> 0;
|
|
215
|
+
const mem = getDataViewMemory0();
|
|
216
|
+
const result = [];
|
|
217
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
218
|
+
result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));
|
|
219
|
+
}
|
|
220
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
221
|
+
return result;
|
|
222
|
+
}
|
|
223
|
+
|
|
254
224
|
const StyleSheetGroupFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
255
225
|
? { register: () => {}, unregister: () => {} }
|
|
256
226
|
: new FinalizationRegistry(ptr => wasm.__wbg_stylesheetgroup_free(ptr >>> 0, 1));
|
|
@@ -309,32 +279,23 @@ class StyleSheetImportIndex {
|
|
|
309
279
|
wasm.__wbg_stylesheetimportindex_free(ptr, 0);
|
|
310
280
|
}
|
|
311
281
|
/**
|
|
312
|
-
*
|
|
313
|
-
* @param {
|
|
314
|
-
* @returns {any}
|
|
282
|
+
* Deserialize from the binary format and merge into `self`.
|
|
283
|
+
* @param {Uint8Array} s
|
|
315
284
|
*/
|
|
316
|
-
|
|
317
|
-
const ptr0 =
|
|
285
|
+
mergeBincode(s) {
|
|
286
|
+
const ptr0 = passArray8ToWasm0(s, wasm.__wbindgen_malloc);
|
|
318
287
|
const len0 = WASM_VECTOR_LEN;
|
|
319
|
-
|
|
320
|
-
return takeObject(ret);
|
|
288
|
+
wasm.stylesheetimportindex_mergeBincode(this.__wbg_ptr, ptr0, len0);
|
|
321
289
|
}
|
|
322
290
|
/**
|
|
323
291
|
* Serialize it to the binary format.
|
|
324
292
|
* @returns {Uint8Array}
|
|
325
293
|
*/
|
|
326
294
|
serializeBincode() {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
332
|
-
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
333
|
-
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
334
|
-
return v1;
|
|
335
|
-
} finally {
|
|
336
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
337
|
-
}
|
|
295
|
+
const ret = wasm.stylesheetimportindex_serializeBincode(this.__wbg_ptr);
|
|
296
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
297
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
298
|
+
return v1;
|
|
338
299
|
}
|
|
339
300
|
/**
|
|
340
301
|
* Deserialize from the binary format.
|
|
@@ -348,13 +309,15 @@ class StyleSheetImportIndex {
|
|
|
348
309
|
return StyleSheetImportIndex.__wrap(ret);
|
|
349
310
|
}
|
|
350
311
|
/**
|
|
351
|
-
*
|
|
352
|
-
* @param {
|
|
312
|
+
* The JavaScript version of `query_and_mark_dependencies`.
|
|
313
|
+
* @param {string} path
|
|
314
|
+
* @returns {any}
|
|
353
315
|
*/
|
|
354
|
-
|
|
355
|
-
const ptr0 =
|
|
316
|
+
queryAndMarkDependencies(path) {
|
|
317
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
356
318
|
const len0 = WASM_VECTOR_LEN;
|
|
357
|
-
wasm.
|
|
319
|
+
const ret = wasm.stylesheetimportindex_queryAndMarkDependencies(this.__wbg_ptr, ptr0, len0);
|
|
320
|
+
return ret;
|
|
358
321
|
}
|
|
359
322
|
}
|
|
360
323
|
module.exports.StyleSheetImportIndex = StyleSheetImportIndex;
|
|
@@ -379,53 +342,32 @@ class StyleSheetResource {
|
|
|
379
342
|
wasm.__wbg_stylesheetresource_free(ptr, 0);
|
|
380
343
|
}
|
|
381
344
|
/**
|
|
382
|
-
*
|
|
383
|
-
*/
|
|
384
|
-
constructor() {
|
|
385
|
-
const ret = wasm.stylesheetresource_new();
|
|
386
|
-
this.__wbg_ptr = ret >>> 0;
|
|
387
|
-
StyleSheetResourceFinalization.register(this, this.__wbg_ptr, this);
|
|
388
|
-
return this;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Generate a `StyleSheetImportIndex`.
|
|
392
|
-
* @returns {StyleSheetImportIndex}
|
|
393
|
-
*/
|
|
394
|
-
generateImportIndexes() {
|
|
395
|
-
const ret = wasm.stylesheetresource_generateImportIndexes(this.__wbg_ptr);
|
|
396
|
-
return StyleSheetImportIndex.__wrap(ret);
|
|
397
|
-
}
|
|
398
|
-
/**
|
|
399
|
-
* Add a prefix to all tag names.
|
|
345
|
+
* Add a style sheet file (for JavaScript).
|
|
400
346
|
* @param {string} path
|
|
401
|
-
* @param {string}
|
|
347
|
+
* @param {string} source
|
|
348
|
+
* @returns {any}
|
|
402
349
|
*/
|
|
403
|
-
|
|
350
|
+
addSource(path, source) {
|
|
404
351
|
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
405
352
|
const len0 = WASM_VECTOR_LEN;
|
|
406
|
-
const ptr1 = passStringToWasm0(
|
|
353
|
+
const ptr1 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
407
354
|
const len1 = WASM_VECTOR_LEN;
|
|
408
|
-
wasm.
|
|
355
|
+
const ret = wasm.stylesheetresource_addSource(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
356
|
+
return ret;
|
|
409
357
|
}
|
|
410
358
|
/**
|
|
411
|
-
*
|
|
359
|
+
* Add a style sheet file in the binary format (for JavaScript).
|
|
412
360
|
* @param {string} path
|
|
413
|
-
* @
|
|
361
|
+
* @param {Uint8Array} bincode
|
|
362
|
+
* @returns {any}
|
|
414
363
|
*/
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
423
|
-
var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
424
|
-
wasm.__wbindgen_free(r0, r1 * 4, 4);
|
|
425
|
-
return v2;
|
|
426
|
-
} finally {
|
|
427
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
428
|
-
}
|
|
364
|
+
addBincode(path, bincode) {
|
|
365
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
366
|
+
const len0 = WASM_VECTOR_LEN;
|
|
367
|
+
const ptr1 = passArray8ToWasm0(bincode, wasm.__wbindgen_malloc);
|
|
368
|
+
const len1 = WASM_VECTOR_LEN;
|
|
369
|
+
const ret = wasm.stylesheetresource_addBincode(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
370
|
+
return ret;
|
|
429
371
|
}
|
|
430
372
|
/**
|
|
431
373
|
* Serialize the specified style sheet to the binary format.
|
|
@@ -433,56 +375,63 @@ class StyleSheetResource {
|
|
|
433
375
|
* @returns {Uint8Array | undefined}
|
|
434
376
|
*/
|
|
435
377
|
serializeBincode(path) {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
let v2;
|
|
444
|
-
if (r0 !== 0) {
|
|
445
|
-
v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
446
|
-
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
447
|
-
}
|
|
448
|
-
return v2;
|
|
449
|
-
} finally {
|
|
450
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
378
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
379
|
+
const len0 = WASM_VECTOR_LEN;
|
|
380
|
+
const ret = wasm.stylesheetresource_serializeBincode(this.__wbg_ptr, ptr0, len0);
|
|
381
|
+
let v2;
|
|
382
|
+
if (ret[0] !== 0) {
|
|
383
|
+
v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
384
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
451
385
|
}
|
|
386
|
+
return v2;
|
|
452
387
|
}
|
|
453
388
|
/**
|
|
454
|
-
* Add a
|
|
389
|
+
* Add a prefix to all tag names.
|
|
455
390
|
* @param {string} path
|
|
456
|
-
* @param {string}
|
|
457
|
-
* @returns {any}
|
|
391
|
+
* @param {string} prefix
|
|
458
392
|
*/
|
|
459
|
-
|
|
393
|
+
addTagNamePrefix(path, prefix) {
|
|
460
394
|
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
461
395
|
const len0 = WASM_VECTOR_LEN;
|
|
462
|
-
const ptr1 = passStringToWasm0(
|
|
396
|
+
const ptr1 = passStringToWasm0(prefix, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
463
397
|
const len1 = WASM_VECTOR_LEN;
|
|
464
|
-
|
|
465
|
-
return takeObject(ret);
|
|
398
|
+
wasm.stylesheetresource_addTagNamePrefix(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
466
399
|
}
|
|
467
400
|
/**
|
|
468
|
-
*
|
|
401
|
+
* Get `@import` source paths (for JavaScript).
|
|
469
402
|
* @param {string} path
|
|
470
|
-
* @
|
|
471
|
-
* @returns {any}
|
|
403
|
+
* @returns {any[]}
|
|
472
404
|
*/
|
|
473
|
-
|
|
405
|
+
directDependencies(path) {
|
|
474
406
|
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
475
407
|
const len0 = WASM_VECTOR_LEN;
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
return
|
|
408
|
+
const ret = wasm.stylesheetresource_directDependencies(this.__wbg_ptr, ptr0, len0);
|
|
409
|
+
var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
410
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
411
|
+
return v2;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Generate a `StyleSheetImportIndex`.
|
|
415
|
+
* @returns {StyleSheetImportIndex}
|
|
416
|
+
*/
|
|
417
|
+
generateImportIndexes() {
|
|
418
|
+
const ret = wasm.stylesheetresource_generateImportIndexes(this.__wbg_ptr);
|
|
419
|
+
return StyleSheetImportIndex.__wrap(ret);
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Create a new resource manager.
|
|
423
|
+
*/
|
|
424
|
+
constructor() {
|
|
425
|
+
const ret = wasm.stylesheetresource_new();
|
|
426
|
+
this.__wbg_ptr = ret >>> 0;
|
|
427
|
+
StyleSheetResourceFinalization.register(this, this.__wbg_ptr, this);
|
|
428
|
+
return this;
|
|
480
429
|
}
|
|
481
430
|
}
|
|
482
431
|
module.exports.StyleSheetResource = StyleSheetResource;
|
|
483
432
|
|
|
484
433
|
module.exports.__wbg_debug_156ca727dbc3150f = function(arg0) {
|
|
485
|
-
console.debug(
|
|
434
|
+
console.debug(arg0);
|
|
486
435
|
};
|
|
487
436
|
|
|
488
437
|
module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
@@ -498,49 +447,49 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
|
498
447
|
};
|
|
499
448
|
|
|
500
449
|
module.exports.__wbg_error_fab41a42d22bf2bc = function(arg0) {
|
|
501
|
-
console.error(
|
|
450
|
+
console.error(arg0);
|
|
502
451
|
};
|
|
503
452
|
|
|
504
453
|
module.exports.__wbg_info_c3044c86ae29faab = function(arg0) {
|
|
505
|
-
console.info(
|
|
454
|
+
console.info(arg0);
|
|
506
455
|
};
|
|
507
456
|
|
|
508
457
|
module.exports.__wbg_log_464d1b2190ca1e04 = function(arg0) {
|
|
509
|
-
console.log(
|
|
458
|
+
console.log(arg0);
|
|
510
459
|
};
|
|
511
460
|
|
|
512
461
|
module.exports.__wbg_new_254fa9eac11932ae = function() {
|
|
513
462
|
const ret = new Array();
|
|
514
|
-
return
|
|
463
|
+
return ret;
|
|
515
464
|
};
|
|
516
465
|
|
|
517
466
|
module.exports.__wbg_new_688846f374351c92 = function() {
|
|
518
467
|
const ret = new Object();
|
|
519
|
-
return
|
|
468
|
+
return ret;
|
|
520
469
|
};
|
|
521
470
|
|
|
522
471
|
module.exports.__wbg_new_8a6f238a6ece86ea = function() {
|
|
523
472
|
const ret = new Error();
|
|
524
|
-
return
|
|
473
|
+
return ret;
|
|
525
474
|
};
|
|
526
475
|
|
|
527
476
|
module.exports.__wbg_newwithlength_759c7b9d6a7a314f = function(arg0) {
|
|
528
477
|
const ret = new Array(arg0 >>> 0);
|
|
529
|
-
return
|
|
478
|
+
return ret;
|
|
530
479
|
};
|
|
531
480
|
|
|
532
481
|
module.exports.__wbg_push_6edad0df4b546b2c = function(arg0, arg1) {
|
|
533
|
-
const ret =
|
|
482
|
+
const ret = arg0.push(arg1);
|
|
534
483
|
return ret;
|
|
535
484
|
};
|
|
536
485
|
|
|
537
486
|
module.exports.__wbg_set_4e647025551483bd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
538
|
-
const ret = Reflect.set(
|
|
487
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
539
488
|
return ret;
|
|
540
489
|
}, arguments) };
|
|
541
490
|
|
|
542
491
|
module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
543
|
-
const ret =
|
|
492
|
+
const ret = arg1.stack;
|
|
544
493
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
545
494
|
const len1 = WASM_VECTOR_LEN;
|
|
546
495
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
@@ -548,29 +497,36 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
|
548
497
|
};
|
|
549
498
|
|
|
550
499
|
module.exports.__wbg_warn_123db6aa8948382e = function(arg0) {
|
|
551
|
-
console.warn(
|
|
500
|
+
console.warn(arg0);
|
|
552
501
|
};
|
|
553
502
|
|
|
554
503
|
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
555
|
-
const ret = debugString(
|
|
504
|
+
const ret = debugString(arg1);
|
|
556
505
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
557
506
|
const len1 = WASM_VECTOR_LEN;
|
|
558
507
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
559
508
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
560
509
|
};
|
|
561
510
|
|
|
562
|
-
module.exports.
|
|
563
|
-
const
|
|
564
|
-
|
|
511
|
+
module.exports.__wbindgen_init_externref_table = function() {
|
|
512
|
+
const table = wasm.__wbindgen_export_3;
|
|
513
|
+
const offset = table.grow(4);
|
|
514
|
+
table.set(0, undefined);
|
|
515
|
+
table.set(offset + 0, undefined);
|
|
516
|
+
table.set(offset + 1, null);
|
|
517
|
+
table.set(offset + 2, true);
|
|
518
|
+
table.set(offset + 3, false);
|
|
519
|
+
;
|
|
565
520
|
};
|
|
566
521
|
|
|
567
|
-
module.exports.
|
|
568
|
-
|
|
522
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
523
|
+
const ret = arg0;
|
|
524
|
+
return ret;
|
|
569
525
|
};
|
|
570
526
|
|
|
571
527
|
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
572
528
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
573
|
-
return
|
|
529
|
+
return ret;
|
|
574
530
|
};
|
|
575
531
|
|
|
576
532
|
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
Binary file
|