barcode-detector 2.1.4 → 2.2.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/dist/es/pure.js CHANGED
@@ -1,188 +1,203 @@
1
- var Ye = (i, f, s) => {
2
- if (!f.has(i))
1
+ var Ye = (o, f, s) => {
2
+ if (!f.has(o))
3
3
  throw TypeError("Cannot " + s);
4
4
  };
5
- var Kt = (i, f, s) => (Ye(i, f, "read from private field"), s ? s.call(i) : f.get(i)), ze = (i, f, s) => {
6
- if (f.has(i))
5
+ var te = (o, f, s) => (Ye(o, f, "read from private field"), s ? s.call(o) : f.get(o)), ze = (o, f, s) => {
6
+ if (f.has(o))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
- f instanceof WeakSet ? f.add(i) : f.set(i, s);
9
- }, Ne = (i, f, s, w) => (Ye(i, f, "write to private field"), w ? w.call(i, s) : f.set(i, s), s);
10
- const Ge = [
11
- "aztec",
12
- "code_128",
13
- "code_39",
14
- "code_93",
15
- "codabar",
16
- "data_matrix",
17
- "ean_13",
18
- "ean_8",
19
- "itf",
20
- "pdf417",
21
- "qr_code",
22
- "upc_a",
23
- "upc_e",
24
- "unknown"
25
- ];
26
- function ba(i) {
27
- if (Qe(i))
8
+ f instanceof WeakSet ? f.add(o) : f.set(o, s);
9
+ }, Ne = (o, f, s, w) => (Ye(o, f, "write to private field"), w ? w.call(o, s) : f.set(o, s), s);
10
+ const Qe = [
11
+ ["aztec", "Aztec"],
12
+ ["code_128", "Code128"],
13
+ ["code_39", "Code39"],
14
+ ["code_93", "Code93"],
15
+ ["codabar", "Codabar"],
16
+ ["databar", "DataBar"],
17
+ ["databar_expanded", "DataBarExpanded"],
18
+ ["data_matrix", "DataMatrix"],
19
+ ["dx_film_edge", "DXFilmEdge"],
20
+ ["ean_13", "EAN-13"],
21
+ ["ean_8", "EAN-8"],
22
+ ["itf", "ITF"],
23
+ ["maxi_code", "MaxiCode"],
24
+ ["micro_qr_code", "MicroQRCode"],
25
+ ["pdf417", "PDF417"],
26
+ ["qr_code", "QRCode"],
27
+ ["rm_qr_code", "rMQRCode"],
28
+ ["upc_a", "UPC-A"],
29
+ ["upc_e", "UPC-E"],
30
+ ["linear_codes", "Linear-Codes"],
31
+ ["matrix_codes", "Matrix-Codes"]
32
+ ], ba = [...Qe, ["unknown"]].map((o) => o[0]), It = new Map(
33
+ Qe
34
+ );
35
+ function Ca(o) {
36
+ for (const [f, s] of It)
37
+ if (o === s)
38
+ return f;
39
+ return "unknown";
40
+ }
41
+ function _a(o) {
42
+ if (Ze(o))
28
43
  return {
29
- width: i.naturalWidth,
30
- height: i.naturalHeight
44
+ width: o.naturalWidth,
45
+ height: o.naturalHeight
31
46
  };
32
- if (Je(i))
47
+ if (Je(o))
33
48
  return {
34
- width: i.width.baseVal.value,
35
- height: i.height.baseVal.value
49
+ width: o.width.baseVal.value,
50
+ height: o.height.baseVal.value
36
51
  };
37
- if (Ke(i))
52
+ if (Ke(o))
38
53
  return {
39
- width: i.videoWidth,
40
- height: i.videoHeight
54
+ width: o.videoWidth,
55
+ height: o.videoHeight
41
56
  };
42
- if (er(i))
57
+ if (er(o))
43
58
  return {
44
- width: i.width,
45
- height: i.height
59
+ width: o.width,
60
+ height: o.height
46
61
  };
47
- if (nr(i))
62
+ if (nr(o))
48
63
  return {
49
- width: i.displayWidth,
50
- height: i.displayHeight
64
+ width: o.displayWidth,
65
+ height: o.displayHeight
51
66
  };
52
- if (tr(i))
67
+ if (tr(o))
53
68
  return {
54
- width: i.width,
55
- height: i.height
69
+ width: o.width,
70
+ height: o.height
56
71
  };
57
- if (rr(i))
72
+ if (rr(o))
58
73
  return {
59
- width: i.width,
60
- height: i.height
74
+ width: o.width,
75
+ height: o.height
61
76
  };
62
77
  throw new TypeError(
63
78
  "The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'."
64
79
  );
65
80
  }
66
- function Qe(i) {
81
+ function Ze(o) {
67
82
  try {
68
- return i instanceof HTMLImageElement;
83
+ return o instanceof HTMLImageElement;
69
84
  } catch {
70
85
  return !1;
71
86
  }
72
87
  }
73
- function Je(i) {
88
+ function Je(o) {
74
89
  try {
75
- return i instanceof SVGImageElement;
90
+ return o instanceof SVGImageElement;
76
91
  } catch {
77
92
  return !1;
78
93
  }
79
94
  }
80
- function Ke(i) {
95
+ function Ke(o) {
81
96
  try {
82
- return i instanceof HTMLVideoElement;
97
+ return o instanceof HTMLVideoElement;
83
98
  } catch {
84
99
  return !1;
85
100
  }
86
101
  }
87
- function tr(i) {
102
+ function tr(o) {
88
103
  try {
89
- return i instanceof HTMLCanvasElement;
104
+ return o instanceof HTMLCanvasElement;
90
105
  } catch {
91
106
  return !1;
92
107
  }
93
108
  }
94
- function er(i) {
109
+ function er(o) {
95
110
  try {
96
- return i instanceof ImageBitmap;
111
+ return o instanceof ImageBitmap;
97
112
  } catch {
98
113
  return !1;
99
114
  }
100
115
  }
101
- function rr(i) {
116
+ function rr(o) {
102
117
  try {
103
- return i instanceof OffscreenCanvas;
118
+ return o instanceof OffscreenCanvas;
104
119
  } catch {
105
120
  return !1;
106
121
  }
107
122
  }
108
- function nr(i) {
123
+ function nr(o) {
109
124
  try {
110
- return i instanceof VideoFrame;
125
+ return o instanceof VideoFrame;
111
126
  } catch {
112
127
  return !1;
113
128
  }
114
129
  }
115
- function ar(i) {
130
+ function ar(o) {
116
131
  try {
117
- return i instanceof Blob;
132
+ return o instanceof Blob;
118
133
  } catch {
119
134
  return !1;
120
135
  }
121
136
  }
122
- function Ca(i) {
137
+ function Ta(o) {
123
138
  try {
124
- return i instanceof ImageData;
139
+ return o instanceof ImageData;
125
140
  } catch {
126
141
  return !1;
127
142
  }
128
143
  }
129
- function _a(i, f) {
144
+ function Pa(o, f) {
130
145
  try {
131
- const s = new OffscreenCanvas(i, f);
146
+ const s = new OffscreenCanvas(o, f);
132
147
  if (s.getContext("2d") instanceof OffscreenCanvasRenderingContext2D)
133
148
  return s;
134
149
  throw void 0;
135
150
  } catch {
136
151
  const s = document.createElement("canvas");
137
- return s.width = i, s.height = f, s;
152
+ return s.width = o, s.height = f, s;
138
153
  }
139
154
  }
140
- async function or(i) {
141
- if (Qe(i) && !await Aa(i))
155
+ async function or(o) {
156
+ if (Ze(o) && !await xa(o))
142
157
  throw new DOMException(
143
158
  "Failed to load or decode HTMLImageElement.",
144
159
  "InvalidStateError"
145
160
  );
146
- if (Je(i) && !await Oa(i))
161
+ if (Je(o) && !await Oa(o))
147
162
  throw new DOMException(
148
163
  "Failed to load or decode SVGImageElement.",
149
164
  "InvalidStateError"
150
165
  );
151
- if (nr(i) && Da(i))
166
+ if (nr(o) && Fa(o))
152
167
  throw new DOMException("VideoFrame is closed.", "InvalidStateError");
153
- if (Ke(i) && (i.readyState === 0 || i.readyState === 1))
168
+ if (Ke(o) && (o.readyState === 0 || o.readyState === 1))
154
169
  throw new DOMException("Invalid element or state.", "InvalidStateError");
155
- if (er(i) && Sa(i))
170
+ if (er(o) && Ma(o))
156
171
  throw new DOMException(
157
172
  "The image source is detached.",
158
173
  "InvalidStateError"
159
174
  );
160
- const { width: f, height: s } = ba(i);
175
+ const { width: f, height: s } = _a(o);
161
176
  if (f === 0 || s === 0)
162
177
  return null;
163
- const v = _a(f, s).getContext("2d");
164
- v.drawImage(i, 0, 0);
178
+ const v = Pa(f, s).getContext("2d");
179
+ v.drawImage(o, 0, 0);
165
180
  try {
166
181
  return v.getImageData(0, 0, f, s);
167
182
  } catch {
168
183
  throw new DOMException("Source would taint origin.", "SecurityError");
169
184
  }
170
185
  }
171
- async function Ta(i) {
186
+ async function Ea(o) {
172
187
  let f;
173
188
  try {
174
189
  if (globalThis.createImageBitmap)
175
- f = await createImageBitmap(i);
190
+ f = await createImageBitmap(o);
176
191
  else if (globalThis.Image) {
177
192
  f = new Image();
178
193
  let w = "";
179
194
  try {
180
- w = URL.createObjectURL(i), f.src = w, await f.decode();
195
+ w = URL.createObjectURL(o), f.src = w, await f.decode();
181
196
  } finally {
182
197
  URL.revokeObjectURL(w);
183
198
  }
184
199
  } else
185
- return i;
200
+ return o;
186
201
  } catch {
187
202
  throw new DOMException(
188
203
  "Failed to load or decode Blob.",
@@ -191,58 +206,58 @@ async function Ta(i) {
191
206
  }
192
207
  return await or(f);
193
208
  }
194
- function Pa(i) {
195
- const { width: f, height: s } = i;
209
+ function Aa(o) {
210
+ const { width: f, height: s } = o;
196
211
  if (f === 0 || s === 0)
197
212
  return null;
198
- const w = i.getContext("2d");
213
+ const w = o.getContext("2d");
199
214
  try {
200
215
  return w.getImageData(0, 0, f, s);
201
216
  } catch {
202
217
  throw new DOMException("Source would taint origin.", "SecurityError");
203
218
  }
204
219
  }
205
- async function Ea(i) {
206
- if (ar(i))
207
- return await Ta(i);
208
- if (Ca(i)) {
209
- if (Fa(i))
220
+ async function Da(o) {
221
+ if (ar(o))
222
+ return await Ea(o);
223
+ if (Ta(o)) {
224
+ if (Sa(o))
210
225
  throw new DOMException(
211
226
  "The image data has been detached.",
212
227
  "InvalidStateError"
213
228
  );
214
- return i;
229
+ return o;
215
230
  }
216
- return tr(i) || rr(i) ? Pa(i) : await or(i);
231
+ return tr(o) || rr(o) ? Aa(o) : await or(o);
217
232
  }
218
- async function Aa(i) {
233
+ async function xa(o) {
219
234
  try {
220
- return await i.decode(), !0;
235
+ return await o.decode(), !0;
221
236
  } catch {
222
237
  return !1;
223
238
  }
224
239
  }
225
- async function Oa(i) {
240
+ async function Oa(o) {
226
241
  var f;
227
242
  try {
228
- return await ((f = i.decode) == null ? void 0 : f.call(i)), !0;
243
+ return await ((f = o.decode) == null ? void 0 : f.call(o)), !0;
229
244
  } catch {
230
245
  return !1;
231
246
  }
232
247
  }
233
- function Da(i) {
234
- return i.format === null;
248
+ function Fa(o) {
249
+ return o.format === null;
235
250
  }
236
- function Fa(i) {
237
- return i.data.buffer.byteLength === 0;
251
+ function Sa(o) {
252
+ return o.data.buffer.byteLength === 0;
238
253
  }
239
- function Sa(i) {
240
- return i.width === 0 && i.height === 0;
254
+ function Ma(o) {
255
+ return o.width === 0 && o.height === 0;
241
256
  }
242
- function Xe(i, f) {
243
- return i instanceof DOMException ? new DOMException(`${f}: ${i.message}`, i.name) : i instanceof Error ? new i.constructor(`${f}: ${i.message}`) : new Error(`${f}: ${i}`);
257
+ function Ge(o, f) {
258
+ return o instanceof DOMException ? new DOMException(`${f}: ${o.message}`, o.name) : o instanceof Error ? new o.constructor(`${f}: ${o.message}`) : new Error(`${f}: ${o}`);
244
259
  }
245
- const qe = [
260
+ const Xe = [
246
261
  "Aztec",
247
262
  "Codabar",
248
263
  "Code128",
@@ -251,6 +266,7 @@ const qe = [
251
266
  "DataBar",
252
267
  "DataBarExpanded",
253
268
  "DataMatrix",
269
+ "DXFilmEdge",
254
270
  "EAN-13",
255
271
  "EAN-8",
256
272
  "ITF",
@@ -261,33 +277,34 @@ const qe = [
261
277
  "None",
262
278
  "PDF417",
263
279
  "QRCode",
280
+ "rMQRCode",
264
281
  "UPC-A",
265
282
  "UPC-E"
266
283
  ];
267
- function xa(i) {
268
- return i.join("|");
284
+ function Ia(o) {
285
+ return o.join("|");
269
286
  }
270
- function Ma(i) {
271
- const f = Ze(i);
272
- let s = 0, w = qe.length - 1;
287
+ function Ra(o) {
288
+ const f = qe(o);
289
+ let s = 0, w = Xe.length - 1;
273
290
  for (; s <= w; ) {
274
- const v = Math.floor((s + w) / 2), $ = qe[v], H = Ze($);
291
+ const v = Math.floor((s + w) / 2), $ = Xe[v], H = qe($);
275
292
  if (H === f)
276
293
  return $;
277
294
  H < f ? s = v + 1 : w = v - 1;
278
295
  }
279
296
  return "None";
280
297
  }
281
- function Ze(i) {
282
- return i.toLowerCase().replace(/_-\[\]/g, "");
298
+ function qe(o) {
299
+ return o.toLowerCase().replace(/_-\[\]/g, "");
283
300
  }
284
- function Ia(i, f) {
285
- return i.Binarizer[f];
301
+ function ja(o, f) {
302
+ return o.Binarizer[f];
286
303
  }
287
- function ja(i, f) {
288
- return i.CharacterSet[f];
304
+ function Wa(o, f) {
305
+ return o.CharacterSet[f];
289
306
  }
290
- const Ra = [
307
+ const ka = [
291
308
  "Text",
292
309
  "Binary",
293
310
  "Mixed",
@@ -295,14 +312,14 @@ const Ra = [
295
312
  "ISO15434",
296
313
  "UnknownECI"
297
314
  ];
298
- function Wa(i) {
299
- return Ra[i.value];
315
+ function Ha(o) {
316
+ return ka[o.value];
300
317
  }
301
- function ka(i, f) {
302
- return i.EanAddOnSymbol[f];
318
+ function Ba(o, f) {
319
+ return o.EanAddOnSymbol[f];
303
320
  }
304
- function Ha(i, f) {
305
- return i.TextMode[f];
321
+ function Ua(o, f) {
322
+ return o.TextMode[f];
306
323
  }
307
324
  const $t = {
308
325
  formats: [],
@@ -325,23 +342,23 @@ const $t = {
325
342
  textMode: "Plain",
326
343
  characterSet: "Unknown"
327
344
  };
328
- function ir(i, f) {
345
+ function ir(o, f) {
329
346
  return {
330
347
  ...f,
331
- formats: xa(f.formats),
332
- binarizer: Ia(i, f.binarizer),
333
- eanAddOnSymbol: ka(
334
- i,
348
+ formats: Ia(f.formats),
349
+ binarizer: ja(o, f.binarizer),
350
+ eanAddOnSymbol: Ba(
351
+ o,
335
352
  f.eanAddOnSymbol
336
353
  ),
337
- textMode: Ha(i, f.textMode),
338
- characterSet: ja(
339
- i,
354
+ textMode: Ua(o, f.textMode),
355
+ characterSet: Wa(
356
+ o,
340
357
  f.characterSet
341
358
  )
342
359
  };
343
360
  }
344
- const Ba = {
361
+ const La = {
345
362
  width: 200,
346
363
  height: 200,
347
364
  format: "QRCode",
@@ -349,76 +366,76 @@ const Ba = {
349
366
  eccLevel: -1,
350
367
  margin: 10
351
368
  };
352
- function sr(i) {
369
+ function sr(o) {
353
370
  return {
354
- ...i,
355
- format: Ma(i.format),
356
- eccLevel: i.eccLevel,
357
- contentType: Wa(i.contentType)
371
+ ...o,
372
+ format: Ra(o.format),
373
+ eccLevel: o.eccLevel,
374
+ contentType: Ha(o.contentType)
358
375
  };
359
376
  }
360
- const Ua = {
361
- locateFile: (i, f) => {
362
- const s = i.match(/_(.+?)\.wasm$/);
363
- return s ? `https://fastly.jsdelivr.net/npm/zxing-wasm@1.0.0-rc.10/dist/${s[1]}/${i}` : f + i;
377
+ const Va = {
378
+ locateFile: (o, f) => {
379
+ const s = o.match(/_(.+?)\.wasm$/);
380
+ return s ? `https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.1/dist/${s[1]}/${o}` : f + o;
364
381
  }
365
382
  };
366
- let te = /* @__PURE__ */ new WeakMap();
367
- function re(i, f) {
383
+ let ee = /* @__PURE__ */ new WeakMap();
384
+ function re(o, f) {
368
385
  var s;
369
- const w = te.get(i);
386
+ const w = ee.get(o);
370
387
  if (w != null && w.modulePromise && (f === void 0 || Object.is(f, w.moduleOverrides)))
371
388
  return w.modulePromise;
372
- const v = (s = f != null ? f : w == null ? void 0 : w.moduleOverrides) != null ? s : Ua, $ = i({
389
+ const v = (s = f != null ? f : w == null ? void 0 : w.moduleOverrides) != null ? s : Va, $ = o({
373
390
  ...v
374
391
  });
375
- return te.set(i, {
392
+ return ee.set(o, {
376
393
  moduleOverrides: v,
377
394
  modulePromise: $
378
395
  }), $;
379
396
  }
380
- function Va(i, f) {
381
- te.set(i, {
397
+ function Ya(o, f) {
398
+ ee.set(o, {
382
399
  moduleOverrides: f
383
400
  });
384
401
  }
385
- async function La(i, f, s = $t) {
402
+ async function za(o, f, s = $t) {
386
403
  const w = {
387
404
  ...$t,
388
405
  ...s
389
- }, v = await re(i), { size: $ } = f, H = new Uint8Array(await f.arrayBuffer()), L = v._malloc($);
390
- v.HEAPU8.set(H, L);
406
+ }, v = await re(o), { size: $ } = f, H = new Uint8Array(await f.arrayBuffer()), V = v._malloc($);
407
+ v.HEAPU8.set(H, V);
391
408
  const B = v.readBarcodesFromImage(
392
- L,
409
+ V,
393
410
  $,
394
411
  ir(v, w)
395
412
  );
396
- v._free(L);
397
- const O = [];
413
+ v._free(V);
414
+ const D = [];
398
415
  for (let Y = 0; Y < B.size(); ++Y)
399
- O.push(
416
+ D.push(
400
417
  sr(B.get(Y))
401
418
  );
402
- return O;
419
+ return D;
403
420
  }
404
- async function Ya(i, f, s = $t) {
421
+ async function Na(o, f, s = $t) {
405
422
  const w = {
406
423
  ...$t,
407
424
  ...s
408
- }, v = await re(i), {
425
+ }, v = await re(o), {
409
426
  data: $,
410
427
  width: H,
411
- height: L,
428
+ height: V,
412
429
  data: { byteLength: B }
413
- } = f, O = v._malloc(B);
414
- v.HEAPU8.set($, O);
430
+ } = f, D = v._malloc(B);
431
+ v.HEAPU8.set($, D);
415
432
  const Y = v.readBarcodesFromPixmap(
416
- O,
433
+ D,
417
434
  H,
418
- L,
435
+ V,
419
436
  ir(v, w)
420
437
  );
421
- v._free(O);
438
+ v._free(D);
422
439
  const G = [];
423
440
  for (let U = 0; U < Y.size(); ++U)
424
441
  G.push(
@@ -427,53 +444,53 @@ async function Ya(i, f, s = $t) {
427
444
  return G;
428
445
  }
429
446
  structuredClone($t);
430
- structuredClone(Ba);
431
- var It = (() => {
432
- var i = typeof document < "u" && document.currentScript ? document.currentScript.src : void 0;
447
+ structuredClone(La);
448
+ var Rt = (() => {
449
+ var o = typeof document < "u" && document.currentScript ? document.currentScript.src : void 0;
433
450
  return function(f = {}) {
434
451
  var s = f, w, v;
435
452
  s.ready = new Promise((t, e) => {
436
453
  w = t, v = e;
437
454
  });
438
- var $ = Object.assign({}, s), H = "./this.program", L = typeof window == "object", B = typeof importScripts == "function";
455
+ var $ = Object.assign({}, s), H = "./this.program", V = typeof window == "object", B = typeof importScripts == "function";
439
456
  typeof process == "object" && typeof process.versions == "object" && process.versions.node;
440
- var O = "";
457
+ var D = "";
441
458
  function Y(t) {
442
- return s.locateFile ? s.locateFile(t, O) : O + t;
459
+ return s.locateFile ? s.locateFile(t, D) : D + t;
443
460
  }
444
461
  var G;
445
- (L || B) && (B ? O = self.location.href : typeof document < "u" && document.currentScript && (O = document.currentScript.src), i && (O = i), O.indexOf("blob:") !== 0 ? O = O.substr(0, O.replace(/[?#].*/, "").lastIndexOf("/") + 1) : O = "", B && (G = (t) => {
462
+ (V || B) && (B ? D = self.location.href : typeof document < "u" && document.currentScript && (D = document.currentScript.src), o && (D = o), D.indexOf("blob:") !== 0 ? D = D.substr(0, D.replace(/[?#].*/, "").lastIndexOf("/") + 1) : D = "", B && (G = (t) => {
446
463
  var e = new XMLHttpRequest();
447
464
  return e.open("GET", t, !1), e.responseType = "arraybuffer", e.send(null), new Uint8Array(e.response);
448
465
  })), s.print || console.log.bind(console);
449
466
  var U = s.printErr || console.error.bind(console);
450
467
  Object.assign(s, $), $ = null, s.arguments && s.arguments, s.thisProgram && (H = s.thisProgram), s.quit && s.quit;
451
- var Z;
452
- s.wasmBinary && (Z = s.wasmBinary), typeof WebAssembly != "object" && ft("no native wasm support detected");
468
+ var Q;
469
+ s.wasmBinary && (Q = s.wasmBinary), typeof WebAssembly != "object" && ft("no native wasm support detected");
453
470
  var tt, lt = !1;
454
471
  function jt(t, e) {
455
472
  t || ft(e);
456
473
  }
457
- var V, k, ot, dt, W, _, ne, ae;
474
+ var L, k, ot, dt, W, _, ne, ae;
458
475
  function oe() {
459
476
  var t = tt.buffer;
460
- s.HEAP8 = V = new Int8Array(t), s.HEAP16 = ot = new Int16Array(t), s.HEAPU8 = k = new Uint8Array(t), s.HEAPU16 = dt = new Uint16Array(t), s.HEAP32 = W = new Int32Array(t), s.HEAPU32 = _ = new Uint32Array(t), s.HEAPF32 = ne = new Float32Array(t), s.HEAPF64 = ae = new Float64Array(t);
477
+ s.HEAP8 = L = new Int8Array(t), s.HEAP16 = ot = new Int16Array(t), s.HEAPU8 = k = new Uint8Array(t), s.HEAPU16 = dt = new Uint16Array(t), s.HEAP32 = W = new Int32Array(t), s.HEAPU32 = _ = new Uint32Array(t), s.HEAPF32 = ne = new Float32Array(t), s.HEAPF64 = ae = new Float64Array(t);
461
478
  }
462
479
  var ie = [], se = [], ue = [];
463
480
  function ur() {
464
481
  if (s.preRun)
465
482
  for (typeof s.preRun == "function" && (s.preRun = [s.preRun]); s.preRun.length; )
466
483
  dr(s.preRun.shift());
467
- Rt(ie);
484
+ Wt(ie);
468
485
  }
469
486
  function cr() {
470
- Rt(se);
487
+ Wt(se);
471
488
  }
472
489
  function lr() {
473
490
  if (s.postRun)
474
491
  for (typeof s.postRun == "function" && (s.postRun = [s.postRun]); s.postRun.length; )
475
492
  fr(s.postRun.shift());
476
- Rt(ue);
493
+ Wt(ue);
477
494
  }
478
495
  function dr(t) {
479
496
  ie.unshift(t);
@@ -502,14 +519,14 @@ var It = (() => {
502
519
  var yr = "data:application/octet-stream;base64,", ce = (t) => t.startsWith(yr), it;
503
520
  it = "zxing_reader.wasm", ce(it) || (it = Y(it));
504
521
  function le(t) {
505
- if (t == it && Z)
506
- return new Uint8Array(Z);
522
+ if (t == it && Q)
523
+ return new Uint8Array(Q);
507
524
  if (G)
508
525
  return G(t);
509
526
  throw "both async and sync fetching of the wasm failed";
510
527
  }
511
528
  function vr(t) {
512
- return !Z && (L || B) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then((e) => {
529
+ return !Q && (V || B) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then((e) => {
513
530
  if (!e.ok)
514
531
  throw "failed to load wasm binary file at '" + t + "'";
515
532
  return e.arrayBuffer();
@@ -522,8 +539,8 @@ var It = (() => {
522
539
  }
523
540
  function gr(t, e, r, n) {
524
541
  return !t && typeof WebAssembly.instantiateStreaming == "function" && !ce(e) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then((a) => {
525
- var o = WebAssembly.instantiateStreaming(a, r);
526
- return o.then(n, function(u) {
542
+ var i = WebAssembly.instantiateStreaming(a, r);
543
+ return i.then(n, function(u) {
527
544
  return U(`wasm streaming compile failed: ${u}`), U("falling back to ArrayBuffer instantiation"), de(e, r, n);
528
545
  });
529
546
  }) : de(e, r, n);
@@ -543,22 +560,22 @@ var It = (() => {
543
560
  } catch (n) {
544
561
  U(`Module.instantiateWasm callback failed with error: ${n}`), v(n);
545
562
  }
546
- return gr(Z, it, t, r).catch(v), {};
563
+ return gr(Q, it, t, r).catch(v), {};
547
564
  }
548
- var Rt = (t) => {
565
+ var Wt = (t) => {
549
566
  for (; t.length > 0; )
550
567
  t.shift()(s);
551
568
  };
552
569
  s.noExitRuntime;
553
570
  var bt = [], Ct = 0, $r = (t) => {
554
- var e = new Wt(t);
571
+ var e = new kt(t);
555
572
  return e.get_caught() || (e.set_caught(!0), Ct--), e.set_rethrown(!1), bt.push(e), He(e.excPtr), e.get_exception_ptr();
556
- }, Q = 0, br = () => {
573
+ }, Z = 0, br = () => {
557
574
  A(0, 0);
558
575
  var t = bt.pop();
559
- ke(t.excPtr), Q = 0;
576
+ ke(t.excPtr), Z = 0;
560
577
  };
561
- function Wt(t) {
578
+ function kt(t) {
562
579
  this.excPtr = t, this.ptr = t - 24, this.set_type = function(e) {
563
580
  _[this.ptr + 4 >> 2] = e;
564
581
  }, this.get_type = function() {
@@ -568,13 +585,13 @@ var It = (() => {
568
585
  }, this.get_destructor = function() {
569
586
  return _[this.ptr + 8 >> 2];
570
587
  }, this.set_caught = function(e) {
571
- e = e ? 1 : 0, V[this.ptr + 12 >> 0] = e;
588
+ e = e ? 1 : 0, L[this.ptr + 12 >> 0] = e;
572
589
  }, this.get_caught = function() {
573
- return V[this.ptr + 12 >> 0] != 0;
590
+ return L[this.ptr + 12 >> 0] != 0;
574
591
  }, this.set_rethrown = function(e) {
575
- e = e ? 1 : 0, V[this.ptr + 13 >> 0] = e;
592
+ e = e ? 1 : 0, L[this.ptr + 13 >> 0] = e;
576
593
  }, this.get_rethrown = function() {
577
- return V[this.ptr + 13 >> 0] != 0;
594
+ return L[this.ptr + 13 >> 0] != 0;
578
595
  }, this.init = function(e, r) {
579
596
  this.set_adjusted_ptr(0), this.set_type(e), this.set_destructor(r);
580
597
  }, this.set_adjusted_ptr = function(e) {
@@ -590,40 +607,40 @@ var It = (() => {
590
607
  };
591
608
  }
592
609
  var Cr = (t) => {
593
- throw Q || (Q = t), Q;
594
- }, kt = (t) => {
595
- var e = Q;
610
+ throw Z || (Z = t), Z;
611
+ }, Ht = (t) => {
612
+ var e = Z;
596
613
  if (!e)
597
614
  return wt(0), 0;
598
- var r = new Wt(e);
615
+ var r = new kt(e);
599
616
  r.set_adjusted_ptr(e);
600
617
  var n = r.get_type();
601
618
  if (!n)
602
619
  return wt(0), e;
603
620
  for (var a in t) {
604
- var o = t[a];
605
- if (o === 0 || o === n)
621
+ var i = t[a];
622
+ if (i === 0 || i === n)
606
623
  break;
607
624
  var u = r.ptr + 16;
608
- if (Be(o, n, u))
609
- return wt(o), e;
625
+ if (Be(i, n, u))
626
+ return wt(i), e;
610
627
  }
611
628
  return wt(n), e;
612
- }, _r = () => kt([]), Tr = (t) => kt([t]), Pr = (t, e) => kt([t, e]), Er = () => {
629
+ }, _r = () => Ht([]), Tr = (t) => Ht([t]), Pr = (t, e) => Ht([t, e]), Er = () => {
613
630
  var t = bt.pop();
614
631
  t || ft("no exception to throw");
615
632
  var e = t.excPtr;
616
- throw t.get_rethrown() || (bt.push(t), t.set_rethrown(!0), t.set_caught(!1), Ct++), Q = e, Q;
633
+ throw t.get_rethrown() || (bt.push(t), t.set_rethrown(!0), t.set_caught(!1), Ct++), Z = e, Z;
617
634
  }, Ar = (t, e, r) => {
618
- var n = new Wt(t);
619
- throw n.init(e, r), Q = t, Ct++, Q;
620
- }, Or = () => Ct, _t = {}, he = (t) => {
635
+ var n = new kt(t);
636
+ throw n.init(e, r), Z = t, Ct++, Z;
637
+ }, Dr = () => Ct, _t = {}, he = (t) => {
621
638
  for (; t.length; ) {
622
639
  var e = t.pop(), r = t.pop();
623
640
  r(e);
624
641
  }
625
642
  };
626
- function Ht(t) {
643
+ function Bt(t) {
627
644
  return this.fromWireType(W[t >> 2]);
628
645
  }
629
646
  var st = {}, rt = {}, Tt = {}, fe, Pt = (t) => {
@@ -638,23 +655,23 @@ var It = (() => {
638
655
  for (var h = 0; h < t.length; ++h)
639
656
  X(t[h], l[h]);
640
657
  }
641
- var a = new Array(e.length), o = [], u = 0;
658
+ var a = new Array(e.length), i = [], u = 0;
642
659
  e.forEach((c, l) => {
643
- rt.hasOwnProperty(c) ? a[l] = rt[c] : (o.push(c), st.hasOwnProperty(c) || (st[c] = []), st[c].push(() => {
644
- a[l] = rt[c], ++u, u === o.length && n(a);
660
+ rt.hasOwnProperty(c) ? a[l] = rt[c] : (i.push(c), st.hasOwnProperty(c) || (st[c] = []), st[c].push(() => {
661
+ a[l] = rt[c], ++u, u === i.length && n(a);
645
662
  }));
646
- }), o.length === 0 && n(a);
647
- }, Dr = (t) => {
663
+ }), i.length === 0 && n(a);
664
+ }, xr = (t) => {
648
665
  var e = _t[t];
649
666
  delete _t[t];
650
- var r = e.rawConstructor, n = e.rawDestructor, a = e.fields, o = a.map((u) => u.getterReturnType).concat(a.map((u) => u.setterArgumentType));
651
- nt([t], o, (u) => {
667
+ var r = e.rawConstructor, n = e.rawDestructor, a = e.fields, i = a.map((u) => u.getterReturnType).concat(a.map((u) => u.setterArgumentType));
668
+ nt([t], i, (u) => {
652
669
  var c = {};
653
670
  return a.forEach((l, h) => {
654
- var p = l.fieldName, y = u[h], g = l.getter, b = l.getterContext, T = u[h + a.length], j = l.setter, P = l.setterContext;
655
- c[p] = { read: (R) => y.fromWireType(g(b, R)), write: (R, d) => {
671
+ var p = l.fieldName, y = u[h], g = l.getter, b = l.getterContext, T = u[h + a.length], R = l.setter, P = l.setterContext;
672
+ c[p] = { read: (j) => y.fromWireType(g(b, j)), write: (j, d) => {
656
673
  var m = [];
657
- j(P, R, T.toWireType(m, d)), he(m);
674
+ R(P, j, T.toWireType(m, d)), he(m);
658
675
  } };
659
676
  }), [{ name: e.name, fromWireType: (l) => {
660
677
  var h = {};
@@ -669,10 +686,10 @@ var It = (() => {
669
686
  for (p in c)
670
687
  c[p].write(y, h[p]);
671
688
  return l !== null && l.push(n, y), y;
672
- }, argPackAdvance: q, readValueFromPointer: Ht, destructorFunction: n }];
689
+ }, argPackAdvance: q, readValueFromPointer: Bt, destructorFunction: n }];
673
690
  });
674
- }, Fr = (t, e, r, n, a) => {
675
- }, Sr = () => {
691
+ }, Or = (t, e, r, n, a) => {
692
+ }, Fr = () => {
676
693
  for (var t = new Array(256), e = 0; e < 256; ++e)
677
694
  t[e] = String.fromCharCode(e);
678
695
  pe = t;
@@ -683,7 +700,7 @@ var It = (() => {
683
700
  }, ut, C = (t) => {
684
701
  throw new ut(t);
685
702
  };
686
- function xr(t, e, r = {}) {
703
+ function Sr(t, e, r = {}) {
687
704
  var n = e.name;
688
705
  if (t || C(`type "${n}" must have a positive integer typeid pointer`), rt.hasOwnProperty(t)) {
689
706
  if (r.ignoreDuplicateRegistrations)
@@ -692,34 +709,34 @@ var It = (() => {
692
709
  }
693
710
  if (rt[t] = e, delete Tt[t], st.hasOwnProperty(t)) {
694
711
  var a = st[t];
695
- delete st[t], a.forEach((o) => o());
712
+ delete st[t], a.forEach((i) => i());
696
713
  }
697
714
  }
698
715
  function X(t, e, r = {}) {
699
716
  if (!("argPackAdvance" in e))
700
717
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
701
- return xr(t, e, r);
718
+ return Sr(t, e, r);
702
719
  }
703
720
  var q = 8, Mr = (t, e, r, n) => {
704
721
  e = I(e), X(t, { name: e, fromWireType: function(a) {
705
722
  return !!a;
706
- }, toWireType: function(a, o) {
707
- return o ? r : n;
723
+ }, toWireType: function(a, i) {
724
+ return i ? r : n;
708
725
  }, argPackAdvance: q, readValueFromPointer: function(a) {
709
726
  return this.fromWireType(k[a]);
710
727
  }, destructorFunction: null });
711
- }, Ir = (t) => ({ count: t.count, deleteScheduled: t.deleteScheduled, preservePointerOnDelete: t.preservePointerOnDelete, ptr: t.ptr, ptrType: t.ptrType, smartPtr: t.smartPtr, smartPtrType: t.smartPtrType }), Bt = (t) => {
728
+ }, Ir = (t) => ({ count: t.count, deleteScheduled: t.deleteScheduled, preservePointerOnDelete: t.preservePointerOnDelete, ptr: t.ptr, ptrType: t.ptrType, smartPtr: t.smartPtr, smartPtrType: t.smartPtrType }), Ut = (t) => {
712
729
  function e(r) {
713
730
  return r.$$.ptrType.registeredClass.name;
714
731
  }
715
732
  C(e(t) + " instance already deleted");
716
- }, Ut = !1, me = (t) => {
717
- }, jr = (t) => {
733
+ }, Lt = !1, me = (t) => {
734
+ }, Rr = (t) => {
718
735
  t.smartPtr ? t.smartPtrType.rawDestructor(t.smartPtr) : t.ptrType.registeredClass.rawDestructor(t.ptr);
719
736
  }, ye = (t) => {
720
737
  t.count.value -= 1;
721
738
  var e = t.count.value === 0;
722
- e && jr(t);
739
+ e && Rr(t);
723
740
  }, ve = (t, e, r) => {
724
741
  if (e === r)
725
742
  return t;
@@ -727,7 +744,7 @@ var It = (() => {
727
744
  return null;
728
745
  var n = ve(t, e, r.baseClass);
729
746
  return n === null ? null : r.downcast(n);
730
- }, ge = {}, Rr = () => Object.keys(yt).length, Wr = () => {
747
+ }, ge = {}, jr = () => Object.keys(yt).length, Wr = () => {
731
748
  var t = [];
732
749
  for (var e in yt)
733
750
  yt.hasOwnProperty(e) && t.push(yt[e]);
@@ -740,7 +757,7 @@ var It = (() => {
740
757
  }, mt, kr = (t) => {
741
758
  mt = t, pt.length && mt && mt(Vt);
742
759
  }, Hr = () => {
743
- s.getInheritedInstanceCount = Rr, s.getLiveInheritedInstances = Wr, s.flushPendingDeletes = Vt, s.setDelayFunction = kr;
760
+ s.getInheritedInstanceCount = jr, s.getLiveInheritedInstances = Wr, s.flushPendingDeletes = Vt, s.setDelayFunction = kr;
744
761
  }, yt = {}, Br = (t, e) => {
745
762
  for (e === void 0 && C("ptr should not be undefined"); t.baseClass; )
746
763
  e = t.upcast(e), t = t.baseClass;
@@ -750,7 +767,7 @@ var It = (() => {
750
767
  var r = !!e.smartPtrType, n = !!e.smartPtr;
751
768
  return r !== n && Pt("Both smartPtrType and smartPtr must be specified"), e.count = { value: 1 }, vt(Object.create(t, { $$: { value: e } }));
752
769
  };
753
- function Vr(t) {
770
+ function Lr(t) {
754
771
  var e = this.getPointee(t);
755
772
  if (!e)
756
773
  return this.destructor(t), null;
@@ -764,7 +781,7 @@ var It = (() => {
764
781
  function a() {
765
782
  return this.isSmartPointer ? Et(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: e, smartPtrType: this, smartPtr: t }) : Et(this.registeredClass.instancePrototype, { ptrType: this, ptr: t });
766
783
  }
767
- var o = this.registeredClass.getActualType(e), u = ge[o];
784
+ var i = this.registeredClass.getActualType(e), u = ge[i];
768
785
  if (!u)
769
786
  return a.call(this);
770
787
  var c;
@@ -772,16 +789,16 @@ var It = (() => {
772
789
  var l = ve(e, this.registeredClass, c.registeredClass);
773
790
  return l === null ? a.call(this) : this.isSmartPointer ? Et(c.registeredClass.instancePrototype, { ptrType: c, ptr: l, smartPtrType: this, smartPtr: t }) : Et(c.registeredClass.instancePrototype, { ptrType: c, ptr: l });
774
791
  }
775
- var vt = (t) => typeof FinalizationRegistry > "u" ? (vt = (e) => e, t) : (Ut = new FinalizationRegistry((e) => {
792
+ var vt = (t) => typeof FinalizationRegistry > "u" ? (vt = (e) => e, t) : (Lt = new FinalizationRegistry((e) => {
776
793
  ye(e.$$);
777
794
  }), vt = (e) => {
778
795
  var r = e.$$, n = !!r.smartPtr;
779
796
  if (n) {
780
797
  var a = { $$: r };
781
- Ut.register(e, a, e);
798
+ Lt.register(e, a, e);
782
799
  }
783
800
  return e;
784
- }, me = (e) => Ut.unregister(e), vt(t)), Lr = () => {
801
+ }, me = (e) => Lt.unregister(e), vt(t)), Vr = () => {
785
802
  Object.assign(At.prototype, { isAliasOf(t) {
786
803
  if (!(this instanceof At) || !(t instanceof At))
787
804
  return !1;
@@ -793,16 +810,16 @@ var It = (() => {
793
810
  a = n.upcast(a), n = n.baseClass;
794
811
  return e === n && r === a;
795
812
  }, clone() {
796
- if (this.$$.ptr || Bt(this), this.$$.preservePointerOnDelete)
813
+ if (this.$$.ptr || Ut(this), this.$$.preservePointerOnDelete)
797
814
  return this.$$.count.value += 1, this;
798
815
  var t = vt(Object.create(Object.getPrototypeOf(this), { $$: { value: Ir(this.$$) } }));
799
816
  return t.$$.count.value += 1, t.$$.deleteScheduled = !1, t;
800
817
  }, delete() {
801
- this.$$.ptr || Bt(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && C("Object already scheduled for deletion"), me(this), ye(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
818
+ this.$$.ptr || Ut(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && C("Object already scheduled for deletion"), me(this), ye(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
802
819
  }, isDeleted() {
803
820
  return !this.$$.ptr;
804
821
  }, deleteLater() {
805
- return this.$$.ptr || Bt(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && C("Object already scheduled for deletion"), pt.push(this), pt.length === 1 && mt && mt(Vt), this.$$.deleteScheduled = !0, this;
822
+ return this.$$.ptr || Ut(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && C("Object already scheduled for deletion"), pt.push(this), pt.length === 1 && mt && mt(Vt), this.$$.deleteScheduled = !0, this;
806
823
  } });
807
824
  };
808
825
  function At() {
@@ -814,7 +831,7 @@ var It = (() => {
814
831
  var e = t.charCodeAt(0);
815
832
  return e >= Yr && e <= zr ? `_${t}` : t;
816
833
  };
817
- function Lt(t, e) {
834
+ function Yt(t, e) {
818
835
  return t = we(t), { [t]: function() {
819
836
  return e.apply(this, arguments);
820
837
  } }[t];
@@ -826,13 +843,13 @@ var It = (() => {
826
843
  return t[e].overloadTable.hasOwnProperty(arguments.length) || C(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${t[e].overloadTable})!`), t[e].overloadTable[arguments.length].apply(this, arguments);
827
844
  }, t[e].overloadTable = [], t[e].overloadTable[n.argCount] = n;
828
845
  }
829
- }, Yt = (t, e, r) => {
846
+ }, zt = (t, e, r) => {
830
847
  s.hasOwnProperty(t) ? ((r === void 0 || s[t].overloadTable !== void 0 && s[t].overloadTable[r] !== void 0) && C(`Cannot register public name '${t}' twice`), $e(s, t, t), s.hasOwnProperty(r) && C(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`), s[t].overloadTable[r] = e) : (s[t] = e, r !== void 0 && (s[t].numArguments = r));
831
848
  };
832
- function Nr(t, e, r, n, a, o, u, c) {
833
- this.name = t, this.constructor = e, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = a, this.getActualType = o, this.upcast = u, this.downcast = c, this.pureVirtualFunctions = [];
849
+ function Nr(t, e, r, n, a, i, u, c) {
850
+ this.name = t, this.constructor = e, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = a, this.getActualType = i, this.upcast = u, this.downcast = c, this.pureVirtualFunctions = [];
834
851
  }
835
- var zt = (t, e, r) => {
852
+ var Nt = (t, e, r) => {
836
853
  for (; e !== r; )
837
854
  e.upcast || C(`Expected null or instance of ${r.name}, got an instance of ${e.name}`), t = e.upcast(t), e = e.baseClass;
838
855
  return t;
@@ -840,17 +857,17 @@ var It = (() => {
840
857
  function Gr(t, e) {
841
858
  if (e === null)
842
859
  return this.isReference && C(`null is not a valid ${this.name}`), 0;
843
- e.$$ || C(`Cannot pass "${qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`);
844
- var r = e.$$.ptrType.registeredClass, n = zt(e.$$.ptr, r, this.registeredClass);
860
+ e.$$ || C(`Cannot pass "${Qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`);
861
+ var r = e.$$.ptrType.registeredClass, n = Nt(e.$$.ptr, r, this.registeredClass);
845
862
  return n;
846
863
  }
847
864
  function Xr(t, e) {
848
865
  var r;
849
866
  if (e === null)
850
867
  return this.isReference && C(`null is not a valid ${this.name}`), this.isSmartPointer ? (r = this.rawConstructor(), t !== null && t.push(this.rawDestructor, r), r) : 0;
851
- e.$$ || C(`Cannot pass "${qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && e.$$.ptrType.isConst && C(`Cannot convert argument of type ${e.$$.smartPtrType ? e.$$.smartPtrType.name : e.$$.ptrType.name} to parameter type ${this.name}`);
868
+ e.$$ || C(`Cannot pass "${Qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && e.$$.ptrType.isConst && C(`Cannot convert argument of type ${e.$$.smartPtrType ? e.$$.smartPtrType.name : e.$$.ptrType.name} to parameter type ${this.name}`);
852
869
  var n = e.$$.ptrType.registeredClass;
853
- if (r = zt(e.$$.ptr, n, this.registeredClass), this.isSmartPointer)
870
+ if (r = Nt(e.$$.ptr, n, this.registeredClass), this.isSmartPointer)
854
871
  switch (e.$$.smartPtr === void 0 && C("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
855
872
  case 0:
856
873
  e.$$.smartPtrType === this ? r = e.$$.smartPtr : C(`Cannot convert argument of type ${e.$$.smartPtrType ? e.$$.smartPtrType.name : e.$$.ptrType.name} to parameter type ${this.name}`);
@@ -874,37 +891,37 @@ var It = (() => {
874
891
  function qr(t, e) {
875
892
  if (e === null)
876
893
  return this.isReference && C(`null is not a valid ${this.name}`), 0;
877
- e.$$ || C(`Cannot pass "${qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`), e.$$.ptrType.isConst && C(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);
878
- var r = e.$$.ptrType.registeredClass, n = zt(e.$$.ptr, r, this.registeredClass);
894
+ e.$$ || C(`Cannot pass "${Qt(e)}" as a ${this.name}`), e.$$.ptr || C(`Cannot pass deleted object as a pointer of type ${this.name}`), e.$$.ptrType.isConst && C(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);
895
+ var r = e.$$.ptrType.registeredClass, n = Nt(e.$$.ptr, r, this.registeredClass);
879
896
  return n;
880
897
  }
881
898
  function be(t) {
882
899
  return this.fromWireType(_[t >> 2]);
883
900
  }
884
- var Zr = () => {
885
- Object.assign(Ot.prototype, { getPointee(t) {
901
+ var Qr = () => {
902
+ Object.assign(Dt.prototype, { getPointee(t) {
886
903
  return this.rawGetPointee && (t = this.rawGetPointee(t)), t;
887
904
  }, destructor(t) {
888
905
  this.rawDestructor && this.rawDestructor(t);
889
906
  }, argPackAdvance: q, readValueFromPointer: be, deleteObject(t) {
890
907
  t !== null && t.delete();
891
- }, fromWireType: Vr });
908
+ }, fromWireType: Lr });
892
909
  };
893
- function Ot(t, e, r, n, a, o, u, c, l, h, p) {
894
- this.name = t, this.registeredClass = e, this.isReference = r, this.isConst = n, this.isSmartPointer = a, this.pointeeType = o, this.sharingPolicy = u, this.rawGetPointee = c, this.rawConstructor = l, this.rawShare = h, this.rawDestructor = p, !a && e.baseClass === void 0 ? n ? (this.toWireType = Gr, this.destructorFunction = null) : (this.toWireType = qr, this.destructorFunction = null) : this.toWireType = Xr;
910
+ function Dt(t, e, r, n, a, i, u, c, l, h, p) {
911
+ this.name = t, this.registeredClass = e, this.isReference = r, this.isConst = n, this.isSmartPointer = a, this.pointeeType = i, this.sharingPolicy = u, this.rawGetPointee = c, this.rawConstructor = l, this.rawShare = h, this.rawDestructor = p, !a && e.baseClass === void 0 ? n ? (this.toWireType = Gr, this.destructorFunction = null) : (this.toWireType = qr, this.destructorFunction = null) : this.toWireType = Xr;
895
912
  }
896
913
  var Ce = (t, e, r) => {
897
914
  s.hasOwnProperty(t) || Pt("Replacing nonexistant public symbol"), s[t].overloadTable !== void 0 && r !== void 0 ? s[t].overloadTable[r] = e : (s[t] = e, s[t].argCount = r);
898
- }, Qr = (t, e, r) => {
915
+ }, Zr = (t, e, r) => {
899
916
  var n = s["dynCall_" + t];
900
917
  return r && r.length ? n.apply(null, [e].concat(r)) : n.call(null, e);
901
- }, Dt = [], _e, D = (t) => {
902
- var e = Dt[t];
903
- return e || (t >= Dt.length && (Dt.length = t + 1), Dt[t] = e = _e.get(t)), e;
918
+ }, xt = [], _e, x = (t) => {
919
+ var e = xt[t];
920
+ return e || (t >= xt.length && (xt.length = t + 1), xt[t] = e = _e.get(t)), e;
904
921
  }, Jr = (t, e, r) => {
905
922
  if (t.includes("j"))
906
- return Qr(t, e, r);
907
- var n = D(e).apply(null, r);
923
+ return Zr(t, e, r);
924
+ var n = x(e).apply(null, r);
908
925
  return n;
909
926
  }, Kr = (t, e) => {
910
927
  var r = [];
@@ -914,12 +931,12 @@ var It = (() => {
914
931
  }, N = (t, e) => {
915
932
  t = I(t);
916
933
  function r() {
917
- return t.includes("j") ? Kr(t, e) : D(e);
934
+ return t.includes("j") ? Kr(t, e) : x(e);
918
935
  }
919
936
  var n = r();
920
937
  return typeof n != "function" && C(`unknown function pointer with signature ${t}: ${e}`), n;
921
938
  }, tn = (t, e) => {
922
- var r = Lt(e, function(n) {
939
+ var r = Yt(e, function(n) {
923
940
  this.name = e, this.message = n;
924
941
  var a = new Error(n).stack;
925
942
  a !== void 0 && (this.stack = this.toString() + `
@@ -931,28 +948,28 @@ var It = (() => {
931
948
  }, Te, Pe = (t) => {
932
949
  var e = We(t), r = I(e);
933
950
  return J(e), r;
934
- }, Ft = (t, e) => {
951
+ }, Ot = (t, e) => {
935
952
  var r = [], n = {};
936
- function a(o) {
937
- if (!n[o] && !rt[o]) {
938
- if (Tt[o]) {
939
- Tt[o].forEach(a);
953
+ function a(i) {
954
+ if (!n[i] && !rt[i]) {
955
+ if (Tt[i]) {
956
+ Tt[i].forEach(a);
940
957
  return;
941
958
  }
942
- r.push(o), n[o] = !0;
959
+ r.push(i), n[i] = !0;
943
960
  }
944
961
  }
945
962
  throw e.forEach(a), new Te(`${t}: ` + r.map(Pe).join([", "]));
946
- }, en = (t, e, r, n, a, o, u, c, l, h, p, y, g) => {
947
- p = I(p), o = N(a, o), c && (c = N(u, c)), h && (h = N(l, h)), g = N(y, g);
963
+ }, en = (t, e, r, n, a, i, u, c, l, h, p, y, g) => {
964
+ p = I(p), i = N(a, i), c && (c = N(u, c)), h && (h = N(l, h)), g = N(y, g);
948
965
  var b = we(p);
949
- Yt(b, function() {
950
- Ft(`Cannot construct ${p} due to unbound types`, [n]);
966
+ zt(b, function() {
967
+ Ot(`Cannot construct ${p} due to unbound types`, [n]);
951
968
  }), nt([t, e, r], n ? [n] : [], function(T) {
952
969
  T = T[0];
953
- var j, P;
954
- n ? (j = T.registeredClass, P = j.instancePrototype) : P = At.prototype;
955
- var R = Lt(b, function() {
970
+ var R, P;
971
+ n ? (R = T.registeredClass, P = R.instancePrototype) : P = At.prototype;
972
+ var j = Yt(b, function() {
956
973
  if (Object.getPrototypeOf(this) !== d)
957
974
  throw new ut("Use 'new' to construct " + p);
958
975
  if (m.constructor_body === void 0)
@@ -961,19 +978,19 @@ var It = (() => {
961
978
  if (Mt === void 0)
962
979
  throw new ut(`Tried to invoke ctor of ${p} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(m.constructor_body).toString()}) parameters instead!`);
963
980
  return Mt.apply(this, arguments);
964
- }), d = Object.create(P, { constructor: { value: R } });
965
- R.prototype = d;
966
- var m = new Nr(p, R, d, g, j, o, c, h);
981
+ }), d = Object.create(P, { constructor: { value: j } });
982
+ j.prototype = d;
983
+ var m = new Nr(p, j, d, g, R, i, c, h);
967
984
  m.baseClass && (m.baseClass.__derivedClasses === void 0 && (m.baseClass.__derivedClasses = []), m.baseClass.__derivedClasses.push(m));
968
- var x = new Ot(p, m, !0, !1, !1), M = new Ot(p + "*", m, !1, !1, !1), at = new Ot(p + " const*", m, !1, !0, !1);
969
- return ge[t] = { pointerType: M, constPointerType: at }, Ce(b, R), [x, M, at];
985
+ var S = new Dt(p, m, !0, !1, !1), M = new Dt(p + "*", m, !1, !1, !1), at = new Dt(p + " const*", m, !1, !0, !1);
986
+ return ge[t] = { pointerType: M, constPointerType: at }, Ce(b, j), [S, M, at];
970
987
  });
971
- }, Nt = (t, e) => {
988
+ }, Gt = (t, e) => {
972
989
  for (var r = [], n = 0; n < t; n++)
973
990
  r.push(_[e + n * 4 >> 2]);
974
991
  return r;
975
992
  };
976
- function Gt(t, e, r, n, a, o) {
993
+ function Xt(t, e, r, n, a, i) {
977
994
  var u = e.length;
978
995
  u < 2 && C("argTypes array size mismatch! Must at least get return value and 'this' types!");
979
996
  for (var c = e[1] !== null && r !== null, l = !1, h = 1; h < e.length; ++h)
@@ -984,52 +1001,52 @@ var It = (() => {
984
1001
  var p = e[0].name !== "void", y = u - 2, g = new Array(y), b = [], T = [];
985
1002
  return function() {
986
1003
  arguments.length !== y && C(`function ${t} called with ${arguments.length} arguments, expected ${y}`), T.length = 0;
987
- var j;
988
- b.length = c ? 2 : 1, b[0] = a, c && (j = e[1].toWireType(T, this), b[1] = j);
1004
+ var R;
1005
+ b.length = c ? 2 : 1, b[0] = a, c && (R = e[1].toWireType(T, this), b[1] = R);
989
1006
  for (var P = 0; P < y; ++P)
990
1007
  g[P] = e[P + 2].toWireType(T, arguments[P]), b.push(g[P]);
991
- var R = n.apply(null, b);
1008
+ var j = n.apply(null, b);
992
1009
  function d(m) {
993
1010
  if (l)
994
1011
  he(T);
995
1012
  else
996
- for (var x = c ? 1 : 2; x < e.length; x++) {
997
- var M = x === 1 ? j : g[x - 2];
998
- e[x].destructorFunction !== null && e[x].destructorFunction(M);
1013
+ for (var S = c ? 1 : 2; S < e.length; S++) {
1014
+ var M = S === 1 ? R : g[S - 2];
1015
+ e[S].destructorFunction !== null && e[S].destructorFunction(M);
999
1016
  }
1000
1017
  if (p)
1001
1018
  return e[0].fromWireType(m);
1002
1019
  }
1003
- return d(R);
1020
+ return d(j);
1004
1021
  };
1005
1022
  }
1006
- var rn = (t, e, r, n, a, o) => {
1007
- var u = Nt(e, r);
1023
+ var rn = (t, e, r, n, a, i) => {
1024
+ var u = Gt(e, r);
1008
1025
  a = N(n, a), nt([], [t], function(c) {
1009
1026
  c = c[0];
1010
1027
  var l = `constructor ${c.name}`;
1011
1028
  if (c.registeredClass.constructor_body === void 0 && (c.registeredClass.constructor_body = []), c.registeredClass.constructor_body[e - 1] !== void 0)
1012
1029
  throw new ut(`Cannot register multiple constructors with identical number of parameters (${e - 1}) for class '${c.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
1013
1030
  return c.registeredClass.constructor_body[e - 1] = () => {
1014
- Ft(`Cannot construct ${c.name} due to unbound types`, u);
1015
- }, nt([], u, (h) => (h.splice(1, 0, null), c.registeredClass.constructor_body[e - 1] = Gt(l, h, null, a, o), [])), [];
1031
+ Ot(`Cannot construct ${c.name} due to unbound types`, u);
1032
+ }, nt([], u, (h) => (h.splice(1, 0, null), c.registeredClass.constructor_body[e - 1] = Xt(l, h, null, a, i), [])), [];
1016
1033
  });
1017
1034
  }, Ee = (t) => {
1018
1035
  t = t.trim();
1019
1036
  const e = t.indexOf("(");
1020
1037
  return e !== -1 ? (jt(t[t.length - 1] == ")", "Parentheses for argument names should match."), t.substr(0, e)) : t;
1021
- }, nn = (t, e, r, n, a, o, u, c, l) => {
1022
- var h = Nt(r, n);
1023
- e = I(e), e = Ee(e), o = N(a, o), nt([], [t], function(p) {
1038
+ }, nn = (t, e, r, n, a, i, u, c, l) => {
1039
+ var h = Gt(r, n);
1040
+ e = I(e), e = Ee(e), i = N(a, i), nt([], [t], function(p) {
1024
1041
  p = p[0];
1025
1042
  var y = `${p.name}.${e}`;
1026
1043
  e.startsWith("@@") && (e = Symbol[e.substring(2)]), c && p.registeredClass.pureVirtualFunctions.push(e);
1027
1044
  function g() {
1028
- Ft(`Cannot call ${y} due to unbound types`, h);
1045
+ Ot(`Cannot call ${y} due to unbound types`, h);
1029
1046
  }
1030
1047
  var b = p.registeredClass.instancePrototype, T = b[e];
1031
- return T === void 0 || T.overloadTable === void 0 && T.className !== p.name && T.argCount === r - 2 ? (g.argCount = r - 2, g.className = p.name, b[e] = g) : ($e(b, e, y), b[e].overloadTable[r - 2] = g), nt([], h, function(j) {
1032
- var P = Gt(y, j, p, o, u);
1048
+ return T === void 0 || T.overloadTable === void 0 && T.className !== p.name && T.argCount === r - 2 ? (g.argCount = r - 2, g.className = p.name, b[e] = g) : ($e(b, e, y), b[e].overloadTable[r - 2] = g), nt([], h, function(R) {
1049
+ var P = Xt(y, R, p, i, u);
1033
1050
  return b[e].overloadTable === void 0 ? (P.argCount = r - 2, b[e] = P) : b[e].overloadTable[r - 2] = P, [];
1034
1051
  }), [];
1035
1052
  });
@@ -1049,7 +1066,7 @@ var It = (() => {
1049
1066
  function Ae() {
1050
1067
  this.allocated = [void 0], this.freelist = [];
1051
1068
  }
1052
- var z = new Ae(), Oe = (t) => {
1069
+ var z = new Ae(), De = (t) => {
1053
1070
  t >= z.reserved && --z.get(t).refcount === 0 && z.free(t);
1054
1071
  }, on = () => {
1055
1072
  for (var t = 0, e = z.reserved; e < z.allocated.length; ++e)
@@ -1073,13 +1090,13 @@ var It = (() => {
1073
1090
  } }, un = (t, e) => {
1074
1091
  e = I(e), X(t, { name: e, fromWireType: (r) => {
1075
1092
  var n = K.toValue(r);
1076
- return Oe(r), n;
1077
- }, toWireType: (r, n) => K.toHandle(n), argPackAdvance: q, readValueFromPointer: Ht, destructorFunction: null });
1093
+ return De(r), n;
1094
+ }, toWireType: (r, n) => K.toHandle(n), argPackAdvance: q, readValueFromPointer: Bt, destructorFunction: null });
1078
1095
  }, cn = (t, e, r) => {
1079
1096
  switch (e) {
1080
1097
  case 1:
1081
1098
  return r ? function(n) {
1082
- return this.fromWireType(V[n >> 0]);
1099
+ return this.fromWireType(L[n >> 0]);
1083
1100
  } : function(n) {
1084
1101
  return this.fromWireType(k[n >> 0]);
1085
1102
  };
@@ -1102,19 +1119,19 @@ var It = (() => {
1102
1119
  e = I(e);
1103
1120
  function a() {
1104
1121
  }
1105
- a.values = {}, X(t, { name: e, constructor: a, fromWireType: function(o) {
1106
- return this.constructor.values[o];
1107
- }, toWireType: (o, u) => u.value, argPackAdvance: q, readValueFromPointer: cn(e, r, n), destructorFunction: null }), Yt(e, a);
1108
- }, Xt = (t, e) => {
1122
+ a.values = {}, X(t, { name: e, constructor: a, fromWireType: function(i) {
1123
+ return this.constructor.values[i];
1124
+ }, toWireType: (i, u) => u.value, argPackAdvance: q, readValueFromPointer: cn(e, r, n), destructorFunction: null }), zt(e, a);
1125
+ }, qt = (t, e) => {
1109
1126
  var r = rt[t];
1110
1127
  return r === void 0 && C(e + " has unknown type " + Pe(t)), r;
1111
1128
  }, dn = (t, e, r) => {
1112
- var n = Xt(t, "enum");
1129
+ var n = qt(t, "enum");
1113
1130
  e = I(e);
1114
- var a = n.constructor, o = Object.create(n.constructor.prototype, { value: { value: r }, constructor: { value: Lt(`${n.name}_${e}`, function() {
1131
+ var a = n.constructor, i = Object.create(n.constructor.prototype, { value: { value: r }, constructor: { value: Yt(`${n.name}_${e}`, function() {
1115
1132
  }) } });
1116
- a.values[r] = o, a[e] = o;
1117
- }, qt = (t) => {
1133
+ a.values[r] = i, a[e] = i;
1134
+ }, Qt = (t) => {
1118
1135
  if (t === null)
1119
1136
  return "null";
1120
1137
  var e = typeof t;
@@ -1134,18 +1151,18 @@ var It = (() => {
1134
1151
  }
1135
1152
  }, fn = (t, e, r) => {
1136
1153
  e = I(e), X(t, { name: e, fromWireType: (n) => n, toWireType: (n, a) => a, argPackAdvance: q, readValueFromPointer: hn(e, r), destructorFunction: null });
1137
- }, pn = (t, e, r, n, a, o, u) => {
1138
- var c = Nt(e, r);
1139
- t = I(t), t = Ee(t), a = N(n, a), Yt(t, function() {
1140
- Ft(`Cannot call ${t} due to unbound types`, c);
1154
+ }, pn = (t, e, r, n, a, i, u) => {
1155
+ var c = Gt(e, r);
1156
+ t = I(t), t = Ee(t), a = N(n, a), zt(t, function() {
1157
+ Ot(`Cannot call ${t} due to unbound types`, c);
1141
1158
  }, e - 1), nt([], c, function(l) {
1142
1159
  var h = [l[0], null].concat(l.slice(1));
1143
- return Ce(t, Gt(t, h, null, a, o), e - 1), [];
1160
+ return Ce(t, Xt(t, h, null, a, i), e - 1), [];
1144
1161
  });
1145
1162
  }, mn = (t, e, r) => {
1146
1163
  switch (e) {
1147
1164
  case 1:
1148
- return r ? (n) => V[n >> 0] : (n) => k[n >> 0];
1165
+ return r ? (n) => L[n >> 0] : (n) => k[n >> 0];
1149
1166
  case 2:
1150
1167
  return r ? (n) => ot[n >> 1] : (n) => dt[n >> 1];
1151
1168
  case 4:
@@ -1155,10 +1172,10 @@ var It = (() => {
1155
1172
  }
1156
1173
  }, yn = (t, e, r, n, a) => {
1157
1174
  e = I(e);
1158
- var o = (p) => p;
1175
+ var i = (p) => p;
1159
1176
  if (n === 0) {
1160
1177
  var u = 32 - 8 * r;
1161
- o = (p) => p << u >>> u;
1178
+ i = (p) => p << u >>> u;
1162
1179
  }
1163
1180
  var c = e.includes("unsigned"), l = (p, y) => {
1164
1181
  }, h;
@@ -1166,81 +1183,81 @@ var It = (() => {
1166
1183
  return l(y, this.name), y >>> 0;
1167
1184
  } : h = function(p, y) {
1168
1185
  return l(y, this.name), y;
1169
- }, X(t, { name: e, fromWireType: o, toWireType: h, argPackAdvance: q, readValueFromPointer: mn(e, r, n !== 0), destructorFunction: null });
1186
+ }, X(t, { name: e, fromWireType: i, toWireType: h, argPackAdvance: q, readValueFromPointer: mn(e, r, n !== 0), destructorFunction: null });
1170
1187
  }, vn = (t, e, r) => {
1171
1188
  var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], a = n[e];
1172
- function o(u) {
1189
+ function i(u) {
1173
1190
  var c = _[u >> 2], l = _[u + 4 >> 2];
1174
- return new a(V.buffer, l, c);
1191
+ return new a(L.buffer, l, c);
1175
1192
  }
1176
- r = I(r), X(t, { name: r, fromWireType: o, argPackAdvance: q, readValueFromPointer: o }, { ignoreDuplicateRegistrations: !0 });
1177
- }, De = (t, e, r, n) => {
1193
+ r = I(r), X(t, { name: r, fromWireType: i, argPackAdvance: q, readValueFromPointer: i }, { ignoreDuplicateRegistrations: !0 });
1194
+ }, xe = (t, e, r, n) => {
1178
1195
  if (!(n > 0))
1179
1196
  return 0;
1180
- for (var a = r, o = r + n - 1, u = 0; u < t.length; ++u) {
1197
+ for (var a = r, i = r + n - 1, u = 0; u < t.length; ++u) {
1181
1198
  var c = t.charCodeAt(u);
1182
1199
  if (c >= 55296 && c <= 57343) {
1183
1200
  var l = t.charCodeAt(++u);
1184
1201
  c = 65536 + ((c & 1023) << 10) | l & 1023;
1185
1202
  }
1186
1203
  if (c <= 127) {
1187
- if (r >= o)
1204
+ if (r >= i)
1188
1205
  break;
1189
1206
  e[r++] = c;
1190
1207
  } else if (c <= 2047) {
1191
- if (r + 1 >= o)
1208
+ if (r + 1 >= i)
1192
1209
  break;
1193
1210
  e[r++] = 192 | c >> 6, e[r++] = 128 | c & 63;
1194
1211
  } else if (c <= 65535) {
1195
- if (r + 2 >= o)
1212
+ if (r + 2 >= i)
1196
1213
  break;
1197
1214
  e[r++] = 224 | c >> 12, e[r++] = 128 | c >> 6 & 63, e[r++] = 128 | c & 63;
1198
1215
  } else {
1199
- if (r + 3 >= o)
1216
+ if (r + 3 >= i)
1200
1217
  break;
1201
1218
  e[r++] = 240 | c >> 18, e[r++] = 128 | c >> 12 & 63, e[r++] = 128 | c >> 6 & 63, e[r++] = 128 | c & 63;
1202
1219
  }
1203
1220
  }
1204
1221
  return e[r] = 0, r - a;
1205
- }, gn = (t, e, r) => De(t, k, e, r), Fe = (t) => {
1222
+ }, gn = (t, e, r) => xe(t, k, e, r), Oe = (t) => {
1206
1223
  for (var e = 0, r = 0; r < t.length; ++r) {
1207
1224
  var n = t.charCodeAt(r);
1208
1225
  n <= 127 ? e++ : n <= 2047 ? e += 2 : n >= 55296 && n <= 57343 ? (e += 4, ++r) : e += 3;
1209
1226
  }
1210
1227
  return e;
1211
- }, Se = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0, wn = (t, e, r) => {
1228
+ }, Fe = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0, wn = (t, e, r) => {
1212
1229
  for (var n = e + r, a = e; t[a] && !(a >= n); )
1213
1230
  ++a;
1214
- if (a - e > 16 && t.buffer && Se)
1215
- return Se.decode(t.subarray(e, a));
1216
- for (var o = ""; e < a; ) {
1231
+ if (a - e > 16 && t.buffer && Fe)
1232
+ return Fe.decode(t.subarray(e, a));
1233
+ for (var i = ""; e < a; ) {
1217
1234
  var u = t[e++];
1218
1235
  if (!(u & 128)) {
1219
- o += String.fromCharCode(u);
1236
+ i += String.fromCharCode(u);
1220
1237
  continue;
1221
1238
  }
1222
1239
  var c = t[e++] & 63;
1223
1240
  if ((u & 224) == 192) {
1224
- o += String.fromCharCode((u & 31) << 6 | c);
1241
+ i += String.fromCharCode((u & 31) << 6 | c);
1225
1242
  continue;
1226
1243
  }
1227
1244
  var l = t[e++] & 63;
1228
1245
  if ((u & 240) == 224 ? u = (u & 15) << 12 | c << 6 | l : u = (u & 7) << 18 | c << 12 | l << 6 | t[e++] & 63, u < 65536)
1229
- o += String.fromCharCode(u);
1246
+ i += String.fromCharCode(u);
1230
1247
  else {
1231
1248
  var h = u - 65536;
1232
- o += String.fromCharCode(55296 | h >> 10, 56320 | h & 1023);
1249
+ i += String.fromCharCode(55296 | h >> 10, 56320 | h & 1023);
1233
1250
  }
1234
1251
  }
1235
- return o;
1252
+ return i;
1236
1253
  }, Zt = (t, e) => t ? wn(k, t, e) : "", $n = (t, e) => {
1237
1254
  e = I(e);
1238
1255
  var r = e === "std::string";
1239
1256
  X(t, { name: e, fromWireType(n) {
1240
- var a = _[n >> 2], o = n + 4, u;
1257
+ var a = _[n >> 2], i = n + 4, u;
1241
1258
  if (r)
1242
- for (var c = o, l = 0; l <= a; ++l) {
1243
- var h = o + l;
1259
+ for (var c = i, l = 0; l <= a; ++l) {
1260
+ var h = i + l;
1244
1261
  if (l == a || k[h] == 0) {
1245
1262
  var p = h - c, y = Zt(c, p);
1246
1263
  u === void 0 ? u = y : (u += "\0", u += y), c = h + 1;
@@ -1248,47 +1265,47 @@ var It = (() => {
1248
1265
  }
1249
1266
  else {
1250
1267
  for (var g = new Array(a), l = 0; l < a; ++l)
1251
- g[l] = String.fromCharCode(k[o + l]);
1268
+ g[l] = String.fromCharCode(k[i + l]);
1252
1269
  u = g.join("");
1253
1270
  }
1254
1271
  return J(n), u;
1255
1272
  }, toWireType(n, a) {
1256
1273
  a instanceof ArrayBuffer && (a = new Uint8Array(a));
1257
- var o, u = typeof a == "string";
1258
- u || a instanceof Uint8Array || a instanceof Uint8ClampedArray || a instanceof Int8Array || C("Cannot pass non-string to std::string"), r && u ? o = Fe(a) : o = a.length;
1259
- var c = Jt(4 + o + 1), l = c + 4;
1260
- if (_[c >> 2] = o, r && u)
1261
- gn(a, l, o + 1);
1274
+ var i, u = typeof a == "string";
1275
+ u || a instanceof Uint8Array || a instanceof Uint8ClampedArray || a instanceof Int8Array || C("Cannot pass non-string to std::string"), r && u ? i = Oe(a) : i = a.length;
1276
+ var c = Kt(4 + i + 1), l = c + 4;
1277
+ if (_[c >> 2] = i, r && u)
1278
+ gn(a, l, i + 1);
1262
1279
  else if (u)
1263
- for (var h = 0; h < o; ++h) {
1280
+ for (var h = 0; h < i; ++h) {
1264
1281
  var p = a.charCodeAt(h);
1265
1282
  p > 255 && (J(l), C("String has UTF-16 code units that do not fit in 8 bits")), k[l + h] = p;
1266
1283
  }
1267
1284
  else
1268
- for (var h = 0; h < o; ++h)
1285
+ for (var h = 0; h < i; ++h)
1269
1286
  k[l + h] = a[h];
1270
1287
  return n !== null && n.push(J, c), c;
1271
1288
  }, argPackAdvance: q, readValueFromPointer: be, destructorFunction(n) {
1272
1289
  J(n);
1273
1290
  } });
1274
- }, xe = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0, bn = (t, e) => {
1291
+ }, Se = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0, bn = (t, e) => {
1275
1292
  for (var r = t, n = r >> 1, a = n + e / 2; !(n >= a) && dt[n]; )
1276
1293
  ++n;
1277
- if (r = n << 1, r - t > 32 && xe)
1278
- return xe.decode(k.subarray(t, r));
1279
- for (var o = "", u = 0; !(u >= e / 2); ++u) {
1294
+ if (r = n << 1, r - t > 32 && Se)
1295
+ return Se.decode(k.subarray(t, r));
1296
+ for (var i = "", u = 0; !(u >= e / 2); ++u) {
1280
1297
  var c = ot[t + u * 2 >> 1];
1281
1298
  if (c == 0)
1282
1299
  break;
1283
- o += String.fromCharCode(c);
1300
+ i += String.fromCharCode(c);
1284
1301
  }
1285
- return o;
1302
+ return i;
1286
1303
  }, Cn = (t, e, r) => {
1287
1304
  if (r === void 0 && (r = 2147483647), r < 2)
1288
1305
  return 0;
1289
1306
  r -= 2;
1290
- for (var n = e, a = r < t.length * 2 ? r / 2 : t.length, o = 0; o < a; ++o) {
1291
- var u = t.charCodeAt(o);
1307
+ for (var n = e, a = r < t.length * 2 ? r / 2 : t.length, i = 0; i < a; ++i) {
1308
+ var u = t.charCodeAt(i);
1292
1309
  ot[e >> 1] = u, e += 2;
1293
1310
  }
1294
1311
  return ot[e >> 1] = 0, e - n;
@@ -1298,8 +1315,8 @@ var It = (() => {
1298
1315
  if (a == 0)
1299
1316
  break;
1300
1317
  if (++r, a >= 65536) {
1301
- var o = a - 65536;
1302
- n += String.fromCharCode(55296 | o >> 10, 56320 | o & 1023);
1318
+ var i = a - 65536;
1319
+ n += String.fromCharCode(55296 | i >> 10, 56320 | i & 1023);
1303
1320
  } else
1304
1321
  n += String.fromCharCode(a);
1305
1322
  }
@@ -1307,10 +1324,10 @@ var It = (() => {
1307
1324
  }, Pn = (t, e, r) => {
1308
1325
  if (r === void 0 && (r = 2147483647), r < 4)
1309
1326
  return 0;
1310
- for (var n = e, a = n + r - 4, o = 0; o < t.length; ++o) {
1311
- var u = t.charCodeAt(o);
1327
+ for (var n = e, a = n + r - 4, i = 0; i < t.length; ++i) {
1328
+ var u = t.charCodeAt(i);
1312
1329
  if (u >= 55296 && u <= 57343) {
1313
- var c = t.charCodeAt(++o);
1330
+ var c = t.charCodeAt(++i);
1314
1331
  u = 65536 + ((u & 1023) << 10) | c & 1023;
1315
1332
  }
1316
1333
  if (W[e >> 2] = u, e += 4, e + 4 > a)
@@ -1325,33 +1342,33 @@ var It = (() => {
1325
1342
  return e;
1326
1343
  }, An = (t, e, r) => {
1327
1344
  r = I(r);
1328
- var n, a, o, u, c;
1329
- e === 2 ? (n = bn, a = Cn, u = _n, o = () => dt, c = 1) : e === 4 && (n = Tn, a = Pn, u = En, o = () => _, c = 2), X(t, { name: r, fromWireType: (l) => {
1330
- for (var h = _[l >> 2], p = o(), y, g = l + 4, b = 0; b <= h; ++b) {
1345
+ var n, a, i, u, c;
1346
+ e === 2 ? (n = bn, a = Cn, u = _n, i = () => dt, c = 1) : e === 4 && (n = Tn, a = Pn, u = En, i = () => _, c = 2), X(t, { name: r, fromWireType: (l) => {
1347
+ for (var h = _[l >> 2], p = i(), y, g = l + 4, b = 0; b <= h; ++b) {
1331
1348
  var T = l + 4 + b * e;
1332
1349
  if (b == h || p[T >> c] == 0) {
1333
- var j = T - g, P = n(g, j);
1350
+ var R = T - g, P = n(g, R);
1334
1351
  y === void 0 ? y = P : (y += "\0", y += P), g = T + e;
1335
1352
  }
1336
1353
  }
1337
1354
  return J(l), y;
1338
1355
  }, toWireType: (l, h) => {
1339
1356
  typeof h != "string" && C(`Cannot pass non-string to C++ string type ${r}`);
1340
- var p = u(h), y = Jt(4 + p + e);
1357
+ var p = u(h), y = Kt(4 + p + e);
1341
1358
  return _[y >> 2] = p >> c, a(h, y + 4, p + e), l !== null && l.push(J, y), y;
1342
- }, argPackAdvance: q, readValueFromPointer: Ht, destructorFunction(l) {
1359
+ }, argPackAdvance: q, readValueFromPointer: Bt, destructorFunction(l) {
1343
1360
  J(l);
1344
1361
  } });
1345
- }, On = (t, e, r, n, a, o) => {
1346
- _t[t] = { name: I(e), rawConstructor: N(r, n), rawDestructor: N(a, o), fields: [] };
1347
- }, Dn = (t, e, r, n, a, o, u, c, l, h) => {
1348
- _t[t].fields.push({ fieldName: I(e), getterReturnType: r, getter: N(n, a), getterContext: o, setterArgumentType: u, setter: N(c, l), setterContext: h });
1349
- }, Fn = (t, e) => {
1362
+ }, Dn = (t, e, r, n, a, i) => {
1363
+ _t[t] = { name: I(e), rawConstructor: N(r, n), rawDestructor: N(a, i), fields: [] };
1364
+ }, xn = (t, e, r, n, a, i, u, c, l, h) => {
1365
+ _t[t].fields.push({ fieldName: I(e), getterReturnType: r, getter: N(n, a), getterContext: i, setterArgumentType: u, setter: N(c, l), setterContext: h });
1366
+ }, On = (t, e) => {
1350
1367
  e = I(e), X(t, { isVoid: !0, name: e, argPackAdvance: 0, fromWireType: () => {
1351
1368
  }, toWireType: (r, n) => {
1352
1369
  } });
1353
- }, Sn = {}, xn = (t) => {
1354
- var e = Sn[t];
1370
+ }, Fn = {}, Sn = (t) => {
1371
+ var e = Fn[t];
1355
1372
  return e === void 0 ? I(t) : e;
1356
1373
  }, Me = () => {
1357
1374
  if (typeof globalThis == "object")
@@ -1364,25 +1381,25 @@ var It = (() => {
1364
1381
  if (typeof $$$embind_global$$$ == "object" || (typeof global == "object" && t(global) ? $$$embind_global$$$ = global : typeof self == "object" && t(self) && ($$$embind_global$$$ = self), typeof $$$embind_global$$$ == "object"))
1365
1382
  return $$$embind_global$$$;
1366
1383
  throw Error("unable to get global object.");
1367
- }, Mn = (t) => t === 0 ? K.toHandle(Me()) : (t = xn(t), K.toHandle(Me()[t])), In = (t) => {
1384
+ }, Mn = (t) => t === 0 ? K.toHandle(Me()) : (t = Sn(t), K.toHandle(Me()[t])), In = (t) => {
1368
1385
  t > 4 && (z.get(t).refcount += 1);
1369
- }, jn = (t) => {
1386
+ }, Rn = (t) => {
1370
1387
  var e = new Array(t + 1);
1371
1388
  return function(r, n, a) {
1372
1389
  e[0] = r;
1373
- for (var o = 0; o < t; ++o) {
1374
- var u = Xt(_[n + o * 4 >> 2], "parameter " + o);
1375
- e[o + 1] = u.readValueFromPointer(a), a += u.argPackAdvance;
1390
+ for (var i = 0; i < t; ++i) {
1391
+ var u = qt(_[n + i * 4 >> 2], "parameter " + i);
1392
+ e[i + 1] = u.readValueFromPointer(a), a += u.argPackAdvance;
1376
1393
  }
1377
1394
  var c = new (r.bind.apply(r, e))();
1378
1395
  return K.toHandle(c);
1379
1396
  };
1380
- }, Ie = {}, Rn = (t, e, r, n) => {
1397
+ }, Ie = {}, jn = (t, e, r, n) => {
1381
1398
  t = K.toValue(t);
1382
1399
  var a = Ie[e];
1383
- return a || (a = jn(e), Ie[e] = a), a(t, r, n);
1400
+ return a || (a = Rn(e), Ie[e] = a), a(t, r, n);
1384
1401
  }, Wn = (t, e) => {
1385
- t = Xt(t, "_emval_take_value");
1402
+ t = qt(t, "_emval_take_value");
1386
1403
  var r = t.readValueFromPointer(e);
1387
1404
  return K.toHandle(r);
1388
1405
  }, kn = () => {
@@ -1393,25 +1410,25 @@ var It = (() => {
1393
1410
  return tt.grow(r), oe(), 1;
1394
1411
  } catch {
1395
1412
  }
1396
- }, Vn = (t) => {
1413
+ }, Ln = (t) => {
1397
1414
  var e = k.length;
1398
1415
  t >>>= 0;
1399
1416
  var r = Bn();
1400
1417
  if (t > r)
1401
1418
  return !1;
1402
1419
  for (var n = (l, h) => l + (h - l % h) % h, a = 1; a <= 4; a *= 2) {
1403
- var o = e * (1 + 0.2 / a);
1404
- o = Math.min(o, t + 100663296);
1405
- var u = Math.min(r, n(Math.max(t, o), 65536)), c = Un(u);
1420
+ var i = e * (1 + 0.2 / a);
1421
+ i = Math.min(i, t + 100663296);
1422
+ var u = Math.min(r, n(Math.max(t, i), 65536)), c = Un(u);
1406
1423
  if (c)
1407
1424
  return !0;
1408
1425
  }
1409
1426
  return !1;
1410
- }, Qt = {}, Ln = () => H || "./this.program", gt = () => {
1427
+ }, Jt = {}, Vn = () => H || "./this.program", gt = () => {
1411
1428
  if (!gt.strings) {
1412
- var t = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", e = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: t, _: Ln() };
1413
- for (var r in Qt)
1414
- Qt[r] === void 0 ? delete e[r] : e[r] = Qt[r];
1429
+ var t = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", e = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: t, _: Vn() };
1430
+ for (var r in Jt)
1431
+ Jt[r] === void 0 ? delete e[r] : e[r] = Jt[r];
1415
1432
  var n = [];
1416
1433
  for (var r in e)
1417
1434
  n.push(`${r}=${e[r]}`);
@@ -1420,58 +1437,58 @@ var It = (() => {
1420
1437
  return gt.strings;
1421
1438
  }, Yn = (t, e) => {
1422
1439
  for (var r = 0; r < t.length; ++r)
1423
- V[e++ >> 0] = t.charCodeAt(r);
1424
- V[e >> 0] = 0;
1440
+ L[e++ >> 0] = t.charCodeAt(r);
1441
+ L[e >> 0] = 0;
1425
1442
  }, zn = (t, e) => {
1426
1443
  var r = 0;
1427
1444
  return gt().forEach((n, a) => {
1428
- var o = e + r;
1429
- _[t + a * 4 >> 2] = o, Yn(n, o), r += n.length + 1;
1445
+ var i = e + r;
1446
+ _[t + a * 4 >> 2] = i, Yn(n, i), r += n.length + 1;
1430
1447
  }), 0;
1431
1448
  }, Nn = (t, e) => {
1432
1449
  var r = gt();
1433
1450
  _[t >> 2] = r.length;
1434
1451
  var n = 0;
1435
1452
  return r.forEach((a) => n += a.length + 1), _[e >> 2] = n, 0;
1436
- }, Gn = (t) => t, St = (t) => t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0), Xn = (t, e) => {
1453
+ }, Gn = (t) => t, Ft = (t) => t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0), Xn = (t, e) => {
1437
1454
  for (var r = 0, n = 0; n <= e; r += t[n++])
1438
1455
  ;
1439
1456
  return r;
1440
- }, je = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Re = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], qn = (t, e) => {
1457
+ }, Re = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], je = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], qn = (t, e) => {
1441
1458
  for (var r = new Date(t.getTime()); e > 0; ) {
1442
- var n = St(r.getFullYear()), a = r.getMonth(), o = (n ? je : Re)[a];
1443
- if (e > o - r.getDate())
1444
- e -= o - r.getDate() + 1, r.setDate(1), a < 11 ? r.setMonth(a + 1) : (r.setMonth(0), r.setFullYear(r.getFullYear() + 1));
1459
+ var n = Ft(r.getFullYear()), a = r.getMonth(), i = (n ? Re : je)[a];
1460
+ if (e > i - r.getDate())
1461
+ e -= i - r.getDate() + 1, r.setDate(1), a < 11 ? r.setMonth(a + 1) : (r.setMonth(0), r.setFullYear(r.getFullYear() + 1));
1445
1462
  else
1446
1463
  return r.setDate(r.getDate() + e), r;
1447
1464
  }
1448
1465
  return r;
1449
1466
  };
1450
- function Zn(t, e, r) {
1451
- var n = r > 0 ? r : Fe(t) + 1, a = new Array(n), o = De(t, a, 0, a.length);
1452
- return e && (a.length = o), a;
1467
+ function Qn(t, e, r) {
1468
+ var n = r > 0 ? r : Oe(t) + 1, a = new Array(n), i = xe(t, a, 0, a.length);
1469
+ return e && (a.length = i), a;
1453
1470
  }
1454
- var Qn = (t, e) => {
1455
- V.set(t, e);
1471
+ var Zn = (t, e) => {
1472
+ L.set(t, e);
1456
1473
  }, Jn = (t, e, r, n) => {
1457
- var a = _[n + 40 >> 2], o = { tm_sec: W[n >> 2], tm_min: W[n + 4 >> 2], tm_hour: W[n + 8 >> 2], tm_mday: W[n + 12 >> 2], tm_mon: W[n + 16 >> 2], tm_year: W[n + 20 >> 2], tm_wday: W[n + 24 >> 2], tm_yday: W[n + 28 >> 2], tm_isdst: W[n + 32 >> 2], tm_gmtoff: W[n + 36 >> 2], tm_zone: a ? Zt(a) : "" }, u = Zt(r), c = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
1474
+ var a = _[n + 40 >> 2], i = { tm_sec: W[n >> 2], tm_min: W[n + 4 >> 2], tm_hour: W[n + 8 >> 2], tm_mday: W[n + 12 >> 2], tm_mon: W[n + 16 >> 2], tm_year: W[n + 20 >> 2], tm_wday: W[n + 24 >> 2], tm_yday: W[n + 28 >> 2], tm_isdst: W[n + 32 >> 2], tm_gmtoff: W[n + 36 >> 2], tm_zone: a ? Zt(a) : "" }, u = Zt(r), c = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
1458
1475
  for (var l in c)
1459
1476
  u = u.replace(new RegExp(l, "g"), c[l]);
1460
1477
  var h = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], p = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
1461
- function y(d, m, x) {
1478
+ function y(d, m, S) {
1462
1479
  for (var M = typeof d == "number" ? d.toString() : d || ""; M.length < m; )
1463
- M = x[0] + M;
1480
+ M = S[0] + M;
1464
1481
  return M;
1465
1482
  }
1466
1483
  function g(d, m) {
1467
1484
  return y(d, m, "0");
1468
1485
  }
1469
1486
  function b(d, m) {
1470
- function x(at) {
1487
+ function S(at) {
1471
1488
  return at < 0 ? -1 : at > 0 ? 1 : 0;
1472
1489
  }
1473
1490
  var M;
1474
- return (M = x(d.getFullYear() - m.getFullYear())) === 0 && (M = x(d.getMonth() - m.getMonth())) === 0 && (M = x(d.getDate() - m.getDate())), M;
1491
+ return (M = S(d.getFullYear() - m.getFullYear())) === 0 && (M = S(d.getMonth() - m.getMonth())) === 0 && (M = S(d.getDate() - m.getDate())), M;
1475
1492
  }
1476
1493
  function T(d) {
1477
1494
  switch (d.getDay()) {
@@ -1491,17 +1508,17 @@ var It = (() => {
1491
1508
  return new Date(d.getFullYear() - 1, 11, 30);
1492
1509
  }
1493
1510
  }
1494
- function j(d) {
1495
- var m = qn(new Date(d.tm_year + 1900, 0, 1), d.tm_yday), x = new Date(m.getFullYear(), 0, 4), M = new Date(m.getFullYear() + 1, 0, 4), at = T(x), Mt = T(M);
1511
+ function R(d) {
1512
+ var m = qn(new Date(d.tm_year + 1900, 0, 1), d.tm_yday), S = new Date(m.getFullYear(), 0, 4), M = new Date(m.getFullYear() + 1, 0, 4), at = T(S), Mt = T(M);
1496
1513
  return b(at, m) <= 0 ? b(Mt, m) <= 0 ? m.getFullYear() + 1 : m.getFullYear() : m.getFullYear() - 1;
1497
1514
  }
1498
1515
  var P = { "%a": (d) => h[d.tm_wday].substring(0, 3), "%A": (d) => h[d.tm_wday], "%b": (d) => p[d.tm_mon].substring(0, 3), "%B": (d) => p[d.tm_mon], "%C": (d) => {
1499
1516
  var m = d.tm_year + 1900;
1500
1517
  return g(m / 100 | 0, 2);
1501
- }, "%d": (d) => g(d.tm_mday, 2), "%e": (d) => y(d.tm_mday, 2, " "), "%g": (d) => j(d).toString().substring(2), "%G": (d) => j(d), "%H": (d) => g(d.tm_hour, 2), "%I": (d) => {
1518
+ }, "%d": (d) => g(d.tm_mday, 2), "%e": (d) => y(d.tm_mday, 2, " "), "%g": (d) => R(d).toString().substring(2), "%G": (d) => R(d), "%H": (d) => g(d.tm_hour, 2), "%I": (d) => {
1502
1519
  var m = d.tm_hour;
1503
1520
  return m == 0 ? m = 12 : m > 12 && (m -= 12), g(m, 2);
1504
- }, "%j": (d) => g(d.tm_mday + Xn(St(d.tm_year + 1900) ? je : Re, d.tm_mon - 1), 3), "%m": (d) => g(d.tm_mon + 1, 2), "%M": (d) => g(d.tm_min, 2), "%n": () => `
1521
+ }, "%j": (d) => g(d.tm_mday + Xn(Ft(d.tm_year + 1900) ? Re : je, d.tm_mon - 1), 3), "%m": (d) => g(d.tm_mon + 1, 2), "%M": (d) => g(d.tm_min, 2), "%n": () => `
1505
1522
  `, "%p": (d) => d.tm_hour >= 0 && d.tm_hour < 12 ? "AM" : "PM", "%S": (d) => g(d.tm_sec, 2), "%t": () => " ", "%u": (d) => d.tm_wday || 7, "%U": (d) => {
1506
1523
  var m = d.tm_yday + 7 - d.tm_wday;
1507
1524
  return g(Math.floor(m / 7), 2);
@@ -1509,253 +1526,253 @@ var It = (() => {
1509
1526
  var m = Math.floor((d.tm_yday + 7 - (d.tm_wday + 6) % 7) / 7);
1510
1527
  if ((d.tm_wday + 371 - d.tm_yday - 2) % 7 <= 2 && m++, m) {
1511
1528
  if (m == 53) {
1512
- var x = (d.tm_wday + 371 - d.tm_yday) % 7;
1513
- x != 4 && (x != 3 || !St(d.tm_year)) && (m = 1);
1529
+ var S = (d.tm_wday + 371 - d.tm_yday) % 7;
1530
+ S != 4 && (S != 3 || !Ft(d.tm_year)) && (m = 1);
1514
1531
  }
1515
1532
  } else {
1516
1533
  m = 52;
1517
1534
  var M = (d.tm_wday + 7 - d.tm_yday - 1) % 7;
1518
- (M == 4 || M == 5 && St(d.tm_year % 400 - 1)) && m++;
1535
+ (M == 4 || M == 5 && Ft(d.tm_year % 400 - 1)) && m++;
1519
1536
  }
1520
1537
  return g(m, 2);
1521
1538
  }, "%w": (d) => d.tm_wday, "%W": (d) => {
1522
1539
  var m = d.tm_yday + 7 - (d.tm_wday + 6) % 7;
1523
1540
  return g(Math.floor(m / 7), 2);
1524
1541
  }, "%y": (d) => (d.tm_year + 1900).toString().substring(2), "%Y": (d) => d.tm_year + 1900, "%z": (d) => {
1525
- var m = d.tm_gmtoff, x = m >= 0;
1526
- return m = Math.abs(m) / 60, m = m / 60 * 100 + m % 60, (x ? "+" : "-") + ("0000" + m).slice(-4);
1542
+ var m = d.tm_gmtoff, S = m >= 0;
1543
+ return m = Math.abs(m) / 60, m = m / 60 * 100 + m % 60, (S ? "+" : "-") + ("0000" + m).slice(-4);
1527
1544
  }, "%Z": (d) => d.tm_zone, "%%": () => "%" };
1528
1545
  u = u.replace(/%%/g, "\0\0");
1529
1546
  for (var l in P)
1530
- u.includes(l) && (u = u.replace(new RegExp(l, "g"), P[l](o)));
1547
+ u.includes(l) && (u = u.replace(new RegExp(l, "g"), P[l](i)));
1531
1548
  u = u.replace(/\0\0/g, "%");
1532
- var R = Zn(u, !1);
1533
- return R.length > e ? 0 : (Qn(R, t), R.length - 1);
1549
+ var j = Qn(u, !1);
1550
+ return j.length > e ? 0 : (Zn(j, t), j.length - 1);
1534
1551
  }, Kn = (t, e, r, n, a) => Jn(t, e, r, n);
1535
1552
  fe = s.InternalError = class extends Error {
1536
1553
  constructor(t) {
1537
1554
  super(t), this.name = "InternalError";
1538
1555
  }
1539
- }, Sr(), ut = s.BindingError = class extends Error {
1556
+ }, Fr(), ut = s.BindingError = class extends Error {
1540
1557
  constructor(t) {
1541
1558
  super(t), this.name = "BindingError";
1542
1559
  }
1543
- }, Lr(), Hr(), Zr(), Te = s.UnboundTypeError = tn(Error, "UnboundTypeError"), an(), sn();
1544
- var ta = { s: $r, v: br, b: _r, g: Tr, q: Pr, I: Er, f: Ar, T: Or, d: Cr, ba: Dr, P: Fr, Y: Mr, aa: en, $: rn, w: nn, X: un, x: ln, h: dn, K: fn, L: pn, t: yn, n: vn, J: $n, C: An, A: On, ca: Dn, Z: Fn, ea: Oe, da: Mn, M: In, V: Rn, _: Wn, B: kn, W: Hn, U: Vn, R: zn, S: Nn, D: ma, E: pa, m: ya, a: ea, e: oa, o: ua, k: aa, G: ha, u: la, F: fa, z: ga, O: $a, l: ia, j: sa, c: na, p: ra, H: da, r: va, i: ca, y: wa, N: Gn, Q: Kn }, E = wr(), J = s._free = (t) => (J = s._free = E.ha)(t), Jt = s._malloc = (t) => (Jt = s._malloc = E.ia)(t), We = (t) => (We = E.ka)(t);
1560
+ }, Vr(), Hr(), Qr(), Te = s.UnboundTypeError = tn(Error, "UnboundTypeError"), an(), sn();
1561
+ var ta = { s: $r, v: br, b: _r, g: Tr, q: Pr, I: Er, f: Ar, T: Dr, d: Cr, ba: xr, P: Or, Y: Mr, aa: en, $: rn, w: nn, X: un, x: ln, h: dn, K: fn, L: pn, t: yn, n: vn, J: $n, C: An, A: Dn, ca: xn, Z: On, ea: De, da: Mn, M: In, V: jn, _: Wn, B: kn, W: Hn, U: Ln, R: zn, S: Nn, D: ma, E: pa, m: ya, a: ea, e: oa, o: ua, k: aa, G: ha, u: la, F: fa, z: ga, O: $a, l: ia, j: sa, c: na, p: ra, H: da, r: va, i: ca, y: wa, N: Gn, Q: Kn }, E = wr(), J = s._free = (t) => (J = s._free = E.ha)(t), Kt = s._malloc = (t) => (Kt = s._malloc = E.ia)(t), We = (t) => (We = E.ka)(t);
1545
1562
  s.__embind_initialize_bindings = () => (s.__embind_initialize_bindings = E.la)();
1546
- var A = (t, e) => (A = E.ma)(t, e), wt = (t) => (wt = E.na)(t), F = () => (F = E.oa)(), S = (t) => (S = E.pa)(t), ke = (t) => (ke = E.qa)(t), He = (t) => (He = E.ra)(t), Be = (t, e, r) => (Be = E.sa)(t, e, r), Ue = (t) => (Ue = E.ta)(t);
1547
- s.dynCall_viijii = (t, e, r, n, a, o, u) => (s.dynCall_viijii = E.ua)(t, e, r, n, a, o, u);
1548
- var Ve = s.dynCall_jiiii = (t, e, r, n, a) => (Ve = s.dynCall_jiiii = E.va)(t, e, r, n, a);
1549
- s.dynCall_iiiiij = (t, e, r, n, a, o, u) => (s.dynCall_iiiiij = E.wa)(t, e, r, n, a, o, u), s.dynCall_iiiiijj = (t, e, r, n, a, o, u, c, l) => (s.dynCall_iiiiijj = E.xa)(t, e, r, n, a, o, u, c, l), s.dynCall_iiiiiijj = (t, e, r, n, a, o, u, c, l, h) => (s.dynCall_iiiiiijj = E.ya)(t, e, r, n, a, o, u, c, l, h);
1563
+ var A = (t, e) => (A = E.ma)(t, e), wt = (t) => (wt = E.na)(t), O = () => (O = E.oa)(), F = (t) => (F = E.pa)(t), ke = (t) => (ke = E.qa)(t), He = (t) => (He = E.ra)(t), Be = (t, e, r) => (Be = E.sa)(t, e, r), Ue = (t) => (Ue = E.ta)(t);
1564
+ s.dynCall_viijii = (t, e, r, n, a, i, u) => (s.dynCall_viijii = E.ua)(t, e, r, n, a, i, u);
1565
+ var Le = s.dynCall_jiiii = (t, e, r, n, a) => (Le = s.dynCall_jiiii = E.va)(t, e, r, n, a);
1566
+ s.dynCall_iiiiij = (t, e, r, n, a, i, u) => (s.dynCall_iiiiij = E.wa)(t, e, r, n, a, i, u), s.dynCall_iiiiijj = (t, e, r, n, a, i, u, c, l) => (s.dynCall_iiiiijj = E.xa)(t, e, r, n, a, i, u, c, l), s.dynCall_iiiiiijj = (t, e, r, n, a, i, u, c, l, h) => (s.dynCall_iiiiiijj = E.ya)(t, e, r, n, a, i, u, c, l, h);
1550
1567
  function ea(t, e) {
1551
- var r = F();
1568
+ var r = O();
1552
1569
  try {
1553
- return D(t)(e);
1570
+ return x(t)(e);
1554
1571
  } catch (n) {
1555
- if (S(r), n !== n + 0)
1572
+ if (F(r), n !== n + 0)
1556
1573
  throw n;
1557
1574
  A(1, 0);
1558
1575
  }
1559
1576
  }
1560
1577
  function ra(t, e, r, n) {
1561
- var a = F();
1578
+ var a = O();
1562
1579
  try {
1563
- D(t)(e, r, n);
1564
- } catch (o) {
1565
- if (S(a), o !== o + 0)
1566
- throw o;
1580
+ x(t)(e, r, n);
1581
+ } catch (i) {
1582
+ if (F(a), i !== i + 0)
1583
+ throw i;
1567
1584
  A(1, 0);
1568
1585
  }
1569
1586
  }
1570
1587
  function na(t, e, r) {
1571
- var n = F();
1588
+ var n = O();
1572
1589
  try {
1573
- D(t)(e, r);
1590
+ x(t)(e, r);
1574
1591
  } catch (a) {
1575
- if (S(n), a !== a + 0)
1592
+ if (F(n), a !== a + 0)
1576
1593
  throw a;
1577
1594
  A(1, 0);
1578
1595
  }
1579
1596
  }
1580
1597
  function aa(t, e, r, n, a) {
1581
- var o = F();
1598
+ var i = O();
1582
1599
  try {
1583
- return D(t)(e, r, n, a);
1600
+ return x(t)(e, r, n, a);
1584
1601
  } catch (u) {
1585
- if (S(o), u !== u + 0)
1602
+ if (F(i), u !== u + 0)
1586
1603
  throw u;
1587
1604
  A(1, 0);
1588
1605
  }
1589
1606
  }
1590
1607
  function oa(t, e, r) {
1591
- var n = F();
1608
+ var n = O();
1592
1609
  try {
1593
- return D(t)(e, r);
1610
+ return x(t)(e, r);
1594
1611
  } catch (a) {
1595
- if (S(n), a !== a + 0)
1612
+ if (F(n), a !== a + 0)
1596
1613
  throw a;
1597
1614
  A(1, 0);
1598
1615
  }
1599
1616
  }
1600
1617
  function ia(t) {
1601
- var e = F();
1618
+ var e = O();
1602
1619
  try {
1603
- D(t)();
1620
+ x(t)();
1604
1621
  } catch (r) {
1605
- if (S(e), r !== r + 0)
1622
+ if (F(e), r !== r + 0)
1606
1623
  throw r;
1607
1624
  A(1, 0);
1608
1625
  }
1609
1626
  }
1610
1627
  function sa(t, e) {
1611
- var r = F();
1628
+ var r = O();
1612
1629
  try {
1613
- D(t)(e);
1630
+ x(t)(e);
1614
1631
  } catch (n) {
1615
- if (S(r), n !== n + 0)
1632
+ if (F(r), n !== n + 0)
1616
1633
  throw n;
1617
1634
  A(1, 0);
1618
1635
  }
1619
1636
  }
1620
1637
  function ua(t, e, r, n) {
1621
- var a = F();
1638
+ var a = O();
1622
1639
  try {
1623
- return D(t)(e, r, n);
1624
- } catch (o) {
1625
- if (S(a), o !== o + 0)
1626
- throw o;
1640
+ return x(t)(e, r, n);
1641
+ } catch (i) {
1642
+ if (F(a), i !== i + 0)
1643
+ throw i;
1627
1644
  A(1, 0);
1628
1645
  }
1629
1646
  }
1630
- function ca(t, e, r, n, a, o, u, c, l, h, p) {
1631
- var y = F();
1647
+ function ca(t, e, r, n, a, i, u, c, l, h, p) {
1648
+ var y = O();
1632
1649
  try {
1633
- D(t)(e, r, n, a, o, u, c, l, h, p);
1650
+ x(t)(e, r, n, a, i, u, c, l, h, p);
1634
1651
  } catch (g) {
1635
- if (S(y), g !== g + 0)
1652
+ if (F(y), g !== g + 0)
1636
1653
  throw g;
1637
1654
  A(1, 0);
1638
1655
  }
1639
1656
  }
1640
- function la(t, e, r, n, a, o, u) {
1641
- var c = F();
1657
+ function la(t, e, r, n, a, i, u) {
1658
+ var c = O();
1642
1659
  try {
1643
- return D(t)(e, r, n, a, o, u);
1660
+ return x(t)(e, r, n, a, i, u);
1644
1661
  } catch (l) {
1645
- if (S(c), l !== l + 0)
1662
+ if (F(c), l !== l + 0)
1646
1663
  throw l;
1647
1664
  A(1, 0);
1648
1665
  }
1649
1666
  }
1650
1667
  function da(t, e, r, n, a) {
1651
- var o = F();
1668
+ var i = O();
1652
1669
  try {
1653
- D(t)(e, r, n, a);
1670
+ x(t)(e, r, n, a);
1654
1671
  } catch (u) {
1655
- if (S(o), u !== u + 0)
1672
+ if (F(i), u !== u + 0)
1656
1673
  throw u;
1657
1674
  A(1, 0);
1658
1675
  }
1659
1676
  }
1660
- function ha(t, e, r, n, a, o) {
1661
- var u = F();
1677
+ function ha(t, e, r, n, a, i) {
1678
+ var u = O();
1662
1679
  try {
1663
- return D(t)(e, r, n, a, o);
1680
+ return x(t)(e, r, n, a, i);
1664
1681
  } catch (c) {
1665
- if (S(u), c !== c + 0)
1682
+ if (F(u), c !== c + 0)
1666
1683
  throw c;
1667
1684
  A(1, 0);
1668
1685
  }
1669
1686
  }
1670
- function fa(t, e, r, n, a, o, u, c) {
1671
- var l = F();
1687
+ function fa(t, e, r, n, a, i, u, c) {
1688
+ var l = O();
1672
1689
  try {
1673
- return D(t)(e, r, n, a, o, u, c);
1690
+ return x(t)(e, r, n, a, i, u, c);
1674
1691
  } catch (h) {
1675
- if (S(l), h !== h + 0)
1692
+ if (F(l), h !== h + 0)
1676
1693
  throw h;
1677
1694
  A(1, 0);
1678
1695
  }
1679
1696
  }
1680
1697
  function pa(t, e, r, n) {
1681
- var a = F();
1698
+ var a = O();
1682
1699
  try {
1683
- return D(t)(e, r, n);
1684
- } catch (o) {
1685
- if (S(a), o !== o + 0)
1686
- throw o;
1700
+ return x(t)(e, r, n);
1701
+ } catch (i) {
1702
+ if (F(a), i !== i + 0)
1703
+ throw i;
1687
1704
  A(1, 0);
1688
1705
  }
1689
1706
  }
1690
1707
  function ma(t, e, r, n) {
1691
- var a = F();
1708
+ var a = O();
1692
1709
  try {
1693
- return D(t)(e, r, n);
1694
- } catch (o) {
1695
- if (S(a), o !== o + 0)
1696
- throw o;
1710
+ return x(t)(e, r, n);
1711
+ } catch (i) {
1712
+ if (F(a), i !== i + 0)
1713
+ throw i;
1697
1714
  A(1, 0);
1698
1715
  }
1699
1716
  }
1700
1717
  function ya(t) {
1701
- var e = F();
1718
+ var e = O();
1702
1719
  try {
1703
- return D(t)();
1720
+ return x(t)();
1704
1721
  } catch (r) {
1705
- if (S(e), r !== r + 0)
1722
+ if (F(e), r !== r + 0)
1706
1723
  throw r;
1707
1724
  A(1, 0);
1708
1725
  }
1709
1726
  }
1710
- function va(t, e, r, n, a, o, u, c) {
1711
- var l = F();
1727
+ function va(t, e, r, n, a, i, u, c) {
1728
+ var l = O();
1712
1729
  try {
1713
- D(t)(e, r, n, a, o, u, c);
1730
+ x(t)(e, r, n, a, i, u, c);
1714
1731
  } catch (h) {
1715
- if (S(l), h !== h + 0)
1732
+ if (F(l), h !== h + 0)
1716
1733
  throw h;
1717
1734
  A(1, 0);
1718
1735
  }
1719
1736
  }
1720
- function ga(t, e, r, n, a, o, u, c, l, h, p, y) {
1721
- var g = F();
1737
+ function ga(t, e, r, n, a, i, u, c, l, h, p, y) {
1738
+ var g = O();
1722
1739
  try {
1723
- return D(t)(e, r, n, a, o, u, c, l, h, p, y);
1740
+ return x(t)(e, r, n, a, i, u, c, l, h, p, y);
1724
1741
  } catch (b) {
1725
- if (S(g), b !== b + 0)
1742
+ if (F(g), b !== b + 0)
1726
1743
  throw b;
1727
1744
  A(1, 0);
1728
1745
  }
1729
1746
  }
1730
- function wa(t, e, r, n, a, o, u, c, l, h, p, y, g, b, T, j) {
1731
- var P = F();
1747
+ function wa(t, e, r, n, a, i, u, c, l, h, p, y, g, b, T, R) {
1748
+ var P = O();
1732
1749
  try {
1733
- D(t)(e, r, n, a, o, u, c, l, h, p, y, g, b, T, j);
1734
- } catch (R) {
1735
- if (S(P), R !== R + 0)
1736
- throw R;
1750
+ x(t)(e, r, n, a, i, u, c, l, h, p, y, g, b, T, R);
1751
+ } catch (j) {
1752
+ if (F(P), j !== j + 0)
1753
+ throw j;
1737
1754
  A(1, 0);
1738
1755
  }
1739
1756
  }
1740
1757
  function $a(t, e, r, n, a) {
1741
- var o = F();
1758
+ var i = O();
1742
1759
  try {
1743
- return Ve(t, e, r, n, a);
1760
+ return Le(t, e, r, n, a);
1744
1761
  } catch (u) {
1745
- if (S(o), u !== u + 0)
1762
+ if (F(i), u !== u + 0)
1746
1763
  throw u;
1747
1764
  A(1, 0);
1748
1765
  }
1749
1766
  }
1750
- var xt;
1767
+ var St;
1751
1768
  ht = function t() {
1752
- xt || Le(), xt || (ht = t);
1769
+ St || Ve(), St || (ht = t);
1753
1770
  };
1754
- function Le() {
1771
+ function Ve() {
1755
1772
  if (et > 0 || (ur(), et > 0))
1756
1773
  return;
1757
1774
  function t() {
1758
- xt || (xt = !0, s.calledRun = !0, !lt && (cr(), w(s), s.onRuntimeInitialized && s.onRuntimeInitialized(), lr()));
1775
+ St || (St = !0, s.calledRun = !0, !lt && (cr(), w(s), s.onRuntimeInitialized && s.onRuntimeInitialized(), lr()));
1759
1776
  }
1760
1777
  s.setStatus ? (s.setStatus("Running..."), setTimeout(function() {
1761
1778
  setTimeout(function() {
@@ -1766,58 +1783,37 @@ var It = (() => {
1766
1783
  if (s.preInit)
1767
1784
  for (typeof s.preInit == "function" && (s.preInit = [s.preInit]); s.preInit.length > 0; )
1768
1785
  s.preInit.pop()();
1769
- return Le(), f.ready;
1786
+ return Ve(), f.ready;
1770
1787
  };
1771
1788
  })();
1772
- function za(i) {
1789
+ function Ga(o) {
1773
1790
  return re(
1774
- It,
1775
- i
1791
+ Rt,
1792
+ o
1776
1793
  );
1777
1794
  }
1778
- function Za(i) {
1779
- return Va(
1780
- It,
1781
- i
1795
+ function Za(o) {
1796
+ return Ya(
1797
+ Rt,
1798
+ o
1782
1799
  );
1783
1800
  }
1784
- async function Na(i, f) {
1785
- return La(
1786
- It,
1787
- i,
1801
+ async function Xa(o, f) {
1802
+ return za(
1803
+ Rt,
1804
+ o,
1788
1805
  f
1789
1806
  );
1790
1807
  }
1791
- async function Ga(i, f) {
1792
- return Ya(
1793
- It,
1794
- i,
1808
+ async function qa(o, f) {
1809
+ return Na(
1810
+ Rt,
1811
+ o,
1795
1812
  f
1796
1813
  );
1797
1814
  }
1798
- const ee = /* @__PURE__ */ new Map([
1799
- ["aztec", "Aztec"],
1800
- ["code_128", "Code128"],
1801
- ["code_39", "Code39"],
1802
- ["code_93", "Code93"],
1803
- ["codabar", "Codabar"],
1804
- ["data_matrix", "DataMatrix"],
1805
- ["ean_13", "EAN-13"],
1806
- ["ean_8", "EAN-8"],
1807
- ["itf", "ITF"],
1808
- ["pdf417", "PDF417"],
1809
- ["qr_code", "QRCode"],
1810
- ["upc_a", "UPC-A"],
1811
- ["upc_e", "UPC-E"]
1812
- ]);
1813
- function Xa(i) {
1814
- for (const [f, s] of ee)
1815
- if (i === s)
1816
- return f;
1817
- return "unknown";
1818
- }
1819
1815
  var ct;
1820
- class Qa extends EventTarget {
1816
+ class Ja extends EventTarget {
1821
1817
  constructor(s = {}) {
1822
1818
  var w;
1823
1819
  super();
@@ -1829,11 +1825,11 @@ class Qa extends EventTarget {
1829
1825
  if ((v == null ? void 0 : v.length) === 0)
1830
1826
  throw new TypeError("Hint option provided, but is empty.");
1831
1827
  v == null || v.forEach(($) => {
1832
- if (!Ge.includes($))
1828
+ if (!It.has($))
1833
1829
  throw new TypeError(
1834
1830
  `Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${$}' is not a valid enum value of type BarcodeFormat.`
1835
1831
  );
1836
- }), Ne(this, ct, v != null ? v : []), za().then(($) => {
1832
+ }), Ne(this, ct, v != null ? v : []), Ga().then(($) => {
1837
1833
  this.dispatchEvent(
1838
1834
  new CustomEvent("load", {
1839
1835
  detail: $
@@ -1843,32 +1839,28 @@ class Qa extends EventTarget {
1843
1839
  this.dispatchEvent(new CustomEvent("error", { detail: $ }));
1844
1840
  });
1845
1841
  } catch (v) {
1846
- throw Xe(
1842
+ throw Ge(
1847
1843
  v,
1848
1844
  "Failed to construct 'BarcodeDetector'"
1849
1845
  );
1850
1846
  }
1851
1847
  }
1852
1848
  static async getSupportedFormats() {
1853
- return Ge.filter((s) => s !== "unknown");
1849
+ return ba.filter((s) => s !== "unknown");
1854
1850
  }
1855
1851
  async detect(s) {
1856
1852
  try {
1857
- const w = await Ea(s);
1853
+ const w = await Da(s);
1858
1854
  if (w === null)
1859
1855
  return [];
1860
1856
  let v;
1861
1857
  try {
1862
- ar(w) ? v = await Na(w, {
1858
+ ar(w) ? v = await Xa(w, {
1863
1859
  tryHarder: !0,
1864
- formats: Kt(this, ct).map(
1865
- ($) => ee.get($)
1866
- )
1867
- }) : v = await Ga(w, {
1860
+ formats: te(this, ct).map(($) => It.get($))
1861
+ }) : v = await qa(w, {
1868
1862
  tryHarder: !0,
1869
- formats: Kt(this, ct).map(
1870
- ($) => ee.get($)
1871
- )
1863
+ formats: te(this, ct).map(($) => It.get($))
1872
1864
  });
1873
1865
  } catch ($) {
1874
1866
  throw console.error($), new DOMException(
@@ -1878,32 +1870,32 @@ class Qa extends EventTarget {
1878
1870
  }
1879
1871
  return v.map(($) => {
1880
1872
  const {
1881
- topLeft: { x: H, y: L },
1882
- topRight: { x: B, y: O },
1873
+ topLeft: { x: H, y: V },
1874
+ topRight: { x: B, y: D },
1883
1875
  bottomLeft: { x: Y, y: G },
1884
- bottomRight: { x: U, y: Z }
1885
- } = $.position, tt = Math.min(H, B, Y, U), lt = Math.min(L, O, G, Z), jt = Math.max(H, B, Y, U), V = Math.max(L, O, G, Z);
1876
+ bottomRight: { x: U, y: Q }
1877
+ } = $.position, tt = Math.min(H, B, Y, U), lt = Math.min(V, D, G, Q), jt = Math.max(H, B, Y, U), L = Math.max(V, D, G, Q);
1886
1878
  return {
1887
1879
  boundingBox: new DOMRectReadOnly(
1888
1880
  tt,
1889
1881
  lt,
1890
1882
  jt - tt,
1891
- V - lt
1883
+ L - lt
1892
1884
  ),
1893
1885
  rawValue: $.text,
1894
- format: Xa($.format),
1886
+ format: Ca($.format),
1895
1887
  cornerPoints: [
1896
1888
  {
1897
1889
  x: H,
1898
- y: L
1890
+ y: V
1899
1891
  },
1900
1892
  {
1901
1893
  x: B,
1902
- y: O
1894
+ y: D
1903
1895
  },
1904
1896
  {
1905
1897
  x: U,
1906
- y: Z
1898
+ y: Q
1907
1899
  },
1908
1900
  {
1909
1901
  x: Y,
@@ -1913,7 +1905,7 @@ class Qa extends EventTarget {
1913
1905
  };
1914
1906
  });
1915
1907
  } catch (w) {
1916
- throw Xe(
1908
+ throw Ge(
1917
1909
  w,
1918
1910
  "Failed to execute 'detect' on 'BarcodeDetector'"
1919
1911
  );
@@ -1922,6 +1914,6 @@ class Qa extends EventTarget {
1922
1914
  }
1923
1915
  ct = new WeakMap();
1924
1916
  export {
1925
- Qa as BarcodeDetector,
1917
+ Ja as BarcodeDetector,
1926
1918
  Za as setZXingModuleOverrides
1927
1919
  };