porffor 0.22.1 → 0.22.2

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.
@@ -76,22 +76,33 @@ export const __Porffor_object_lookup = (_this: object, target: any): i32 => {
76
76
  for (; ptr < endPtr; ptr += 14) {
77
77
  const keyRaw: i32 = Porffor.wasm.i32.load(ptr, 0, 0);
78
78
  if (keyRaw == 0) break; // ran out of keys
79
- if (keyRaw >>> 31) continue; // MSB set, regular string type
79
+ if (keyRaw >>> 31) continue; // MSB 1 set, not a bytestring
80
80
 
81
81
  const keyStr: bytestring = keyRaw;
82
82
  if (keyStr == targetStr) return ptr;
83
83
  }
84
- } else {
84
+ } else if (targetType == Porffor.TYPES.string) {
85
85
  const targetStr: string = target;
86
86
  for (; ptr < endPtr; ptr += 14) {
87
87
  const keyRaw: i32 = Porffor.wasm.i32.load(ptr, 0, 0);
88
88
  if (keyRaw == 0) break; // ran out of keys
89
- if (keyRaw >>> 31) { // MSB set, regular string type
89
+ if (keyRaw >>> 30 == 2) { // MSB 1 set and 2 unset, regular string type
90
90
  const keyStr: string = keyRaw & 0x7FFFFFFF; // unset MSB
91
91
  if (keyStr == targetStr) return ptr;
92
92
  }
93
93
  }
94
- }
94
+ } else { // symbol
95
+ const targetSym: symbol = target;
96
+ for (; ptr < endPtr; ptr += 14) {
97
+ const keyRaw: i32 = Porffor.wasm.i32.load(ptr, 0, 0);
98
+ if (keyRaw == 0) break; // ran out of keys
99
+ if (keyRaw >>> 30 == 3) { // MSB 1 and 2 set, symbol
100
+ const keySym: symbol = keyRaw & 0x3FFFFFFF; // unset MSB
101
+ if (keySym == targetSym) return ptr;
102
+ }
103
+ }
104
+ }
105
+
95
106
 
96
107
  return -1;
97
108
  };
@@ -127,6 +138,19 @@ i32.shr_u
127
138
  return`;
128
139
  };
129
140
 
141
+ export const __Porffor_object_writeKey = (ptr: i32, key: any) => {
142
+ // encode key type
143
+ let keyEnc: i32 = Porffor.wasm`local.get ${key}`;
144
+
145
+ // set MSB 1 if regular string
146
+ if (Porffor.wasm`local.get ${key+1}` == Porffor.TYPES.string) keyEnc |= 0x80000000;
147
+ // set MSB 1&2 if symbol
148
+ else if (Porffor.wasm`local.get ${key+1}` == Porffor.TYPES.symbol) keyEnc |= 0xc0000000;
149
+
150
+ // write encoded key to ptr
151
+ Porffor.wasm.i32.store(ptr, keyEnc, 0, 0);
152
+ };
153
+
130
154
  export const __Porffor_object_set = (_this: object, key: any, value: any): any => {
131
155
  let entryPtr: i32 = __Porffor_object_lookup(_this, key);
132
156
  let flags: i32;
@@ -144,12 +168,7 @@ export const __Porffor_object_set = (_this: object, key: any, value: any): any =
144
168
  // entryPtr = current end of object
145
169
  entryPtr = Porffor.wasm`local.get ${_this}` + 5 + size * 14;
146
170
 
147
- // encode key type, set MSB if regular string
148
- let keyEnc: i32 = Porffor.wasm`local.get ${key}`;
149
- if (Porffor.wasm`local.get ${key+1}` == Porffor.TYPES.string) keyEnc |= 0x80000000;
150
-
151
- // write key value and type (MSB)
152
- Porffor.wasm.i32.store(entryPtr, keyEnc, 0, 0);
171
+ __Porffor_object_writeKey(entryPtr, key);
153
172
 
154
173
  // flags = writable, enumerable, configurable, not accessor
155
174
  flags = 0b1110;
@@ -201,12 +220,7 @@ export const __Porffor_object_define = (_this: object, key: any, value: any, fla
201
220
  // entryPtr = current end of object
202
221
  entryPtr = Porffor.wasm`local.get ${_this}` + 5 + size * 14;
203
222
 
204
- // encode key type, set MSB if regular string
205
- let keyEnc: i32 = Porffor.wasm`local.get ${key}`;
206
- if (Porffor.wasm`local.get ${key+1}` == Porffor.TYPES.string) keyEnc |= 0x80000000;
207
-
208
- // write key value and type (MSB)
209
- Porffor.wasm.i32.store(entryPtr, keyEnc, 0, 0);
223
+ __Porffor_object_writeKey(entryPtr, key);
210
224
  } else {
211
225
  // existing entry, check and maybe modify it
212
226
  const tail: i32 = Porffor.wasm.i32.load16_u(entryPtr, 0, 12);
@@ -14,9 +14,7 @@ export const Object = function (value: any): object {
14
14
  return value;
15
15
  };
16
16
 
17
- export const __Object_keys = (obj: any): any[] => {
18
- if (obj == null) throw new TypeError('Argument is nullish, expected object');
19
-
17
+ export const __Porffor_object_keys = (obj: any, enumerableOnly: boolean): any[] => {
20
18
  const out: any[] = Porffor.allocate();
21
19
 
22
20
  const t: i32 = Porffor.rawType(obj);
@@ -26,24 +24,31 @@ export const __Object_keys = (obj: any): any[] => {
26
24
 
27
25
  let i: i32 = 0;
28
26
  for (; ptr < endPtr; ptr += 14) {
29
- if (!Porffor.object.isEnumerable(ptr)) continue;
27
+ if (enumerableOnly && !Porffor.object.isEnumerable(ptr)) continue;
30
28
 
31
29
  let key: any;
32
30
  Porffor.wasm`local raw i32
