qlue-ls 0.21.0 → 0.23.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/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.21.0",
8
+ "version": "0.23.0",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -1,40 +1,47 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
4
- export function init_language_server(writer: WritableStreamDefaultWriter): Server;
5
- export function format_raw(text: string): string;
6
- export function determine_operation_type(input: string): string;
7
- export function get_parse_tree(input: string, offset: number): any;
3
+
8
4
  export class Server {
9
5
  private constructor();
10
6
  free(): void;
11
7
  [Symbol.dispose](): void;
12
8
  }
13
9
 
10
+ export function determine_operation_type(input: string): string;
11
+
12
+ export function format_raw(text: string): string;
13
+
14
+ export function get_parse_tree(input: string, offset: number): any;
15
+
16
+ export function init_language_server(writer: WritableStreamDefaultWriter): Server;
17
+
18
+ export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
19
+
14
20
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
15
21
 
16
22
  export interface InitOutput {
17
23
  readonly memory: WebAssembly.Memory;
24
+ readonly format_raw: (a: number, b: number) => [number, number, number, number];
18
25
  readonly __wbg_server_free: (a: number, b: number) => void;
19
26
  readonly init_language_server: (a: any) => number;
20
27
  readonly listen: (a: number, b: any) => any;
21
- readonly format_raw: (a: number, b: number) => [number, number, number, number];
22
28
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
29
  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;
30
+ readonly wasm_bindgen__convert__closures_____invoke__hf060df46011f9509: (a: number, b: number, c: any) => void;
31
+ readonly wasm_bindgen__closure__destroy__h28325e4e12848b80: (a: number, b: number) => void;
32
+ readonly wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6: (a: number, b: number, c: any, d: any) => void;
27
33
  readonly __wbindgen_malloc: (a: number, b: number) => number;
28
34
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
29
- readonly __wbindgen_exn_store: (a: number) => void;
30
35
  readonly __externref_table_alloc: () => number;
31
36
  readonly __wbindgen_externrefs: WebAssembly.Table;
37
+ readonly __wbindgen_exn_store: (a: number) => void;
32
38
  readonly __externref_table_dealloc: (a: number) => void;
33
39
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
34
40
  readonly __wbindgen_start: () => void;
35
41
  }
36
42
 
37
43
  export type SyncInitInput = BufferSource | WebAssembly.Module;
