porffor 0.24.1 → 0.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compiler/2c.js CHANGED
@@ -675,6 +675,12 @@ _time_out = _time.tv_nsec / 1000000. + _time.tv_sec * 1000.;`);
675
675
 
676
676
  break;
677
677
 
678
+ case Opcodes.call_indirect:
679
+ // stub, todo
680
+ vals.pop();
681
+ vals.push('0', '0');
682
+ break;
683
+
678
684
  case Opcodes.drop:
679
685
  // line(vals.pop());
680
686
  vals.pop();
@@ -39,7 +39,10 @@ export class StaticAllocator {
39
39
  if (globalThis.precompile && scopeName === 'main') scopeName = globalThis.precompile;
40
40
  const reason = `${this.allocType(itemType)}: ${Prefs.scopedPageNames ? (scopeName + '/') : ''}${name}`;
41
41
 
42
- if (pages.has(reason)) return number(this.ptr(pages.get(reason).ind), Valtype.i32);
42
+ if (pages.has(reason)) {
43
+ const ptr = this.lastPtr = this.ptr(pages.get(reason).ind);
44
+ return number(ptr, Valtype.i32);
45
+ }
43
46
 
44
47
  if (reason.startsWith('array:')) pages.hasArray = true;
45
48
  if (reason.startsWith('string:')) pages.hasString = true;
@@ -52,7 +55,8 @@ export class StaticAllocator {
52
55
  scope.pages ??= new Map();
53
56
  scope.pages.set(reason, { ind, type: itemType });
54
57
 
55
- return number(this.ptr(ind), Valtype.i32);
58
+ const ptr = this.lastPtr = this.ptr(ind);
59
+ return number(ptr, Valtype.i32);
56
60
  }
57
61
  }
58
62
 
@@ -72,8 +72,7 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
72
72
  return typeCache[hash] = idx;
73
73
  };
74
74
 
75
- let importFuncs = [];
76
-
75
+ let importFuncs = [], importDelta = 0;
77
76
  if (optLevel < 1 || !Prefs.treeshakeWasmImports || noTreeshake) {
78
77
  importFuncs = importedFuncs;
79
78
  } else {
@@ -92,45 +91,45 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
92
91
  }
93
92
  }
94
93
 
95
- importFuncs = [...imports.values()];
94
+ importFuncs = globalThis.importFuncs = [...imports.values()];
95
+ importDelta = importedFuncs.length - importFuncs.length;
96
+ }
96
97
 
97
- // fix call indexes for non-imports
98
- // also fix call_indirect types
99
- const delta = importedFuncs.length - importFuncs.length;
100
- for (const f of funcs) {
101
- f.originalIndex = f.index;
102
- f.index -= delta;
98
+ // fix call indexes for non-imports
99
+ // also fix call_indirect types
100
+ for (const f of funcs) {
101
+ f.originalIndex = f.index;
102
+ f.index -= importDelta;
103
103
 
104
- for (const inst of f.wasm) {
105
- if ((inst[0] === Opcodes.call || inst[0] === Opcodes.return_call) && inst[1] >= importedFuncs.length) {
106
- inst[1] -= delta;
107
- }
108
-
109
- if (inst[0] === Opcodes.call_indirect) {
110
- if (!funcs.table) funcs.table = true;
104
+ for (const inst of f.wasm) {
105
+ if ((inst[0] === Opcodes.call || inst[0] === Opcodes.return_call) && inst[1] >= importedFuncs.length) {
106
+ inst[1] -= importDelta;
107
+ }
111
108
 
112
- const params = [];
113
- for (let i = 0; i < inst[1]; i++) {
114
- params.push(valtypeBinary, Valtype.i32);
115
- }
109
+ if (inst[0] === Opcodes.call_indirect) {
110
+ if (!funcs.table) funcs.table = true;
116
111
 
117
- if (inst.at(-1) === 'constr') {
118
- inst.pop();
119
- params.unshift(Valtype.i32);
120
- }
112
+ const params = [];
113
+ for (let i = 0; i < inst[1]; i++) {
114
+ params.push(valtypeBinary, Valtype.i32);
115
+ }
121
116
 
122
- let returns = [ valtypeBinary, Valtype.i32 ];
123
- if (inst.at(-1) === 'no_type_return') {
124
- inst.pop();
125
- returns = [ valtypeBinary ];
126
- }
117
+ if (inst.at(-1) === 'constr') {
118
+ inst.pop();
119
+ params.unshift(Valtype.i32);
120
+ }
127
121
 
128
- inst[1] = getType(params, returns);
122
+ let returns = [ valtypeBinary, Valtype.i32 ];
123
+ if (inst.at(-1) === 'no_type_return') {
124
+ inst.pop();
125
+ returns = [ valtypeBinary ];
129
126
  }
127
+
128
+ inst[1] = getType(params, returns);
130
129
  }
131
130
  }
132
131
  }
133
- globalThis.importFuncs = importFuncs;
132
+
134
133
 
135
134
  if (Prefs.optLog) log('assemble', `treeshake: using ${importFuncs.length}/${importedFuncs.length} imports`);
136
135
 
@@ -160,7 +159,13 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
160
159
  ] ])
161
160
  );
162
161
 
163
- if (pages.has('func lut') && !data.addedFuncArgcLut) {
162
+ if (pages.has('func lut')) {
163
+ const offset = pages.get('func lut').ind * pageSize;
164
+ if (data.addedFuncArgcLut) {
165
+ // remove existing data
166
+ data = data.filter(x => x.offset !== offset);
167
+ }
168
+
164
169
  // generate func lut data
165
170
  const bytes = [];
166
171
  for (let i = 0; i < funcs.length; i++) {
@@ -192,7 +197,7 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
192
197
  }
193
198
 
194
199
  data.push({
195
- offset: pages.get('func lut').ind * pageSize,
200
+ offset,
196
201
  bytes
197
202
  });
198
203
  data.addedFuncArgcLut = true;
@@ -208,61 +208,6 @@ export const __Object_assign = (target: any, ...sources: any[]) => {
208
208
  return target;
209
209
  };
210
210
 
211
- export const __Object_defineProperty = (target: any, prop: any, descriptor: any) => {
212
- if (!Porffor.object.isObject(target)) throw new TypeError('Target is a non-object');
213
- if (!Porffor.object.isObject(descriptor)) throw new TypeError('Descriptor is a non-object');
214
-
215
- const p: any = ecma262.ToPropertyKey(prop);
216
-
217
- const desc: object = descriptor;
218
-
219
- // base keys
220
- const configurable: any = desc.configurable; // defaults to false/undefined
221
- const enumerable: any = desc.enumerable; // defaults to false/undefined
222
-
223
- // data descriptor keys
224
- const value: any = desc.value;
225
- const writable: any = desc.writable;
226
-
227
- const get: any = desc.get;
228
- const set: any = desc.set;
229
-
230
- let accessor: boolean = false;
231
-
232
- // todo: should check if has attributes not if undefined
233
- if (get !== undefined || set !== undefined) {
234
- if (get !== undefined && Porffor.rawType(get) != Porffor.TYPES.function) throw new TypeError('Getter must be a function');
235
- if (set !== undefined && Porffor.rawType(set) != Porffor.TYPES.function) throw new TypeError('Setter must be a function');
236
-
237
- if (value !== undefined || writable !== undefined) {
238
- throw new TypeError('Descriptor cannot define both accessor and data descriptor attributes');
239
- }
240
-
241
- accessor = true;
242
- value = Porffor.object.packAccessor(get, set);
243
- }
244
-
245
- let flags: i32 = 0b0000;
246
- if (accessor) flags |= 0b0001;
247
- if (configurable) flags |= 0b0010;
248
- if (enumerable) flags |= 0b0100;
249
- if (writable) flags |= 0b1000;
250
-
251
- Porffor.object.define(target, p, value, flags);
252
- return target;
253
- };
254
-
255
- export const __Object_defineProperties = (target: any, props: any) => {
256
- if (!Porffor.object.isObject(target)) throw new TypeError('Target is a non-object');
257
- if (!Porffor.object.isObjectOrSymbol(props)) throw new TypeError('Props needs to be an object or symbol');
258
-
259
- for (const x in props) {
260
- __Object_defineProperty(target, x, props[x]);
261
- }
262
-
263
- return target;
264
- };
265
-
266
211
 
267
212
  export const __Object_prototype_propertyIsEnumerable = (_this: any, prop: any) => {
268
213
  const p: any = ecma262.ToPropertyKey(prop);
@@ -298,20 +243,6 @@ export const __Object_is = (x: any, y: any): boolean => {
298
243
  return false;
299
244
  };
300
245
 
301
- export const __Object_create = (proto: any, props: any) => {
302
- if (!Porffor.object.isObject(proto)) {
303
- if (proto !== null) throw new TypeError('Prototype should be an object or null');
304
- }
305
-
306
- const out: object = {};
307
-
308
- // todo: set prototype when supported
309
-
310
- if (props !== undefined) __Object_defineProperties(out, props);
311
-
312
- return out;
313
- };
314
-
315
246
 
316
247
  export const __Object_preventExtensions = (obj: any): any => {
317
248
  // todo: support non-pure-objects
@@ -599,6 +530,93 @@ local.set ${key}`;
599
530
  };
