@mediapipe/tasks-audio 0.10.34 → 0.10.35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-audio",
3
- "version": "0.10.34",
3
+ "version": "0.10.35",
4
4
  "description": "MediaPipe Audio Tasks",
5
5
  "main": "audio_bundle.cjs",
6
6
  "browser": "audio_bundle.mjs",
@@ -199,14 +199,17 @@ var EXITSTATUS;
199
199
  // include: runtime_stack_check.js
200
200
  // end include: runtime_stack_check.js
201
201
  // include: runtime_exceptions.js
202
+ // Base Emscripten EH error class
203
+ class EmscriptenEH {}
204
+
205
+ class EmscriptenSjLj extends EmscriptenEH {}
206
+
202
207
  // end include: runtime_exceptions.js
203
208
  // include: runtime_debug.js
204
209
  // end include: runtime_debug.js
205
210
  var readyPromiseResolve, readyPromiseReject;
206
211
 
207
212
  // Memory management
208
- var /** @type {!Int8Array} */ HEAP8, /** @type {!Uint8Array} */ HEAPU8, /** @type {!Int16Array} */ HEAP16, /** @type {!Uint16Array} */ HEAPU16, /** @type {!Int32Array} */ HEAP32, /** @type {!Uint32Array} */ HEAPU32, /** @type {!Float32Array} */ HEAPF32, /** @type {!Float64Array} */ HEAPF64;
209
-
210
213
  var runtimeInitialized = false;
211
214
 