44
+
38
45
  /**
39
46
  * Instantiates the given `module`, which can either be bytes or
40
47
  * a precompiled `WebAssembly.Module`.
package/qlue_ls.js CHANGED
@@ -1,101 +1,20 @@
1
1
  let wasm;
2
2
 
3
- let cachedUint8ArrayMemory0 = null;
4
-
5
- function getUint8ArrayMemory0() {
6
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
7
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
8
- }
9
- return cachedUint8ArrayMemory0;
10
- }
11
-
12
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
13
-
14
- cachedTextDecoder.decode();
15
-
16
- const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
- let numBytesDecoded = 0;
18
- function decodeText(ptr, len) {
19
- numBytesDecoded += len;
20
- if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
22
- cachedTextDecoder.decode();
23
- numBytesDecoded = len;
24
- }
25
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
- }
27
-
28
- function getStringFromWasm0(ptr, len) {
29
- ptr = ptr >>> 0;
30
- return decodeText(ptr, len);
31
- }
32
-
33
- let WASM_VECTOR_LEN = 0;
34
-
35
- const cachedTextEncoder = new TextEncoder();
36
-
37
- if (!('encodeInto' in cachedTextEncoder)) {
38
- cachedTextEncoder.encodeInto = function (arg, view) {
39
- const buf = cachedTextEncoder.encode(arg);
40
- view.set(buf);
41
- return {
42
- read: arg.length,
43
- written: buf.length
44
- };
45
- }
46
- }
47
-
48
- function passStringToWasm0(arg, malloc, realloc) {
49
-
50
- if (realloc === undefined) {
51
- const buf = cachedTextEncoder.encode(arg);
52
- const ptr = malloc(buf.length, 1) >>> 0;
53
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
54
- WASM_VECTOR_LEN = buf.length;
55
- return ptr;
56
- }
57
-
58
- let len = arg.length;
59
- let ptr = malloc(len, 1) >>> 0;
60
-
61
- const mem = getUint8ArrayMemory0();
62
-
63
- let offset = 0;
64
-
65
- for (; offset < len; offset++) {
66
- const code = arg.charCodeAt(offset);
67
- if (code > 0x7F) break;
68
- mem[ptr + offset] = code;
69
- }
70
-
71
- if (offset !== len) {
72
- if (offset !== 0) {
73
- arg = arg.slice(offset);
74
- }
75
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
76
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
77
- const ret = cachedTextEncoder.encodeInto(arg, view);
78
-
79
- offset += ret.written;
80
- ptr = realloc(ptr, len, offset, 1) >>> 0;
81
- }
82
-
83
- WASM_VECTOR_LEN = offset;
84
- return ptr;
3
+ function addToExternrefTable0(obj) {
4
+ const idx = wasm.__externref_table_alloc();
5
+ wasm.__wbindgen_externrefs.set(idx, obj);
6
+ return idx;
85
7
  }
86
8
 
87
- let cachedDataViewMemory0 = null;
88
-
89
- function getDataViewMemory0() {
90
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
91
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
9
+ function _assertClass(instance, klass) {
10
+ if (!(instance instanceof klass)) {
11
+ throw new Error(`expected instance of ${klass.name}`);
92
12
  }
93
- return cachedDataViewMemory0;
94
13
  }
95
14
 
96
- function isLikeNone(x) {
97
- return x === undefined || x === null;
98
- }
15
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
16
+ ? { register: () => {}, unregister: () => {} }
17
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
99
18
 
100
19
  function debugString(val) {
101
20
  // primitive types
@@ -162,10 +81,30 @@ function debugString(val) {
162
81
  return className;
163
82
  }
164
83
 
165
- function addToExternrefTable0(obj) {
166
- const idx = wasm.__externref_table_alloc();
167
- wasm.__wbindgen_externrefs.set(idx, obj);
168
- return idx;
84
+ function getArrayU8FromWasm0(ptr, len) {
85
+ ptr = ptr >>> 0;
86
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
87
+ }
88
+
89
+ let cachedDataViewMemory0 = null;
90
+ function getDataViewMemory0() {
91
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
92
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
93
+ }
94
+ return cachedDataViewMemory0;
95
+ }
96
+
97
+ function getStringFromWasm0(ptr, len) {
98
+ ptr = ptr >>> 0;
99
+ return decodeText(ptr, len);
100
+ }
101
+
102
+ let cachedUint8ArrayMemory0 = null;
103
+ function getUint8ArrayMemory0() {
104
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
105
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
106
+ }
107
+ return cachedUint8ArrayMemory0;
169
108
  }
170
109
 
171
110
  function handleError(f, args) {
@@ -177,15 +116,10 @@ function handleError(f, args) {
177
116
  }
178
117
  }
179
118
 
180
- function getArrayU8FromWasm0(ptr, len) {
181
- ptr = ptr >>> 0;
182
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
119
+ function isLikeNone(x) {
120
+ return x === undefined || x === null;
183
121
  }
184
122
 
185
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
- ? { register: () => {}, unregister: () => {} }
187
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
188
-
189
123
  function makeMutClosure(arg0, arg1, dtor, f) {
190
124
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
191
125
  const real = (...args) => {
@@ -214,30 +148,41 @@ function makeMutClosure(arg0, arg1, dtor, f) {
214
148
  return real;
215
149
  }
216
150
 
217
- function _assertClass(instance, klass) {
218
- if (!(instance instanceof klass)) {
219
- throw new Error(`expected instance of ${klass.name}`);
151
+ function passStringToWasm0(arg, malloc, realloc) {
152
+ if (realloc === undefined) {
153
+ const buf = cachedTextEncoder.encode(arg);
154
+ const ptr = malloc(buf.length, 1) >>> 0;
155
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
156
+ WASM_VECTOR_LEN = buf.length;
157
+ return ptr;
220
158
  }
221
- }
222
- /**
223
- * @param {Server} server
224
- * @param {ReadableStreamDefaultReader} reader
225
- * @returns {Promise<void>}
226
- */
227
- export function listen(server, reader) {
228
- _assertClass(server, Server);
229
- var ptr0 = server.__destroy_into_raw();
230
- const ret = wasm.listen(ptr0, reader);
231
- return ret;
232
- }
233
159
 