600
531
 
601
532
 
533
+ export const __Object_defineProperty = (target: any, prop: any, descriptor: any) => {
534
+ if (!Porffor.object.isObject(target)) throw new TypeError('Target is a non-object');
535
+ if (!Porffor.object.isObject(descriptor)) throw new TypeError('Descriptor is a non-object');
536
+
537
+ const p: any = ecma262.ToPropertyKey(prop);
538
+
539
+ const desc: object = descriptor;
540
+
541
+ // base keys
542
+ let configurable: any = desc.configurable;
543
+ let enumerable: any = desc.enumerable;
544
+
545
+ // data descriptor keys
546
+ let value: any = desc.value;
547
+ let writable: any = desc.writable;
548
+
549
+ let get: any = desc.get;
550
+ let set: any = desc.set;
551
+
552
+ let accessor: boolean = false;
553
+
554
+ // todo: should check if has attributes not if undefined
555
+ if (get !== undefined || set !== undefined) {
556
+ if (get !== undefined && Porffor.rawType(get) != Porffor.TYPES.function) throw new TypeError('Getter must be a function');
557
+ if (set !== undefined && Porffor.rawType(set) != Porffor.TYPES.function) throw new TypeError('Setter must be a function');
558
+
559
+ if (value !== undefined || writable !== undefined) {
560
+ throw new TypeError('Descriptor cannot define both accessor and data descriptor attributes');
561
+ }
562
+
563
+ accessor = true;
564
+ }
565
+
566
+ const existingDesc: any = __Object_getOwnPropertyDescriptor(target, prop);
567
+ if (existingDesc) {
568
+ configurable ??= existingDesc.configurable;
569
+ enumerable ??= existingDesc.enumerable;
570
+
571
+ if (accessor) {
572
+ get ??= existingDesc.get;
573
+ set ??= existingDesc.set;
574
+ } else {
575
+ value ??= existingDesc.value;
576
+ writable ??= existingDesc.value;
577
+ }
578
+ }
579
+
580
+ let flags: i32 = 0b0000;
581
+ if (accessor) flags |= 0b0001;
582
+ if (configurable) flags |= 0b0010;
583
+ if (enumerable) flags |= 0b0100;
584
+ if (writable) flags |= 0b1000;
585
+
586
+ if (accessor) {
587
+ value = Porffor.object.packAccessor(get, set);
588
+ }
589
+
590
+ Porffor.object.define(target, p, value, flags);
591
+ return target;
592
+ };
593
+
594
+ export const __Object_defineProperties = (target: any, props: any) => {
595
+ if (!Porffor.object.isObject(target)) throw new TypeError('Target is a non-object');
596
+ if (!Porffor.object.isObjectOrSymbol(props)) throw new TypeError('Props needs to be an object or symbol');
597
+
598
+ for (const x in props) {
599
+ __Object_defineProperty(target, x, props[x]);
600
+ }
601
+
602
+ return target;
603
+ };
604
+
605
+ export const __Object_create = (proto: any, props: any) => {
606
+ if (!Porffor.object.isObject(proto)) {
607
+ if (proto !== null) throw new TypeError('Prototype should be an object or null');
608
+ }
609
+
610
+ const out: object = {};
611
+
612
+ // todo: set prototype when supported
613
+
614
+ if (props !== undefined) __Object_defineProperties(out, props);
615
+
616
+ return out;
617
+ };
618
+
619
+
602
620
  export const __Object_groupBy = (items: any, callbackFn: any) => {
603
621
  const out: object = {};
604
622
 
@@ -136,6 +136,17 @@ export default function({ builtinFuncs }, Prefs) {
136
136
 
137
137
  object('Reflect', autoFuncs('Reflect'));
138
138
 
139
+ // automatically generate objects for prototypes
140
+ for (const x of builtinFuncKeys.reduce((acc, x) => {
141
+ const ind = x.indexOf('_prototype_');
142
+ if (ind === -1) return acc;
143
+
144
+ acc.add(x.slice(0, ind + 10));
145
+ return acc;
146
+ }, new Set())) {
147
+ object(x, autoFuncs(x));
148
+ }
149
+
139
150
 
140
151
  // todo: support when existing func
141
152
  // object('Number', {
@@ -153,7 +164,7 @@ export default function({ builtinFuncs }, Prefs) {
153
164
  // });
154
165
 
155
166
 
156
- // technically not spec compliant as it should be a navigator class but bleh
167
+ // these technically not spec compliant as it should be classes or non-enumerable but eh
157
168
  object('navigator', {
158
169
  ...props({
159
170
  writable: false,
@@ -164,20 +175,34 @@ export default function({ builtinFuncs }, Prefs) {
164
175
  })
165
176
  });
166
177
 
178
+ for (const x of [
179
+ 'console',
180
+ 'crypto',
181
+ 'performance',
182
+ ]) {
183
+ object(x, {
184
+ ...props({
185
+ writable: true,
186
+ enumerable: true,
187
+ configurable: true
188
+ }, autoFuncKeys(x).slice(0, 12))
189
+ });
190
+ }
191
+
167
192
  if (Prefs.logMissingObjects) for (const x of Object.keys(builtinFuncs).concat(Object.keys(this))) {
168
193
  if (!x.startsWith('__')) continue;
169
194
 
170
- const name = x.split('_').slice(2, -1).join('_').replaceAll('_', '.');
195
+ const name = x.split('_').slice(2, -1).join('_');
171
196
 
172
197
  let t = globalThis;
173
- for (const x of name.split('.')) {
198
+ for (const x of name.split('_')) {
174
199
  t = t[x];
175
200
  if (!t) break;
176
201
  }
177
202
  if (!t) continue;
178
203
 
179
- if (!done.has(name)) {
180
- console.log(name, !!builtinFuncs[name]);
204
+ if (!done.has(name) && !done.has('__' + name)) {
205
+ console.log(name.replaceAll('_', '.'), !!builtinFuncs[name]);
181
206
  done.add(name);
182
207
  }
183
208
  }
@@ -1742,18 +1742,6 @@ export const BuiltinFuncs = function() {
1742
1742
  locals: [124,127,127,127,127,124,127,124,127,124,124,124,124,127,124,124,124,127,127,127,127], localNames: ["target","target#type","sources","sources#type","#logicinner_tmp","#typeswitch_tmp","forof_base_pointer","forof_length","forof_counter","x","x#type","keys","#last_type","vals","len","i","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#member_prop","#loadArray_offset","#member_allocd","#swap","#forof_allocd"],
1743
1743
  hasRestArgument: 1,
1744
1744
  };
1745
- this.__Object_defineProperty = {
1746
- wasm: (scope, {allocPage,builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,6],[183],[33,7],[32,6],[33,8],[2,124],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,7],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Target is a non-object`),[11],[32,4],[252,2],[32,5],[16, ...builtin('__Porffor_object_isObject')],[33,6],[183],[33,7],[32,6],[33,8],[2,124],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,7],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Descriptor is a non-object`),[11],[32,2],[32,3],[16, ...builtin('__ecma262_ToPropertyKey')],[33,10],[33,9],[32,4],[34,11],[33,14],...number(allocPage(scope, 'bytestring: __Object_defineProperty/#member_prop', 'i8') * pageSize, 124),[34,15],[252,3],[34,19],[65,12],[54,1,0],[32,19],[65,227,0],[58,0,4],[32,19],[65,239,0],[58,0,5],[32,19],[65,238,0],[58,0,6],[32,19],[65,230,0],[58,0,7],[32,19],[65,233,0],[58,0,8],[32,19],[65,231,0],[58,0,9],[32,19],[65,245,0],[58,0,10],[32,19],[65,242,0],[58,0,11],[32,19],[65,225,0],[58,0,12],[32,19],[65,226,0],[58,0,13],[32,19],[65,236,0],[58,0,14],[32,19],[65,229,0],[58,0,15],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,13],[33,12],[32,11],[33,14],[32,15],[252,3],[34,19],[65,10],[54,1,0],[32,19],[65,229,0],[58,0,4],[32,19],[65,238,0],[58,0,5],[32,19],[65,245,0],[58,0,6],[32,19],[65,237,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[65,242,0],[58,0,9],[32,19],[65,225,0],[58,0,10],[32,19],[65,226,0],[58,0,11],[32,19],[65,236,0],[58,0,12],[32,19],[65,229,0],[58,0,13],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,21],[33,20],[32,11],[33,14],[32,15],[252,3],[34,19],[65,5],[54,1,0],[32,19],[65,246,0],[58,0,4],[32,19],[65,225,0],[58,0,5],[32,19],[65,236,0],[58,0,6],[32,19],[65,245,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,23],[33,22],[32,11],[33,14],[32,15],[252,3],[34,19],[65,8],[54,1,0],[32,19],[65,247,0],[58,0,4],[32,19],[65,242,0],[58,0,5],[32,19],[65,233,0],[58,0,6],[32,19],[65,244,0],[58,0,7],[32,19],[65,225,0],[58,0,8],[32,19],[65,226,0],[58,0,9],[32,19],[65,236,0],[58,0,10],[32,19],[65,229,0],[58,0,11],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,25],[33,24],[32,11],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,231,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,27],[33,26],[32,11],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,243,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,29],[33,28],[68,0,0,0,0,0,0,0,0],[33,30],[32,26],[68,0,0,0,0,0,0,0,0],[98],[32,27],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[69],[4,127],[32,28],[68,0,0,0,0,0,0,0,0],[98],[32,29],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],[32,26],[68,0,0,0,0,0,0,0,0],[98],[32,27],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[4,127],[32,26],[32,27],[16, ...builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,24,64],[98],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Getter must be a function`),[11],[32,28],[68,0,0,0,0,0,0,0,0],[98],[32,29],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[4,127],[32,28],[32,29],[16, ...builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,24,64],[98],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Setter must be a function`),[11],[32,22],[68,0,0,0,0,0,0,0,0],[98],[32,23],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[69],[4,127],[32,24],[68,0,0,0,0,0,0,0,0],[98],[32,25],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Descriptor cannot define both accessor and data descriptor attributes`),[11],[68,0,0,0,0,0,0,240,63],[33,30],[32,26],[252,2],[32,27],[32,28],[252,2],[32,29],[16, ...builtin('__Porffor_object_packAccessor')],[33,23],[33,22],[11],[68,0,0,0,0,0,0,0,0],[33,32],[32,30],[252,3],[4,64],[32,32],[68,0,0,0,0,0,0,240,63],[16, ...builtin('f64_|')],[33,32],[11],[32,12],[33,7],[32,13],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,32],[68,0,0,0,0,0,0,0,64],[16, ...builtin('f64_|')],[33,32],[11],[32,20],[33,7],[32,21],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,32],[68,0,0,0,0,0,0,16,64],[16, ...builtin('f64_|')],[33,32],[11],[32,24],[33,7],[32,25],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,32],[68,0,0,0,0,0,0,32,64],[16, ...builtin('f64_|')],[33,32],[11],[32,0],[252,2],[32,1],[32,9],[252,2],[32,10],[32,22],[32,23],[32,32],[252,2],[65,1],[16, ...builtin('__Porffor_object_define')],[33,6],[183],[26],[32,0],[32,1],[15]],
1747
- params: [124,127,124,127,124,127], typedParams: 1,
1748
- returns: [124,127], typedReturns: 1,
1749
- locals: [127,124,127,124,127,124,124,127,124,124,127,127,127,127,124,127,124,127,124,127,124,127,124,127,124,127,124], localNames: ["target","target#type","prop","prop#type","descriptor","descriptor#type","#last_type","#logicinner_tmp","#typeswitch_tmp","p","p#type","desc","configurable","configurable#type","#member_obj","#member_prop","#loadArray_offset","#member_allocd","#swap","#makearray_pointer_tmp","enumerable","enumerable#type","value","value#type","writable","writable#type","get","get#type","set","set#type","accessor","logictmpi","flags"],
1750
- };
1751
- this.__Object_defineProperties = {
1752
- wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Target is a non-object`),[11],[32,2],[252,2],[32,3],[16, ...builtin('__Porffor_object_isObjectOrSymbol')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Props needs to be an object or symbol`),[11],[32,2],[252,3],[33,7],[65,0],[33,9],[32,7],[40,1,0],[34,8],[4,64],[32,3],[33,6],[2,64],[32,6],[65,7],[70],[4,64,"TYPESWITCH|Object"],[3,64],[32,7],[40,0,5],[34,12],[65,31],[118],[4,127],[32,12],[65,255,255,255,255,7],[113],[33,12],[65,67],[5],[65,195,1],[11],[33,11],[32,12],[184],[33,10],[2,64],[2,64],[32,0],[32,1],[32,10],[32,11],[32,2],[33,13],[32,10],[33,14],[32,3],[33,6],[2,124],[32,6],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,13],[252,3],[32,3],[32,14],[32,11],[16, ...builtin('__ecma262_ToPropertyKey')],[33,17],[252,3],[32,17],[16, ...builtin('__Porffor_object_get')],[33,4],[12,1],[11],[32,6],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,13],[252,3],[32,3],[32,14],[32,11],[16, ...builtin('__ecma262_ToPropertyKey')],[33,17],[252,3],[32,17],[16, ...builtin('__Porffor_object_get')],[33,4],[12,1],[11],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,16],[65,1],[54,0,0],[32,16],[32,14],[252,3],[65,2],[108],[32,13],[252,3],[106],[47,0,4],[59,0,4],[32,16],[184],[65,195,0],[33,4],[12,1],[11],[32,6],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,14],[252,3],[65,9],[108],[32,13],[252,3],[106],[34,15],[43,0,4],[32,15],[45,0,12],[33,4],[12,1],[11],[32,6],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11],[32,6],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11],[32,6],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,16],[65,1],[54,0,0],[32,16],[32,14],[252,3],[32,13],[252,3],[106],[45,0,4],[58,0,4],[32,16],[184],[65,195,1],[33,4],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,4],[11,"TYPESWITCH_end"],[32,4],[16, ...builtin('__Object_defineProperty')],[33,4],[26],[11],[32,7],[65,14],[106],[33,7],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..in on unsupported type`),[11,"TYPESWITCH_end"],[11],[32,0],[32,1],[15]],
1753
- params: [124,127,124,127], typedParams: 1,
1754
- returns: [124,127], typedReturns: 1,
1755
- locals: [127,124,127,127,127,127,124,127,127,124,124,127,127,127], localNames: ["target","target#type","props","props#type","#last_type","#logicinner_tmp","#typeswitch_tmp","#forin_base_pointer","#forin_length","#forin_counter","x","x#type","#forin_tmp","#member_obj","#member_prop","#loadArray_offset","#member_allocd","#swap"],
1756
- };
1757
1745
  this.__Object_prototype_propertyIsEnumerable = {
1758
1746
  wasm: (scope, {builtin}) => [[32,2],[32,3],[16, ...builtin('__ecma262_ToPropertyKey')],[33,5],[33,4],[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,28,64],[97],[4,64],[32,0],[252,2],[32,1],[32,4],[252,2],[32,5],[16, ...builtin('__Porffor_object_lookup')],[33,6],[183],[34,8],[68,0,0,0,0,0,0,240,191],[97],[4,64],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[32,8],[252,2],[65,1],[16, ...builtin('__Porffor_object_isEnumerable')],[33,6],[183],[32,6],[15],[11],[32,0],[32,1],[16, ...builtin('__Object_keys')],[26],[34,9],[65,208,0],[32,4],[32,5],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, ...builtin('__Array_prototype_includes')],[34,6],[15]],