212
215
  function updateMemoryViews() {
@@ -258,9 +261,11 @@ function postRun() {
258
261
  callRuntimeCallbacks(onPostRuns);
259
262
  }
260
263
 
261
- /** @param {string|number=} what */ function abort(what) {
264
+ /**
265
+ * @param {string|number=} what
266
+ */ function abort(what) {
262
267
  Module["onAbort"]?.(what);
263
- what = "Aborted(" + what + ")";
268
+ what = `Aborted(${what})`;
264
269
  // TODO(sbc): Should we remove printing and leave it up to whoever
265
270
  // catches the exception?
266
271
  err(what);
@@ -931,6 +936,22 @@ var Browser = {
931
936
  }
932
937
  };
933
938
 
939
+ /** @type {!Int16Array} */ var HEAP16;
940
+
941
+ /** @type {!Int32Array} */ var HEAP32;
942
+
943
+ /** @type {!Int8Array} */ var HEAP8;
944
+
945
+ /** @type {!Float32Array} */ var HEAPF32;
946
+
947
+ /** @type {!Float64Array} */ var HEAPF64;
948
+
949
+ /** @type {!Uint16Array} */ var HEAPU16;
950
+
951
+ /** @type {!Uint32Array} */ var HEAPU32;
952
+
953
+ /** @type {!Uint8Array} */ var HEAPU8;
954
+
934
955
  var callRuntimeCallbacks = callbacks => {
935
956
  while (callbacks.length > 0) {
936
957
  // Pass the module as the first argument.
@@ -1016,13 +1037,10 @@ var initRandomFill = () => {
1016
1037
  var nodeCrypto = require("node:crypto");
1017
1038
  return view => nodeCrypto.randomFillSync(view);
1018
1039
  }
1019
- return view => crypto.getRandomValues(view);
1040
+ return view => (crypto.getRandomValues(view), 0);
1020
1041
  };
1021
1042
 
1022
- var randomFill = view => {
1023
- // Lazily init on the first invocation.
1024
- (randomFill = initRandomFill())(view);
1025
- };
1043
+ var randomFill = view => (randomFill = initRandomFill())(view);
1026
1044
 
1027
1045
  var PATH_FS = {
1028
1046
  resolve: (...args) => {
@@ -1417,12 +1435,14 @@ var MEMFS = {
1417
1435
  } else if (FS.isFile(node.mode)) {
1418
1436
  node.node_ops = MEMFS.ops_table.file.node;
1419
1437
  node.stream_ops = MEMFS.ops_table.file.stream;
1438
+ // The actual number of bytes used in the typed array, as opposed to
1439
+ // contents.length which gives the whole capacity.
1420
1440
  node.usedBytes = 0;
1421
- // The actual number of bytes used in the typed array, as opposed to contents.length which gives the whole capacity.
1422
- // When the byte data of the file is populated, this will point to either a typed array, or a normal JS array. Typed arrays are preferred
1423
- // for performance, and used by default. However, typed arrays are not resizable like normal JS arrays are, so there is a small disk size
1424
- // penalty involved for appending file writes that continuously grow a file similar to std::vector capacity vs used -scheme.
1425
- node.contents = null;
1441
+ // The byte data of the file is stored in a typed array.
1442
+ // Note: typed arrays are not resizable like normal JS arrays are, so
1443
+ // there is a small penalty involved for appending file writes that
1444
+ // continuously grow a file similar to std::vector capacity vs used.
1445
+ node.contents = MEMFS.emptyFileContents ??= new Uint8Array(0);
1426
1446
  } else if (FS.isLink(node.mode)) {
1427
1447
  node.node_ops = MEMFS.ops_table.link.node;
1428
1448
  node.stream_ops = MEMFS.ops_table.link.stream;
@@ -1439,42 +1459,34 @@ var MEMFS = {
1439
1459
  return node;
1440
1460
  },
1441
1461
  getFileDataAsTypedArray(node) {
1442
- if (!node.contents) return new Uint8Array(0);
1443
- if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
1444
- // Make sure to not return excess unused bytes.
1445
- return new Uint8Array(node.contents);
1462
+ return node.contents.subarray(0, node.usedBytes);
1446
1463
  },
1447
1464
  expandFileStorage(node, newCapacity) {
1448
- var prevCapacity = node.contents ? node.contents.length : 0;
1465
+ var prevCapacity = node.contents.length;
1449
1466
  if (prevCapacity >= newCapacity) return;
1450
1467
  // No need to expand, the storage was already large enough.
1451
- // Don't expand strictly to the given requested limit if it's only a very small increase, but instead geometrically grow capacity.
1452
- // For small filesizes (<1MB), perform size*2 geometric increase, but for large sizes, do a much more conservative size*1.125 increase to
1453
- // avoid overshooting the allocation cap by a very large margin.
1468
+ // Don't expand strictly to the given requested limit if it's only a very
1469
+ // small increase, but instead geometrically grow capacity.
1470
+ // For small filesizes (<1MB), perform size*2 geometric increase, but for
1471
+ // large sizes, do a much more conservative size*1.125 increase to avoid
1472
+ // overshooting the allocation cap by a very large margin.
1454
1473
  var CAPACITY_DOUBLING_MAX = 1024 * 1024;
1455
1474
  newCapacity = Math.max(newCapacity, (prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125)) >>> 0);
1456
- if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
1475
+ if (prevCapacity) newCapacity = Math.max(newCapacity, 256);
1457
1476
  // At minimum allocate 256b for each file when expanding.
1458
- var oldContents = node.contents;
1477
+ var oldContents = MEMFS.getFileDataAsTypedArray(node);
1459
1478
  node.contents = new Uint8Array(newCapacity);
1460
1479
  // Allocate new storage.
1461
- if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
1480
+ node.contents.set(oldContents);
1462
1481
  },
1463
1482
  resizeFileStorage(node, newSize) {
1464
1483
  if (node.usedBytes == newSize) return;
1465
- if (newSize == 0) {
1466
- node.contents = null;
1467
- // Fully decommit when requesting a resize to zero.
1468
- node.usedBytes = 0;
1469
- } else {
1470
- var oldContents = node.contents;
1471
- node.contents = new Uint8Array(newSize);
1472
- // Allocate new storage.
1473
- if (oldContents) {
1474
- node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
1475
- }
1476
- node.usedBytes = newSize;
1477
- }
1484
+ var oldContents = node.contents;
1485
+ node.contents = new Uint8Array(newSize);
1486
+ // Allocate new storage.
1487
+ node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
1488
+ // Copy old data over to the new storage.
1489
+ node.usedBytes = newSize;
1478
1490
  },
1479
1491
  node_ops: {
1480
1492
  getattr(node) {
@@ -1579,12 +1591,7 @@ var MEMFS = {
1579
1591
  var contents = stream.node.contents;
1580
1592
  if (position >= stream.node.usedBytes) return 0;
1581
1593
  var size = Math.min(stream.node.usedBytes - position, length);
1582
- if (size > 8 && contents.subarray) {
1583
- // non-trivial, and typed array
1584
- buffer.set(contents.subarray(position, position + size), offset);
1585
- } else {
1586
- for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
1587
- }
1594
+ buffer.set(contents.subarray(position, position + size), offset);
1588
1595
  return size;
1589
1596
  },
1590
1597
  write(stream, buffer, offset, length, position, canOwn) {
@@ -1598,34 +1605,19 @@ var MEMFS = {
1598
1605
  if (!length) return 0;
1599
1606
  var node = stream.node;
1600
1607
  node.mtime = node.ctime = Date.now();
1601
- if (buffer.subarray && (!node.contents || node.contents.subarray)) {
1602
- // This write is from a typed array to a typed array?
1603
- if (canOwn) {
1604
- node.contents = buffer.subarray(offset, offset + length);
1605
- node.usedBytes = length;
1606
- return length;
1607
- } else if (node.usedBytes === 0 && position === 0) {
1608
- // If this is a simple first write to an empty file, do a fast set since we don't need to care about old data.
1609
- node.contents = buffer.slice(offset, offset + length);
1610
- node.usedBytes = length;
1611
- return length;
1612
- } else if (position + length <= node.usedBytes) {
1613
- // Writing to an already allocated and used subrange of the file?
1614
- node.contents.set(buffer.subarray(offset, offset + length), position);
1615
- return length;
1616
- }
1617
- }
1618
- // Appending to an existing file and we need to reallocate, or source data did not come as a typed array.
1619
- MEMFS.expandFileStorage(node, position + length);
1620
- if (node.contents.subarray && buffer.subarray) {
1608
+ if (canOwn) {
1609
+ node.contents = buffer.subarray(offset, offset + length);
1610
+ node.usedBytes = length;
1611
+ } else if (node.usedBytes === 0 && position === 0) {
1612
+ // If this is a simple first write to an empty file, do a fast set since we don't need to care about old data.
1613
+ node.contents = buffer.slice(offset, offset + length);
1614
+ node.usedBytes = length;
1615
+ } else {
1616
+ MEMFS.expandFileStorage(node, position + length);
1621
1617
  // Use typed array write which is available.
1622
1618
  node.contents.set(buffer.subarray(offset, offset + length), position);
1623
- } else {
1624
- for (var i = 0; i < length; i++) {
1625
- node.contents[position + i] = buffer[offset + i];
1626
- }
1619
+ node.usedBytes = Math.max(node.usedBytes, position + length);
1627
1620
  }
1628
- node.usedBytes = Math.max(node.usedBytes, position + length);
1629
1621
  return length;
1630
1622
  },
1631
1623
  llseek(stream, offset, whence) {
@@ -1650,7 +1642,7 @@ var MEMFS = {
1650
1642
  var allocated;
1651
1643
  var contents = stream.node.contents;
1652
1644
  // Only make a new copy when MAP_PRIVATE is specified.
1653
- if (!(flags & 2) && contents && contents.buffer === HEAP8.buffer) {
1645
+ if (!(flags & 2) && contents.buffer === HEAP8.buffer) {
1654
1646
  // We can't emulate MAP_SHARED when the file is not backed by the
1655
1647
  // buffer we're mapping to (e.g. the HEAP buffer).
1656
1648
  allocated = false;
@@ -1687,6 +1679,7 @@ var MEMFS = {
1687
1679
  };
1688
1680
 
1689
1681
  var FS_modeStringToFlags = str => {
1682
+ if (typeof str != "string") return str;
1690
1683
  var flagModes = {
1691
1684
  "r": 0,
1692
1685
  "r+": 2,
@@ -1702,6 +1695,16 @@ var FS_modeStringToFlags = str => {
1702
1695
  return flags;
1703
1696
  };
1704
1697
 
1698
+ var FS_fileDataToTypedArray = data => {
1699
+ if (typeof data == "string") {
1700
+ data = intArrayFromString(data, true);
1701
+ }
1702
+ if (!data.subarray) {
1703
+ data = new Uint8Array(data);
1704
+ }
1705
+ return data;
1706
+ };
1707
+
1705
1708
  var FS_getMode = (canRead, canWrite) => {
1706
1709
  var mode = 0;
1707
1710
  if (canRead) mode |= 292 | 73;
@@ -2678,7 +2681,7 @@ var FS = {
2678
2681
  if (path === "") {
2679
2682
  throw new FS.ErrnoError(44);
2680
2683
  }
2681
- flags = typeof flags == "string" ? FS_modeStringToFlags(flags) : flags;
2684
+ flags = FS_modeStringToFlags(flags);
2682
2685
  if ((flags & 64)) {
2683
2686
  mode = (mode & 4095) | 32768;
2684
2687
  } else {
@@ -2910,14 +2913,8 @@ var FS = {
2910
2913
  writeFile(path, data, opts = {}) {
2911
2914
  opts.flags = opts.flags || 577;
2912
2915
  var stream = FS.open(path, opts.flags, opts.mode);
2913
- if (typeof data == "string") {
2914
- data = new Uint8Array(intArrayFromString(data, true));
2915
- }
2916
- if (ArrayBuffer.isView(data)) {
2917
- FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
2918
- } else {
2919
- abort("Unsupported data type");
2920
- }
2916
+ data = FS_fileDataToTypedArray(data);
2917
+ FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
2921
2918
  FS.close(stream);
2922
2919
  },
2923
2920
  cwd: () => FS.currentPath,
@@ -3147,11 +3144,7 @@ var FS = {
3147
3144
  var mode = FS_getMode(canRead, canWrite);
3148
3145
  var node = FS.create(path, mode);
3149
3146
  if (data) {
3150
- if (typeof data == "string") {
3151
- var arr = new Array(data.length);
3152
- for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
3153
- data = arr;
3154
- }
3147
+ data = FS_fileDataToTypedArray(data);
3155
3148
  // make sure we can write to the file
3156
3149
  FS.chmod(node, mode | 146);
3157
3150
  var stream = FS.open(node, 577);
@@ -5215,7 +5208,7 @@ var WebGPU = {
5215
5208
  ToneMappingMode: [ , "standard", "extended" ],
5216
5209
  VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra" ],
5217
5210
  VertexStepMode: [ , "vertex", "instance" ],
5218
- WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1" ]
5211
+ WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1", "linear_indexing" ]
5219
5212
  };
5220
5213
 
5221
5214
  var _emwgpuBufferDestroy = bufferPtr => {
@@ -6226,15 +6219,7 @@ var _emscripten_glViewport = (x0, x1, x2, x3) => GLctx.viewport(x0, x1, x2, x3);
6226
6219
 
6227
6220
  var _glViewport = _emscripten_glViewport;
6228
6221
 
6229
- function _random_get(buffer, size) {
6230
- try {
6231
- randomFill(HEAPU8.subarray(buffer, buffer + size));
6232
- return 0;
6233
- } catch (e) {
6234
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
6235
- return e.errno;
6236
- }
6237
- }
6222
+ var _random_get = (buffer, size) => randomFill(HEAPU8.subarray(buffer, buffer + size));
6238
6223
 
6239
6224
  var _wgpuCommandEncoderCopyTextureToBuffer = (encoderPtr, srcPtr, dstPtr, copySizePtr) => {
6240
6225
  var commandEncoder = WebGPU.getJsObject(encoderPtr);
@@ -6407,7 +6392,7 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
6407
6392
  // End JS library exports
6408
6393
  // end include: postlibrary.js
6409
6394
  var ASM_CONSTS = {
6410
- 642376: () => {
6395
+ 647664: () => {
6411
6396
  specialHTMLTargets["#canvas"] = Module.canvas;
6412
6397
  }
6413
6398
  };
@@ -6548,7 +6533,7 @@ function custom_emscripten_dbgn(str, len) {
6548
6533
  }
6549
6534
 
6550
6535
  // Imports from the Wasm binary.
6551
- var _configureAudio, _addAudioToInputStream, _free, _malloc, _registerModelResourcesGraphService, _bindTextureToStream, _addBoundTextureToStream, _addDoubleToInputStream, _addFloatToInputStream, _addBoolToInputStream, _addIntToInputStream, _addUintToInputStream, _addStringToInputStream, _addRawDataSpanToInputStream, _allocateBoolVector, _allocateFloatVector, _allocateDoubleVector, _allocateIntVector, _allocateUintVector, _allocateStringVector, _addBoolVectorEntry, _addFloatVectorEntry, _addDoubleVectorEntry, _addIntVectorEntry, _addUintVectorEntry, _addStringVectorEntry, _addBoolVectorToInputStream, _addFloatVectorToInputStream, _addDoubleVectorToInputStream, _addIntVectorToInputStream, _addUintVectorToInputStream, _addStringVectorToInputStream, _addFlatHashMapToInputStream, _addProtoToInputStream, _addEmptyPacketToInputStream, _addBoolToInputSidePacket, _addDoubleToInputSidePacket, _addFloatToInputSidePacket, _addIntToInputSidePacket, _addUintToInputSidePacket, _addStringToInputSidePacket, _addRawDataSpanToInputSidePacket, _addProtoToInputSidePacket, _addBoolVectorToInputSidePacket, _addDoubleVectorToInputSidePacket, _addFloatVectorToInputSidePacket, _addIntVectorToInputSidePacket, _addUintVectorToInputSidePacket, _addStringVectorToInputSidePacket, _attachBoolListener, _attachBoolVectorListener, _attachDoubleListener, _attachDoubleVectorListener, _attachFloatListener, _attachFloatVectorListener, _attachIntListener, _attachIntVectorListener, _attachUintListener, _attachUintVectorListener, _attachStringListener, _attachStringVectorListener, _attachProtoListener, _attachProtoVectorListener, _getGraphConfig, _emwgpuCreateBindGroup, _emwgpuCreateBindGroupLayout, _emwgpuCreateCommandBuffer, _emwgpuCreateCommandEncoder, _emwgpuCreateComputePassEncoder, _emwgpuCreateComputePipeline, _emwgpuCreateExternalTexture, _emwgpuCreatePipelineLayout, _emwgpuCreateQuerySet, _emwgpuCreateRenderBundle, _emwgpuCreateRenderBundleEncoder, _emwgpuCreateRenderPassEncoder, _emwgpuCreateRenderPipeline, _emwgpuCreateSampler, _emwgpuCreateSurface, _emwgpuCreateTexture, _emwgpuCreateTextureView, _emwgpuCreateAdapter, _emwgpuImportBuffer, _emwgpuCreateDevice, _emwgpuCreateQueue, _emwgpuCreateShaderModule, _clearSubgraphs, _pushBinarySubgraph, _pushTextSubgraph, _changeBinaryGraph, _changeTextGraph, _processGl, _process, _bindTextureToCanvas, _requestShaderRefreshOnGraphChange, _waitUntilIdle, _closeGraph, _setAutoRenderToScreen, _emscripten_builtin_memalign, __emscripten_tempret_set, __emscripten_stack_restore, __emscripten_stack_alloc, _emscripten_stack_get_current, dynCall_ji, dynCall_jii, dynCall_iiiijij, dynCall_viji, dynCall_iiiji, dynCall_jjj, dynCall_iiiijj, dynCall_viijj, dynCall_viiijjj, dynCall_vij, dynCall_viijii, dynCall_viiiji, dynCall_viiji, dynCall_vijjj, dynCall_vj, dynCall_viij, dynCall_jiji, dynCall_iiiiij, dynCall_iiiiijj, dynCall_iiiiiijj, memory, _kVersionStampBuildChangelistStr, _kVersionStampCitcSnapshotStr, _kVersionStampCitcWorkspaceIdStr, _kVersionStampSourceUriStr, _kVersionStampBuildClientStr, _kVersionStampBuildClientMintStatusStr, _kVersionStampBuildCompilerStr, _kVersionStampBuildDateTimePstStr, _kVersionStampBuildDepotPathStr, _kVersionStampBuildIdStr, _kVersionStampBuildInfoStr, _kVersionStampBuildLabelStr, _kVersionStampBuildTargetStr, _kVersionStampBuildTimestampStr, _kVersionStampBuildToolStr, _kVersionStampG3BuildTargetStr, _kVersionStampVerifiableStr, _kVersionStampBuildFdoTypeStr, _kVersionStampBuildBaselineChangelistStr, _kVersionStampBuildLtoTypeStr, _kVersionStampBuildPropellerTypeStr, _kVersionStampBuildPghoTypeStr, _kVersionStampBuildUsernameStr, _kVersionStampBuildHostnameStr, _kVersionStampBuildDirectoryStr, _kVersionStampBuildChangelistInt, _kVersionStampCitcSnapshotInt, _kVersionStampBuildClientMintStatusInt, _kVersionStampBuildTimestampInt, _kVersionStampVerifiableInt, _kVersionStampBuildCoverageEnabledInt, _kVersionStampBuildBaselineChangelistInt, _kVersionStampPrecookedTimestampStr, _kVersionStampPrecookedClientInfoStr, __indirect_function_table, wasmMemory, wasmTable;
6536
+ var _configureAudio, _addAudioToInputStream, _free, _malloc, _registerModelResourcesGraphService, _bindTextureToStream, _addBoundTextureToStream, _addDoubleToInputStream, _addFloatToInputStream, _addBoolToInputStream, _addIntToInputStream, _addUintToInputStream, _addStringToInputStream, _addRawDataSpanToInputStream, _allocateBoolVector, _allocateFloatVector, _allocateDoubleVector, _allocateIntVector, _allocateUintVector, _allocateStringVector, _addBoolVectorEntry, _addFloatVectorEntry, _addDoubleVectorEntry, _addIntVectorEntry, _addUintVectorEntry, _addStringVectorEntry, _addBoolVectorToInputStream, _addFloatVectorToInputStream, _addDoubleVectorToInputStream, _addIntVectorToInputStream, _addUintVectorToInputStream, _addStringVectorToInputStream, _addFlatHashMapToInputStream, _addProtoToInputStream, _addEmptyPacketToInputStream, _addBoolToInputSidePacket, _addDoubleToInputSidePacket, _addFloatToInputSidePacket, _addIntToInputSidePacket, _addUintToInputSidePacket, _addStringToInputSidePacket, _addRawDataSpanToInputSidePacket, _addProtoToInputSidePacket, _addBoolVectorToInputSidePacket, _addDoubleVectorToInputSidePacket, _addFloatVectorToInputSidePacket, _addIntVectorToInputSidePacket, _addUintVectorToInputSidePacket, _addStringVectorToInputSidePacket, _attachBoolListener, _attachBoolVectorListener, _attachDoubleListener, _attachDoubleVectorListener, _attachFloatListener, _attachFloatVectorListener, _attachIntListener, _attachIntVectorListener, _attachUintListener, _attachUintVectorListener, _attachStringListener, _attachStringVectorListener, _attachProtoListener, _attachProtoVectorListener, _getGraphConfig, _emwgpuCreateBindGroup, _emwgpuCreateBindGroupLayout, _emwgpuCreateCommandBuffer, _emwgpuCreateCommandEncoder, _emwgpuCreateComputePassEncoder, _emwgpuCreateComputePipeline, _emwgpuCreateExternalTexture, _emwgpuCreatePipelineLayout, _emwgpuCreateQuerySet, _emwgpuCreateRenderBundle, _emwgpuCreateRenderBundleEncoder, _emwgpuCreateRenderPassEncoder, _emwgpuCreateRenderPipeline, _emwgpuCreateSampler, _emwgpuCreateSurface, _emwgpuCreateTexture, _emwgpuCreateTextureView, _emwgpuCreateAdapter, _emwgpuImportBuffer, _emwgpuCreateDevice, _emwgpuCreateQueue, _emwgpuCreateShaderModule, _clearSubgraphs, _pushBinarySubgraph, _pushTextSubgraph, _changeBinaryGraph, _changeTextGraph, _processGl, _process, _bindTextureToCanvas, _requestShaderRefreshOnGraphChange, _waitUntilIdle, _closeGraph, _setAutoRenderToScreen, _emscripten_builtin_memalign, __emscripten_tempret_set, __emscripten_stack_restore, __emscripten_stack_alloc, _emscripten_stack_get_current, dynCall_ji, dynCall_jii, dynCall_iiiijij, dynCall_viji, dynCall_iiiji, dynCall_jjj, dynCall_iiiijj, dynCall_viijj, dynCall_viiijjj, dynCall_vij, dynCall_viiiji, dynCall_viiji, dynCall_viijii, dynCall_vijjj, dynCall_vj, dynCall_viij, dynCall_jiji, dynCall_iiiiij, dynCall_iiiiijj, dynCall_iiiiiijj, memory, _kVersionStampBuildChangelistStr, _kVersionStampCitcSnapshotStr, _kVersionStampCitcWorkspaceIdStr, _kVersionStampSourceUriStr, _kVersionStampBuildClientStr, _kVersionStampBuildClientMintStatusStr, _kVersionStampBuildCompilerStr, _kVersionStampBuildDateTimePstStr, _kVersionStampBuildDepotPathStr, _kVersionStampBuildIdStr, _kVersionStampBuildInfoStr, _kVersionStampBuildLabelStr, _kVersionStampBuildTargetStr, _kVersionStampBuildTimestampStr, _kVersionStampBuildToolStr, _kVersionStampG3BuildTargetStr, _kVersionStampVerifiableStr, _kVersionStampBuildFdoTypeStr, _kVersionStampBuildBaselineChangelistStr, _kVersionStampBuildLtoTypeStr, _kVersionStampBuildPropellerTypeStr, _kVersionStampBuildPghoTypeStr, _kVersionStampBuildUsernameStr, _kVersionStampBuildHostnameStr, _kVersionStampBuildDirectoryStr, _kVersionStampBuildChangelistInt, _kVersionStampCitcSnapshotInt, _kVersionStampBuildClientMintStatusInt, _kVersionStampBuildTimestampInt, _kVersionStampVerifiableInt, _kVersionStampBuildCoverageEnabledInt, _kVersionStampBuildBaselineChangelistInt, _kVersionStampPrecookedTimestampStr, _kVersionStampPrecookedClientInfoStr, __indirect_function_table, wasmMemory, wasmTable;
6552
6537
 
6553
6538
  function assignWasmExports(wasmExports) {
6554
6539
  _configureAudio = Module["_configureAudio"] = wasmExports["Rb"];
@@ -6664,9 +6649,9 @@ function assignWasmExports(wasmExports) {
6664
6649
  dynCall_viijj = wasmExports["dynCall_viijj"];
6665
6650
  dynCall_viiijjj = wasmExports["dynCall_viiijjj"];
6666
6651
  dynCall_vij = wasmExports["dynCall_vij"];
6667
- dynCall_viijii = wasmExports["dynCall_viijii"];
6668
6652
  dynCall_viiiji = wasmExports["dynCall_viiiji"];
6669
6653
  dynCall_viiji = wasmExports["dynCall_viiji"];
6654
+ dynCall_viijii = wasmExports["dynCall_viijii"];
6670
6655
  dynCall_vijjj = wasmExports["dynCall_vijjj"];
6671
6656
  dynCall_vj = wasmExports["dynCall_vj"];
6672
6657
  dynCall_viij = wasmExports["dynCall_viij"];
@@ -6714,7 +6699,7 @@ function assignWasmExports(wasmExports) {
6714
6699
 
6715
6700
  var wasmImports = {
6716
6701
  /** @export */ gb: JsOnEmptyPacketListener,
6717
- /** @export */ R: JsOnSimpleListenerBinaryArray,
6702
+ /** @export */ S: JsOnSimpleListenerBinaryArray,
6718
6703
  /** @export */ fb: JsOnSimpleListenerBool,
6719
6704
  /** @export */ eb: JsOnSimpleListenerDouble,
6720
6705
  /** @export */ db: JsOnSimpleListenerFloat,
@@ -6731,36 +6716,36 @@ var wasmImports = {
6731
6716
  /** @export */ Va: JsOnVectorListenerUint,
6732
6717
  /** @export */ x: JsWrapErrorListener,
6733
6718
  /** @export */ a: JsWrapSimpleListeners,
6734
- /** @export */ Q: UseBottomLeftGpuOrigin,
6735
- /** @export */ Y: __asyncjs__mediapipe_map_buffer_jspi,
6719
+ /** @export */ R: UseBottomLeftGpuOrigin,
6720
+ /** @export */ Z: __asyncjs__mediapipe_map_buffer_jspi,
6736
6721
  /** @export */ Ua: ___syscall_dup,
6737
6722
  /** @export */ Ta: ___syscall_faccessat,
6738
- /** @export */ P: ___syscall_fcntl64,
6723
+ /** @export */ Q: ___syscall_fcntl64,
6739
6724
  /** @export */ Sa: ___syscall_fstat64,
6740
- /** @export */ ea: ___syscall_ftruncate64,
6725
+ /** @export */ fa: ___syscall_ftruncate64,
6741
6726
  /** @export */ Ra: ___syscall_ioctl,
6742
6727
  /** @export */ Qa: ___syscall_lstat64,
6743
6728
  /** @export */ Pa: ___syscall_newfstatat,
6744
- /** @export */ O: ___syscall_openat,
6729
+ /** @export */ P: ___syscall_openat,
6745
6730
  /** @export */ Oa: ___syscall_stat64,
6746
6731
  /** @export */ Ja: __abort_js,
6747
- /** @export */ ba: __gmtime_js,
6748
- /** @export */ aa: __localtime_js,
6749
- /** @export */ $: __mktime_js,
6750
- /** @export */ _: __mmap_js,
6751
- /** @export */ Z: __munmap_js,
6732
+ /** @export */ ca: __gmtime_js,
6733
+ /** @export */ ba: __localtime_js,
6734
+ /** @export */ aa: __mktime_js,
6735
+ /** @export */ $: __mmap_js,
6736
+ /** @export */ _: __munmap_js,
6752
6737
  /** @export */ Ia: __tzset_js,
6753
- /** @export */ da: _clock_time_get,
6738
+ /** @export */ ea: _clock_time_get,
6754
6739
  /** @export */ Ha: custom_emscripten_dbgn,
6755
6740
  /** @export */ Ga: _emscripten_asm_const_int,
6756
6741
  /** @export */ u: _emscripten_errn,
6757
6742
  /** @export */ Fa: _emscripten_get_heap_max,
6758
6743
  /** @export */ b: _emscripten_get_now,
6759
- /** @export */ M: _emscripten_has_asyncify,
6744
+ /** @export */ N: _emscripten_has_asyncify,
6760
6745
  /** @export */ Ea: _emscripten_outn,
6761
6746
  /** @export */ Da: _emscripten_pc_get_function,
6762
6747
  /** @export */ Ca: _emscripten_resize_heap,
6763
- /** @export */ L: _emscripten_stack_snapshot,
6748
+ /** @export */ M: _emscripten_stack_snapshot,
6764
6749
  /** @export */ Ba: _emscripten_stack_unwind_buffer,
6765
6750
  /** @export */ Aa: _emscripten_webgl_create_context,
6766
6751
  /** @export */ za: _emscripten_webgl_destroy_context,
@@ -6773,61 +6758,61 @@ var wasmImports = {
6773
6758
  /** @export */ ua: _emwgpuDeviceDestroy,
6774
6759
  /** @export */ Na: _environ_get,
6775
6760
  /** @export */ Ma: _environ_sizes_get,
6776
- /** @export */ ta: _exit,
6761
+ /** @export */ L: _exit,
6777
6762
  /** @export */ w: _fd_close,
6778
- /** @export */ N: _fd_read,
6779
- /** @export */ ca: _fd_seek,
6763
+ /** @export */ O: _fd_read,
6764
+ /** @export */ da: _fd_seek,
6780
6765
  /** @export */ v: _fd_write,
6781
6766
  /** @export */ t: _glActiveTexture,
6782
6767
  /** @export */ K: _glAttachShader,
6783
- /** @export */ sa: _glBindAttribLocation,
6768
+ /** @export */ ta: _glBindAttribLocation,
6784
6769
  /** @export */ f: _glBindBuffer,
6785
6770
  /** @export */ m: _glBindFramebuffer,
6786
6771
  /** @export */ e: _glBindTexture,
6787
6772
  /** @export */ s: _glBufferData,
6788
6773
  /** @export */ h: _glClientWaitSync,
6789
- /** @export */ ra: _glCompileShader,
6790
- /** @export */ qa: _glCreateProgram,
6791
- /** @export */ pa: _glCreateShader,
6774
+ /** @export */ sa: _glCompileShader,
6775
+ /** @export */ ra: _glCreateProgram,
6776
+ /** @export */ qa: _glCreateShader,
6792
6777
  /** @export */ J: _glDeleteFramebuffers,
6793
- /** @export */ oa: _glDeleteProgram,
6778
+ /** @export */ pa: _glDeleteProgram,
6794
6779
  /** @export */ I: _glDeleteShader,
6795
6780
  /** @export */ l: _glDeleteSync,
6796
6781
  /** @export */ H: _glDeleteTextures,
6797
6782
  /** @export */ G: _glDetachShader,
6798
6783
  /** @export */ F: _glDisableVertexAttribArray,
6799
- /** @export */ na: _glDrawArrays,
6784
+ /** @export */ oa: _glDrawArrays,
6800
6785
  /** @export */ E: _glEnableVertexAttribArray,
6801
6786
  /** @export */ D: _glFenceSync,
6802
6787
  /** @export */ k: _glFinish,
6803
6788
  /** @export */ r: _glFramebufferTexture2D,
6804
6789
  /** @export */ C: _glGenBuffers,
6805
- /** @export */ ma: _glGenFramebuffers,
6790
+ /** @export */ na: _glGenFramebuffers,
6806
6791
  /** @export */ q: _glGenTextures,
6807
6792
  /** @export */ j: _glGetError,
6808
6793
  /** @export */ B: _glGetIntegerv,
6809
6794
  /** @export */ p: _glGetString,
6810
- /** @export */ la: _glGetUniformLocation,
6811
- /** @export */ ka: _glLinkProgram,
6795
+ /** @export */ ma: _glGetUniformLocation,
6796
+ /** @export */ la: _glLinkProgram,
6812
6797
  /** @export */ o: _glPixelStorei,
6813
6798
  /** @export */ A: _glReadPixels,
6814
- /** @export */ ja: _glShaderSource,
6815
- /** @export */ ia: _glTexImage2D,
6799
+ /** @export */ ka: _glShaderSource,
6800
+ /** @export */ ja: _glTexImage2D,
6816
6801
  /** @export */ d: _glTexParameteri,
6817
6802
  /** @export */ z: _glTexStorage2D,
6818
- /** @export */ ha: _glUniform1i,
6819
- /** @export */ ga: _glUseProgram,
6803
+ /** @export */ ia: _glUniform1i,
6804
+ /** @export */ ha: _glUseProgram,
6820
6805
  /** @export */ y: _glVertexAttribPointer,
6821
- /** @export */ fa: _glViewport,
6806
+ /** @export */ ga: _glViewport,
6822
6807
  /** @export */ n: hardware_concurrency,
6823
6808
  /** @export */ La: _proc_exit,
6824
6809
  /** @export */ Ka: _random_get,
6825
- /** @export */ X: _wgpuCommandEncoderCopyTextureToBuffer,
6826
- /** @export */ W: _wgpuCommandEncoderFinish,
6827
- /** @export */ V: _wgpuDeviceCreateCommandEncoder,
6828
- /** @export */ U: _wgpuQueueSubmit,
6829
- /** @export */ T: _wgpuTextureDestroy,
6830
- /** @export */ S: _wgpuTextureGetFormat
6810
+ /** @export */ Y: _wgpuCommandEncoderCopyTextureToBuffer,
6811
+ /** @export */ X: _wgpuCommandEncoderFinish,
6812
+ /** @export */ W: _wgpuDeviceCreateCommandEncoder,
6813
+ /** @export */ V: _wgpuQueueSubmit,
6814
+ /** @export */ U: _wgpuTextureDestroy,
6815
+ /** @export */ T: _wgpuTextureGetFormat
6831
6816
  };
6832
6817
 
6833
6818
  // include: postamble.js
Binary file