234
- /**
235
- * @param {WritableStreamDefaultWriter} writer
236
- * @returns {Server}
237
- */
238
- export function init_language_server(writer) {
239
- const ret = wasm.init_language_server(writer);
240
- return Server.__wrap(ret);
160
+ let len = arg.length;
161
+ let ptr = malloc(len, 1) >>> 0;
162
+
163
+ const mem = getUint8ArrayMemory0();
164
+
165
+ let offset = 0;
166
+
167
+ for (; offset < len; offset++) {
168
+ const code = arg.charCodeAt(offset);
169
+ if (code > 0x7F) break;
170
+ mem[ptr + offset] = code;
171
+ }
172
+ if (offset !== len) {
173
+ if (offset !== 0) {
174
+ arg = arg.slice(offset);
175
+ }
176
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
177
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
178
+ const ret = cachedTextEncoder.encodeInto(arg, view);
179
+
180
+ offset += ret.written;
181
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
182
+ }
183
+
184
+ WASM_VECTOR_LEN = offset;
185
+ return ptr;
241
186
  }
242
187
 
243
188
  function takeFromExternrefTable0(idx) {
@@ -245,6 +190,90 @@ function takeFromExternrefTable0(idx) {
245
190
  wasm.__externref_table_dealloc(idx);
246
191
  return value;
247
192
  }
193
+
194
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
195
+ cachedTextDecoder.decode();
196
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
197
+ let numBytesDecoded = 0;
198
+ function decodeText(ptr, len) {
199
+ numBytesDecoded += len;
200
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
201
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
202
+ cachedTextDecoder.decode();
203
+ numBytesDecoded = len;
204
+ }
205
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
206
+ }
207
+
208
+ const cachedTextEncoder = new TextEncoder();
209
+
210
+ if (!('encodeInto' in cachedTextEncoder)) {
211
+ cachedTextEncoder.encodeInto = function (arg, view) {
212
+ const buf = cachedTextEncoder.encode(arg);
213
+ view.set(buf);
214
+ return {
215
+ read: arg.length,
216
+ written: buf.length
217
+ };
218
+ }
219
+ }
220
+
221
+ let WASM_VECTOR_LEN = 0;
222
+
223
+ function wasm_bindgen__convert__closures_____invoke__hf060df46011f9509(arg0, arg1, arg2) {
224
+ wasm.wasm_bindgen__convert__closures_____invoke__hf060df46011f9509(arg0, arg1, arg2);
225
+ }
226
+
227
+ function wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(arg0, arg1, arg2, arg3) {
228
+ wasm.wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(arg0, arg1, arg2, arg3);
229
+ }
230
+
231
+ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
232
+
233
+ const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
234
+ ? { register: () => {}, unregister: () => {} }
235
+ : new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr >>> 0, 1));
236
+
237
+ export class Server {
238
+ static __wrap(ptr) {
239
+ ptr = ptr >>> 0;
240
+ const obj = Object.create(Server.prototype);
241
+ obj.__wbg_ptr = ptr;
242
+ ServerFinalization.register(obj, obj.__wbg_ptr, obj);
243
+ return obj;
244
+ }
245
+ __destroy_into_raw() {
246
+ const ptr = this.__wbg_ptr;
247
+ this.__wbg_ptr = 0;
248
+ ServerFinalization.unregister(this);
249
+ return ptr;
250
+ }
251
+ free() {
252
+ const ptr = this.__destroy_into_raw();
253
+ wasm.__wbg_server_free(ptr, 0);
254
+ }
255
+ }
256
+ if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
257
+
258
+ /**
259
+ * @param {string} input
260
+ * @returns {string}
261
+ */
262
+ export function determine_operation_type(input) {
263
+ let deferred2_0;
264
+ let deferred2_1;
265
+ try {
266
+ const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
267
+ const len0 = WASM_VECTOR_LEN;
268
+ const ret = wasm.determine_operation_type(ptr0, len0);
269
+ deferred2_0 = ret[0];
270
+ deferred2_1 = ret[1];
271
+ return getStringFromWasm0(ret[0], ret[1]);
272
+ } finally {
273
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
274
+ }
275
+ }
276
+
248
277
  /**
249
278
  * @param {string} text
250
279
  * @returns {string}
@@ -270,25 +299,6 @@ export function format_raw(text) {
270
299
  }
271
300
  }
272
301
 
273
- /**
274
- * @param {string} input
275
- * @returns {string}
276
- */
277
- export function determine_operation_type(input) {
278
- let deferred2_0;
279
- let deferred2_1;
280
- try {
281
- const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
282
- const len0 = WASM_VECTOR_LEN;
283
- const ret = wasm.determine_operation_type(ptr0, len0);
284
- deferred2_0 = ret[0];
285
- deferred2_1 = ret[1];
286
- return getStringFromWasm0(ret[0], ret[1]);
287
- } finally {
288
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
289
- }
290
- }
291
-
292
302
  /**
293
303
  * @param {string} input
294
304
  * @param {number} offset
@@ -301,43 +311,26 @@ export function get_parse_tree(input, offset) {
301
311
  return ret;
302
312
  }
303
313
 
304
- function wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2) {
305
- wasm.wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2);
306
- }
307
-
308
- function wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3) {
309
- wasm.wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3);
314
+ /**
315
+ * @param {WritableStreamDefaultWriter} writer
316
+ * @returns {Server}
317
+ */
318
+ export function init_language_server(writer) {
319
+ const ret = wasm.init_language_server(writer);
320
+ return Server.__wrap(ret);
310
321
  }