1759
1747
  params: [124,127,124,127], typedParams: 1,
@@ -1766,12 +1754,6 @@ export const BuiltinFuncs = function() {
1766
1754
  returns: [124,127], typedReturns: 1,
1767
1755
  locals: [124,124,127,127,127,127,127,124,127,124,127], localNames: ["x","x#type","y","y#type","__tmpop_left","__tmpop_right","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end","logictmp","#last_type","#logicinner_tmp","#typeswitch_tmp"],
1768
1756
  };
1769
- this.__Object_create = {
1770
- wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[98],[32,1],[65,128,1],[114],[65,7],[65,128,1],[114],[71],[114],[4,64],...internalThrow(scope, 'TypeError', `Prototype should be an object or null`),[11],[11],[16, ...builtin('__Porffor_allocate')],[184],[33,7],[32,2],[68,0,0,0,0,0,0,0,0],[98],[32,3],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,7],[65,7],[32,2],[32,3],[16, ...builtin('__Object_defineProperties')],[33,4],[26],[11],[32,7],[65,7],[15]],
1771
- params: [124,127,124,127], typedParams: 1,
1772
- returns: [124,127], typedReturns: 1,
1773
- locals: [127,124,127,124], localNames: ["proto","proto#type","props","props#type","#last_type","#logicinner_tmp","#typeswitch_tmp","out"],
1774
- };
1775
1757
  this.__Object_preventExtensions = {
1776
1758
  wasm: (scope, {builtin}) => [[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,28,64],[98],[4,64],[32,0],[32,1],[15],[11],[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_preventExtensions')],[26],[183],[26],[32,0],[32,1],[15]],
1777
1759
  params: [124,127], typedParams: 1,
@@ -1832,6 +1814,24 @@ export const BuiltinFuncs = function() {
1832
1814
  returns: [124,127], typedReturns: 1,
1833
1815
  locals: [124,127,124,124,124,124,124,124,127,127,127,124,127,124,124,127,124], localNames: ["obj","obj#type","#logicinner_tmp","#typeswitch_tmp","out","t","ptr","endPtr","i","key","key#type","raw","msb","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#swap","__length_setter_tmp"],
1834
1816
  };
1817
+ this.__Object_defineProperty = {
1818
+ wasm: (scope, {allocPage,builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,6],[183],[33,7],[32,6],[33,8],[2,124],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,7],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Target is a non-object`),[11],[32,4],[252,2],[32,5],[16, ...builtin('__Porffor_object_isObject')],[33,6],[183],[33,7],[32,6],[33,8],[2,124],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,7],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Descriptor is a non-object`),[11],[32,2],[32,3],[16, ...builtin('__ecma262_ToPropertyKey')],[33,10],[33,9],[32,4],[34,11],[33,14],...number(allocPage(scope, 'bytestring: __Object_defineProperty/#member_prop', 'i8') * pageSize, 124),[34,15],[252,3],[34,19],[65,12],[54,1,0],[32,19],[65,227,0],[58,0,4],[32,19],[65,239,0],[58,0,5],[32,19],[65,238,0],[58,0,6],[32,19],[65,230,0],[58,0,7],[32,19],[65,233,0],[58,0,8],[32,19],[65,231,0],[58,0,9],[32,19],[65,245,0],[58,0,10],[32,19],[65,242,0],[58,0,11],[32,19],[65,225,0],[58,0,12],[32,19],[65,226,0],[58,0,13],[32,19],[65,236,0],[58,0,14],[32,19],[65,229,0],[58,0,15],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,13],[33,12],[32,11],[33,14],[32,15],[252,3],[34,19],[65,10],[54,1,0],[32,19],[65,229,0],[58,0,4],[32,19],[65,238,0],[58,0,5],[32,19],[65,245,0],[58,0,6],[32,19],[65,237,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[65,242,0],[58,0,9],[32,19],[65,225,0],[58,0,10],[32,19],[65,226,0],[58,0,11],[32,19],[65,236,0],[58,0,12],[32,19],[65,229,0],[58,0,13],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,21],[33,20],[32,11],[33,14],[32,15],[252,3],[34,19],[65,5],[54,1,0],[32,19],[65,246,0],[58,0,4],[32,19],[65,225,0],[58,0,5],[32,19],[65,236,0],[58,0,6],[32,19],[65,245,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,23],[33,22],[32,11],[33,14],[32,15],[252,3],[34,19],[65,8],[54,1,0],[32,19],[65,247,0],[58,0,4],[32,19],[65,242,0],[58,0,5],[32,19],[65,233,0],[58,0,6],[32,19],[65,244,0],[58,0,7],[32,19],[65,225,0],[58,0,8],[32,19],[65,226,0],[58,0,9],[32,19],[65,236,0],[58,0,10],[32,19],[65,229,0],[58,0,11],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,25],[33,24],[32,11],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,231,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,27],[33,26],[32,11],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,243,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,14],[252,3],[65,7],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,29],[33,28],[68,0,0,0,0,0,0,0,0],[33,30],[32,26],[68,0,0,0,0,0,0,0,0],[98],[32,27],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[69],[4,127],[32,28],[68,0,0,0,0,0,0,0,0],[98],[32,29],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],[32,26],[68,0,0,0,0,0,0,0,0],[98],[32,27],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[4,127],[32,26],[32,27],[16, ...builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,24,64],[98],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Getter must be a function`),[11],[32,28],[68,0,0,0,0,0,0,0,0],[98],[32,29],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[4,127],[32,28],[32,29],[16, ...builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,24,64],[98],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Setter must be a function`),[11],[32,22],[68,0,0,0,0,0,0,0,0],[98],[32,23],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[34,31],[69],[4,127],[32,24],[68,0,0,0,0,0,0,0,0],[98],[32,25],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[65,2],[33,6],[5],[32,31],[65,2],[33,6],[11],[4,64],...internalThrow(scope, 'TypeError', `Descriptor cannot define both accessor and data descriptor attributes`),[11],[68,0,0,0,0,0,0,240,63],[33,30],[11],[32,0],[32,1],[32,2],[32,3],[16, ...builtin('__Object_getOwnPropertyDescriptor')],[33,33],[34,32],[33,7],[32,33],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,12],[34,34],[33,7],[32,13],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,12],[54,1,0],[32,19],[65,227,0],[58,0,4],[32,19],[65,239,0],[58,0,5],[32,19],[65,238,0],[58,0,6],[32,19],[65,230,0],[58,0,7],[32,19],[65,233,0],[58,0,8],[32,19],[65,231,0],[58,0,9],[32,19],[65,245,0],[58,0,10],[32,19],[65,242,0],[58,0,11],[32,19],[65,225,0],[58,0,12],[32,19],[65,226,0],[58,0,13],[32,19],[65,236,0],[58,0,14],[32,19],[65,229,0],[58,0,15],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,12],[32,6],[33,6],[5],[32,34],[32,13],[33,6],[11],[32,12],[32,6],[33,13],[26],[26],[32,20],[34,34],[33,7],[32,21],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,10],[54,1,0],[32,19],[65,229,0],[58,0,4],[32,19],[65,238,0],[58,0,5],[32,19],[65,245,0],[58,0,6],[32,19],[65,237,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[65,242,0],[58,0,9],[32,19],[65,225,0],[58,0,10],[32,19],[65,226,0],[58,0,11],[32,19],[65,236,0],[58,0,12],[32,19],[65,229,0],[58,0,13],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,20],[32,6],[33,6],[5],[32,34],[32,21],[33,6],[11],[32,20],[32,6],[33,21],[26],[26],[32,30],[252,3],[4,64],[32,26],[34,34],[33,7],[32,27],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,231,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,26],[32,6],[33,6],[5],[32,34],[32,27],[33,6],[11],[32,26],[32,6],[33,27],[26],[26],[32,28],[34,34],[33,7],[32,29],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,3],[54,1,0],[32,19],[65,243,0],[58,0,4],[32,19],[65,229,0],[58,0,5],[32,19],[65,244,0],[58,0,6],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,28],[32,6],[33,6],[5],[32,34],[32,29],[33,6],[11],[32,28],[32,6],[33,29],[26],[26],[5],[32,22],[34,34],[33,7],[32,23],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,5],[54,1,0],[32,19],[65,246,0],[58,0,4],[32,19],[65,225,0],[58,0,5],[32,19],[65,236,0],[58,0,6],[32,19],[65,245,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,22],[32,6],[33,6],[5],[32,34],[32,23],[33,6],[11],[32,22],[32,6],[33,23],[26],[26],[32,24],[34,34],[33,7],[32,25],[33,8],[2,127],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,7],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,32],[33,14],[32,15],[252,3],[34,19],[65,5],[54,1,0],[32,19],[65,246,0],[58,0,4],[32,19],[65,225,0],[58,0,5],[32,19],[65,236,0],[58,0,6],[32,19],[65,245,0],[58,0,7],[32,19],[65,229,0],[58,0,8],[32,19],[184],[33,15],[32,33],[33,8],[2,124],[32,8],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,14],[252,3],[32,33],[32,15],[65,195,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,18],[252,3],[32,18],[16, ...builtin('__Porffor_object_get')],[33,6],[12,1],[11],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[65,2],[108],[32,14],[252,3],[106],[47,0,4],[59,0,4],[32,17],[184],[65,195,0],[33,6],[12,1],[11],[32,8],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,15],[252,3],[65,9],[108],[32,14],[252,3],[106],[34,16],[43,0,4],[32,16],[45,0,12],[33,6],[12,1],[11],[32,8],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[44,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,6],[12,1],[11],[32,8],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,6],[12,1],[11],[32,8],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,6],[12,1],[11],[32,8],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,14],[252,3],[40,0,4],[32,15],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,6],[12,1],[11],[32,8],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,17],[65,1],[54,0,0],[32,17],[32,15],[252,3],[32,14],[252,3],[106],[45,0,4],[58,0,4],[32,17],[184],[65,195,1],[33,6],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,6],[11,"TYPESWITCH_end"],[34,24],[32,6],[33,6],[5],[32,34],[32,25],[33,6],[11],[32,24],[32,6],[33,25],[26],[26],[11],[11],[68,0,0,0,0,0,0,0,0],[33,35],[32,30],[252,3],[4,64],[32,35],[68,0,0,0,0,0,0,240,63],[16, ...builtin('f64_|')],[33,35],[11],[32,12],[33,7],[32,13],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,35],[68,0,0,0,0,0,0,0,64],[16, ...builtin('f64_|')],[33,35],[11],[32,20],[33,7],[32,21],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,35],[68,0,0,0,0,0,0,16,64],[16, ...builtin('f64_|')],[33,35],[11],[32,24],[33,7],[32,25],[33,8],[2,127],[32,8],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,8],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,7],[252,3],[40,1,0],[12,1],[11],[32,7],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,35],[68,0,0,0,0,0,0,32,64],[16, ...builtin('f64_|')],[33,35],[11],[32,30],[252,3],[4,64],[32,26],[252,2],[32,27],[32,28],[252,2],[32,29],[16, ...builtin('__Porffor_object_packAccessor')],[33,23],[33,22],[11],[32,0],[252,2],[32,1],[32,9],[252,2],[32,10],[32,22],[32,23],[32,35],[252,2],[65,1],[16, ...builtin('__Porffor_object_define')],[33,6],[183],[26],[32,0],[32,1],[15]],
1819
+ params: [124,127,124,127,124,127], typedParams: 1,
1820
+ returns: [124,127], typedReturns: 1,
1821
+ locals: [127,124,127,124,127,124,124,127,124,124,127,127,127,127,124,127,124,127,124,127,124,127,124,127,124,127,124,127,124,124], localNames: ["target","target#type","prop","prop#type","descriptor","descriptor#type","#last_type","#logicinner_tmp","#typeswitch_tmp","p","p#type","desc","configurable","configurable#type","#member_obj","#member_prop","#loadArray_offset","#member_allocd","#swap","#makearray_pointer_tmp","enumerable","enumerable#type","value","value#type","writable","writable#type","get","get#type","set","set#type","accessor","logictmpi","existingDesc","existingDesc#type","logictmp","flags"],
1822
+ };
1823
+ this.__Object_defineProperties = {
1824
+ wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Target is a non-object`),[11],[32,2],[252,2],[32,3],[16, ...builtin('__Porffor_object_isObjectOrSymbol')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Props needs to be an object or symbol`),[11],[32,2],[252,3],[33,7],[65,0],[33,9],[32,7],[40,1,0],[34,8],[4,64],[32,3],[33,6],[2,64],[32,6],[65,7],[70],[4,64,"TYPESWITCH|Object"],[3,64],[32,7],[40,0,5],[34,12],[65,31],[118],[4,127],[32,12],[65,255,255,255,255,7],[113],[33,12],[65,67],[5],[65,195,1],[11],[33,11],[32,12],[184],[33,10],[2,64],[2,64],[32,0],[32,1],[32,10],[32,11],[32,2],[33,13],[32,10],[33,14],[32,3],[33,6],[2,124],[32,6],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,13],[252,3],[32,3],[32,14],[32,11],[16, ...builtin('__ecma262_ToPropertyKey')],[33,17],[252,3],[32,17],[16, ...builtin('__Porffor_object_get')],[33,4],[12,1],[11],[32,6],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,13],[252,3],[32,3],[32,14],[32,11],[16, ...builtin('__ecma262_ToPropertyKey')],[33,17],[252,3],[32,17],[16, ...builtin('__Porffor_object_get')],[33,4],[12,1],[11],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[16, ...builtin('__Porffor_allocate')],[34,16],[65,1],[54,0,0],[32,16],[32,14],[252,3],[65,2],[108],[32,13],[252,3],[106],[47,0,4],[59,0,4],[32,16],[184],[65,195,0],[33,4],[12,1],[11],[32,6],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,14],[252,3],[65,9],[108],[32,13],[252,3],[106],[34,15],[43,0,4],[32,15],[45,0,12],[33,4],[12,1],[11],[32,6],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11],[32,6],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11],[32,6],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11],[32,6],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,13],[252,3],[40,0,4],[32,14],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11],[32,6],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],...internalThrow(scope, 'TypeError', `Cannot read property of undefined`),[68,0,0,0,0,0,0,0,0],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[16, ...builtin('__Porffor_allocate')],[34,16],[65,1],[54,0,0],[32,16],[32,14],[252,3],[32,13],[252,3],[106],[45,0,4],[58,0,4],[32,16],[184],[65,195,1],[33,4],[12,1],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,4],[11,"TYPESWITCH_end"],[32,4],[16, ...builtin('__Object_defineProperty')],[33,4],[26],[11],[32,7],[65,14],[106],[33,7],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..in on unsupported type`),[11,"TYPESWITCH_end"],[11],[32,0],[32,1],[15]],
1825
+ params: [124,127,124,127], typedParams: 1,
1826
+ returns: [124,127], typedReturns: 1,
1827
+ locals: [127,124,127,127,127,127,124,127,127,124,124,127,127,127], localNames: ["target","target#type","props","props#type","#last_type","#logicinner_tmp","#typeswitch_tmp","#forin_base_pointer","#forin_length","#forin_counter","x","x#type","#forin_tmp","#member_obj","#member_prop","#loadArray_offset","#member_allocd","#swap"],
1828
+ };
1829
+ this.__Object_create = {
1830
+ wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,2],[32,1],[16, ...builtin('__Porffor_object_isObject')],[33,4],[183],[33,5],[32,4],[33,6],[2,124],[32,6],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,6],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,5],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,5],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[98],[32,1],[65,128,1],[114],[65,7],[65,128,1],[114],[71],[114],[4,64],...internalThrow(scope, 'TypeError', `Prototype should be an object or null`),[11],[11],[16, ...builtin('__Porffor_allocate')],[184],[33,7],[32,2],[68,0,0,0,0,0,0,0,0],[98],[32,3],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,7],[65,7],[32,2],[32,3],[16, ...builtin('__Object_defineProperties')],[33,4],[26],[11],[32,7],[65,7],[15]],
1831
+ params: [124,127,124,127], typedParams: 1,
1832
+ returns: [124,127], typedReturns: 1,
1833
+ locals: [127,124,127,124], localNames: ["proto","proto#type","props","props#type","#last_type","#logicinner_tmp","#typeswitch_tmp","out"],
1834
+ };
1835
1835
  this.__Object_groupBy = {
1836
1836
  wasm: (scope, {builtin,internalThrow}) => [[16, ...builtin('__Porffor_allocate')],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[65,1],[33,6],[32,0],[252,3],[33,7],[65,0],[33,9],[32,7],[40,1,0],[34,8],[4,64],[32,1],[33,24],[2,64],[32,24],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,7],[43,0,4],[32,7],[45,0,12],[33,11],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,7],[65,9],[106],[33,7],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[65,195,0],[33,11],[16, ...builtin('__Porffor_allocate')],[34,37],[65,1],[54,0,0],[3,64],[32,37],[32,7],[47,0,4],[59,0,4],[32,37],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,7],[65,2],[106],[33,7],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,7],[43,0,4],[32,7],[45,0,12],[33,11],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,7],[65,9],[106],[33,7],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[106],[45,0,4],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[106],[44,0,4],[183],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[106],[45,0,4],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,2],[108],[106],[47,0,4],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,2],[108],[106],[46,0,4],[183],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,4],[108],[106],[40,0,4],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,4],[108],[106],[40,0,4],[183],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,4],[108],[106],[42,0,4],[187],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,1],[33,11],[3,64],[32,7],[40,0,4],[32,9],[65,8],[108],[106],[43,0,4],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,195,1],[33,11],[16, ...builtin('__Porffor_allocate')],[34,37],[65,1],[54,0,0],[3,64],[32,37],[32,7],[32,9],[106],[45,0,4],[58,0,4],[32,37],[184],[33,10],[2,64],[2,64],[32,2],[33,23],[32,3],[33,24],[2,124],[32,24],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,10],[32,11],[33,14],[33,15],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[32,23],[252,3],[34,20],[65,128,1],[108],[65,2],[106],[45,0,128,128,12,"read func lut"],[34,21],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,20],[65,128,1],[108],[47,0,128,128,12,"read func lut"],[14,4,0,1,2,3,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"no_type_return","constr"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,20],[17,0,0,"constr"],[33,22],[5],[32,20],[17,0,0],[33,22],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,20],[17,1,0,"constr"],[33,22],[5],[32,15],[32,14],[32,20],[17,1,0],[33,22],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,20],[17,2,0],[33,22],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return","constr"],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[65,0],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0,"constr"],[33,22],[5],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,3,0],[33,22],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,12],[32,22],[33,13],[32,4],[65,7],[32,12],[32,13],[16, ...builtin('__Object_hasOwn')],[33,22],[33,25],[32,22],[33,24],[2,124],[32,24],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,24],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,25],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,25],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[16, ...builtin('__Porffor_allocate')],[183],[33,26],[32,4],[33,29],[32,12],[33,30],[32,29],[252,3],[65,7],[32,30],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[32,26],[65,208,0],[16, ...builtin('__Porffor_object_set')],[26],[26],[11],[32,4],[33,29],[32,12],[33,32],[32,29],[252,3],[65,7],[32,32],[32,13],[16, ...builtin('__ecma262_ToPropertyKey')],[33,31],[252,3],[32,31],[16, ...builtin('__Porffor_object_get')],[33,22],[33,35],[32,22],[34,36],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,35],[32,36],[65,128,128,16],[65,1],[54,1,0],[65,128,128,16],[32,10],[57,0,4],[65,128,128,16],[32,11],[58,0,12],[68,0,0,0,0,0,0,16,65],[65,208,0],[16, ...builtin('__Array_prototype_push')],[33,22],[12,1],[11],...internalThrow(scope, 'TypeError', `'push' proto func tried to be called on a type without an impl`),[11,"TYPESWITCH_end"],[26],[11],[32,9],[65,1],[106],[34,9],[32,8],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[11],[32,4],[65,7],[15]],
1837
1837
  params: [124,127,124,127], typedParams: 1,
@@ -4378,7 +4378,7 @@ const makeArray = (scope, decl, global = false, name = '$undeclared', initEmpty
4378
4378
  return [ out, pointer ];
4379
4379
  }
4380
4380
  } else {
4381
- const rawPtr = read_signedLEB128(pointer[0].slice(1));
4381
+ const rawPtr = allocator.lastPtr;
4382
4382
 
4383
4383
  scope.arrays ??= new Map();
4384
4384
  const firstAssign = !scope.arrays.has(uniqueName);
@@ -4386,14 +4386,34 @@ const makeArray = (scope, decl, global = false, name = '$undeclared', initEmpty
4386
4386
 
4387
4387
  const local = global ? globals[name] : scope.locals?.[name];
4388
4388
  if (
4389
- Prefs.data && firstAssign && useRawElements &&
4389
+ Prefs.data && useRawElements &&
4390
4390
  name !== '#member_prop' && name !== '#member_prop_assign' &&
4391
4391
  (!globalThis.precompile || !global)
4392
4392
  ) {
4393
- makeData(scope, elements, rawPtr, itemType, initEmpty);
4393
+ if (Prefs.activeData && firstAssign) {
4394
+ makeData(scope, elements, rawPtr, itemType, initEmpty);
4394
4395
 
4395
- // local value as pointer
4396
- return [ number(rawPtr, intOut ? Valtype.i32 : valtypeBinary), pointer ];
4396
+ // local value as pointer
4397
+ return [ number(rawPtr, intOut ? Valtype.i32 : valtypeBinary), pointer ];
4398
+ }
4399
+
4400
+ if (Prefs.passiveData) {
4401
+ const data = makeData(scope, elements, null, itemType, initEmpty);
4402
+ if (data) {
4403
+ // init data
4404
+ out.push(
4405
+ ...pointer,
4406
+ ...number(0, Valtype.i32),
4407
+ ...number(data.size, Valtype.i32),
4408
+ [ ...Opcodes.memory_init, ...unsignedLEB128(data.idx), 0 ]
4409
+ );
4410
+ }
4411
+
4412
+ // return pointer in out
4413
+ out.push(...number(rawPtr, intOut ? Valtype.i32 : valtypeBinary));
4414
+
4415
+ return [ out, pointer ];
4416
+ }
4397
4417
  }
4398
4418
 
4399
4419
  if (local != null) {
package/compiler/index.js CHANGED
@@ -41,8 +41,12 @@ export default (code, flags) => {
41
41
  const pageSizeOpt = process.argv.find(x => x.startsWith('--page-size='));
42
42
  if (pageSizeOpt) pageSize = parseInt(pageSizeOpt.split('=')[1]) * 1024;
43
43
 
44
- // enable pgo by default for c/native
45
- if (target !== 'wasm') Prefs.pgo = Prefs.pgo === false ? false : true;
44
+ // change some prefs by default for c/native
45
+ if (target !== 'wasm') {
46
+ Prefs.pgo = Prefs.pgo === false ? false : true;
47
+ Prefs.passiveData = false;
48
+ }
49
+
46
50
  if (Prefs.pgo) pgo.setup();
47
51
 
48
52
  if (Prefs.profileCompiler) console.log(`0. began compilation (host runtime startup) in ${performance.now().toFixed(2)}ms`);
@@ -104,8 +108,11 @@ export default (code, flags) => {
104
108
 
105
109
  if (Prefs.profileCompiler) console.log(`3. optimized in ${(performance.now() - t2).toFixed(2)}ms`);
106
110
 
111
+ const out = { funcs, globals, tags, exceptions, pages, data };
112
+ if (globalThis.precompile) return out;
113
+
107
114
  const t3 = performance.now();
108
- const wasm = assemble(funcs, globals, tags, pages, data, flags);
115
+ const wasm = out.wasm = assemble(funcs, globals, tags, pages, data, flags);
109
116
  if (Prefs.profileCompiler) console.log(`4. assembled in ${(performance.now() - t3).toFixed(2)}ms`);
110
117
 
111
118
  if (Prefs.optFuncs) logFuncs(funcs, globals, exceptions);
@@ -117,8 +124,6 @@ export default (code, flags) => {
117
124
  console.log([...pages.keys()].map(x => `\x1B[36m - ${x}\x1B[0m`).join('\n') + '\n');
118
125
  }
119
126
 
120
- const out = { wasm, funcs, globals, tags, exceptions, pages, data };
121
-
122
127
  if (target === 'wasm' && outFile) {
123
128
  fs.writeFileSync(outFile, Buffer.from(wasm));
124
129
 
@@ -24,7 +24,7 @@ const compile = async (file, _funcs) => {
24
24
  first = source.slice(0, source.indexOf('\n'));
25
25
  }
26
26
 
27
- let args = ['--bytestring', '--todo-time=compile', '--truthy=no_nan_negative', '--no-treeshake-wasm-imports', '--no-rm-unused-types', '--scoped-page-names', '--funsafe-no-unlikely-proto-checks', '--fast-length', '--parse-types', '--opt-types'];
27
+ let args = ['--bytestring', '--todo-time=compile', '--truthy=no_nan_negative', '--no-rm-unused-types', '--scoped-page-names', '--funsafe-no-unlikely-proto-checks', '--fast-length', '--parse-types', '--opt-types', '--no-passive-data', '--active-data'];
28
28
  if (first.startsWith('// @porf')) {
29
29
  args = first.slice('// @porf '.length).split(' ').concat(args);
30
30
  }
package/compiler/prefs.js CHANGED
@@ -1,4 +1,4 @@
1
- const onByDefault = [ 'bytestring', 'treeshakeWasmImports', 'alwaysMemory', 'indirectCalls', 'optUnused', 'data', 'rmUnusedTypes' ];
1
+ const onByDefault = [ 'bytestring', 'treeshakeWasmImports', 'alwaysMemory', 'indirectCalls', 'optUnused', 'data', 'passiveData', 'rmUnusedTypes' ];
2
2
 
3
3
  let cache = {};
4
4
  const obj = new Proxy({}, {
package/compiler/wrap.js CHANGED
@@ -116,8 +116,12 @@ ${flags & 0b0001 ? ` get func idx: ${get}
116
116
 
117
117
  if (!func) return function () {};
118
118
 
119
+ let name = func.name;
120
+ // eg: __String_prototype_toLowerCase -> toLowerCase
121
+ if (name.startsWith('__')) name = name.split('_').pop();
122
+
119
123
  // make fake empty func for repl/etc
120
- return {[func.name]() {}}[func.name];
124
+ return {[name]() {}}[name];
121
125
  }
122
126
 
123
127
  case TYPES.string: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4
- "version": "0.24.1+355a35a99",
4
+ "version": "0.24.3+16e2dbe5f",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runner/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.24.1+355a35a99';
3
+ globalThis.version = '0.24.3+16e2dbe5f';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {