qlue-ls 0.20.1 → 0.20.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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Ioannis Nezis <ioannis@nezis.de>"
6
6
  ],
7
7
  "description": "A language server for SPARQL",
8
- "version": "0.20.1",
8
+ "version": "0.20.3",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export function format_raw(text: string): string;
3
4
  export function init_language_server(writer: WritableStreamDefaultWriter): Server;
4
5
  export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
5
- export function format_raw(text: string): string;
6
6
  export function determine_operation_type(input: string): string;
7
7
  export function get_parse_tree(input: string, offset: number): any;
8
8
  export class Server {
@@ -15,22 +15,22 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
15
15
 
16
16
  export interface InitOutput {
17
17
  readonly memory: WebAssembly.Memory;
18
- readonly init_language_server: (a: any) => number;
19
- readonly listen: (a: number, b: any) => any;
20
18
  readonly __wbg_server_free: (a: number, b: number) => void;
21
19
  readonly format_raw: (a: number, b: number) => [number, number, number, number];
20
+ readonly init_language_server: (a: any) => number;
21
+ readonly listen: (a: number, b: any) => any;
22
22
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
23
  readonly get_parse_tree: (a: number, b: number, c: number) => any;
24
+ readonly wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6: (a: number, b: number, c: any) => void;
25
+ readonly wasm_bindgen__closure__destroy__h7f6f00ca22d0166f: (a: number, b: number) => void;
26
+ readonly wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89: (a: number, b: number, c: any, d: any) => void;
24
27
  readonly __wbindgen_malloc: (a: number, b: number) => number;
25
28
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
26
29
  readonly __wbindgen_exn_store: (a: number) => void;
27
30
  readonly __externref_table_alloc: () => number;
28
- readonly __wbindgen_export_4: WebAssembly.Table;
29
- readonly __wbindgen_export_5: WebAssembly.Table;
31
+ readonly __wbindgen_externrefs: WebAssembly.Table;
30
32
  readonly __externref_table_dealloc: (a: number) => void;
31
33
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
32
- readonly closure1392_externref_shim: (a: number, b: number, c: any) => void;
33
- readonly closure1926_externref_shim: (a: number, b: number, c: any, d: any) => void;
34
34
  readonly __wbindgen_start: () => void;
35
35
  }
36
36
 
package/qlue_ls.js CHANGED
@@ -93,30 +93,10 @@ function getDataViewMemory0() {
93
93
  return cachedDataViewMemory0;
94
94
  }
95
95
 
96
- function addToExternrefTable0(obj) {
97
- const idx = wasm.__externref_table_alloc();
98
- wasm.__wbindgen_export_4.set(idx, obj);
99
- return idx;
100
- }
101
-
102
- function handleError(f, args) {
103
- try {
104
- return f.apply(this, args);
105
- } catch (e) {
106
- const idx = addToExternrefTable0(e);
107
- wasm.__wbindgen_exn_store(idx);
108
- }
109
- }
110
-
111
96
  function isLikeNone(x) {
112
97
  return x === undefined || x === null;
113
98
  }
114
99
 
115
- function getArrayU8FromWasm0(ptr, len) {
116
- ptr = ptr >>> 0;
117
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
118
- }
119
-
120
100
  function debugString(val) {
121
101
  // primitive types
122
102
  const type = typeof val;
@@ -182,13 +162,29 @@ function debugString(val) {
182
162
  return className;
183
163
  }
184
164
 
165
+ function addToExternrefTable0(obj) {
166
+ const idx = wasm.__externref_table_alloc();
167
+ wasm.__wbindgen_externrefs.set(idx, obj);
168
+ return idx;
169
+ }
170
+
171
+ function handleError(f, args) {
172
+ try {
173
+ return f.apply(this, args);
174
+ } catch (e) {
175
+ const idx = addToExternrefTable0(e);
176
+ wasm.__wbindgen_exn_store(idx);
177
+ }
178
+ }
179
+
180
+ function getArrayU8FromWasm0(ptr, len) {
181
+ ptr = ptr >>> 0;
182
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
183
+ }
184
+
185
185
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
186
  ? { register: () => {}, unregister: () => {} }
187
- : new FinalizationRegistry(
188
- state => {
189
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
190
- }
191
- );
187
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
192
188
 
193
189
  function makeMutClosure(arg0, arg1, dtor, f) {
194
190
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
@@ -203,46 +199,23 @@ function makeMutClosure(arg0, arg1, dtor, f) {
203
199
  try {
204
200
  return f(a, state.b, ...args);
205
201
  } finally {
206
- if (--state.cnt === 0) {
207
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
208
- CLOSURE_DTORS.unregister(state);
209
- } else {
210
- state.a = a;
211
- }
202
+ state.a = a;
203
+ real._wbg_cb_unref();
204
+ }
205
+ };
206
+ real._wbg_cb_unref = () => {
207
+ if (--state.cnt === 0) {
208
+ state.dtor(state.a, state.b);
209
+ state.a = 0;
210
+ CLOSURE_DTORS.unregister(state);
212
211
  }
213
212
  };
214
- real.original = state;
215
213
  CLOSURE_DTORS.register(real, state, state);
216
214
  return real;
217
215
  }
218
- /**
219
- * @param {WritableStreamDefaultWriter} writer
220
- * @returns {Server}
221
- */
222
- export function init_language_server(writer) {
223
- const ret = wasm.init_language_server(writer);
224
- return Server.__wrap(ret);
225
- }
226
-
227
- function _assertClass(instance, klass) {
228
- if (!(instance instanceof klass)) {
229
- throw new Error(`expected instance of ${klass.name}`);
230
- }
231
- }
232
- /**
233
- * @param {Server} server
234
- * @param {ReadableStreamDefaultReader} reader
235
- * @returns {Promise<void>}
236
- */
237
- export function listen(server, reader) {
238
- _assertClass(server, Server);
239
- var ptr0 = server.__destroy_into_raw();
240
- const ret = wasm.listen(ptr0, reader);
241
- return ret;
242
- }
243
216
 
244
217
  function takeFromExternrefTable0(idx) {
245
- const value = wasm.__wbindgen_export_4.get(idx);
218
+ const value = wasm.__wbindgen_externrefs.get(idx);
246
219
  wasm.__externref_table_dealloc(idx);
247
220
  return value;
248
221
  }
@@ -271,6 +244,32 @@ export function format_raw(text) {
271
244
  }
272
245
  }
273
246
 
247
+ /**
248
+ * @param {WritableStreamDefaultWriter} writer
249
+ * @returns {Server}
250
+ */
251
+ export function init_language_server(writer) {
252
+ const ret = wasm.init_language_server(writer);
253
+ return Server.__wrap(ret);
254
+ }
255
+
256
+ function _assertClass(instance, klass) {
257
+ if (!(instance instanceof klass)) {
258
+ throw new Error(`expected instance of ${klass.name}`);
259
+ }
260
+ }
261
+ /**
262
+ * @param {Server} server
263
+ * @param {ReadableStreamDefaultReader} reader
264
+ * @returns {Promise<void>}
265
+ */
266
+ export function listen(server, reader) {
267
+ _assertClass(server, Server);
268
+ var ptr0 = server.__destroy_into_raw();
269
+ const ret = wasm.listen(ptr0, reader);
270
+ return ret;
271
+ }
272
+
274
273
  /**
275
274
  * @param {string} input
276
275
  * @returns {string}
@@ -302,12 +301,12 @@ export function get_parse_tree(input, offset) {
302
301
  return ret;
303
302
  }
304
303
 
305
- function __wbg_adapter_6(arg0, arg1, arg2) {
306
- wasm.closure1392_externref_shim(arg0, arg1, arg2);
304
+ function wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2) {
305
+ wasm.wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2);
307
306
  }
308
307
 
309
- function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
310
- wasm.closure1926_externref_shim(arg0, arg1, arg2, arg3);
308
+ function wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3) {
309
+ wasm.wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3);
311
310
  }
312
311
 
313
312
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -378,11 +377,11 @@ async function __wbg_load(module, imports) {
378
377
  function __wbg_get_imports() {
379
378
  const imports = {};
380
379
  imports.wbg = {};
381
- imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
380
+ imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
382
381
  const ret = Error(getStringFromWasm0(arg0, arg1));
383
382
  return ret;
384
383
  };
385
- imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
384
+ imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
386
385
  const ret = Number(arg0);
387
386
  return ret;
388
387
  };
@@ -393,51 +392,108 @@ function __wbg_get_imports() {
393
392
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
394
393
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
395
394
  };
396
- imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
397
- const ret = arg0.call(arg1);
395
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
396
+ const v = arg0;
397
+ const ret = typeof(v) === 'boolean' ? v : undefined;
398
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
399
+ };
400
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
401
+ const ret = debugString(arg1);
402
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
+ const len1 = WASM_VECTOR_LEN;
404
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
405
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
406
+ };
407
+ imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
408
+ const ret = arg0 in arg1;
398
409
  return ret;
399
- }, arguments) };
400
- imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
410
+ };
411
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
412
+ const ret = typeof(arg0) === 'function';
413
+ return ret;
414
+ };
415
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
416
+ const val = arg0;
417
+ const ret = typeof(val) === 'object' && val !== null;
418
+ return ret;
419
+ };
420
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
421
+ const ret = typeof(arg0) === 'string';
422
+ return ret;
423
+ };
424
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
425
+ const ret = arg0 === undefined;
426
+ return ret;
427
+ };
428
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
429
+ const ret = arg0 == arg1;
430
+ return ret;
431
+ };
432
+ imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
433
+ const obj = arg1;
434
+ const ret = typeof(obj) === 'number' ? obj : undefined;
435
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
436
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
437
+ };
438
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
439
+ const obj = arg1;
440
+ const ret = typeof(obj) === 'string' ? obj : undefined;
441
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
442
+ var len1 = WASM_VECTOR_LEN;
443
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
444
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
445
+ };
446
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
447
+ throw new Error(getStringFromWasm0(arg0, arg1));
448
+ };
449
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
450
+ arg0._wbg_cb_unref();
451
+ };
452
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
401
453
  const ret = arg0.call(arg1, arg2);
402
454
  return ret;
403
455
  }, arguments) };
404
- imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
456
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
457
+ const ret = arg0.call(arg1);
458
+ return ret;
459
+ }, arguments) };
460
+ imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
405
461
  console.debug(arg0, arg1, arg2, arg3);
406
462
  };
407
- imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
463
+ imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
408
464
  const ret = Object.entries(arg0);
409
465
  return ret;
410
466
  };
411
- imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
412
- console.error(arg0, arg1, arg2, arg3);
413
- };
414
- imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
467
+ imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
415
468
  console.error(arg0);
416
469
  };
417
- imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
470
+ imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
471
+ console.error(arg0, arg1, arg2, arg3);
472
+ };
473
+ imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
418
474
  const ret = arg0.fetch(arg1);
419
475
  return ret;
420
476
  };
421
- imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
477
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
422
478
  const ret = arg0[arg1 >>> 0];
423
479
  return ret;
424
480
  };
425
- imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
481
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
426
482
  const ret = Reflect.get(arg0, arg1);
427
483
  return ret;
428
484
  }, arguments) };
429
- imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
485
+ imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
430
486
  const ret = arg0[arg1];
431
487
  return ret;
432
488
  };
433
- imports.wbg.__wbg_headers_af04c3eb495104ed = function(arg0) {
489
+ imports.wbg.__wbg_headers_7ae6dbb1272f8fc6 = function(arg0) {
434
490
  const ret = arg0.headers;
435
491
  return ret;
436
492
  };
437
- imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
493
+ imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
438
494
  console.info(arg0, arg1, arg2, arg3);
439
495
  };
440
- imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
496
+ imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
441
497
  let result;
442
498
  try {
443
499
  result = arg0 instanceof ArrayBuffer;
@@ -447,7 +503,7 @@ function __wbg_get_imports() {
447
503
  const ret = result;
448
504
  return ret;
449
505
  };
450
- imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
506
+ imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
451
507
  let result;
452
508
  try {
453
509
  result = arg0 instanceof Response;
@@ -457,7 +513,7 @@ function __wbg_get_imports() {
457
513
  const ret = result;
458
514
  return ret;
459
515
  };
460
- imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
516
+ imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
461
517
  let result;
462
518
  try {
463
519
  result = arg0 instanceof Uint8Array;
@@ -467,41 +523,37 @@ function __wbg_get_imports() {
467
523
  const ret = result;
468
524
  return ret;
469
525
  };
470
- imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
526
+ imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
471
527
  const ret = Number.isSafeInteger(arg0);
472
528
  return ret;
473
529
  };
474
- imports.wbg.__wbg_json_267c5cee469b58ab = function() { return handleError(function (arg0) {
530
+ imports.wbg.__wbg_json_5d2ba74e315ef6e6 = function() { return handleError(function (arg0) {
475
531
  const ret = arg0.json();
476
532
  return ret;
477
533
  }, arguments) };
478
- imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
534
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
479
535
  const ret = arg0.length;
480
536
  return ret;
481
537
  };
482
- imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
538
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
483
539
  const ret = arg0.length;
484
540
  return ret;
485
541
  };
486
- imports.wbg.__wbg_log_ddbf5bc3d4dae44c = function(arg0, arg1, arg2, arg3) {
542
+ imports.wbg.__wbg_log_45eb3a49e7cdcb64 = function(arg0, arg1, arg2, arg3) {
487
543
  console.log(arg0, arg1, arg2, arg3);
488
544
  };
489
- imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
545
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
490
546
  const ret = new Object();
491
547
  return ret;
492
548
  };
493
- imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
494
- const ret = new Array();
495
- return ret;
496
- };
497
- imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
549
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
498
550
  try {
499
551
  var state0 = {a: arg0, b: arg1};
500
552
  var cb0 = (arg0, arg1) => {
501
553
  const a = state0.a;
502
554
  state0.a = 0;
503
555
  try {
504
- return __wbg_adapter_94(a, state0.b, arg0, arg1);
556
+ return wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(a, state0.b, arg0, arg1);
505
557
  } finally {
506
558
  state0.a = a;
507
559
  }
@@ -512,174 +564,115 @@ function __wbg_get_imports() {
512
564
  state0.a = state0.b = 0;
513
565
  }
514
566
  };
515
- imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
567
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
516
568
  const ret = new Uint8Array(arg0);
517
569
  return ret;
518
570
  };
519
- imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
571
+ imports.wbg.__wbg_new_e17d9f43105b08be = function() {
572
+ const ret = new Array();
573
+ return ret;
574
+ };
575
+ imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
520
576
  const ret = new Function(getStringFromWasm0(arg0, arg1));
521
577
  return ret;
522
578
  };
523
- imports.wbg.__wbg_newwithargs_b8065bb443501079 = function(arg0, arg1, arg2, arg3) {
579
+ imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
524
580
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
525
581
  return ret;
526
582
  };
527
- imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
583
+ imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
528
584
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
529
585
  return ret;
530
586
  }, arguments) };
531
- imports.wbg.__wbg_now_886b39d7ec380719 = function(arg0) {
587
+ imports.wbg.__wbg_now_f5ba683d8ce2c571 = function(arg0) {
532
588
  const ret = arg0.now();
533
589
  return ret;
534
590
  };
535
- imports.wbg.__wbg_ok_2eac216b65d90573 = function(arg0) {
591
+ imports.wbg.__wbg_ok_5749966cb2b8535e = function(arg0) {
536
592
  const ret = arg0.ok;
537
593
  return ret;
538
594
  };
539
- imports.wbg.__wbg_performance_b1fe690813bd12a2 = function(arg0) {
595
+ imports.wbg.__wbg_performance_68c7f44d89a99380 = function(arg0) {
540
596
  const ret = arg0.performance;
541
597
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
542
598
  };
543
- imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
599
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
544
600
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
545
601
  };
546
- imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
602
+ imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
547
603
  const ret = arg0.push(arg1);
548
604
  return ret;
549
605
  };
550
- imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
551
- queueMicrotask(arg0);
552
- };
553
- imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
606
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
554
607
  const ret = arg0.queueMicrotask;
555
608
  return ret;
556
609
  };
557
- imports.wbg.__wbg_read_bc925c758aa4d897 = function(arg0) {
610
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
611
+ queueMicrotask(arg0);
612
+ };
613
+ imports.wbg.__wbg_read_48f1593df542f968 = function(arg0) {
558
614
  const ret = arg0.read();
559
615
  return ret;
560
616
  };
561
- imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
617
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
562
618
  const ret = Promise.resolve(arg0);
563
619
  return ret;
564
620
  };
565
- imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
621
+ imports.wbg.__wbg_set_8b342d8cd9d2a02c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
566
622
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
567
623
  }, arguments) };
568
- imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
624
+ imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
625
+ arg0.body = arg1;
626
+ };
627
+ imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
569
628
  const ret = Reflect.set(arg0, arg1, arg2);
570
629
  return ret;
571
630
  }, arguments) };
572
- imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
573
- arg0.body = arg1;
574
- };
575
- imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
631
+ imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
576
632
  arg0.method = getStringFromWasm0(arg1, arg2);
577
633
  };
578
- imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
634
+ imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
579
635
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
580
636
  };
581
- imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
637
+ imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
582
638
  arg0.signal = arg1;
583
639
  };
584
- imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
640
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
585
641
  const ret = typeof global === 'undefined' ? null : global;
586
642
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
587
643
  };
588
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
644
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
589
645
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
590
646
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
591
647
  };
592
- imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
648
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
593
649
  const ret = typeof self === 'undefined' ? null : self;
594
650
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
595
651
  };
596
- imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
652
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
597
653
  const ret = typeof window === 'undefined' ? null : window;
598
654
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
599
655
  };
600
- imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
656
+ imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
601
657
  const ret = arg0.text();
602
658
  return ret;
603
659
  }, arguments) };
604
- imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
605
- const ret = arg0.then(arg1, arg2);
660
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
661
+ const ret = arg0.then(arg1);
606
662
  return ret;
607
663
  };
608
- imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
609
- const ret = arg0.then(arg1);
664
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
665
+ const ret = arg0.then(arg1, arg2);
610
666
  return ret;
611
667
  };
612
- imports.wbg.__wbg_timeout_bb40af0cb18c62cf = function(arg0) {
668
+ imports.wbg.__wbg_timeout_38cc9e1d85d89832 = function(arg0) {
613
669
  const ret = AbortSignal.timeout(arg0 >>> 0);
614
670
  return ret;
615
671
  };
616
- imports.wbg.__wbg_warn_90eb15d986910fe9 = function(arg0, arg1, arg2, arg3) {
672
+ imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
617
673
  console.warn(arg0, arg1, arg2, arg3);
618
674
  };
619
- imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
620
- const v = arg0;
621
- const ret = typeof(v) === 'boolean' ? v : undefined;
622
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
623
- };
624
- imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
625
- const obj = arg0.original;
626
- if (obj.cnt-- == 1) {
627
- obj.a = 0;
628
- return true;
629
- }
630
- const ret = false;
631
- return ret;
632
- };
633
- imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
634
- const ret = debugString(arg1);
635
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
636
- const len1 = WASM_VECTOR_LEN;
637
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
638
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
639
- };
640
- imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
641
- const ret = arg0 in arg1;
642
- return ret;
643
- };
644
- imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
645
- const ret = typeof(arg0) === 'function';
646
- return ret;
647
- };
648
- imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
649
- const val = arg0;
650
- const ret = typeof(val) === 'object' && val !== null;
651
- return ret;
652
- };
653
- imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
654
- const ret = typeof(arg0) === 'string';
655
- return ret;
656
- };
657
- imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
658
- const ret = arg0 === undefined;
659
- return ret;
660
- };
661
- imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
662
- const ret = arg0 == arg1;
663
- return ret;
664
- };
665
- imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
666
- const obj = arg1;
667
- const ret = typeof(obj) === 'number' ? obj : undefined;
668
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
669
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
670
- };
671
- imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
672
- const obj = arg1;
673
- const ret = typeof(obj) === 'string' ? obj : undefined;
674
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
675
- var len1 = WASM_VECTOR_LEN;
676
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
677
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
678
- };
679
- imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
680
- throw new Error(getStringFromWasm0(arg0, arg1));
681
- };
682
- imports.wbg.__wbg_write_2e39e04a4c8c9e9d = function(arg0, arg1) {
675
+ imports.wbg.__wbg_write_5f693b62e780062e = function(arg0, arg1) {
683
676
  const ret = arg0.write(arg1);
684
677
  return ret;
685
678
  };
@@ -688,13 +681,13 @@ function __wbg_get_imports() {
688
681
  const ret = getStringFromWasm0(arg0, arg1);
689
682
  return ret;
690
683
  };
691
- imports.wbg.__wbindgen_cast_7c0064388dae459f = function(arg0, arg1) {
692
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1391, function: Function { arguments: [Externref], shim_idx: 1392, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
693
- const ret = makeMutClosure(arg0, arg1, 1391, __wbg_adapter_6);
684
+ imports.wbg.__wbindgen_cast_65dbcd985d3776e9 = function(arg0, arg1) {
685
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1392, function: Function { arguments: [Externref], shim_idx: 1393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
686
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7f6f00ca22d0166f, wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6);
694
687
  return ret;
695
688
  };
696
689
  imports.wbg.__wbindgen_init_externref_table = function() {
697
- const table = wasm.__wbindgen_export_4;
690
+ const table = wasm.__wbindgen_externrefs;
698
691
  const offset = table.grow(4);
699
692
  table.set(0, undefined);
700
693
  table.set(offset + 0, undefined);
@@ -707,10 +700,6 @@ function __wbg_get_imports() {
707
700
  return imports;
708
701
  }
709
702
 
710
- function __wbg_init_memory(imports, memory) {
711
-
712
- }
713
-
714
703
  function __wbg_finalize_init(instance, module) {
715
704
  wasm = instance.exports;
716
705
  __wbg_init.__wbindgen_wasm_module = module;
@@ -736,8 +725,6 @@ function initSync(module) {
736
725
 
737
726
  const imports = __wbg_get_imports();
738
727
 
739
- __wbg_init_memory(imports);
740
-
741
728
  if (!(module instanceof WebAssembly.Module)) {
742
729
  module = new WebAssembly.Module(module);
743
730
  }
@@ -768,8 +755,6 @@ async function __wbg_init(module_or_path) {
768
755
  module_or_path = fetch(module_or_path);
769
756
  }
770
757
 
771
- __wbg_init_memory(imports);
772
-
773
758
  const { instance, module } = await __wbg_load(await module_or_path, imports);
774
759
 
775
760
  return __wbg_finalize_init(instance, module);
package/qlue_ls_bg.wasm CHANGED
Binary file