311
322
 
312
- const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
313
-
314
- const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
315
- ? { register: () => {}, unregister: () => {} }
316
- : new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr >>> 0, 1));
317
-
318
- export class Server {
319
-
320
- static __wrap(ptr) {
321
- ptr = ptr >>> 0;
322
- const obj = Object.create(Server.prototype);
323
- obj.__wbg_ptr = ptr;
324
- ServerFinalization.register(obj, obj.__wbg_ptr, obj);
325
- return obj;
326
- }
327
-
328
- __destroy_into_raw() {
329
- const ptr = this.__wbg_ptr;
330
- this.__wbg_ptr = 0;
331
- ServerFinalization.unregister(this);
332
- return ptr;
333
- }
334
-
335
- free() {
336
- const ptr = this.__destroy_into_raw();
337
- wasm.__wbg_server_free(ptr, 0);
338
- }
323
+ /**
324
+ * @param {Server} server
325
+ * @param {ReadableStreamDefaultReader} reader
326
+ * @returns {Promise<void>}
327
+ */
328
+ export function listen(server, reader) {
329
+ _assertClass(server, Server);
330
+ var ptr0 = server.__destroy_into_raw();
331
+ const ret = wasm.listen(ptr0, reader);
332
+ return ret;
339
333
  }
340
- if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
341
334
 
342
335
  const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
343
336
 
@@ -346,7 +339,6 @@ async function __wbg_load(module, imports) {
346
339
  if (typeof WebAssembly.instantiateStreaming === 'function') {
347
340
  try {
348
341
  return await WebAssembly.instantiateStreaming(module, imports);
349
-
350
342
  } catch (e) {
351
343
  const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
352
344
 
@@ -361,13 +353,11 @@ async function __wbg_load(module, imports) {
361
353
 
362
354
  const bytes = await module.arrayBuffer();
363
355
  return await WebAssembly.instantiate(bytes, imports);
364
-
365
356
  } else {
366
357
  const instance = await WebAssembly.instantiate(module, imports);
367
358
 
368
359
  if (instance instanceof WebAssembly.Instance) {
369
360
  return { instance, module };
370
-
371
361
  } else {
372
362
  return instance;
373
363
  }
@@ -377,11 +367,11 @@ async function __wbg_load(module, imports) {
377
367
  function __wbg_get_imports() {
378
368
  const imports = {};
379
369
  imports.wbg = {};
380
- imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
370
+ imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
381
371
  const ret = Error(getStringFromWasm0(arg0, arg1));
382
372
  return ret;
383
373
  };
384
- imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
374
+ imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
385
375
  const ret = Number(arg0);
386
376
  return ret;
387
377
  };
@@ -392,50 +382,50 @@ function __wbg_get_imports() {
392
382
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
393
383
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
394
384
  };
395
- imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
385
+ imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
396
386
  const v = arg0;
397
387
  const ret = typeof(v) === 'boolean' ? v : undefined;
398
388
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
399
389
  };
400
- imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
390
+ imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
401
391
  const ret = debugString(arg1);
402
392
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
393
  const len1 = WASM_VECTOR_LEN;
404
394
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
405
395
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
406
396
  };
407
- imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
397
+ imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
408
398
  const ret = arg0 in arg1;
409
399
  return ret;
410
400
  };
411
- imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
401
+ imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
412
402
  const ret = typeof(arg0) === 'function';
413
403
  return ret;
414
404
  };
415
- imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
405
+ imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
416
406
  const val = arg0;
417
407
  const ret = typeof(val) === 'object' && val !== null;
418
408
  return ret;
419
409
  };
420
- imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
410
+ imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
421
411
  const ret = typeof(arg0) === 'string';
422
412
  return ret;
423
413
  };
424
- imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
414
+ imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
425
415
  const ret = arg0 === undefined;
426
416
  return ret;
427
417
  };
428
- imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
418
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
429
419
  const ret = arg0 == arg1;
430
420
  return ret;
431
421
  };
432
- imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
422
+ imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
433
423
  const obj = arg1;
434
424
  const ret = typeof(obj) === 'number' ? obj : undefined;
435
425
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
436
426
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
437
427
  };
438
- imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
428
+ imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
439
429
  const obj = arg1;
440
430
  const ret = typeof(obj) === 'string' ? obj : undefined;
441
431
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -443,42 +433,54 @@ function __wbg_get_imports() {
443
433
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
444
434
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
445
435
  };
446
- imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
436
+ imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
447
437
  throw new Error(getStringFromWasm0(arg0, arg1));
448
438
  };
449
- imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
439
+ imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
450
440
  arg0._wbg_cb_unref();
451
441
  };
452
- imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
442
+ imports.wbg.__wbg_body_947b901c33f7fe32 = function(arg0) {
443
+ const ret = arg0.body;
444
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
445
+ };
446
+ imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
453
447
  const ret = arg0.call(arg1, arg2);
454
448
  return ret;
455
449
  }, arguments) };
456
- imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
450
+ imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
457
451
  const ret = arg0.call(arg1);
458
452
  return ret;
459
453
  }, arguments) };
460
- imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
454
+ imports.wbg.__wbg_debug_9ad80675faf0c9cf = function(arg0, arg1, arg2, arg3) {
461
455
  console.debug(arg0, arg1, arg2, arg3);
462
456
  };
463
- imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
457
+ imports.wbg.__wbg_encodeURIComponent_fe8578929b74aa6c = function(arg0, arg1) {
458
+ const ret = encodeURIComponent(getStringFromWasm0(arg0, arg1));
459
+ return ret;
460
+ };
461
+ imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) {
464
462
  const ret = Object.entries(arg0);
465
463
  return ret;
466
464
  };
467
- imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
465
+ imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) {
468
466
  console.error(arg0);
469
467
  };
470
- imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
468
+ imports.wbg.__wbg_error_ad1ecdacd1bb600d = function(arg0, arg1, arg2, arg3) {
471
469
  console.error(arg0, arg1, arg2, arg3);
472
470
  };
473
- imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
471
+ imports.wbg.__wbg_fetch_90447c28cc0b095e = function(arg0, arg1) {
474
472
  const ret = arg0.fetch(arg1);
475
473
  return ret;
476
474
  };
477
- imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
475
+ imports.wbg.__wbg_getReader_b6676f6d8b326942 = function(arg0) {
476
+ const ret = arg0.getReader();
477
+ return ret;
478
+ };
479
+ imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
478
480
  const ret = arg0[arg1 >>> 0];
479
481
  return ret;
480
482
  };
481
- imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
483
+ imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
482
484
  const ret = Reflect.get(arg0, arg1);
483
485
  return ret;
484
486
  }, arguments) };
@@ -486,14 +488,14 @@ function __wbg_get_imports() {
486
488
  const ret = arg0[arg1];
487
489
  return ret;
488
490
  };
489
- imports.wbg.__wbg_headers_7ae6dbb1272f8fc6 = function(arg0) {
491
+ imports.wbg.__wbg_headers_850c3fb50632ae78 = function(arg0) {
490
492
  const ret = arg0.headers;
491
493
  return ret;
492
494
  };
493
- imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
495
+ imports.wbg.__wbg_info_b7fa8ce2e59d29c6 = function(arg0, arg1, arg2, arg3) {
494
496
  console.info(arg0, arg1, arg2, arg3);
495
497
  };
496
- imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
498
+ imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
497
499
  let result;
498
500
  try {
499
501
  result = arg0 instanceof ArrayBuffer;
@@ -503,7 +505,7 @@ function __wbg_get_imports() {
503
505
  const ret = result;
504
506
  return ret;
505
507
  };
506
- imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
508
+ imports.wbg.__wbg_instanceof_Response_cd74d1c2ac92cb0b = function(arg0) {
507
509
  let result;
508
510
  try {
509
511
  result = arg0 instanceof Response;
@@ -513,7 +515,7 @@ function __wbg_get_imports() {
513
515
  const ret = result;
514
516
  return ret;
515
517
  };
516
- imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
518
+ imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
517
519
  let result;
518
520
  try {
519
521
  result = arg0 instanceof Uint8Array;
@@ -523,37 +525,45 @@ function __wbg_get_imports() {
523
525
  const ret = result;
524
526
  return ret;
525
527
  };
526
- imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
528
+ imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
527
529
  const ret = Number.isSafeInteger(arg0);
528
530
  return ret;
529
531
  };
530
- imports.wbg.__wbg_json_5d2ba74e315ef6e6 = function() { return handleError(function (arg0) {
532
+ imports.wbg.__wbg_json_47d847e3a3f1cf40 = function() { return handleError(function (arg0) {
531
533
  const ret = arg0.json();
532
534
  return ret;
533
535
  }, arguments) };
534
- imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
536
+ imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
535
537
  const ret = arg0.length;
536
538
  return ret;
537
539
  };
538
- imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
540
+ imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
539
541
  const ret = arg0.length;
540
542
  return ret;
541
543
  };
542
- imports.wbg.__wbg_log_45eb3a49e7cdcb64 = function(arg0, arg1, arg2, arg3) {
544
+ imports.wbg.__wbg_log_f614673762e98966 = function(arg0, arg1, arg2, arg3) {
543
545
  console.log(arg0, arg1, arg2, arg3);
544
546
  };
545
- imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
547
+ imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
546
548
  const ret = new Object();
547
549
  return ret;
548
550
  };
549
- imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
551
+ imports.wbg.__wbg_new_25f239778d6112b9 = function() {
552
+ const ret = new Array();
553
+ return ret;
554
+ };
555
+ imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) {
556
+ const ret = new Uint8Array(arg0);
557
+ return ret;
558
+ };
559
+ imports.wbg.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
550
560
  try {
551
561
  var state0 = {a: arg0, b: arg1};
552
562
  var cb0 = (arg0, arg1) => {
553
563
  const a = state0.a;
554
564
  state0.a = 0;
555
565
  try {
556
- return wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(a, state0.b, arg0, arg1);
566
+ return wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(a, state0.b, arg0, arg1);
557
567
  } finally {
558
568
  state0.a = a;
559
569
  }
@@ -564,115 +574,107 @@ function __wbg_get_imports() {
564
574
  state0.a = state0.b = 0;
565
575
  }
566
576
  };
567
- imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
568
- const ret = new Uint8Array(arg0);
569
- return ret;
570
- };
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) {
577
+ imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
576
578
  const ret = new Function(getStringFromWasm0(arg0, arg1));
577
579
  return ret;
578
580
  };
579
- imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
581
+ imports.wbg.__wbg_new_with_args_df9e7125ffe55248 = function(arg0, arg1, arg2, arg3) {
580
582
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
581
583
  return ret;
582
584
  };
583
- imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
585
+ imports.wbg.__wbg_new_with_str_and_init_c5748f76f5108934 = function() { return handleError(function (arg0, arg1, arg2) {
584
586
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
585
587
  return ret;
586
588
  }, arguments) };
587
- imports.wbg.__wbg_now_f5ba683d8ce2c571 = function(arg0) {
589
+ imports.wbg.__wbg_now_8cf15d6e317793e1 = function(arg0) {
588
590
  const ret = arg0.now();
589
591
  return ret;
590
592
  };
591
- imports.wbg.__wbg_ok_5749966cb2b8535e = function(arg0) {
593
+ imports.wbg.__wbg_ok_dd98ecb60d721e20 = function(arg0) {
592
594
  const ret = arg0.ok;
593
595
  return ret;
594
596
  };
595
- imports.wbg.__wbg_performance_68c7f44d89a99380 = function(arg0) {
597
+ imports.wbg.__wbg_performance_64147f039018735c = function(arg0) {
596
598
  const ret = arg0.performance;
597
599
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
598
600
  };
599
- imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
601
+ imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
600
602
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
601
603
  };
602
- imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
604
+ imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
603
605
  const ret = arg0.push(arg1);
604
606
  return ret;
605
607
  };
606
- imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
608
+ imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
607
609
  const ret = arg0.queueMicrotask;
608
610
  return ret;
609
611
  };
610
- imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
612
+ imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
611
613
  queueMicrotask(arg0);
612
614
  };
613
- imports.wbg.__wbg_read_48f1593df542f968 = function(arg0) {
615
+ imports.wbg.__wbg_read_39c4b35efcd03c25 = function(arg0) {
614
616
  const ret = arg0.read();
615
617
  return ret;
616
618
  };
617
- imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
619
+ imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
618
620
  const ret = Promise.resolve(arg0);
619
621
  return ret;
620
622
  };
621
- imports.wbg.__wbg_set_8b342d8cd9d2a02c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
623
+ imports.wbg.__wbg_set_425eb8b710d5beee = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
622
624
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
623
625
  }, arguments) };
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) {
626
+ imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
628
627
  const ret = Reflect.set(arg0, arg1, arg2);
629
628
  return ret;
630
629
  }, arguments) };
