@bytecodealliance/jco 1.22.0 → 1.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/obj/wasm-tools.js CHANGED
@@ -174,8 +174,13 @@ const GLOBAL_COMPONENT_MEMORY_MAP = new Map();
174
174
  const CURRENT_TASK_META = {};
175
175
 
176
176
  function _getGlobalCurrentTaskMeta(componentIdx) {
177
+ if (componentIdx === null || componentIdx === undefined) {
178
+ throw new Error("missing/invalid component idx");
179
+ }
177
180
  const v = CURRENT_TASK_META[componentIdx];
178
- if (v === undefined || v === null) { return undefined; }
181
+ if (v === undefined || v === null) {
182
+ return undefined;
183
+ }
179
184
  return { ...v };
180
185
  }
181
186
 
@@ -242,7 +247,7 @@ async function _clearCurrentTask(args) {
242
247
  const { taskID, componentIdx } = args;
243
248
 
244
249
  const meta = CURRENT_TASK_META[componentIdx];
245
- if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]n`); }
250
+ if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]`); }
246
251
 
247
252
  if (meta.taskID !== taskID) {
248
253
  throw new Error(`task ID [${meta.taskID}] != requested ID [${taskID}]`);
@@ -1332,142 +1337,66 @@ class Waitable {
1332
1337
 
1333
1338
  const ERR_CTX_TABLES = {};
1334
1339
 
1335
- let dv = new DataView(new ArrayBuffer());
1336
- const dataView = mem => dv.buffer === mem.buffer ? dv : dv = new DataView(mem.buffer);
1337
-
1338
- function toUint64(val) {
1339
- const converted = BigInt(val)
1340
-
1341
- return BigInt.asUintN(64, converted);
1342
- }
1343
-
1344
-
1345
- function toUint32(val) {
1340
+ function contextGet(ctx) {
1341
+ const { componentIdx, slot } = ctx;
1342
+ if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
1343
+ if (slot === undefined) { throw new TypeError("missing slot"); }
1346
1344
 
1347
- return val >>> 0;
1348
- }
1349
-
1350
- const utf16Decoder = new TextDecoder('utf-16');
1351
- const TEXT_DECODER_UTF8 = new TextDecoder();
1352
- const TEXT_ENCODER_UTF8 = new TextEncoder();
1353
-
1354
- function _utf8AllocateAndEncode(s, realloc, memory) {
1355
- if (typeof s !== 'string') {
1356
- throw new TypeError('expected a string, received [' + typeof s + ']');
1357
- }
1358
- if (s.length === 0) { return { ptr: 1, len: 0 }; }
1359
- let buf = TEXT_ENCODER_UTF8.encode(s);
1360
- let ptr = realloc(0, 0, 1, buf.length);
1361
- new Uint8Array(memory.buffer).set(buf, ptr);
1362
- const res = { ptr, len: buf.length, codepoints: [...s].length };
1363
- return res;
1364
- }
1365
-
1366
-
1367
- const T_FLAG = 1 << 30;
1368
-
1369
- function rscTableCreateOwn(table, rep) {
1370
- const free = table[0] & ~T_FLAG;
1371
- table._createdReps.add(rep);
1372
- if (free === 0) {
1373
- table.push(0);
1374
- table.push(rep | T_FLAG);
1375
- return (table.length >> 1) - 1;
1376
- }
1377
- table[0] = table[free << 1];
1378
- table[free << 1] = 0;
1379
- table[(free << 1) + 1] = rep | T_FLAG;
1380
- return free;
1381
- }
1382
-
1383
- function rscTableRemove(table, handle) {
1384
- const scope = table[handle << 1];
1385
- const val = table[(handle << 1) + 1];
1386
- const own = (val & T_FLAG) !== 0;
1387
- const rep = val & ~T_FLAG;
1388
- if (val === 0 || (scope & T_FLAG) !== 0) {
1389
- throw new TypeError("Invalid handle");
1390
- }
1391
- table[handle << 1] = table[0] | T_FLAG;
1392
- table[0] = handle | T_FLAG;
1393
- return { rep, scope, own };
1394
- }
1395
-
1396
- let curResourceBorrows = [];
1397
-
1398
- function getCurrentTask(componentIdx, taskID) {
1399
- let usedGlobal = false;
1400
- if (componentIdx === undefined || componentIdx === null) {
1401
- throw new Error('missing component idx'); // TODO(fix)
1402
- // componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
1403
- // usedGlobal = true;
1345
+ const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
1346
+ if (!currentTaskMeta) {
1347
+ throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
1404
1348
  }
1349
+ const taskID = currentTaskMeta.taskID;
1405
1350
 
1406
- const taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
1407
- if (taskMetas === undefined || taskMetas.length === 0) { return undefined; }
1351
+ const taskMeta = getCurrentTask(componentIdx, taskID);
1352
+ if (!taskMeta) { throw new Error('failed to retrieve current task'); }
1408
1353
 
1409
- if (taskID) {
1410
- return taskMetas.find(meta => meta.task.id() === taskID);
1411
- }
1354
+ let task = taskMeta.task;
1355
+ if (!task) { throw new Error('invalid/missing current task in metadata while getting context'); }
1356
+
1357
+ _debugLog('[contextGet()] args', {
1358
+ slot,
1359
+ storage: task.storage,
1360
+ taskID: task.id(),
1361
+ componentIdx: task.componentIdx(),
1362
+ });
1412
1363
 
1413
- const taskMeta = taskMetas[taskMetas.length - 1];
1414
- if (!taskMeta || !taskMeta.task) { return undefined; }
1364
+ if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
1415
1365
 
1416
- return taskMeta;
1366
+ return task.storage[slot];
1417
1367
  }
1418
1368
 
1419
- function createNewCurrentTask(args) {
1420
- _debugLog('[createNewCurrentTask()] args', args);
1421
- const {
1422
- componentIdx,
1423
- isAsync,
1424
- isManualAsync,
1425
- entryFnName,
1426
- parentSubtaskID,
1427
- callbackFnName,
1428
- getCallbackFn,
1429
- getParamsFn,
1430
- stringEncoding,
1431
- errHandling,
1432
- getCalleeParamsFn,
1433
- resultPtr,
1434
- callingWasmExport,
1435
- } = args;
1436
- if (componentIdx === undefined || componentIdx === null) {
1437
- throw new Error('missing/invalid component instance index while starting task');
1438
- }
1439
- let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
1440
- const callbackFn = getCallbackFn ? getCallbackFn() : null;
1369
+
1370
+ function contextSet(ctx, value) {
1371
+ const { componentIdx, slot } = ctx;
1372
+ if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
1373
+ if (slot === undefined) { throw new TypeError("missing slot"); }
1374
+ if (!(_typeCheckValidI32(value))) { throw new Error('invalid value for context set (not valid i32)'); }
1441
1375
 
1442
- const newTask = new AsyncTask({
1443
- componentIdx,
1444
- isAsync,
1445
- isManualAsync,
1446
- entryFnName,
1447
- callbackFn,
1448
- callbackFnName,
1449
- stringEncoding,
1450
- getCalleeParamsFn,
1451
- resultPtr,
1452
- errHandling,
1453
- });
1376
+ const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
1377
+ if (!currentTaskMeta) {
1378
+ throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
1379
+ }
1380
+ const taskID = currentTaskMeta.taskID;
1454
1381
 
1455
- const newTaskID = newTask.id();
1456
- const newTaskMeta = { id: newTaskID, componentIdx, task: newTask };
1382
+ const taskMeta = getCurrentTask(componentIdx, taskID);
1383
+ if (!taskMeta) { throw new Error('failed to retrieve current task'); }
1457
1384
 
1458
- // NOTE: do not track host tasks
1459
- ASYNC_CURRENT_TASK_IDS.push(newTaskID);
1460
- ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
1385
+ let task = taskMeta.task;
1386
+ if (!task) { throw new Error('invalid/missing current task in metadata while setting context'); }
1461
1387
 
1462
- if (!taskMetas) {
1463
- taskMetas = [newTaskMeta];
1464
- ASYNC_TASKS_BY_COMPONENT_IDX.set(componentIdx, [newTaskMeta]);
1465
- } else {
1466
- taskMetas.push(newTaskMeta);
1467
- }
1388
+ _debugLog('[contextSet()] args', {
1389
+ slot,
1390
+ value,
1391
+ storage: task.storage,
1392
+ taskID: task.id(),
1393
+ componentIdx: task.componentIdx(),
1394
+ });
1468
1395
 
1469
- return [newTask, newTaskID];
1396
+ if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
1397
+ task.storage[slot] = value;
1470
1398
  }
1399
+
1471
1400
  const ASYNC_TASKS_BY_COMPONENT_IDX = new Map();
1472
1401
 
1473
1402
  class AsyncTask {
@@ -2158,6 +2087,153 @@ class Waitable {
2158
2087
  }
2159
2088
  }
2160
2089
 
2090
+ const ASYNC_EVENT_CODE = {
2091
+ NONE: 0,
2092
+ SUBTASK: 1,
2093
+ STREAM_READ: 2,
2094
+ STREAM_WRITE: 3,
2095
+ FUTURE_READ: 4,
2096
+ FUTURE_WRITE: 5,
2097
+ TASK_CANCELLED: 6,
2098
+ };
2099
+
2100
+ function getCurrentTask(componentIdx, taskID) {
2101
+ let usedGlobal = false;
2102
+ if (componentIdx === undefined || componentIdx === null) {
2103
+ throw new Error('missing component idx'); // TODO(fix)
2104
+ // componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
2105
+ // usedGlobal = true;
2106
+ }
2107
+
2108
+ const taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
2109
+ if (taskMetas === undefined || taskMetas.length === 0) { return undefined; }
2110
+
2111
+ if (taskID) {
2112
+ return taskMetas.find(meta => meta.task.id() === taskID);
2113
+ }
2114
+
2115
+ const taskMeta = taskMetas[taskMetas.length - 1];
2116
+ if (!taskMeta || !taskMeta.task) { return undefined; }
2117
+
2118
+ return taskMeta;
2119
+ }
2120
+
2121
+ let dv = new DataView(new ArrayBuffer());
2122
+ const dataView = mem => dv.buffer === mem.buffer ? dv : dv = new DataView(mem.buffer);
2123
+
2124
+ function toUint64(val) {
2125
+ const converted = BigInt(val)
2126
+
2127
+ return BigInt.asUintN(64, converted);
2128
+ }
2129
+
2130
+
2131
+ function toUint32(val) {
2132
+
2133
+ return val >>> 0;
2134
+ }
2135
+
2136
+ const utf16Decoder = new TextDecoder('utf-16');
2137
+ const TEXT_DECODER_UTF8 = new TextDecoder();
2138
+ const TEXT_ENCODER_UTF8 = new TextEncoder();
2139
+
2140
+ function _utf8AllocateAndEncode(s, realloc, memory) {
2141
+ if (typeof s !== 'string') {
2142
+ throw new TypeError('expected a string, received [' + typeof s + ']');
2143
+ }
2144
+ if (s.length === 0) { return { ptr: 1, len: 0 }; }
2145
+ let buf = TEXT_ENCODER_UTF8.encode(s);
2146
+ let ptr = realloc(0, 0, 1, buf.length);
2147
+ new Uint8Array(memory.buffer).set(buf, ptr);
2148
+ const res = { ptr, len: buf.length, codepoints: [...s].length };
2149
+ return res;
2150
+ }
2151
+
2152
+
2153
+ const T_FLAG = 1 << 30;
2154
+
2155
+ function rscTableCreateOwn(table, rep) {
2156
+ const free = table[0] & ~T_FLAG;
2157
+ table._createdReps.add(rep);
2158
+ if (free === 0) {
2159
+ table.push(0);
2160
+ table.push(rep | T_FLAG);
2161
+ return (table.length >> 1) - 1;
2162
+ }
2163
+ table[0] = table[free << 1];
2164
+ table[free << 1] = 0;
2165
+ table[(free << 1) + 1] = rep | T_FLAG;
2166
+ return free;
2167
+ }
2168
+
2169
+ function rscTableRemove(table, handle) {
2170
+ const scope = table[handle << 1];
2171
+ const val = table[(handle << 1) + 1];
2172
+ const own = (val & T_FLAG) !== 0;
2173
+ const rep = val & ~T_FLAG;
2174
+ if (val === 0 || (scope & T_FLAG) !== 0) {
2175
+ throw new TypeError("Invalid handle");
2176
+ }
2177
+ table[handle << 1] = table[0] | T_FLAG;
2178
+ table[0] = handle | T_FLAG;
2179
+ return { rep, scope, own };
2180
+ }
2181
+
2182
+ let curResourceBorrows = [];
2183
+
2184
+ function createNewCurrentTask(args) {
2185
+ _debugLog('[createNewCurrentTask()] args', args);
2186
+ const {
2187
+ componentIdx,
2188
+ isAsync,
2189
+ isManualAsync,
2190
+ entryFnName,
2191
+ parentSubtaskID,
2192
+ callbackFnName,
2193
+ getCallbackFn,
2194
+ getParamsFn,
2195
+ stringEncoding,
2196
+ errHandling,
2197
+ getCalleeParamsFn,
2198
+ resultPtr,
2199
+ callingWasmExport,
2200
+ } = args;
2201
+ if (componentIdx === undefined || componentIdx === null) {
2202
+ throw new Error('missing/invalid component instance index while starting task');
2203
+ }
2204
+ let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
2205
+ const callbackFn = getCallbackFn ? getCallbackFn() : null;
2206
+
2207
+ const newTask = new AsyncTask({
2208
+ componentIdx,
2209
+ isAsync,
2210
+ isManualAsync,
2211
+ entryFnName,
2212
+ callbackFn,
2213
+ callbackFnName,
2214
+ stringEncoding,
2215
+ getCalleeParamsFn,
2216
+ resultPtr,
2217
+ errHandling,
2218
+ });
2219
+
2220
+ const newTaskID = newTask.id();
2221
+ const newTaskMeta = { id: newTaskID, componentIdx, task: newTask };
2222
+
2223
+ // NOTE: do not track host tasks
2224
+ ASYNC_CURRENT_TASK_IDS.push(newTaskID);
2225
+ ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
2226
+
2227
+ if (!taskMetas) {
2228
+ taskMetas = [newTaskMeta];
2229
+ ASYNC_TASKS_BY_COMPONENT_IDX.set(componentIdx, [newTaskMeta]);
2230
+ } else {
2231
+ taskMetas.push(newTaskMeta);
2232
+ }
2233
+
2234
+ return [newTask, newTaskID];
2235
+ }
2236
+
2161
2237
  function _lowerImportBackwardsCompat(args) {
2162
2238
  const params = [...arguments].slice(1);
2163
2239
  _debugLog('[_lowerImportBackwardsCompat()] args', { args, params });
@@ -2476,6 +2552,38 @@ function _lowerImportBackwardsCompat(args) {
2476
2552
  }
2477
2553
 
2478
2554
 
2555
+ function _liftFlatFloat64(ctx) {
2556
+ _debugLog('[_liftFlatFloat64()] args', { ctx });
2557
+ let val;
2558
+
2559
+ if (ctx.useDirectParams) {
2560
+ if (ctx.params.length === 0) {
2561
+ throw new Error('expected at least one single f64 argument');
2562
+ }
2563
+ val = ctx.params[0];
2564
+ ctx.params = ctx.params.slice(1);
2565
+
2566
+ if (ctx.inVariant) {
2567
+ const dv = new DataView(new ArrayBuffer(8));
2568
+ dv.setBigInt64(0, val);
2569
+ val = dv.getFloat64(0);
2570
+ }
2571
+
2572
+ return [val, ctx];
2573
+ }
2574
+
2575
+ if (ctx.storageLen !== undefined && ctx.storageLen < 8) {
2576
+ throw new Error(`insufficient storage ([${ctx.storageLen}] bytes) for lift (f64 requires 8 bytes)`);
2577
+ }
2578
+
2579
+ val = new DataView(ctx.memory.buffer).getFloat64(ctx.storagePtr, true);
2580
+ ctx.storagePtr += 8;
2581
+ if (ctx.storageLen !== undefined) { ctx.storageLen -= 8; }
2582
+
2583
+ return [val, ctx];
2584
+ }
2585
+
2586
+
2479
2587
  function _liftFlatStringAny(ctx) {
2480
2588
  switch (ctx.stringEncoding) {
2481
2589
  case 'utf8':
@@ -2493,8 +2601,9 @@ function _lowerImportBackwardsCompat(args) {
2493
2601
 
2494
2602
  if (ctx.useDirectParams) {
2495
2603
  if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
2496
- const offset = ctx.params[0];
2497
- if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2604
+ let offset = ctx.params[0];
2605
+ if (typeof offset === 'bigint') { offset = Number(offset); }
2606
+ if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2498
2607
  const len = ctx.params[1];
2499
2608
  if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
2500
2609
  val = TEXT_DECODER_UTF8.decode(new DataView(ctx.memory.buffer, offset, len));
@@ -2524,6 +2633,7 @@ function _lowerImportBackwardsCompat(args) {
2524
2633
  if (ctx.useDirectParams) {
2525
2634
  if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
2526
2635
  const offset = ctx.params[0];
2636
+ if (typeof offset === 'bigint') { offset = Number(offset); }
2527
2637
  if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2528
2638
  const len = ctx.params[1];
2529
2639
  if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
@@ -2542,17 +2652,30 @@ function _lowerImportBackwardsCompat(args) {
2542
2652
  return [val, ctx];
2543
2653
  }
2544
2654
 
2545
- function _liftFlatVariant(casesAndLiftFns) {
2655
+ function _liftFlatVariant(meta) {
2656
+ const {
2657
+ caseMetas,
2658
+ variantSize32,
2659
+ variantAlign32,
2660
+ variantPayloadOffset32,
2661
+ variantFlatCount,
2662
+ isEnum,
2663
+ } = meta;
2664
+
2546
2665
  return function _liftFlatVariantInner(ctx) {
2547
2666
  _debugLog('[_liftFlatVariant()] args', { ctx });
2548
-
2549
2667
  const origUseParams = ctx.useDirectParams;
2550
2668
 
2669
+ // If we're in the process of lifting a variant, we note
2670
+ // we are during any lifting that happens (e.g. to accomodate f32/f64 mechanics)
2671
+ const wasInVariant = ctx.inVariant;
2672
+ ctx.inVariant = true;
2673
+
2551
2674
  let caseIdx;
2552
2675
  let liftRes;
2553
2676
  const originalPtr = ctx.storagePtr;
2554
- const numCases = casesAndLiftFns.length;
2555
- if (casesAndLiftFns.length < 256) {
2677
+ const numCases = caseMetas.length;
2678
+ if (caseMetas.length < 256) {
2556
2679
  liftRes = _liftFlatU8(ctx);
2557
2680
  } else if (numCases >= 256 && numCases < 65536) {
2558
2681
  liftRes = _liftFlatU16(ctx);
@@ -2564,11 +2687,20 @@ function _lowerImportBackwardsCompat(args) {
2564
2687
  caseIdx = liftRes[0];
2565
2688
  ctx = liftRes[1];
2566
2689
 
2567
- const [ tag, liftFn, size32, align32, payloadOffset32, caseFlatCount, variantFlatCount ] = casesAndLiftFns[caseIdx];
2568
- if (payloadOffset32 === undefined) { throw new Error('unexpectedly missing payload offset'); }
2690
+ const [
2691
+ tag,
2692
+ liftFn,
2693
+ caseSize32,
2694
+ caseAlign32,
2695
+ caseFlatCount,
2696
+ ] = caseMetas[caseIdx];
2697
+
2698
+ if (variantPayloadOffset32 === undefined) {
2699
+ throw new Error('unexpectedly missing payload offset');
2700
+ }
2569
2701
 
2570
2702
  if (originalPtr !== undefined) {
2571
- ctx.storagePtr = originalPtr + payloadOffset32;
2703
+ ctx.storagePtr = originalPtr + variantPayloadOffset32;
2572
2704
  }
2573
2705
 
2574
2706
  let val;
@@ -2577,28 +2709,32 @@ function _lowerImportBackwardsCompat(args) {
2577
2709
  // NOTE: here we need to move past the entire object in memory
2578
2710
  // despite moving to the payload which we now know is missing/unnecessary
2579
2711
  if (originalPtr !== undefined) {
2580
- ctx.storagePtr = originalPtr + size32;
2712
+ ctx.storagePtr = originalPtr + variantSize32;
2581
2713
  }
2582
2714
  } else {
2715
+ if (ctx.useDirectParams && ctx.params && liftFn !== _liftFlatFloat64 && typeof ctx.params[0] === 'bigint') {
2716
+ if (ctx.params[0] > BigInt(Number.MAX_SAFE_INTEGER)) {
2717
+ throw new Error(`invalid value, reinterpreted i32/f32 too large: [${ctx.params[0]}]`);
2718
+ }
2719
+ ctx.params[0] = Number(ctx.params[0]);
2720
+ }
2721
+
2583
2722
  const [newVal, newCtx] = liftFn(ctx);
2584
2723
  val = { tag, val: newVal };
2585
2724
  ctx = newCtx;
2586
-
2587
- // NOTE: Padding can be left over after doing the lift if it was less than
2588
- // space left for the payload normally.
2589
- if (originalPtr !== undefined) {
2590
- ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
2591
- }
2592
2725
  }
2593
2726
 
2594
2727
  if (origUseParams) {
2595
- if (caseFlatCount === undefined || variantFlatCount === undefined) {
2596
- throw new Error('variant flat count metadata is missing');
2597
- }
2598
- if (caseFlatCount === null || variantFlatCount === null) {
2728
+ if (variantFlatCount === undefined || variantFlatCount === null) {
2729
+ _debugLog('[_liftFlatVariant()] variant with unknown flat count', { ctx, meta });
2599
2730
  throw new Error('cannot lift variant with unknown flat count');
2600
2731
  }
2601
- const remainingPayloadParams = variantFlatCount - 1 - caseFlatCount;
2732
+ if (caseFlatCount === undefined || caseFlatCount === null) {
2733
+ _debugLog('[_liftFlatVariant()] case with unknown flat count', { ctx, meta, case: meta.caseMetas[caseIdx] });
2734
+ throw new Error('cannot lift case with unknown flat count');
2735
+ }
2736
+ // NOTE: enums can be tightly packed and do not have a descriminant
2737
+ const remainingPayloadParams = variantFlatCount - caseFlatCount - (isEnum ? 0 : 1);
2602
2738
  if (remainingPayloadParams < 0) {
2603
2739
  throw new Error(`invalid variant flat count metadata`);
2604
2740
  }
@@ -2609,10 +2745,12 @@ function _lowerImportBackwardsCompat(args) {
2609
2745
  }
2610
2746
 
2611
2747
  if (ctx.storagePtr !== undefined) {
2612
- const rem = ctx.storagePtr % align32;
2613
- if (rem !== 0) { ctx.storagePtr += align32 - rem; }
2748
+ const rem = ctx.storagePtr % variantAlign32;
2749
+ if (rem !== 0) { ctx.storagePtr += variantAlign32 - rem; }
2614
2750
  }
2615
2751
 
2752
+ ctx.inVariant = wasInVariant;
2753
+
2616
2754
  return [val, ctx];
2617
2755
  }
2618
2756
  }
@@ -2625,7 +2763,7 @@ function _lowerImportBackwardsCompat(args) {
2625
2763
  ? values => values
2626
2764
  : values => new typedArray(values);
2627
2765
 
2628
- const readValuesAndReset = (ctx, originalPtr, dataPtr, len) => {
2766
+ const readValuesAndReset = (ctx, originalPtr, originalLen, dataPtr, len) => {
2629
2767
  ctx.storagePtr = dataPtr;
2630
2768
  const val = [];
2631
2769
  for (var i = 0; i < len; i++) {
@@ -2638,6 +2776,7 @@ function _lowerImportBackwardsCompat(args) {
2638
2776
  ctx.storagePtr = Math.max(ctx.storagePtr, elemPtr + elemSize32);
2639
2777
  }
2640
2778
  if (originalPtr !== null) { ctx.storagePtr = originalPtr; }
2779
+ if (originalLen !== null) { ctx.storageLen = originalLen; }
2641
2780
  return [listValue(val), ctx];
2642
2781
  };
2643
2782
 
@@ -2647,42 +2786,20 @@ function _lowerImportBackwardsCompat(args) {
2647
2786
  let liftResults;
2648
2787
  if (knownLen !== undefined) { // list with known length
2649
2788
  if (ctx.useDirectParams) {
2650
- if (ctx.memory === null) {
2651
- // If this lift should be using direct params,
2652
- // and the memory is missing, we are in the case where
2653
- // a fixed length list (or other value) is being passed only
2654
- // via parameters to the function.
2655
- //
2656
- // Normally, we would expect to use the direct parameters as a
2657
- // memory location + size, but in this case, *all* values are being passed directly,
2658
- // via params.
2659
- //
2660
- _debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
2661
- liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
2662
- ctx.params = ctx.params.slice(knownLen);
2663
- } else {
2664
- // in-memory list with unknown length w/ direct params
2665
- const dataPtr = ctx.params[0];
2666
- ctx.params = ctx.params.slice(1);
2667
-
2668
- ctx.useDirectParams = false;
2669
- const originalPtr = ctx.storagePtr;
2670
- ctx.storageLen = knownLen * elemSize32;
2671
-
2672
- liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, knownLen);
2673
-
2674
- ctx.useDirectParams = true;
2675
- ctx.storagePtr = undefined;
2676
- ctx.storageLen = undefined;
2677
- }
2789
+ _debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
2790
+ liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
2791
+ ctx.params = ctx.params.slice(knownLen);
2678
2792
  } else { // indirect params
2679
2793
  if (ctx.memory === null) {
2680
2794
  _debugLog('memory unexpectedly missing while lifting known length list', { knownLen, ctx });
2681
2795
  throw new Error(`memory missing while lifting known length (${knownLen}) list`);
2682
2796
  }
2683
2797
 
2798
+ const originalLen = ctx.storageLen;
2799
+ const originalPtr = ctx.storagePtr;
2800
+
2684
2801
  ctx.storageLen = knownLen * elemSize32;
2685
- liftResults = readValuesAndReset(ctx, null, ctx.storagePtr, knownLen);
2802
+ liftResults = readValuesAndReset(ctx, null, originalLen, ctx.storagePtr, knownLen);
2686
2803
  }
2687
2804
 
2688
2805
  } else { // unknown length list
@@ -2695,16 +2812,15 @@ function _lowerImportBackwardsCompat(args) {
2695
2812
 
2696
2813
  ctx.useDirectParams = false;
2697
2814
  const originalPtr = ctx.storagePtr;
2815
+ const originalLen = ctx.storageLen;
2698
2816
  ctx.storageLen = len * elemSize32;
2699
2817
 
2700
- liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, len);
2818
+ liftResults = readValuesAndReset(ctx, originalPtr, originalLen, dataPtr, len);
2701
2819
 
2702
2820
  ctx.useDirectParams = true;
2703
- ctx.storagePtr = undefined;
2704
- ctx.storageLen = undefined;
2705
-
2706
2821
  } else {
2707
2822
  // unknown length list ptr w/ in-memory params
2823
+ const originalLen = ctx.storageLen;
2708
2824
  ctx.storageLen = 8;
2709
2825
 
2710
2826
  const dataPtrLiftRes = _liftFlatU32(ctx);
@@ -2719,7 +2835,7 @@ function _lowerImportBackwardsCompat(args) {
2719
2835
  ctx.storagePtr = dataPtr;
2720
2836
 
2721
2837
  ctx.storageLen = len * elemSize32;
2722
- liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, len);
2838
+ liftResults = readValuesAndReset(ctx, originalPtr, originalLen, dataPtr, len);
2723
2839
  }
2724
2840
  }
2725
2841
 
@@ -2765,10 +2881,11 @@ function _liftFlatFlags(meta) {
2765
2881
  }
2766
2882
  }
2767
2883
 
2768
- function _liftFlatResult(casesAndLiftFns) {
2884
+ function _liftFlatResult(meta) {
2885
+ const f = _liftFlatVariant(meta);
2769
2886
  return function _liftFlatResultInner(ctx) {
2770
2887
  _debugLog('[_liftFlatResult()] args', { ctx });
2771
- return _liftFlatVariant(casesAndLiftFns)(ctx);
2888
+ return f(ctx);
2772
2889
  }
2773
2890
  }
2774
2891
 
@@ -2915,9 +3032,11 @@ function _lowerFlatRecord(meta) {
2915
3032
  }
2916
3033
  }
2917
3034
 
2918
- function _lowerFlatVariant(lowerMetas) {
3035
+ function _lowerFlatVariant(meta) {
3036
+ const { variantSize32, variantAlign32, variantPayloadOffset32, caseMetas } = meta;
3037
+
2919
3038
  let caseLookup = {};
2920
- for (const [idx, meta] of lowerMetas.entries()) {
3039
+ for (const [idx, meta] of caseMetas.entries()) {
2921
3040
  let tag = meta[0];
2922
3041
  caseLookup[tag] = { discriminant: idx, meta };
2923
3042
  }
@@ -2931,30 +3050,30 @@ function _lowerFlatVariant(lowerMetas) {
2931
3050
  throw new Error(`missing tag [${tag}] (valid tags: ${Object.keys(caseLookup)})`);
2932
3051
  }
2933
3052
 
2934
- const [ _tag, lowerFn, size32, align32, payloadOffset32 ] = variantCase.meta;
3053
+ const [ _tag, lowerFn, caseSize32, caseAlign32, caseFlatCount ] = variantCase.meta;
2935
3054
 
2936
3055
  const originalPtr = ctx.storagePtr;
2937
3056
  ctx.vals = [variantCase.discriminant];
2938
3057
  let discLowerRes;
2939
- if (lowerMetas.length < 256) {
3058
+ if (caseMetas.length < 256) {
2940
3059
  discLowerRes = _lowerFlatU8(ctx);
2941
- } else if (lowerMetas.length >= 256 && lowerMetas.length < 65536) {
3060
+ } else if (caseMetas.length >= 256 && caseMetas.length < 65536) {
2942
3061
  discLowerRes = _lowerFlatU16(ctx);
2943
- } else if (lowerMetas.length >= 65536 && lowerMetas.length < 4_294_967_296) {
3062
+ } else if (caseMetas.length >= 65536 && caseMetas.length < 4_294_967_296) {
2944
3063
  discLowerRes = _lowerFlatU32(ctx);
2945
3064
  } else {
2946
- throw new Error(`unsupported number of cases [${lowerMetas.length}]`);
3065
+ throw new Error(`unsupported number of cases [${caseMetas.length}]`);
2947
3066
  }
2948
3067
 
2949
- const payloadOffsetPtr = originalPtr + payloadOffset32;
3068
+ const payloadOffsetPtr = originalPtr + variantPayloadOffset32;
2950
3069
  ctx.storagePtr = payloadOffsetPtr;
2951
3070
  ctx.vals = [val];
2952
3071
  if (lowerFn) { lowerFn(ctx); }
2953
3072
 
2954
- ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
3073
+ ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + variantSize32);
2955
3074
 
2956
- const rem = ctx.storagePtr % align32;
2957
- if (rem !== 0) { ctx.storagePtr += align32 - rem; }
3075
+ const rem = ctx.storagePtr % variantAlign32;
3076
+ if (rem !== 0) { ctx.storagePtr += varianttAlign32 - rem; }
2958
3077
  }
2959
3078
  }
2960
3079
 
@@ -3117,7 +3236,8 @@ function _lowerFlatFlags(meta) {
3117
3236
  }
3118
3237
  }
3119
3238
 
3120
- function _lowerFlatEnum(lowerMetas) {
3239
+ function _lowerFlatEnum(meta) {
3240
+ const f = _lowerFlatVariant(meta);
3121
3241
  return function _lowerFlatEnumInner(ctx) {
3122
3242
  _debugLog('[_lowerFlatEnum()] args', { ctx });
3123
3243
 
@@ -3129,11 +3249,12 @@ function _lowerFlatEnum(lowerMetas) {
3129
3249
  ctx.vals[0] = { tag: v };
3130
3250
  }
3131
3251
 
3132
- _lowerFlatVariant(lowerMetas)(ctx);
3252
+ f(ctx);
3133
3253
  }
3134
3254
  }
3135
3255
 
3136
- function _lowerFlatOption(lowerMetas) {
3256
+ function _lowerFlatOption(meta) {
3257
+ const f = _lowerFlatVariant(meta);
3137
3258
  return function _lowerFlatOptionInner(ctx) {
3138
3259
  _debugLog('[_lowerFlatOption()] args', { ctx });
3139
3260
 
@@ -3151,13 +3272,14 @@ function _lowerFlatOption(lowerMetas) {
3151
3272
  }
3152
3273
  }
3153
3274
 
3154
- _lowerFlatVariant(lowerMetas)(ctx);
3275
+ f(ctx);
3155
3276
  }
3156
3277
  }
3157
3278
 
3158
- function _lowerFlatResult(lowerMetas) {
3279
+ function _lowerFlatResult(meta) {
3280
+ const f = _lowerFlatVariant(meta);
3159
3281
  return function _lowerFlatResultInner(ctx) {
3160
- _debugLog('[_lowerFlatResult()] args', { lowerMetas });
3282
+ _debugLog('[_lowerFlatResult()] args', { ctx });
3161
3283
 
3162
3284
  const v = ctx.vals[0];
3163
3285
  const isNotResultObject = typeof v !== 'object'
@@ -3169,7 +3291,7 @@ function _lowerFlatResult(lowerMetas) {
3169
3291
  ctx.vals[0] = { tag: 'ok', val: v };
3170
3292
  }
3171
3293
 
3172
- _lowerFlatVariant(lowerMetas)(ctx);
3294
+ f(ctx);
3173
3295
  };
3174
3296
  }
3175
3297
 
@@ -11437,7 +11559,15 @@ null,
11437
11559
  componentIdx: 0,
11438
11560
  isAsync: false,
11439
11561
  isManualAsync: _trampoline10.manuallyAsync,
11440
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
11562
+ paramLiftFns: [
11563
+ _liftFlatResult({
11564
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
11565
+ variantSize32: 1,
11566
+ variantAlign32: 1,
11567
+ variantPayloadOffset32: 1,
11568
+ variantFlatCount: 1,
11569
+ })
11570
+ ],
11441
11571
  resultLowerFns: [],
11442
11572
  hasResultPointer: false,
11443
11573
  funcTypeIsAsync: false,
@@ -11457,7 +11587,15 @@ null,
11457
11587
  componentIdx: 0,
11458
11588
  isAsync: false,
11459
11589
  isManualAsync: _trampoline10.manuallyAsync,
11460
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
11590
+ paramLiftFns: [
11591
+ _liftFlatResult({
11592
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
11593
+ variantSize32: 1,
11594
+ variantAlign32: 1,
11595
+ variantPayloadOffset32: 1,
11596
+ variantFlatCount: 1,
11597
+ })
11598
+ ],
11461
11599
  resultLowerFns: [],
11462
11600
  hasResultPointer: false,
11463
11601
  funcTypeIsAsync: false,
@@ -11528,10 +11666,25 @@ null,
11528
11666
  isAsync: false,
11529
11667
  isManualAsync: _trampoline12.manuallyAsync,
11530
11668
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11531
- resultLowerFns: [_lowerFlatResult([
11532
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11533
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11534
- ])
11669
+ resultLowerFns: [
11670
+ _lowerFlatResult({
11671
+ caseMetas: [
11672
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11673
+ [ 'err',
11674
+ _lowerFlatEnum({
11675
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11676
+ variantSize32: 1,
11677
+ variantAlign32: 1,
11678
+ variantPayloadOffset32: 1,
11679
+ variantFlatCount: 1,
11680
+ })
11681
+ , 2, 1, 1 ],
11682
+ ],
11683
+ variantSize32: 2,
11684
+ variantAlign32: 1,
11685
+ variantPayloadOffset32: 1,
11686
+ variantFlatCount: 2,
11687
+ })
11535
11688
  ],
11536
11689
  hasResultPointer: true,
11537
11690
  funcTypeIsAsync: false,
@@ -11552,10 +11705,25 @@ null,
11552
11705
  isAsync: false,
11553
11706
  isManualAsync: _trampoline12.manuallyAsync,
11554
11707
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11555
- resultLowerFns: [_lowerFlatResult([
11556
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11557
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11558
- ])
11708
+ resultLowerFns: [
11709
+ _lowerFlatResult({
11710
+ caseMetas: [
11711
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11712
+ [ 'err',
11713
+ _lowerFlatEnum({
11714
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11715
+ variantSize32: 1,
11716
+ variantAlign32: 1,
11717
+ variantPayloadOffset32: 1,
11718
+ variantFlatCount: 1,
11719
+ })
11720
+ , 2, 1, 1 ],
11721
+ ],
11722
+ variantSize32: 2,
11723
+ variantAlign32: 1,
11724
+ variantPayloadOffset32: 1,
11725
+ variantFlatCount: 2,
11726
+ })
11559
11727
  ],
11560
11728
  hasResultPointer: true,
11561
11729
  funcTypeIsAsync: false,
@@ -11577,10 +11745,33 @@ null,
11577
11745
  isAsync: false,
11578
11746
  isManualAsync: _trampoline13.manuallyAsync,
11579
11747
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11580
- resultLowerFns: [_lowerFlatResult([
11581
- [ 'ok', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 2, 1, 1 ],
11582
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11583
- ])
11748
+ resultLowerFns: [
11749
+ _lowerFlatResult({
11750
+ caseMetas: [
11751
+ [ 'ok',
11752
+ _lowerFlatEnum({
11753
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
11754
+ variantSize32: 1,
11755
+ variantAlign32: 1,
11756
+ variantPayloadOffset32: 1,
11757
+ variantFlatCount: 1,
11758
+ })
11759
+ , 2, 1, 1 ],
11760
+ [ 'err',
11761
+ _lowerFlatEnum({
11762
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11763
+ variantSize32: 1,
11764
+ variantAlign32: 1,
11765
+ variantPayloadOffset32: 1,
11766
+ variantFlatCount: 1,
11767
+ })
11768
+ , 2, 1, 1 ],
11769
+ ],
11770
+ variantSize32: 2,
11771
+ variantAlign32: 1,
11772
+ variantPayloadOffset32: 1,
11773
+ variantFlatCount: 2,
11774
+ })
11584
11775
  ],
11585
11776
  hasResultPointer: true,
11586
11777
  funcTypeIsAsync: false,
@@ -11601,10 +11792,33 @@ null,
11601
11792
  isAsync: false,
11602
11793
  isManualAsync: _trampoline13.manuallyAsync,
11603
11794
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11604
- resultLowerFns: [_lowerFlatResult([
11605
- [ 'ok', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 2, 1, 1 ],
11606
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11607
- ])
11795
+ resultLowerFns: [
11796
+ _lowerFlatResult({
11797
+ caseMetas: [
11798
+ [ 'ok',
11799
+ _lowerFlatEnum({
11800
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
11801
+ variantSize32: 1,
11802
+ variantAlign32: 1,
11803
+ variantPayloadOffset32: 1,
11804
+ variantFlatCount: 1,
11805
+ })
11806
+ , 2, 1, 1 ],
11807
+ [ 'err',
11808
+ _lowerFlatEnum({
11809
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11810
+ variantSize32: 1,
11811
+ variantAlign32: 1,
11812
+ variantPayloadOffset32: 1,
11813
+ variantFlatCount: 1,
11814
+ })
11815
+ , 2, 1, 1 ],
11816
+ ],
11817
+ variantSize32: 2,
11818
+ variantAlign32: 1,
11819
+ variantPayloadOffset32: 1,
11820
+ variantFlatCount: 2,
11821
+ })
11608
11822
  ],
11609
11823
  hasResultPointer: true,
11610
11824
  funcTypeIsAsync: false,
@@ -11626,10 +11840,25 @@ null,
11626
11840
  isAsync: false,
11627
11841
  isManualAsync: _trampoline14.manuallyAsync,
11628
11842
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11629
- resultLowerFns: [_lowerFlatResult([
11630
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11631
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11632
- ])
11843
+ resultLowerFns: [
11844
+ _lowerFlatResult({
11845
+ caseMetas: [
11846
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11847
+ [ 'err',
11848
+ _lowerFlatEnum({
11849
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11850
+ variantSize32: 1,
11851
+ variantAlign32: 1,
11852
+ variantPayloadOffset32: 1,
11853
+ variantFlatCount: 1,
11854
+ })
11855
+ , 24, 8, 8 ],
11856
+ ],
11857
+ variantSize32: 24,
11858
+ variantAlign32: 8,
11859
+ variantPayloadOffset32: 8,
11860
+ variantFlatCount: 3,
11861
+ })
11633
11862
  ],
11634
11863
  hasResultPointer: true,
11635
11864
  funcTypeIsAsync: false,
@@ -11650,10 +11879,25 @@ null,
11650
11879
  isAsync: false,
11651
11880
  isManualAsync: _trampoline14.manuallyAsync,
11652
11881
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11653
- resultLowerFns: [_lowerFlatResult([
11654
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11655
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11656
- ])
11882
+ resultLowerFns: [
11883
+ _lowerFlatResult({
11884
+ caseMetas: [
11885
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11886
+ [ 'err',
11887
+ _lowerFlatEnum({
11888
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11889
+ variantSize32: 1,
11890
+ variantAlign32: 1,
11891
+ variantPayloadOffset32: 1,
11892
+ variantFlatCount: 1,
11893
+ })
11894
+ , 24, 8, 8 ],
11895
+ ],
11896
+ variantSize32: 24,
11897
+ variantAlign32: 8,
11898
+ variantPayloadOffset32: 8,
11899
+ variantFlatCount: 3,
11900
+ })
11657
11901
  ],
11658
11902
  hasResultPointer: true,
11659
11903
  funcTypeIsAsync: false,
@@ -11675,10 +11919,25 @@ null,
11675
11919
  isAsync: false,
11676
11920
  isManualAsync: _trampoline15.manuallyAsync,
11677
11921
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
11678
- resultLowerFns: [_lowerFlatOption([
11679
- [ 'none', null, 2, 1, 1 ],
11680
- [ 'some', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11681
- ])
11922
+ resultLowerFns: [
11923
+ _lowerFlatOption({
11924
+ caseMetas: [
11925
+ [ 'none', null, 0, 0, 0 ],
11926
+ [ 'some',
11927
+ _lowerFlatEnum({
11928
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11929
+ variantSize32: 1,
11930
+ variantAlign32: 1,
11931
+ variantPayloadOffset32: 1,
11932
+ variantFlatCount: 1,
11933
+ })
11934
+ , 1, 1, 1],
11935
+ ],
11936
+ variantSize32: 2,
11937
+ variantAlign32: 1,
11938
+ variantPayloadOffset32: 1,
11939
+ variantFlatCount: 2,
11940
+ })
11682
11941
  ],
11683
11942
  hasResultPointer: true,
11684
11943
  funcTypeIsAsync: false,
@@ -11699,10 +11958,25 @@ null,
11699
11958
  isAsync: false,
11700
11959
  isManualAsync: _trampoline15.manuallyAsync,
11701
11960
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
11702
- resultLowerFns: [_lowerFlatOption([
11703
- [ 'none', null, 2, 1, 1 ],
11704
- [ 'some', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11705
- ])
11961
+ resultLowerFns: [
11962
+ _lowerFlatOption({
11963
+ caseMetas: [
11964
+ [ 'none', null, 0, 0, 0 ],
11965
+ [ 'some',
11966
+ _lowerFlatEnum({
11967
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11968
+ variantSize32: 1,
11969
+ variantAlign32: 1,
11970
+ variantPayloadOffset32: 1,
11971
+ variantFlatCount: 1,
11972
+ })
11973
+ , 1, 1, 1],
11974
+ ],
11975
+ variantSize32: 2,
11976
+ variantAlign32: 1,
11977
+ variantPayloadOffset32: 1,
11978
+ variantFlatCount: 2,
11979
+ })
11706
11980
  ],
11707
11981
  hasResultPointer: true,
11708
11982
  funcTypeIsAsync: false,
@@ -11724,10 +11998,25 @@ null,
11724
11998
  isAsync: false,
11725
11999
  isManualAsync: _trampoline16.manuallyAsync,
11726
12000
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11727
- resultLowerFns: [_lowerFlatResult([
11728
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11729
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11730
- ])
12001
+ resultLowerFns: [
12002
+ _lowerFlatResult({
12003
+ caseMetas: [
12004
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12005
+ [ 'err',
12006
+ _lowerFlatEnum({
12007
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12008
+ variantSize32: 1,
12009
+ variantAlign32: 1,
12010
+ variantPayloadOffset32: 1,
12011
+ variantFlatCount: 1,
12012
+ })
12013
+ , 24, 8, 8 ],
12014
+ ],
12015
+ variantSize32: 24,
12016
+ variantAlign32: 8,
12017
+ variantPayloadOffset32: 8,
12018
+ variantFlatCount: 3,
12019
+ })
11731
12020
  ],
11732
12021
  hasResultPointer: true,
11733
12022
  funcTypeIsAsync: false,
@@ -11748,10 +12037,25 @@ null,
11748
12037
  isAsync: false,
11749
12038
  isManualAsync: _trampoline16.manuallyAsync,
11750
12039
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11751
- resultLowerFns: [_lowerFlatResult([
11752
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11753
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11754
- ])
12040
+ resultLowerFns: [
12041
+ _lowerFlatResult({
12042
+ caseMetas: [
12043
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12044
+ [ 'err',
12045
+ _lowerFlatEnum({
12046
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12047
+ variantSize32: 1,
12048
+ variantAlign32: 1,
12049
+ variantPayloadOffset32: 1,
12050
+ variantFlatCount: 1,
12051
+ })
12052
+ , 24, 8, 8 ],
12053
+ ],
12054
+ variantSize32: 24,
12055
+ variantAlign32: 8,
12056
+ variantPayloadOffset32: 8,
12057
+ variantFlatCount: 3,
12058
+ })
11755
12059
  ],
11756
12060
  hasResultPointer: true,
11757
12061
  funcTypeIsAsync: false,
@@ -11773,26 +12077,41 @@ null,
11773
12077
  isAsync: false,
11774
12078
  isManualAsync: _trampoline17.manuallyAsync,
11775
12079
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11776
- resultLowerFns: [_lowerFlatResult([
11777
- [ 'ok', _lowerFlatOwn({
11778
- componentIdx: 0,
11779
- lowerFn:
11780
- function lowerImportedOwnedHost_InputStream(obj) {
11781
- if (!(obj instanceof InputStream)) {
11782
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11783
- }
11784
- let handle = obj[symbolRscHandle];
11785
- if (!handle) {
11786
- const rep = obj[symbolRscRep] || ++captureCnt1;
11787
- captureTable1.set(rep, obj);
11788
- handle = rscTableCreateOwn(handleTable1, rep);
12080
+ resultLowerFns: [
12081
+ _lowerFlatResult({
12082
+ caseMetas: [
12083
+ [ 'ok', _lowerFlatOwn({
12084
+ componentIdx: 0,
12085
+ lowerFn:
12086
+ function lowerImportedOwnedHost_InputStream(obj) {
12087
+ if (!(obj instanceof InputStream)) {
12088
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
12089
+ }
12090
+ let handle = obj[symbolRscHandle];
12091
+ if (!handle) {
12092
+ const rep = obj[symbolRscRep] || ++captureCnt1;
12093
+ captureTable1.set(rep, obj);
12094
+ handle = rscTableCreateOwn(handleTable1, rep);
12095
+ }
12096
+ return handle;
11789
12097
  }
11790
- return handle;
11791
- }
11792
- ,
11793
- }), 8, 4, 4 ],
11794
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11795
- ])
12098
+ ,
12099
+ }), 8, 4, 4 ],
12100
+ [ 'err',
12101
+ _lowerFlatEnum({
12102
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12103
+ variantSize32: 1,
12104
+ variantAlign32: 1,
12105
+ variantPayloadOffset32: 1,
12106
+ variantFlatCount: 1,
12107
+ })
12108
+ , 8, 4, 4 ],
12109
+ ],
12110
+ variantSize32: 8,
12111
+ variantAlign32: 4,
12112
+ variantPayloadOffset32: 4,
12113
+ variantFlatCount: 2,
12114
+ })
11796
12115
  ],
11797
12116
  hasResultPointer: true,
11798
12117
  funcTypeIsAsync: false,
@@ -11813,26 +12132,41 @@ null,
11813
12132
  isAsync: false,
11814
12133
  isManualAsync: _trampoline17.manuallyAsync,
11815
12134
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11816
- resultLowerFns: [_lowerFlatResult([
11817
- [ 'ok', _lowerFlatOwn({
11818
- componentIdx: 0,
11819
- lowerFn:
11820
- function lowerImportedOwnedHost_InputStream(obj) {
11821
- if (!(obj instanceof InputStream)) {
11822
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11823
- }
11824
- let handle = obj[symbolRscHandle];
11825
- if (!handle) {
11826
- const rep = obj[symbolRscRep] || ++captureCnt1;
11827
- captureTable1.set(rep, obj);
11828
- handle = rscTableCreateOwn(handleTable1, rep);
12135
+ resultLowerFns: [
12136
+ _lowerFlatResult({
12137
+ caseMetas: [
12138
+ [ 'ok', _lowerFlatOwn({
12139
+ componentIdx: 0,
12140
+ lowerFn:
12141
+ function lowerImportedOwnedHost_InputStream(obj) {
12142
+ if (!(obj instanceof InputStream)) {
12143
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
12144
+ }
12145
+ let handle = obj[symbolRscHandle];
12146
+ if (!handle) {
12147
+ const rep = obj[symbolRscRep] || ++captureCnt1;
12148
+ captureTable1.set(rep, obj);
12149
+ handle = rscTableCreateOwn(handleTable1, rep);
12150
+ }
12151
+ return handle;
11829
12152
  }
11830
- return handle;
11831
- }
11832
- ,
11833
- }), 8, 4, 4 ],
11834
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11835
- ])
12153
+ ,
12154
+ }), 8, 4, 4 ],
12155
+ [ 'err',
12156
+ _lowerFlatEnum({
12157
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12158
+ variantSize32: 1,
12159
+ variantAlign32: 1,
12160
+ variantPayloadOffset32: 1,
12161
+ variantFlatCount: 1,
12162
+ })
12163
+ , 8, 4, 4 ],
12164
+ ],
12165
+ variantSize32: 8,
12166
+ variantAlign32: 4,
12167
+ variantPayloadOffset32: 4,
12168
+ variantFlatCount: 2,
12169
+ })
11836
12170
  ],
11837
12171
  hasResultPointer: true,
11838
12172
  funcTypeIsAsync: false,
@@ -11854,26 +12188,41 @@ null,
11854
12188
  isAsync: false,
11855
12189
  isManualAsync: _trampoline18.manuallyAsync,
11856
12190
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11857
- resultLowerFns: [_lowerFlatResult([
11858
- [ 'ok', _lowerFlatOwn({
11859
- componentIdx: 0,
11860
- lowerFn:
11861
- function lowerImportedOwnedHost_OutputStream(obj) {
11862
- if (!(obj instanceof OutputStream)) {
11863
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11864
- }
11865
- let handle = obj[symbolRscHandle];
11866
- if (!handle) {
11867
- const rep = obj[symbolRscRep] || ++captureCnt2;
11868
- captureTable2.set(rep, obj);
11869
- handle = rscTableCreateOwn(handleTable2, rep);
12191
+ resultLowerFns: [
12192
+ _lowerFlatResult({
12193
+ caseMetas: [
12194
+ [ 'ok', _lowerFlatOwn({
12195
+ componentIdx: 0,
12196
+ lowerFn:
12197
+ function lowerImportedOwnedHost_OutputStream(obj) {
12198
+ if (!(obj instanceof OutputStream)) {
12199
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12200
+ }
12201
+ let handle = obj[symbolRscHandle];
12202
+ if (!handle) {
12203
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12204
+ captureTable2.set(rep, obj);
12205
+ handle = rscTableCreateOwn(handleTable2, rep);
12206
+ }
12207
+ return handle;
11870
12208
  }
11871
- return handle;
11872
- }
11873
- ,
11874
- }), 8, 4, 4 ],
11875
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11876
- ])
12209
+ ,
12210
+ }), 8, 4, 4 ],
12211
+ [ 'err',
12212
+ _lowerFlatEnum({
12213
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12214
+ variantSize32: 1,
12215
+ variantAlign32: 1,
12216
+ variantPayloadOffset32: 1,
12217
+ variantFlatCount: 1,
12218
+ })
12219
+ , 8, 4, 4 ],
12220
+ ],
12221
+ variantSize32: 8,
12222
+ variantAlign32: 4,
12223
+ variantPayloadOffset32: 4,
12224
+ variantFlatCount: 2,
12225
+ })
11877
12226
  ],
11878
12227
  hasResultPointer: true,
11879
12228
  funcTypeIsAsync: false,
@@ -11894,26 +12243,41 @@ null,
11894
12243
  isAsync: false,
11895
12244
  isManualAsync: _trampoline18.manuallyAsync,
11896
12245
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11897
- resultLowerFns: [_lowerFlatResult([
11898
- [ 'ok', _lowerFlatOwn({
11899
- componentIdx: 0,
11900
- lowerFn:
11901
- function lowerImportedOwnedHost_OutputStream(obj) {
11902
- if (!(obj instanceof OutputStream)) {
11903
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11904
- }
11905
- let handle = obj[symbolRscHandle];
11906
- if (!handle) {
11907
- const rep = obj[symbolRscRep] || ++captureCnt2;
11908
- captureTable2.set(rep, obj);
11909
- handle = rscTableCreateOwn(handleTable2, rep);
12246
+ resultLowerFns: [
12247
+ _lowerFlatResult({
12248
+ caseMetas: [
12249
+ [ 'ok', _lowerFlatOwn({
12250
+ componentIdx: 0,
12251
+ lowerFn:
12252
+ function lowerImportedOwnedHost_OutputStream(obj) {
12253
+ if (!(obj instanceof OutputStream)) {
12254
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12255
+ }
12256
+ let handle = obj[symbolRscHandle];
12257
+ if (!handle) {
12258
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12259
+ captureTable2.set(rep, obj);
12260
+ handle = rscTableCreateOwn(handleTable2, rep);
12261
+ }
12262
+ return handle;
11910
12263
  }
11911
- return handle;
11912
- }
11913
- ,
11914
- }), 8, 4, 4 ],
11915
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11916
- ])
12264
+ ,
12265
+ }), 8, 4, 4 ],
12266
+ [ 'err',
12267
+ _lowerFlatEnum({
12268
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12269
+ variantSize32: 1,
12270
+ variantAlign32: 1,
12271
+ variantPayloadOffset32: 1,
12272
+ variantFlatCount: 1,
12273
+ })
12274
+ , 8, 4, 4 ],
12275
+ ],
12276
+ variantSize32: 8,
12277
+ variantAlign32: 4,
12278
+ variantPayloadOffset32: 4,
12279
+ variantFlatCount: 2,
12280
+ })
11917
12281
  ],
11918
12282
  hasResultPointer: true,
11919
12283
  funcTypeIsAsync: false,
@@ -11935,26 +12299,41 @@ null,
11935
12299
  isAsync: false,
11936
12300
  isManualAsync: _trampoline19.manuallyAsync,
11937
12301
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11938
- resultLowerFns: [_lowerFlatResult([
11939
- [ 'ok', _lowerFlatOwn({
11940
- componentIdx: 0,
11941
- lowerFn:
11942
- function lowerImportedOwnedHost_OutputStream(obj) {
11943
- if (!(obj instanceof OutputStream)) {
11944
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11945
- }
11946
- let handle = obj[symbolRscHandle];
11947
- if (!handle) {
11948
- const rep = obj[symbolRscRep] || ++captureCnt2;
11949
- captureTable2.set(rep, obj);
11950
- handle = rscTableCreateOwn(handleTable2, rep);
12302
+ resultLowerFns: [
12303
+ _lowerFlatResult({
12304
+ caseMetas: [
12305
+ [ 'ok', _lowerFlatOwn({
12306
+ componentIdx: 0,
12307
+ lowerFn:
12308
+ function lowerImportedOwnedHost_OutputStream(obj) {
12309
+ if (!(obj instanceof OutputStream)) {
12310
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12311
+ }
12312
+ let handle = obj[symbolRscHandle];
12313
+ if (!handle) {
12314
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12315
+ captureTable2.set(rep, obj);
12316
+ handle = rscTableCreateOwn(handleTable2, rep);
12317
+ }
12318
+ return handle;
11951
12319
  }
11952
- return handle;
11953
- }
11954
- ,
11955
- }), 8, 4, 4 ],
11956
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11957
- ])
12320
+ ,
12321
+ }), 8, 4, 4 ],
12322
+ [ 'err',
12323
+ _lowerFlatEnum({
12324
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12325
+ variantSize32: 1,
12326
+ variantAlign32: 1,
12327
+ variantPayloadOffset32: 1,
12328
+ variantFlatCount: 1,
12329
+ })
12330
+ , 8, 4, 4 ],
12331
+ ],
12332
+ variantSize32: 8,
12333
+ variantAlign32: 4,
12334
+ variantPayloadOffset32: 4,
12335
+ variantFlatCount: 2,
12336
+ })
11958
12337
  ],
11959
12338
  hasResultPointer: true,
11960
12339
  funcTypeIsAsync: false,
@@ -11975,26 +12354,41 @@ null,
11975
12354
  isAsync: false,
11976
12355
  isManualAsync: _trampoline19.manuallyAsync,
11977
12356
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11978
- resultLowerFns: [_lowerFlatResult([
11979
- [ 'ok', _lowerFlatOwn({
11980
- componentIdx: 0,
11981
- lowerFn:
11982
- function lowerImportedOwnedHost_OutputStream(obj) {
11983
- if (!(obj instanceof OutputStream)) {
11984
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11985
- }
11986
- let handle = obj[symbolRscHandle];
11987
- if (!handle) {
11988
- const rep = obj[symbolRscRep] || ++captureCnt2;
11989
- captureTable2.set(rep, obj);
11990
- handle = rscTableCreateOwn(handleTable2, rep);
12357
+ resultLowerFns: [
12358
+ _lowerFlatResult({
12359
+ caseMetas: [
12360
+ [ 'ok', _lowerFlatOwn({
12361
+ componentIdx: 0,
12362
+ lowerFn:
12363
+ function lowerImportedOwnedHost_OutputStream(obj) {
12364
+ if (!(obj instanceof OutputStream)) {
12365
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12366
+ }
12367
+ let handle = obj[symbolRscHandle];
12368
+ if (!handle) {
12369
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12370
+ captureTable2.set(rep, obj);
12371
+ handle = rscTableCreateOwn(handleTable2, rep);
12372
+ }
12373
+ return handle;
11991
12374
  }
11992
- return handle;
11993
- }
11994
- ,
11995
- }), 8, 4, 4 ],
11996
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11997
- ])
12375
+ ,
12376
+ }), 8, 4, 4 ],
12377
+ [ 'err',
12378
+ _lowerFlatEnum({
12379
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12380
+ variantSize32: 1,
12381
+ variantAlign32: 1,
12382
+ variantPayloadOffset32: 1,
12383
+ variantFlatCount: 1,
12384
+ })
12385
+ , 8, 4, 4 ],
12386
+ ],
12387
+ variantSize32: 8,
12388
+ variantAlign32: 4,
12389
+ variantPayloadOffset32: 4,
12390
+ variantFlatCount: 2,
12391
+ })
11998
12392
  ],
11999
12393
  hasResultPointer: true,
12000
12394
  funcTypeIsAsync: false,
@@ -12016,26 +12410,41 @@ null,
12016
12410
  isAsync: false,
12017
12411
  isManualAsync: _trampoline20.manuallyAsync,
12018
12412
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12019
- resultLowerFns: [_lowerFlatResult([
12020
- [ 'ok', _lowerFlatOwn({
12021
- componentIdx: 0,
12022
- lowerFn:
12023
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12024
- if (!(obj instanceof DirectoryEntryStream)) {
12025
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12026
- }
12027
- let handle = obj[symbolRscHandle];
12028
- if (!handle) {
12029
- const rep = obj[symbolRscRep] || ++captureCnt5;
12030
- captureTable5.set(rep, obj);
12031
- handle = rscTableCreateOwn(handleTable5, rep);
12413
+ resultLowerFns: [
12414
+ _lowerFlatResult({
12415
+ caseMetas: [
12416
+ [ 'ok', _lowerFlatOwn({
12417
+ componentIdx: 0,
12418
+ lowerFn:
12419
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12420
+ if (!(obj instanceof DirectoryEntryStream)) {
12421
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12422
+ }
12423
+ let handle = obj[symbolRscHandle];
12424
+ if (!handle) {
12425
+ const rep = obj[symbolRscRep] || ++captureCnt5;
12426
+ captureTable5.set(rep, obj);
12427
+ handle = rscTableCreateOwn(handleTable5, rep);
12428
+ }
12429
+ return handle;
12032
12430
  }
12033
- return handle;
12034
- }
12035
- ,
12036
- }), 8, 4, 4 ],
12037
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12038
- ])
12431
+ ,
12432
+ }), 8, 4, 4 ],
12433
+ [ 'err',
12434
+ _lowerFlatEnum({
12435
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12436
+ variantSize32: 1,
12437
+ variantAlign32: 1,
12438
+ variantPayloadOffset32: 1,
12439
+ variantFlatCount: 1,
12440
+ })
12441
+ , 8, 4, 4 ],
12442
+ ],
12443
+ variantSize32: 8,
12444
+ variantAlign32: 4,
12445
+ variantPayloadOffset32: 4,
12446
+ variantFlatCount: 2,
12447
+ })
12039
12448
  ],
12040
12449
  hasResultPointer: true,
12041
12450
  funcTypeIsAsync: false,
@@ -12056,26 +12465,41 @@ null,
12056
12465
  isAsync: false,
12057
12466
  isManualAsync: _trampoline20.manuallyAsync,
12058
12467
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12059
- resultLowerFns: [_lowerFlatResult([
12060
- [ 'ok', _lowerFlatOwn({
12061
- componentIdx: 0,
12062
- lowerFn:
12063
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12064
- if (!(obj instanceof DirectoryEntryStream)) {
12065
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12066
- }
12067
- let handle = obj[symbolRscHandle];
12068
- if (!handle) {
12069
- const rep = obj[symbolRscRep] || ++captureCnt5;
12070
- captureTable5.set(rep, obj);
12071
- handle = rscTableCreateOwn(handleTable5, rep);
12468
+ resultLowerFns: [
12469
+ _lowerFlatResult({
12470
+ caseMetas: [
12471
+ [ 'ok', _lowerFlatOwn({
12472
+ componentIdx: 0,
12473
+ lowerFn:
12474
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12475
+ if (!(obj instanceof DirectoryEntryStream)) {
12476
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12477
+ }
12478
+ let handle = obj[symbolRscHandle];
12479
+ if (!handle) {
12480
+ const rep = obj[symbolRscRep] || ++captureCnt5;
12481
+ captureTable5.set(rep, obj);
12482
+ handle = rscTableCreateOwn(handleTable5, rep);
12483
+ }
12484
+ return handle;
12072
12485
  }
12073
- return handle;
12074
- }
12075
- ,
12076
- }), 8, 4, 4 ],
12077
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12078
- ])
12486
+ ,
12487
+ }), 8, 4, 4 ],
12488
+ [ 'err',
12489
+ _lowerFlatEnum({
12490
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12491
+ variantSize32: 1,
12492
+ variantAlign32: 1,
12493
+ variantPayloadOffset32: 1,
12494
+ variantFlatCount: 1,
12495
+ })
12496
+ , 8, 4, 4 ],
12497
+ ],
12498
+ variantSize32: 8,
12499
+ variantAlign32: 4,
12500
+ variantPayloadOffset32: 4,
12501
+ variantFlatCount: 2,
12502
+ })
12079
12503
  ],
12080
12504
  hasResultPointer: true,
12081
12505
  funcTypeIsAsync: false,
@@ -12097,22 +12521,66 @@ null,
12097
12521
  isAsync: false,
12098
12522
  isManualAsync: _trampoline21.manuallyAsync,
12099
12523
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12100
- resultLowerFns: [_lowerFlatResult([
12101
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12102
- [ 'none', null, 24, 8, 8 ],
12103
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12104
- ])
12105
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12106
- [ 'none', null, 24, 8, 8 ],
12107
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12108
- ])
12109
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12110
- [ 'none', null, 24, 8, 8 ],
12111
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12112
- ])
12113
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12114
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12115
- ])
12524
+ resultLowerFns: [
12525
+ _lowerFlatResult({
12526
+ caseMetas: [
12527
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12528
+ _lowerFlatEnum({
12529
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12530
+ variantSize32: 1,
12531
+ variantAlign32: 1,
12532
+ variantPayloadOffset32: 1,
12533
+ variantFlatCount: 1,
12534
+ })
12535
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12536
+ _lowerFlatOption({
12537
+ caseMetas: [
12538
+ [ 'none', null, 0, 0, 0 ],
12539
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12540
+ ],
12541
+ variantSize32: 24,
12542
+ variantAlign32: 8,
12543
+ variantPayloadOffset32: 8,
12544
+ variantFlatCount: 3,
12545
+ })
12546
+ , 24, 8 ],['dataModificationTimestamp',
12547
+ _lowerFlatOption({
12548
+ caseMetas: [
12549
+ [ 'none', null, 0, 0, 0 ],
12550
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12551
+ ],
12552
+ variantSize32: 24,
12553
+ variantAlign32: 8,
12554
+ variantPayloadOffset32: 8,
12555
+ variantFlatCount: 3,
12556
+ })
12557
+ , 24, 8 ],['statusChangeTimestamp',
12558
+ _lowerFlatOption({
12559
+ caseMetas: [
12560
+ [ 'none', null, 0, 0, 0 ],
12561
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12562
+ ],
12563
+ variantSize32: 24,
12564
+ variantAlign32: 8,
12565
+ variantPayloadOffset32: 8,
12566
+ variantFlatCount: 3,
12567
+ })
12568
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12569
+ [ 'err',
12570
+ _lowerFlatEnum({
12571
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12572
+ variantSize32: 1,
12573
+ variantAlign32: 1,
12574
+ variantPayloadOffset32: 1,
12575
+ variantFlatCount: 1,
12576
+ })
12577
+ , 104, 8, 8 ],
12578
+ ],
12579
+ variantSize32: 104,
12580
+ variantAlign32: 8,
12581
+ variantPayloadOffset32: 8,
12582
+ variantFlatCount: 13,
12583
+ })
12116
12584
  ],
12117
12585
  hasResultPointer: true,
12118
12586
  funcTypeIsAsync: false,
@@ -12133,22 +12601,66 @@ null,
12133
12601
  isAsync: false,
12134
12602
  isManualAsync: _trampoline21.manuallyAsync,
12135
12603
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12136
- resultLowerFns: [_lowerFlatResult([
12137
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12138
- [ 'none', null, 24, 8, 8 ],
12139
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12140
- ])
12141
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12142
- [ 'none', null, 24, 8, 8 ],
12143
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12144
- ])
12145
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12146
- [ 'none', null, 24, 8, 8 ],
12147
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12148
- ])
12149
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12150
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12151
- ])
12604
+ resultLowerFns: [
12605
+ _lowerFlatResult({
12606
+ caseMetas: [
12607
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12608
+ _lowerFlatEnum({
12609
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12610
+ variantSize32: 1,
12611
+ variantAlign32: 1,
12612
+ variantPayloadOffset32: 1,
12613
+ variantFlatCount: 1,
12614
+ })
12615
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12616
+ _lowerFlatOption({
12617
+ caseMetas: [
12618
+ [ 'none', null, 0, 0, 0 ],
12619
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12620
+ ],
12621
+ variantSize32: 24,
12622
+ variantAlign32: 8,
12623
+ variantPayloadOffset32: 8,
12624
+ variantFlatCount: 3,
12625
+ })
12626
+ , 24, 8 ],['dataModificationTimestamp',
12627
+ _lowerFlatOption({
12628
+ caseMetas: [
12629
+ [ 'none', null, 0, 0, 0 ],
12630
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12631
+ ],
12632
+ variantSize32: 24,
12633
+ variantAlign32: 8,
12634
+ variantPayloadOffset32: 8,
12635
+ variantFlatCount: 3,
12636
+ })
12637
+ , 24, 8 ],['statusChangeTimestamp',
12638
+ _lowerFlatOption({
12639
+ caseMetas: [
12640
+ [ 'none', null, 0, 0, 0 ],
12641
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12642
+ ],
12643
+ variantSize32: 24,
12644
+ variantAlign32: 8,
12645
+ variantPayloadOffset32: 8,
12646
+ variantFlatCount: 3,
12647
+ })
12648
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12649
+ [ 'err',
12650
+ _lowerFlatEnum({
12651
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12652
+ variantSize32: 1,
12653
+ variantAlign32: 1,
12654
+ variantPayloadOffset32: 1,
12655
+ variantFlatCount: 1,
12656
+ })
12657
+ , 104, 8, 8 ],
12658
+ ],
12659
+ variantSize32: 104,
12660
+ variantAlign32: 8,
12661
+ variantPayloadOffset32: 8,
12662
+ variantFlatCount: 13,
12663
+ })
12152
12664
  ],
12153
12665
  hasResultPointer: true,
12154
12666
  funcTypeIsAsync: false,
@@ -12170,22 +12682,66 @@ null,
12170
12682
  isAsync: false,
12171
12683
  isManualAsync: _trampoline22.manuallyAsync,
12172
12684
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
12173
- resultLowerFns: [_lowerFlatResult([
12174
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12175
- [ 'none', null, 24, 8, 8 ],
12176
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12177
- ])
12178
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12179
- [ 'none', null, 24, 8, 8 ],
12180
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12181
- ])
12182
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12183
- [ 'none', null, 24, 8, 8 ],
12184
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12185
- ])
12186
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12187
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12188
- ])
12685
+ resultLowerFns: [
12686
+ _lowerFlatResult({
12687
+ caseMetas: [
12688
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12689
+ _lowerFlatEnum({
12690
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12691
+ variantSize32: 1,
12692
+ variantAlign32: 1,
12693
+ variantPayloadOffset32: 1,
12694
+ variantFlatCount: 1,
12695
+ })
12696
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12697
+ _lowerFlatOption({
12698
+ caseMetas: [
12699
+ [ 'none', null, 0, 0, 0 ],
12700
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12701
+ ],
12702
+ variantSize32: 24,
12703
+ variantAlign32: 8,
12704
+ variantPayloadOffset32: 8,
12705
+ variantFlatCount: 3,
12706
+ })
12707
+ , 24, 8 ],['dataModificationTimestamp',
12708
+ _lowerFlatOption({
12709
+ caseMetas: [
12710
+ [ 'none', null, 0, 0, 0 ],
12711
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12712
+ ],
12713
+ variantSize32: 24,
12714
+ variantAlign32: 8,
12715
+ variantPayloadOffset32: 8,
12716
+ variantFlatCount: 3,
12717
+ })
12718
+ , 24, 8 ],['statusChangeTimestamp',
12719
+ _lowerFlatOption({
12720
+ caseMetas: [
12721
+ [ 'none', null, 0, 0, 0 ],
12722
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12723
+ ],
12724
+ variantSize32: 24,
12725
+ variantAlign32: 8,
12726
+ variantPayloadOffset32: 8,
12727
+ variantFlatCount: 3,
12728
+ })
12729
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12730
+ [ 'err',
12731
+ _lowerFlatEnum({
12732
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12733
+ variantSize32: 1,
12734
+ variantAlign32: 1,
12735
+ variantPayloadOffset32: 1,
12736
+ variantFlatCount: 1,
12737
+ })
12738
+ , 104, 8, 8 ],
12739
+ ],
12740
+ variantSize32: 104,
12741
+ variantAlign32: 8,
12742
+ variantPayloadOffset32: 8,
12743
+ variantFlatCount: 13,
12744
+ })
12189
12745
  ],
12190
12746
  hasResultPointer: true,
12191
12747
  funcTypeIsAsync: false,
@@ -12206,22 +12762,66 @@ null,
12206
12762
  isAsync: false,
12207
12763
  isManualAsync: _trampoline22.manuallyAsync,
12208
12764
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
12209
- resultLowerFns: [_lowerFlatResult([
12210
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12211
- [ 'none', null, 24, 8, 8 ],
12212
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12213
- ])
12214
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12215
- [ 'none', null, 24, 8, 8 ],
12216
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12217
- ])
12218
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12219
- [ 'none', null, 24, 8, 8 ],
12220
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12221
- ])
12222
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12223
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12224
- ])
12765
+ resultLowerFns: [
12766
+ _lowerFlatResult({
12767
+ caseMetas: [
12768
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12769
+ _lowerFlatEnum({
12770
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12771
+ variantSize32: 1,
12772
+ variantAlign32: 1,
12773
+ variantPayloadOffset32: 1,
12774
+ variantFlatCount: 1,
12775
+ })
12776
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12777
+ _lowerFlatOption({
12778
+ caseMetas: [
12779
+ [ 'none', null, 0, 0, 0 ],
12780
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12781
+ ],
12782
+ variantSize32: 24,
12783
+ variantAlign32: 8,
12784
+ variantPayloadOffset32: 8,
12785
+ variantFlatCount: 3,
12786
+ })
12787
+ , 24, 8 ],['dataModificationTimestamp',
12788
+ _lowerFlatOption({
12789
+ caseMetas: [
12790
+ [ 'none', null, 0, 0, 0 ],
12791
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12792
+ ],
12793
+ variantSize32: 24,
12794
+ variantAlign32: 8,
12795
+ variantPayloadOffset32: 8,
12796
+ variantFlatCount: 3,
12797
+ })
12798
+ , 24, 8 ],['statusChangeTimestamp',
12799
+ _lowerFlatOption({
12800
+ caseMetas: [
12801
+ [ 'none', null, 0, 0, 0 ],
12802
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12803
+ ],
12804
+ variantSize32: 24,
12805
+ variantAlign32: 8,
12806
+ variantPayloadOffset32: 8,
12807
+ variantFlatCount: 3,
12808
+ })
12809
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12810
+ [ 'err',
12811
+ _lowerFlatEnum({
12812
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12813
+ variantSize32: 1,
12814
+ variantAlign32: 1,
12815
+ variantPayloadOffset32: 1,
12816
+ variantFlatCount: 1,
12817
+ })
12818
+ , 104, 8, 8 ],
12819
+ ],
12820
+ variantSize32: 104,
12821
+ variantAlign32: 8,
12822
+ variantPayloadOffset32: 8,
12823
+ variantFlatCount: 13,
12824
+ })
12225
12825
  ],
12226
12826
  hasResultPointer: true,
12227
12827
  funcTypeIsAsync: false,
@@ -12243,26 +12843,41 @@ null,
12243
12843
  isAsync: false,
12244
12844
  isManualAsync: _trampoline23.manuallyAsync,
12245
12845
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
12246
- resultLowerFns: [_lowerFlatResult([
12247
- [ 'ok', _lowerFlatOwn({
12248
- componentIdx: 0,
12249
- lowerFn:
12250
- function lowerImportedOwnedHost_Descriptor(obj) {
12251
- if (!(obj instanceof Descriptor)) {
12252
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12253
- }
12254
- let handle = obj[symbolRscHandle];
12255
- if (!handle) {
12256
- const rep = obj[symbolRscRep] || ++captureCnt6;
12257
- captureTable6.set(rep, obj);
12258
- handle = rscTableCreateOwn(handleTable6, rep);
12846
+ resultLowerFns: [
12847
+ _lowerFlatResult({
12848
+ caseMetas: [
12849
+ [ 'ok', _lowerFlatOwn({
12850
+ componentIdx: 0,
12851
+ lowerFn:
12852
+ function lowerImportedOwnedHost_Descriptor(obj) {
12853
+ if (!(obj instanceof Descriptor)) {
12854
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12855
+ }
12856
+ let handle = obj[symbolRscHandle];
12857
+ if (!handle) {
12858
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12859
+ captureTable6.set(rep, obj);
12860
+ handle = rscTableCreateOwn(handleTable6, rep);
12861
+ }
12862
+ return handle;
12259
12863
  }
12260
- return handle;
12261
- }
12262
- ,
12263
- }), 8, 4, 4 ],
12264
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12265
- ])
12864
+ ,
12865
+ }), 8, 4, 4 ],
12866
+ [ 'err',
12867
+ _lowerFlatEnum({
12868
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12869
+ variantSize32: 1,
12870
+ variantAlign32: 1,
12871
+ variantPayloadOffset32: 1,
12872
+ variantFlatCount: 1,
12873
+ })
12874
+ , 8, 4, 4 ],
12875
+ ],
12876
+ variantSize32: 8,
12877
+ variantAlign32: 4,
12878
+ variantPayloadOffset32: 4,
12879
+ variantFlatCount: 2,
12880
+ })
12266
12881
  ],
12267
12882
  hasResultPointer: true,
12268
12883
  funcTypeIsAsync: false,
@@ -12283,26 +12898,41 @@ null,
12283
12898
  isAsync: false,
12284
12899
  isManualAsync: _trampoline23.manuallyAsync,
12285
12900
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
12286
- resultLowerFns: [_lowerFlatResult([
12287
- [ 'ok', _lowerFlatOwn({
12288
- componentIdx: 0,
12289
- lowerFn:
12290
- function lowerImportedOwnedHost_Descriptor(obj) {
12291
- if (!(obj instanceof Descriptor)) {
12292
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12293
- }
12294
- let handle = obj[symbolRscHandle];
12295
- if (!handle) {
12296
- const rep = obj[symbolRscRep] || ++captureCnt6;
12297
- captureTable6.set(rep, obj);
12298
- handle = rscTableCreateOwn(handleTable6, rep);
12901
+ resultLowerFns: [
12902
+ _lowerFlatResult({
12903
+ caseMetas: [
12904
+ [ 'ok', _lowerFlatOwn({
12905
+ componentIdx: 0,
12906
+ lowerFn:
12907
+ function lowerImportedOwnedHost_Descriptor(obj) {
12908
+ if (!(obj instanceof Descriptor)) {
12909
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12910
+ }
12911
+ let handle = obj[symbolRscHandle];
12912
+ if (!handle) {
12913
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12914
+ captureTable6.set(rep, obj);
12915
+ handle = rscTableCreateOwn(handleTable6, rep);
12916
+ }
12917
+ return handle;
12299
12918
  }
12300
- return handle;
12301
- }
12302
- ,
12303
- }), 8, 4, 4 ],
12304
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12305
- ])
12919
+ ,
12920
+ }), 8, 4, 4 ],
12921
+ [ 'err',
12922
+ _lowerFlatEnum({
12923
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12924
+ variantSize32: 1,
12925
+ variantAlign32: 1,
12926
+ variantPayloadOffset32: 1,
12927
+ variantFlatCount: 1,
12928
+ })
12929
+ , 8, 4, 4 ],
12930
+ ],
12931
+ variantSize32: 8,
12932
+ variantAlign32: 4,
12933
+ variantPayloadOffset32: 4,
12934
+ variantFlatCount: 2,
12935
+ })
12306
12936
  ],
12307
12937
  hasResultPointer: true,
12308
12938
  funcTypeIsAsync: false,
@@ -12324,14 +12954,44 @@ null,
12324
12954
  isAsync: false,
12325
12955
  isManualAsync: _trampoline24.manuallyAsync,
12326
12956
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
12327
- resultLowerFns: [_lowerFlatResult([
12328
- [ 'ok', _lowerFlatOption([
12329
- [ 'none', null, 16, 4, 4 ],
12330
- [ 'some', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 16, 4, 4 ],
12331
- ])
12332
- , 20, 4, 4 ],
12333
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 20, 4, 4 ],
12334
- ])
12957
+ resultLowerFns: [
12958
+ _lowerFlatResult({
12959
+ caseMetas: [
12960
+ [ 'ok',
12961
+ _lowerFlatOption({
12962
+ caseMetas: [
12963
+ [ 'none', null, 0, 0, 0 ],
12964
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
12965
+ _lowerFlatEnum({
12966
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12967
+ variantSize32: 1,
12968
+ variantAlign32: 1,
12969
+ variantPayloadOffset32: 1,
12970
+ variantFlatCount: 1,
12971
+ })
12972
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
12973
+ ],
12974
+ variantSize32: 16,
12975
+ variantAlign32: 4,
12976
+ variantPayloadOffset32: 4,
12977
+ variantFlatCount: 4,
12978
+ })
12979
+ , 20, 4, 4 ],
12980
+ [ 'err',
12981
+ _lowerFlatEnum({
12982
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12983
+ variantSize32: 1,
12984
+ variantAlign32: 1,
12985
+ variantPayloadOffset32: 1,
12986
+ variantFlatCount: 1,
12987
+ })
12988
+ , 20, 4, 4 ],
12989
+ ],
12990
+ variantSize32: 20,
12991
+ variantAlign32: 4,
12992
+ variantPayloadOffset32: 4,
12993
+ variantFlatCount: 5,
12994
+ })
12335
12995
  ],
12336
12996
  hasResultPointer: true,
12337
12997
  funcTypeIsAsync: false,
@@ -12352,14 +13012,44 @@ null,
12352
13012
  isAsync: false,
12353
13013
  isManualAsync: _trampoline24.manuallyAsync,
12354
13014
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
12355
- resultLowerFns: [_lowerFlatResult([
12356
- [ 'ok', _lowerFlatOption([
12357
- [ 'none', null, 16, 4, 4 ],
12358
- [ 'some', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 16, 4, 4 ],
12359
- ])
12360
- , 20, 4, 4 ],
12361
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 20, 4, 4 ],
12362
- ])
13015
+ resultLowerFns: [
13016
+ _lowerFlatResult({
13017
+ caseMetas: [
13018
+ [ 'ok',
13019
+ _lowerFlatOption({
13020
+ caseMetas: [
13021
+ [ 'none', null, 0, 0, 0 ],
13022
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
13023
+ _lowerFlatEnum({
13024
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
13025
+ variantSize32: 1,
13026
+ variantAlign32: 1,
13027
+ variantPayloadOffset32: 1,
13028
+ variantFlatCount: 1,
13029
+ })
13030
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
13031
+ ],
13032
+ variantSize32: 16,
13033
+ variantAlign32: 4,
13034
+ variantPayloadOffset32: 4,
13035
+ variantFlatCount: 4,
13036
+ })
13037
+ , 20, 4, 4 ],
13038
+ [ 'err',
13039
+ _lowerFlatEnum({
13040
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
13041
+ variantSize32: 1,
13042
+ variantAlign32: 1,
13043
+ variantPayloadOffset32: 1,
13044
+ variantFlatCount: 1,
13045
+ })
13046
+ , 20, 4, 4 ],
13047
+ ],
13048
+ variantSize32: 20,
13049
+ variantAlign32: 4,
13050
+ variantPayloadOffset32: 4,
13051
+ variantFlatCount: 5,
13052
+ })
12363
13053
  ],
12364
13054
  hasResultPointer: true,
12365
13055
  funcTypeIsAsync: false,
@@ -12381,30 +13071,43 @@ null,
12381
13071
  isAsync: false,
12382
13072
  isManualAsync: _trampoline25.manuallyAsync,
12383
13073
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12384
- resultLowerFns: [_lowerFlatResult([
12385
- [ 'ok', _lowerFlatList({
12386
- elemLowerFn: _lowerFlatU8,
12387
- elemSize32: 1,
12388
- elemAlign32: 1,
12389
- }), 12, 4, 4 ],
12390
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12391
- componentIdx: 0,
12392
- lowerFn:
12393
- function lowerImportedOwnedHost_Error$1(obj) {
12394
- if (!(obj instanceof Error$1)) {
12395
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12396
- }
12397
- let handle = obj[symbolRscHandle];
12398
- if (!handle) {
12399
- const rep = obj[symbolRscRep] || ++captureCnt0;
12400
- captureTable0.set(rep, obj);
12401
- handle = rscTableCreateOwn(handleTable0, rep);
12402
- }
12403
- return handle;
12404
- }
12405
- ,
12406
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12407
- ])
13074
+ resultLowerFns: [
13075
+ _lowerFlatResult({
13076
+ caseMetas: [
13077
+ [ 'ok', _lowerFlatList({
13078
+ elemLowerFn: _lowerFlatU8,
13079
+ elemSize32: 1,
13080
+ elemAlign32: 1,
13081
+ }), 12, 4, 4 ],
13082
+ [ 'err', _lowerFlatVariant({
13083
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13084
+ componentIdx: 0,
13085
+ lowerFn:
13086
+ function lowerImportedOwnedHost_Error$1(obj) {
13087
+ if (!(obj instanceof Error$1)) {
13088
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13089
+ }
13090
+ let handle = obj[symbolRscHandle];
13091
+ if (!handle) {
13092
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13093
+ captureTable0.set(rep, obj);
13094
+ handle = rscTableCreateOwn(handleTable0, rep);
13095
+ }
13096
+ return handle;
13097
+ }
13098
+ ,
13099
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13100
+ variantSize32: 8,
13101
+ variantAlign32: 4,
13102
+ variantPayloadOffset32: 4,
13103
+ variantFlatCount: 2,
13104
+ } ), 12, 4, 4 ],
13105
+ ],
13106
+ variantSize32: 12,
13107
+ variantAlign32: 4,
13108
+ variantPayloadOffset32: 4,
13109
+ variantFlatCount: 3,
13110
+ })
12408
13111
  ],
12409
13112
  hasResultPointer: true,
12410
13113
  funcTypeIsAsync: false,
@@ -12425,30 +13128,43 @@ null,
12425
13128
  isAsync: false,
12426
13129
  isManualAsync: _trampoline25.manuallyAsync,
12427
13130
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12428
- resultLowerFns: [_lowerFlatResult([
12429
- [ 'ok', _lowerFlatList({
12430
- elemLowerFn: _lowerFlatU8,
12431
- elemSize32: 1,
12432
- elemAlign32: 1,
12433
- }), 12, 4, 4 ],
12434
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12435
- componentIdx: 0,
12436
- lowerFn:
12437
- function lowerImportedOwnedHost_Error$1(obj) {
12438
- if (!(obj instanceof Error$1)) {
12439
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12440
- }
12441
- let handle = obj[symbolRscHandle];
12442
- if (!handle) {
12443
- const rep = obj[symbolRscRep] || ++captureCnt0;
12444
- captureTable0.set(rep, obj);
12445
- handle = rscTableCreateOwn(handleTable0, rep);
12446
- }
12447
- return handle;
12448
- }
12449
- ,
12450
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12451
- ])
13131
+ resultLowerFns: [
13132
+ _lowerFlatResult({
13133
+ caseMetas: [
13134
+ [ 'ok', _lowerFlatList({
13135
+ elemLowerFn: _lowerFlatU8,
13136
+ elemSize32: 1,
13137
+ elemAlign32: 1,
13138
+ }), 12, 4, 4 ],
13139
+ [ 'err', _lowerFlatVariant({
13140
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13141
+ componentIdx: 0,
13142
+ lowerFn:
13143
+ function lowerImportedOwnedHost_Error$1(obj) {
13144
+ if (!(obj instanceof Error$1)) {
13145
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13146
+ }
13147
+ let handle = obj[symbolRscHandle];
13148
+ if (!handle) {
13149
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13150
+ captureTable0.set(rep, obj);
13151
+ handle = rscTableCreateOwn(handleTable0, rep);
13152
+ }
13153
+ return handle;
13154
+ }
13155
+ ,
13156
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13157
+ variantSize32: 8,
13158
+ variantAlign32: 4,
13159
+ variantPayloadOffset32: 4,
13160
+ variantFlatCount: 2,
13161
+ } ), 12, 4, 4 ],
13162
+ ],
13163
+ variantSize32: 12,
13164
+ variantAlign32: 4,
13165
+ variantPayloadOffset32: 4,
13166
+ variantFlatCount: 3,
13167
+ })
12452
13168
  ],
12453
13169
  hasResultPointer: true,
12454
13170
  funcTypeIsAsync: false,
@@ -12470,30 +13186,43 @@ null,
12470
13186
  isAsync: false,
12471
13187
  isManualAsync: _trampoline26.manuallyAsync,
12472
13188
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12473
- resultLowerFns: [_lowerFlatResult([
12474
- [ 'ok', _lowerFlatList({
12475
- elemLowerFn: _lowerFlatU8,
12476
- elemSize32: 1,
12477
- elemAlign32: 1,
12478
- }), 12, 4, 4 ],
12479
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12480
- componentIdx: 0,
12481
- lowerFn:
12482
- function lowerImportedOwnedHost_Error$1(obj) {
12483
- if (!(obj instanceof Error$1)) {
12484
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12485
- }
12486
- let handle = obj[symbolRscHandle];
12487
- if (!handle) {
12488
- const rep = obj[symbolRscRep] || ++captureCnt0;
12489
- captureTable0.set(rep, obj);
12490
- handle = rscTableCreateOwn(handleTable0, rep);
12491
- }
12492
- return handle;
12493
- }
12494
- ,
12495
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12496
- ])
13189
+ resultLowerFns: [
13190
+ _lowerFlatResult({
13191
+ caseMetas: [
13192
+ [ 'ok', _lowerFlatList({
13193
+ elemLowerFn: _lowerFlatU8,
13194
+ elemSize32: 1,
13195
+ elemAlign32: 1,
13196
+ }), 12, 4, 4 ],
13197
+ [ 'err', _lowerFlatVariant({
13198
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13199
+ componentIdx: 0,
13200
+ lowerFn:
13201
+ function lowerImportedOwnedHost_Error$1(obj) {
13202
+ if (!(obj instanceof Error$1)) {
13203
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13204
+ }
13205
+ let handle = obj[symbolRscHandle];
13206
+ if (!handle) {
13207
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13208
+ captureTable0.set(rep, obj);
13209
+ handle = rscTableCreateOwn(handleTable0, rep);
13210
+ }
13211
+ return handle;
13212
+ }
13213
+ ,
13214
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13215
+ variantSize32: 8,
13216
+ variantAlign32: 4,
13217
+ variantPayloadOffset32: 4,
13218
+ variantFlatCount: 2,
13219
+ } ), 12, 4, 4 ],
13220
+ ],
13221
+ variantSize32: 12,
13222
+ variantAlign32: 4,
13223
+ variantPayloadOffset32: 4,
13224
+ variantFlatCount: 3,
13225
+ })
12497
13226
  ],
12498
13227
  hasResultPointer: true,
12499
13228
  funcTypeIsAsync: false,
@@ -12514,30 +13243,43 @@ null,
12514
13243
  isAsync: false,
12515
13244
  isManualAsync: _trampoline26.manuallyAsync,
12516
13245
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12517
- resultLowerFns: [_lowerFlatResult([
12518
- [ 'ok', _lowerFlatList({
12519
- elemLowerFn: _lowerFlatU8,
12520
- elemSize32: 1,
12521
- elemAlign32: 1,
12522
- }), 12, 4, 4 ],
12523
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12524
- componentIdx: 0,
12525
- lowerFn:
12526
- function lowerImportedOwnedHost_Error$1(obj) {
12527
- if (!(obj instanceof Error$1)) {
12528
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12529
- }
12530
- let handle = obj[symbolRscHandle];
12531
- if (!handle) {
12532
- const rep = obj[symbolRscRep] || ++captureCnt0;
12533
- captureTable0.set(rep, obj);
12534
- handle = rscTableCreateOwn(handleTable0, rep);
12535
- }
12536
- return handle;
12537
- }
12538
- ,
12539
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12540
- ])
13246
+ resultLowerFns: [
13247
+ _lowerFlatResult({
13248
+ caseMetas: [
13249
+ [ 'ok', _lowerFlatList({
13250
+ elemLowerFn: _lowerFlatU8,
13251
+ elemSize32: 1,
13252
+ elemAlign32: 1,
13253
+ }), 12, 4, 4 ],
13254
+ [ 'err', _lowerFlatVariant({
13255
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13256
+ componentIdx: 0,
13257
+ lowerFn:
13258
+ function lowerImportedOwnedHost_Error$1(obj) {
13259
+ if (!(obj instanceof Error$1)) {
13260
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13261
+ }
13262
+ let handle = obj[symbolRscHandle];
13263
+ if (!handle) {
13264
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13265
+ captureTable0.set(rep, obj);
13266
+ handle = rscTableCreateOwn(handleTable0, rep);
13267
+ }
13268
+ return handle;
13269
+ }
13270
+ ,
13271
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13272
+ variantSize32: 8,
13273
+ variantAlign32: 4,
13274
+ variantPayloadOffset32: 4,
13275
+ variantFlatCount: 2,
13276
+ } ), 12, 4, 4 ],
13277
+ ],
13278
+ variantSize32: 12,
13279
+ variantAlign32: 4,
13280
+ variantPayloadOffset32: 4,
13281
+ variantFlatCount: 3,
13282
+ })
12541
13283
  ],
12542
13284
  hasResultPointer: true,
12543
13285
  funcTypeIsAsync: false,
@@ -12559,26 +13301,39 @@ null,
12559
13301
  isAsync: false,
12560
13302
  isManualAsync: _trampoline27.manuallyAsync,
12561
13303
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12562
- resultLowerFns: [_lowerFlatResult([
12563
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12564
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12565
- componentIdx: 0,
12566
- lowerFn:
12567
- function lowerImportedOwnedHost_Error$1(obj) {
12568
- if (!(obj instanceof Error$1)) {
12569
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12570
- }
12571
- let handle = obj[symbolRscHandle];
12572
- if (!handle) {
12573
- const rep = obj[symbolRscRep] || ++captureCnt0;
12574
- captureTable0.set(rep, obj);
12575
- handle = rscTableCreateOwn(handleTable0, rep);
12576
- }
12577
- return handle;
12578
- }
12579
- ,
12580
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
12581
- ])
13304
+ resultLowerFns: [
13305
+ _lowerFlatResult({
13306
+ caseMetas: [
13307
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
13308
+ [ 'err', _lowerFlatVariant({
13309
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13310
+ componentIdx: 0,
13311
+ lowerFn:
13312
+ function lowerImportedOwnedHost_Error$1(obj) {
13313
+ if (!(obj instanceof Error$1)) {
13314
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13315
+ }
13316
+ let handle = obj[symbolRscHandle];
13317
+ if (!handle) {
13318
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13319
+ captureTable0.set(rep, obj);
13320
+ handle = rscTableCreateOwn(handleTable0, rep);
13321
+ }
13322
+ return handle;
13323
+ }
13324
+ ,
13325
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13326
+ variantSize32: 8,
13327
+ variantAlign32: 4,
13328
+ variantPayloadOffset32: 4,
13329
+ variantFlatCount: 2,
13330
+ } ), 16, 8, 8 ],
13331
+ ],
13332
+ variantSize32: 16,
13333
+ variantAlign32: 8,
13334
+ variantPayloadOffset32: 8,
13335
+ variantFlatCount: 3,
13336
+ })
12582
13337
  ],
12583
13338
  hasResultPointer: true,
12584
13339
  funcTypeIsAsync: false,
@@ -12599,26 +13354,39 @@ null,
12599
13354
  isAsync: false,
12600
13355
  isManualAsync: _trampoline27.manuallyAsync,
12601
13356
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12602
- resultLowerFns: [_lowerFlatResult([
12603
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12604
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12605
- componentIdx: 0,
12606
- lowerFn:
12607
- function lowerImportedOwnedHost_Error$1(obj) {
12608
- if (!(obj instanceof Error$1)) {
12609
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12610
- }
12611
- let handle = obj[symbolRscHandle];
12612
- if (!handle) {
12613
- const rep = obj[symbolRscRep] || ++captureCnt0;
12614
- captureTable0.set(rep, obj);
12615
- handle = rscTableCreateOwn(handleTable0, rep);
12616
- }
12617
- return handle;
12618
- }
12619
- ,
12620
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
12621
- ])
13357
+ resultLowerFns: [
13358
+ _lowerFlatResult({
13359
+ caseMetas: [
13360
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
13361
+ [ 'err', _lowerFlatVariant({
13362
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13363
+ componentIdx: 0,
13364
+ lowerFn:
13365
+ function lowerImportedOwnedHost_Error$1(obj) {
13366
+ if (!(obj instanceof Error$1)) {
13367
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13368
+ }
13369
+ let handle = obj[symbolRscHandle];
13370
+ if (!handle) {
13371
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13372
+ captureTable0.set(rep, obj);
13373
+ handle = rscTableCreateOwn(handleTable0, rep);
13374
+ }
13375
+ return handle;
13376
+ }
13377
+ ,
13378
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13379
+ variantSize32: 8,
13380
+ variantAlign32: 4,
13381
+ variantPayloadOffset32: 4,
13382
+ variantFlatCount: 2,
13383
+ } ), 16, 8, 8 ],
13384
+ ],
13385
+ variantSize32: 16,
13386
+ variantAlign32: 8,
13387
+ variantPayloadOffset32: 8,
13388
+ variantFlatCount: 3,
13389
+ })
12622
13390
  ],
12623
13391
  hasResultPointer: true,
12624
13392
  funcTypeIsAsync: false,
@@ -12645,26 +13413,39 @@ null,
12645
13413
  elemSize32: 1,
12646
13414
  typedArray: Uint8Array,
12647
13415
  })],
12648
- resultLowerFns: [_lowerFlatResult([
12649
- [ 'ok', null, 12, 4, 4 ],
12650
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12651
- componentIdx: 0,
12652
- lowerFn:
12653
- function lowerImportedOwnedHost_Error$1(obj) {
12654
- if (!(obj instanceof Error$1)) {
12655
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12656
- }
12657
- let handle = obj[symbolRscHandle];
12658
- if (!handle) {
12659
- const rep = obj[symbolRscRep] || ++captureCnt0;
12660
- captureTable0.set(rep, obj);
12661
- handle = rscTableCreateOwn(handleTable0, rep);
12662
- }
12663
- return handle;
12664
- }
12665
- ,
12666
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12667
- ])
13416
+ resultLowerFns: [
13417
+ _lowerFlatResult({
13418
+ caseMetas: [
13419
+ [ 'ok', null, 12, 4, 4 ],
13420
+ [ 'err', _lowerFlatVariant({
13421
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13422
+ componentIdx: 0,
13423
+ lowerFn:
13424
+ function lowerImportedOwnedHost_Error$1(obj) {
13425
+ if (!(obj instanceof Error$1)) {
13426
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13427
+ }
13428
+ let handle = obj[symbolRscHandle];
13429
+ if (!handle) {
13430
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13431
+ captureTable0.set(rep, obj);
13432
+ handle = rscTableCreateOwn(handleTable0, rep);
13433
+ }
13434
+ return handle;
13435
+ }
13436
+ ,
13437
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13438
+ variantSize32: 8,
13439
+ variantAlign32: 4,
13440
+ variantPayloadOffset32: 4,
13441
+ variantFlatCount: 2,
13442
+ } ), 12, 4, 4 ],
13443
+ ],
13444
+ variantSize32: 12,
13445
+ variantAlign32: 4,
13446
+ variantPayloadOffset32: 4,
13447
+ variantFlatCount: 3,
13448
+ })
12668
13449
  ],
12669
13450
  hasResultPointer: true,
12670
13451
  funcTypeIsAsync: false,
@@ -12690,26 +13471,39 @@ null,
12690
13471
  elemSize32: 1,
12691
13472
  typedArray: Uint8Array,
12692
13473
  })],
12693
- resultLowerFns: [_lowerFlatResult([
12694
- [ 'ok', null, 12, 4, 4 ],
12695
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12696
- componentIdx: 0,
12697
- lowerFn:
12698
- function lowerImportedOwnedHost_Error$1(obj) {
12699
- if (!(obj instanceof Error$1)) {
12700
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12701
- }
12702
- let handle = obj[symbolRscHandle];
12703
- if (!handle) {
12704
- const rep = obj[symbolRscRep] || ++captureCnt0;
12705
- captureTable0.set(rep, obj);
12706
- handle = rscTableCreateOwn(handleTable0, rep);
12707
- }
12708
- return handle;
12709
- }
12710
- ,
12711
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12712
- ])
13474
+ resultLowerFns: [
13475
+ _lowerFlatResult({
13476
+ caseMetas: [
13477
+ [ 'ok', null, 12, 4, 4 ],
13478
+ [ 'err', _lowerFlatVariant({
13479
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13480
+ componentIdx: 0,
13481
+ lowerFn:
13482
+ function lowerImportedOwnedHost_Error$1(obj) {
13483
+ if (!(obj instanceof Error$1)) {
13484
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13485
+ }
13486
+ let handle = obj[symbolRscHandle];
13487
+ if (!handle) {
13488
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13489
+ captureTable0.set(rep, obj);
13490
+ handle = rscTableCreateOwn(handleTable0, rep);
13491
+ }
13492
+ return handle;
13493
+ }
13494
+ ,
13495
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13496
+ variantSize32: 8,
13497
+ variantAlign32: 4,
13498
+ variantPayloadOffset32: 4,
13499
+ variantFlatCount: 2,
13500
+ } ), 12, 4, 4 ],
13501
+ ],
13502
+ variantSize32: 12,
13503
+ variantAlign32: 4,
13504
+ variantPayloadOffset32: 4,
13505
+ variantFlatCount: 3,
13506
+ })
12713
13507
  ],
12714
13508
  hasResultPointer: true,
12715
13509
  funcTypeIsAsync: false,
@@ -12736,26 +13530,39 @@ null,
12736
13530
  elemSize32: 1,
12737
13531
  typedArray: Uint8Array,
12738
13532
  })],
12739
- resultLowerFns: [_lowerFlatResult([
12740
- [ 'ok', null, 12, 4, 4 ],
12741
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12742
- componentIdx: 0,
12743
- lowerFn:
12744
- function lowerImportedOwnedHost_Error$1(obj) {
12745
- if (!(obj instanceof Error$1)) {
12746
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12747
- }
12748
- let handle = obj[symbolRscHandle];
12749
- if (!handle) {
12750
- const rep = obj[symbolRscRep] || ++captureCnt0;
12751
- captureTable0.set(rep, obj);
12752
- handle = rscTableCreateOwn(handleTable0, rep);
12753
- }
12754
- return handle;
12755
- }
12756
- ,
12757
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12758
- ])
13533
+ resultLowerFns: [
13534
+ _lowerFlatResult({
13535
+ caseMetas: [
13536
+ [ 'ok', null, 12, 4, 4 ],
13537
+ [ 'err', _lowerFlatVariant({
13538
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13539
+ componentIdx: 0,
13540
+ lowerFn:
13541
+ function lowerImportedOwnedHost_Error$1(obj) {
13542
+ if (!(obj instanceof Error$1)) {
13543
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13544
+ }
13545
+ let handle = obj[symbolRscHandle];
13546
+ if (!handle) {
13547
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13548
+ captureTable0.set(rep, obj);
13549
+ handle = rscTableCreateOwn(handleTable0, rep);
13550
+ }
13551
+ return handle;
13552
+ }
13553
+ ,
13554
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13555
+ variantSize32: 8,
13556
+ variantAlign32: 4,
13557
+ variantPayloadOffset32: 4,
13558
+ variantFlatCount: 2,
13559
+ } ), 12, 4, 4 ],
13560
+ ],
13561
+ variantSize32: 12,
13562
+ variantAlign32: 4,
13563
+ variantPayloadOffset32: 4,
13564
+ variantFlatCount: 3,
13565
+ })
12759
13566
  ],
12760
13567
  hasResultPointer: true,
12761
13568
  funcTypeIsAsync: false,
@@ -12781,26 +13588,39 @@ null,
12781
13588
  elemSize32: 1,
12782
13589
  typedArray: Uint8Array,
12783
13590
  })],
12784
- resultLowerFns: [_lowerFlatResult([
12785
- [ 'ok', null, 12, 4, 4 ],
12786
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12787
- componentIdx: 0,
12788
- lowerFn:
12789
- function lowerImportedOwnedHost_Error$1(obj) {
12790
- if (!(obj instanceof Error$1)) {
12791
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12792
- }
12793
- let handle = obj[symbolRscHandle];
12794
- if (!handle) {
12795
- const rep = obj[symbolRscRep] || ++captureCnt0;
12796
- captureTable0.set(rep, obj);
12797
- handle = rscTableCreateOwn(handleTable0, rep);
12798
- }
12799
- return handle;
12800
- }
12801
- ,
12802
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12803
- ])
13591
+ resultLowerFns: [
13592
+ _lowerFlatResult({
13593
+ caseMetas: [
13594
+ [ 'ok', null, 12, 4, 4 ],
13595
+ [ 'err', _lowerFlatVariant({
13596
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13597
+ componentIdx: 0,
13598
+ lowerFn:
13599
+ function lowerImportedOwnedHost_Error$1(obj) {
13600
+ if (!(obj instanceof Error$1)) {
13601
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13602
+ }
13603
+ let handle = obj[symbolRscHandle];
13604
+ if (!handle) {
13605
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13606
+ captureTable0.set(rep, obj);
13607
+ handle = rscTableCreateOwn(handleTable0, rep);
13608
+ }
13609
+ return handle;
13610
+ }
13611
+ ,
13612
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13613
+ variantSize32: 8,
13614
+ variantAlign32: 4,
13615
+ variantPayloadOffset32: 4,
13616
+ variantFlatCount: 2,
13617
+ } ), 12, 4, 4 ],
13618
+ ],
13619
+ variantSize32: 12,
13620
+ variantAlign32: 4,
13621
+ variantPayloadOffset32: 4,
13622
+ variantFlatCount: 3,
13623
+ })
12804
13624
  ],
12805
13625
  hasResultPointer: true,
12806
13626
  funcTypeIsAsync: false,
@@ -12822,26 +13642,39 @@ null,
12822
13642
  isAsync: false,
12823
13643
  isManualAsync: _trampoline30.manuallyAsync,
12824
13644
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12825
- resultLowerFns: [_lowerFlatResult([
12826
- [ 'ok', null, 12, 4, 4 ],
12827
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12828
- componentIdx: 0,
12829
- lowerFn:
12830
- function lowerImportedOwnedHost_Error$1(obj) {
12831
- if (!(obj instanceof Error$1)) {
12832
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12833
- }
12834
- let handle = obj[symbolRscHandle];
12835
- if (!handle) {
12836
- const rep = obj[symbolRscRep] || ++captureCnt0;
12837
- captureTable0.set(rep, obj);
12838
- handle = rscTableCreateOwn(handleTable0, rep);
12839
- }
12840
- return handle;
12841
- }
12842
- ,
12843
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12844
- ])
13645
+ resultLowerFns: [
13646
+ _lowerFlatResult({
13647
+ caseMetas: [
13648
+ [ 'ok', null, 12, 4, 4 ],
13649
+ [ 'err', _lowerFlatVariant({
13650
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13651
+ componentIdx: 0,
13652
+ lowerFn:
13653
+ function lowerImportedOwnedHost_Error$1(obj) {
13654
+ if (!(obj instanceof Error$1)) {
13655
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13656
+ }
13657
+ let handle = obj[symbolRscHandle];
13658
+ if (!handle) {
13659
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13660
+ captureTable0.set(rep, obj);
13661
+ handle = rscTableCreateOwn(handleTable0, rep);
13662
+ }
13663
+ return handle;
13664
+ }
13665
+ ,
13666
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13667
+ variantSize32: 8,
13668
+ variantAlign32: 4,
13669
+ variantPayloadOffset32: 4,
13670
+ variantFlatCount: 2,
13671
+ } ), 12, 4, 4 ],
13672
+ ],
13673
+ variantSize32: 12,
13674
+ variantAlign32: 4,
13675
+ variantPayloadOffset32: 4,
13676
+ variantFlatCount: 3,
13677
+ })
12845
13678
  ],
12846
13679
  hasResultPointer: true,
12847
13680
  funcTypeIsAsync: false,
@@ -12862,26 +13695,39 @@ null,
12862
13695
  isAsync: false,
12863
13696
  isManualAsync: _trampoline30.manuallyAsync,
12864
13697
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12865
- resultLowerFns: [_lowerFlatResult([
12866
- [ 'ok', null, 12, 4, 4 ],
12867
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12868
- componentIdx: 0,
12869
- lowerFn:
12870
- function lowerImportedOwnedHost_Error$1(obj) {
12871
- if (!(obj instanceof Error$1)) {
12872
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12873
- }
12874
- let handle = obj[symbolRscHandle];
12875
- if (!handle) {
12876
- const rep = obj[symbolRscRep] || ++captureCnt0;
12877
- captureTable0.set(rep, obj);
12878
- handle = rscTableCreateOwn(handleTable0, rep);
12879
- }
12880
- return handle;
12881
- }
12882
- ,
12883
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12884
- ])
13698
+ resultLowerFns: [
13699
+ _lowerFlatResult({
13700
+ caseMetas: [
13701
+ [ 'ok', null, 12, 4, 4 ],
13702
+ [ 'err', _lowerFlatVariant({
13703
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13704
+ componentIdx: 0,
13705
+ lowerFn:
13706
+ function lowerImportedOwnedHost_Error$1(obj) {
13707
+ if (!(obj instanceof Error$1)) {
13708
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13709
+ }
13710
+ let handle = obj[symbolRscHandle];
13711
+ if (!handle) {
13712
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13713
+ captureTable0.set(rep, obj);
13714
+ handle = rscTableCreateOwn(handleTable0, rep);
13715
+ }
13716
+ return handle;
13717
+ }
13718
+ ,
13719
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13720
+ variantSize32: 8,
13721
+ variantAlign32: 4,
13722
+ variantPayloadOffset32: 4,
13723
+ variantFlatCount: 2,
13724
+ } ), 12, 4, 4 ],
13725
+ ],
13726
+ variantSize32: 12,
13727
+ variantAlign32: 4,
13728
+ variantPayloadOffset32: 4,
13729
+ variantFlatCount: 3,
13730
+ })
12885
13731
  ],
12886
13732
  hasResultPointer: true,
12887
13733
  funcTypeIsAsync: false,
@@ -13033,26 +13879,33 @@ null,
13033
13879
  isAsync: false,
13034
13880
  isManualAsync: _trampoline33.manuallyAsync,
13035
13881
  paramLiftFns: [],
13036
- resultLowerFns: [_lowerFlatOption([
13037
- [ 'none', null, 8, 4, 4 ],
13038
- [ 'some', _lowerFlatOwn({
13039
- componentIdx: 0,
13040
- lowerFn:
13041
- function lowerImportedOwnedHost_TerminalInput(obj) {
13042
- if (!(obj instanceof TerminalInput)) {
13043
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13044
- }
13045
- let handle = obj[symbolRscHandle];
13046
- if (!handle) {
13047
- const rep = obj[symbolRscRep] || ++captureCnt3;
13048
- captureTable3.set(rep, obj);
13049
- handle = rscTableCreateOwn(handleTable3, rep);
13882
+ resultLowerFns: [
13883
+ _lowerFlatOption({
13884
+ caseMetas: [
13885
+ [ 'none', null, 0, 0, 0 ],
13886
+ [ 'some', _lowerFlatOwn({
13887
+ componentIdx: 0,
13888
+ lowerFn:
13889
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13890
+ if (!(obj instanceof TerminalInput)) {
13891
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13892
+ }
13893
+ let handle = obj[symbolRscHandle];
13894
+ if (!handle) {
13895
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13896
+ captureTable3.set(rep, obj);
13897
+ handle = rscTableCreateOwn(handleTable3, rep);
13898
+ }
13899
+ return handle;
13050
13900
  }
13051
- return handle;
13052
- }
13053
- ,
13054
- }), 8, 4, 4 ],
13055
- ])
13901
+ ,
13902
+ }), 4, 4, 1],
13903
+ ],
13904
+ variantSize32: 8,
13905
+ variantAlign32: 4,
13906
+ variantPayloadOffset32: 4,
13907
+ variantFlatCount: 2,
13908
+ })
13056
13909
  ],
13057
13910
  hasResultPointer: true,
13058
13911
  funcTypeIsAsync: false,
@@ -13073,26 +13926,33 @@ null,
13073
13926
  isAsync: false,
13074
13927
  isManualAsync: _trampoline33.manuallyAsync,
13075
13928
  paramLiftFns: [],
13076
- resultLowerFns: [_lowerFlatOption([
13077
- [ 'none', null, 8, 4, 4 ],
13078
- [ 'some', _lowerFlatOwn({
13079
- componentIdx: 0,
13080
- lowerFn:
13081
- function lowerImportedOwnedHost_TerminalInput(obj) {
13082
- if (!(obj instanceof TerminalInput)) {
13083
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13084
- }
13085
- let handle = obj[symbolRscHandle];
13086
- if (!handle) {
13087
- const rep = obj[symbolRscRep] || ++captureCnt3;
13088
- captureTable3.set(rep, obj);
13089
- handle = rscTableCreateOwn(handleTable3, rep);
13929
+ resultLowerFns: [
13930
+ _lowerFlatOption({
13931
+ caseMetas: [
13932
+ [ 'none', null, 0, 0, 0 ],
13933
+ [ 'some', _lowerFlatOwn({
13934
+ componentIdx: 0,
13935
+ lowerFn:
13936
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13937
+ if (!(obj instanceof TerminalInput)) {
13938
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13939
+ }
13940
+ let handle = obj[symbolRscHandle];
13941
+ if (!handle) {
13942
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13943
+ captureTable3.set(rep, obj);
13944
+ handle = rscTableCreateOwn(handleTable3, rep);
13945
+ }
13946
+ return handle;
13090
13947
  }
13091
- return handle;
13092
- }
13093
- ,
13094
- }), 8, 4, 4 ],
13095
- ])
13948
+ ,
13949
+ }), 4, 4, 1],
13950
+ ],
13951
+ variantSize32: 8,
13952
+ variantAlign32: 4,
13953
+ variantPayloadOffset32: 4,
13954
+ variantFlatCount: 2,
13955
+ })
13096
13956
  ],
13097
13957
  hasResultPointer: true,
13098
13958
  funcTypeIsAsync: false,
@@ -13114,26 +13974,33 @@ null,
13114
13974
  isAsync: false,
13115
13975
  isManualAsync: _trampoline34.manuallyAsync,
13116
13976
  paramLiftFns: [],
13117
- resultLowerFns: [_lowerFlatOption([
13118
- [ 'none', null, 8, 4, 4 ],
13119
- [ 'some', _lowerFlatOwn({
13120
- componentIdx: 0,
13121
- lowerFn:
13122
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13123
- if (!(obj instanceof TerminalOutput)) {
13124
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13125
- }
13126
- let handle = obj[symbolRscHandle];
13127
- if (!handle) {
13128
- const rep = obj[symbolRscRep] || ++captureCnt4;
13129
- captureTable4.set(rep, obj);
13130
- handle = rscTableCreateOwn(handleTable4, rep);
13977
+ resultLowerFns: [
13978
+ _lowerFlatOption({
13979
+ caseMetas: [
13980
+ [ 'none', null, 0, 0, 0 ],
13981
+ [ 'some', _lowerFlatOwn({
13982
+ componentIdx: 0,
13983
+ lowerFn:
13984
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13985
+ if (!(obj instanceof TerminalOutput)) {
13986
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13987
+ }
13988
+ let handle = obj[symbolRscHandle];
13989
+ if (!handle) {
13990
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13991
+ captureTable4.set(rep, obj);
13992
+ handle = rscTableCreateOwn(handleTable4, rep);
13993
+ }
13994
+ return handle;
13131
13995
  }
13132
- return handle;
13133
- }
13134
- ,
13135
- }), 8, 4, 4 ],
13136
- ])
13996
+ ,
13997
+ }), 4, 4, 1],
13998
+ ],
13999
+ variantSize32: 8,
14000
+ variantAlign32: 4,
14001
+ variantPayloadOffset32: 4,
14002
+ variantFlatCount: 2,
14003
+ })
13137
14004
  ],
13138
14005
  hasResultPointer: true,
13139
14006
  funcTypeIsAsync: false,
@@ -13154,26 +14021,33 @@ null,
13154
14021
  isAsync: false,
13155
14022
  isManualAsync: _trampoline34.manuallyAsync,
13156
14023
  paramLiftFns: [],
13157
- resultLowerFns: [_lowerFlatOption([
13158
- [ 'none', null, 8, 4, 4 ],
13159
- [ 'some', _lowerFlatOwn({
13160
- componentIdx: 0,
13161
- lowerFn:
13162
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13163
- if (!(obj instanceof TerminalOutput)) {
13164
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13165
- }
13166
- let handle = obj[symbolRscHandle];
13167
- if (!handle) {
13168
- const rep = obj[symbolRscRep] || ++captureCnt4;
13169
- captureTable4.set(rep, obj);
13170
- handle = rscTableCreateOwn(handleTable4, rep);
14024
+ resultLowerFns: [
14025
+ _lowerFlatOption({
14026
+ caseMetas: [
14027
+ [ 'none', null, 0, 0, 0 ],
14028
+ [ 'some', _lowerFlatOwn({
14029
+ componentIdx: 0,
14030
+ lowerFn:
14031
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14032
+ if (!(obj instanceof TerminalOutput)) {
14033
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14034
+ }
14035
+ let handle = obj[symbolRscHandle];
14036
+ if (!handle) {
14037
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14038
+ captureTable4.set(rep, obj);
14039
+ handle = rscTableCreateOwn(handleTable4, rep);
14040
+ }
14041
+ return handle;
13171
14042
  }
13172
- return handle;
13173
- }
13174
- ,
13175
- }), 8, 4, 4 ],
13176
- ])
14043
+ ,
14044
+ }), 4, 4, 1],
14045
+ ],
14046
+ variantSize32: 8,
14047
+ variantAlign32: 4,
14048
+ variantPayloadOffset32: 4,
14049
+ variantFlatCount: 2,
14050
+ })
13177
14051
  ],
13178
14052
  hasResultPointer: true,
13179
14053
  funcTypeIsAsync: false,
@@ -13195,26 +14069,33 @@ null,
13195
14069
  isAsync: false,
13196
14070
  isManualAsync: _trampoline35.manuallyAsync,
13197
14071
  paramLiftFns: [],
13198
- resultLowerFns: [_lowerFlatOption([
13199
- [ 'none', null, 8, 4, 4 ],
13200
- [ 'some', _lowerFlatOwn({
13201
- componentIdx: 0,
13202
- lowerFn:
13203
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13204
- if (!(obj instanceof TerminalOutput)) {
13205
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13206
- }
13207
- let handle = obj[symbolRscHandle];
13208
- if (!handle) {
13209
- const rep = obj[symbolRscRep] || ++captureCnt4;
13210
- captureTable4.set(rep, obj);
13211
- handle = rscTableCreateOwn(handleTable4, rep);
14072
+ resultLowerFns: [
14073
+ _lowerFlatOption({
14074
+ caseMetas: [
14075
+ [ 'none', null, 0, 0, 0 ],
14076
+ [ 'some', _lowerFlatOwn({
14077
+ componentIdx: 0,
14078
+ lowerFn:
14079
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14080
+ if (!(obj instanceof TerminalOutput)) {
14081
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14082
+ }
14083
+ let handle = obj[symbolRscHandle];
14084
+ if (!handle) {
14085
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14086
+ captureTable4.set(rep, obj);
14087
+ handle = rscTableCreateOwn(handleTable4, rep);
14088
+ }
14089
+ return handle;
13212
14090
  }
13213
- return handle;
13214
- }
13215
- ,
13216
- }), 8, 4, 4 ],
13217
- ])
14091
+ ,
14092
+ }), 4, 4, 1],
14093
+ ],
14094
+ variantSize32: 8,
14095
+ variantAlign32: 4,
14096
+ variantPayloadOffset32: 4,
14097
+ variantFlatCount: 2,
14098
+ })
13218
14099
  ],
13219
14100
  hasResultPointer: true,
13220
14101
  funcTypeIsAsync: false,
@@ -13235,26 +14116,33 @@ null,
13235
14116
  isAsync: false,
13236
14117
  isManualAsync: _trampoline35.manuallyAsync,
13237
14118
  paramLiftFns: [],
13238
- resultLowerFns: [_lowerFlatOption([
13239
- [ 'none', null, 8, 4, 4 ],
13240
- [ 'some', _lowerFlatOwn({
13241
- componentIdx: 0,
13242
- lowerFn:
13243
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13244
- if (!(obj instanceof TerminalOutput)) {
13245
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13246
- }
13247
- let handle = obj[symbolRscHandle];
13248
- if (!handle) {
13249
- const rep = obj[symbolRscRep] || ++captureCnt4;
13250
- captureTable4.set(rep, obj);
13251
- handle = rscTableCreateOwn(handleTable4, rep);
14119
+ resultLowerFns: [
14120
+ _lowerFlatOption({
14121
+ caseMetas: [
14122
+ [ 'none', null, 0, 0, 0 ],
14123
+ [ 'some', _lowerFlatOwn({
14124
+ componentIdx: 0,
14125
+ lowerFn:
14126
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14127
+ if (!(obj instanceof TerminalOutput)) {
14128
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14129
+ }
14130
+ let handle = obj[symbolRscHandle];
14131
+ if (!handle) {
14132
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14133
+ captureTable4.set(rep, obj);
14134
+ handle = rscTableCreateOwn(handleTable4, rep);
14135
+ }
14136
+ return handle;
13252
14137
  }
13253
- return handle;
13254
- }
13255
- ,
13256
- }), 8, 4, 4 ],
13257
- ])
14138
+ ,
14139
+ }), 4, 4, 1],
14140
+ ],
14141
+ variantSize32: 8,
14142
+ variantAlign32: 4,
14143
+ variantPayloadOffset32: 4,
14144
+ variantFlatCount: 2,
14145
+ })
13258
14146
  ],
13259
14147
  hasResultPointer: true,
13260
14148
  funcTypeIsAsync: false,
@@ -13274,8 +14162,8 @@ export const $init = (() => {
13274
14162
  let gen = (function* _initGenerator () {
13275
14163
  const module0 = fetchCompile(new URL('./wasm-tools.core.wasm', import.meta.url));
13276
14164
  const module1 = fetchCompile(new URL('./wasm-tools.core2.wasm', import.meta.url));
13277
- const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNDUuMQ');
13278
- const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjQ1LjE');
14165
+ const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
14166
+ const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
13279
14167
  ({ exports: exports0 } = yield instantiateCore(yield module2));
13280
14168
  ({ exports: exports1 } = yield instantiateCore(yield module0, {
13281
14169
  wasi_snapshot_preview1: {