31
+ local msb i32
33
32
  local.get ${ptr}
34
33
  i32.to_u
35
34
  i32.load 0 0
36
35
  local.set raw
37
36
 
38
37
  local.get raw
39
- i32.const 31
38
+ i32.const 30
40
39
  i32.shr_u
40
+ local.tee msb
41
41
  if 127
42
- i32.const 67
42
+ i32.const 5 ;; symbol
43
+ i32.const 67 ;; string
44
+ local.get msb
45
+ i32.const 3
46
+ i32.eq
47
+ select
43
48
  local.set ${key+1}
44
49
 
45
50
  local.get raw
46
- i32.const 2147483647
51
+ i32.const 1073741823
47
52
  i32.and
48
53
  else
49
54
  i32.const 195
@@ -74,6 +79,11 @@ local.set ${key}`;
74
79
  return out;
75
80
  };
76
81
 
82
+ export const __Object_keys = (obj: any): any[] => {
83
+ if (obj == null) throw new TypeError('Argument is nullish, expected object');
84
+ return __Porffor_object_keys(obj, true);
85
+ };
86
+
77
87
  export const __Object_values = (obj: any): any[] => {
78
88
  if (obj == null) throw new TypeError('Argument is nullish, expected object');
79
89
 
@@ -445,60 +455,7 @@ export const __Object_getOwnPropertyDescriptors = (obj: any): any => {
445
455
 
446
456
  export const __Object_getOwnPropertyNames = (obj: any): any[] => {
447
457
  if (obj == null) throw new TypeError('Argument is nullish, expected object');
448
-
449
- const out: any[] = Porffor.allocate();
450
-
451
- const t: i32 = Porffor.rawType(obj);
452
- if (t == Porffor.TYPES.object) {
453
- let ptr: i32 = Porffor.wasm`local.get ${obj}` + 5;
454
- const endPtr: i32 = ptr + Porffor.wasm.i32.load(obj, 0, 0) * 14;
455
-
456
- let i: i32 = 0;
457
- for (; ptr < endPtr; ptr += 14) {
458
- let key: any;
459
- Porffor.wasm`local raw i32
460
- local.get ${ptr}
461
- i32.to_u
462
- i32.load 0 0
463
- local.set raw
464
-
465
- local.get raw
466
- i32.const 31
467
- i32.shr_u
468
- if 127
469
- i32.const 67
470
- local.set ${key+1}
471
-
472
- local.get raw
473
- i32.const 2147483647
474
- i32.and
475
- else
476
- i32.const 195
477
- local.set ${key+1}
478
-
479
- local.get raw
480
- end
481
- i32.from_u
482
- local.set ${key}`;
483
-
484
- out[i++] = key;
485
- }
486
-
487
- out.length = i;
488
- } else if (Porffor.fastOr(
489
- t == Porffor.TYPES.array,
490
- t == Porffor.TYPES.bytestring,
491
- t == Porffor.TYPES.string
492
- )) {
493
- const len: i32 = obj.length;
494
- out.length = len;
495
-
496
- for (let i: i32 = 0; i < len; i++) {
497
- out[i] = __Number_prototype_toString(i);
498
- }
499
- }
500
-
501
- return out;
458
+ return __Porffor_object_keys(obj, false);
502
459
  };
503
460
 
504
461
 
@@ -184,8 +184,8 @@ const generate = (scope, decl, global = false, name = undefined, valueUnused = f
184
184
  let out = [];
185
185
 
186
186
  for (const line of str.split('\n')) {
187
- const asm = line.trim().split(';;')[0].split(' ');
188
- if (asm[0] === '') continue; // blank
187
+ const asm = line.trim().split(';;')[0].split(' ').filter(x => x);
188
+ if (!asm[0]) continue; // blank
189
189
 
190
190
  if (asm[0] === 'local') {
191
191
  const [ name, type ] = asm.slice(1);
@@ -27,10 +27,10 @@ export const BuiltinFuncs = function() {
27
27
  locals: [127,127,127,127], localNames: ["_this","_this#type","dataAnd","dataAnd#type","accessorAnd","accessorAnd#type","dataExpected","dataExpected#type","accessorExpected","accessorExpected#type","ptr","size","endPtr","flags"],
28
28
  };
29
29
  this.__Porffor_object_lookup = {
30
- wasm: (scope, {}) => [[32,3],[33,4],[32,0],[65,5],[106],[33,5],[32,0],[40,0,0],[33,6],[32,5],[32,6],[65,14],[108],[106],[33,7],[32,4],[65,195,1],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,31],[118],[4,64],[12,1],[11],[32,9],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[33,15],[3,64],[32,14],[32,11],[106],[45,0,4],[32,14],[32,13],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,1],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,31],[118],[4,64],[32,9],[65,255,255,255,255,7],[113],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[65,2],[108],[33,15],[3,64],[32,14],[32,11],[106],[47,0,4],[32,14],[32,13],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,2],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[11],[65,127],[65,1],[15]],
30
+ wasm: (scope, {}) => [[32,3],[33,4],[32,0],[65,5],[106],[33,5],[32,0],[40,0,0],[33,6],[32,5],[32,6],[65,14],[108],[106],[33,7],[32,4],[65,195,1],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,31],[118],[4,64],[12,1],[11],[32,9],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[33,15],[3,64],[32,14],[32,11],[106],[45,0,4],[32,14],[32,13],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,1],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,4],[65,195,0],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,2],[70],[4,64],[32,9],[65,255,255,255,255,7],[113],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[65,2],[108],[33,15],[3,64],[32,14],[32,11],[106],[47,0,4],[32,14],[32,13],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,2],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,2],[33,16],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,3],[70],[4,64],[32,9],[65,255,255,255,255,3],[113],[34,17],[32,16],[70],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[11],[11],[65,127],[65,1],[15]],
31
31
  params: [127,127,127,127], typedParams: 1,
32
32
  returns: [127,127], typedReturns: 1,
33
- locals: [127,127,127,127,127,127,127,127,127,127,127,127], localNames: ["_this","_this#type","target","target#type","targetType","ptr","size","endPtr","targetStr","keyRaw","keyStr","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end"],
33
+ locals: [127,127,127,127,127,127,127,127,127,127,127,127,127,127], localNames: ["_this","_this#type","target","target#type","targetType","ptr","size","endPtr","targetStr","keyRaw","keyStr","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end","targetSym","keySym"],
34
34
  };
35
35
  this.__Porffor_object_get = {
36
36
  wasm: (scope, {builtin}) => [[32,0],[65,7],[32,2],[32,3],[16, ...builtin('__Porffor_object_lookup')],[26],[34,4],[65,127],[70],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,4],[47,0,12],[34,6],[65,1],[113],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,4],[43,0,4],[32,6],[65,8],[118],[15]],
@@ -38,17 +38,23 @@ export const BuiltinFuncs = function() {
38
38
  returns: [124,127], typedReturns: 1,
39
39
  locals: [127,127,127], localNames: ["_this","_this#type","key","key#type","entryPtr","#last_type","tail"],
40
40
  };
41
+ this.__Porffor_object_writeKey = {
42
+ wasm: (scope, {}) => [[32,2],[33,4],[32,3],[65,195,0],[70],[4,64],[32,4],[65,128,128,128,128,120],[114],[33,4],[5],[32,3],[65,5],[70],[4,64],[32,4],[65,128,128,128,128,124],[114],[33,4],[11],[11],[32,0],[32,4],[54,0,0],[65,0],[65,128,1],[15]],
43
+ params: [127,127,127,127], typedParams: 1,
44
+ returns: [127,127], typedReturns: 1,
45
+ locals: [127], localNames: ["ptr","ptr#type","key","key#type","keyEnc"],
46
+ };
41
47
  this.__Porffor_object_set = {
42
- wasm: (scope, {builtin}) => [[32,0],[65,7],[32,2],[32,3],[16, ...builtin('__Porffor_object_lookup')],[26],[34,6],[65,127],[70],[4,64],[32,0],[65,7],[16, ...builtin('__Porffor_object_isInextensible')],[33,7],[33,9],[32,7],[33,10],[2,127],[32,10],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,9],[40,1,0],[12,1],[11],[32,10],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[40,1,0],[12,1],[11],[32,9],[11,"TYPESWITCH_end"],[4,64],[32,4],[32,5],[15],[11],[32,0],[40,0,0],[33,11],[32,0],[32,11],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,11],[65,14],[108],[106],[33,6],[32,2],[33,12],[32,3],[65,195,0],[70],[4,64],[32,12],[65,128,128,128,128,120],[114],[33,12],[11],[32,6],[32,12],[54,0,0],[65,14],[33,8],[5],[32,6],[47,0,12],[34,13],[65,1],[113],[4,64],[32,4],[32,5],[15],[11],[32,13],[65,8],[113],[69],[4,64],[32,4],[32,5],[15],[11],[32,13],[65,255,1],[113],[33,8],[11],[32,6],[32,4],[57,0,4],[32,6],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
48
+ wasm: (scope, {builtin}) => [[32,0],[65,7],[32,2],[32,3],[16, ...builtin('__Porffor_object_lookup')],[26],[34,6],[65,127],[70],[4,64],[32,0],[65,7],[16, ...builtin('__Porffor_object_isInextensible')],[33,7],[33,9],[32,7],[33,10],[2,127],[32,10],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,9],[40,1,0],[12,1],[11],[32,10],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[40,1,0],[12,1],[11],[32,9],[11,"TYPESWITCH_end"],[4,64],[32,4],[32,5],[15],[11],[32,0],[40,0,0],[33,11],[32,0],[32,11],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,11],[65,14],[108],[106],[34,6],[65,1],[32,2],[32,3],[16, ...builtin('__Porffor_object_writeKey')],[33,7],[26],[65,14],[33,8],[5],[32,6],[47,0,12],[34,12],[65,1],[113],[4,64],[32,4],[32,5],[15],[11],[32,12],[65,8],[113],[69],[4,64],[32,4],[32,5],[15],[11],[32,12],[65,255,1],[113],[33,8],[11],[32,6],[32,4],[57,0,4],[32,6],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
43
49
  params: [127,127,127,127,124,127], typedParams: 1,
44
50
  returns: [124,127], typedReturns: 1,
45
- locals: [127,127,127,127,127,127,127,127], localNames: ["_this","_this#type","key","key#type","value","value#type","entryPtr","#last_type","flags","#logicinner_tmp","#typeswitch_tmp","size","keyEnc","tail"],
51
+ locals: [127,127,127,127,127,127,127], localNames: ["_this","_this#type","key","key#type","value","value#type","entryPtr","#last_type","flags","#logicinner_tmp","#typeswitch_tmp","size","tail"],
46
52
  };
47
53
  this.__Porffor_object_define = {
48
- wasm: (scope, {builtin,internalThrow}) => [[32,0],[65,7],[32,2],[32,3],[16, ...builtin('__Porffor_object_lookup')],[26],[34,8],[65,127],[70],[4,64],[32,0],[65,7],[16, ...builtin('__Porffor_object_isInextensible')],[33,9],[33,10],[32,9],[33,11],[2,127],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[40,1,0],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[40,1,0],[12,1],[11],[32,10],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Cannot define property, object is inextensible`),[11],[32,0],[40,0,0],[33,12],[32,0],[32,12],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,12],[65,14],[108],[106],[33,8],[32,2],[33,13],[32,3],[65,195,0],[70],[4,64],[32,13],[65,128,128,128,128,120],[114],[33,13],[11],[32,8],[32,13],[54,0,0],[5],[32,8],[47,0,12],[34,14],[65,2],[113],[69],[4,64],[32,14],[65,15],[113],[32,6],[71],[4,64],[65,0],[33,15],[32,14],[65,7],[113],[32,6],[71],[4,64],[65,1],[33,15],[5],[32,14],[65,1],[113],[69],[34,16],[4,127],[32,14],[65,8],[113],[69],[65,2],[33,9],[5],[32,16],[65,2],[33,9],[11],[33,10],[32,9],[33,11],[2,127],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[40,1,0],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[40,1,0],[12,1],[11],[32,10],[11,"TYPESWITCH_end"],[4,64],[32,6],[65,8],[113],[4,64],[65,1],[33,15],[5],[32,8],[43,0,4],[32,4],[98],[32,8],[45,0,13],[32,5],[71],[114],[33,15],[11],[11],[11],[32,15],[4,64],...internalThrow(scope, 'TypeError', `Cannot redefine property`),[11],[11],[11],[11],[32,8],[32,4],[57,0,4],[32,8],[32,6],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
54
+ wasm: (scope, {builtin,internalThrow}) => [[32,0],[65,7],[32,2],[32,3],[16, ...builtin('__Porffor_object_lookup')],[26],[34,8],[65,127],[70],[4,64],[32,0],[65,7],[16, ...builtin('__Porffor_object_isInextensible')],[33,9],[33,10],[32,9],[33,11],[2,127],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[40,1,0],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[40,1,0],[12,1],[11],[32,10],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Cannot define property, object is inextensible`),[11],[32,0],[40,0,0],[33,12],[32,0],[32,12],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,12],[65,14],[108],[106],[34,8],[65,1],[32,2],[32,3],[16, ...builtin('__Porffor_object_writeKey')],[33,9],[26],[5],[32,8],[47,0,12],[34,13],[65,2],[113],[69],[4,64],[32,13],[65,15],[113],[32,6],[71],[4,64],[65,0],[33,14],[32,13],[65,7],[113],[32,6],[71],[4,64],[65,1],[33,14],[5],[32,13],[65,1],[113],[69],[34,15],[4,127],[32,13],[65,8],[113],[69],[65,2],[33,9],[5],[32,15],[65,2],[33,9],[11],[33,10],[32,9],[33,11],[2,127],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[40,1,0],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[40,1,0],[12,1],[11],[32,10],[11,"TYPESWITCH_end"],[4,64],[32,6],[65,8],[113],[4,64],[65,1],[33,14],[5],[32,8],[43,0,4],[32,4],[98],[32,8],[45,0,13],[32,5],[71],[114],[33,14],[11],[11],[11],[32,14],[4,64],...internalThrow(scope, 'TypeError', `Cannot redefine property`),[11],[11],[11],[11],[32,8],[32,4],[57,0,4],[32,8],[32,6],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
49
55
  params: [127,127,127,127,124,127,127,127], typedParams: 1,
50
56
  returns: [127,127], typedReturns: 1,
51
- locals: [127,127,127,127,127,127,127,127,127], localNames: ["_this","_this#type","key","key#type","value","value#type","flags","flags#type","entryPtr","#last_type","#logicinner_tmp","#typeswitch_tmp","size","keyEnc","tail","err","logictmp"],
57
+ locals: [127,127,127,127,127,127,127,127], localNames: ["_this","_this#type","key","key#type","value","value#type","flags","flags#type","entryPtr","#last_type","#logicinner_tmp","#typeswitch_tmp","size","tail","err","logictmp"],
52
58
  };
53
59
  this.__Porffor_object_isEnumerable = {
54
60
  wasm: (scope, {}) => [[32,0],[45,0,12],[65,4],[113],[34,2],[65,2],[15]],
@@ -1670,11 +1676,17 @@ export const BuiltinFuncs = function() {
1670
1676
  locals: [127,124,127,124], localNames: ["value","value#type","#last_type","#logicinner_tmp","#typeswitch_tmp","obj"],
1671
1677
  constr: 1,
1672
1678
  };
1679
+ this.__Porffor_object_keys = {
1680
+ wasm: (scope, {builtin}) => [[16, ...builtin('__Porffor_allocate')],[183],[33,4],[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[34,5],[68,0,0,0,0,0,0,28,64],[97],[4,64],[32,0],[68,0,0,0,0,0,0,20,64],[160],[34,6],[32,0],[252,2],[40,0,0],[183],[68,0,0,0,0,0,0,44,64],[162],[160],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,6],[32,7],[99],[4,64],[2,64],[32,2],[34,12],[252,3],[4,124],[32,6],[252,2],[65,1],[16, ...builtin('__Porffor_object_isEnumerable')],[33,9],[183],[33,10],[32,9],[33,11],[2,124],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,10],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[65,2],[33,9],[5],[32,12],[65,2],[33,9],[11],[33,10],[32,9],[33,11],[2,127],[32,11],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,10],[252,3],[40,1,0],[12,1],[11],[32,11],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,10],[252,3],[40,1,0],[12,1],[11],[32,10],[252,3],[11,"TYPESWITCH_end"],[4,64],[12,1],[11],[32,6],[252,3],[40,0,0],[34,15],[65,30],[118],[34,16],[4,127],[65,5],[65,195,0],[32,16],[65,3],[70],[27],[33,14],[32,15],[65,255,255,255,255,3],[113],[5],[65,195,1],[33,14],[32,15],[11],[184],[33,13],[32,4],[33,19],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[33,20],[32,19],[252,3],[32,20],[252,3],[65,9],[108],[106],[34,18],[32,13],[34,17],[57,0,4],[32,18],[32,14],[58,0,12],[11],[32,6],[68,0,0,0,0,0,0,44,64],[160],[34,6],[12,1],[11],[11],[32,4],[252,3],[32,8],[34,22],[252,3],[54,1,0],[5],[32,5],[68,0,0,0,0,0,0,84,64],[97],[32,5],[68,0,0,0,0,0,96,104,64],[97],[114],[32,5],[68,0,0,0,0,0,192,80,64],[97],[114],[4,64],[32,0],[252,3],[40,1,0],[184],[33,23],[32,4],[252,3],[32,23],[34,22],[252,3],[54,1,0],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,23],[99],[4,64],[32,4],[33,19],[32,8],[33,20],[32,19],[252,3],[32,20],[252,3],[65,9],[108],[106],[34,18],[32,8],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, ...builtin('__Number_prototype_toString')],[33,9],[34,17],[57,0,4],[32,18],[32,9],[58,0,12],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[12,1],[11],[11],[11],[11],[32,4],[65,208,0],[15]],
1681
+ params: [124,127,124,127], typedParams: 1,
1682
+ returns: [124,127], typedReturns: 1,
1683
+ locals: [124,124,124,124,124,127,124,127,124,124,127,127,127,124,127,124,124,127,124,124], localNames: ["obj","obj#type","enumerableOnly","enumerableOnly#type","out","t","ptr","endPtr","i","#last_type","#logicinner_tmp","#typeswitch_tmp","logictmp","key","key#type","raw","msb","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#swap","__length_setter_tmp","len"],
1684
+ };
1673
1685
  this.__Object_keys = {
1674
- wasm: (scope, {builtin,internalThrow}) => [[32,0],[33,2],[32,1],[33,3],[2,127],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,2],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,3],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Argument is nullish, expected object`),[11],[16, ...builtin('__Porffor_allocate')],[183],[33,4],[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[34,5],[68,0,0,0,0,0,0,28,64],[97],[4,64],[32,0],[68,0,0,0,0,0,0,20,64],[160],[34,6],[32,0],[252,2],[40,0,0],[183],[68,0,0,0,0,0,0,44,64],[162],[160],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,6],[32,7],[99],[4,64],[2,64],[32,6],[252,2],[65,1],[16, ...builtin('__Porffor_object_isEnumerable')],[33,9],[183],[33,2],[32,9],[33,3],[2,124],[32,3],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,2],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,2],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[12,1],[11],[32,6],[252,3],[40,0,0],[34,12],[65,31],[118],[4,127],[65,195,0],[33,11],[32,12],[65,255,255,255,255,7],[113],[5],[65,195,1],[33,11],[32,12],[11],[184],[33,10],[32,4],[33,15],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[33,16],[32,15],[252,3],[32,16],[252,3],[65,9],[108],[106],[34,14],[32,10],[34,13],[57,0,4],[32,14],[32,11],[58,0,12],[11],[32,6],[68,0,0,0,0,0,0,44,64],[160],[34,6],[12,1],[11],[11],[32,4],[252,3],[32,8],[34,18],[252,3],[54,1,0],[5],[32,5],[68,0,0,0,0,0,0,84,64],[97],[32,5],[68,0,0,0,0,0,96,104,64],[97],[114],[32,5],[68,0,0,0,0,0,192,80,64],[97],[114],[4,64],[32,0],[252,3],[40,1,0],[184],[33,19],[32,4],[252,3],[32,19],[34,18],[252,3],[54,1,0],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,19],[99],[4,64],[32,4],[33,15],[32,8],[33,16],[32,15],[252,3],[32,16],[252,3],[65,9],[108],[106],[34,14],[32,8],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, ...builtin('__Number_prototype_toString')],[33,9],[34,13],[57,0,4],[32,14],[32,9],[58,0,12],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[12,1],[11],[11],[11],[11],[32,4],[65,208,0],[15]],
1686
+ wasm: (scope, {builtin,internalThrow}) => [[32,0],[33,2],[32,1],[33,3],[2,127],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,2],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,3],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Argument is nullish, expected object`),[11],[32,0],[32,1],[68,0,0,0,0,0,0,240,63],[65,2],[16, ...builtin('__Porffor_object_keys')],[34,4],[15]],
1675
1687
  params: [124,127], typedParams: 1,
1676
1688
  returns: [124,127], typedReturns: 1,
1677
- locals: [124,127,124,124,124,124,124,127,124,127,127,124,127,124,124,127,124,124], localNames: ["obj","obj#type","#logicinner_tmp","#typeswitch_tmp","out","t","ptr","endPtr","i","#last_type","key","key#type","raw","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#swap","__length_setter_tmp","len"],
1689
+ locals: [124,127,127], localNames: ["obj","obj#type","#logicinner_tmp","#typeswitch_tmp","#last_type"],
1678
1690
  };
1679
1691
  this.__Object_values = {
1680
1692
  wasm: (scope, {builtin,internalThrow}) => [[32,0],[33,2],[32,1],[33,3],[2,127],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,2],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,3],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Argument is nullish, expected object`),[11],[16, ...builtin('__Porffor_allocate')],[183],[33,4],[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[34,5],[68,0,0,0,0,0,0,28,64],[97],[4,64],[32,0],[68,0,0,0,0,0,0,20,64],[160],[34,6],[32,0],[252,2],[40,0,0],[183],[68,0,0,0,0,0,0,44,64],[162],[160],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,6],[32,7],[99],[4,64],[2,64],[32,6],[252,2],[65,1],[16, ...builtin('__Porffor_object_isEnumerable')],[33,9],[183],[33,2],[32,9],[33,3],[2,124],[32,3],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,2],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,2],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],[12,1],[11],[32,6],[252,3],[34,12],[43,0,4],[33,10],[32,12],[45,0,13],[33,11],[32,4],[33,15],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[33,16],[32,15],[252,3],[32,16],[252,3],[65,9],[108],[106],[34,14],[32,10],[34,13],[57,0,4],[32,14],[32,11],[58,0,12],[11],[32,6],[68,0,0,0,0,0,0,44,64],[160],[34,6],[12,1],[11],[11],[32,4],[252,3],[32,8],[34,18],[252,3],[54,1,0],[5],[32,5],[68,0,0,0,0,0,0,84,64],[97],[32,5],[68,0,0,0,0,0,96,104,64],[97],[114],[32,5],[68,0,0,0,0,0,192,80,64],[97],[114],[4,64],[32,0],[252,3],[40,1,0],[184],[33,19],[32,4],[252,3],[32,19],[34,18],[252,3],[54,1,0],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,19],[99],[4,64],[2,64],[32,4],[33,15],[32,8],[33,16],[32,15],[252,3],[32,16],[252,3],[65,9],[108],[106],[34,14],[32,0],[33,15],[32,8],[33,20],[32,1],[33,3],[2,124],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,15],[252,3],[32,1],[32,20],[65,1],[16, ...builtin('__ecma262_ToPropertyKey')],[33,17],[252,3],[32,17],[16, ...builtin('__Porffor_object_get')],[33,9],[12,1],[11],[32,3],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[65,0],[65,1],[54,0,0],[65,0],[32,20],[252,3],[65,2],[108],[32,15],[252,3],[106],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[65,195,0],[33,9],[12,1],[11],[32,3],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,20],[252,3],[65,9],[108],[32,15],[252,3],[106],[34,21],[43,0,4],[32,21],[45,0,12],[33,9],[12,1],[11],[32,3],[65,216,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11],[32,3],[65,217,0],[70],[4,64,"TYPESWITCH|Int8Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[106],[44,0,4],[183],[65,1],[33,9],[12,1],[11],[32,3],[65,218,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11],[32,3],[65,219,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,9],[12,1],[11],[32,3],[65,220,0],[70],[4,64,"TYPESWITCH|Int16Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,9],[12,1],[11],[32,3],[65,221,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,9],[12,1],[11],[32,3],[65,222,0],[70],[4,64,"TYPESWITCH|Int32Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,9],[12,1],[11],[32,3],[65,223,0],[70],[4,64,"TYPESWITCH|Float32Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,9],[12,1],[11],[32,3],[65,224,0],[70],[4,64,"TYPESWITCH|Float64Array"],[32,15],[252,3],[40,0,4],[32,20],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,9],[12,1],[11],[32,3],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,0],[65,1],[54,0,0],[65,0],[32,20],[252,3],[32,15],[252,3],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[65,195,1],[33,9],[12,1],[11],...internalThrow(scope, 'TypeError', `Unsupported member expression object`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[34,13],[57,0,4],[32,14],[32,9],[58,0,12],[11],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[12,1],[11],[11],[11],[11],[32,4],[65,208,0],[15]],