631
- imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
630
+ imports.wbg.__wbg_set_body_8e743242d6076a4f = function(arg0, arg1) {
631
+ arg0.body = arg1;
632
+ };
633
+ imports.wbg.__wbg_set_method_76c69e41b3570627 = function(arg0, arg1, arg2) {
632
634
  arg0.method = getStringFromWasm0(arg1, arg2);
633
635
  };
634
- imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
636
+ imports.wbg.__wbg_set_mode_611016a6818fc690 = function(arg0, arg1) {
635
637
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
636
638
  };
637
- imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
639
+ imports.wbg.__wbg_set_signal_e89be862d0091009 = function(arg0, arg1) {
638
640
  arg0.signal = arg1;
639
641
  };
640
- imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
642
+ imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
641
643
  const ret = typeof global === 'undefined' ? null : global;
642
644
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
643
645
  };
644
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
646
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
645
647
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
646
648
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
647
649
  };
648
- imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
650
+ imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
649
651
  const ret = typeof self === 'undefined' ? null : self;
650
652
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
651
653
  };
652
- imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
654
+ imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
653
655
  const ret = typeof window === 'undefined' ? null : window;
654
656
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
655
657
  };
656
- imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
658
+ imports.wbg.__wbg_text_51046bb33d257f63 = function() { return handleError(function (arg0) {
657
659
  const ret = arg0.text();
658
660
  return ret;
659
661
  }, arguments) };
660
- imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
661
- const ret = arg0.then(arg1);
662
+ imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
663
+ const ret = arg0.then(arg1, arg2);
662
664
  return ret;
663
665
  };
664
- imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
665
- const ret = arg0.then(arg1, arg2);
666
+ imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
667
+ const ret = arg0.then(arg1);
666
668
  return ret;
667
669
  };
668
- imports.wbg.__wbg_timeout_38cc9e1d85d89832 = function(arg0) {
670
+ imports.wbg.__wbg_timeout_c214cffbe559e9de = function(arg0) {
669
671
  const ret = AbortSignal.timeout(arg0 >>> 0);
670
672
  return ret;
671
673
  };
672
- imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
674
+ imports.wbg.__wbg_warn_165ef4f6bcfc05e7 = function(arg0, arg1, arg2, arg3) {
673
675
  console.warn(arg0, arg1, arg2, arg3);
674
676
  };
675
- imports.wbg.__wbg_write_5f693b62e780062e = function(arg0, arg1) {
677
+ imports.wbg.__wbg_write_0823b42435137c02 = function(arg0, arg1) {
676
678
  const ret = arg0.write(arg1);
677
679
  return ret;
678
680
  };
@@ -681,9 +683,9 @@ function __wbg_get_imports() {
681
683
  const ret = getStringFromWasm0(arg0, arg1);
682
684
  return ret;
683
685
  };
684
- imports.wbg.__wbindgen_cast_7c0064388dae459f = function(arg0, arg1) {
685
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1391, function: Function { arguments: [Externref], shim_idx: 1392, 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);
686
+ imports.wbg.__wbindgen_cast_7a61becff93cdfdf = function(arg0, arg1) {
687
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1429, function: Function { arguments: [Externref], shim_idx: 1430, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
688
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h28325e4e12848b80, wasm_bindgen__convert__closures_____invoke__hf060df46011f9509);
687
689
  return ret;
688
690
  };
689
691
  imports.wbg.__wbindgen_init_externref_table = function() {
@@ -694,7 +696,6 @@ function __wbg_get_imports() {
694
696
  table.set(offset + 1, null);
695
697
  table.set(offset + 2, true);
696
698
  table.set(offset + 3, false);
697
- ;
698
699
  };
699
700
 
700
701
  return imports;
@@ -724,13 +725,10 @@ function initSync(module) {
724
725
  }
725
726
 
726
727
  const imports = __wbg_get_imports();
727
-
728
728
  if (!(module instanceof WebAssembly.Module)) {
729
729
  module = new WebAssembly.Module(module);
730
730
  }
731
-
732
731
  const instance = new WebAssembly.Instance(module, imports);
733
-
734
732
  return __wbg_finalize_init(instance, module);
735
733
  }
736
734
 
package/qlue_ls_bg.wasm CHANGED
Binary file