@@ -1792,10 +1804,10 @@ export const BuiltinFuncs = function() {
1792
1804
  locals: [124,127,127,127,124,127,127,124,127,124,124,127,127,127], localNames: ["obj","obj#type","out","#forin_base_pointer","#forin_length","#forin_counter","x","x#type","#forin_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#last_type","#swap","#typeswitch_tmp"],
1793
1805
  };
1794
1806
  this.__Object_getOwnPropertyNames = {
1795
- wasm: (scope, {builtin,internalThrow}) => [[32,0],[33,2],[32,1],[33,3],[2,127],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,2],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,3],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Argument is nullish, expected object`),[11],[16, ...builtin('__Porffor_allocate')],[183],[33,4],[32,0],[32,1],[16, ...builtin('__Porffor_rawType')],[34,5],[68,0,0,0,0,0,0,28,64],[97],[4,64],[32,0],[68,0,0,0,0,0,0,20,64],[160],[34,6],[32,0],[252,2],[40,0,0],[183],[68,0,0,0,0,0,0,44,64],[162],[160],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,6],[32,7],[99],[4,64],[32,6],[252,3],[40,0,0],[34,11],[65,31],[118],[4,127],[65,195,0],[33,10],[32,11],[65,255,255,255,255,7],[113],[5],[65,195,1],[33,10],[32,11],[11],[184],[33,9],[32,4],[33,14],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[33,15],[32,14],[252,3],[32,15],[252,3],[65,9],[108],[106],[34,13],[32,9],[34,12],[57,0,4],[32,13],[32,10],[58,0,12],[32,6],[68,0,0,0,0,0,0,44,64],[160],[34,6],[12,1],[11],[11],[32,4],[252,3],[32,8],[34,17],[252,3],[54,1,0],[5],[32,5],[68,0,0,0,0,0,0,84,64],[97],[32,5],[68,0,0,0,0,0,96,104,64],[97],[114],[32,5],[68,0,0,0,0,0,192,80,64],[97],[114],[4,64],[32,0],[252,3],[40,1,0],[184],[33,18],[32,4],[252,3],[32,18],[34,17],[252,3],[54,1,0],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,18],[99],[4,64],[32,4],[33,14],[32,8],[33,15],[32,14],[252,3],[32,15],[252,3],[65,9],[108],[106],[34,13],[32,8],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, ...builtin('__Number_prototype_toString')],[33,19],[34,12],[57,0,4],[32,13],[32,19],[58,0,12],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[12,1],[11],[11],[11],[11],[32,4],[65,208,0],[15]],
1807
+ wasm: (scope, {builtin,internalThrow}) => [[32,0],[33,2],[32,1],[33,3],[2,127],[32,3],[65,7],[70],[4,64,"TYPESWITCH|Object"],[32,2],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[32,3],[65,128,1],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'TypeError', `Argument is nullish, expected object`),[11],[32,0],[32,1],[68,0,0,0,0,0,0,0,0],[65,2],[16, ...builtin('__Porffor_object_keys')],[34,4],[15]],
1796
1808
  params: [124,127], typedParams: 1,
1797
1809
  returns: [124,127], typedReturns: 1,
1798
- locals: [124,127,124,124,124,124,124,124,127,127,124,127,124,124,127,124,124,127], localNames: ["obj","obj#type","#logicinner_tmp","#typeswitch_tmp","out","t","ptr","endPtr","i","key","key#type","raw","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#swap","__length_setter_tmp","len","#last_type"],
1810
+ locals: [124,127,127], localNames: ["obj","obj#type","#logicinner_tmp","#typeswitch_tmp","#last_type"],
1799
1811
  };
1800
1812
  this.__Object_groupBy = {
1801
1813
  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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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],[65,128,128,12],[65,1],[54,0,0],[3,64],[65,128,128,12],[32,7],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,8,65],[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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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],[65,128,128,12],[65,1],[54,0,0],[3,64],[65,128,128,12],[32,7],[32,9],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,8,65],[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,3],[108],[65,2],[106],[45,0,128,128,16,"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,3],[108],[47,0,128,128,16,"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,34],[32,22],[34,35],[33,24],[2,124],[32,24],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[32,34],[32,35],[65,128,128,20],[65,1],[54,1,0],[65,128,128,20],[32,10],[57,0,4],[65,128,128,20],[32,11],[58,0,12],[68,0,0,0,0,0,0,20,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]],
package/compiler/wrap.js CHANGED
@@ -52,8 +52,17 @@ const porfToJSValue = ({ memory, funcs, pages }, value, type) => {
52
52
  const offset = 5 + (i * 14);
53
53
 
54
54
  const kRaw = read(Uint32Array, memory, value + offset, 1)[0];
55
- const kType = kRaw >>> 31 ? TYPES.string : TYPES.bytestring;
56
- const kValue = kRaw & 0x7fffffff;
55
+ let kType = TYPES.bytestring;
56
+ switch (kRaw >>> 30) {
57
+ case 2:
58
+ kType = TYPES.string;
59
+ break;
60
+
61
+ case 3:
62
+ kType = TYPES.symbol;
63
+ break;
64
+ }
65
+ const kValue = kRaw & 0x3fffffff;
57
66
  const k = porfToJSValue({ memory, funcs, pages }, kValue, kType);
58
67
 
59
68
  const tail = read(Uint16Array, memory, value + offset + 12, 1)[0];
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.22.1+ea5e770e0",
4
+ "version": "0.22.2+b2009f455",
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.22.1+ea5e770e0';
3
+ globalThis.version = '0.22.2+b2009f455';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {